2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.0'
273 PACKAGE_STRING
='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI 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 LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-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-listbook use wxListbook class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even
if compiler can
1035 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1036 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1038 --with-motif use Motif
/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS
-Windows
1043 --with-pm use OS
/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1047 --with-libpng use libpng
(PNG image format
)
1048 --with-libjpeg use libjpeg
(JPEG
file format
)
1049 --with-libtiff use libtiff
(TIFF
file format
)
1050 --with-opengl use OpenGL
(or Mesa
)
1051 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1052 --with-regex enable support
for wxRegEx class
1053 --with-zlib use zlib
for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1061 Some influential environment variables
:
1062 CC C compiler
command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1065 nonstandard directory
<lib dir
>
1066 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1067 headers
in a nonstandard directory
<include dir
>
1069 CXX C
++ compiler
command
1070 CXXFLAGS C
++ compiler flags
1071 CXXCPP C
++ preprocessor
1073 Use these variables to override the choices made by
`configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 ac_dir_suffix= ac_top_builddir=
1096 .) # No --srcdir option. We are building in place.
1098 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1166 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h
| sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core core.
* *.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh; then
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool; then
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1547 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1569 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1591 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix=${target_alias}-
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1641 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1664 SAMPLES_RPATH_POSTLINK=
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1672 cat >>confdefs.h <<\_ACEOF
1679 cat >>confdefs.h <<\_ACEOF
1684 if test "x$TMP" = "xalpha"; then
1686 cat >>confdefs.h <<\_ACEOF
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 cat >>confdefs.h <<\_ACEOF
1700 if test "x$TMP" = "xalpha"; then
1702 cat >>confdefs.h <<\_ACEOF
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1709 *-*-irix5* | *-*-irix6* )
1712 cat >>confdefs.h <<\_ACEOF
1716 cat >>confdefs.h <<\_ACEOF
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 cat >>confdefs.h <<\_ACEOF
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1734 cat >>confdefs.h <<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1745 cat >>confdefs.h <<\_ACEOF
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1766 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1792 cat >>confdefs.h <<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 cat >>confdefs.h <<\_ACEOF
1805 cat >>confdefs.h <<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1868 *-*-cygwin* | *-*-mingw32* )
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1878 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1895 LIBS="$LIBS -lstdcpp"
1896 ac_executable_extensions=".exe"
1897 export ac_executable_extensions
1901 for ac_dir in $PATH; do
1903 if test -z "$ac_TEMP_PATH"; then
1904 ac_TEMP_PATH="$ac_dir"
1906 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1909 export PATH="$ac_TEMP_PATH"
1917 cat >>confdefs.h <<\_ACEOF
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __DARWIN__ 1
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __POWERPC__ 1
1929 cat >>confdefs.h <<\_ACEOF
1930 #define TARGET_CARBON 1
1933 DEFAULT_DEFAULT_wxUSE_MAC=1
1938 cat >>confdefs.h <<\_ACEOF
1945 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1946 echo "$as_me: error: unknown system type ${host}." >&2;}
1947 { (exit 1); exit 1; }; }
1953 wx_arg_cache_file="configarg.cache"
1954 echo "loading argument cache $wx_arg_cache_file"
1955 rm -f ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}.tmp
1957 touch ${wx_arg_cache_file}
1961 if test $DEBUG_CONFIGURE = 1; then
1962 DEFAULT_wxUSE_UNIVERSAL=no
1963 DEFAULT_wxUSE_STL=no
1965 DEFAULT_wxUSE_NANOX=no
1967 DEFAULT_wxUSE_THREADS=yes
1969 DEFAULT_wxUSE_SHARED=yes
1970 DEFAULT_wxUSE_OPTIMISE=no
1971 DEFAULT_wxUSE_PROFILE=no
1972 DEFAULT_wxUSE_NO_DEPS=no
1973 DEFAULT_wxUSE_NO_RTTI=no
1974 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1975 DEFAULT_wxUSE_PERMISSIVE=no
1976 DEFAULT_wxUSE_DEBUG_FLAG=yes
1977 DEFAULT_wxUSE_DEBUG_INFO=yes
1978 DEFAULT_wxUSE_DEBUG_GDB=yes
1979 DEFAULT_wxUSE_MEM_TRACING=no
1980 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1981 DEFAULT_wxUSE_DMALLOC=no
1982 DEFAULT_wxUSE_APPLE_IEEE=no
1984 DEFAULT_wxUSE_LOG=yes
1985 DEFAULT_wxUSE_LOGWINDOW=no
1986 DEFAULT_wxUSE_LOGGUI=no
1987 DEFAULT_wxUSE_LOGDIALOG=no
1989 DEFAULT_wxUSE_GUI=yes
1990 DEFAULT_wxUSE_CONTROLS=no
1992 DEFAULT_wxUSE_REGEX=no
1993 DEFAULT_wxUSE_XML=no
1994 DEFAULT_wxUSE_EXPAT=no
1995 DEFAULT_wxUSE_ZLIB=no
1996 DEFAULT_wxUSE_LIBPNG=no
1997 DEFAULT_wxUSE_LIBJPEG=no
1998 DEFAULT_wxUSE_LIBTIFF=no
1999 DEFAULT_wxUSE_ODBC=no
2000 DEFAULT_wxUSE_OPENGL=no
2002 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2003 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2004 DEFAULT_wxUSE_STD_IOSTREAM=no
2005 DEFAULT_wxUSE_CMDLINE_PARSER=no
2006 DEFAULT_wxUSE_DATETIME=no
2007 DEFAULT_wxUSE_TIMER=no
2008 DEFAULT_wxUSE_STOPWATCH=no
2009 DEFAULT_wxUSE_FILE=no
2010 DEFAULT_wxUSE_FFILE=no
2011 DEFAULT_wxUSE_TEXTBUFFER=no
2012 DEFAULT_wxUSE_TEXTFILE=no
2013 DEFAULT_wxUSE_WAVE=no
2014 DEFAULT_wxUSE_INTL=no
2015 DEFAULT_wxUSE_CONFIG=no
2016 DEFAULT_wxUSE_FONTMAP=no
2017 DEFAULT_wxUSE_STREAMS=no
2018 DEFAULT_wxUSE_SOCKETS=no
2019 DEFAULT_wxUSE_OLE=no
2020 DEFAULT_wxUSE_DATAOBJ=no
2021 DEFAULT_wxUSE_DIALUP_MANAGER=no
2022 DEFAULT_wxUSE_JOYSTICK=no
2023 DEFAULT_wxUSE_DYNLIB_CLASS=no
2024 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2025 DEFAULT_wxUSE_LONGLONG=no
2026 DEFAULT_wxUSE_GEOMETRY=no
2028 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2029 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2030 DEFAULT_wxUSE_POSTSCRIPT=no
2032 DEFAULT_wxUSE_CLIPBOARD=no
2033 DEFAULT_wxUSE_TOOLTIPS=no
2034 DEFAULT_wxUSE_DRAG_AND_DROP=no
2035 DEFAULT_wxUSE_DRAGIMAGE=no
2036 DEFAULT_wxUSE_SPLINES=no
2038 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2039 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2040 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2042 DEFAULT_wxUSE_RESOURCES=no
2043 DEFAULT_wxUSE_CONSTRAINTS=no
2044 DEFAULT_wxUSE_IPC=no
2045 DEFAULT_wxUSE_HELP=no
2046 DEFAULT_wxUSE_MS_HTML_HELP=no
2047 DEFAULT_wxUSE_WXHTML_HELP=no
2048 DEFAULT_wxUSE_TREELAYOUT=no
2049 DEFAULT_wxUSE_METAFILE=no
2050 DEFAULT_wxUSE_MIMETYPE=no
2051 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2052 DEFAULT_wxUSE_PROTOCOL=no
2053 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FTP=no
2055 DEFAULT_wxUSE_PROTOCOL_FILE=no
2056 DEFAULT_wxUSE_URL=no
2058 DEFAULT_wxUSE_COMMONDLGS=no
2059 DEFAULT_wxUSE_CHOICEDLG=no
2060 DEFAULT_wxUSE_COLOURDLG=no
2061 DEFAULT_wxUSE_DIRDLG=no
2062 DEFAULT_wxUSE_FILEDLG=no
2063 DEFAULT_wxUSE_FINDREPLDLG=no
2064 DEFAULT_wxUSE_FONTDLG=no
2065 DEFAULT_wxUSE_MSGDLG=no
2066 DEFAULT_wxUSE_NUMBERDLG=no
2067 DEFAULT_wxUSE_TEXTDLG=no
2068 DEFAULT_wxUSE_SPLASH=no
2069 DEFAULT_wxUSE_STARTUP_TIPS=no
2070 DEFAULT_wxUSE_PROGRESSDLG=no
2071 DEFAULT_wxUSE_WIZARDDLG=no
2073 DEFAULT_wxUSE_MENUS=no
2074 DEFAULT_wxUSE_MINIFRAME=no
2075 DEFAULT_wxUSE_HTML=no
2076 DEFAULT_wxUSE_FILESYSTEM=no
2077 DEFAULT_wxUSE_FS_INET=no
2078 DEFAULT_wxUSE_FS_ZIP=no
2079 DEFAULT_wxUSE_BUSYINFO=no
2080 DEFAULT_wxUSE_ZIPSTREAM=no
2081 DEFAULT_wxUSE_VALIDATORS=no
2083 DEFAULT_wxUSE_ACCEL=no
2084 DEFAULT_wxUSE_BUTTON=no
2085 DEFAULT_wxUSE_BMPBUTTON=no
2086 DEFAULT_wxUSE_CALCTRL=no
2087 DEFAULT_wxUSE_CARET=no
2088 DEFAULT_wxUSE_CHECKBOX=no
2089 DEFAULT_wxUSE_CHECKLST=no
2090 DEFAULT_wxUSE_CHOICE=no
2091 DEFAULT_wxUSE_COMBOBOX=no
2092 DEFAULT_wxUSE_DISPLAY=no
2093 DEFAULT_wxUSE_GAUGE=no
2094 DEFAULT_wxUSE_GRID=no
2095 DEFAULT_wxUSE_IMAGLIST=no
2096 DEFAULT_wxUSE_LISTBOOK=no
2097 DEFAULT_wxUSE_LISTBOX=no
2098 DEFAULT_wxUSE_LISTCTRL=no
2099 DEFAULT_wxUSE_NOTEBOOK=no
2100 DEFAULT_wxUSE_RADIOBOX=no
2101 DEFAULT_wxUSE_RADIOBTN=no
2102 DEFAULT_wxUSE_SASH=no
2103 DEFAULT_wxUSE_SCROLLBAR=no
2104 DEFAULT_wxUSE_SLIDER=no
2105 DEFAULT_wxUSE_SPINBTN=no
2106 DEFAULT_wxUSE_SPINCTRL=no
2107 DEFAULT_wxUSE_SPLITTER=no
2108 DEFAULT_wxUSE_STATBMP=no
2109 DEFAULT_wxUSE_STATBOX=no
2110 DEFAULT_wxUSE_STATLINE=no
2111 DEFAULT_wxUSE_STATTEXT=no
2112 DEFAULT_wxUSE_STATUSBAR=yes
2113 DEFAULT_wxUSE_TABDIALOG=no
2114 DEFAULT_wxUSE_TEXTCTRL=no
2115 DEFAULT_wxUSE_TOGGLEBTN=no
2116 DEFAULT_wxUSE_TOOLBAR=no
2117 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2118 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2119 DEFAULT_wxUSE_TREECTRL=no
2120 DEFAULT_wxUSE_POPUPWIN=no
2121 DEFAULT_wxUSE_TIPWINDOW=no
2123 DEFAULT_wxUSE_UNICODE=no
2124 DEFAULT_wxUSE_UNICODE_MSLU=no
2125 DEFAULT_wxUSE_WCSRTOMBS=no
2127 DEFAULT_wxUSE_PALETTE=no
2128 DEFAULT_wxUSE_IMAGE=no
2129 DEFAULT_wxUSE_GIF=no
2130 DEFAULT_wxUSE_PCX=no
2131 DEFAULT_wxUSE_PNM=no
2132 DEFAULT_wxUSE_IFF=no
2133 DEFAULT_wxUSE_XPM=no
2134 DEFAULT_wxUSE_ICO_CUR=no
2135 DEFAULT_wxUSE_ACCESSIBILITY=no
2137 DEFAULT_wxUSE_MONOLITHIC=no
2138 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2140 DEFAULT_wxUSE_UNIVERSAL=no
2141 DEFAULT_wxUSE_STL=no
2143 DEFAULT_wxUSE_NANOX=no
2145 DEFAULT_wxUSE_THREADS=yes
2147 DEFAULT_wxUSE_SHARED=yes
2148 DEFAULT_wxUSE_OPTIMISE=yes
2149 DEFAULT_wxUSE_PROFILE=no
2150 DEFAULT_wxUSE_NO_DEPS=no
2151 DEFAULT_wxUSE_NO_RTTI=no
2152 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2153 DEFAULT_wxUSE_PERMISSIVE=no
2154 DEFAULT_wxUSE_DEBUG_FLAG=no
2155 DEFAULT_wxUSE_DEBUG_INFO=no
2156 DEFAULT_wxUSE_DEBUG_GDB=no
2157 DEFAULT_wxUSE_MEM_TRACING=no
2158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2159 DEFAULT_wxUSE_DMALLOC=no
2160 DEFAULT_wxUSE_APPLE_IEEE=yes
2162 DEFAULT_wxUSE_LOG=yes
2163 DEFAULT_wxUSE_LOGWINDOW=yes
2164 DEFAULT_wxUSE_LOGGUI=yes
2165 DEFAULT_wxUSE_LOGDIALOG=yes
2167 DEFAULT_wxUSE_GUI=yes
2169 DEFAULT_wxUSE_REGEX=yes
2170 DEFAULT_wxUSE_XML=yes
2171 DEFAULT_wxUSE_EXPAT=yes
2172 DEFAULT_wxUSE_ZLIB=yes
2173 DEFAULT_wxUSE_LIBPNG=yes
2174 DEFAULT_wxUSE_LIBJPEG=yes
2175 DEFAULT_wxUSE_LIBTIFF=yes
2176 DEFAULT_wxUSE_ODBC=no
2177 DEFAULT_wxUSE_OPENGL=no
2179 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2180 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2181 DEFAULT_wxUSE_STD_IOSTREAM=no
2182 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2183 DEFAULT_wxUSE_DATETIME=yes
2184 DEFAULT_wxUSE_TIMER=yes
2185 DEFAULT_wxUSE_STOPWATCH=yes
2186 DEFAULT_wxUSE_FILE=yes
2187 DEFAULT_wxUSE_FFILE=yes
2188 DEFAULT_wxUSE_TEXTBUFFER=yes
2189 DEFAULT_wxUSE_TEXTFILE=yes
2190 DEFAULT_wxUSE_WAVE=no
2191 DEFAULT_wxUSE_INTL=yes
2192 DEFAULT_wxUSE_CONFIG=yes
2193 DEFAULT_wxUSE_FONTMAP=yes
2194 DEFAULT_wxUSE_STREAMS=yes
2195 DEFAULT_wxUSE_SOCKETS=yes
2196 DEFAULT_wxUSE_OLE=yes
2197 DEFAULT_wxUSE_DATAOBJ=yes
2198 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2199 DEFAULT_wxUSE_JOYSTICK=yes
2200 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2201 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2202 DEFAULT_wxUSE_LONGLONG=yes
2203 DEFAULT_wxUSE_GEOMETRY=yes
2205 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2206 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2207 DEFAULT_wxUSE_POSTSCRIPT=yes
2209 DEFAULT_wxUSE_CLIPBOARD=yes
2210 DEFAULT_wxUSE_TOOLTIPS=yes
2211 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2212 DEFAULT_wxUSE_DRAGIMAGE=yes
2213 DEFAULT_wxUSE_SPLINES=yes
2215 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2216 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2217 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2219 DEFAULT_wxUSE_RESOURCES=no
2220 DEFAULT_wxUSE_CONSTRAINTS=yes
2221 DEFAULT_wxUSE_IPC=yes
2222 DEFAULT_wxUSE_HELP=yes
2223 DEFAULT_wxUSE_MS_HTML_HELP=yes
2224 DEFAULT_wxUSE_WXHTML_HELP=yes
2225 DEFAULT_wxUSE_TREELAYOUT=yes
2226 DEFAULT_wxUSE_METAFILE=yes
2227 DEFAULT_wxUSE_MIMETYPE=yes
2228 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2229 DEFAULT_wxUSE_PROTOCOL=yes
2230 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2231 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2232 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2233 DEFAULT_wxUSE_URL=yes
2235 DEFAULT_wxUSE_COMMONDLGS=yes
2236 DEFAULT_wxUSE_CHOICEDLG=yes
2237 DEFAULT_wxUSE_COLOURDLG=yes
2238 DEFAULT_wxUSE_DIRDLG=yes
2239 DEFAULT_wxUSE_FILEDLG=yes
2240 DEFAULT_wxUSE_FINDREPLDLG=yes
2241 DEFAULT_wxUSE_FONTDLG=yes
2242 DEFAULT_wxUSE_MSGDLG=yes
2243 DEFAULT_wxUSE_NUMBERDLG=yes
2244 DEFAULT_wxUSE_TEXTDLG=yes
2245 DEFAULT_wxUSE_SPLASH=yes
2246 DEFAULT_wxUSE_STARTUP_TIPS=yes
2247 DEFAULT_wxUSE_PROGRESSDLG=yes
2248 DEFAULT_wxUSE_WIZARDDLG=yes
2250 DEFAULT_wxUSE_MENUS=yes
2251 DEFAULT_wxUSE_MINIFRAME=yes
2252 DEFAULT_wxUSE_HTML=yes
2253 DEFAULT_wxUSE_FILESYSTEM=yes
2254 DEFAULT_wxUSE_FS_INET=yes
2255 DEFAULT_wxUSE_FS_ZIP=yes
2256 DEFAULT_wxUSE_BUSYINFO=yes
2257 DEFAULT_wxUSE_ZIPSTREAM=yes
2258 DEFAULT_wxUSE_VALIDATORS=yes
2260 DEFAULT_wxUSE_ACCEL=yes
2261 DEFAULT_wxUSE_BUTTON=yes
2262 DEFAULT_wxUSE_BMPBUTTON=yes
2263 DEFAULT_wxUSE_CALCTRL=yes
2264 DEFAULT_wxUSE_CARET=yes
2265 DEFAULT_wxUSE_CHECKBOX=yes
2266 DEFAULT_wxUSE_CHECKLST=yes
2267 DEFAULT_wxUSE_CHOICE=yes
2268 DEFAULT_wxUSE_COMBOBOX=yes
2269 DEFAULT_wxUSE_DISPLAY=no
2270 DEFAULT_wxUSE_GAUGE=yes
2271 DEFAULT_wxUSE_GRID=yes
2272 DEFAULT_wxUSE_IMAGLIST=yes
2273 DEFAULT_wxUSE_LISTBOOK=yes
2274 DEFAULT_wxUSE_LISTBOX=yes
2275 DEFAULT_wxUSE_LISTCTRL=yes
2276 DEFAULT_wxUSE_NOTEBOOK=yes
2277 DEFAULT_wxUSE_RADIOBOX=yes
2278 DEFAULT_wxUSE_RADIOBTN=yes
2279 DEFAULT_wxUSE_SASH=yes
2280 DEFAULT_wxUSE_SCROLLBAR=yes
2281 DEFAULT_wxUSE_SLIDER=yes
2282 DEFAULT_wxUSE_SPINBTN=yes
2283 DEFAULT_wxUSE_SPINCTRL=yes
2284 DEFAULT_wxUSE_SPLITTER=yes
2285 DEFAULT_wxUSE_STATBMP=yes
2286 DEFAULT_wxUSE_STATBOX=yes
2287 DEFAULT_wxUSE_STATLINE=yes
2288 DEFAULT_wxUSE_STATTEXT=yes
2289 DEFAULT_wxUSE_STATUSBAR=yes
2290 DEFAULT_wxUSE_TABDIALOG=no
2291 DEFAULT_wxUSE_TEXTCTRL=yes
2292 DEFAULT_wxUSE_TOGGLEBTN=yes
2293 DEFAULT_wxUSE_TOOLBAR=yes
2294 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2295 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2296 DEFAULT_wxUSE_TREECTRL=yes
2297 DEFAULT_wxUSE_POPUPWIN=yes
2298 DEFAULT_wxUSE_TIPWINDOW=yes
2300 DEFAULT_wxUSE_UNICODE=no
2301 DEFAULT_wxUSE_UNICODE_MSLU=yes
2302 DEFAULT_wxUSE_WCSRTOMBS=no
2304 DEFAULT_wxUSE_PALETTE=yes
2305 DEFAULT_wxUSE_IMAGE=yes
2306 DEFAULT_wxUSE_GIF=yes
2307 DEFAULT_wxUSE_PCX=yes
2308 DEFAULT_wxUSE_IFF=no
2309 DEFAULT_wxUSE_PNM=yes
2310 DEFAULT_wxUSE_XPM=yes
2311 DEFAULT_wxUSE_ICO_CUR=yes
2312 DEFAULT_wxUSE_ACCESSIBILITY=no
2314 DEFAULT_wxUSE_MONOLITHIC=no
2315 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2320 for toolkit in `echo $ALL_TOOLKITS`; do
2321 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2322 if test "x$LINE" != "x" ; then
2323 has_toolkit_in_cache=1
2324 eval "DEFAULT_$LINE"
2325 eval "CACHE_$toolkit=1"
2332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2333 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2335 # Check whether --enable-gui or --disable-gui was given.
2336 if test "${enable_gui+set}" = set; then
2337 enableval="$enable_gui"
2339 if test "$enableval" = yes; then
2340 ac_cv_use_gui='wxUSE_GUI
=yes'
2342 ac_cv_use_gui='wxUSE_GUI
=no
'
2347 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x ; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2358 eval "$ac_cv_use_gui"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_GUI" = yes; then
2364 echo "$as_me:$LINENO: result: yes" >&5
2365 echo "${ECHO_T}yes" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2374 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2376 # Check whether --enable-monolithic or --disable-monolithic was given.
2377 if test "${enable_monolithic+set}" = set; then
2378 enableval="$enable_monolithic"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2383 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2388 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x ; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2399 eval "$ac_cv_use_monolithic"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_MONOLITHIC" = yes; then
2405 echo "$as_me:$LINENO: result: yes" >&5
2406 echo "${ECHO_T}yes" >&6
2408 echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6
2413 if test "$wxUSE_GUI" = "yes"; then
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2418 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2420 # Check whether --enable-universal or --disable-universal was given.
2421 if test "${enable_universal+set}" = set; then
2422 enableval="$enable_universal"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2427 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2432 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2443 eval "$ac_cv_use_universal"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2448 if test "$wxUSE_UNIVERSAL" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2457 # Check whether --with-gtk or --without-gtk was given.
2458 if test "${with_gtk+set}" = set; then
2460 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2463 # Check whether --with-motif or --without-motif was given.
2464 if test "${with_motif+set}" = set; then
2465 withval="$with_motif"
2466 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2469 # Check whether --with-mac or --without-mac was given.
2470 if test "${with_mac+set}" = set; then
2472 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2475 # Check whether --with-cocoa or --without-cocoa was given.
2476 if test "${with_cocoa+set}" = set; then
2477 withval="$with_cocoa"
2478 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2481 # Check whether --with-wine or --without-wine was given.
2482 if test "${with_wine+set}" = set; then
2483 withval="$with_wine"
2484 wxUSE_WINE="$withval" CACHE_WINE=1
2487 # Check whether --with-msw or --without-msw was given.
2488 if test "${with_msw+set}" = set; then
2490 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2493 # Check whether --with-pm or --without-pm was given.
2494 if test "${with_pm+set}" = set; then
2496 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2499 # Check whether --with-mgl or --without-mgl was given.
2500 if test "${with_mgl+set}" = set; then
2502 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2505 # Check whether --with-microwin or --without-microwin was given.
2506 if test "${with_microwin+set}" = set; then
2507 withval="$with_microwin"
2508 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2511 # Check whether --with-x11 or --without-x11 was given.
2512 if test "${with_x11+set}" = set; then
2514 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2521 # Check whether --enable-nanox or --disable-nanox was given.
2522 if test "${enable_nanox+set}" = set; then
2523 enableval="$enable_nanox"
2525 if test "$enableval" = yes; then
2526 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2528 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2533 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2540 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2544 eval "$ac_cv_use_nanox"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2549 if test "$wxUSE_NANOX" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2563 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2564 if test "${enable_gtk2+set}" = set; then
2565 enableval="$enable_gtk2"
2567 if test "$enableval" = yes; then
2568 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2570 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2575 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2582 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2586 eval "$ac_cv_use_gtk2"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_GTK2" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2601 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2602 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2605 # Check whether --with-libpng or --without-libpng was given.
2606 if test "${with_libpng+set}" = set; then
2607 withval="$with_libpng"
2609 if test "$withval" = yes; then
2610 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2611 elif test "$withval" = no; then
2612 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2613 elif test "$withval" = sys; then
2614 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2615 elif test "$withval" = builtin; then
2616 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2620 { (exit 1); exit 1; }; }
2625 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x ; then
2627 eval "DEFAULT_$LINE"
2632 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2636 eval "$ac_cv_use_libpng"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2641 if test "$wxUSE_LIBPNG" = yes; then
2642 echo "$as_me:$LINENO: result: yes" >&5
2643 echo "${ECHO_T}yes" >&6
2644 elif test "$wxUSE_LIBPNG" = no; then
2645 echo "$as_me:$LINENO: result: no" >&5
2646 echo "${ECHO_T}no" >&6
2647 elif test "$wxUSE_LIBPNG" = sys; then
2648 echo "$as_me:$LINENO: result: system version" >&5
2649 echo "${ECHO_T}system version" >&6
2650 elif test "$wxUSE_LIBPNG" = builtin; then
2651 echo "$as_me:$LINENO: result: builtin version" >&5
2652 echo "${ECHO_T}builtin version" >&6
2654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2655 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2656 { (exit 1); exit 1; }; }
2660 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2661 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2664 # Check whether --with-libjpeg or --without-libjpeg was given.
2665 if test "${with_libjpeg+set}" = set; then
2666 withval="$with_libjpeg"
2668 if test "$withval" = yes; then
2669 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2670 elif test "$withval" = no; then
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2672 elif test "$withval" = sys; then
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2674 elif test "$withval" = builtin; then
2675 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2678 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2679 { (exit 1); exit 1; }; }
2684 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2695 eval "$ac_cv_use_libjpeg"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_LIBJPEG" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2703 elif test "$wxUSE_LIBJPEG" = no; then
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2706 elif test "$wxUSE_LIBJPEG" = sys; then
2707 echo "$as_me:$LINENO: result: system version" >&5
2708 echo "${ECHO_T}system version" >&6
2709 elif test "$wxUSE_LIBJPEG" = builtin; then
2710 echo "$as_me:$LINENO: result: builtin version" >&5
2711 echo "${ECHO_T}builtin version" >&6
2713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2714 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2715 { (exit 1); exit 1; }; }
2719 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2720 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2723 # Check whether --with-libtiff or --without-libtiff was given.
2724 if test "${with_libtiff+set}" = set; then
2725 withval="$with_libtiff"
2727 if test "$withval" = yes; then
2728 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2729 elif test "$withval" = no; then
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2731 elif test "$withval" = sys; then
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2733 elif test "$withval" = builtin; then
2734 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2737 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2738 { (exit 1); exit 1; }; }
2743 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2754 eval "$ac_cv_use_libtiff"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2759 if test "$wxUSE_LIBTIFF" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2762 elif test "$wxUSE_LIBTIFF" = no; then
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2765 elif test "$wxUSE_LIBTIFF" = sys; then
2766 echo "$as_me:$LINENO: result: system version" >&5
2767 echo "${ECHO_T}system version" >&6
2768 elif test "$wxUSE_LIBTIFF" = builtin; then
2769 echo "$as_me:$LINENO: result: builtin version" >&5
2770 echo "${ECHO_T}builtin version" >&6
2772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2773 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2774 { (exit 1); exit 1; }; }
2778 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2779 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2782 # Check whether --with-opengl or --without-opengl was given.
2783 if test "${with_opengl+set}" = set; then
2784 withval="$with_opengl"
2786 if test "$withval" = yes; then
2787 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2789 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2794 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x ; then
2796 eval "DEFAULT_$LINE"
2801 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2805 eval "$ac_cv_use_opengl"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2810 if test "$wxUSE_OPENGL" = yes; then
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2822 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2823 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2826 # Check whether --with-dmalloc or --without-dmalloc was given.
2827 if test "${with_dmalloc+set}" = set; then
2828 withval="$with_dmalloc"
2830 if test "$withval" = yes; then
2831 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2833 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2838 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2849 eval "$ac_cv_use_dmalloc"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2854 if test "$wxUSE_DMALLOC" = yes; then
2855 echo "$as_me:$LINENO: result: yes" >&5
2856 echo "${ECHO_T}yes" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2863 echo "$as_me:$LINENO: checking for --with-regex" >&5
2864 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2867 # Check whether --with-regex or --without-regex was given.
2868 if test "${with_regex+set}" = set; then
2869 withval="$with_regex"
2871 if test "$withval" = yes; then
2872 ac_cv_use_regex='wxUSE_REGEX
=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_regex='wxUSE_REGEX
=no
'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2887 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2894 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2898 eval "$ac_cv_use_regex"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_REGEX" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_REGEX" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_REGEX" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_REGEX" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2923 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2926 # Check whether --with-zlib or --without-zlib was given.
2927 if test "${with_zlib+set}" = set; then
2928 withval="$with_zlib"
2930 if test "$withval" = yes; then
2931 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2946 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2957 eval "$ac_cv_use_zlib"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_ZLIB" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_ZLIB" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_ZLIB" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_ZLIB" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2981 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2982 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2985 # Check whether --with-odbc or --without-odbc was given.
2986 if test "${with_odbc+set}" = set; then
2987 withval="$with_odbc"
2989 if test "$withval" = yes; then
2990 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3005 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3016 eval "$ac_cv_use_odbc"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_ODBC" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_ODBC" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_ODBC" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_ODBC" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3040 echo "$as_me:$LINENO: checking for --with-expat" >&5
3041 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3044 # Check whether --with-expat or --without-expat was given.
3045 if test "${with_expat+set}" = set; then
3046 withval="$with_expat"
3048 if test "$withval" = yes; then
3049 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3050 elif test "$withval" = no; then
3051 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3052 elif test "$withval" = sys; then
3053 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3064 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x ; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3075 eval "$ac_cv_use_expat"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3080 if test "$wxUSE_EXPAT" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_EXPAT" = no; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_EXPAT" = sys; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088 echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_EXPAT" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091 echo "${ECHO_T}builtin version" >&6
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3094 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3103 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3105 # Check whether --enable-shared or --disable-shared was given.
3106 if test "${enable_shared+set}" = set; then
3107 enableval="$enable_shared"
3109 if test "$enableval" = yes; then
3110 ac_cv_use_shared='wxUSE_SHARED
=yes'
3112 ac_cv_use_shared='wxUSE_SHARED
=no
'
3117 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3128 eval "$ac_cv_use_shared"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_SHARED" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3144 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3146 # Check whether --enable-optimise or --disable-optimise was given.
3147 if test "${enable_optimise+set}" = set; then
3148 enableval="$enable_optimise"
3150 if test "$enableval" = yes; then
3151 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3153 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3158 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3165 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3169 eval "$ac_cv_use_optimise"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3174 if test "$wxUSE_OPTIMISE" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3187 # Check whether --enable-debug or --disable-debug was given.
3188 if test "${enable_debug+set}" = set; then
3189 enableval="$enable_debug"
3191 if test "$enableval" = yes; then
3192 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3194 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3199 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3210 eval "$ac_cv_use_debug"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_DEBUG" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3228 # Check whether --enable-stl or --disable-stl was given.
3229 if test "${enable_stl+set}" = set; then
3230 enableval="$enable_stl"
3232 if test "$enableval" = yes; then
3233 ac_cv_use_stl='wxUSE_STL
=yes'
3235 ac_cv_use_stl='wxUSE_STL
=no
'
3240 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3247 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3251 eval "$ac_cv_use_stl"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3256 if test "$wxUSE_STL" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258 echo "${ECHO_T}yes" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3265 if test "$wxUSE_DEBUG" = "yes"; then
3266 DEFAULT_wxUSE_DEBUG_FLAG=yes
3267 DEFAULT_wxUSE_DEBUG_INFO=yes
3269 elif test "$wxUSE_DEBUG" = "no"; then
3270 DEFAULT_wxUSE_DEBUG_FLAG=no
3271 DEFAULT_wxUSE_DEBUG_INFO=no
3277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3278 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3280 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3281 if test "${enable_debug_flag+set}" = set; then
3282 enableval="$enable_debug_flag"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3287 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3292 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x ; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3303 eval "$ac_cv_use_debug_flag"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3308 if test "$wxUSE_DEBUG_FLAG" = yes; then
3309 echo "$as_me:$LINENO: result: yes" >&5
3310 echo "${ECHO_T}yes" >&6
3312 echo "$as_me:$LINENO: result: no" >&5
3313 echo "${ECHO_T}no" >&6
3318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3319 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3321 # Check whether --enable-debug_info or --disable-debug_info was given.
3322 if test "${enable_debug_info+set}" = set; then
3323 enableval="$enable_debug_info"
3325 if test "$enableval" = yes; then
3326 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3328 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3333 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3344 eval "$ac_cv_use_debug_info"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_DEBUG_INFO" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3360 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3362 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3363 if test "${enable_debug_gdb+set}" = set; then
3364 enableval="$enable_debug_gdb"
3366 if test "$enableval" = yes; then
3367 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3369 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3374 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3385 eval "$ac_cv_use_debug_gdb"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3390 if test "$wxUSE_DEBUG_GDB" = yes; then
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3403 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3404 if test "${enable_debug_cntxt+set}" = set; then
3405 enableval="$enable_debug_cntxt"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3410 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3415 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3426 eval "$ac_cv_use_debug_cntxt"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3431 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3444 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3445 if test "${enable_mem_tracing+set}" = set; then
3446 enableval="$enable_mem_tracing"
3448 if test "$enableval" = yes; then
3449 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3451 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3456 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3467 eval "$ac_cv_use_mem_tracing"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_MEM_TRACING" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3485 # Check whether --enable-profile or --disable-profile was given.
3486 if test "${enable_profile+set}" = set; then
3487 enableval="$enable_profile"
3489 if test "$enableval" = yes; then
3490 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3492 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3497 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3504 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3508 eval "$ac_cv_use_profile"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3513 if test "$wxUSE_PROFILE" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3526 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3527 if test "${enable_no_rtti+set}" = set; then
3528 enableval="$enable_no_rtti"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3533 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3538 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3549 eval "$ac_cv_use_no_rtti"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_NO_RTTI" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3565 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3567 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3568 if test "${enable_no_exceptions+set}" = set; then
3569 enableval="$enable_no_exceptions"
3571 if test "$enableval" = yes; then
3572 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3574 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3579 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x ; then
3581 eval "DEFAULT_$LINE"
3586 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3590 eval "$ac_cv_use_no_exceptions"
3591 if test "$no_cache" != 1; then
3592 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3595 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3596 echo "$as_me:$LINENO: result: yes" >&5
3597 echo "${ECHO_T}yes" >&6
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3606 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3608 # Check whether --enable-permissive or --disable-permissive was given.
3609 if test "${enable_permissive+set}" = set; then
3610 enableval="$enable_permissive"
3612 if test "$enableval" = yes; then
3613 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3615 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3620 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3621 if test "x$LINE" != x ; then
3622 eval "DEFAULT_$LINE"
3627 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3631 eval "$ac_cv_use_permissive"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3636 if test "$wxUSE_PERMISSIVE" = yes; then
3637 echo "$as_me:$LINENO: result: yes" >&5
3638 echo "${ECHO_T}yes" >&6
3640 echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6
3646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3647 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3649 # Check whether --enable-no_deps or --disable-no_deps was given.
3650 if test "${enable_no_deps+set}" = set; then
3651 enableval="$enable_no_deps"
3653 if test "$enableval" = yes; then
3654 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3656 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3661 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3668 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3672 eval "$ac_cv_use_no_deps"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3677 if test "$wxUSE_NO_DEPS" = yes; then
3678 echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6
3681 echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3689 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3691 # Check whether --enable-compat22 or --disable-compat22 was given.
3692 if test "${enable_compat22+set}" = set; then
3693 enableval="$enable_compat22"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3698 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3703 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3714 eval "$ac_cv_use_compat22"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3719 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3728 enablestring=disable
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3732 # Check whether --enable-compat24 or --disable-compat24 was given.
3733 if test "${enable_compat24+set}" = set; then
3734 enableval="$enable_compat24"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3739 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3744 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3755 eval "$ac_cv_use_compat24"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3760 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3769 # Check whether --enable-rpath or --disable-rpath was given.
3770 if test "${enable_rpath+set}" = set; then
3771 enableval="$enable_rpath"
3772 wxRPATH_DIR="$enableval"
3775 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3776 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3784 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3786 # Check whether --enable-intl or --disable-intl was given.
3787 if test "${enable_intl+set}" = set; then
3788 enableval="$enable_intl"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_intl='wxUSE_INTL
=yes'
3793 ac_cv_use_intl='wxUSE_INTL
=no
'
3798 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3809 eval "$ac_cv_use_intl"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_INTL" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3825 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3827 # Check whether --enable-config or --disable-config was given.
3828 if test "${enable_config+set}" = set; then
3829 enableval="$enable_config"
3831 if test "$enableval" = yes; then
3832 ac_cv_use_config='wxUSE_CONFIG
=yes'
3834 ac_cv_use_config='wxUSE_CONFIG
=no
'
3839 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3846 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3850 eval "$ac_cv_use_config"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3855 if test "$wxUSE_CONFIG" = yes; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3867 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3869 # Check whether --enable-protocols or --disable-protocols was given.
3870 if test "${enable_protocols+set}" = set; then
3871 enableval="$enable_protocols"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3876 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3881 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x ; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3892 eval "$ac_cv_use_protocols"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3897 if test "$wxUSE_PROTOCOL" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899 echo "${ECHO_T}yes" >&6
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3910 # Check whether --enable-ftp or --disable-ftp was given.
3911 if test "${enable_ftp+set}" = set; then
3912 enableval="$enable_ftp"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3917 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3922 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3933 eval "$ac_cv_use_ftp"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3951 # Check whether --enable-http or --disable-http was given.
3952 if test "${enable_http+set}" = set; then
3953 enableval="$enable_http"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3958 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3963 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3974 eval "$ac_cv_use_http"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3990 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3992 # Check whether --enable-fileproto or --disable-fileproto was given.
3993 if test "${enable_fileproto+set}" = set; then
3994 enableval="$enable_fileproto"
3996 if test "$enableval" = yes; then
3997 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
3999 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4004 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4011 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4015 eval "$ac_cv_use_fileproto"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4031 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4033 # Check whether --enable-sockets or --disable-sockets was given.
4034 if test "${enable_sockets+set}" = set; then
4035 enableval="$enable_sockets"
4037 if test "$enableval" = yes; then
4038 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4040 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4045 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4056 eval "$ac_cv_use_sockets"
4057 if test "$no_cache" != 1; then
4058 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4061 if test "$wxUSE_SOCKETS" = yes; then
4062 echo "$as_me:$LINENO: result: yes" >&5
4063 echo "${ECHO_T}yes" >&6
4065 echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4072 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4074 # Check whether --enable-ole or --disable-ole was given.
4075 if test "${enable_ole+set}" = set; then
4076 enableval="$enable_ole"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_ole='wxUSE_OLE
=yes'
4081 ac_cv_use_ole='wxUSE_OLE
=no
'
4086 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4097 eval "$ac_cv_use_ole"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4102 if test "$wxUSE_OLE" = yes; then
4103 echo "$as_me:$LINENO: result: yes" >&5
4104 echo "${ECHO_T}yes" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4115 # Check whether --enable-dataobj or --disable-dataobj was given.
4116 if test "${enable_dataobj+set}" = set; then
4117 enableval="$enable_dataobj"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4122 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4127 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x ; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4138 eval "$ac_cv_use_dataobj"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_DATAOBJ" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4155 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4157 # Check whether --enable-ipc or --disable-ipc was given.
4158 if test "${enable_ipc+set}" = set; then
4159 enableval="$enable_ipc"
4161 if test "$enableval" = yes; then
4162 ac_cv_use_ipc='wxUSE_IPC
=yes'
4164 ac_cv_use_ipc='wxUSE_IPC
=no
'
4169 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4170 if test "x$LINE" != x ; then
4171 eval "DEFAULT_$LINE"
4176 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4180 eval "$ac_cv_use_ipc"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4185 if test "$wxUSE_IPC" = yes; then
4186 echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6
4189 echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4199 # Check whether --enable-cmdline or --disable-cmdline was given.
4200 if test "${enable_cmdline+set}" = set; then
4201 enableval="$enable_cmdline"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4206 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4211 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4222 eval "$ac_cv_use_cmdline"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4240 # Check whether --enable-datetime or --disable-datetime was given.
4241 if test "${enable_datetime+set}" = set; then
4242 enableval="$enable_datetime"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4247 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4252 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4263 eval "$ac_cv_use_datetime"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_DATETIME" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4279 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4281 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4282 if test "${enable_stopwatch+set}" = set; then
4283 enableval="$enable_stopwatch"
4285 if test "$enableval" = yes; then
4286 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4288 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4293 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x ; then
4295 eval "DEFAULT_$LINE"
4300 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4304 eval "$ac_cv_use_stopwatch"
4305 if test "$no_cache" != 1; then
4306 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4309 if test "$wxUSE_STOPWATCH" = yes; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4320 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4322 # Check whether --enable-dialupman or --disable-dialupman was given.
4323 if test "${enable_dialupman+set}" = set; then
4324 enableval="$enable_dialupman"
4326 if test "$enableval" = yes; then
4327 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4329 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4334 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x ; then
4336 eval "DEFAULT_$LINE"
4341 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4345 eval "$ac_cv_use_dialupman"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4350 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4351 echo "$as_me:$LINENO: result: yes" >&5
4352 echo "${ECHO_T}yes" >&6
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4361 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4363 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4364 if test "${enable_apple_ieee+set}" = set; then
4365 enableval="$enable_apple_ieee"
4367 if test "$enableval" = yes; then
4368 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4370 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4375 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4382 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4386 eval "$ac_cv_use_apple_ieee"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_APPLE_IEEE" = yes; then
4392 echo "$as_me:$LINENO: result: yes" >&5
4393 echo "${ECHO_T}yes" >&6
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4404 # Check whether --enable-timer or --disable-timer was given.
4405 if test "${enable_timer+set}" = set; then
4406 enableval="$enable_timer"
4408 if test "$enableval" = yes; then
4409 ac_cv_use_timer='wxUSE_TIMER
=yes'
4411 ac_cv_use_timer='wxUSE_TIMER
=no
'
4416 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x ; then
4418 eval "DEFAULT_$LINE"
4423 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4427 eval "$ac_cv_use_timer"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4432 if test "$wxUSE_TIMER" = yes; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4445 # Check whether --enable-wave or --disable-wave was given.
4446 if test "${enable_wave+set}" = set; then
4447 enableval="$enable_wave"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_wave='wxUSE_WAVE
=yes'
4452 ac_cv_use_wave='wxUSE_WAVE
=no
'
4457 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4468 eval "$ac_cv_use_wave"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4473 if test "$wxUSE_WAVE" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4486 # Check whether --enable-fraction or --disable-fraction was given.
4487 if test "${enable_fraction+set}" = set; then
4488 enableval="$enable_fraction"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4493 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4498 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4509 eval "$ac_cv_use_fraction"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_FRACTION" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4527 # Check whether --enable-dynlib or --disable-dynlib was given.
4528 if test "${enable_dynlib+set}" = set; then
4529 enableval="$enable_dynlib"
4531 if test "$enableval" = yes; then
4532 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4534 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4539 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "DEFAULT_$LINE"
4546 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4550 eval "$ac_cv_use_dynlib"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557 echo "${ECHO_T}yes" >&6
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4568 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4569 if test "${enable_dynamicloader+set}" = set; then
4570 enableval="$enable_dynamicloader"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4575 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4580 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x ; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4591 eval "$ac_cv_use_dynamicloader"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4596 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4597 echo "$as_me:$LINENO: result: yes" >&5
4598 echo "${ECHO_T}yes" >&6
4600 echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4607 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4609 # Check whether --enable-longlong or --disable-longlong was given.
4610 if test "${enable_longlong+set}" = set; then
4611 enableval="$enable_longlong"
4613 if test "$enableval" = yes; then
4614 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4616 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4621 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x ; then
4623 eval "DEFAULT_$LINE"
4628 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4632 eval "$ac_cv_use_longlong"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4637 if test "$wxUSE_LONGLONG" = yes; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4650 # Check whether --enable-geometry or --disable-geometry was given.
4651 if test "${enable_geometry+set}" = set; then
4652 enableval="$enable_geometry"
4654 if test "$enableval" = yes; then
4655 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4657 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4662 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x ; then
4664 eval "DEFAULT_$LINE"
4669 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4673 eval "$ac_cv_use_geometry"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4678 if test "$wxUSE_GEOMETRY" = yes; then
4679 echo "$as_me:$LINENO: result: yes" >&5
4680 echo "${ECHO_T}yes" >&6
4682 echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6
4688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4689 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4691 # Check whether --enable-log or --disable-log was given.
4692 if test "${enable_log+set}" = set; then
4693 enableval="$enable_log"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_log='wxUSE_LOG
=yes'
4698 ac_cv_use_log='wxUSE_LOG
=no
'
4703 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4714 eval "$ac_cv_use_log"
4715 if test "$no_cache" != 1; then
4716 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4719 if test "$wxUSE_LOG" = yes; then
4720 echo "$as_me:$LINENO: result: yes" >&5
4721 echo "${ECHO_T}yes" >&6
4723 echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6
4729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4732 # Check whether --enable-streams or --disable-streams was given.
4733 if test "${enable_streams+set}" = set; then
4734 enableval="$enable_streams"
4736 if test "$enableval" = yes; then
4737 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4739 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4744 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4751 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4755 eval "$ac_cv_use_streams"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4760 if test "$wxUSE_STREAMS" = yes; then
4761 echo "$as_me:$LINENO: result: yes" >&5
4762 echo "${ECHO_T}yes" >&6
4764 echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6
4770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4771 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4773 # Check whether --enable-file or --disable-file was given.
4774 if test "${enable_file+set}" = set; then
4775 enableval="$enable_file"
4777 if test "$enableval" = yes; then
4778 ac_cv_use_file='wxUSE_FILE
=yes'
4780 ac_cv_use_file='wxUSE_FILE
=no
'
4785 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x ; then
4787 eval "DEFAULT_$LINE"
4792 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4796 eval "$ac_cv_use_file"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_FILE" = yes; then
4802 echo "$as_me:$LINENO: result: yes" >&5
4803 echo "${ECHO_T}yes" >&6
4805 echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6
4811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4812 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4814 # Check whether --enable-ffile or --disable-ffile was given.
4815 if test "${enable_ffile+set}" = set; then
4816 enableval="$enable_ffile"
4818 if test "$enableval" = yes; then
4819 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4821 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4826 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4833 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4837 eval "$ac_cv_use_ffile"
4838 if test "$no_cache" != 1; then
4839 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4842 if test "$wxUSE_FFILE" = yes; then
4843 echo "$as_me:$LINENO: result: yes" >&5
4844 echo "${ECHO_T}yes" >&6
4846 echo "$as_me:$LINENO: result: no" >&5
4847 echo "${ECHO_T}no" >&6
4852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4853 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4855 # Check whether --enable-textbuf or --disable-textbuf was given.
4856 if test "${enable_textbuf+set}" = set; then
4857 enableval="$enable_textbuf"
4859 if test "$enableval" = yes; then
4860 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4862 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4867 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x ; then
4869 eval "DEFAULT_$LINE"
4874 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4878 eval "$ac_cv_use_textbuf"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4883 if test "$wxUSE_TEXTBUFFER" = yes; then
4884 echo "$as_me:$LINENO: result: yes" >&5
4885 echo "${ECHO_T}yes" >&6
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4894 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4896 # Check whether --enable-textfile or --disable-textfile was given.
4897 if test "${enable_textfile+set}" = set; then
4898 enableval="$enable_textfile"
4900 if test "$enableval" = yes; then
4901 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4903 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4908 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4915 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4919 eval "$ac_cv_use_textfile"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4924 if test "$wxUSE_TEXTFILE" = yes; then
4925 echo "$as_me:$LINENO: result: yes" >&5
4926 echo "${ECHO_T}yes" >&6
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4935 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4937 # Check whether --enable-fontmap or --disable-fontmap was given.
4938 if test "${enable_fontmap+set}" = set; then
4939 enableval="$enable_fontmap"
4941 if test "$enableval" = yes; then
4942 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4944 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4949 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x ; then
4951 eval "DEFAULT_$LINE"
4956 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4960 eval "$ac_cv_use_fontmap"
4961 if test "$no_cache" != 1; then
4962 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4965 if test "$wxUSE_FONTMAP" = yes; then
4966 echo "$as_me:$LINENO: result: yes" >&5
4967 echo "${ECHO_T}yes" >&6
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4976 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4978 # Check whether --enable-unicode or --disable-unicode was given.
4979 if test "${enable_unicode+set}" = set; then
4980 enableval="$enable_unicode"
4982 if test "$enableval" = yes; then
4983 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4985 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4990 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x ; then
4992 eval "DEFAULT_$LINE"
4997 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5001 eval "$ac_cv_use_unicode"
5002 if test "$no_cache" != 1; then
5003 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5006 if test "$wxUSE_UNICODE" = yes; then
5007 echo "$as_me:$LINENO: result: yes" >&5
5008 echo "${ECHO_T}yes" >&6
5010 echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5019 # Check whether --enable-mslu or --disable-mslu was given.
5020 if test "${enable_mslu+set}" = set; then
5021 enableval="$enable_mslu"
5023 if test "$enableval" = yes; then
5024 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5026 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5031 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5038 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5042 eval "$ac_cv_use_mslu"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_UNICODE_MSLU" = yes; then
5048 echo "$as_me:$LINENO: result: yes" >&5
5049 echo "${ECHO_T}yes" >&6
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5058 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5060 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5061 if test "${enable_wxprintfv+set}" = set; then
5062 enableval="$enable_wxprintfv"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5067 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5072 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5083 eval "$ac_cv_use_wxprintfv"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5089 echo "$as_me:$LINENO: result: yes" >&5
5090 echo "${ECHO_T}yes" >&6
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5099 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5101 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5102 if test "${enable_std_iostreams+set}" = set; then
5103 enableval="$enable_std_iostreams"
5105 if test "$enableval" = yes; then
5106 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5108 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5113 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x ; then
5115 eval "DEFAULT_$LINE"
5120 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5124 eval "$ac_cv_use_std_iostreams"
5125 if test "$no_cache" != 1; then
5126 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5129 if test "$wxUSE_STD_IOSTREAM" = yes; then
5130 echo "$as_me:$LINENO: result: yes" >&5
5131 echo "${ECHO_T}yes" >&6
5133 echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6
5139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5142 # Check whether --enable-filesystem or --disable-filesystem was given.
5143 if test "${enable_filesystem+set}" = set; then
5144 enableval="$enable_filesystem"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5149 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5154 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x ; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5165 eval "$ac_cv_use_filesystem"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5170 if test "$wxUSE_FILESYSTEM" = yes; then
5171 echo "$as_me:$LINENO: result: yes" >&5
5172 echo "${ECHO_T}yes" >&6
5174 echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6
5180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5181 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5183 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5184 if test "${enable_fs_inet+set}" = set; then
5185 enableval="$enable_fs_inet"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5190 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5195 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5206 eval "$ac_cv_use_fs_inet"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5211 if test "$wxUSE_FS_INET" = yes; then
5212 echo "$as_me:$LINENO: result: yes" >&5
5213 echo "${ECHO_T}yes" >&6
5215 echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6
5221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5222 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5224 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5225 if test "${enable_fs_zip+set}" = set; then
5226 enableval="$enable_fs_zip"
5228 if test "$enableval" = yes; then
5229 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5231 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5236 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5237 if test "x$LINE" != x ; then
5238 eval "DEFAULT_$LINE"
5243 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5247 eval "$ac_cv_use_fs_zip"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5252 if test "$wxUSE_FS_ZIP" = yes; then
5253 echo "$as_me:$LINENO: result: yes" >&5
5254 echo "${ECHO_T}yes" >&6
5256 echo "$as_me:$LINENO: result: no" >&5
5257 echo "${ECHO_T}no" >&6
5262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5263 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5265 # Check whether --enable-zipstream or --disable-zipstream was given.
5266 if test "${enable_zipstream+set}" = set; then
5267 enableval="$enable_zipstream"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5272 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5277 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x ; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5288 eval "$ac_cv_use_zipstream"
5289 if test "$no_cache" != 1; then
5290 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5293 if test "$wxUSE_ZIPSTREAM" = yes; then
5294 echo "$as_me:$LINENO: result: yes" >&5
5295 echo "${ECHO_T}yes" >&6
5297 echo "$as_me:$LINENO: result: no" >&5
5298 echo "${ECHO_T}no" >&6
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5307 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5308 if test "${enable_catch_segvs+set}" = set; then
5309 enableval="$enable_catch_segvs"
5311 if test "$enableval" = yes; then
5312 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5314 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5319 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5326 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5330 eval "$ac_cv_use_catch_segvs"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5335 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337 echo "${ECHO_T}yes" >&6
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5348 # Check whether --enable-snglinst or --disable-snglinst was given.
5349 if test "${enable_snglinst+set}" = set; then
5350 enableval="$enable_snglinst"
5352 if test "$enableval" = yes; then
5353 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5355 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5360 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5367 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5371 eval "$ac_cv_use_snglinst"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5390 # Check whether --enable-mimetype or --disable-mimetype was given.
5391 if test "${enable_mimetype+set}" = set; then
5392 enableval="$enable_mimetype"
5394 if test "$enableval" = yes; then
5395 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5397 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5402 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5409 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5413 eval "$ac_cv_use_mimetype"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5418 if test "$wxUSE_MIMETYPE" = yes; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5431 # Check whether --enable-system_options or --disable-system_options was given.
5432 if test "${enable_system_options+set}" = set; then
5433 enableval="$enable_system_options"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5438 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5443 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5454 eval "$ac_cv_use_system_options"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5459 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5460 echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6
5463 echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5473 # Check whether --enable-url or --disable-url was given.
5474 if test "${enable_url+set}" = set; then
5475 enableval="$enable_url"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_url='wxUSE_URL
=yes'
5480 ac_cv_use_url='wxUSE_URL
=no
'
5485 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5496 eval "$ac_cv_use_url"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_URL" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5514 # Check whether --enable-protocol or --disable-protocol was given.
5515 if test "${enable_protocol+set}" = set; then
5516 enableval="$enable_protocol"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5521 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5526 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5537 eval "$ac_cv_use_protocol"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_PROTOCOL" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5555 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5556 if test "${enable_protocol_http+set}" = set; then
5557 enableval="$enable_protocol_http"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5562 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5567 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5578 eval "$ac_cv_use_protocol_http"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5596 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5597 if test "${enable_protocol_ftp+set}" = set; then
5598 enableval="$enable_protocol_ftp"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5603 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5608 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5619 eval "$ac_cv_use_protocol_ftp"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5637 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5638 if test "${enable_protocol_file+set}" = set; then
5639 enableval="$enable_protocol_file"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5644 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5649 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5660 eval "$ac_cv_use_protocol_file"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5681 # Check whether --enable-threads or --disable-threads was given.
5682 if test "${enable_threads+set}" = set; then
5683 enableval="$enable_threads"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_threads='wxUSE_THREADS
=yes'
5688 ac_cv_use_threads='wxUSE_THREADS
=no
'
5693 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5704 eval "$ac_cv_use_threads"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_THREADS" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5718 if test "$wxUSE_GUI" = "yes"; then
5723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5726 # Check whether --enable-docview or --disable-docview was given.
5727 if test "${enable_docview+set}" = set; then
5728 enableval="$enable_docview"
5730 if test "$enableval" = yes; then
5731 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5733 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5738 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5739 if test "x$LINE" != x ; then
5740 eval "DEFAULT_$LINE"
5745 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5749 eval "$ac_cv_use_docview"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5754 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5755 echo "$as_me:$LINENO: result: yes" >&5
5756 echo "${ECHO_T}yes" >&6
5758 echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6
5764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5767 # Check whether --enable-help or --disable-help was given.
5768 if test "${enable_help+set}" = set; then
5769 enableval="$enable_help"
5771 if test "$enableval" = yes; then
5772 ac_cv_use_help='wxUSE_HELP
=yes'
5774 ac_cv_use_help='wxUSE_HELP
=no
'
5779 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5786 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5790 eval "$ac_cv_use_help"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5795 if test "$wxUSE_HELP" = yes; then
5796 echo "$as_me:$LINENO: result: yes" >&5
5797 echo "${ECHO_T}yes" >&6
5799 echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6
5805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5808 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5809 if test "${enable_mshtmlhelp+set}" = set; then
5810 enableval="$enable_mshtmlhelp"
5812 if test "$enableval" = yes; then
5813 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5815 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5820 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x ; then
5822 eval "DEFAULT_$LINE"
5827 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5831 eval "$ac_cv_use_mshtmlhelp"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5836 if test "$wxUSE_MS_HTML_HELP" = yes; then
5837 echo "$as_me:$LINENO: result: yes" >&5
5838 echo "${ECHO_T}yes" >&6
5840 echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6
5846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5849 # Check whether --enable-html or --disable-html was given.
5850 if test "${enable_html+set}" = set; then
5851 enableval="$enable_html"
5853 if test "$enableval" = yes; then
5854 ac_cv_use_html='wxUSE_HTML
=yes'
5856 ac_cv_use_html='wxUSE_HTML
=no
'
5861 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5868 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5872 eval "$ac_cv_use_html"
5873 if test "$no_cache" != 1; then
5874 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5877 if test "$wxUSE_HTML" = yes; then
5878 echo "$as_me:$LINENO: result: yes" >&5
5879 echo "${ECHO_T}yes" >&6
5881 echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5890 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5891 if test "${enable_htmlhelp+set}" = set; then
5892 enableval="$enable_htmlhelp"
5894 if test "$enableval" = yes; then
5895 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5897 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5902 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5909 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5913 eval "$ac_cv_use_htmlhelp"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5918 if test "$wxUSE_WXHTML_HELP" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5929 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5931 # Check whether --enable-constraints or --disable-constraints was given.
5932 if test "${enable_constraints+set}" = set; then
5933 enableval="$enable_constraints"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5938 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5943 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5954 eval "$ac_cv_use_constraints"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5959 if test "$wxUSE_CONSTRAINTS" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961 echo "${ECHO_T}yes" >&6
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5972 # Check whether --enable-printarch or --disable-printarch was given.
5973 if test "${enable_printarch+set}" = set; then
5974 enableval="$enable_printarch"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5979 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5984 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5995 eval "$ac_cv_use_printarch"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6011 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6013 # Check whether --enable-mdi or --disable-mdi was given.
6014 if test "${enable_mdi+set}" = set; then
6015 enableval="$enable_mdi"
6017 if test "$enableval" = yes; then
6018 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6020 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6025 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6032 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6036 eval "$ac_cv_use_mdi"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043 echo "${ECHO_T}yes" >&6
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6054 # Check whether --enable-loggui or --disable-loggui was given.
6055 if test "${enable_loggui+set}" = set; then
6056 enableval="$enable_loggui"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6061 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6066 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6077 eval "$ac_cv_use_loggui"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_LOGGUI" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6093 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6095 # Check whether --enable-logwin or --disable-logwin was given.
6096 if test "${enable_logwin+set}" = set; then
6097 enableval="$enable_logwin"
6099 if test "$enableval" = yes; then
6100 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6102 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6107 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6108 if test "x$LINE" != x ; then
6109 eval "DEFAULT_$LINE"
6114 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6118 eval "$ac_cv_use_logwin"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6123 if test "$wxUSE_LOGWINDOW" = yes; then
6124 echo "$as_me:$LINENO: result: yes" >&5
6125 echo "${ECHO_T}yes" >&6
6127 echo "$as_me:$LINENO: result: no" >&5
6128 echo "${ECHO_T}no" >&6
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6136 # Check whether --enable-logdialog or --disable-logdialog was given.
6137 if test "${enable_logdialog+set}" = set; then
6138 enableval="$enable_logdialog"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6143 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6148 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6159 eval "$ac_cv_use_logdialog"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6164 if test "$wxUSE_LOGDIALOG" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6178 # Check whether --enable-postscript or --disable-postscript was given.
6179 if test "${enable_postscript+set}" = set; then
6180 enableval="$enable_postscript"
6182 if test "$enableval" = yes; then
6183 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6185 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6190 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6201 eval "$ac_cv_use_postscript"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_POSTSCRIPT" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6222 # Check whether --enable-prologio or --disable-prologio was given.
6223 if test "${enable_prologio+set}" = set; then
6224 enableval="$enable_prologio"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6229 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6234 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6245 eval "$ac_cv_use_prologio"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_PROLOGIO" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6263 # Check whether --enable-resources or --disable-resources was given.
6264 if test "${enable_resources+set}" = set; then
6265 enableval="$enable_resources"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6270 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6275 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6286 eval "$ac_cv_use_resources"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_RESOURCES" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6306 # Check whether --enable-clipboard or --disable-clipboard was given.
6307 if test "${enable_clipboard+set}" = set; then
6308 enableval="$enable_clipboard"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6313 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6318 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6329 eval "$ac_cv_use_clipboard"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_CLIPBOARD" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6347 # Check whether --enable-dnd or --disable-dnd was given.
6348 if test "${enable_dnd+set}" = set; then
6349 enableval="$enable_dnd"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6354 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6359 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6370 eval "$ac_cv_use_dnd"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6388 # Check whether --enable-metafile or --disable-metafile was given.
6389 if test "${enable_metafile+set}" = set; then
6390 enableval="$enable_metafile"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6395 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6400 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6411 eval "$ac_cv_use_metafile"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_METAFILE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6432 # Check whether --enable-controls or --disable-controls was given.
6433 if test "${enable_controls+set}" = set; then
6434 enableval="$enable_controls"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6439 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6444 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6455 eval "$ac_cv_use_controls"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_CONTROLS" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6469 if test "$wxUSE_CONTROLS" = "yes"; then
6470 DEFAULT_wxUSE_ACCEL=yes
6471 DEFAULT_wxUSE_BMPBUTTON=yes
6472 DEFAULT_wxUSE_BUTTON=yes
6473 DEFAULT_wxUSE_CALCTRL=no
6474 DEFAULT_wxUSE_CARET=yes
6475 DEFAULT_wxUSE_COMBOBOX=yes
6476 DEFAULT_wxUSE_CHECKBOX=yes
6477 DEFAULT_wxUSE_CHECKLISTBOX=yes
6478 DEFAULT_wxUSE_CHOICE=yes
6479 DEFAULT_wxUSE_GAUGE=yes
6480 DEFAULT_wxUSE_GRID=yes
6481 DEFAULT_wxUSE_IMAGLIST=yes
6482 DEFAULT_wxUSE_LISTBOOK=yes
6483 DEFAULT_wxUSE_LISTBOX=yes
6484 DEFAULT_wxUSE_LISTCTRL=yes
6485 DEFAULT_wxUSE_NOTEBOOK=yes
6486 DEFAULT_wxUSE_RADIOBOX=yes
6487 DEFAULT_wxUSE_RADIOBTN=yes
6488 DEFAULT_wxUSE_SASH=yes
6489 DEFAULT_wxUSE_SCROLLBAR=yes
6490 DEFAULT_wxUSE_SLIDER=yes
6491 DEFAULT_wxUSE_SPINBTN=yes
6492 DEFAULT_wxUSE_SPINCTRL=yes
6493 DEFAULT_wxUSE_SPLITTER=yes
6494 DEFAULT_wxUSE_STATBMP=yes
6495 DEFAULT_wxUSE_STATBOX=yes
6496 DEFAULT_wxUSE_STATLINE=yes
6497 DEFAULT_wxUSE_STATUSBAR=yes
6498 DEFAULT_wxUSE_TAB_DIALOG=yes
6499 DEFAULT_wxUSE_TOGGLEBTN=yes
6500 DEFAULT_wxUSE_TOOLBAR=yes
6501 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6502 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6503 DEFAULT_wxUSE_TOOLTIPS=yes
6504 DEFAULT_wxUSE_TREECTRL=yes
6505 DEFAULT_wxUSE_POPUPWIN=yes
6506 DEFAULT_wxUSE_TIPWINDOW=yes
6507 elif test "$wxUSE_CONTROLS" = "no"; then
6508 DEFAULT_wxUSE_ACCEL=no
6509 DEFAULT_wxUSE_BMPBUTTON=no
6510 DEFAULT_wxUSE_BUTTON=no
6511 DEFAULT_wxUSE_CALCTRL=no
6512 DEFAULT_wxUSE_CARET=no
6513 DEFAULT_wxUSE_COMBOBOX=no
6514 DEFAULT_wxUSE_CHECKBOX=no
6515 DEFAULT_wxUSE_CHECKLISTBOX=no
6516 DEFAULT_wxUSE_CHOICE=no
6517 DEFAULT_wxUSE_GAUGE=no
6518 DEFAULT_wxUSE_GRID=no
6519 DEFAULT_wxUSE_IMAGLIST=no
6520 DEFAULT_wxUSE_LISTBOOK=no
6521 DEFAULT_wxUSE_LISTBOX=no
6522 DEFAULT_wxUSE_LISTCTRL=no
6523 DEFAULT_wxUSE_NOTEBOOK=no
6524 DEFAULT_wxUSE_RADIOBOX=no
6525 DEFAULT_wxUSE_RADIOBTN=no
6526 DEFAULT_wxUSE_SASH=no
6527 DEFAULT_wxUSE_SCROLLBAR=no
6528 DEFAULT_wxUSE_SLIDER=no
6529 DEFAULT_wxUSE_SPINBTN=no
6530 DEFAULT_wxUSE_SPINCTRL=no
6531 DEFAULT_wxUSE_SPLITTER=no
6532 DEFAULT_wxUSE_STATBMP=no
6533 DEFAULT_wxUSE_STATBOX=no
6534 DEFAULT_wxUSE_STATLINE=no
6535 DEFAULT_wxUSE_STATUSBAR=no
6536 DEFAULT_wxUSE_TAB_DIALOG=no
6537 DEFAULT_wxUSE_TOGGLEBTN=no
6538 DEFAULT_wxUSE_TOOLBAR=no
6539 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6540 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6541 DEFAULT_wxUSE_TOOLTIPS=no
6542 DEFAULT_wxUSE_TREECTRL=no
6543 DEFAULT_wxUSE_POPUPWIN=no
6544 DEFAULT_wxUSE_TIPWINDOW=no
6547 ## FIXME: This is a blatant hack
6548 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6549 wxUSE_PRINTING_ARCHITECTURE=no
6550 wxUSE_DRAG_AND_DROP=no
6551 # Generic notebook requires tab dialog
6552 DEFAULT_wxUSE_TABDIALOG=yes
6553 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6554 DEFAULT_wxUSE_SCROLLBAR=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6564 # Check whether --enable-accel or --disable-accel was given.
6565 if test "${enable_accel+set}" = set; then
6566 enableval="$enable_accel"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6571 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6576 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6587 eval "$ac_cv_use_accel"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6592 if test "$wxUSE_ACCEL" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6605 # Check whether --enable-button or --disable-button was given.
6606 if test "${enable_button+set}" = set; then
6607 enableval="$enable_button"
6609 if test "$enableval" = yes; then
6610 ac_cv_use_button='wxUSE_BUTTON
=yes'
6612 ac_cv_use_button='wxUSE_BUTTON
=no
'
6617 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6624 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6628 eval "$ac_cv_use_button"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_BUTTON" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6646 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6647 if test "${enable_bmpbutton+set}" = set; then
6648 enableval="$enable_bmpbutton"
6650 if test "$enableval" = yes; then
6651 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6653 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6658 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6665 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6669 eval "$ac_cv_use_bmpbutton"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6674 if test "$wxUSE_BMPBUTTON" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6687 # Check whether --enable-calendar or --disable-calendar was given.
6688 if test "${enable_calendar+set}" = set; then
6689 enableval="$enable_calendar"
6691 if test "$enableval" = yes; then
6692 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6694 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6699 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6706 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6710 eval "$ac_cv_use_calendar"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6715 if test "$wxUSE_CALCTRL" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6728 # Check whether --enable-caret or --disable-caret was given.
6729 if test "${enable_caret+set}" = set; then
6730 enableval="$enable_caret"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_caret='wxUSE_CARET
=yes'
6735 ac_cv_use_caret='wxUSE_CARET
=no
'
6740 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6751 eval "$ac_cv_use_caret"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_CARET" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6769 # Check whether --enable-checkbox or --disable-checkbox was given.
6770 if test "${enable_checkbox+set}" = set; then
6771 enableval="$enable_checkbox"
6773 if test "$enableval" = yes; then
6774 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6776 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6781 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x ; then
6783 eval "DEFAULT_$LINE"
6788 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6792 eval "$ac_cv_use_checkbox"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6797 if test "$wxUSE_CHECKBOX" = yes; then
6798 echo "$as_me:$LINENO: result: yes" >&5
6799 echo "${ECHO_T}yes" >&6
6801 echo "$as_me:$LINENO: result: no" >&5
6802 echo "${ECHO_T}no" >&6
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6810 # Check whether --enable-checklst or --disable-checklst was given.
6811 if test "${enable_checklst+set}" = set; then
6812 enableval="$enable_checklst"
6814 if test "$enableval" = yes; then
6815 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6817 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6822 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6829 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6833 eval "$ac_cv_use_checklst"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_CHECKLST" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840 echo "${ECHO_T}yes" >&6
6842 echo "$as_me:$LINENO: result: no" >&5
6843 echo "${ECHO_T}no" >&6
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6851 # Check whether --enable-choice or --disable-choice was given.
6852 if test "${enable_choice+set}" = set; then
6853 enableval="$enable_choice"
6855 if test "$enableval" = yes; then
6856 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6858 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6863 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6870 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6874 eval "$ac_cv_use_choice"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_CHOICE" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881 echo "${ECHO_T}yes" >&6
6883 echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6892 # Check whether --enable-combobox or --disable-combobox was given.
6893 if test "${enable_combobox+set}" = set; then
6894 enableval="$enable_combobox"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6899 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6904 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6915 eval "$ac_cv_use_combobox"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_COMBOBOX" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6933 # Check whether --enable-display or --disable-display was given.
6934 if test "${enable_display+set}" = set; then
6935 enableval="$enable_display"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6940 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6945 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6956 eval "$ac_cv_use_display"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_DISPLAY" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6974 # Check whether --enable-gauge or --disable-gauge was given.
6975 if test "${enable_gauge+set}" = set; then
6976 enableval="$enable_gauge"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6981 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6986 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6997 eval "$ac_cv_use_gauge"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_GAUGE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7015 # Check whether --enable-grid or --disable-grid was given.
7016 if test "${enable_grid+set}" = set; then
7017 enableval="$enable_grid"
7019 if test "$enableval" = yes; then
7020 ac_cv_use_grid='wxUSE_GRID
=yes'
7022 ac_cv_use_grid='wxUSE_GRID
=no
'
7027 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7034 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7038 eval "$ac_cv_use_grid"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7043 if test "$wxUSE_GRID" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7056 # Check whether --enable-imaglist or --disable-imaglist was given.
7057 if test "${enable_imaglist+set}" = set; then
7058 enableval="$enable_imaglist"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7063 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7068 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7079 eval "$ac_cv_use_imaglist"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_IMAGLIST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7097 # Check whether --enable-listbook or --disable-listbook was given.
7098 if test "${enable_listbook+set}" = set; then
7099 enableval="$enable_listbook"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7104 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7109 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7120 eval "$ac_cv_use_listbook"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_LISTBOOK" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7138 # Check whether --enable-listbox or --disable-listbox was given.
7139 if test "${enable_listbox+set}" = set; then
7140 enableval="$enable_listbox"
7142 if test "$enableval" = yes; then
7143 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7145 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7150 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7157 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7161 eval "$ac_cv_use_listbox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_LISTBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7179 # Check whether --enable-listctrl or --disable-listctrl was given.
7180 if test "${enable_listctrl+set}" = set; then
7181 enableval="$enable_listctrl"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7186 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7191 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7202 eval "$ac_cv_use_listctrl"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_LISTCTRL" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7220 # Check whether --enable-notebook or --disable-notebook was given.
7221 if test "${enable_notebook+set}" = set; then
7222 enableval="$enable_notebook"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7227 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7232 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7243 eval "$ac_cv_use_notebook"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_NOTEBOOK" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7261 # Check whether --enable-radiobox or --disable-radiobox was given.
7262 if test "${enable_radiobox+set}" = set; then
7263 enableval="$enable_radiobox"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7268 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7273 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7284 eval "$ac_cv_use_radiobox"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7289 if test "$wxUSE_RADIOBOX" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7302 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7303 if test "${enable_radiobtn+set}" = set; then
7304 enableval="$enable_radiobtn"
7306 if test "$enableval" = yes; then
7307 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7309 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7314 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7321 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7325 eval "$ac_cv_use_radiobtn"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_RADIOBTN" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7343 # Check whether --enable-sash or --disable-sash was given.
7344 if test "${enable_sash+set}" = set; then
7345 enableval="$enable_sash"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_sash='wxUSE_SASH
=yes'
7350 ac_cv_use_sash='wxUSE_SASH
=no
'
7355 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7366 eval "$ac_cv_use_sash"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7371 if test "$wxUSE_SASH" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7384 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7385 if test "${enable_scrollbar+set}" = set; then
7386 enableval="$enable_scrollbar"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7391 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7396 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7407 eval "$ac_cv_use_scrollbar"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_SCROLLBAR" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7425 # Check whether --enable-slider or --disable-slider was given.
7426 if test "${enable_slider+set}" = set; then
7427 enableval="$enable_slider"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7432 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7437 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7448 eval "$ac_cv_use_slider"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_SLIDER" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7466 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7467 if test "${enable_spinbtn+set}" = set; then
7468 enableval="$enable_spinbtn"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7473 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7478 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7489 eval "$ac_cv_use_spinbtn"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_SPINBTN" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7507 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7508 if test "${enable_spinctrl+set}" = set; then
7509 enableval="$enable_spinctrl"
7511 if test "$enableval" = yes; then
7512 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7514 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7519 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7526 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7530 eval "$ac_cv_use_spinctrl"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7535 if test "$wxUSE_SPINCTRL" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7548 # Check whether --enable-splitter or --disable-splitter was given.
7549 if test "${enable_splitter+set}" = set; then
7550 enableval="$enable_splitter"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7555 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7560 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7571 eval "$ac_cv_use_splitter"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7576 if test "$wxUSE_SPLITTER" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7589 # Check whether --enable-statbmp or --disable-statbmp was given.
7590 if test "${enable_statbmp+set}" = set; then
7591 enableval="$enable_statbmp"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7596 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7601 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7612 eval "$ac_cv_use_statbmp"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_STATBMP" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7630 # Check whether --enable-statbox or --disable-statbox was given.
7631 if test "${enable_statbox+set}" = set; then
7632 enableval="$enable_statbox"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7637 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7642 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7653 eval "$ac_cv_use_statbox"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7658 if test "$wxUSE_STATBOX" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7662 echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7671 # Check whether --enable-statline or --disable-statline was given.
7672 if test "${enable_statline+set}" = set; then
7673 enableval="$enable_statline"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7678 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7683 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x ; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7694 eval "$ac_cv_use_statline"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_STATLINE" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6
7703 echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7712 # Check whether --enable-stattext or --disable-stattext was given.
7713 if test "${enable_stattext+set}" = set; then
7714 enableval="$enable_stattext"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7719 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7724 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7735 eval "$ac_cv_use_stattext"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_STATTEXT" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6
7744 echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7753 # Check whether --enable-statusbar or --disable-statusbar was given.
7754 if test "${enable_statusbar+set}" = set; then
7755 enableval="$enable_statusbar"
7757 if test "$enableval" = yes; then
7758 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7760 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7765 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7772 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7776 eval "$ac_cv_use_statusbar"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_STATUSBAR" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7794 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7795 if test "${enable_tabdialog+set}" = set; then
7796 enableval="$enable_tabdialog"
7798 if test "$enableval" = yes; then
7799 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7801 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7806 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7813 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7817 eval "$ac_cv_use_tabdialog"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_TABDIALOG" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7835 # Check whether --enable-textctrl or --disable-textctrl was given.
7836 if test "${enable_textctrl+set}" = set; then
7837 enableval="$enable_textctrl"
7839 if test "$enableval" = yes; then
7840 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7842 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7847 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7854 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7858 eval "$ac_cv_use_textctrl"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_TEXTCTRL" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6
7867 echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7876 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7877 if test "${enable_togglebtn+set}" = set; then
7878 enableval="$enable_togglebtn"
7880 if test "$enableval" = yes; then
7881 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7883 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7888 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7895 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7899 eval "$ac_cv_use_togglebtn"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7904 if test "$wxUSE_TOGGLEBTN" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7917 # Check whether --enable-toolbar or --disable-toolbar was given.
7918 if test "${enable_toolbar+set}" = set; then
7919 enableval="$enable_toolbar"
7921 if test "$enableval" = yes; then
7922 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7924 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7929 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7940 eval "$ac_cv_use_toolbar"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_TOOLBAR" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7958 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7959 if test "${enable_tbarnative+set}" = set; then
7960 enableval="$enable_tbarnative"
7962 if test "$enableval" = yes; then
7963 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7965 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7970 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7977 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7981 eval "$ac_cv_use_tbarnative"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7999 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8000 if test "${enable_tbarsmpl+set}" = set; then
8001 enableval="$enable_tbarsmpl"
8003 if test "$enableval" = yes; then
8004 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8006 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8011 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8022 eval "$ac_cv_use_tbarsmpl"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8040 # Check whether --enable-treectrl or --disable-treectrl was given.
8041 if test "${enable_treectrl+set}" = set; then
8042 enableval="$enable_treectrl"
8044 if test "$enableval" = yes; then
8045 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8047 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8052 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8059 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8063 eval "$ac_cv_use_treectrl"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8068 if test "$wxUSE_TREECTRL" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6
8072 echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8081 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8082 if test "${enable_tipwindow+set}" = set; then
8083 enableval="$enable_tipwindow"
8085 if test "$enableval" = yes; then
8086 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8088 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8093 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8100 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8104 eval "$ac_cv_use_tipwindow"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_TIPWINDOW" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8122 # Check whether --enable-popupwin or --disable-popupwin was given.
8123 if test "${enable_popupwin+set}" = set; then
8124 enableval="$enable_popupwin"
8126 if test "$enableval" = yes; then
8127 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8129 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8134 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8141 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8145 eval "$ac_cv_use_popupwin"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_POPUPWIN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6
8154 echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8165 # Check whether --enable-commondlg or --disable-commondlg was given.
8166 if test "${enable_commondlg+set}" = set; then
8167 enableval="$enable_commondlg"
8169 if test "$enableval" = yes; then
8170 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8172 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8177 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8184 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8188 eval "$ac_cv_use_commondlg"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8193 if test "$wxUSE_COMMONDLGS" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8206 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8207 if test "${enable_choicedlg+set}" = set; then
8208 enableval="$enable_choicedlg"
8210 if test "$enableval" = yes; then
8211 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8213 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8218 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8225 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8229 eval "$ac_cv_use_choicedlg"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8234 if test "$wxUSE_CHOICEDLG" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8247 # Check whether --enable-coldlg or --disable-coldlg was given.
8248 if test "${enable_coldlg+set}" = set; then
8249 enableval="$enable_coldlg"
8251 if test "$enableval" = yes; then
8252 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8254 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8259 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8266 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8270 eval "$ac_cv_use_coldlg"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8275 if test "$wxUSE_COLOURDLG" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8288 # Check whether --enable-filedlg or --disable-filedlg was given.
8289 if test "${enable_filedlg+set}" = set; then
8290 enableval="$enable_filedlg"
8292 if test "$enableval" = yes; then
8293 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8295 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8300 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8307 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8311 eval "$ac_cv_use_filedlg"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8316 if test "$wxUSE_FILEDLG" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8329 # Check whether --enable-finddlg or --disable-finddlg was given.
8330 if test "${enable_finddlg+set}" = set; then
8331 enableval="$enable_finddlg"
8333 if test "$enableval" = yes; then
8334 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8336 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8341 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8348 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8352 eval "$ac_cv_use_finddlg"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8357 if test "$wxUSE_FINDREPLDLG" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8370 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8371 if test "${enable_fontdlg+set}" = set; then
8372 enableval="$enable_fontdlg"
8374 if test "$enableval" = yes; then
8375 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8377 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8382 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8389 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8393 eval "$ac_cv_use_fontdlg"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8398 if test "$wxUSE_FONTDLG" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8411 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8412 if test "${enable_dirdlg+set}" = set; then
8413 enableval="$enable_dirdlg"
8415 if test "$enableval" = yes; then
8416 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8418 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8423 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8430 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8434 eval "$ac_cv_use_dirdlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_DIRDLG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8452 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8453 if test "${enable_msgdlg+set}" = set; then
8454 enableval="$enable_msgdlg"
8456 if test "$enableval" = yes; then
8457 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8459 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8464 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8471 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8475 eval "$ac_cv_use_msgdlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8480 if test "$wxUSE_MSGDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8493 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8494 if test "${enable_numberdlg+set}" = set; then
8495 enableval="$enable_numberdlg"
8497 if test "$enableval" = yes; then
8498 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8500 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8505 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8512 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8516 eval "$ac_cv_use_numberdlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8521 if test "$wxUSE_NUMBERDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8534 # Check whether --enable-splash or --disable-splash was given.
8535 if test "${enable_splash+set}" = set; then
8536 enableval="$enable_splash"
8538 if test "$enableval" = yes; then
8539 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8541 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8546 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8553 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8557 eval "$ac_cv_use_splash"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8562 if test "$wxUSE_SPLASH" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8575 # Check whether --enable-textdlg or --disable-textdlg was given.
8576 if test "${enable_textdlg+set}" = set; then
8577 enableval="$enable_textdlg"
8579 if test "$enableval" = yes; then
8580 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8582 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8587 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8594 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8598 eval "$ac_cv_use_textdlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8603 if test "$wxUSE_TEXTDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8616 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8617 if test "${enable_tipdlg+set}" = set; then
8618 enableval="$enable_tipdlg"
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8623 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8628 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8635 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8639 eval "$ac_cv_use_tipdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8644 if test "$wxUSE_STARTUP_TIPS" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8657 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8658 if test "${enable_progressdlg+set}" = set; then
8659 enableval="$enable_progressdlg"
8661 if test "$enableval" = yes; then
8662 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8664 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8669 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8676 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8680 eval "$ac_cv_use_progressdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8685 if test "$wxUSE_PROGRESSDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8698 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8699 if test "${enable_wizarddlg+set}" = set; then
8700 enableval="$enable_wizarddlg"
8702 if test "$enableval" = yes; then
8703 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8705 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8710 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8717 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8721 eval "$ac_cv_use_wizarddlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8726 if test "$wxUSE_WIZARDDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8741 # Check whether --enable-menus or --disable-menus was given.
8742 if test "${enable_menus+set}" = set; then
8743 enableval="$enable_menus"
8745 if test "$enableval" = yes; then
8746 ac_cv_use_menus='wxUSE_MENUS
=yes'
8748 ac_cv_use_menus='wxUSE_MENUS
=no
'
8753 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8760 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8764 eval "$ac_cv_use_menus"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8769 if test "$wxUSE_MENUS" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8782 # Check whether --enable-miniframe or --disable-miniframe was given.
8783 if test "${enable_miniframe+set}" = set; then
8784 enableval="$enable_miniframe"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8789 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8794 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8805 eval "$ac_cv_use_miniframe"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_MINIFRAME" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8823 # Check whether --enable-tooltips or --disable-tooltips was given.
8824 if test "${enable_tooltips+set}" = set; then
8825 enableval="$enable_tooltips"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8830 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8835 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8846 eval "$ac_cv_use_tooltips"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_TOOLTIPS" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8864 # Check whether --enable-splines or --disable-splines was given.
8865 if test "${enable_splines+set}" = set; then
8866 enableval="$enable_splines"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8871 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8876 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8887 eval "$ac_cv_use_splines"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_SPLINES" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8905 # Check whether --enable-validators or --disable-validators was given.
8906 if test "${enable_validators+set}" = set; then
8907 enableval="$enable_validators"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8912 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8917 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8928 eval "$ac_cv_use_validators"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_VALIDATORS" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8946 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8947 if test "${enable_busyinfo+set}" = set; then
8948 enableval="$enable_busyinfo"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8953 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8958 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8969 eval "$ac_cv_use_busyinfo"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_BUSYINFO" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8987 # Check whether --enable-joystick or --disable-joystick was given.
8988 if test "${enable_joystick+set}" = set; then
8989 enableval="$enable_joystick"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8994 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8999 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9010 eval "$ac_cv_use_joystick"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_JOYSTICK" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9028 # Check whether --enable-metafile or --disable-metafile was given.
9029 if test "${enable_metafile+set}" = set; then
9030 enableval="$enable_metafile"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9035 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9040 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9051 eval "$ac_cv_use_metafile"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_METAFILE" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9069 # Check whether --enable-dragimage or --disable-dragimage was given.
9070 if test "${enable_dragimage+set}" = set; then
9071 enableval="$enable_dragimage"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9076 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9081 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9092 eval "$ac_cv_use_dragimage"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_DRAGIMAGE" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9110 # Check whether --enable-accessibility or --disable-accessibility was given.
9111 if test "${enable_accessibility+set}" = set; then
9112 enableval="$enable_accessibility"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9117 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9122 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9133 eval "$ac_cv_use_accessibility"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_ACCESSIBILITY" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9153 # Check whether --enable-palette or --disable-palette was given.
9154 if test "${enable_palette+set}" = set; then
9155 enableval="$enable_palette"
9157 if test "$enableval" = yes; then
9158 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9160 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9165 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x ; then
9167 eval "DEFAULT_$LINE"
9172 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9176 eval "$ac_cv_use_palette"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9181 if test "$wxUSE_PALETTE" = yes; then
9182 echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6
9185 echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6
9191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9194 # Check whether --enable-image or --disable-image was given.
9195 if test "${enable_image+set}" = set; then
9196 enableval="$enable_image"
9198 if test "$enableval" = yes; then
9199 ac_cv_use_image='wxUSE_IMAGE
=yes'
9201 ac_cv_use_image='wxUSE_IMAGE
=no
'
9206 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9207 if test "x$LINE" != x ; then
9208 eval "DEFAULT_$LINE"
9213 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9217 eval "$ac_cv_use_image"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9222 if test "$wxUSE_IMAGE" = yes; then
9223 echo "$as_me:$LINENO: result: yes" >&5
9224 echo "${ECHO_T}yes" >&6
9226 echo "$as_me:$LINENO: result: no" >&5
9227 echo "${ECHO_T}no" >&6
9232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9235 # Check whether --enable-gif or --disable-gif was given.
9236 if test "${enable_gif+set}" = set; then
9237 enableval="$enable_gif"
9239 if test "$enableval" = yes; then
9240 ac_cv_use_gif='wxUSE_GIF
=yes'
9242 ac_cv_use_gif='wxUSE_GIF
=no
'
9247 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9248 if test "x$LINE" != x ; then
9249 eval "DEFAULT_$LINE"
9254 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9258 eval "$ac_cv_use_gif"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9263 if test "$wxUSE_GIF" = yes; then
9264 echo "$as_me:$LINENO: result: yes" >&5
9265 echo "${ECHO_T}yes" >&6
9267 echo "$as_me:$LINENO: result: no" >&5
9268 echo "${ECHO_T}no" >&6
9273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9276 # Check whether --enable-pcx or --disable-pcx was given.
9277 if test "${enable_pcx+set}" = set; then
9278 enableval="$enable_pcx"
9280 if test "$enableval" = yes; then
9281 ac_cv_use_pcx='wxUSE_PCX
=yes'
9283 ac_cv_use_pcx='wxUSE_PCX
=no
'
9288 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9289 if test "x$LINE" != x ; then
9290 eval "DEFAULT_$LINE"
9295 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9299 eval "$ac_cv_use_pcx"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9304 if test "$wxUSE_PCX" = yes; then
9305 echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6
9308 echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6
9314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9317 # Check whether --enable-iff or --disable-iff was given.
9318 if test "${enable_iff+set}" = set; then
9319 enableval="$enable_iff"
9321 if test "$enableval" = yes; then
9322 ac_cv_use_iff='wxUSE_IFF
=yes'
9324 ac_cv_use_iff='wxUSE_IFF
=no
'
9329 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9330 if test "x$LINE" != x ; then
9331 eval "DEFAULT_$LINE"
9336 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9340 eval "$ac_cv_use_iff"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9345 if test "$wxUSE_IFF" = yes; then
9346 echo "$as_me:$LINENO: result: yes" >&5
9347 echo "${ECHO_T}yes" >&6
9349 echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9358 # Check whether --enable-pnm or --disable-pnm was given.
9359 if test "${enable_pnm+set}" = set; then
9360 enableval="$enable_pnm"
9362 if test "$enableval" = yes; then
9363 ac_cv_use_pnm='wxUSE_PNM
=yes'
9365 ac_cv_use_pnm='wxUSE_PNM
=no
'
9370 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9377 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9381 eval "$ac_cv_use_pnm"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9386 if test "$wxUSE_PNM" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9390 echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9399 # Check whether --enable-xpm or --disable-xpm was given.
9400 if test "${enable_xpm+set}" = set; then
9401 enableval="$enable_xpm"
9403 if test "$enableval" = yes; then
9404 ac_cv_use_xpm='wxUSE_XPM
=yes'
9406 ac_cv_use_xpm='wxUSE_XPM
=no
'
9411 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9418 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9422 eval "$ac_cv_use_xpm"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9427 if test "$wxUSE_XPM" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9440 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9441 if test "${enable_ico_cur+set}" = set; then
9442 enableval="$enable_ico_cur"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9447 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9452 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9463 eval "$ac_cv_use_ico_cur"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_ICO_CUR" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9485 # Check whether --enable-official_build or --disable-official_build was given.
9486 if test "${enable_official_build+set}" = set; then
9487 enableval="$enable_official_build"
9489 if test "$enableval" = yes; then
9490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9498 if test "x$LINE" != x ; then
9499 eval "DEFAULT_$LINE"
9504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9508 eval "$ac_cv_use_official_build"
9509 if test "$no_cache" != 1; then
9510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9514 echo "$as_me:$LINENO: result: yes" >&5
9515 echo "${ECHO_T}yes" >&6
9517 echo "$as_me:$LINENO: result: no" >&5
9518 echo "${ECHO_T}no" >&6
9521 # Check whether --enable-vendor or --disable-vendor was given.
9522 if test "${enable_vendor+set}" = set; then
9523 enableval="$enable_vendor"
9526 if test "x$VENDOR" = "x"; then
9531 *-pc-os2_emx | *-pc-os2-emx )
9541 echo "saving argument cache $wx_arg_cache_file"
9542 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9546 echo "$as_me:$LINENO: checking for toolkit" >&5
9547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9549 # In Wine, we need to default to MSW, not GTK or MOTIF
9550 if test "$wxUSE_WINE" = "yes"; then
9551 DEFAULT_DEFAULT_wxUSE_GTK=0
9552 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9553 DEFAULT_DEFAULT_wxUSE_MSW=1
9556 if test "$wxUSE_GUI" = "yes"; then
9558 if test "$USE_BEOS" = 1; then
9559 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9560 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9561 { (exit 1); exit 1; }; }
9564 if test "$TOOLKIT_GIVEN" = 1; then
9565 for toolkit in `echo $ALL_TOOLKITS`; do
9567 eval "value=\$${var}"
9568 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9571 for toolkit in `echo $ALL_TOOLKITS`; do
9572 if test "$has_toolkit_in_cache" != 1; then
9573 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9575 var=DEFAULT_wxUSE_$toolkit
9577 eval "wxUSE_$toolkit=\$${var}"
9581 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9582 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9583 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9586 *-pc-os2_emx | *-pc-os2-emx )
9587 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9590 case "$NUM_TOOLKITS" in
9594 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9595 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9596 { (exit 1); exit 1; }; }
9599 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9600 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9601 { (exit 1); exit 1; }; }
9604 for toolkit in `echo $ALL_TOOLKITS`; do
9606 eval "value=\$${var}"
9607 if test "x$value" != x; then
9608 cache_var=CACHE_$toolkit
9609 eval "cache=\$${cache_var}"
9610 if test "$cache" = 1; then
9611 echo "$var=$value" >> ${wx_arg_cache_file}
9613 if test "$value" = 1; then
9614 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9615 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9616 echo "${ECHO_T}$toolkit_echo" >&6
9621 if test "x$host_alias" != "x"; then
9622 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9623 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9625 echo "$as_me:$LINENO: result: base only" >&5
9626 echo "${ECHO_T}base only" >&6
9634 if test "$wxUSE_MSW" = 1 ; then
9645 if test "$wxUSE_WINE" = "yes"; then
9652 if test "$wants_win32" = 1 ; then
9655 cat >>confdefs.h <<\_ACEOF
9659 cat >>confdefs.h <<\_ACEOF
9663 cat >>confdefs.h <<\_ACEOF
9664 #define __WINDOWS__ 1
9667 cat >>confdefs.h <<\_ACEOF
9668 #define __GNUWIN32__ 1
9671 cat >>confdefs.h <<\_ACEOF
9675 cat >>confdefs.h <<\_ACEOF
9676 #define WINVER 0x0400
9680 if test "$doesnt_want_win32" = 1 ; then
9685 if test "$USE_UNIX" = 1 ; then
9687 cat >>confdefs.h <<\_ACEOF
9694 cat >confcache <<\_ACEOF
9695 # This file is a shell script that caches the results of configure
9696 # tests run on this system so they can be shared between configure
9697 # scripts and configure runs, see configure's option
--config-cache.
9698 # It is not useful on other systems. If it contains results you don't
9699 # want to keep, you may remove or edit it.
9701 # config.status only pays attention to the cache file if you give it
9702 # the --recheck option to rerun configure.
9704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9710 # The following way of writing the cache mishandles newlines in values,
9711 # but we know of no workaround that is simple, portable, and efficient.
9712 # So, don't put newlines in cache variables' values.
9713 # Ultrix sh set writes to stderr and can't be redirected directly,
9714 # and sets the high bit in the cache file unless we assign to the vars.
9717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9719 # `set' does not quote correctly, so add quotes (double-quote
9720 # substitution turns \\\\ into \\, and sed turns \\ into \).
9723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9726 # `set' quotes correctly as required by POSIX, so do not add quotes.
9728 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9737 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9739 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9740 if test -w $cache_file; then
9741 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9742 cat confcache
>$cache_file
9744 echo "not updating unwritable cache $cache_file"
9749 if test "$build" != "$host" ; then
9750 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9754 RANLIB
=$host_alias-ranlib
9755 DLLTOOL
=$host_alias-dlltool
9756 RESCOMP
=$host_alias-windres
9759 STRIP
=$host_alias-strip
9761 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9762 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9763 { (exit 1); exit 1; }; }
9769 ac_cpp
='$CPP $CPPFLAGS'
9770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9773 if test -n "$ac_tool_prefix"; then
9774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9775 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9776 echo "$as_me:$LINENO: checking for $ac_word" >&5
9777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9778 if test "${ac_cv_prog_CC+set}" = set; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 if test -n "$CC"; then
9782 ac_cv_prog_CC
="$CC" # Let the user override the test.
9784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9788 test -z "$as_dir" && as_dir
=.
9789 for ac_exec_ext
in '' $ac_executable_extensions; do
9790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9791 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9801 if test -n "$CC"; then
9802 echo "$as_me:$LINENO: result: $CC" >&5
9803 echo "${ECHO_T}$CC" >&6
9805 echo "$as_me:$LINENO: result: no" >&5
9806 echo "${ECHO_T}no" >&6
9810 if test -z "$ac_cv_prog_CC"; then
9812 # Extract the first word of "gcc", so it can be a program name with args.
9813 set dummy gcc
; ac_word
=$2
9814 echo "$as_me:$LINENO: checking for $ac_word" >&5
9815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 if test -n "$ac_ct_CC"; then
9820 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir
=.
9827 for ac_exec_ext
in '' $ac_executable_extensions; do
9828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_ac_ct_CC
="gcc"
9830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9839 if test -n "$ac_ct_CC"; then
9840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9841 echo "${ECHO_T}$ac_ct_CC" >&6
9843 echo "$as_me:$LINENO: result: no" >&5
9844 echo "${ECHO_T}no" >&6
9852 if test -z "$CC"; then
9853 if test -n "$ac_tool_prefix"; then
9854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9855 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9856 echo "$as_me:$LINENO: checking for $ac_word" >&5
9857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9858 if test "${ac_cv_prog_CC+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 if test -n "$CC"; then
9862 ac_cv_prog_CC
="$CC" # Let the user override the test.
9864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir
=.
9869 for ac_exec_ext
in '' $ac_executable_extensions; do
9870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9871 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 if test -n "$CC"; then
9882 echo "$as_me:$LINENO: result: $CC" >&5
9883 echo "${ECHO_T}$CC" >&6
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9890 if test -z "$ac_cv_prog_CC"; then
9892 # Extract the first word of "cc", so it can be a program name with args.
9893 set dummy cc
; ac_word
=$2
9894 echo "$as_me:$LINENO: checking for $ac_word" >&5
9895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 if test -n "$ac_ct_CC"; then
9900 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9906 test -z "$as_dir" && as_dir
=.
9907 for ac_exec_ext
in '' $ac_executable_extensions; do
9908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9909 ac_cv_prog_ac_ct_CC
="cc"
9910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9918 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9919 if test -n "$ac_ct_CC"; then
9920 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9921 echo "${ECHO_T}$ac_ct_CC" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9933 if test -z "$CC"; then
9934 # Extract the first word of "cc", so it can be a program name with args.
9935 set dummy cc
; ac_word
=$2
9936 echo "$as_me:$LINENO: checking for $ac_word" >&5
9937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9938 if test "${ac_cv_prog_CC+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 if test -n "$CC"; then
9942 ac_cv_prog_CC
="$CC" # Let the user override the test.
9945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir
=.
9950 for ac_exec_ext
in '' $ac_executable_extensions; do
9951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9953 ac_prog_rejected
=yes
9957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9963 if test $ac_prog_rejected = yes; then
9964 # We found a bogon in the path, so make sure we never use it.
9965 set dummy
$ac_cv_prog_CC
9967 if test $# != 0; then
9968 # We chose a different compiler from the bogus one.
9969 # However, it has the same basename, so the bogon will be chosen
9970 # first if we set CC to just the basename; use the full file name.
9972 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9978 if test -n "$CC"; then
9979 echo "$as_me:$LINENO: result: $CC" >&5
9980 echo "${ECHO_T}$CC" >&6
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9987 if test -z "$CC"; then
9988 if test -n "$ac_tool_prefix"; then
9991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9993 echo "$as_me:$LINENO: checking for $ac_word" >&5
9994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9995 if test "${ac_cv_prog_CC+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 if test -n "$CC"; then
9999 ac_cv_prog_CC
="$CC" # Let the user override the test.
10001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10002 for as_dir
in $PATH
10005 test -z "$as_dir" && as_dir
=.
10006 for ac_exec_ext
in '' $ac_executable_extensions; do
10007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10008 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10018 if test -n "$CC"; then
10019 echo "$as_me:$LINENO: result: $CC" >&5
10020 echo "${ECHO_T}$CC" >&6
10022 echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6
10026 test -n "$CC" && break
10029 if test -z "$CC"; then
10033 # Extract the first word of "$ac_prog", so it can be a program name with args.
10034 set dummy
$ac_prog; ac_word
=$2
10035 echo "$as_me:$LINENO: checking for $ac_word" >&5
10036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10037 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10038 echo $ECHO_N "(cached) $ECHO_C" >&6
10040 if test -n "$ac_ct_CC"; then
10041 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10044 for as_dir
in $PATH
10047 test -z "$as_dir" && as_dir
=.
10048 for ac_exec_ext
in '' $ac_executable_extensions; do
10049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_prog_ac_ct_CC
="$ac_prog"
10051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10060 if test -n "$ac_ct_CC"; then
10061 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10062 echo "${ECHO_T}$ac_ct_CC" >&6
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10068 test -n "$ac_ct_CC" && break
10077 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10078 See \`config.log' for more details." >&5
10079 echo "$as_me: error: no acceptable C compiler found in \$PATH
10080 See \`config.log' for more details." >&2;}
10081 { (exit 1); exit 1; }; }
10083 # Provide some information about the compiler.
10084 echo "$as_me:$LINENO:" \
10085 "checking for C compiler version" >&5
10086 ac_compiler
=`set X $ac_compile; echo $2`
10087 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10088 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }
10092 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10093 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }
10097 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10098 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }
10103 cat >conftest.
$ac_ext <<_ACEOF
10104 #line $LINENO "configure"
10107 cat confdefs.h
>>conftest.
$ac_ext
10108 cat >>conftest.
$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10119 ac_clean_files_save
=$ac_clean_files
10120 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10121 # Try to create an executable without -o first, disregard a.out.
10122 # It will help us diagnose broken compilers, and finding out an intuition
10124 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10125 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10126 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10127 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10128 (eval $ac_link_default) 2>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; then
10132 # Find the output, starting from the most likely. This scheme is
10133 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10136 # Be careful to initialize this variable, since it used to be cached.
10137 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10139 # b.out is created by i960 compilers.
10140 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10142 test -f "$ac_file" || continue
10144 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10147 # This is the source file.
10150 # We found the default executable, but exeext='' is most
10154 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10155 # FIXME: I believe we export ac_cv_exeext for Libtool,
10156 # but it would be cool to find out if it's true. Does anybody
10157 # maintain Libtool? --akim.
10158 export ac_cv_exeext
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.
$ac_ext >&5
10168 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10169 See \`config.log' for more details." >&5
10170 echo "$as_me: error: C compiler cannot create executables
10171 See \`config.log' for more details." >&2;}
10172 { (exit 77); exit 77; }; }
10175 ac_exeext
=$ac_cv_exeext
10176 echo "$as_me:$LINENO: result: $ac_file" >&5
10177 echo "${ECHO_T}$ac_file" >&6
10179 # Check the compiler produces executables we can run. If not, either
10180 # the compiler is broken, or we cross compile.
10181 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10182 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10183 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10184 # If not cross compiling, check that we can run a simple program.
10185 if test "$cross_compiling" != yes; then
10186 if { ac_try
='./$ac_file'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; }; then
10194 if test "$cross_compiling" = maybe
; then
10195 cross_compiling
=yes
10197 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10198 If you meant to cross compile, use \`--host'.
10199 See \`config.log' for more details." >&5
10200 echo "$as_me: error: cannot run C compiled programs.
10201 If you meant to cross compile, use \`--host'.
10202 See \`config.log' for more details." >&2;}
10203 { (exit 1); exit 1; }; }
10207 echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6
10210 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10211 ac_clean_files
=$ac_clean_files_save
10212 # Check the compiler produces executables we can run. If not, either
10213 # the compiler is broken, or we cross compile.
10214 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10215 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10216 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10217 echo "${ECHO_T}$cross_compiling" >&6
10219 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10220 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10222 (eval $ac_link) 2>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; then
10226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10227 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10228 # work properly (i.e., refer to `conftest.exe'), while it won't with
10230 for ac_file
in conftest.exe conftest conftest.
*; do
10231 test -f "$ac_file" || continue
10233 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10234 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10235 export ac_cv_exeext
10241 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10242 See \`config.log' for more details." >&5
10243 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10244 See \`config.log' for more details." >&2;}
10245 { (exit 1); exit 1; }; }
10248 rm -f conftest
$ac_cv_exeext
10249 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10250 echo "${ECHO_T}$ac_cv_exeext" >&6
10252 rm -f conftest.
$ac_ext
10253 EXEEXT
=$ac_cv_exeext
10255 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10256 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10257 if test "${ac_cv_objext+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 cat >conftest.
$ac_ext <<_ACEOF
10261 #line $LINENO "configure"
10264 cat confdefs.h
>>conftest.
$ac_ext
10265 cat >>conftest.
$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10276 rm -f conftest.o conftest.obj
10277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10278 (eval $ac_compile) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; then
10282 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10284 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10285 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.
$ac_ext >&5
10293 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10294 See \`config.log' for more details." >&5
10295 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10296 See \`config.log' for more details." >&2;}
10297 { (exit 1); exit 1; }; }
10300 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10302 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10303 echo "${ECHO_T}$ac_cv_objext" >&6
10304 OBJEXT
=$ac_cv_objext
10306 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10307 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10308 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 cat >conftest.
$ac_ext <<_ACEOF
10312 #line $LINENO "configure"
10315 cat confdefs.h
>>conftest.
$ac_ext
10316 cat >>conftest.
$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10330 rm -f conftest.
$ac_objext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try
='test -s conftest.$ac_objext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_compiler_gnu
=yes
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.
$ac_ext >&5
10349 rm -f conftest.
$ac_objext conftest.
$ac_ext
10350 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10353 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10354 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10355 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10356 ac_test_CFLAGS
=${CFLAGS+set}
10357 ac_save_CFLAGS
=$CFLAGS
10359 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10360 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10361 if test "${ac_cv_prog_cc_g+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 cat >conftest.
$ac_ext <<_ACEOF
10365 #line $LINENO "configure"
10368 cat confdefs.h
>>conftest.
$ac_ext
10369 cat >>conftest.
$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10380 rm -f conftest.
$ac_objext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try
='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_cv_prog_cc_g
=yes
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.
$ac_ext >&5
10399 rm -f conftest.
$ac_objext conftest.
$ac_ext
10401 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10402 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10403 if test "$ac_test_CFLAGS" = set; then
10404 CFLAGS
=$ac_save_CFLAGS
10405 elif test $ac_cv_prog_cc_g = yes; then
10406 if test "$GCC" = yes; then
10412 if test "$GCC" = yes; then
10418 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10419 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10420 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10423 ac_cv_prog_cc_stdc
=no
10425 cat >conftest.
$ac_ext <<_ACEOF
10426 #line $LINENO "configure"
10429 cat confdefs.h
>>conftest.
$ac_ext
10430 cat >>conftest.
$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10432 #include <stdarg.h>
10434 #include <sys/types.h>
10435 #include <sys/stat.h>
10436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10437 struct buf { int x; };
10438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10439 static char *e (p, i)
10445 static char *f (char * (*g) (char **, int), char **p, ...)
10450 s = g (p, va_arg (v,int));
10454 int test (int i, double x);
10455 struct s1 {int (*f) (int a);};
10456 struct s2 {int (*f) (double a);};
10457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10463 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10468 # Don't try gcc -ansi; that turns off useful extensions and
10469 # breaks some systems' header files.
10470 # AIX -qlanglvl=ansi
10471 # Ultrix and OSF/1 -std1
10472 # HP-UX 10.20 and later -Ae
10473 # HP-UX older versions -Aa -D_HPUX_SOURCE
10474 # SVR4 -Xc -D__EXTENSIONS__
10475 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10477 CC
="$ac_save_CC $ac_arg"
10478 rm -f conftest.
$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } &&
10484 { ac_try
='test -s conftest.$ac_objext'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; }; then
10490 ac_cv_prog_cc_stdc
=$ac_arg
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.
$ac_ext >&5
10497 rm -f conftest.
$ac_objext
10499 rm -f conftest.
$ac_ext conftest.
$ac_objext
10504 case "x$ac_cv_prog_cc_stdc" in
10506 echo "$as_me:$LINENO: result: none needed" >&5
10507 echo "${ECHO_T}none needed" >&6 ;;
10509 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10510 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10511 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10514 # Some people use a C++ compiler to compile C. Since we use `exit',
10515 # in C++ we need to declare it. In case someone uses the same compiler
10516 # for both compiling C and C++ we need to have the C++ compiler decide
10517 # the declaration of exit, since it's the most demanding environment.
10518 cat >conftest.
$ac_ext <<_ACEOF
10519 #ifndef __cplusplus
10523 rm -f conftest.
$ac_objext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 for ac_declaration
in \
10537 '#include <stdlib.h>' \
10538 'extern "C" void std::exit (int) throw (); using std::exit;' \
10539 'extern "C" void std::exit (int); using std::exit;' \
10540 'extern "C" void exit (int) throw ();' \
10541 'extern "C" void exit (int);' \
10544 cat >conftest.
$ac_ext <<_ACEOF
10545 #line $LINENO "configure"
10548 cat confdefs.h
>>conftest.
$ac_ext
10549 cat >>conftest.
$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10551 #include <stdlib.h>
10561 rm -f conftest.
$ac_objext
10562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10563 (eval $ac_compile) 2>&5
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); } &&
10567 { ac_try
='test -s conftest.$ac_objext'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; }; then
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.
$ac_ext >&5
10580 rm -f conftest.
$ac_objext conftest.
$ac_ext
10581 cat >conftest.
$ac_ext <<_ACEOF
10582 #line $LINENO "configure"
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10597 rm -f conftest.
$ac_objext
10598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10599 (eval $ac_compile) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } &&
10603 { ac_try
='test -s conftest.$ac_objext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.
$ac_ext >&5
10615 rm -f conftest.
$ac_objext conftest.
$ac_ext
10618 if test -n "$ac_declaration"; then
10619 echo '#ifdef __cplusplus' >>confdefs.h
10620 echo $ac_declaration >>confdefs.h
10621 echo '#endif' >>confdefs.h
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.
$ac_ext >&5
10629 rm -f conftest.
$ac_objext conftest.
$ac_ext
10631 ac_cpp
='$CPP $CPPFLAGS'
10632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10639 ac_cpp
='$CPP $CPPFLAGS'
10640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10643 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10644 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10645 # On Suns, sometimes $CPP names a directory.
10646 if test -n "$CPP" && test -d "$CPP"; then
10649 if test -z "$CPP"; then
10650 if test "${ac_cv_prog_CPP+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 # Double quotes because CPP needs to be expanded
10654 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10656 ac_preproc_ok
=false
10657 for ac_c_preproc_warn_flag
in '' yes
10659 # Use a header file that comes with gcc, so configuring glibc
10660 # with a fresh cross-compiler works.
10661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10662 # <limits.h> exists even on freestanding compilers.
10663 # On the NeXT, cc -E runs the code through the compiler's parser,
10664 # not just through cpp. "Syntax error" is here to catch this case.
10665 cat >conftest.
$ac_ext <<_ACEOF
10666 #line $LINENO "configure"
10669 cat confdefs.h
>>conftest.
$ac_ext
10670 cat >>conftest.
$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10673 # include <limits.h>
10675 # include <assert.h>
10679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10682 grep -v '^ *+' conftest.er1
>conftest.err
10684 cat conftest.err
>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } >/dev
/null
; then
10687 if test -s conftest.err
; then
10688 ac_cpp_err
=$ac_c_preproc_warn_flag
10695 if test -z "$ac_cpp_err"; then
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.
$ac_ext >&5
10701 # Broken: fails on valid input.
10704 rm -f conftest.err conftest.
$ac_ext
10706 # OK, works on sane cases. Now check whether non-existent headers
10707 # can be detected and how.
10708 cat >conftest.
$ac_ext <<_ACEOF
10709 #line $LINENO "configure"
10712 cat confdefs.h
>>conftest.
$ac_ext
10713 cat >>conftest.
$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 #include <ac_nonexistent.h>
10717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10718 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10720 grep -v '^ *+' conftest.er1
>conftest.err
10722 cat conftest.err
>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } >/dev
/null
; then
10725 if test -s conftest.err
; then
10726 ac_cpp_err
=$ac_c_preproc_warn_flag
10733 if test -z "$ac_cpp_err"; then
10734 # Broken: success on invalid input.
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.
$ac_ext >&5
10740 # Passes both tests.
10744 rm -f conftest.err conftest.
$ac_ext
10747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10748 rm -f conftest.err conftest.
$ac_ext
10749 if $ac_preproc_ok; then
10754 ac_cv_prog_CPP
=$CPP
10757 CPP
=$ac_cv_prog_CPP
10759 ac_cv_prog_CPP
=$CPP
10761 echo "$as_me:$LINENO: result: $CPP" >&5
10762 echo "${ECHO_T}$CPP" >&6
10763 ac_preproc_ok
=false
10764 for ac_c_preproc_warn_flag
in '' yes
10766 # Use a header file that comes with gcc, so configuring glibc
10767 # with a fresh cross-compiler works.
10768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10769 # <limits.h> exists even on freestanding compilers.
10770 # On the NeXT, cc -E runs the code through the compiler's parser,
10771 # not just through cpp. "Syntax error" is here to catch this case.
10772 cat >conftest.
$ac_ext <<_ACEOF
10773 #line $LINENO "configure"
10776 cat confdefs.h
>>conftest.
$ac_ext
10777 cat >>conftest.
$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10780 # include <limits.h>
10782 # include <assert.h>
10786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10787 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10789 grep -v '^ *+' conftest.er1
>conftest.err
10791 cat conftest.err
>&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); } >/dev
/null
; then
10794 if test -s conftest.err
; then
10795 ac_cpp_err
=$ac_c_preproc_warn_flag
10802 if test -z "$ac_cpp_err"; then
10805 echo "$as_me: failed program was:" >&5
10806 sed 's/^/| /' conftest.
$ac_ext >&5
10808 # Broken: fails on valid input.
10811 rm -f conftest.err conftest.
$ac_ext
10813 # OK, works on sane cases. Now check whether non-existent headers
10814 # can be detected and how.
10815 cat >conftest.
$ac_ext <<_ACEOF
10816 #line $LINENO "configure"
10819 cat confdefs.h
>>conftest.
$ac_ext
10820 cat >>conftest.
$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10822 #include <ac_nonexistent.h>
10824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10827 grep -v '^ *+' conftest.er1
>conftest.err
10829 cat conftest.err
>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } >/dev
/null
; then
10832 if test -s conftest.err
; then
10833 ac_cpp_err
=$ac_c_preproc_warn_flag
10840 if test -z "$ac_cpp_err"; then
10841 # Broken: success on invalid input.
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.
$ac_ext >&5
10847 # Passes both tests.
10851 rm -f conftest.err conftest.
$ac_ext
10854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10855 rm -f conftest.err conftest.
$ac_ext
10856 if $ac_preproc_ok; then
10859 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10860 See \`config.log' for more details." >&5
10861 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10862 See \`config.log' for more details." >&2;}
10863 { (exit 1); exit 1; }; }
10867 ac_cpp
='$CPP $CPPFLAGS'
10868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10873 echo "$as_me:$LINENO: checking for egrep" >&5
10874 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10875 if test "${ac_cv_prog_egrep+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10879 then ac_cv_prog_egrep
='grep -E'
10880 else ac_cv_prog_egrep
='egrep'
10883 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10884 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10885 EGREP
=$ac_cv_prog_egrep
10888 if test $ac_cv_c_compiler_gnu = yes; then
10889 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10890 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10891 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 ac_pattern
="Autoconf.*'x'"
10895 cat >conftest.
$ac_ext <<_ACEOF
10896 #line $LINENO "configure"
10899 cat confdefs.h
>>conftest.
$ac_ext
10900 cat >>conftest.
$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10906 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10907 ac_cv_prog_gcc_traditional
=yes
10909 ac_cv_prog_gcc_traditional
=no
10914 if test $ac_cv_prog_gcc_traditional = no
; then
10915 cat >conftest.
$ac_ext <<_ACEOF
10916 #line $LINENO "configure"
10919 cat confdefs.h
>>conftest.
$ac_ext
10920 cat >>conftest.
$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10922 #include <termio.h>
10925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10926 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10927 ac_cv_prog_gcc_traditional
=yes
10933 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10934 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10935 if test $ac_cv_prog_gcc_traditional = yes; then
10936 CC
="$CC -traditional"
10944 ac_cpp
='$CXXCPP $CPPFLAGS'
10945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10950 CXXFLAGS
=${CXXFLAGS:=}
10952 ac_cpp
='$CXXCPP $CPPFLAGS'
10953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10956 if test -n "$ac_tool_prefix"; then
10957 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10960 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10961 echo "$as_me:$LINENO: checking for $ac_word" >&5
10962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10963 if test "${ac_cv_prog_CXX+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10966 if test -n "$CXX"; then
10967 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10970 for as_dir
in $PATH
10973 test -z "$as_dir" && as_dir
=.
10974 for ac_exec_ext
in '' $ac_executable_extensions; do
10975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10976 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 CXX
=$ac_cv_prog_CXX
10986 if test -n "$CXX"; then
10987 echo "$as_me:$LINENO: result: $CXX" >&5
10988 echo "${ECHO_T}$CXX" >&6
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10994 test -n "$CXX" && break
10997 if test -z "$CXX"; then
10999 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11001 # Extract the first word of "$ac_prog", so it can be a program name with args.
11002 set dummy
$ac_prog; ac_word
=$2
11003 echo "$as_me:$LINENO: checking for $ac_word" >&5
11004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11005 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 if test -n "$ac_ct_CXX"; then
11009 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11012 for as_dir
in $PATH
11015 test -z "$as_dir" && as_dir
=.
11016 for ac_exec_ext
in '' $ac_executable_extensions; do
11017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11018 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11028 if test -n "$ac_ct_CXX"; then
11029 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11030 echo "${ECHO_T}$ac_ct_CXX" >&6
11032 echo "$as_me:$LINENO: result: no" >&5
11033 echo "${ECHO_T}no" >&6
11036 test -n "$ac_ct_CXX" && break
11038 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11044 # Provide some information about the compiler.
11045 echo "$as_me:$LINENO:" \
11046 "checking for C++ compiler version" >&5
11047 ac_compiler
=`set X $ac_compile; echo $2`
11048 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11049 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }
11053 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11054 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }
11058 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11059 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }
11064 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11065 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11066 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 cat >conftest.
$ac_ext <<_ACEOF
11070 #line $LINENO "configure"
11073 cat confdefs.h
>>conftest.
$ac_ext
11074 cat >>conftest.
$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11088 rm -f conftest.
$ac_objext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11090 (eval $ac_compile) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); } &&
11094 { ac_try
='test -s conftest.$ac_objext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11100 ac_compiler_gnu
=yes
11102 echo "$as_me: failed program was:" >&5
11103 sed 's/^/| /' conftest.
$ac_ext >&5
11107 rm -f conftest.
$ac_objext conftest.
$ac_ext
11108 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11111 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11112 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11113 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11114 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11115 ac_save_CXXFLAGS
=$CXXFLAGS
11117 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11118 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11119 if test "${ac_cv_prog_cxx_g+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 cat >conftest.
$ac_ext <<_ACEOF
11123 #line $LINENO "configure"
11126 cat confdefs.h
>>conftest.
$ac_ext
11127 cat >>conftest.
$ac_ext <<_ACEOF
11128 /* end confdefs.h. */
11138 rm -f conftest.
$ac_objext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try
='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_prog_cxx_g
=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11155 ac_cv_prog_cxx_g
=no
11157 rm -f conftest.
$ac_objext conftest.
$ac_ext
11159 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11160 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11161 if test "$ac_test_CXXFLAGS" = set; then
11162 CXXFLAGS
=$ac_save_CXXFLAGS
11163 elif test $ac_cv_prog_cxx_g = yes; then
11164 if test "$GXX" = yes; then
11170 if test "$GXX" = yes; then
11176 for ac_declaration
in \
11178 '#include <stdlib.h>' \
11179 'extern "C" void std::exit (int) throw (); using std::exit;' \
11180 'extern "C" void std::exit (int); using std::exit;' \
11181 'extern "C" void exit (int) throw ();' \
11182 'extern "C" void exit (int);' \
11185 cat >conftest.
$ac_ext <<_ACEOF
11186 #line $LINENO "configure"
11189 cat confdefs.h
>>conftest.
$ac_ext
11190 cat >>conftest.
$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 #include <stdlib.h>
11202 rm -f conftest.
$ac_objext
11203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11204 (eval $ac_compile) 2>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try
='test -s conftest.$ac_objext'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; }; then
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.
$ac_ext >&5
11221 rm -f conftest.
$ac_objext conftest.
$ac_ext
11222 cat >conftest.
$ac_ext <<_ACEOF
11223 #line $LINENO "configure"
11226 cat confdefs.h
>>conftest.
$ac_ext
11227 cat >>conftest.
$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11238 rm -f conftest.
$ac_objext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11240 (eval $ac_compile) 2>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } &&
11244 { ac_try
='test -s conftest.$ac_objext'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; }; then
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.
$ac_ext >&5
11256 rm -f conftest.
$ac_objext conftest.
$ac_ext
11259 if test -n "$ac_declaration"; then
11260 echo '#ifdef __cplusplus' >>confdefs.h
11261 echo $ac_declaration >>confdefs.h
11262 echo '#endif' >>confdefs.h
11266 ac_cpp
='$CXXCPP $CPPFLAGS'
11267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11273 ac_cpp
='$CPP $CPPFLAGS'
11274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11279 if test -n "$ac_tool_prefix"; then
11280 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11281 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11282 echo "$as_me:$LINENO: checking for $ac_word" >&5
11283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11284 if test "${ac_cv_prog_RANLIB+set}" = set; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 if test -n "$RANLIB"; then
11288 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11291 for as_dir
in $PATH
11294 test -z "$as_dir" && as_dir
=.
11295 for ac_exec_ext
in '' $ac_executable_extensions; do
11296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11297 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11306 RANLIB
=$ac_cv_prog_RANLIB
11307 if test -n "$RANLIB"; then
11308 echo "$as_me:$LINENO: result: $RANLIB" >&5
11309 echo "${ECHO_T}$RANLIB" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11316 if test -z "$ac_cv_prog_RANLIB"; then
11317 ac_ct_RANLIB
=$RANLIB
11318 # Extract the first word of "ranlib", so it can be a program name with args.
11319 set dummy ranlib
; ac_word
=$2
11320 echo "$as_me:$LINENO: checking for $ac_word" >&5
11321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11322 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 if test -n "$ac_ct_RANLIB"; then
11326 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11329 for as_dir
in $PATH
11332 test -z "$as_dir" && as_dir
=.
11333 for ac_exec_ext
in '' $ac_executable_extensions; do
11334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11342 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11345 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11346 if test -n "$ac_ct_RANLIB"; then
11347 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11348 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11350 echo "$as_me:$LINENO: result: no" >&5
11351 echo "${ECHO_T}no" >&6
11354 RANLIB
=$ac_ct_RANLIB
11356 RANLIB
="$ac_cv_prog_RANLIB"
11360 # Extract the first word of "ar", so it can be a program name with args.
11361 set dummy
ar; ac_word
=$2
11362 echo "$as_me:$LINENO: checking for $ac_word" >&5
11363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11364 if test "${ac_cv_prog_AR+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 if test -n "$AR"; then
11368 ac_cv_prog_AR
="$AR" # Let the user override the test.
11370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11371 for as_dir
in $PATH
11374 test -z "$as_dir" && as_dir
=.
11375 for ac_exec_ext
in '' $ac_executable_extensions; do
11376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 if test -n "$AR"; then
11388 echo "$as_me:$LINENO: result: $AR" >&5
11389 echo "${ECHO_T}$AR" >&6
11391 echo "$as_me:$LINENO: result: no" >&5
11392 echo "${ECHO_T}no" >&6
11395 if test "x$AR" = "x" ; then
11396 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11397 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11398 { (exit 1); exit 1; }; }
11401 # Find a good install program. We prefer a C program (faster),
11402 # so one script is as good as another. But avoid the broken or
11403 # incompatible versions:
11404 # SysV /etc/install, /usr/sbin/install
11405 # SunOS /usr/etc/install
11406 # IRIX /sbin/install
11408 # AmigaOS /C/install, which installs bootblocks on floppy discs
11409 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11410 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11411 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11412 # ./install, which can be erroneously created by make from ./install.sh.
11413 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11414 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11415 if test -z "$INSTALL"; then
11416 if test "${ac_cv_path_install+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11420 for as_dir
in $PATH
11423 test -z "$as_dir" && as_dir
=.
11424 # Account for people who put trailing slashes in PATH elements.
11426 .
/ | .
// | /cC
/* | \
11427 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11430 # OSF1 and SCO ODT 3.0 have their own names for install.
11431 # Don't use installbsd from OSF since it installs stuff as root
11433 for ac_prog
in ginstall scoinst
install; do
11434 for ac_exec_ext
in '' $ac_executable_extensions; do
11435 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11436 if test $ac_prog = install &&
11437 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11438 # AIX install. It has an incompatible calling convention.
11440 elif test $ac_prog = install &&
11441 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11442 # program-specific install script used by HP pwplus--don't use.
11445 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11457 if test "${ac_cv_path_install+set}" = set; then
11458 INSTALL
=$ac_cv_path_install
11460 # As a last resort, use the slow shell script. We don't cache a
11461 # path for INSTALL within a source directory, because that will
11462 # break other packages using the cache if that directory is
11463 # removed, or if the path is relative.
11464 INSTALL
=$ac_install_sh
11467 echo "$as_me:$LINENO: result: $INSTALL" >&5
11468 echo "${ECHO_T}$INSTALL" >&6
11470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11471 # It thinks the first close brace ends the variable substitution.
11472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11476 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11482 ?
:* ) # Drive letter, considered as absolute.
11485 INSTALL
=`pwd`/${INSTALL} ;;
11490 INSTALL_DIR
="mkdir"
11493 *) INSTALL_DIR
="$INSTALL -d"
11500 powerpc
-*-darwin* )
11501 INSTALL_PROGRAM
="cp -fp"
11502 INSTALL_DATA
="cp -fp"
11508 # Extract the first word of "strip", so it can be a program name with args.
11509 set dummy strip
; ac_word
=$2
11510 echo "$as_me:$LINENO: checking for $ac_word" >&5
11511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11512 if test "${ac_cv_prog_STRIP+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 if test -n "$STRIP"; then
11516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11519 for as_dir
in $PATH
11522 test -z "$as_dir" && as_dir
=.
11523 for ac_exec_ext
in '' $ac_executable_extensions; do
11524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11525 ac_cv_prog_STRIP
="strip"
11526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11535 STRIP
=$ac_cv_prog_STRIP
11536 if test -n "$STRIP"; then
11537 echo "$as_me:$LINENO: result: $STRIP" >&5
11538 echo "${ECHO_T}$STRIP" >&6
11540 echo "$as_me:$LINENO: result: no" >&5
11541 echo "${ECHO_T}no" >&6
11545 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11546 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11547 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11552 egrep -s GNU
> /dev
/null
); then
11553 wx_cv_prog_makeisgnu
="yes"
11555 wx_cv_prog_makeisgnu
="no"
11559 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11560 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11562 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11570 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11571 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11572 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11573 if test "${wx_cv_prog_makevpath+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 cat - << EOF > confMake
11583 if test ! -d sub
; then
11586 echo dummy
> sub
/file
11587 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11589 rm -f sub
/file check final_file confMake
11591 if test "$RESULT" = 0; then
11592 wx_cv_prog_makevpath
="yes"
11594 wx_cv_prog_makevpath
="no"
11598 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11599 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11601 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11602 { { echo "$as_me:$LINENO: error:
11603 You need a make-utility that is able to use the variable
11605 If your version of make does not support VPATH correctly,
11606 please install GNU-make (possibly as gmake), and start
11607 configure with the following command:
11608 export MAKE=gmake; ./configure for sh-type shells
11609 setenv MAKE gmake; ./configure for csh-type shells
11610 Also please do remember to use gmake in this case every time
11611 you are trying to compile.
11613 echo "$as_me: error:
11614 You need a make-utility that is able to use the variable
11616 If your version of make does not support VPATH correctly,
11617 please install GNU-make (possibly as gmake), and start
11618 configure with the following command:
11619 export MAKE=gmake; ./configure for sh-type shells
11620 setenv MAKE gmake; ./configure for csh-type shells
11621 Also please do remember to use gmake in this case every time
11622 you are trying to compile.
11624 { (exit 1); exit 1; }; }
11626 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11627 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11629 if test "$LN_S" = "ln -s"; then
11630 echo "$as_me:$LINENO: result: yes" >&5
11631 echo "${ECHO_T}yes" >&6
11633 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11634 echo "${ECHO_T}no, using $LN_S" >&6
11639 *-pc-os2_emx | *-pc-os2-emx )
11640 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11641 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11642 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11643 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 ac_check_lib_save_LIBS
=$LIBS
11647 LIBS
="-lcExt $LIBS"
11648 cat >conftest.
$ac_ext <<_ACEOF
11649 #line $LINENO "configure"
11652 cat confdefs.h
>>conftest.
$ac_ext
11653 cat >>conftest.
$ac_ext <<_ACEOF
11654 /* end confdefs.h. */
11656 /* Override any gcc2 internal prototype to avoid an error. */
11660 /* We use char because int might match the return type of a gcc2
11661 builtin and then its argument prototype would still apply. */
11671 rm -f conftest.
$ac_objext conftest
$ac_exeext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11673 (eval $ac_link) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try
='test -s conftest$ac_exeext'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11683 ac_cv_lib_cExt_drand48
=yes
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11688 ac_cv_lib_cExt_drand48
=no
11690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11691 LIBS
=$ac_check_lib_save_LIBS
11693 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11694 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11695 if test $ac_cv_lib_cExt_drand48 = yes; then
11696 LIBS
="$LIBS -lcExt"
11700 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11706 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11707 echo "$as_me:$LINENO: checking for strings.h" >&5
11708 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11709 if test "${ac_cv_header_strings_h+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 ac_cv_header_strings_h
=no
11714 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11715 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11716 if test "$ac_cv_header_strings_h" = "no"; then
11717 echo "$as_me:$LINENO: result: forced no into cache" >&5
11718 echo "${ECHO_T}forced no into cache" >&6
11720 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11721 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11724 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11725 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11726 if test "${ac_cv_header_stdc+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 cat >conftest.
$ac_ext <<_ACEOF
11730 #line $LINENO "configure"
11733 cat confdefs.h
>>conftest.
$ac_ext
11734 cat >>conftest.
$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 #include <stdlib.h>
11737 #include <stdarg.h>
11738 #include <string.h>
11749 rm -f conftest.
$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try
='test -s conftest.$ac_objext'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; }; then
11761 ac_cv_header_stdc
=yes
11763 echo "$as_me: failed program was:" >&5
11764 sed 's/^/| /' conftest.
$ac_ext >&5
11766 ac_cv_header_stdc
=no
11768 rm -f conftest.
$ac_objext conftest.
$ac_ext
11770 if test $ac_cv_header_stdc = yes; then
11771 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11772 cat >conftest.
$ac_ext <<_ACEOF
11773 #line $LINENO "configure"
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 #include <string.h>
11782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11783 $EGREP "memchr" >/dev
/null
2>&1; then
11786 ac_cv_header_stdc
=no
11792 if test $ac_cv_header_stdc = yes; then
11793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11794 cat >conftest.
$ac_ext <<_ACEOF
11795 #line $LINENO "configure"
11798 cat confdefs.h
>>conftest.
$ac_ext
11799 cat >>conftest.
$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11801 #include <stdlib.h>
11804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11805 $EGREP "free" >/dev
/null
2>&1; then
11808 ac_cv_header_stdc
=no
11814 if test $ac_cv_header_stdc = yes; then
11815 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11816 if test "$cross_compiling" = yes; then
11819 cat >conftest.
$ac_ext <<_ACEOF
11820 #line $LINENO "configure"
11823 cat confdefs.h
>>conftest.
$ac_ext
11824 cat >>conftest.
$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11827 #if ((' ' & 0x0FF) == 0x020)
11828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11831 # define ISLOWER(c) \
11832 (('a' <= (c) && (c) <= 'i') \
11833 || ('j' <= (c) && (c) <= 'r') \
11834 || ('s' <= (c) && (c) <= 'z'))
11835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11843 for (i = 0; i < 256; i++)
11844 if (XOR (islower (i), ISLOWER (i))
11845 || toupper (i) != TOUPPER (i))
11850 rm -f conftest
$ac_exeext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 (eval $ac_link) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11863 echo "$as_me: program exited with status $ac_status" >&5
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.
$ac_ext >&5
11867 ( exit $ac_status )
11868 ac_cv_header_stdc
=no
11870 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11874 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11875 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11876 if test $ac_cv_header_stdc = yes; then
11878 cat >>confdefs.h
<<\_ACEOF
11879 #define STDC_HEADERS 1
11884 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11894 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11895 inttypes.h stdint.h unistd.h
11897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11898 echo "$as_me:$LINENO: checking for $ac_header" >&5
11899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 cat >conftest.
$ac_ext <<_ACEOF
11904 #line $LINENO "configure"
11907 cat confdefs.h
>>conftest.
$ac_ext
11908 cat >>conftest.
$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 $ac_includes_default
11912 #include <$ac_header>
11914 rm -f conftest.
$ac_objext
11915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11916 (eval $ac_compile) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try
='test -s conftest.$ac_objext'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; }; then
11926 eval "$as_ac_Header=yes"
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.
$ac_ext >&5
11931 eval "$as_ac_Header=no"
11933 rm -f conftest.
$ac_objext conftest.
$ac_ext
11935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11938 cat >>confdefs.h
<<_ACEOF
11939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11948 for ac_header
in strings.h
11950 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11952 echo "$as_me:$LINENO: checking for $ac_header" >&5
11953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11960 # Is the header compilable?
11961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11963 cat >conftest.
$ac_ext <<_ACEOF
11964 #line $LINENO "configure"
11967 cat confdefs.h
>>conftest.
$ac_ext
11968 cat >>conftest.
$ac_ext <<_ACEOF
11969 /* end confdefs.h. */
11970 $ac_includes_default
11971 #include <$ac_header>
11973 rm -f conftest.
$ac_objext
11974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11975 (eval $ac_compile) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); } &&
11979 { ac_try
='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_header_compiler
=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.
$ac_ext >&5
11990 ac_header_compiler
=no
11992 rm -f conftest.
$ac_objext conftest.
$ac_ext
11993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11994 echo "${ECHO_T}$ac_header_compiler" >&6
11996 # Is the header present?
11997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11999 cat >conftest.
$ac_ext <<_ACEOF
12000 #line $LINENO "configure"
12003 cat confdefs.h
>>conftest.
$ac_ext
12004 cat >>conftest.
$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 #include <$ac_header>
12008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12011 grep -v '^ *+' conftest.er1
>conftest.err
12013 cat conftest.err
>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } >/dev
/null
; then
12016 if test -s conftest.err
; then
12017 ac_cpp_err
=$ac_c_preproc_warn_flag
12024 if test -z "$ac_cpp_err"; then
12025 ac_header_preproc
=yes
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.
$ac_ext >&5
12030 ac_header_preproc
=no
12032 rm -f conftest.err conftest.
$ac_ext
12033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12034 echo "${ECHO_T}$ac_header_preproc" >&6
12036 # So? What about this header?
12037 case $ac_header_compiler:$ac_header_preproc in
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12045 ## ------------------------------------ ##
12046 ## Report this to bug-autoconf@gnu.org. ##
12047 ## ------------------------------------ ##
12050 sed "s/^/$as_me: WARNING: /" >&2
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12061 ## ------------------------------------ ##
12062 ## Report this to bug-autoconf@gnu.org. ##
12063 ## ------------------------------------ ##
12066 sed "s/^/$as_me: WARNING: /" >&2
12069 echo "$as_me:$LINENO: checking for $ac_header" >&5
12070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 eval "$as_ac_Header=$ac_header_preproc"
12076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12081 cat >>confdefs.h
<<_ACEOF
12082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12091 for ac_header
in stdlib.h
12093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12095 echo "$as_me:$LINENO: checking for $ac_header" >&5
12096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12103 # Is the header compilable?
12104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12106 cat >conftest.
$ac_ext <<_ACEOF
12107 #line $LINENO "configure"
12110 cat confdefs.h
>>conftest.
$ac_ext
12111 cat >>conftest.
$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12113 $ac_includes_default
12114 #include <$ac_header>
12116 rm -f conftest.
$ac_objext
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try
='test -s conftest.$ac_objext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 ac_header_compiler
=yes
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.
$ac_ext >&5
12133 ac_header_compiler
=no
12135 rm -f conftest.
$ac_objext conftest.
$ac_ext
12136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12137 echo "${ECHO_T}$ac_header_compiler" >&6
12139 # Is the header present?
12140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12142 cat >conftest.
$ac_ext <<_ACEOF
12143 #line $LINENO "configure"
12146 cat confdefs.h
>>conftest.
$ac_ext
12147 cat >>conftest.
$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12149 #include <$ac_header>
12151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12154 grep -v '^ *+' conftest.er1
>conftest.err
12156 cat conftest.err
>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } >/dev
/null
; then
12159 if test -s conftest.err
; then
12160 ac_cpp_err
=$ac_c_preproc_warn_flag
12167 if test -z "$ac_cpp_err"; then
12168 ac_header_preproc
=yes
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.
$ac_ext >&5
12173 ac_header_preproc
=no
12175 rm -f conftest.err conftest.
$ac_ext
12176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12177 echo "${ECHO_T}$ac_header_preproc" >&6
12179 # So? What about this header?
12180 case $ac_header_compiler:$ac_header_preproc in
12182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12188 ## ------------------------------------ ##
12189 ## Report this to bug-autoconf@gnu.org. ##
12190 ## ------------------------------------ ##
12193 sed "s/^/$as_me: WARNING: /" >&2
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12204 ## ------------------------------------ ##
12205 ## Report this to bug-autoconf@gnu.org. ##
12206 ## ------------------------------------ ##
12209 sed "s/^/$as_me: WARNING: /" >&2
12212 echo "$as_me:$LINENO: checking for $ac_header" >&5
12213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 eval "$as_ac_Header=$ac_header_preproc"
12219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12224 cat >>confdefs.h
<<_ACEOF
12225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12233 for ac_header
in malloc.h
12235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12237 echo "$as_me:$LINENO: checking for $ac_header" >&5
12238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12245 # Is the header compilable?
12246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12248 cat >conftest.
$ac_ext <<_ACEOF
12249 #line $LINENO "configure"
12252 cat confdefs.h
>>conftest.
$ac_ext
12253 cat >>conftest.
$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12255 $ac_includes_default
12256 #include <$ac_header>
12258 rm -f conftest.
$ac_objext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12260 (eval $ac_compile) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try
='test -s conftest.$ac_objext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_header_compiler
=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ac_header_compiler
=no
12277 rm -f conftest.
$ac_objext conftest.
$ac_ext
12278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12279 echo "${ECHO_T}$ac_header_compiler" >&6
12281 # Is the header present?
12282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12284 cat >conftest.
$ac_ext <<_ACEOF
12285 #line $LINENO "configure"
12288 cat confdefs.h
>>conftest.
$ac_ext
12289 cat >>conftest.
$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12291 #include <$ac_header>
12293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12296 grep -v '^ *+' conftest.er1
>conftest.err
12298 cat conftest.err
>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } >/dev
/null
; then
12301 if test -s conftest.err
; then
12302 ac_cpp_err
=$ac_c_preproc_warn_flag
12309 if test -z "$ac_cpp_err"; then
12310 ac_header_preproc
=yes
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.
$ac_ext >&5
12315 ac_header_preproc
=no
12317 rm -f conftest.err conftest.
$ac_ext
12318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12319 echo "${ECHO_T}$ac_header_preproc" >&6
12321 # So? What about this header?
12322 case $ac_header_compiler:$ac_header_preproc in
12324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12330 ## ------------------------------------ ##
12331 ## Report this to bug-autoconf@gnu.org. ##
12332 ## ------------------------------------ ##
12335 sed "s/^/$as_me: WARNING: /" >&2
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 eval "$as_ac_Header=$ac_header_preproc"
12361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12366 cat >>confdefs.h
<<_ACEOF
12367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12375 for ac_header
in unistd.h
12377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12387 # Is the header compilable?
12388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12390 cat >conftest.
$ac_ext <<_ACEOF
12391 #line $LINENO "configure"
12394 cat confdefs.h
>>conftest.
$ac_ext
12395 cat >>conftest.
$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12397 $ac_includes_default
12398 #include <$ac_header>
12400 rm -f conftest.
$ac_objext
12401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12402 (eval $ac_compile) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try
='test -s conftest.$ac_objext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 ac_header_compiler
=yes
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.
$ac_ext >&5
12417 ac_header_compiler
=no
12419 rm -f conftest.
$ac_objext conftest.
$ac_ext
12420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12421 echo "${ECHO_T}$ac_header_compiler" >&6
12423 # Is the header present?
12424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12426 cat >conftest.
$ac_ext <<_ACEOF
12427 #line $LINENO "configure"
12430 cat confdefs.h
>>conftest.
$ac_ext
12431 cat >>conftest.
$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12433 #include <$ac_header>
12435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12438 grep -v '^ *+' conftest.er1
>conftest.err
12440 cat conftest.err
>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } >/dev
/null
; then
12443 if test -s conftest.err
; then
12444 ac_cpp_err
=$ac_c_preproc_warn_flag
12451 if test -z "$ac_cpp_err"; then
12452 ac_header_preproc
=yes
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.
$ac_ext >&5
12457 ac_header_preproc
=no
12459 rm -f conftest.err conftest.
$ac_ext
12460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12461 echo "${ECHO_T}$ac_header_preproc" >&6
12463 # So? What about this header?
12464 case $ac_header_compiler:$ac_header_preproc in
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12472 ## ------------------------------------ ##
12473 ## Report this to bug-autoconf@gnu.org. ##
12474 ## ------------------------------------ ##
12477 sed "s/^/$as_me: WARNING: /" >&2
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 eval "$as_ac_Header=$ac_header_preproc"
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12508 cat >>confdefs.h
<<_ACEOF
12509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12517 for ac_header
in wchar.h
12519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo "$as_me:$LINENO: checking for $ac_header" >&5
12522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12529 # Is the header compilable?
12530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12532 cat >conftest.
$ac_ext <<_ACEOF
12533 #line $LINENO "configure"
12536 cat confdefs.h
>>conftest.
$ac_ext
12537 cat >>conftest.
$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 $ac_includes_default
12540 #include <$ac_header>
12542 rm -f conftest.
$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_header_compiler
=yes
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.
$ac_ext >&5
12559 ac_header_compiler
=no
12561 rm -f conftest.
$ac_objext conftest.
$ac_ext
12562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12563 echo "${ECHO_T}$ac_header_compiler" >&6
12565 # Is the header present?
12566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12568 cat >conftest.
$ac_ext <<_ACEOF
12569 #line $LINENO "configure"
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 #include <$ac_header>
12577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1
>conftest.err
12582 cat conftest.err
>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } >/dev
/null
; then
12585 if test -s conftest.err
; then
12586 ac_cpp_err
=$ac_c_preproc_warn_flag
12593 if test -z "$ac_cpp_err"; then
12594 ac_header_preproc
=yes
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.
$ac_ext >&5
12599 ac_header_preproc
=no
12601 rm -f conftest.err conftest.
$ac_ext
12602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12603 echo "${ECHO_T}$ac_header_preproc" >&6
12605 # So? What about this header?
12606 case $ac_header_compiler:$ac_header_preproc in
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12614 ## ------------------------------------ ##
12615 ## Report this to bug-autoconf@gnu.org. ##
12616 ## ------------------------------------ ##
12619 sed "s/^/$as_me: WARNING: /" >&2
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 eval "$as_ac_Header=$ac_header_preproc"
12645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12650 cat >>confdefs.h
<<_ACEOF
12651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12659 if test "$ac_cv_header_wchar_h" != "yes"; then
12661 for ac_header
in wcstr.h
12663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12665 echo "$as_me:$LINENO: checking for $ac_header" >&5
12666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12673 # Is the header compilable?
12674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12676 cat >conftest.
$ac_ext <<_ACEOF
12677 #line $LINENO "configure"
12680 cat confdefs.h
>>conftest.
$ac_ext
12681 cat >>conftest.
$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683 $ac_includes_default
12684 #include <$ac_header>
12686 rm -f conftest.
$ac_objext
12687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12688 (eval $ac_compile) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } &&
12692 { ac_try
='test -s conftest.$ac_objext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 ac_header_compiler
=yes
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.
$ac_ext >&5
12703 ac_header_compiler
=no
12705 rm -f conftest.
$ac_objext conftest.
$ac_ext
12706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12707 echo "${ECHO_T}$ac_header_compiler" >&6
12709 # Is the header present?
12710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12712 cat >conftest.
$ac_ext <<_ACEOF
12713 #line $LINENO "configure"
12716 cat confdefs.h
>>conftest.
$ac_ext
12717 cat >>conftest.
$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719 #include <$ac_header>
12721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12724 grep -v '^ *+' conftest.er1
>conftest.err
12726 cat conftest.err
>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } >/dev
/null
; then
12729 if test -s conftest.err
; then
12730 ac_cpp_err
=$ac_c_preproc_warn_flag
12737 if test -z "$ac_cpp_err"; then
12738 ac_header_preproc
=yes
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.
$ac_ext >&5
12743 ac_header_preproc
=no
12745 rm -f conftest.err conftest.
$ac_ext
12746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12747 echo "${ECHO_T}$ac_header_preproc" >&6
12749 # So? What about this header?
12750 case $ac_header_compiler:$ac_header_preproc in
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12758 ## ------------------------------------ ##
12759 ## Report this to bug-autoconf@gnu.org. ##
12760 ## ------------------------------------ ##
12763 sed "s/^/$as_me: WARNING: /" >&2
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12774 ## ------------------------------------ ##
12775 ## Report this to bug-autoconf@gnu.org. ##
12776 ## ------------------------------------ ##
12779 sed "s/^/$as_me: WARNING: /" >&2
12782 echo "$as_me:$LINENO: checking for $ac_header" >&5
12783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 eval "$as_ac_Header=$ac_header_preproc"
12789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12794 cat >>confdefs.h
<<_ACEOF
12795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12805 for ac_header
in fnmatch.h
12807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12809 echo "$as_me:$LINENO: checking for $ac_header" >&5
12810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12817 # Is the header compilable?
12818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12820 cat >conftest.
$ac_ext <<_ACEOF
12821 #line $LINENO "configure"
12824 cat confdefs.h
>>conftest.
$ac_ext
12825 cat >>conftest.
$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12827 $ac_includes_default
12828 #include <$ac_header>
12830 rm -f conftest.
$ac_objext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12832 (eval $ac_compile) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try
='test -s conftest.$ac_objext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 ac_header_compiler
=yes
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12847 ac_header_compiler
=no
12849 rm -f conftest.
$ac_objext conftest.
$ac_ext
12850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12851 echo "${ECHO_T}$ac_header_compiler" >&6
12853 # Is the header present?
12854 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12856 cat >conftest.
$ac_ext <<_ACEOF
12857 #line $LINENO "configure"
12860 cat confdefs.h
>>conftest.
$ac_ext
12861 cat >>conftest.
$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12863 #include <$ac_header>
12865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12868 grep -v '^ *+' conftest.er1
>conftest.err
12870 cat conftest.err
>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } >/dev
/null
; then
12873 if test -s conftest.err
; then
12874 ac_cpp_err
=$ac_c_preproc_warn_flag
12881 if test -z "$ac_cpp_err"; then
12882 ac_header_preproc
=yes
12884 echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.
$ac_ext >&5
12887 ac_header_preproc
=no
12889 rm -f conftest.err conftest.
$ac_ext
12890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12891 echo "${ECHO_T}$ac_header_preproc" >&6
12893 # So? What about this header?
12894 case $ac_header_compiler:$ac_header_preproc in
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12902 ## ------------------------------------ ##
12903 ## Report this to bug-autoconf@gnu.org. ##
12904 ## ------------------------------------ ##
12907 sed "s/^/$as_me: WARNING: /" >&2
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12918 ## ------------------------------------ ##
12919 ## Report this to bug-autoconf@gnu.org. ##
12920 ## ------------------------------------ ##
12923 sed "s/^/$as_me: WARNING: /" >&2
12926 echo "$as_me:$LINENO: checking for $ac_header" >&5
12927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12931 eval "$as_ac_Header=$ac_header_preproc"
12933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12938 cat >>confdefs.h
<<_ACEOF
12939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12947 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12949 for ac_func
in fnmatch
12951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12952 echo "$as_me:$LINENO: checking for $ac_func" >&5
12953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12954 if eval "test \"\${$as_ac_var+set}\" = set"; then
12955 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 cat >conftest.
$ac_ext <<_ACEOF
12958 #line $LINENO "configure"
12961 cat confdefs.h
>>conftest.
$ac_ext
12962 cat >>conftest.
$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12964 /* System header to define __stub macros and hopefully few prototypes,
12965 which can conflict with char $ac_func (); below.
12966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12967 <limits.h> exists even on freestanding compilers. */
12969 # include <limits.h>
12971 # include <assert.h>
12973 /* Override any gcc2 internal prototype to avoid an error. */
12978 /* We use char because int might match the return type of a gcc2
12979 builtin and then its argument prototype would still apply. */
12981 /* The GNU C library defines this for functions which it implements
12982 to always fail with ENOSYS. Some functions are actually named
12983 something starting with __ and the normal name is an alias. */
12984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12987 char (*f) () = $ac_func;
12996 return f != $ac_func;
13001 rm -f conftest.
$ac_objext conftest
$ac_exeext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13003 (eval $ac_link) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try
='test -s conftest$ac_exeext'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; }; then
13013 eval "$as_ac_var=yes"
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.
$ac_ext >&5
13018 eval "$as_ac_var=no"
13020 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13024 if test `eval echo '${'$as_ac_var'}'` = yes; then
13025 cat >>confdefs.h
<<_ACEOF
13026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13035 for ac_header
in langinfo.h
13037 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13039 echo "$as_me:$LINENO: checking for $ac_header" >&5
13040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13047 # Is the header compilable?
13048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13050 cat >conftest.
$ac_ext <<_ACEOF
13051 #line $LINENO "configure"
13054 cat confdefs.h
>>conftest.
$ac_ext
13055 cat >>conftest.
$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13057 $ac_includes_default
13058 #include <$ac_header>
13060 rm -f conftest.
$ac_objext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13062 (eval $ac_compile) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try
='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 ac_header_compiler
=yes
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.
$ac_ext >&5
13077 ac_header_compiler
=no
13079 rm -f conftest.
$ac_objext conftest.
$ac_ext
13080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13081 echo "${ECHO_T}$ac_header_compiler" >&6
13083 # Is the header present?
13084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13086 cat >conftest.
$ac_ext <<_ACEOF
13087 #line $LINENO "configure"
13090 cat confdefs.h
>>conftest.
$ac_ext
13091 cat >>conftest.
$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093 #include <$ac_header>
13095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13098 grep -v '^ *+' conftest.er1
>conftest.err
13100 cat conftest.err
>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } >/dev
/null
; then
13103 if test -s conftest.err
; then
13104 ac_cpp_err
=$ac_c_preproc_warn_flag
13111 if test -z "$ac_cpp_err"; then
13112 ac_header_preproc
=yes
13114 echo "$as_me: failed program was:" >&5
13115 sed 's/^/| /' conftest.
$ac_ext >&5
13117 ac_header_preproc
=no
13119 rm -f conftest.err conftest.
$ac_ext
13120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13121 echo "${ECHO_T}$ac_header_preproc" >&6
13123 # So? What about this header?
13124 case $ac_header_compiler:$ac_header_preproc in
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13132 ## ------------------------------------ ##
13133 ## Report this to bug-autoconf@gnu.org. ##
13134 ## ------------------------------------ ##
13137 sed "s/^/$as_me: WARNING: /" >&2
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13148 ## ------------------------------------ ##
13149 ## Report this to bug-autoconf@gnu.org. ##
13150 ## ------------------------------------ ##
13153 sed "s/^/$as_me: WARNING: /" >&2
13156 echo "$as_me:$LINENO: checking for $ac_header" >&5
13157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 eval "$as_ac_Header=$ac_header_preproc"
13163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13164 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13168 cat >>confdefs.h
<<_ACEOF
13169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13178 *-pc-os2_emx | *-pc-os2-emx )
13179 if test $ac_cv_header_langinfo_h = "yes"; then
13180 LIBS
="$LIBS -lintl"
13185 if test "$wxUSE_GUI" = "yes"; then
13186 if test "$wxUSE_UNIX" = "yes"; then
13188 for ac_header
in X
11/Xlib.h
13190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13200 # Is the header compilable?
13201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203 cat >conftest.
$ac_ext <<_ACEOF
13204 #line $LINENO "configure"
13207 cat confdefs.h
>>conftest.
$ac_ext
13208 cat >>conftest.
$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 $ac_includes_default
13211 #include <$ac_header>
13213 rm -f conftest.
$ac_objext
13214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13215 (eval $ac_compile) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } &&
13219 { ac_try
='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_header_compiler
=yes
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.
$ac_ext >&5
13230 ac_header_compiler
=no
13232 rm -f conftest.
$ac_objext conftest.
$ac_ext
13233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13234 echo "${ECHO_T}$ac_header_compiler" >&6
13236 # Is the header present?
13237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13239 cat >conftest.
$ac_ext <<_ACEOF
13240 #line $LINENO "configure"
13243 cat confdefs.h
>>conftest.
$ac_ext
13244 cat >>conftest.
$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246 #include <$ac_header>
13248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13251 grep -v '^ *+' conftest.er1
>conftest.err
13253 cat conftest.err
>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev
/null
; then
13256 if test -s conftest.err
; then
13257 ac_cpp_err
=$ac_c_preproc_warn_flag
13264 if test -z "$ac_cpp_err"; then
13265 ac_header_preproc
=yes
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.
$ac_ext >&5
13270 ac_header_preproc
=no
13272 rm -f conftest.err conftest.
$ac_ext
13273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13274 echo "${ECHO_T}$ac_header_preproc" >&6
13276 # So? What about this header?
13277 case $ac_header_compiler:$ac_header_preproc in
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13285 ## ------------------------------------ ##
13286 ## Report this to bug-autoconf@gnu.org. ##
13287 ## ------------------------------------ ##
13290 sed "s/^/$as_me: WARNING: /" >&2
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13301 ## ------------------------------------ ##
13302 ## Report this to bug-autoconf@gnu.org. ##
13303 ## ------------------------------------ ##
13306 sed "s/^/$as_me: WARNING: /" >&2
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 eval "$as_ac_Header=$ac_header_preproc"
13316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h
<<_ACEOF
13322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13330 for ac_header
in X
11/XKBlib.h
13332 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13333 echo "$as_me:$LINENO: checking for $ac_header" >&5
13334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 cat >conftest.
$ac_ext <<_ACEOF
13339 #line $LINENO "configure"
13342 cat confdefs.h
>>conftest.
$ac_ext
13343 cat >>conftest.
$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13346 #if HAVE_X11_XLIB_H
13347 #include <X11/Xlib.h>
13351 #include <$ac_header>
13353 rm -f conftest.
$ac_objext
13354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13355 (eval $ac_compile) 2>&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); } &&
13359 { ac_try
='test -s conftest.$ac_objext'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; }; then
13365 eval "$as_ac_Header=yes"
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.
$ac_ext >&5
13370 eval "$as_ac_Header=no"
13372 rm -f conftest.
$ac_objext conftest.
$ac_ext
13374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13377 cat >>confdefs.h
<<_ACEOF
13378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13389 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13390 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13391 if test "${ac_cv_c_const+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 cat >conftest.
$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13398 cat confdefs.h
>>conftest.
$ac_ext
13399 cat >>conftest.
$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13405 /* FIXME: Include the comments suggested by Paul. */
13406 #ifndef __cplusplus
13407 /* Ultrix mips cc rejects this. */
13408 typedef int charset[2];
13410 /* SunOS 4.1.1 cc rejects this. */
13411 char const *const *ccp;
13413 /* NEC SVR4.0.2 mips cc rejects this. */
13414 struct point {int x, y;};
13415 static struct point const zero = {0,0};
13416 /* AIX XL C 1.02.0.0 rejects this.
13417 It does not let you subtract one const X* pointer from another in
13418 an arm of an if-expression whose if-part is not a constant
13420 const char *g = "string";
13421 ccp = &g + (g ? g-g : 0);
13422 /* HPUX 7.0 cc rejects these. */
13425 ccp = (char const *const *) p;
13426 { /* SCO 3.2v4 cc rejects this. */
13428 char const *s = 0 ? (char *) 0 : (char const *) 0;
13432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13433 int x[] = {25, 17};
13434 const int *foo = &x[0];
13437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13438 typedef const int *iptr;
13442 { /* AIX XL C 1.02.0.0 rejects this saying
13443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13444 struct s { int j; const int *ap[3]; };
13445 struct s *b; b->j = 5;
13447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13448 const int foo = 10;
13456 rm -f conftest.
$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } &&
13462 { ac_try
='test -s conftest.$ac_objext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13470 echo "$as_me: failed program was:" >&5
13471 sed 's/^/| /' conftest.
$ac_ext >&5
13475 rm -f conftest.
$ac_objext conftest.
$ac_ext
13477 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13478 echo "${ECHO_T}$ac_cv_c_const" >&6
13479 if test $ac_cv_c_const = no
; then
13481 cat >>confdefs.h
<<\_ACEOF
13487 echo "$as_me:$LINENO: checking for inline" >&5
13488 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13489 if test "${ac_cv_c_inline+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13493 for ac_kw
in inline __inline__ __inline
; do
13494 cat >conftest.
$ac_ext <<_ACEOF
13495 #line $LINENO "configure"
13498 cat confdefs.h
>>conftest.
$ac_ext
13499 cat >>conftest.
$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501 #ifndef __cplusplus
13503 static $ac_kw foo_t static_foo () {return 0; }
13504 $ac_kw foo_t foo () {return 0; }
13508 rm -f conftest.
$ac_objext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13510 (eval $ac_compile) 2>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try
='test -s conftest.$ac_objext'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 ac_cv_c_inline
=$ac_kw; break
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.
$ac_ext >&5
13526 rm -f conftest.
$ac_objext conftest.
$ac_ext
13530 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13531 echo "${ECHO_T}$ac_cv_c_inline" >&6
13532 case $ac_cv_c_inline in
13535 cat >>confdefs.h
<<\_ACEOF
13539 *) cat >>confdefs.h
<<_ACEOF
13540 #define inline $ac_cv_c_inline
13546 echo "$as_me:$LINENO: checking for char" >&5
13547 echo $ECHO_N "checking for char... $ECHO_C" >&6
13548 if test "${ac_cv_type_char+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 cat >conftest.
$ac_ext <<_ACEOF
13552 #line $LINENO "configure"
13555 cat confdefs.h
>>conftest.
$ac_ext
13556 cat >>conftest.
$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 $ac_includes_default
13570 rm -f conftest.
$ac_objext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13572 (eval $ac_compile) 2>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try
='test -s conftest.$ac_objext'
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; }; then
13582 ac_cv_type_char
=yes
13584 echo "$as_me: failed program was:" >&5
13585 sed 's/^/| /' conftest.
$ac_ext >&5
13589 rm -f conftest.
$ac_objext conftest.
$ac_ext
13591 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13592 echo "${ECHO_T}$ac_cv_type_char" >&6
13594 echo "$as_me:$LINENO: checking size of char" >&5
13595 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13596 if test "${ac_cv_sizeof_char+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 if test "$ac_cv_type_char" = yes; then
13600 # The cast to unsigned long works around a bug in the HP C Compiler
13601 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13602 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13603 # This bug is HP SR number 8606223364.
13604 if test "$cross_compiling" = yes; then
13605 # Depending upon the size, compute the lo and hi bounds.
13606 cat >conftest.
$ac_ext <<_ACEOF
13607 #line $LINENO "configure"
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 $ac_includes_default
13617 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13624 rm -f conftest.
$ac_objext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13626 (eval $ac_compile) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try
='test -s conftest.$ac_objext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13638 cat >conftest.
$ac_ext <<_ACEOF
13639 #line $LINENO "configure"
13642 cat confdefs.h
>>conftest.
$ac_ext
13643 cat >>conftest.
$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13645 $ac_includes_default
13649 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13656 rm -f conftest.
$ac_objext
13657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13658 (eval $ac_compile) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try
='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_hi
=$ac_mid; break
13670 echo "$as_me: failed program was:" >&5
13671 sed 's/^/| /' conftest.
$ac_ext >&5
13673 ac_lo
=`expr $ac_mid + 1`
13674 if test $ac_lo -le $ac_mid; then
13678 ac_mid
=`expr 2 '*' $ac_mid + 1`
13680 rm -f conftest.
$ac_objext conftest.
$ac_ext
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.
$ac_ext >&5
13686 cat >conftest.
$ac_ext <<_ACEOF
13687 #line $LINENO "configure"
13690 cat confdefs.h
>>conftest.
$ac_ext
13691 cat >>conftest.
$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 $ac_includes_default
13697 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13704 rm -f conftest.
$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try
='test -s conftest.$ac_objext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13718 cat >conftest.
$ac_ext <<_ACEOF
13719 #line $LINENO "configure"
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 $ac_includes_default
13729 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13736 rm -f conftest.
$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try
='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_lo
=$ac_mid; break
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.
$ac_ext >&5
13753 ac_hi
=`expr '(' $ac_mid ')' - 1`
13754 if test $ac_mid -le $ac_hi; then
13758 ac_mid
=`expr 2 '*' $ac_mid`
13760 rm -f conftest.
$ac_objext conftest.
$ac_ext
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.
$ac_ext >&5
13768 rm -f conftest.
$ac_objext conftest.
$ac_ext
13770 rm -f conftest.
$ac_objext conftest.
$ac_ext
13771 # Binary search between lo and hi bounds.
13772 while test "x$ac_lo" != "x$ac_hi"; do
13773 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13774 cat >conftest.
$ac_ext <<_ACEOF
13775 #line $LINENO "configure"
13778 cat confdefs.h
>>conftest.
$ac_ext
13779 cat >>conftest.
$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 $ac_includes_default
13785 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13792 rm -f conftest.
$ac_objext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try
='test -s conftest.$ac_objext'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; }; then
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.
$ac_ext >&5
13809 ac_lo
=`expr '(' $ac_mid ')' + 1`
13811 rm -f conftest.
$ac_objext conftest.
$ac_ext
13814 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13815 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13816 See \`config.log' for more details." >&5
13817 echo "$as_me: error: cannot compute sizeof (char), 77
13818 See \`config.log' for more details." >&2;}
13819 { (exit 1); exit 1; }; } ;;
13822 if test "$cross_compiling" = yes; then
13823 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13824 See \`config.log' for more details." >&5
13825 echo "$as_me: error: cannot run test program while cross compiling
13826 See \`config.log' for more details." >&2;}
13827 { (exit 1); exit 1; }; }
13829 cat >conftest.
$ac_ext <<_ACEOF
13830 #line $LINENO "configure"
13833 cat confdefs.h
>>conftest.
$ac_ext
13834 cat >>conftest.
$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13836 $ac_includes_default
13837 long longval () { return (long) (sizeof (char)); }
13838 unsigned long ulongval () { return (long) (sizeof (char)); }
13840 #include <stdlib.h>
13845 FILE *f = fopen ("conftest.val", "w");
13848 if (((long) (sizeof (char))) < 0)
13850 long i = longval ();
13851 if (i != ((long) (sizeof (char))))
13853 fprintf (f, "%ld\n", i);
13857 unsigned long i = ulongval ();
13858 if (i != ((long) (sizeof (char))))
13860 fprintf (f, "%lu\n", i);
13862 exit (ferror (f) || fclose (f) != 0);
13868 rm -f conftest
$ac_exeext
13869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13870 (eval $ac_link) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; }; then
13879 ac_cv_sizeof_char
=`cat conftest.val`
13881 echo "$as_me: program exited with status $ac_status" >&5
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 ( exit $ac_status )
13886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: cannot compute sizeof (char), 77
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13892 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13897 ac_cv_sizeof_char
=0
13900 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13901 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13902 cat >>confdefs.h
<<_ACEOF
13903 #define SIZEOF_CHAR $ac_cv_sizeof_char
13907 echo "$as_me:$LINENO: checking for short" >&5
13908 echo $ECHO_N "checking for short... $ECHO_C" >&6
13909 if test "${ac_cv_type_short+set}" = set; then
13910 echo $ECHO_N "(cached) $ECHO_C" >&6
13912 cat >conftest.
$ac_ext <<_ACEOF
13913 #line $LINENO "configure"
13916 cat confdefs.h
>>conftest.
$ac_ext
13917 cat >>conftest.
$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 $ac_includes_default
13925 if (sizeof (short))
13931 rm -f conftest.
$ac_objext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13933 (eval $ac_compile) 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); } &&
13937 { ac_try
='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 ac_cv_type_short
=yes
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.
$ac_ext >&5
13948 ac_cv_type_short
=no
13950 rm -f conftest.
$ac_objext conftest.
$ac_ext
13952 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13953 echo "${ECHO_T}$ac_cv_type_short" >&6
13955 echo "$as_me:$LINENO: checking size of short" >&5
13956 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13957 if test "${ac_cv_sizeof_short+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 if test "$ac_cv_type_short" = yes; then
13961 # The cast to unsigned long works around a bug in the HP C Compiler
13962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13963 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13964 # This bug is HP SR number 8606223364.
13965 if test "$cross_compiling" = yes; then
13966 # Depending upon the size, compute the lo and hi bounds.
13967 cat >conftest.
$ac_ext <<_ACEOF
13968 #line $LINENO "configure"
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 $ac_includes_default
13978 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13985 rm -f conftest.
$ac_objext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13987 (eval $ac_compile) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try
='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13999 cat >conftest.
$ac_ext <<_ACEOF
14000 #line $LINENO "configure"
14003 cat confdefs.h
>>conftest.
$ac_ext
14004 cat >>conftest.
$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006 $ac_includes_default
14010 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14017 rm -f conftest.
$ac_objext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try
='test -s conftest.$ac_objext'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14029 ac_hi
=$ac_mid; break
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.
$ac_ext >&5
14034 ac_lo
=`expr $ac_mid + 1`
14035 if test $ac_lo -le $ac_mid; then
14039 ac_mid
=`expr 2 '*' $ac_mid + 1`
14041 rm -f conftest.
$ac_objext conftest.
$ac_ext
14044 echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.
$ac_ext >&5
14047 cat >conftest.
$ac_ext <<_ACEOF
14048 #line $LINENO "configure"
14051 cat confdefs.h
>>conftest.
$ac_ext
14052 cat >>conftest.
$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 $ac_includes_default
14058 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14065 rm -f conftest.
$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try
='test -s conftest.$ac_objext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14079 cat >conftest.
$ac_ext <<_ACEOF
14080 #line $LINENO "configure"
14083 cat confdefs.h
>>conftest.
$ac_ext
14084 cat >>conftest.
$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 $ac_includes_default
14090 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); } &&
14103 { ac_try
='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_lo
=$ac_mid; break
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.
$ac_ext >&5
14114 ac_hi
=`expr '(' $ac_mid ')' - 1`
14115 if test $ac_mid -le $ac_hi; then
14119 ac_mid
=`expr 2 '*' $ac_mid`
14121 rm -f conftest.
$ac_objext conftest.
$ac_ext
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.
$ac_ext >&5
14129 rm -f conftest.
$ac_objext conftest.
$ac_ext
14131 rm -f conftest.
$ac_objext conftest.
$ac_ext
14132 # Binary search between lo and hi bounds.
14133 while test "x$ac_lo" != "x$ac_hi"; do
14134 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14135 cat >conftest.
$ac_ext <<_ACEOF
14136 #line $LINENO "configure"
14139 cat confdefs.h
>>conftest.
$ac_ext
14140 cat >>conftest.
$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 $ac_includes_default
14146 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14153 rm -f conftest.
$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } &&
14159 { ac_try
='test -s conftest.$ac_objext'
14160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14161 (eval $ac_try) 2>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); }; }; then
14167 echo "$as_me: failed program was:" >&5
14168 sed 's/^/| /' conftest.
$ac_ext >&5
14170 ac_lo
=`expr '(' $ac_mid ')' + 1`
14172 rm -f conftest.
$ac_objext conftest.
$ac_ext
14175 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14176 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14177 See \`config.log' for more details." >&5
14178 echo "$as_me: error: cannot compute sizeof (short), 77
14179 See \`config.log' for more details." >&2;}
14180 { (exit 1); exit 1; }; } ;;
14183 if test "$cross_compiling" = yes; then
14184 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14185 See \`config.log' for more details." >&5
14186 echo "$as_me: error: cannot run test program while cross compiling
14187 See \`config.log' for more details." >&2;}
14188 { (exit 1); exit 1; }; }
14190 cat >conftest.
$ac_ext <<_ACEOF
14191 #line $LINENO "configure"
14194 cat confdefs.h
>>conftest.
$ac_ext
14195 cat >>conftest.
$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 $ac_includes_default
14198 long longval () { return (long) (sizeof (short)); }
14199 unsigned long ulongval () { return (long) (sizeof (short)); }
14201 #include <stdlib.h>
14206 FILE *f = fopen ("conftest.val", "w");
14209 if (((long) (sizeof (short))) < 0)
14211 long i = longval ();
14212 if (i != ((long) (sizeof (short))))
14214 fprintf (f, "%ld\n", i);
14218 unsigned long i = ulongval ();
14219 if (i != ((long) (sizeof (short))))
14221 fprintf (f, "%lu\n", i);
14223 exit (ferror (f) || fclose (f) != 0);
14229 rm -f conftest
$ac_exeext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14231 (eval $ac_link) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 ac_cv_sizeof_short
=`cat conftest.val`
14242 echo "$as_me: program exited with status $ac_status" >&5
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ( exit $ac_status )
14247 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14248 See \`config.log' for more details." >&5
14249 echo "$as_me: error: cannot compute sizeof (short), 77
14250 See \`config.log' for more details." >&2;}
14251 { (exit 1); exit 1; }; }
14253 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14258 ac_cv_sizeof_short
=0
14261 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14262 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14263 cat >>confdefs.h
<<_ACEOF
14264 #define SIZEOF_SHORT $ac_cv_sizeof_short
14268 echo "$as_me:$LINENO: checking for void *" >&5
14269 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14270 if test "${ac_cv_type_void_p+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 cat >conftest.
$ac_ext <<_ACEOF
14274 #line $LINENO "configure"
14277 cat confdefs.h
>>conftest.
$ac_ext
14278 cat >>conftest.
$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14280 $ac_includes_default
14286 if (sizeof (void *))
14292 rm -f conftest.
$ac_objext
14293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14294 (eval $ac_compile) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } &&
14298 { ac_try
='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14304 ac_cv_type_void_p
=yes
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14309 ac_cv_type_void_p
=no
14311 rm -f conftest.
$ac_objext conftest.
$ac_ext
14313 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14314 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14316 echo "$as_me:$LINENO: checking size of void *" >&5
14317 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14318 if test "${ac_cv_sizeof_void_p+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 if test "$ac_cv_type_void_p" = yes; then
14322 # The cast to unsigned long works around a bug in the HP C Compiler
14323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14325 # This bug is HP SR number 8606223364.
14326 if test "$cross_compiling" = yes; then
14327 # Depending upon the size, compute the lo and hi bounds.
14328 cat >conftest.
$ac_ext <<_ACEOF
14329 #line $LINENO "configure"
14332 cat confdefs.h
>>conftest.
$ac_ext
14333 cat >>conftest.
$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 $ac_includes_default
14339 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14346 rm -f conftest.
$ac_objext
14347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14348 (eval $ac_compile) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } &&
14352 { ac_try
='test -s conftest.$ac_objext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14360 cat >conftest.
$ac_ext <<_ACEOF
14361 #line $LINENO "configure"
14364 cat confdefs.h
>>conftest.
$ac_ext
14365 cat >>conftest.
$ac_ext <<_ACEOF
14366 /* end confdefs.h. */
14367 $ac_includes_default
14371 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14378 rm -f conftest.
$ac_objext
14379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14380 (eval $ac_compile) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } &&
14384 { ac_try
='test -s conftest.$ac_objext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_hi
=$ac_mid; break
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.
$ac_ext >&5
14395 ac_lo
=`expr $ac_mid + 1`
14396 if test $ac_lo -le $ac_mid; then
14400 ac_mid
=`expr 2 '*' $ac_mid + 1`
14402 rm -f conftest.
$ac_objext conftest.
$ac_ext
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.
$ac_ext >&5
14408 cat >conftest.
$ac_ext <<_ACEOF
14409 #line $LINENO "configure"
14412 cat confdefs.h
>>conftest.
$ac_ext
14413 cat >>conftest.
$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14419 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14426 rm -f conftest.
$ac_objext
14427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14428 (eval $ac_compile) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14440 cat >conftest.
$ac_ext <<_ACEOF
14441 #line $LINENO "configure"
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14447 $ac_includes_default
14451 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14458 rm -f conftest.
$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try
='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_lo
=$ac_mid; break
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14475 ac_hi
=`expr '(' $ac_mid ')' - 1`
14476 if test $ac_mid -le $ac_hi; then
14480 ac_mid
=`expr 2 '*' $ac_mid`
14482 rm -f conftest.
$ac_objext conftest.
$ac_ext
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.
$ac_ext >&5
14490 rm -f conftest.
$ac_objext conftest.
$ac_ext
14492 rm -f conftest.
$ac_objext conftest.
$ac_ext
14493 # Binary search between lo and hi bounds.
14494 while test "x$ac_lo" != "x$ac_hi"; do
14495 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14496 cat >conftest.
$ac_ext <<_ACEOF
14497 #line $LINENO "configure"
14500 cat confdefs.h
>>conftest.
$ac_ext
14501 cat >>conftest.
$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14507 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14514 rm -f conftest.
$ac_objext
14515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14516 (eval $ac_compile) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } &&
14520 { ac_try
='test -s conftest.$ac_objext'
14521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14522 (eval $ac_try) 2>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); }; }; then
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.
$ac_ext >&5
14531 ac_lo
=`expr '(' $ac_mid ')' + 1`
14533 rm -f conftest.
$ac_objext conftest.
$ac_ext
14536 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14537 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14538 See \`config.log' for more details." >&5
14539 echo "$as_me: error: cannot compute sizeof (void *), 77
14540 See \`config.log' for more details." >&2;}
14541 { (exit 1); exit 1; }; } ;;
14544 if test "$cross_compiling" = yes; then
14545 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot run test program while cross compiling
14548 See \`config.log' for more details." >&2;}
14549 { (exit 1); exit 1; }; }
14551 cat >conftest.
$ac_ext <<_ACEOF
14552 #line $LINENO "configure"
14555 cat confdefs.h
>>conftest.
$ac_ext
14556 cat >>conftest.
$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14558 $ac_includes_default
14559 long longval () { return (long) (sizeof (void *)); }
14560 unsigned long ulongval () { return (long) (sizeof (void *)); }
14562 #include <stdlib.h>
14567 FILE *f = fopen ("conftest.val", "w");
14570 if (((long) (sizeof (void *))) < 0)
14572 long i = longval ();
14573 if (i != ((long) (sizeof (void *))))
14575 fprintf (f, "%ld\n", i);
14579 unsigned long i = ulongval ();
14580 if (i != ((long) (sizeof (void *))))
14582 fprintf (f, "%lu\n", i);
14584 exit (ferror (f) || fclose (f) != 0);
14590 rm -f conftest
$ac_exeext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14592 (eval $ac_link) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_cv_sizeof_void_p
=`cat conftest.val`
14603 echo "$as_me: program exited with status $ac_status" >&5
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.
$ac_ext >&5
14607 ( exit $ac_status )
14608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14609 See \`config.log' for more details." >&5
14610 echo "$as_me: error: cannot compute sizeof (void *), 77
14611 See \`config.log' for more details." >&2;}
14612 { (exit 1); exit 1; }; }
14614 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14619 ac_cv_sizeof_void_p
=0
14622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14623 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14624 cat >>confdefs.h
<<_ACEOF
14625 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14629 echo "$as_me:$LINENO: checking for int" >&5
14630 echo $ECHO_N "checking for int... $ECHO_C" >&6
14631 if test "${ac_cv_type_int+set}" = set; then
14632 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 cat >conftest.
$ac_ext <<_ACEOF
14635 #line $LINENO "configure"
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14653 rm -f conftest.
$ac_objext
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655 (eval $ac_compile) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try
='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.
$ac_ext >&5
14672 rm -f conftest.
$ac_objext conftest.
$ac_ext
14674 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14675 echo "${ECHO_T}$ac_cv_type_int" >&6
14677 echo "$as_me:$LINENO: checking size of int" >&5
14678 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14679 if test "${ac_cv_sizeof_int+set}" = set; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14682 if test "$ac_cv_type_int" = yes; then
14683 # The cast to unsigned long works around a bug in the HP C Compiler
14684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14686 # This bug is HP SR number 8606223364.
14687 if test "$cross_compiling" = yes; then
14688 # Depending upon the size, compute the lo and hi bounds.
14689 cat >conftest.
$ac_ext <<_ACEOF
14690 #line $LINENO "configure"
14693 cat confdefs.h
>>conftest.
$ac_ext
14694 cat >>conftest.
$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 $ac_includes_default
14700 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14707 rm -f conftest.
$ac_objext
14708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14709 (eval $ac_compile) 2>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } &&
14713 { ac_try
='test -s conftest.$ac_objext'
14714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 (eval $ac_try) 2>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; }; then
14721 cat >conftest.
$ac_ext <<_ACEOF
14722 #line $LINENO "configure"
14725 cat confdefs.h
>>conftest.
$ac_ext
14726 cat >>conftest.
$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728 $ac_includes_default
14732 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14739 rm -f conftest.
$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try
='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_hi
=$ac_mid; break
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.
$ac_ext >&5
14756 ac_lo
=`expr $ac_mid + 1`
14757 if test $ac_lo -le $ac_mid; then
14761 ac_mid
=`expr 2 '*' $ac_mid + 1`
14763 rm -f conftest.
$ac_objext conftest.
$ac_ext
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.
$ac_ext >&5
14769 cat >conftest.
$ac_ext <<_ACEOF
14770 #line $LINENO "configure"
14773 cat confdefs.h
>>conftest.
$ac_ext
14774 cat >>conftest.
$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 $ac_includes_default
14780 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14787 rm -f conftest.
$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try
='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14801 cat >conftest.
$ac_ext <<_ACEOF
14802 #line $LINENO "configure"
14805 cat confdefs.h
>>conftest.
$ac_ext
14806 cat >>conftest.
$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14812 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14819 rm -f conftest.
$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try
='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_lo
=$ac_mid; break
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_hi
=`expr '(' $ac_mid ')' - 1`
14837 if test $ac_mid -le $ac_hi; then
14841 ac_mid
=`expr 2 '*' $ac_mid`
14843 rm -f conftest.
$ac_objext conftest.
$ac_ext
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.
$ac_ext >&5
14851 rm -f conftest.
$ac_objext conftest.
$ac_ext
14853 rm -f conftest.
$ac_objext conftest.
$ac_ext
14854 # Binary search between lo and hi bounds.
14855 while test "x$ac_lo" != "x$ac_hi"; do
14856 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14857 cat >conftest.
$ac_ext <<_ACEOF
14858 #line $LINENO "configure"
14861 cat confdefs.h
>>conftest.
$ac_ext
14862 cat >>conftest.
$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14868 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14875 rm -f conftest.
$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try
='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.
$ac_ext >&5
14892 ac_lo
=`expr '(' $ac_mid ')' + 1`
14894 rm -f conftest.
$ac_objext conftest.
$ac_ext
14897 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14898 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14899 See \`config.log' for more details." >&5
14900 echo "$as_me: error: cannot compute sizeof (int), 77
14901 See \`config.log' for more details." >&2;}
14902 { (exit 1); exit 1; }; } ;;
14905 if test "$cross_compiling" = yes; then
14906 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14907 See \`config.log' for more details." >&5
14908 echo "$as_me: error: cannot run test program while cross compiling
14909 See \`config.log' for more details." >&2;}
14910 { (exit 1); exit 1; }; }
14912 cat >conftest.
$ac_ext <<_ACEOF
14913 #line $LINENO "configure"
14916 cat confdefs.h
>>conftest.
$ac_ext
14917 cat >>conftest.
$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 $ac_includes_default
14920 long longval () { return (long) (sizeof (int)); }
14921 unsigned long ulongval () { return (long) (sizeof (int)); }
14923 #include <stdlib.h>
14928 FILE *f = fopen ("conftest.val", "w");
14931 if (((long) (sizeof (int))) < 0)
14933 long i = longval ();
14934 if (i != ((long) (sizeof (int))))
14936 fprintf (f, "%ld\n", i);
14940 unsigned long i = ulongval ();
14941 if (i != ((long) (sizeof (int))))
14943 fprintf (f, "%lu\n", i);
14945 exit (ferror (f) || fclose (f) != 0);
14951 rm -f conftest
$ac_exeext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14953 (eval $ac_link) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 ac_cv_sizeof_int
=`cat conftest.val`
14964 echo "$as_me: program exited with status $ac_status" >&5
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.
$ac_ext >&5
14968 ( exit $ac_status )
14969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14970 See \`config.log' for more details." >&5
14971 echo "$as_me: error: cannot compute sizeof (int), 77
14972 See \`config.log' for more details." >&2;}
14973 { (exit 1); exit 1; }; }
14975 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14983 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14984 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14985 cat >>confdefs.h
<<_ACEOF
14986 #define SIZEOF_INT $ac_cv_sizeof_int
14990 echo "$as_me:$LINENO: checking for long" >&5
14991 echo $ECHO_N "checking for long... $ECHO_C" >&6
14992 if test "${ac_cv_type_long+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 cat >conftest.
$ac_ext <<_ACEOF
14996 #line $LINENO "configure"
14999 cat confdefs.h
>>conftest.
$ac_ext
15000 cat >>conftest.
$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 $ac_includes_default
15014 rm -f conftest.
$ac_objext
15015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15016 (eval $ac_compile) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try
='test -s conftest.$ac_objext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 ac_cv_type_long
=yes
15028 echo "$as_me: failed program was:" >&5
15029 sed 's/^/| /' conftest.
$ac_ext >&5
15033 rm -f conftest.
$ac_objext conftest.
$ac_ext
15035 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15036 echo "${ECHO_T}$ac_cv_type_long" >&6
15038 echo "$as_me:$LINENO: checking size of long" >&5
15039 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15040 if test "${ac_cv_sizeof_long+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 if test "$ac_cv_type_long" = yes; then
15044 # The cast to unsigned long works around a bug in the HP C Compiler
15045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15047 # This bug is HP SR number 8606223364.
15048 if test "$cross_compiling" = yes; then
15049 # Depending upon the size, compute the lo and hi bounds.
15050 cat >conftest.
$ac_ext <<_ACEOF
15051 #line $LINENO "configure"
15054 cat confdefs.h
>>conftest.
$ac_ext
15055 cat >>conftest.
$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15057 $ac_includes_default
15061 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15068 rm -f conftest.
$ac_objext
15069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15070 (eval $ac_compile) 2>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); } &&
15074 { ac_try
='test -s conftest.$ac_objext'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15082 cat >conftest.
$ac_ext <<_ACEOF
15083 #line $LINENO "configure"
15086 cat confdefs.h
>>conftest.
$ac_ext
15087 cat >>conftest.
$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 $ac_includes_default
15093 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15100 rm -f conftest.
$ac_objext
15101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15102 (eval $ac_compile) 2>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try
='test -s conftest.$ac_objext'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_hi
=$ac_mid; break
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.
$ac_ext >&5
15117 ac_lo
=`expr $ac_mid + 1`
15118 if test $ac_lo -le $ac_mid; then
15122 ac_mid
=`expr 2 '*' $ac_mid + 1`
15124 rm -f conftest.
$ac_objext conftest.
$ac_ext
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.
$ac_ext >&5
15130 cat >conftest.
$ac_ext <<_ACEOF
15131 #line $LINENO "configure"
15134 cat confdefs.h
>>conftest.
$ac_ext
15135 cat >>conftest.
$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137 $ac_includes_default
15141 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15148 rm -f conftest.
$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } &&
15154 { ac_try
='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15162 cat >conftest.
$ac_ext <<_ACEOF
15163 #line $LINENO "configure"
15166 cat confdefs.h
>>conftest.
$ac_ext
15167 cat >>conftest.
$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15173 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15180 rm -f conftest.
$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } &&
15186 { ac_try
='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_lo
=$ac_mid; break
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.
$ac_ext >&5
15197 ac_hi
=`expr '(' $ac_mid ')' - 1`
15198 if test $ac_mid -le $ac_hi; then
15202 ac_mid
=`expr 2 '*' $ac_mid`
15204 rm -f conftest.
$ac_objext conftest.
$ac_ext
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15212 rm -f conftest.
$ac_objext conftest.
$ac_ext
15214 rm -f conftest.
$ac_objext conftest.
$ac_ext
15215 # Binary search between lo and hi bounds.
15216 while test "x$ac_lo" != "x$ac_hi"; do
15217 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15218 cat >conftest.
$ac_ext <<_ACEOF
15219 #line $LINENO "configure"
15222 cat confdefs.h
>>conftest.
$ac_ext
15223 cat >>conftest.
$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15229 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15236 rm -f conftest.
$ac_objext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15238 (eval $ac_compile) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try
='test -s conftest.$ac_objext'
15243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15244 (eval $ac_try) 2>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); }; }; then
15250 echo "$as_me: failed program was:" >&5
15251 sed 's/^/| /' conftest.
$ac_ext >&5
15253 ac_lo
=`expr '(' $ac_mid ')' + 1`
15255 rm -f conftest.
$ac_objext conftest.
$ac_ext
15258 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15259 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15260 See \`config.log' for more details." >&5
15261 echo "$as_me: error: cannot compute sizeof (long), 77
15262 See \`config.log' for more details." >&2;}
15263 { (exit 1); exit 1; }; } ;;
15266 if test "$cross_compiling" = yes; then
15267 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15268 See \`config.log' for more details." >&5
15269 echo "$as_me: error: cannot run test program while cross compiling
15270 See \`config.log' for more details." >&2;}
15271 { (exit 1); exit 1; }; }
15273 cat >conftest.
$ac_ext <<_ACEOF
15274 #line $LINENO "configure"
15277 cat confdefs.h
>>conftest.
$ac_ext
15278 cat >>conftest.
$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15280 $ac_includes_default
15281 long longval () { return (long) (sizeof (long)); }
15282 unsigned long ulongval () { return (long) (sizeof (long)); }
15284 #include <stdlib.h>
15289 FILE *f = fopen ("conftest.val", "w");
15292 if (((long) (sizeof (long))) < 0)
15294 long i = longval ();
15295 if (i != ((long) (sizeof (long))))
15297 fprintf (f, "%ld\n", i);
15301 unsigned long i = ulongval ();
15302 if (i != ((long) (sizeof (long))))
15304 fprintf (f, "%lu\n", i);
15306 exit (ferror (f) || fclose (f) != 0);
15312 rm -f conftest
$ac_exeext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15314 (eval $ac_link) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_sizeof_long
=`cat conftest.val`
15325 echo "$as_me: program exited with status $ac_status" >&5
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 ( exit $ac_status )
15330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15331 See \`config.log' for more details." >&5
15332 echo "$as_me: error: cannot compute sizeof (long), 77
15333 See \`config.log' for more details." >&2;}
15334 { (exit 1); exit 1; }; }
15336 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15341 ac_cv_sizeof_long
=0
15344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15345 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15346 cat >>confdefs.h
<<_ACEOF
15347 #define SIZEOF_LONG $ac_cv_sizeof_long
15354 echo "$as_me:$LINENO: checking for long long" >&5
15355 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15356 if test "${ac_cv_type_long_long+set}" = set; then
15357 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 cat >conftest.
$ac_ext <<_ACEOF
15360 #line $LINENO "configure"
15363 cat confdefs.h
>>conftest.
$ac_ext
15364 cat >>conftest.
$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 $ac_includes_default
15370 if ((long long *) 0)
15372 if (sizeof (long long))
15378 rm -f conftest.
$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try
='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_type_long_long
=yes
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.
$ac_ext >&5
15395 ac_cv_type_long_long
=no
15397 rm -f conftest.
$ac_objext conftest.
$ac_ext
15399 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15400 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15402 echo "$as_me:$LINENO: checking size of long long" >&5
15403 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15404 if test "${ac_cv_sizeof_long_long+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 if test "$ac_cv_type_long_long" = yes; then
15408 # The cast to unsigned long works around a bug in the HP C Compiler
15409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15411 # This bug is HP SR number 8606223364.
15412 if test "$cross_compiling" = yes; then
15413 # Depending upon the size, compute the lo and hi bounds.
15414 cat >conftest.
$ac_ext <<_ACEOF
15415 #line $LINENO "configure"
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15421 $ac_includes_default
15425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15432 rm -f conftest.
$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try
='test -s conftest.$ac_objext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15446 cat >conftest.
$ac_ext <<_ACEOF
15447 #line $LINENO "configure"
15450 cat confdefs.h
>>conftest.
$ac_ext
15451 cat >>conftest.
$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 $ac_includes_default
15457 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15464 rm -f conftest.
$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try
='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_hi
=$ac_mid; break
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15481 ac_lo
=`expr $ac_mid + 1`
15482 if test $ac_lo -le $ac_mid; then
15486 ac_mid
=`expr 2 '*' $ac_mid + 1`
15488 rm -f conftest.
$ac_objext conftest.
$ac_ext
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.
$ac_ext >&5
15494 cat >conftest.
$ac_ext <<_ACEOF
15495 #line $LINENO "configure"
15498 cat confdefs.h
>>conftest.
$ac_ext
15499 cat >>conftest.
$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501 $ac_includes_default
15505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15512 rm -f conftest.
$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try
='test -s conftest.$ac_objext'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15526 cat >conftest.
$ac_ext <<_ACEOF
15527 #line $LINENO "configure"
15530 cat confdefs.h
>>conftest.
$ac_ext
15531 cat >>conftest.
$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 $ac_includes_default
15537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15544 rm -f conftest.
$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try
='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_lo
=$ac_mid; break
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15561 ac_hi
=`expr '(' $ac_mid ')' - 1`
15562 if test $ac_mid -le $ac_hi; then
15566 ac_mid
=`expr 2 '*' $ac_mid`
15568 rm -f conftest.
$ac_objext conftest.
$ac_ext
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.
$ac_ext >&5
15576 rm -f conftest.
$ac_objext conftest.
$ac_ext
15578 rm -f conftest.
$ac_objext conftest.
$ac_ext
15579 # Binary search between lo and hi bounds.
15580 while test "x$ac_lo" != "x$ac_hi"; do
15581 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15582 cat >conftest.
$ac_ext <<_ACEOF
15583 #line $LINENO "configure"
15586 cat confdefs.h
>>conftest.
$ac_ext
15587 cat >>conftest.
$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15589 $ac_includes_default
15593 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15600 rm -f conftest.
$ac_objext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15602 (eval $ac_compile) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try
='test -s conftest.$ac_objext'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; }; then
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.
$ac_ext >&5
15617 ac_lo
=`expr '(' $ac_mid ')' + 1`
15619 rm -f conftest.
$ac_objext conftest.
$ac_ext
15622 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15623 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15624 See \`config.log' for more details." >&5
15625 echo "$as_me: error: cannot compute sizeof (long long), 77
15626 See \`config.log' for more details." >&2;}
15627 { (exit 1); exit 1; }; } ;;
15630 if test "$cross_compiling" = yes; then
15631 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15632 See \`config.log' for more details." >&5
15633 echo "$as_me: error: cannot run test program while cross compiling
15634 See \`config.log' for more details." >&2;}
15635 { (exit 1); exit 1; }; }
15637 cat >conftest.
$ac_ext <<_ACEOF
15638 #line $LINENO "configure"
15641 cat confdefs.h
>>conftest.
$ac_ext
15642 cat >>conftest.
$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 $ac_includes_default
15645 long longval () { return (long) (sizeof (long long)); }
15646 unsigned long ulongval () { return (long) (sizeof (long long)); }
15648 #include <stdlib.h>
15653 FILE *f = fopen ("conftest.val", "w");
15656 if (((long) (sizeof (long long))) < 0)
15658 long i = longval ();
15659 if (i != ((long) (sizeof (long long))))
15661 fprintf (f, "%ld\n", i);
15665 unsigned long i = ulongval ();
15666 if (i != ((long) (sizeof (long long))))
15668 fprintf (f, "%lu\n", i);
15670 exit (ferror (f) || fclose (f) != 0);
15676 rm -f conftest
$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; }; then
15687 ac_cv_sizeof_long_long
=`cat conftest.val`
15689 echo "$as_me: program exited with status $ac_status" >&5
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.
$ac_ext >&5
15693 ( exit $ac_status )
15694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15695 See \`config.log' for more details." >&5
15696 echo "$as_me: error: cannot compute sizeof (long long), 77
15697 See \`config.log' for more details." >&2;}
15698 { (exit 1); exit 1; }; }
15700 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15705 ac_cv_sizeof_long_long
=0
15708 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15709 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15710 cat >>confdefs.h
<<_ACEOF
15711 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15717 echo "$as_me:$LINENO: checking for long long" >&5
15718 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15719 if test "${ac_cv_type_long_long+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 cat >conftest.
$ac_ext <<_ACEOF
15723 #line $LINENO "configure"
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 $ac_includes_default
15733 if ((long long *) 0)
15735 if (sizeof (long long))
15741 rm -f conftest.
$ac_objext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15743 (eval $ac_compile) 2>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); } &&
15747 { ac_try
='test -s conftest.$ac_objext'
15748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15749 (eval $ac_try) 2>&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); }; }; then
15753 ac_cv_type_long_long
=yes
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.
$ac_ext >&5
15758 ac_cv_type_long_long
=no
15760 rm -f conftest.
$ac_objext conftest.
$ac_ext
15762 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15763 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15765 echo "$as_me:$LINENO: checking size of long long" >&5
15766 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15767 if test "${ac_cv_sizeof_long_long+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 if test "$ac_cv_type_long_long" = yes; then
15771 # The cast to unsigned long works around a bug in the HP C Compiler
15772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15774 # This bug is HP SR number 8606223364.
15775 if test "$cross_compiling" = yes; then
15776 # Depending upon the size, compute the lo and hi bounds.
15777 cat >conftest.
$ac_ext <<_ACEOF
15778 #line $LINENO "configure"
15781 cat confdefs.h
>>conftest.
$ac_ext
15782 cat >>conftest.
$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15784 $ac_includes_default
15788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15795 rm -f conftest.
$ac_objext
15796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15797 (eval $ac_compile) 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } &&
15801 { ac_try
='test -s conftest.$ac_objext'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; }; then
15809 cat >conftest.
$ac_ext <<_ACEOF
15810 #line $LINENO "configure"
15813 cat confdefs.h
>>conftest.
$ac_ext
15814 cat >>conftest.
$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15820 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15827 rm -f conftest.
$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try
='test -s conftest.$ac_objext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 ac_hi
=$ac_mid; break
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.
$ac_ext >&5
15844 ac_lo
=`expr $ac_mid + 1`
15845 if test $ac_lo -le $ac_mid; then
15849 ac_mid
=`expr 2 '*' $ac_mid + 1`
15851 rm -f conftest.
$ac_objext conftest.
$ac_ext
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.
$ac_ext >&5
15857 cat >conftest.
$ac_ext <<_ACEOF
15858 #line $LINENO "configure"
15861 cat confdefs.h
>>conftest.
$ac_ext
15862 cat >>conftest.
$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 $ac_includes_default
15868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15875 rm -f conftest.
$ac_objext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15889 cat >conftest.
$ac_ext <<_ACEOF
15890 #line $LINENO "configure"
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15907 rm -f conftest.
$ac_objext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15909 (eval $ac_compile) 2>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try
='test -s conftest.$ac_objext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_lo
=$ac_mid; break
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.
$ac_ext >&5
15924 ac_hi
=`expr '(' $ac_mid ')' - 1`
15925 if test $ac_mid -le $ac_hi; then
15929 ac_mid
=`expr 2 '*' $ac_mid`
15931 rm -f conftest.
$ac_objext conftest.
$ac_ext
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.
$ac_ext >&5
15939 rm -f conftest.
$ac_objext conftest.
$ac_ext
15941 rm -f conftest.
$ac_objext conftest.
$ac_ext
15942 # Binary search between lo and hi bounds.
15943 while test "x$ac_lo" != "x$ac_hi"; do
15944 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15945 cat >conftest.
$ac_ext <<_ACEOF
15946 #line $LINENO "configure"
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15956 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15963 rm -f conftest.
$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } &&
15969 { ac_try
='test -s conftest.$ac_objext'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; }; then
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.
$ac_ext >&5
15980 ac_lo
=`expr '(' $ac_mid ')' + 1`
15982 rm -f conftest.
$ac_objext conftest.
$ac_ext
15985 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15986 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15987 See \`config.log' for more details." >&5
15988 echo "$as_me: error: cannot compute sizeof (long long), 77
15989 See \`config.log' for more details." >&2;}
15990 { (exit 1); exit 1; }; } ;;
15993 if test "$cross_compiling" = yes; then
15994 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15995 See \`config.log' for more details." >&5
15996 echo "$as_me: error: cannot run test program while cross compiling
15997 See \`config.log' for more details." >&2;}
15998 { (exit 1); exit 1; }; }
16000 cat >conftest.
$ac_ext <<_ACEOF
16001 #line $LINENO "configure"
16004 cat confdefs.h
>>conftest.
$ac_ext
16005 cat >>conftest.
$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 $ac_includes_default
16008 long longval () { return (long) (sizeof (long long)); }
16009 unsigned long ulongval () { return (long) (sizeof (long long)); }
16011 #include <stdlib.h>
16016 FILE *f = fopen ("conftest.val", "w");
16019 if (((long) (sizeof (long long))) < 0)
16021 long i = longval ();
16022 if (i != ((long) (sizeof (long long))))
16024 fprintf (f, "%ld\n", i);
16028 unsigned long i = ulongval ();
16029 if (i != ((long) (sizeof (long long))))
16031 fprintf (f, "%lu\n", i);
16033 exit (ferror (f) || fclose (f) != 0);
16039 rm -f conftest
$ac_exeext
16040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16041 (eval $ac_link) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_cv_sizeof_long_long
=`cat conftest.val`
16052 echo "$as_me: program exited with status $ac_status" >&5
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.
$ac_ext >&5
16056 ( exit $ac_status )
16057 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16058 See \`config.log' for more details." >&5
16059 echo "$as_me: error: cannot compute sizeof (long long), 77
16060 See \`config.log' for more details." >&2;}
16061 { (exit 1); exit 1; }; }
16063 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16068 ac_cv_sizeof_long_long
=0
16071 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16072 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16073 cat >>confdefs.h
<<_ACEOF
16074 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16078 if test "$ac_cv_sizeof_long_long" != "0"; then
16079 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16083 echo "$as_me:$LINENO: checking for long long" >&5
16084 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16085 if test "${ac_cv_type_long_long+set}" = set; then
16086 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 cat >conftest.
$ac_ext <<_ACEOF
16089 #line $LINENO "configure"
16092 cat confdefs.h
>>conftest.
$ac_ext
16093 cat >>conftest.
$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 $ac_includes_default
16099 if ((long long *) 0)
16101 if (sizeof (long long))
16107 rm -f conftest.
$ac_objext
16108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16109 (eval $ac_compile) 2>&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try
='test -s conftest.$ac_objext'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; }; then
16119 ac_cv_type_long_long
=yes
16121 echo "$as_me: failed program was:" >&5
16122 sed 's/^/| /' conftest.
$ac_ext >&5
16124 ac_cv_type_long_long
=no
16126 rm -f conftest.
$ac_objext conftest.
$ac_ext
16128 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16129 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16131 echo "$as_me:$LINENO: checking size of long long" >&5
16132 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16133 if test "${ac_cv_sizeof_long_long+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16136 if test "$ac_cv_type_long_long" = yes; then
16137 # The cast to unsigned long works around a bug in the HP C Compiler
16138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16140 # This bug is HP SR number 8606223364.
16141 if test "$cross_compiling" = yes; then
16142 # Depending upon the size, compute the lo and hi bounds.
16143 cat >conftest.
$ac_ext <<_ACEOF
16144 #line $LINENO "configure"
16147 cat confdefs.h
>>conftest.
$ac_ext
16148 cat >>conftest.
$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16150 $ac_includes_default
16154 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16161 rm -f conftest.
$ac_objext
16162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16163 (eval $ac_compile) 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try
='test -s conftest.$ac_objext'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; }; then
16175 cat >conftest.
$ac_ext <<_ACEOF
16176 #line $LINENO "configure"
16179 cat confdefs.h
>>conftest.
$ac_ext
16180 cat >>conftest.
$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 $ac_includes_default
16186 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16193 rm -f conftest.
$ac_objext
16194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16195 (eval $ac_compile) 2>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try
='test -s conftest.$ac_objext'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; }; then
16205 ac_hi
=$ac_mid; break
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.
$ac_ext >&5
16210 ac_lo
=`expr $ac_mid + 1`
16211 if test $ac_lo -le $ac_mid; then
16215 ac_mid
=`expr 2 '*' $ac_mid + 1`
16217 rm -f conftest.
$ac_objext conftest.
$ac_ext
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.
$ac_ext >&5
16223 cat >conftest.
$ac_ext <<_ACEOF
16224 #line $LINENO "configure"
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16241 rm -f conftest.
$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try
='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16255 cat >conftest.
$ac_ext <<_ACEOF
16256 #line $LINENO "configure"
16259 cat confdefs.h
>>conftest.
$ac_ext
16260 cat >>conftest.
$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16266 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16273 rm -f conftest.
$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } &&
16279 { ac_try
='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_lo
=$ac_mid; break
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 ac_hi
=`expr '(' $ac_mid ')' - 1`
16291 if test $ac_mid -le $ac_hi; then
16295 ac_mid
=`expr 2 '*' $ac_mid`
16297 rm -f conftest.
$ac_objext conftest.
$ac_ext
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.
$ac_ext >&5
16305 rm -f conftest.
$ac_objext conftest.
$ac_ext
16307 rm -f conftest.
$ac_objext conftest.
$ac_ext
16308 # Binary search between lo and hi bounds.
16309 while test "x$ac_lo" != "x$ac_hi"; do
16310 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16311 cat >conftest.
$ac_ext <<_ACEOF
16312 #line $LINENO "configure"
16315 cat confdefs.h
>>conftest.
$ac_ext
16316 cat >>conftest.
$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16318 $ac_includes_default
16322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16329 rm -f conftest.
$ac_objext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331 (eval $ac_compile) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } &&
16335 { ac_try
='test -s conftest.$ac_objext'
16336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337 (eval $ac_try) 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }; }; then
16343 echo "$as_me: failed program was:" >&5
16344 sed 's/^/| /' conftest.
$ac_ext >&5
16346 ac_lo
=`expr '(' $ac_mid ')' + 1`
16348 rm -f conftest.
$ac_objext conftest.
$ac_ext
16351 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16352 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16353 See \`config.log' for more details." >&5
16354 echo "$as_me: error: cannot compute sizeof (long long), 77
16355 See \`config.log' for more details." >&2;}
16356 { (exit 1); exit 1; }; } ;;
16359 if test "$cross_compiling" = yes; then
16360 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16361 See \`config.log' for more details." >&5
16362 echo "$as_me: error: cannot run test program while cross compiling
16363 See \`config.log' for more details." >&2;}
16364 { (exit 1); exit 1; }; }
16366 cat >conftest.
$ac_ext <<_ACEOF
16367 #line $LINENO "configure"
16370 cat confdefs.h
>>conftest.
$ac_ext
16371 cat >>conftest.
$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16373 $ac_includes_default
16374 long longval () { return (long) (sizeof (long long)); }
16375 unsigned long ulongval () { return (long) (sizeof (long long)); }
16377 #include <stdlib.h>
16382 FILE *f = fopen ("conftest.val", "w");
16385 if (((long) (sizeof (long long))) < 0)
16387 long i = longval ();
16388 if (i != ((long) (sizeof (long long))))
16390 fprintf (f, "%ld\n", i);
16394 unsigned long i = ulongval ();
16395 if (i != ((long) (sizeof (long long))))
16397 fprintf (f, "%lu\n", i);
16399 exit (ferror (f) || fclose (f) != 0);
16405 rm -f conftest
$ac_exeext
16406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16407 (eval $ac_link) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16416 ac_cv_sizeof_long_long
=`cat conftest.val`
16418 echo "$as_me: program exited with status $ac_status" >&5
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.
$ac_ext >&5
16422 ( exit $ac_status )
16423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16424 See \`config.log' for more details." >&5
16425 echo "$as_me: error: cannot compute sizeof (long long), 77
16426 See \`config.log' for more details." >&2;}
16427 { (exit 1); exit 1; }; }
16429 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16434 ac_cv_sizeof_long_long
=0
16437 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16438 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16439 cat >>confdefs.h
<<_ACEOF
16440 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16446 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16447 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16448 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 if test "$cross_compiling" = yes; then
16456 wx_cv_sizeof_wchar_t
=0
16459 wx_cv_sizeof_wchar_t
=4
16465 cat >conftest.
$ac_ext <<_ACEOF
16466 #line $LINENO "configure"
16469 cat confdefs.h
>>conftest.
$ac_ext
16470 cat >>conftest.
$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16473 /* DJGPP only has fake wchar_t: */
16475 # error "fake wchar_t"
16477 #ifdef HAVE_WCHAR_H
16479 # include <stddef.h>
16481 # include <wchar.h>
16483 #ifdef HAVE_STDLIB_H
16484 # include <stdlib.h>
16489 FILE *f=fopen("conftestval", "w");
16491 fprintf(f, "%i", sizeof(wchar_t));
16496 rm -f conftest
$ac_exeext
16497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16498 (eval $ac_link) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 wx_cv_sizeof_wchar_t
=`cat conftestval`
16509 echo "$as_me: program exited with status $ac_status" >&5
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.
$ac_ext >&5
16513 ( exit $ac_status )
16514 wx_cv_sizeof_wchar_t
=0
16516 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16520 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16521 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16523 cat >>confdefs.h
<<_ACEOF
16524 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16528 # Check whether --enable-largefile or --disable-largefile was given.
16529 if test "${enable_largefile+set}" = set; then
16530 enableval
="$enable_largefile"
16533 if test "$enable_largefile" != no
; then
16536 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16537 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16538 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16542 cat >conftest.
$ac_ext <<_ACEOF
16543 #line $LINENO "configure"
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 #define _FILE_OFFSET_BITS 64
16550 #include <sys/types.h>
16555 unsigned int field: sizeof(off_t) == 8;
16562 rm -f conftest.
$ac_objext
16563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16564 (eval $ac_compile) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try
='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_cv_sys_file_offset_bits
=64
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_cv_sys_file_offset_bits
=no
16581 rm -f conftest.
$ac_objext conftest.
$ac_ext
16585 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16586 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16588 if test "$ac_cv_sys_file_offset_bits" != no
; then
16590 cat >>confdefs.h
<<_ACEOF
16591 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16596 if test "x$wx_largefile" != "xyes"; then
16598 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16599 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16600 if test "${ac_cv_sys_large_files+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 cat >conftest.
$ac_ext <<_ACEOF
16605 #line $LINENO "configure"
16608 cat confdefs.h
>>conftest.
$ac_ext
16609 cat >>conftest.
$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 #define _LARGE_FILES 1
16612 #include <sys/types.h>
16617 unsigned int field: sizeof(off_t) == 8;
16624 rm -f conftest.
$ac_objext
16625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16626 (eval $ac_compile) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); } &&
16630 { ac_try
='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_sys_large_files
=1
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 ac_cv_sys_large_files
=no
16643 rm -f conftest.
$ac_objext conftest.
$ac_ext
16647 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16648 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16650 if test "$ac_cv_sys_large_files" != no
; then
16652 cat >>confdefs.h
<<_ACEOF
16653 #define _LARGE_FILES $ac_cv_sys_large_files
16660 echo "$as_me:$LINENO: checking if large file support is available" >&5
16661 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16662 if test "x$wx_largefile" = "xyes"; then
16663 cat >>confdefs.h
<<\_ACEOF
16664 #define HAVE_LARGEFILE_SUPPORT 1
16668 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16669 echo "${ECHO_T}$wx_largefile" >&6
16673 if test "x$wx_largefile" = "xyes"; then
16674 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16675 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16677 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16679 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16682 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16683 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16684 if test "${ac_cv_c_bigendian+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 ac_cv_c_bigendian
=unknown
16688 # See if sys/param.h defines the BYTE_ORDER macro.
16689 cat >conftest.
$ac_ext <<_ACEOF
16690 #line $LINENO "configure"
16693 cat confdefs.h
>>conftest.
$ac_ext
16694 cat >>conftest.
$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <sys/types.h>
16697 #include <sys/param.h>
16702 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16703 bogus endian macros
16709 rm -f conftest.
$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } &&
16715 { ac_try
='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 # It does; now see whether it defined to BIG_ENDIAN or not.
16722 cat >conftest.
$ac_ext <<_ACEOF
16723 #line $LINENO "configure"
16726 cat confdefs.h
>>conftest.
$ac_ext
16727 cat >>conftest.
$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 #include <sys/types.h>
16730 #include <sys/param.h>
16735 #if BYTE_ORDER != BIG_ENDIAN
16742 rm -f conftest.
$ac_objext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16744 (eval $ac_compile) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try
='test -s conftest.$ac_objext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_c_bigendian
=yes
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.
$ac_ext >&5
16759 ac_cv_c_bigendian
=no
16761 rm -f conftest.
$ac_objext conftest.
$ac_ext
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.
$ac_ext >&5
16767 rm -f conftest.
$ac_objext conftest.
$ac_ext
16768 if test $ac_cv_c_bigendian = unknown
; then
16769 if test "$cross_compiling" = yes; then
16770 ac_cv_c_bigendian
=unknown
16772 cat >conftest.
$ac_ext <<_ACEOF
16773 #line $LINENO "configure"
16776 cat confdefs.h
>>conftest.
$ac_ext
16777 cat >>conftest.
$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16780 /* Are we little or big endian? From Harbison&Steele. */
16784 char c[sizeof (long)];
16787 exit (u.c[sizeof (long) - 1] == 1);
16790 rm -f conftest
$ac_exeext
16791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16792 (eval $ac_link) 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 ac_cv_c_bigendian
=no
16803 echo "$as_me: program exited with status $ac_status" >&5
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.
$ac_ext >&5
16807 ( exit $ac_status )
16808 ac_cv_c_bigendian
=yes
16810 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16814 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16815 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16816 if test $ac_cv_c_bigendian = unknown
; then
16817 { 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
16818 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;}
16820 if test $ac_cv_c_bigendian = yes; then
16821 cat >>confdefs.h
<<\_ACEOF
16822 #define WORDS_BIGENDIAN 1
16830 ac_cpp
='$CXXCPP $CPPFLAGS'
16831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16834 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16835 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16836 if test -z "$CXXCPP"; then
16837 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 # Double quotes because CXXCPP needs to be expanded
16841 for CXXCPP
in "$CXX -E" "/lib/cpp"
16843 ac_preproc_ok
=false
16844 for ac_cxx_preproc_warn_flag
in '' yes
16846 # Use a header file that comes with gcc, so configuring glibc
16847 # with a fresh cross-compiler works.
16848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16849 # <limits.h> exists even on freestanding compilers.
16850 # On the NeXT, cc -E runs the code through the compiler's parser,
16851 # not just through cpp. "Syntax error" is here to catch this case.
16852 cat >conftest.
$ac_ext <<_ACEOF
16853 #line $LINENO "configure"
16856 cat confdefs.h
>>conftest.
$ac_ext
16857 cat >>conftest.
$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16860 # include <limits.h>
16862 # include <assert.h>
16866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16869 grep -v '^ *+' conftest.er1
>conftest.err
16871 cat conftest.err
>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } >/dev
/null
; then
16874 if test -s conftest.err
; then
16875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16882 if test -z "$ac_cpp_err"; then
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.
$ac_ext >&5
16888 # Broken: fails on valid input.
16891 rm -f conftest.err conftest.
$ac_ext
16893 # OK, works on sane cases. Now check whether non-existent headers
16894 # can be detected and how.
16895 cat >conftest.
$ac_ext <<_ACEOF
16896 #line $LINENO "configure"
16899 cat confdefs.h
>>conftest.
$ac_ext
16900 cat >>conftest.
$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 #include <ac_nonexistent.h>
16904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } >/dev
/null
; then
16912 if test -s conftest.err
; then
16913 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16920 if test -z "$ac_cpp_err"; then
16921 # Broken: success on invalid input.
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.
$ac_ext >&5
16927 # Passes both tests.
16931 rm -f conftest.err conftest.
$ac_ext
16934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16935 rm -f conftest.err conftest.
$ac_ext
16936 if $ac_preproc_ok; then
16941 ac_cv_prog_CXXCPP
=$CXXCPP
16944 CXXCPP
=$ac_cv_prog_CXXCPP
16946 ac_cv_prog_CXXCPP
=$CXXCPP
16948 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16949 echo "${ECHO_T}$CXXCPP" >&6
16950 ac_preproc_ok
=false
16951 for ac_cxx_preproc_warn_flag
in '' yes
16953 # Use a header file that comes with gcc, so configuring glibc
16954 # with a fresh cross-compiler works.
16955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16956 # <limits.h> exists even on freestanding compilers.
16957 # On the NeXT, cc -E runs the code through the compiler's parser,
16958 # not just through cpp. "Syntax error" is here to catch this case.
16959 cat >conftest.
$ac_ext <<_ACEOF
16960 #line $LINENO "configure"
16963 cat confdefs.h
>>conftest.
$ac_ext
16964 cat >>conftest.
$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16967 # include <limits.h>
16969 # include <assert.h>
16973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16976 grep -v '^ *+' conftest.er1
>conftest.err
16978 cat conftest.err
>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } >/dev
/null
; then
16981 if test -s conftest.err
; then
16982 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16989 if test -z "$ac_cpp_err"; then
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.
$ac_ext >&5
16995 # Broken: fails on valid input.
16998 rm -f conftest.err conftest.
$ac_ext
17000 # OK, works on sane cases. Now check whether non-existent headers
17001 # can be detected and how.
17002 cat >conftest.
$ac_ext <<_ACEOF
17003 #line $LINENO "configure"
17006 cat confdefs.h
>>conftest.
$ac_ext
17007 cat >>conftest.
$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <ac_nonexistent.h>
17011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } >/dev
/null
; then
17019 if test -s conftest.err
; then
17020 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17027 if test -z "$ac_cpp_err"; then
17028 # Broken: success on invalid input.
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.
$ac_ext >&5
17034 # Passes both tests.
17038 rm -f conftest.err conftest.
$ac_ext
17041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17042 rm -f conftest.err conftest.
$ac_ext
17043 if $ac_preproc_ok; then
17046 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17047 See \`config.log' for more details." >&5
17048 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17049 See \`config.log' for more details." >&2;}
17050 { (exit 1); exit 1; }; }
17054 ac_cpp
='$CXXCPP $CPPFLAGS'
17055 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17061 if test "$cross_compiling" = "yes"; then
17062 cat >>confdefs.h
<<\_ACEOF
17063 #define wxUSE_IOSTREAMH 1
17070 ac_cpp
='$CXXCPP $CPPFLAGS'
17071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17077 for ac_header
in iostream
17079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17081 echo "$as_me:$LINENO: checking for $ac_header" >&5
17082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17089 # Is the header compilable?
17090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17092 cat >conftest.
$ac_ext <<_ACEOF
17093 #line $LINENO "configure"
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17100 #include <$ac_header>
17102 rm -f conftest.
$ac_objext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try
='test -s conftest.$ac_objext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 ac_header_compiler
=yes
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.
$ac_ext >&5
17119 ac_header_compiler
=no
17121 rm -f conftest.
$ac_objext conftest.
$ac_ext
17122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17123 echo "${ECHO_T}$ac_header_compiler" >&6
17125 # Is the header present?
17126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17128 cat >conftest.
$ac_ext <<_ACEOF
17129 #line $LINENO "configure"
17132 cat confdefs.h
>>conftest.
$ac_ext
17133 cat >>conftest.
$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 #include <$ac_header>
17137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17140 grep -v '^ *+' conftest.er1
>conftest.err
17142 cat conftest.err
>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } >/dev
/null
; then
17145 if test -s conftest.err
; then
17146 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17153 if test -z "$ac_cpp_err"; then
17154 ac_header_preproc
=yes
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.
$ac_ext >&5
17159 ac_header_preproc
=no
17161 rm -f conftest.err conftest.
$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17163 echo "${ECHO_T}$ac_header_preproc" >&6
17165 # So? What about this header?
17166 case $ac_header_compiler:$ac_header_preproc in
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17174 ## ------------------------------------ ##
17175 ## Report this to bug-autoconf@gnu.org. ##
17176 ## ------------------------------------ ##
17179 sed "s/^/$as_me: WARNING: /" >&2
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17190 ## ------------------------------------ ##
17191 ## Report this to bug-autoconf@gnu.org. ##
17192 ## ------------------------------------ ##
17195 sed "s/^/$as_me: WARNING: /" >&2
17198 echo "$as_me:$LINENO: checking for $ac_header" >&5
17199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 eval "$as_ac_Header=$ac_header_preproc"
17205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17210 cat >>confdefs.h
<<_ACEOF
17211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17219 if test "$ac_cv_header_iostream" = "yes" ; then
17222 cat >>confdefs.h
<<\_ACEOF
17223 #define wxUSE_IOSTREAMH 1
17229 ac_cpp
='$CPP $CPPFLAGS'
17230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17238 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17239 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17240 if test "${wx_cv_cpp_bool+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 ac_cpp
='$CXXCPP $CPPFLAGS'
17248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17253 cat >conftest.
$ac_ext <<_ACEOF
17254 #line $LINENO "configure"
17257 cat confdefs.h
>>conftest.
$ac_ext
17258 cat >>conftest.
$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17274 rm -f conftest.
$ac_objext
17275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17276 (eval $ac_compile) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try
='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.
$ac_ext >&5
17298 rm -f conftest.
$ac_objext conftest.
$ac_ext
17301 ac_cpp
='$CPP $CPPFLAGS'
17302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17308 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17309 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17311 if test "$wx_cv_cpp_bool" = "yes"; then
17312 cat >>confdefs.h
<<\_ACEOF
17313 #define HAVE_BOOL 1
17320 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17321 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17322 if test "${wx_cv_explicit+set}" = set; then
17323 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 ac_cpp
='$CXXCPP $CPPFLAGS'
17330 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17331 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17332 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17335 cat >conftest.
$ac_ext <<_ACEOF
17336 #line $LINENO "configure"
17339 cat confdefs.h
>>conftest.
$ac_ext
17340 cat >>conftest.
$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17343 class Foo { public: explicit Foo(int) {} };
17355 rm -f conftest.
$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try
='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17368 cat >conftest.
$ac_ext <<_ACEOF
17369 #line $LINENO "configure"
17372 cat confdefs.h
>>conftest.
$ac_ext
17373 cat >>conftest.
$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17376 class Foo { public: explicit Foo(int) {} };
17377 static void TakeFoo(const Foo& foo) { }
17390 rm -f conftest.
$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try
='test -s conftest.$ac_objext'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; }; then
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.
$ac_ext >&5
17410 rm -f conftest.
$ac_objext conftest.
$ac_ext
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.
$ac_ext >&5
17419 rm -f conftest.
$ac_objext conftest.
$ac_ext
17422 ac_cpp
='$CPP $CPPFLAGS'
17423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17429 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17430 echo "${ECHO_T}$wx_cv_explicit" >&6
17432 if test "$wx_cv_explicit" = "yes"; then
17433 cat >>confdefs.h
<<\_ACEOF
17434 #define HAVE_EXPLICIT 1
17440 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17441 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17442 if test "${ac_cv_cxx_const_cast+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 ac_cpp
='$CXXCPP $CPPFLAGS'
17449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17453 cat >conftest.
$ac_ext <<_ACEOF
17454 #line $LINENO "configure"
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17464 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17469 rm -f conftest.
$ac_objext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17471 (eval $ac_compile) 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); } &&
17475 { ac_try
='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17481 ac_cv_cxx_const_cast
=yes
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.
$ac_ext >&5
17486 ac_cv_cxx_const_cast
=no
17488 rm -f conftest.
$ac_objext conftest.
$ac_ext
17490 ac_cpp
='$CPP $CPPFLAGS'
17491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17497 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17498 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17499 if test "$ac_cv_cxx_const_cast" = yes; then
17501 cat >>confdefs.h
<<\_ACEOF
17502 #define HAVE_CONST_CAST
17508 if test "$wxUSE_STL" = "yes"; then
17510 ac_cpp
='$CXXCPP $CPPFLAGS'
17511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17516 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17517 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17518 cat >conftest.
$ac_ext <<_ACEOF
17519 #line $LINENO "configure"
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17526 #include <functional>
17527 #include <algorithm>
17533 std::vector<int> moo;
17534 std::list<int> foo;
17535 std::vector<int>::iterator it =
17536 std::find_if(moo.begin(), moo.end(),
17537 std::bind2nd(std::less<int>(), 3));
17542 rm -f conftest.
$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try
='test -s conftest.$ac_objext'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; }; then
17554 echo "$as_me:$LINENO: result: yes" >&5
17555 echo "${ECHO_T}yes" >&6
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.
$ac_ext >&5
17560 echo "$as_me:$LINENO: result: no" >&5
17561 echo "${ECHO_T}no" >&6
17562 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17563 echo "$as_me: error: Basic STL functionality missing" >&2;}
17564 { (exit 1); exit 1; }; }
17566 rm -f conftest.
$ac_objext conftest.
$ac_ext
17568 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17569 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17570 cat >conftest.
$ac_ext <<_ACEOF
17571 #line $LINENO "configure"
17574 cat confdefs.h
>>conftest.
$ac_ext
17575 cat >>conftest.
$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17586 rm -f conftest.
$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try
='test -s conftest.$ac_objext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 echo "$as_me:$LINENO: result: yes" >&5
17599 echo "${ECHO_T}yes" >&6
17600 cat >>confdefs.h
<<\_ACEOF
17601 #define HAVE_STD_WSTRING 1
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17608 echo "$as_me:$LINENO: result: no" >&5
17609 echo "${ECHO_T}no" >&6
17611 rm -f conftest.
$ac_objext conftest.
$ac_ext
17613 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17614 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17615 cat >conftest.
$ac_ext <<_ACEOF
17616 #line $LINENO "configure"
17619 cat confdefs.h
>>conftest.
$ac_ext
17620 cat >>conftest.
$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17626 std::string foo, bar;
17628 foo.compare(1, 1, bar);
17629 foo.compare(1, 1, bar, 1, 1);
17631 foo.compare(1, 1, "");
17632 foo.compare(1, 1, "", 2);
17637 rm -f conftest.
$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try
='test -s conftest.$ac_objext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 echo "$as_me:$LINENO: result: yes" >&5
17650 echo "${ECHO_T}yes" >&6
17651 cat >>confdefs.h
<<\_ACEOF
17652 #define HAVE_STD_STRING_COMPARE 1
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.
$ac_ext >&5
17659 echo "$as_me:$LINENO: result: no" >&5
17660 echo "${ECHO_T}no" >&6
17662 rm -f conftest.
$ac_objext conftest.
$ac_ext
17665 ac_cpp
='$CPP $CPPFLAGS'
17666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17674 /usr/local/include \
17676 /usr/Motif-1.2/include \
17677 /usr/Motif-2.1/include \
17679 /usr/include/Motif1.2 \
17680 /opt/xpm/include/X11 \
17681 /opt/GBxpm/include/ \
17682 /opt/GBxpm/X11/include/ \
17684 /usr/Motif1.2/include \
17686 /usr/openwin/include \
17690 /usr/X11R6/include \
17691 /usr/X11R6.4/include \
17692 /usr/X11R5/include \
17693 /usr/X11R4/include \
17695 /usr/include/X11R6 \
17696 /usr/include/X11R5 \
17697 /usr/include/X11R4 \
17699 /usr/local/X11R6/include \
17700 /usr/local/X11R5/include \
17701 /usr/local/X11R4/include \
17703 /usr/local/include/X11R6 \
17704 /usr/local/include/X11R5 \
17705 /usr/local/include/X11R4 \
17709 /usr/local/X11/include \
17710 /usr/local/include/X11 \
17712 /usr/X386/include \
17713 /usr/x386/include \
17714 /usr/XFree86/include/X11 \
17716 X:/XFree86/include \
17717 X:/XFree86/include/X11 \
17720 /usr/local/include/gtk \
17721 /usr/include/glib \
17722 /usr/local/include/glib \
17725 /usr/local/include/qt \
17727 /usr/include/windows \
17728 /usr/include/wine \
17729 /usr/local/include/wine \
17731 /usr/unsupported/include \
17732 /usr/athena/include \
17733 /usr/local/x11r5/include \
17734 /usr/lpp/Xamples/include \
17736 /usr/openwin/share/include"
17738 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17741 cat >confcache
<<\_ACEOF
17742 # This file is a shell script that caches the results of configure
17743 # tests run on this system so they can be shared between configure
17744 # scripts and configure runs, see configure's option --config-cache.
17745 # It is not useful on other systems. If it contains results you don't
17746 # want to keep, you may remove or edit it.
17748 # config.status only pays attention to the cache file if you give it
17749 # the --recheck option to rerun configure.
17751 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17752 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17753 # following values.
17757 # The following way of writing the cache mishandles newlines in values,
17758 # but we know of no workaround that is simple, portable, and efficient.
17759 # So, don't put newlines in cache variables' values.
17760 # Ultrix sh set writes to stderr and can't be redirected directly,
17761 # and sets the high bit in the cache file unless we assign to the vars.
17764 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17766 # `set' does not quote correctly, so add quotes (double-quote
17767 # substitution turns \\\\ into \\, and sed turns \\ into \).
17770 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17773 # `set' quotes correctly as required by POSIX, so do not add quotes.
17775 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17784 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17786 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17787 if test -w $cache_file; then
17788 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17789 cat confcache
>$cache_file
17791 echo "not updating unwritable cache $cache_file"
17796 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17797 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17798 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17799 if test "${wx_cv_lib_glibc21+set}" = set; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 cat >conftest.
$ac_ext <<_ACEOF
17804 #line $LINENO "configure"
17807 cat confdefs.h
>>conftest.
$ac_ext
17808 cat >>conftest.
$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810 #include <features.h>
17815 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17816 #error not glibc2.1
17823 rm -f conftest.
$ac_objext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17825 (eval $ac_compile) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try
='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17836 wx_cv_lib_glibc21
=yes
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.
$ac_ext >&5
17843 wx_cv_lib_glibc21
=no
17847 rm -f conftest.
$ac_objext conftest.
$ac_ext
17850 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17851 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17852 if test "$wx_cv_lib_glibc21" = "yes"; then
17853 cat >>confdefs.h
<<\_ACEOF
17854 #define wxHAVE_GLIBC2 1
17860 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17861 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17862 cat >>confdefs.h
<<\_ACEOF
17863 #define _GNU_SOURCE 1
17872 if test "$wxUSE_REGEX" != "no"; then
17873 cat >>confdefs.h
<<\_ACEOF
17874 #define wxUSE_REGEX 1
17878 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17879 if test "${ac_cv_header_regex_h+set}" = set; then
17880 echo "$as_me:$LINENO: checking for regex.h" >&5
17881 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17882 if test "${ac_cv_header_regex_h+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17886 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17888 # Is the header compilable?
17889 echo "$as_me:$LINENO: checking regex.h usability" >&5
17890 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17891 cat >conftest.
$ac_ext <<_ACEOF
17892 #line $LINENO "configure"
17895 cat confdefs.h
>>conftest.
$ac_ext
17896 cat >>conftest.
$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 $ac_includes_default
17901 rm -f conftest.
$ac_objext
17902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17903 (eval $ac_compile) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try
='test -s conftest.$ac_objext'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; }; then
17913 ac_header_compiler
=yes
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.
$ac_ext >&5
17918 ac_header_compiler
=no
17920 rm -f conftest.
$ac_objext conftest.
$ac_ext
17921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17922 echo "${ECHO_T}$ac_header_compiler" >&6
17924 # Is the header present?
17925 echo "$as_me:$LINENO: checking regex.h presence" >&5
17926 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17927 cat >conftest.
$ac_ext <<_ACEOF
17928 #line $LINENO "configure"
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17939 grep -v '^ *+' conftest.er1
>conftest.err
17941 cat conftest.err
>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } >/dev
/null
; then
17944 if test -s conftest.err
; then
17945 ac_cpp_err
=$ac_c_preproc_warn_flag
17952 if test -z "$ac_cpp_err"; then
17953 ac_header_preproc
=yes
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.
$ac_ext >&5
17958 ac_header_preproc
=no
17960 rm -f conftest.err conftest.
$ac_ext
17961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17962 echo "${ECHO_T}$ac_header_preproc" >&6
17964 # So? What about this header?
17965 case $ac_header_compiler:$ac_header_preproc in
17967 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17968 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17969 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17970 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17973 ## ------------------------------------ ##
17974 ## Report this to bug-autoconf@gnu.org. ##
17975 ## ------------------------------------ ##
17978 sed "s/^/$as_me: WARNING: /" >&2
17981 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17982 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17983 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17984 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17985 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17986 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17989 ## ------------------------------------ ##
17990 ## Report this to bug-autoconf@gnu.org. ##
17991 ## ------------------------------------ ##
17994 sed "s/^/$as_me: WARNING: /" >&2
17997 echo "$as_me:$LINENO: checking for regex.h" >&5
17998 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17999 if test "${ac_cv_header_regex_h+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 ac_cv_header_regex_h
=$ac_header_preproc
18004 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18005 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18008 if test $ac_cv_header_regex_h = yes; then
18010 for ac_func
in regcomp
18012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18013 echo "$as_me:$LINENO: checking for $ac_func" >&5
18014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18015 if eval "test \"\${$as_ac_var+set}\" = set"; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 cat >conftest.
$ac_ext <<_ACEOF
18019 #line $LINENO "configure"
18022 cat confdefs.h
>>conftest.
$ac_ext
18023 cat >>conftest.
$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 /* System header to define __stub macros and hopefully few prototypes,
18026 which can conflict with char $ac_func (); below.
18027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18028 <limits.h> exists even on freestanding compilers. */
18030 # include <limits.h>
18032 # include <assert.h>
18034 /* Override any gcc2 internal prototype to avoid an error. */
18039 /* We use char because int might match the return type of a gcc2
18040 builtin and then its argument prototype would still apply. */
18042 /* The GNU C library defines this for functions which it implements
18043 to always fail with ENOSYS. Some functions are actually named
18044 something starting with __ and the normal name is an alias. */
18045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18048 char (*f) () = $ac_func;
18057 return f != $ac_func;
18062 rm -f conftest.
$ac_objext conftest
$ac_exeext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18064 (eval $ac_link) 2>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } &&
18068 { ac_try
='test -s conftest$ac_exeext'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; }; then
18074 eval "$as_ac_var=yes"
18076 echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.
$ac_ext >&5
18079 eval "$as_ac_var=no"
18081 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18085 if test `eval echo '${'$as_ac_var'}'` = yes; then
18086 cat >>confdefs.h
<<_ACEOF
18087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18097 if test "x$ac_cv_func_regcomp" != "xyes"; then
18098 if test "$wxUSE_REGEX" = "sys" ; then
18099 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18100 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18101 { (exit 1); exit 1; }; }
18103 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18104 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18105 wxUSE_REGEX
=builtin
18112 if test "$wxUSE_REGEX" = "builtin" ; then
18113 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18120 if test "$wxUSE_ZLIB" != "no" ; then
18121 cat >>confdefs.h
<<\_ACEOF
18122 #define wxUSE_ZLIB 1
18126 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18127 if test "$USE_DARWIN" = 1; then
18128 system_zlib_h_ok
="yes"
18130 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18131 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18132 if test "${ac_cv_header_zlib_h+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 if test "$cross_compiling" = yes; then
18136 unset ac_cv_header_zlib_h
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. */
18152 FILE *f=fopen("conftestval", "w");
18155 ZLIB_VERSION[0] == '1' &&
18156 (ZLIB_VERSION[2] > '1' ||
18157 (ZLIB_VERSION[2] == '1' &&
18158 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18163 rm -f conftest
$ac_exeext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18165 (eval $ac_link) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_cv_header_zlib_h
=`cat conftestval`
18176 echo "$as_me: program exited with status $ac_status" >&5
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.
$ac_ext >&5
18180 ( exit $ac_status )
18181 ac_cv_header_zlib_h
=no
18183 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18187 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18188 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18189 if test "${ac_cv_header_zlib_h+set}" = set; then
18190 echo "$as_me:$LINENO: checking for zlib.h" >&5
18191 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18192 if test "${ac_cv_header_zlib_h+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18196 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18198 # Is the header compilable?
18199 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18200 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18201 cat >conftest.
$ac_ext <<_ACEOF
18202 #line $LINENO "configure"
18205 cat confdefs.h
>>conftest.
$ac_ext
18206 cat >>conftest.
$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 $ac_includes_default
18211 rm -f conftest.
$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try
='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 ac_header_compiler
=yes
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.
$ac_ext >&5
18228 ac_header_compiler
=no
18230 rm -f conftest.
$ac_objext conftest.
$ac_ext
18231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18232 echo "${ECHO_T}$ac_header_compiler" >&6
18234 # Is the header present?
18235 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18236 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18237 cat >conftest.
$ac_ext <<_ACEOF
18238 #line $LINENO "configure"
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18247 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18249 grep -v '^ *+' conftest.er1
>conftest.err
18251 cat conftest.err
>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } >/dev
/null
; then
18254 if test -s conftest.err
; then
18255 ac_cpp_err
=$ac_c_preproc_warn_flag
18262 if test -z "$ac_cpp_err"; then
18263 ac_header_preproc
=yes
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.
$ac_ext >&5
18268 ac_header_preproc
=no
18270 rm -f conftest.err conftest.
$ac_ext
18271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18272 echo "${ECHO_T}$ac_header_preproc" >&6
18274 # So? What about this header?
18275 case $ac_header_compiler:$ac_header_preproc in
18277 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18278 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18279 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18280 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18283 ## ------------------------------------ ##
18284 ## Report this to bug-autoconf@gnu.org. ##
18285 ## ------------------------------------ ##
18288 sed "s/^/$as_me: WARNING: /" >&2
18291 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18292 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18293 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18294 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18295 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18296 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18299 ## ------------------------------------ ##
18300 ## Report this to bug-autoconf@gnu.org. ##
18301 ## ------------------------------------ ##
18304 sed "s/^/$as_me: WARNING: /" >&2
18307 echo "$as_me:$LINENO: checking for zlib.h" >&5
18308 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18309 if test "${ac_cv_header_zlib_h+set}" = set; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6
18312 ac_cv_header_zlib_h
=$ac_header_preproc
18314 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18315 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18321 system_zlib_h_ok
=$ac_cv_header_zlib_h
18324 if test "$system_zlib_h_ok" = "yes"; then
18325 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18326 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18327 if test "${ac_cv_lib_z_deflate+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 ac_check_lib_save_LIBS
=$LIBS
18332 cat >conftest.
$ac_ext <<_ACEOF
18333 #line $LINENO "configure"
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18340 /* Override any gcc2 internal prototype to avoid an error. */
18344 /* We use char because int might match the return type of a gcc2
18345 builtin and then its argument prototype would still apply. */
18355 rm -f conftest.
$ac_objext conftest
$ac_exeext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18357 (eval $ac_link) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try
='test -s conftest$ac_exeext'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18367 ac_cv_lib_z_deflate
=yes
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.
$ac_ext >&5
18372 ac_cv_lib_z_deflate
=no
18374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18375 LIBS
=$ac_check_lib_save_LIBS
18377 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18378 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18379 if test $ac_cv_lib_z_deflate = yes; then
18385 if test "x$ZLIB_LINK" = "x" ; then
18386 if test "$wxUSE_ZLIB" = "sys" ; then
18387 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18388 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18389 { (exit 1); exit 1; }; }
18391 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18392 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18400 if test "$wxUSE_ZLIB" = "builtin" ; then
18401 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18408 if test "$wxUSE_LIBPNG" != "no" ; then
18409 cat >>confdefs.h
<<\_ACEOF
18410 #define wxUSE_LIBPNG 1
18414 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18415 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18416 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18420 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18421 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18422 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18423 wxUSE_LIBPNG
=builtin
18426 if test "$wxUSE_MGL" != 1 ; then
18427 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18428 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18429 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18430 if test "${ac_cv_header_png_h+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 if test "$cross_compiling" = yes; then
18434 unset ac_cv_header_png_h
18437 cat >conftest.
$ac_ext <<_ACEOF
18438 #line $LINENO "configure"
18441 cat confdefs.h
>>conftest.
$ac_ext
18442 cat >>conftest.
$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18450 FILE *f=fopen("conftestval", "w");
18453 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18458 rm -f conftest
$ac_exeext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18460 (eval $ac_link) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_cv_header_png_h
=`cat conftestval`
18471 echo "$as_me: program exited with status $ac_status" >&5
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.
$ac_ext >&5
18475 ( exit $ac_status )
18476 ac_cv_header_png_h
=no
18478 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18482 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18483 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18484 if test "${ac_cv_header_png_h+set}" = set; then
18485 echo "$as_me:$LINENO: checking for png.h" >&5
18486 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18487 if test "${ac_cv_header_png_h+set}" = set; then
18488 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18491 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18493 # Is the header compilable?
18494 echo "$as_me:$LINENO: checking png.h usability" >&5
18495 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18496 cat >conftest.
$ac_ext <<_ACEOF
18497 #line $LINENO "configure"
18500 cat confdefs.h
>>conftest.
$ac_ext
18501 cat >>conftest.
$ac_ext <<_ACEOF
18502 /* end confdefs.h. */
18503 $ac_includes_default
18506 rm -f conftest.
$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } &&
18512 { ac_try
='test -s conftest.$ac_objext'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 ac_header_compiler
=yes
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.
$ac_ext >&5
18523 ac_header_compiler
=no
18525 rm -f conftest.
$ac_objext conftest.
$ac_ext
18526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18527 echo "${ECHO_T}$ac_header_compiler" >&6
18529 # Is the header present?
18530 echo "$as_me:$LINENO: checking png.h presence" >&5
18531 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18532 cat >conftest.
$ac_ext <<_ACEOF
18533 #line $LINENO "configure"
18536 cat confdefs.h
>>conftest.
$ac_ext
18537 cat >>conftest.
$ac_ext <<_ACEOF
18538 /* end confdefs.h. */
18541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18544 grep -v '^ *+' conftest.er1
>conftest.err
18546 cat conftest.err
>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } >/dev
/null
; then
18549 if test -s conftest.err
; then
18550 ac_cpp_err
=$ac_c_preproc_warn_flag
18557 if test -z "$ac_cpp_err"; then
18558 ac_header_preproc
=yes
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.
$ac_ext >&5
18563 ac_header_preproc
=no
18565 rm -f conftest.err conftest.
$ac_ext
18566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18567 echo "${ECHO_T}$ac_header_preproc" >&6
18569 # So? What about this header?
18570 case $ac_header_compiler:$ac_header_preproc in
18572 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18573 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18574 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18575 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18578 ## ------------------------------------ ##
18579 ## Report this to bug-autoconf@gnu.org. ##
18580 ## ------------------------------------ ##
18583 sed "s/^/$as_me: WARNING: /" >&2
18586 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18587 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18588 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18589 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18590 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18591 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18594 ## ------------------------------------ ##
18595 ## Report this to bug-autoconf@gnu.org. ##
18596 ## ------------------------------------ ##
18599 sed "s/^/$as_me: WARNING: /" >&2
18602 echo "$as_me:$LINENO: checking for png.h" >&5
18603 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18604 if test "${ac_cv_header_png_h+set}" = set; then
18605 echo $ECHO_N "(cached) $ECHO_C" >&6
18607 ac_cv_header_png_h
=$ac_header_preproc
18609 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18610 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18616 if test "$ac_cv_header_png_h" = "yes"; then
18617 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18618 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18619 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18620 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 ac_check_lib_save_LIBS
=$LIBS
18623 LIBS
="-lpng -lz -lm $LIBS"
18624 cat >conftest.
$ac_ext <<_ACEOF
18625 #line $LINENO "configure"
18628 cat confdefs.h
>>conftest.
$ac_ext
18629 cat >>conftest.
$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18632 /* Override any gcc2 internal prototype to avoid an error. */
18636 /* We use char because int might match the return type of a gcc2
18637 builtin and then its argument prototype would still apply. */
18638 char png_check_sig ();
18647 rm -f conftest.
$ac_objext conftest
$ac_exeext
18648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18649 (eval $ac_link) 2>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try
='test -s conftest$ac_exeext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_cv_lib_png_png_check_sig
=yes
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18664 ac_cv_lib_png_png_check_sig
=no
18666 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18667 LIBS
=$ac_check_lib_save_LIBS
18669 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18670 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18671 if test $ac_cv_lib_png_png_check_sig = yes; then
18677 if test "x$PNG_LINK" = "x" ; then
18678 if test "$wxUSE_LIBPNG" = "sys" ; then
18679 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18680 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18681 { (exit 1); exit 1; }; }
18683 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18684 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18685 wxUSE_LIBPNG
=builtin
18693 if test "$wxUSE_LIBPNG" = "builtin" ; then
18694 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18703 if test "$wxUSE_LIBJPEG" != "no" ; then
18704 cat >>confdefs.h
<<\_ACEOF
18705 #define wxUSE_LIBJPEG 1
18709 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18710 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18711 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18715 if test "$wxUSE_MGL" != 1 ; then
18716 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18717 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18718 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18719 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 cat >conftest.
$ac_ext <<_ACEOF
18723 #line $LINENO "configure"
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18730 #undef HAVE_STDLIB_H
18732 #include <jpeglib.h>
18743 rm -f conftest.
$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -s conftest.$ac_objext'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; }; then
18755 ac_cv_header_jpeglib_h
=yes
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.
$ac_ext >&5
18760 ac_cv_header_jpeglib_h
=no
18763 rm -f conftest.
$ac_objext conftest.
$ac_ext
18767 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18768 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18770 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18771 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18772 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18773 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18774 echo $ECHO_N "(cached) $ECHO_C" >&6
18776 ac_check_lib_save_LIBS
=$LIBS
18777 LIBS
="-ljpeg $LIBS"
18778 cat >conftest.
$ac_ext <<_ACEOF
18779 #line $LINENO "configure"
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18786 /* Override any gcc2 internal prototype to avoid an error. */
18790 /* We use char because int might match the return type of a gcc2
18791 builtin and then its argument prototype would still apply. */
18792 char jpeg_read_header ();
18796 jpeg_read_header ();
18801 rm -f conftest.
$ac_objext conftest
$ac_exeext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18803 (eval $ac_link) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } &&
18807 { ac_try
='test -s conftest$ac_exeext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_cv_lib_jpeg_jpeg_read_header
=yes
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 ac_cv_lib_jpeg_jpeg_read_header
=no
18820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18821 LIBS
=$ac_check_lib_save_LIBS
18823 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18824 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18825 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18826 JPEG_LINK
=" -ljpeg"
18831 if test "x$JPEG_LINK" = "x" ; then
18832 if test "$wxUSE_LIBJPEG" = "sys" ; then
18833 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18834 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18835 { (exit 1); exit 1; }; }
18837 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18838 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18839 wxUSE_LIBJPEG
=builtin
18847 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18848 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18855 TIFF_PREREQ_LINKS
=-lm
18856 if test "$wxUSE_LIBTIFF" != "no" ; then
18857 cat >>confdefs.h
<<\_ACEOF
18858 #define wxUSE_LIBTIFF 1
18862 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18863 if test "$wxUSE_LIBJPEG" = "sys"; then
18864 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18866 if test "$wxUSE_ZLIB" = "sys"; then
18867 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18869 if test "${ac_cv_header_tiffio_h+set}" = set; then
18870 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18871 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18872 if test "${ac_cv_header_tiffio_h+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18876 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18878 # Is the header compilable?
18879 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18880 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18881 cat >conftest.
$ac_ext <<_ACEOF
18882 #line $LINENO "configure"
18885 cat confdefs.h
>>conftest.
$ac_ext
18886 cat >>conftest.
$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 #include <tiffio.h>
18891 rm -f conftest.
$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try
='test -s conftest.$ac_objext'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18903 ac_header_compiler
=yes
18905 echo "$as_me: failed program was:" >&5
18906 sed 's/^/| /' conftest.
$ac_ext >&5
18908 ac_header_compiler
=no
18910 rm -f conftest.
$ac_objext conftest.
$ac_ext
18911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18912 echo "${ECHO_T}$ac_header_compiler" >&6
18914 # Is the header present?
18915 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18916 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18917 cat >conftest.
$ac_ext <<_ACEOF
18918 #line $LINENO "configure"
18921 cat confdefs.h
>>conftest.
$ac_ext
18922 cat >>conftest.
$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <tiffio.h>
18926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18929 grep -v '^ *+' conftest.er1
>conftest.err
18931 cat conftest.err
>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } >/dev
/null
; then
18934 if test -s conftest.err
; then
18935 ac_cpp_err
=$ac_c_preproc_warn_flag
18942 if test -z "$ac_cpp_err"; then
18943 ac_header_preproc
=yes
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.
$ac_ext >&5
18948 ac_header_preproc
=no
18950 rm -f conftest.err conftest.
$ac_ext
18951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18952 echo "${ECHO_T}$ac_header_preproc" >&6
18954 # So? What about this header?
18955 case $ac_header_compiler:$ac_header_preproc in
18957 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18958 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18959 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18960 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18963 ## ------------------------------------ ##
18964 ## Report this to bug-autoconf@gnu.org. ##
18965 ## ------------------------------------ ##
18968 sed "s/^/$as_me: WARNING: /" >&2
18971 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18972 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18973 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18974 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18975 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18976 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18979 ## ------------------------------------ ##
18980 ## Report this to bug-autoconf@gnu.org. ##
18981 ## ------------------------------------ ##
18984 sed "s/^/$as_me: WARNING: /" >&2
18987 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18988 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18989 if test "${ac_cv_header_tiffio_h+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 ac_cv_header_tiffio_h
=$ac_header_preproc
18994 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18995 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18998 if test $ac_cv_header_tiffio_h = yes; then
19000 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19001 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19002 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 ac_check_lib_save_LIBS
=$LIBS
19006 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19007 cat >conftest.
$ac_ext <<_ACEOF
19008 #line $LINENO "configure"
19011 cat confdefs.h
>>conftest.
$ac_ext
19012 cat >>conftest.
$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19015 /* Override any gcc2 internal prototype to avoid an error. */
19019 /* We use char because int might match the return type of a gcc2
19020 builtin and then its argument prototype would still apply. */
19030 rm -f conftest.
$ac_objext conftest
$ac_exeext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19032 (eval $ac_link) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } &&
19036 { ac_try
='test -s conftest$ac_exeext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 ac_cv_lib_tiff_TIFFError
=yes
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.
$ac_ext >&5
19047 ac_cv_lib_tiff_TIFFError
=no
19049 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19050 LIBS
=$ac_check_lib_save_LIBS
19052 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19053 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19054 if test $ac_cv_lib_tiff_TIFFError = yes; then
19055 TIFF_LINK
=" -ltiff"
19064 if test "x$TIFF_LINK" = "x" ; then
19065 if test "$wxUSE_LIBTIFF" = "sys" ; then
19066 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19067 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19068 { (exit 1); exit 1; }; }
19070 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19071 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19072 wxUSE_LIBTIFF
=builtin
19079 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19080 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19085 if test "$wxUSE_EXPAT" != "no"; then
19087 cat >>confdefs.h
<<\_ACEOF
19088 #define wxUSE_EXPAT 1
19091 cat >>confdefs.h
<<\_ACEOF
19092 #define wxUSE_XML 1
19096 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19097 if test "${ac_cv_header_expat_h+set}" = set; then
19098 echo "$as_me:$LINENO: checking for expat.h" >&5
19099 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19100 if test "${ac_cv_header_expat_h+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19104 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19106 # Is the header compilable?
19107 echo "$as_me:$LINENO: checking expat.h usability" >&5
19108 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19109 cat >conftest.
$ac_ext <<_ACEOF
19110 #line $LINENO "configure"
19113 cat confdefs.h
>>conftest.
$ac_ext
19114 cat >>conftest.
$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 $ac_includes_default
19119 rm -f conftest.
$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try
='test -s conftest.$ac_objext'
19126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19127 (eval $ac_try) 2>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); }; }; then
19131 ac_header_compiler
=yes
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.
$ac_ext >&5
19136 ac_header_compiler
=no
19138 rm -f conftest.
$ac_objext conftest.
$ac_ext
19139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19140 echo "${ECHO_T}$ac_header_compiler" >&6
19142 # Is the header present?
19143 echo "$as_me:$LINENO: checking expat.h presence" >&5
19144 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19145 cat >conftest.
$ac_ext <<_ACEOF
19146 #line $LINENO "configure"
19149 cat confdefs.h
>>conftest.
$ac_ext
19150 cat >>conftest.
$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19157 grep -v '^ *+' conftest.er1
>conftest.err
19159 cat conftest.err
>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } >/dev
/null
; then
19162 if test -s conftest.err
; then
19163 ac_cpp_err
=$ac_c_preproc_warn_flag
19170 if test -z "$ac_cpp_err"; then
19171 ac_header_preproc
=yes
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.
$ac_ext >&5
19176 ac_header_preproc
=no
19178 rm -f conftest.err conftest.
$ac_ext
19179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19180 echo "${ECHO_T}$ac_header_preproc" >&6
19182 # So? What about this header?
19183 case $ac_header_compiler:$ac_header_preproc in
19185 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19186 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19187 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19188 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19191 ## ------------------------------------ ##
19192 ## Report this to bug-autoconf@gnu.org. ##
19193 ## ------------------------------------ ##
19196 sed "s/^/$as_me: WARNING: /" >&2
19199 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19200 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19201 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19202 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19203 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19204 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19207 ## ------------------------------------ ##
19208 ## Report this to bug-autoconf@gnu.org. ##
19209 ## ------------------------------------ ##
19212 sed "s/^/$as_me: WARNING: /" >&2
19215 echo "$as_me:$LINENO: checking for expat.h" >&5
19216 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19217 if test "${ac_cv_header_expat_h+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 ac_cv_header_expat_h
=$ac_header_preproc
19222 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19223 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19226 if test $ac_cv_header_expat_h = yes; then
19231 if test "x$found_expat_h" = "x1"; then
19232 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19233 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19234 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19241 ac_cpp
='$CXXCPP $CPPFLAGS'
19242 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19243 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19244 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19246 cat >conftest.
$ac_ext <<_ACEOF
19247 #line $LINENO "configure"
19250 cat confdefs.h
>>conftest.
$ac_ext
19251 cat >>conftest.
$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19262 rm -f conftest.
$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try
='test -s conftest.$ac_objext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 wx_cv_expat_is_not_broken
=yes
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 wx_cv_expat_is_not_broken
=no
19282 rm -f conftest.
$ac_objext conftest.
$ac_ext
19284 ac_cpp
='$CPP $CPPFLAGS'
19285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19292 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19293 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19294 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19295 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19296 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19297 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 ac_check_lib_save_LIBS
=$LIBS
19301 LIBS
="-lexpat $LIBS"
19302 cat >conftest.
$ac_ext <<_ACEOF
19303 #line $LINENO "configure"
19306 cat confdefs.h
>>conftest.
$ac_ext
19307 cat >>conftest.
$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19310 /* Override any gcc2 internal prototype to avoid an error. */
19314 /* We use char because int might match the return type of a gcc2
19315 builtin and then its argument prototype would still apply. */
19316 char XML_ParserCreate ();
19320 XML_ParserCreate ();
19325 rm -f conftest.
$ac_objext conftest
$ac_exeext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19327 (eval $ac_link) 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } &&
19331 { ac_try
='test -s conftest$ac_exeext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 ac_cv_lib_expat_XML_ParserCreate
=yes
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.
$ac_ext >&5
19342 ac_cv_lib_expat_XML_ParserCreate
=no
19344 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19345 LIBS
=$ac_check_lib_save_LIBS
19347 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19348 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19349 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19350 EXPAT_LINK
=" -lexpat"
19355 if test "x$EXPAT_LINK" = "x" ; then
19356 if test "$wxUSE_EXPAT" = "sys" ; then
19357 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19358 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19359 { (exit 1); exit 1; }; }
19361 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19362 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19363 wxUSE_EXPAT
=builtin
19369 if test "$wxUSE_EXPAT" = "builtin" ; then
19372 subdirs
="$subdirs src/expat"
19386 if test "$USE_WIN32" = 1 ; then
19388 for ac_header
in w32api.h
19390 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19392 echo "$as_me:$LINENO: checking for $ac_header" >&5
19393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19400 # Is the header compilable?
19401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19403 cat >conftest.
$ac_ext <<_ACEOF
19404 #line $LINENO "configure"
19407 cat confdefs.h
>>conftest.
$ac_ext
19408 cat >>conftest.
$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 $ac_includes_default
19411 #include <$ac_header>
19413 rm -f conftest.
$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } &&
19419 { ac_try
='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_header_compiler
=yes
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.
$ac_ext >&5
19430 ac_header_compiler
=no
19432 rm -f conftest.
$ac_objext conftest.
$ac_ext
19433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19434 echo "${ECHO_T}$ac_header_compiler" >&6
19436 # Is the header present?
19437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19439 cat >conftest.
$ac_ext <<_ACEOF
19440 #line $LINENO "configure"
19443 cat confdefs.h
>>conftest.
$ac_ext
19444 cat >>conftest.
$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 #include <$ac_header>
19448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } >/dev
/null
; then
19456 if test -s conftest.err
; then
19457 ac_cpp_err
=$ac_c_preproc_warn_flag
19464 if test -z "$ac_cpp_err"; then
19465 ac_header_preproc
=yes
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.
$ac_ext >&5
19470 ac_header_preproc
=no
19472 rm -f conftest.err conftest.
$ac_ext
19473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19474 echo "${ECHO_T}$ac_header_preproc" >&6
19476 # So? What about this header?
19477 case $ac_header_compiler:$ac_header_preproc in
19479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19485 ## ------------------------------------ ##
19486 ## Report this to bug-autoconf@gnu.org. ##
19487 ## ------------------------------------ ##
19490 sed "s/^/$as_me: WARNING: /" >&2
19493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19501 ## ------------------------------------ ##
19502 ## Report this to bug-autoconf@gnu.org. ##
19503 ## ------------------------------------ ##
19506 sed "s/^/$as_me: WARNING: /" >&2
19509 echo "$as_me:$LINENO: checking for $ac_header" >&5
19510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 eval "$as_ac_Header=$ac_header_preproc"
19516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19521 cat >>confdefs.h
<<_ACEOF
19522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19529 if test "${ac_cv_header_windows_h+set}" = set; then
19530 echo "$as_me:$LINENO: checking for windows.h" >&5
19531 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19532 if test "${ac_cv_header_windows_h+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19536 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19538 # Is the header compilable?
19539 echo "$as_me:$LINENO: checking windows.h usability" >&5
19540 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19541 cat >conftest.
$ac_ext <<_ACEOF
19542 #line $LINENO "configure"
19545 cat confdefs.h
>>conftest.
$ac_ext
19546 cat >>conftest.
$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 $ac_includes_default
19549 #include <windows.h>
19551 rm -f conftest.
$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } &&
19557 { ac_try
='test -s conftest.$ac_objext'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 ac_header_compiler
=yes
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.
$ac_ext >&5
19568 ac_header_compiler
=no
19570 rm -f conftest.
$ac_objext conftest.
$ac_ext
19571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19572 echo "${ECHO_T}$ac_header_compiler" >&6
19574 # Is the header present?
19575 echo "$as_me:$LINENO: checking windows.h presence" >&5
19576 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19577 cat >conftest.
$ac_ext <<_ACEOF
19578 #line $LINENO "configure"
19581 cat confdefs.h
>>conftest.
$ac_ext
19582 cat >>conftest.
$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #include <windows.h>
19586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19589 grep -v '^ *+' conftest.er1
>conftest.err
19591 cat conftest.err
>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } >/dev
/null
; then
19594 if test -s conftest.err
; then
19595 ac_cpp_err
=$ac_c_preproc_warn_flag
19602 if test -z "$ac_cpp_err"; then
19603 ac_header_preproc
=yes
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.
$ac_ext >&5
19608 ac_header_preproc
=no
19610 rm -f conftest.err conftest.
$ac_ext
19611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19612 echo "${ECHO_T}$ac_header_preproc" >&6
19614 # So? What about this header?
19615 case $ac_header_compiler:$ac_header_preproc in
19617 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19618 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19619 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19620 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19623 ## ------------------------------------ ##
19624 ## Report this to bug-autoconf@gnu.org. ##
19625 ## ------------------------------------ ##
19628 sed "s/^/$as_me: WARNING: /" >&2
19631 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19632 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19633 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19634 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19635 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19636 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19639 ## ------------------------------------ ##
19640 ## Report this to bug-autoconf@gnu.org. ##
19641 ## ------------------------------------ ##
19644 sed "s/^/$as_me: WARNING: /" >&2
19647 echo "$as_me:$LINENO: checking for windows.h" >&5
19648 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19649 if test "${ac_cv_header_windows_h+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19652 ac_cv_header_windows_h
=$ac_header_preproc
19654 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19655 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19658 if test $ac_cv_header_windows_h = yes; then
19662 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19663 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19664 { (exit 1); exit 1; }; }
19670 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19672 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19673 LIBS
="$LIBS -loleacc"
19678 LIBS
="$LIBS -lkernel32 -luser32"
19679 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19682 if test "$wxUSE_ODBC" = "sys" ; then
19685 if test "$wxUSE_ODBC" = "yes" ; then
19686 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19687 cat >>confdefs.h
<<\_ACEOF
19688 #define wxUSE_ODBC 1
19693 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19694 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19696 WIN32INSTALL
=win32install
19699 if test "$wxUSE_GUI" = "yes"; then
19708 if test "$wxUSE_MSW" = 1 ; then
19714 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19718 if test "$wxUSE_GTK" = 1; then
19719 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19720 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19722 gtk_version_cached
=1
19723 if test "${wx_cv_lib_gtk+set}" = set; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 gtk_version_cached
=0
19728 echo "$as_me:$LINENO: result: " >&5
19729 echo "${ECHO_T}" >&6
19732 if test "$wxUSE_THREADS" = "yes"; then
19733 GTK_MODULES
=gthread
19737 if test "x$wxUSE_GTK2" = "xyes"; then
19738 # Check whether --enable-gtktest or --disable-gtktest was given.
19739 if test "${enable_gtktest+set}" = set; then
19740 enableval
="$enable_gtktest"
19746 pkg_config_args
=gtk
+-2.0
19747 for module
in .
$GTK_MODULES
19751 pkg_config_args
="$pkg_config_args gthread-2.0"
19758 # Extract the first word of "pkg-config", so it can be a program name with args.
19759 set dummy pkg
-config; ac_word
=$2
19760 echo "$as_me:$LINENO: checking for $ac_word" >&5
19761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19763 echo $ECHO_N "(cached) $ECHO_C" >&6
19765 case $PKG_CONFIG in
19767 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19771 for as_dir
in $PATH
19774 test -z "$as_dir" && as_dir
=.
19775 for ac_exec_ext
in '' $ac_executable_extensions; do
19776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19777 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19784 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19788 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19790 if test -n "$PKG_CONFIG"; then
19791 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19792 echo "${ECHO_T}$PKG_CONFIG" >&6
19794 echo "$as_me:$LINENO: result: no" >&5
19795 echo "${ECHO_T}no" >&6
19799 if test x
$PKG_CONFIG != xno
; then
19800 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19803 echo *** pkg
-config too old
; version
0.7 or better required.
19811 min_gtk_version
=2.0.0
19812 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19813 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19815 if test x
$PKG_CONFIG != xno
; then
19816 ## don't try to run the test against uninstalled libtool libs
19817 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19818 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19822 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19829 if test x
"$no_gtk" = x
; then
19830 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19831 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19832 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19834 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19836 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19838 if test "x$enable_gtktest" = "xyes" ; then
19839 ac_save_CFLAGS
="$CFLAGS"
19840 ac_save_LIBS
="$LIBS"
19841 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19842 LIBS
="$GTK_LIBS $LIBS"
19844 if test "$cross_compiling" = yes; then
19845 echo $ac_n "cross compiling; assumed OK... $ac_c"
19847 cat >conftest.
$ac_ext <<_ACEOF
19848 #line $LINENO "configure"
19851 cat confdefs.h
>>conftest.
$ac_ext
19852 cat >>conftest.
$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19855 #include <gtk/gtk.h>
19857 #include <stdlib.h>
19862 int major, minor, micro;
19865 system ("touch conf.gtktest");
19867 /* HP/UX 9 (%@#!) writes to sscanf strings */
19868 tmp_version = g_strdup("$min_gtk_version");
19869 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19870 printf("%s, bad version string\n", "$min_gtk_version");
19874 if ((gtk_major_version != $gtk_config_major_version) ||
19875 (gtk_minor_version != $gtk_config_minor_version) ||
19876 (gtk_micro_version != $gtk_config_micro_version))
19878 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19879 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19880 gtk_major_version, gtk_minor_version, gtk_micro_version);
19881 printf ("*** was found! If pkg-config was correct, then it is best\n");
19882 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19883 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19884 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19885 printf("*** required on your system.\n");
19886 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19887 printf("*** to point to the correct configuration files\n");
19889 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19890 (gtk_minor_version != GTK_MINOR_VERSION) ||
19891 (gtk_micro_version != GTK_MICRO_VERSION))
19893 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19894 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19895 printf("*** library (version %d.%d.%d)\n",
19896 gtk_major_version, gtk_minor_version, gtk_micro_version);
19900 if ((gtk_major_version > major) ||
19901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19909 gtk_major_version, gtk_minor_version, gtk_micro_version);
19910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19911 major, minor, micro);
19912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19914 printf("*** If you have already installed a sufficiently new version, this error\n");
19915 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19917 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19918 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19920 printf("*** so that the correct libraries are found at run-time))\n");
19927 rm -f conftest
$ac_exeext
19928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19929 (eval $ac_link) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; }; then
19940 echo "$as_me: program exited with status $ac_status" >&5
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.
$ac_ext >&5
19944 ( exit $ac_status )
19947 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19949 CFLAGS
="$ac_save_CFLAGS"
19950 LIBS
="$ac_save_LIBS"
19953 if test "x$no_gtk" = x
; then
19954 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19955 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19958 echo "$as_me:$LINENO: result: no" >&5
19959 echo "${ECHO_T}no" >&6
19960 if test "$PKG_CONFIG" = "no" ; then
19961 echo "*** A new enough version of pkg-config was not found."
19962 echo "*** See http://pkgconfig.sourceforge.net"
19964 if test -f conf.gtktest
; then
19967 echo "*** Could not run GTK+ test program, checking why..."
19968 ac_save_CFLAGS
="$CFLAGS"
19969 ac_save_LIBS
="$LIBS"
19970 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19971 LIBS
="$LIBS $GTK_LIBS"
19972 cat >conftest.
$ac_ext <<_ACEOF
19973 #line $LINENO "configure"
19976 cat confdefs.h
>>conftest.
$ac_ext
19977 cat >>conftest.
$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19980 #include <gtk/gtk.h>
19986 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19991 rm -f conftest.
$ac_objext conftest
$ac_exeext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19993 (eval $ac_link) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } &&
19997 { ac_try
='test -s conftest$ac_exeext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20003 echo "*** The test program compiled, but did not run. This usually means"
20004 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20005 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20006 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20007 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20008 echo "*** is required on your system"
20010 echo "*** If you have an old version installed, it is best to remove it, although"
20011 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.
$ac_ext >&5
20016 echo "*** The test program failed to compile or link. See the file config.log for the"
20017 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20019 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20020 CFLAGS
="$ac_save_CFLAGS"
20021 LIBS
="$ac_save_LIBS"
20034 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20035 if test "${with_gtk_prefix+set}" = set; then
20036 withval
="$with_gtk_prefix"
20037 gtk_config_prefix
="$withval"
20039 gtk_config_prefix
=""
20042 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20043 if test "${with_gtk_exec_prefix+set}" = set; then
20044 withval
="$with_gtk_exec_prefix"
20045 gtk_config_exec_prefix
="$withval"
20047 gtk_config_exec_prefix
=""
20049 # Check whether --enable-gtktest or --disable-gtktest was given.
20050 if test "${enable_gtktest+set}" = set; then
20051 enableval
="$enable_gtktest"
20057 for module
in .
$GTK_MODULES
20061 gtk_config_args
="$gtk_config_args gthread"
20066 if test x
$gtk_config_exec_prefix != x
; then
20067 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20068 if test x
${GTK_CONFIG+set} != xset
; then
20069 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20072 if test x
$gtk_config_prefix != x
; then
20073 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20074 if test x
${GTK_CONFIG+set} != xset
; then
20075 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20079 # Extract the first word of "gtk-config", so it can be a program name with args.
20080 set dummy gtk
-config; ac_word
=$2
20081 echo "$as_me:$LINENO: checking for $ac_word" >&5
20082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20083 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 case $GTK_CONFIG in
20088 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20092 for as_dir
in $PATH
20095 test -z "$as_dir" && as_dir
=.
20096 for ac_exec_ext
in '' $ac_executable_extensions; do
20097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20098 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20105 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20109 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20111 if test -n "$GTK_CONFIG"; then
20112 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20113 echo "${ECHO_T}$GTK_CONFIG" >&6
20115 echo "$as_me:$LINENO: result: no" >&5
20116 echo "${ECHO_T}no" >&6
20119 min_gtk_version
=1.2.7
20120 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20121 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20123 if test "$GTK_CONFIG" = "no" ; then
20126 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20127 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20128 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20130 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20132 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20134 if test "x$enable_gtktest" = "xyes" ; then
20135 ac_save_CFLAGS
="$CFLAGS"
20136 ac_save_LIBS
="$LIBS"
20137 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20138 LIBS
="$GTK_LIBS $LIBS"
20140 if test "$cross_compiling" = yes; then
20141 echo $ac_n "cross compiling; assumed OK... $ac_c"
20143 cat >conftest.
$ac_ext <<_ACEOF
20144 #line $LINENO "configure"
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20151 #include <gtk/gtk.h>
20153 #include <stdlib.h>
20158 int major, minor, micro;
20161 system ("touch conf.gtktest");
20163 /* HP/UX 9 (%@#!) writes to sscanf strings */
20164 tmp_version = g_strdup("$min_gtk_version");
20165 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20166 printf("%s, bad version string\n", "$min_gtk_version");
20170 if ((gtk_major_version != $gtk_config_major_version) ||
20171 (gtk_minor_version != $gtk_config_minor_version) ||
20172 (gtk_micro_version != $gtk_config_micro_version))
20174 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20175 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20176 gtk_major_version, gtk_minor_version, gtk_micro_version);
20177 printf ("*** was found! If gtk-config was correct, then it is best\n");
20178 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20179 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20180 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20181 printf("*** required on your system.\n");
20182 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20183 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20184 printf("*** before re-running configure\n");
20186 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20187 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20188 (gtk_minor_version != GTK_MINOR_VERSION) ||
20189 (gtk_micro_version != GTK_MICRO_VERSION))
20191 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20192 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20193 printf("*** library (version %d.%d.%d)\n",
20194 gtk_major_version, gtk_minor_version, gtk_micro_version);
20196 #endif /* defined (GTK_MAJOR_VERSION) ... */
20199 if ((gtk_major_version > major) ||
20200 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20201 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20207 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20208 gtk_major_version, gtk_minor_version, gtk_micro_version);
20209 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20210 major, minor, micro);
20211 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20213 printf("*** If you have already installed a sufficiently new version, this error\n");
20214 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20215 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20216 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20217 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20218 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20219 printf("*** so that the correct libraries are found at run-time))\n");
20226 rm -f conftest
$ac_exeext
20227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20228 (eval $ac_link) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20239 echo "$as_me: program exited with status $ac_status" >&5
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.
$ac_ext >&5
20243 ( exit $ac_status )
20246 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20248 CFLAGS
="$ac_save_CFLAGS"
20249 LIBS
="$ac_save_LIBS"
20252 if test "x$no_gtk" = x
; then
20253 echo "$as_me:$LINENO: result: yes" >&5
20254 echo "${ECHO_T}yes" >&6
20255 wx_cv_lib_gtk
=1.2.7
20257 echo "$as_me:$LINENO: result: no" >&5
20258 echo "${ECHO_T}no" >&6
20259 if test "$GTK_CONFIG" = "no" ; then
20260 echo "*** The gtk-config script installed by GTK could not be found"
20261 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20262 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20263 echo "*** full path to gtk-config."
20265 if test -f conf.gtktest
; then
20268 echo "*** Could not run GTK test program, checking why..."
20269 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20270 LIBS
="$LIBS $GTK_LIBS"
20271 cat >conftest.
$ac_ext <<_ACEOF
20272 #line $LINENO "configure"
20275 cat confdefs.h
>>conftest.
$ac_ext
20276 cat >>conftest.
$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20279 #include <gtk/gtk.h>
20285 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20290 rm -f conftest.
$ac_objext conftest
$ac_exeext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20292 (eval $ac_link) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try
='test -s conftest$ac_exeext'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 echo "*** The test program compiled, but did not run. This usually means"
20303 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20304 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20305 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20306 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20307 echo "*** is required on your system"
20309 echo "*** If you have an old version installed, it is best to remove it, although"
20310 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20312 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20313 echo "*** came with the system with the command"
20315 echo "*** rpm --erase --nodeps gtk gtk-devel"
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.
$ac_ext >&5
20320 echo "*** The test program failed to compile or link. See the file config.log for the"
20321 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20322 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20323 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20325 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20326 CFLAGS
="$ac_save_CFLAGS"
20327 LIBS
="$ac_save_LIBS"
20339 if test -z "$wx_cv_lib_gtk"; then
20341 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20342 if test "${with_gtk_prefix+set}" = set; then
20343 withval
="$with_gtk_prefix"
20344 gtk_config_prefix
="$withval"
20346 gtk_config_prefix
=""
20349 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20350 if test "${with_gtk_exec_prefix+set}" = set; then
20351 withval
="$with_gtk_exec_prefix"
20352 gtk_config_exec_prefix
="$withval"
20354 gtk_config_exec_prefix
=""
20356 # Check whether --enable-gtktest or --disable-gtktest was given.
20357 if test "${enable_gtktest+set}" = set; then
20358 enableval
="$enable_gtktest"
20364 for module
in .
$GTK_MODULES
20368 gtk_config_args
="$gtk_config_args gthread"
20373 if test x
$gtk_config_exec_prefix != x
; then
20374 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20375 if test x
${GTK_CONFIG+set} != xset
; then
20376 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20379 if test x
$gtk_config_prefix != x
; then
20380 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20381 if test x
${GTK_CONFIG+set} != xset
; then
20382 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20386 # Extract the first word of "gtk-config", so it can be a program name with args.
20387 set dummy gtk
-config; ac_word
=$2
20388 echo "$as_me:$LINENO: checking for $ac_word" >&5
20389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20390 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 case $GTK_CONFIG in
20395 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20399 for as_dir
in $PATH
20402 test -z "$as_dir" && as_dir
=.
20403 for ac_exec_ext
in '' $ac_executable_extensions; do
20404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20405 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20412 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20416 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20418 if test -n "$GTK_CONFIG"; then
20419 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20420 echo "${ECHO_T}$GTK_CONFIG" >&6
20422 echo "$as_me:$LINENO: result: no" >&5
20423 echo "${ECHO_T}no" >&6
20426 min_gtk_version
=1.2.3
20427 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20428 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20430 if test "$GTK_CONFIG" = "no" ; then
20433 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20434 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20435 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20437 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20439 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20441 if test "x$enable_gtktest" = "xyes" ; then
20442 ac_save_CFLAGS
="$CFLAGS"
20443 ac_save_LIBS
="$LIBS"
20444 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20445 LIBS
="$GTK_LIBS $LIBS"
20447 if test "$cross_compiling" = yes; then
20448 echo $ac_n "cross compiling; assumed OK... $ac_c"
20450 cat >conftest.
$ac_ext <<_ACEOF
20451 #line $LINENO "configure"
20454 cat confdefs.h
>>conftest.
$ac_ext
20455 cat >>conftest.
$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20458 #include <gtk/gtk.h>
20460 #include <stdlib.h>
20465 int major, minor, micro;
20468 system ("touch conf.gtktest");
20470 /* HP/UX 9 (%@#!) writes to sscanf strings */
20471 tmp_version = g_strdup("$min_gtk_version");
20472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20473 printf("%s, bad version string\n", "$min_gtk_version");
20477 if ((gtk_major_version != $gtk_config_major_version) ||
20478 (gtk_minor_version != $gtk_config_minor_version) ||
20479 (gtk_micro_version != $gtk_config_micro_version))
20481 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20483 gtk_major_version, gtk_minor_version, gtk_micro_version);
20484 printf ("*** was found! If gtk-config was correct, then it is best\n");
20485 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20487 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20488 printf("*** required on your system.\n");
20489 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20490 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20491 printf("*** before re-running configure\n");
20493 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20494 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20495 (gtk_minor_version != GTK_MINOR_VERSION) ||
20496 (gtk_micro_version != GTK_MICRO_VERSION))
20498 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20499 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20500 printf("*** library (version %d.%d.%d)\n",
20501 gtk_major_version, gtk_minor_version, gtk_micro_version);
20503 #endif /* defined (GTK_MAJOR_VERSION) ... */
20506 if ((gtk_major_version > major) ||
20507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20515 gtk_major_version, gtk_minor_version, gtk_micro_version);
20516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20517 major, minor, micro);
20518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20520 printf("*** If you have already installed a sufficiently new version, this error\n");
20521 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20523 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20524 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20526 printf("*** so that the correct libraries are found at run-time))\n");
20533 rm -f conftest
$ac_exeext
20534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20535 (eval $ac_link) 2>&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20546 echo "$as_me: program exited with status $ac_status" >&5
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.
$ac_ext >&5
20550 ( exit $ac_status )
20553 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20555 CFLAGS
="$ac_save_CFLAGS"
20556 LIBS
="$ac_save_LIBS"
20559 if test "x$no_gtk" = x
; then
20560 echo "$as_me:$LINENO: result: yes" >&5
20561 echo "${ECHO_T}yes" >&6
20562 wx_cv_lib_gtk
=1.2.3
20564 echo "$as_me:$LINENO: result: no" >&5
20565 echo "${ECHO_T}no" >&6
20566 if test "$GTK_CONFIG" = "no" ; then
20567 echo "*** The gtk-config script installed by GTK could not be found"
20568 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20569 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20570 echo "*** full path to gtk-config."
20572 if test -f conf.gtktest
; then
20575 echo "*** Could not run GTK test program, checking why..."
20576 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20577 LIBS
="$LIBS $GTK_LIBS"
20578 cat >conftest.
$ac_ext <<_ACEOF
20579 #line $LINENO "configure"
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20586 #include <gtk/gtk.h>
20592 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20597 rm -f conftest.
$ac_objext conftest
$ac_exeext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599 (eval $ac_link) 2>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try
='test -s conftest$ac_exeext'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; }; then
20609 echo "*** The test program compiled, but did not run. This usually means"
20610 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20611 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20612 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20613 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20614 echo "*** is required on your system"
20616 echo "*** If you have an old version installed, it is best to remove it, although"
20617 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20619 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20620 echo "*** came with the system with the command"
20622 echo "*** rpm --erase --nodeps gtk gtk-devel"
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20627 echo "*** The test program failed to compile or link. See the file config.log for the"
20628 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20629 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20630 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20632 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20633 CFLAGS
="$ac_save_CFLAGS"
20634 LIBS
="$ac_save_LIBS"
20648 if test -z "$wx_cv_lib_gtk"; then
20651 wx_cv_cflags_gtk
=$GTK_CFLAGS
20652 wx_cv_libs_gtk
=$GTK_LIBS
20659 if test "$gtk_version_cached" = 1; then
20660 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20661 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20664 case "$wx_cv_lib_gtk" in
20673 *) { { echo "$as_me:$LINENO: error:
20674 Please check that gtk-config is in path, the directory
20675 where GTK+ libraries are installed (returned by
20676 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20677 equivalent variable and GTK+ is version 1.2.3 or above.
20679 echo "$as_me: error:
20680 Please check that gtk-config is in path, the directory
20681 where GTK+ libraries are installed (returned by
20682 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20683 equivalent variable and GTK+ is version 1.2.3 or above.
20685 { (exit 1); exit 1; }; }
20689 if test "$WXGTK20" = 1; then
20690 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20694 if test -z "$PKG_CONFIG"; then
20695 # Extract the first word of "pkg-config", so it can be a program name with args.
20696 set dummy pkg
-config; ac_word
=$2
20697 echo "$as_me:$LINENO: checking for $ac_word" >&5
20698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20699 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20700 echo $ECHO_N "(cached) $ECHO_C" >&6
20702 case $PKG_CONFIG in
20704 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20708 for as_dir
in $PATH
20711 test -z "$as_dir" && as_dir
=.
20712 for ac_exec_ext
in '' $ac_executable_extensions; do
20713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20714 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20721 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20725 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20727 if test -n "$PKG_CONFIG"; then
20728 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20729 echo "${ECHO_T}$PKG_CONFIG" >&6
20731 echo "$as_me:$LINENO: result: no" >&5
20732 echo "${ECHO_T}no" >&6
20737 if test "$PKG_CONFIG" = "no" ; then
20738 echo "*** The pkg-config script could not be found. Make sure it is"
20739 echo "*** in your path, or set the PKG_CONFIG environment variable"
20740 echo "*** to the full path to pkg-config."
20741 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20743 PKG_CONFIG_MIN_VERSION
=0.9.0
20744 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20745 echo "$as_me:$LINENO: checking for pangoft2" >&5
20746 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20748 if $PKG_CONFIG --exists "pangoft2" ; then
20749 echo "$as_me:$LINENO: result: yes" >&5
20750 echo "${ECHO_T}yes" >&6
20753 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20754 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20755 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20756 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20757 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20759 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20760 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20761 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20762 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20763 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20767 ## If we have a custom action on failure, don't print errors, but
20768 ## do set a variable so people can do so.
20769 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20776 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20777 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20781 if test $succeeded = yes; then
20783 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20784 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20788 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20789 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20790 wxUSE_PRINTING_ARCHITECTURE
="no"
20797 if test "$wxUSE_UNICODE" = "yes"; then
20798 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20799 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20804 if test "$USE_DARWIN" != 1; then
20806 for ac_func
in poll
20808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20809 echo "$as_me:$LINENO: checking for $ac_func" >&5
20810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20811 if eval "test \"\${$as_ac_var+set}\" = set"; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 cat >conftest.
$ac_ext <<_ACEOF
20815 #line $LINENO "configure"
20818 cat confdefs.h
>>conftest.
$ac_ext
20819 cat >>conftest.
$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 /* System header to define __stub macros and hopefully few prototypes,
20822 which can conflict with char $ac_func (); below.
20823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20824 <limits.h> exists even on freestanding compilers. */
20826 # include <limits.h>
20828 # include <assert.h>
20830 /* Override any gcc2 internal prototype to avoid an error. */
20835 /* We use char because int might match the return type of a gcc2
20836 builtin and then its argument prototype would still apply. */
20838 /* The GNU C library defines this for functions which it implements
20839 to always fail with ENOSYS. Some functions are actually named
20840 something starting with __ and the normal name is an alias. */
20841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20844 char (*f) () = $ac_func;
20853 return f != $ac_func;
20858 rm -f conftest.
$ac_objext conftest
$ac_exeext
20859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20860 (eval $ac_link) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } &&
20864 { ac_try
='test -s conftest$ac_exeext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 eval "$as_ac_var=yes"
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.
$ac_ext >&5
20875 eval "$as_ac_var=no"
20877 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20881 if test `eval echo '${'$as_ac_var'}'` = yes; then
20882 cat >>confdefs.h
<<_ACEOF
20883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20891 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20892 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20894 AFMINSTALL
=afminstall
20898 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20899 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20900 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 ac_check_lib_save_LIBS
=$LIBS
20905 cat >conftest.
$ac_ext <<_ACEOF
20906 #line $LINENO "configure"
20909 cat confdefs.h
>>conftest.
$ac_ext
20910 cat >>conftest.
$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20913 /* Override any gcc2 internal prototype to avoid an error. */
20917 /* We use char because int might match the return type of a gcc2
20918 builtin and then its argument prototype would still apply. */
20919 char gdk_im_open ();
20928 rm -f conftest.
$ac_objext conftest
$ac_exeext
20929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20930 (eval $ac_link) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } &&
20934 { ac_try
='test -s conftest$ac_exeext'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_lib_gdk_gdk_im_open
=yes
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.
$ac_ext >&5
20945 ac_cv_lib_gdk_gdk_im_open
=no
20947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20948 LIBS
=$ac_check_lib_save_LIBS
20950 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20951 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20952 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20953 cat >>confdefs.h
<<\_ACEOF
20961 if test "$wxUSE_MGL" = 1; then
20962 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20963 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20964 if test "x$MGL_ROOT" = x
; then
20965 echo "$as_me:$LINENO: result: not found" >&5
20966 echo "${ECHO_T}not found" >&6
20967 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20968 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20969 { (exit 1); exit 1; }; }
20971 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20972 echo "${ECHO_T}$MGL_ROOT" >&6
20975 echo "$as_me:$LINENO: checking for libmgl location" >&5
20976 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20979 if test "x$wxUSE_SHARED" = xyes
; then
20980 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20982 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20986 mgl_os_candidates
="dos32/dj2"
20989 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20990 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20991 { (exit 1); exit 1; }; }
20997 for mgl_os_i
in $mgl_os_candidates ; do
20998 if test "x$mgl_os" = x
; then
20999 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21000 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21001 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21006 if test "x$mgl_lib_type" = x
; then
21007 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21008 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21009 mgl_lib_type
=release
21016 if test "x$mgl_os" = x
; then
21017 echo "$as_me:$LINENO: result: not found" >&5
21018 echo "${ECHO_T}not found" >&6
21019 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21020 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21021 { (exit 1); exit 1; }; }
21023 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21024 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21026 wxUSE_UNIVERSAL
="yes"
21028 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21029 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21031 AFMINSTALL
=afminstall
21036 if test "$wxUSE_MICROWIN" = 1; then
21037 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21038 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21039 if test "x$MICROWINDOWS" = x
; then
21040 echo "$as_me:$LINENO: result: not found" >&5
21041 echo "${ECHO_T}not found" >&6
21042 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21043 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21044 { (exit 1); exit 1; }; }
21046 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21047 echo "${ECHO_T}$MICROWINDOWS" >&6
21050 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21051 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21052 echo "${ECHO_T}MicroWindows' libraries found." >&6
21054 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21055 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21056 { (exit 1); exit 1; }; }
21059 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21060 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21062 wxUSE_UNIVERSAL
="yes"
21064 AFMINSTALL
=afminstall
21066 GUIDIST
=MICROWIN_DIST
21068 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21071 if test "$wxUSE_X11" = 1; then
21072 echo "$as_me:$LINENO: checking for X" >&5
21073 echo $ECHO_N "checking for X... $ECHO_C" >&6
21076 # Check whether --with-x or --without-x was given.
21077 if test "${with_x+set}" = set; then
21081 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21082 if test "x$with_x" = xno
; then
21083 # The user explicitly disabled X.
21086 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21087 # Both variables are already set.
21090 if test "${ac_cv_have_x+set}" = set; then
21091 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 # One or both of the vars are not set, and there is no cached value.
21094 ac_x_includes
=no ac_x_libraries
=no
21095 rm -fr conftest.dir
21096 if mkdir conftest.dir
; then
21098 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21099 cat >Imakefile
<<'_ACEOF'
21101 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21103 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21104 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21105 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21106 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21107 for ac_extension
in a so sl
; do
21108 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21109 test -f $ac_im_libdir/libX11.
$ac_extension; then
21110 ac_im_usrlibdir
=$ac_im_libdir; break
21113 # Screen out bogus values from the imake configuration. They are
21114 # bogus both because they are the default anyway, and because
21115 # using them would break gcc on systems where it needs fixed includes.
21116 case $ac_im_incroot in
21118 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21120 case $ac_im_usrlibdir in
21121 /usr
/lib
| /lib
) ;;
21122 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21126 rm -fr conftest.dir
21129 # Standard set of common directories for X headers.
21130 # Check X11 before X11Rn because it is often a symlink to the current release.
21142 /usr/local/X11/include
21143 /usr/local/X11R6/include
21144 /usr/local/X11R5/include
21145 /usr/local/X11R4/include
21147 /usr/local/include/X11
21148 /usr/local/include/X11R6
21149 /usr/local/include/X11R5
21150 /usr/local/include/X11R4
21154 /usr/XFree86/include/X11
21158 /usr/unsupported/include
21159 /usr/athena/include
21160 /usr/local/x11r5/include
21161 /usr/lpp/Xamples/include
21163 /usr/openwin/include
21164 /usr/openwin/share/include'
21166 if test "$ac_x_includes" = no
; then
21167 # Guess where to find include files, by looking for Intrinsic.h.
21168 # First, try using that file with no special directory specified.
21169 cat >conftest.
$ac_ext <<_ACEOF
21170 #line $LINENO "configure"
21173 cat confdefs.h
>>conftest.
$ac_ext
21174 cat >>conftest.
$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176 #include <X11/Intrinsic.h>
21178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21181 grep -v '^ *+' conftest.er1
>conftest.err
21183 cat conftest.err
>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } >/dev
/null
; then
21186 if test -s conftest.err
; then
21187 ac_cpp_err
=$ac_c_preproc_warn_flag
21194 if test -z "$ac_cpp_err"; then
21195 # We can compile using X headers with no special include directory.
21198 echo "$as_me: failed program was:" >&5
21199 sed 's/^/| /' conftest.
$ac_ext >&5
21201 for ac_dir
in $ac_x_header_dirs; do
21202 if test -r "$ac_dir/X11/Intrinsic.h"; then
21203 ac_x_includes
=$ac_dir
21208 rm -f conftest.err conftest.
$ac_ext
21209 fi # $ac_x_includes = no
21211 if test "$ac_x_libraries" = no
; then
21212 # Check for the libraries.
21213 # See if we find them without any special options.
21214 # Don't add to $LIBS permanently.
21217 cat >conftest.
$ac_ext <<_ACEOF
21218 #line $LINENO "configure"
21221 cat confdefs.h
>>conftest.
$ac_ext
21222 cat >>conftest.
$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 #include <X11/Intrinsic.h>
21233 rm -f conftest.
$ac_objext conftest
$ac_exeext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21235 (eval $ac_link) 2>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try
='test -s conftest$ac_exeext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21246 # We can link X programs with no special library path.
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.
$ac_ext >&5
21253 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21255 # Don't even attempt the hair of trying to link an X program!
21256 for ac_extension
in a so sl
; do
21257 if test -r $ac_dir/libXt.
$ac_extension; then
21258 ac_x_libraries
=$ac_dir
21264 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21265 fi # $ac_x_libraries = no
21267 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21268 # Didn't find X anywhere. Cache the known absence of X.
21269 ac_cv_have_x
="have_x=no"
21271 # Record where we found X for the cache.
21272 ac_cv_have_x
="have_x=yes \
21273 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21278 eval "$ac_cv_have_x"
21281 if test "$have_x" != yes; then
21282 echo "$as_me:$LINENO: result: $have_x" >&5
21283 echo "${ECHO_T}$have_x" >&6
21286 # If each of the values was on the command line, it overrides each guess.
21287 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21288 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21289 # Update the cache value to reflect the command line values.
21290 ac_cv_have_x
="have_x=yes \
21291 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21292 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21293 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21296 if test "$no_x" = yes; then
21297 # Not all programs may use this symbol, but it does not hurt to define it.
21299 cat >>confdefs.h
<<\_ACEOF
21300 #define X_DISPLAY_MISSING 1
21303 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21305 if test -n "$x_includes"; then
21306 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21309 # It would also be nice to do this for all -L options, not just this one.
21310 if test -n "$x_libraries"; then
21311 X_LIBS
="$X_LIBS -L$x_libraries"
21312 # For Solaris; some versions of Sun CC require a space after -R and
21313 # others require no space. Words are not sufficient . . . .
21314 case `(uname -sr) 2>/dev/null` in
21316 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21317 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21318 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21319 cat >conftest.
$ac_ext <<_ACEOF
21320 #line $LINENO "configure"
21323 cat confdefs.h
>>conftest.
$ac_ext
21324 cat >>conftest.
$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21335 rm -f conftest.
$ac_objext conftest
$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try
='test -s conftest$ac_exeext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.
$ac_ext >&5
21354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21355 if test $ac_R_nospace = yes; then
21356 echo "$as_me:$LINENO: result: no" >&5
21357 echo "${ECHO_T}no" >&6
21358 X_LIBS
="$X_LIBS -R$x_libraries"
21360 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21361 cat >conftest.
$ac_ext <<_ACEOF
21362 #line $LINENO "configure"
21365 cat confdefs.h
>>conftest.
$ac_ext
21366 cat >>conftest.
$ac_ext <<_ACEOF
21367 /* end confdefs.h. */
21377 rm -f conftest.
$ac_objext conftest
$ac_exeext
21378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21379 (eval $ac_link) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try
='test -s conftest$ac_exeext'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; }; then
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.
$ac_ext >&5
21396 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21397 if test $ac_R_space = yes; then
21398 echo "$as_me:$LINENO: result: yes" >&5
21399 echo "${ECHO_T}yes" >&6
21400 X_LIBS
="$X_LIBS -R $x_libraries"
21402 echo "$as_me:$LINENO: result: neither works" >&5
21403 echo "${ECHO_T}neither works" >&6
21406 LIBS
=$ac_xsave_LIBS
21410 # Check for system-dependent libraries X programs must link with.
21411 # Do this before checking for the system-independent R6 libraries
21412 # (-lICE), since we may need -lsocket or whatever for X linking.
21414 if test "$ISC" = yes; then
21415 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21417 # Martyn Johnson says this is needed for Ultrix, if the X
21418 # libraries were built with DECnet support. And Karl Berry says
21419 # the Alpha needs dnet_stub (dnet does not exist).
21420 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21421 cat >conftest.
$ac_ext <<_ACEOF
21422 #line $LINENO "configure"
21425 cat confdefs.h
>>conftest.
$ac_ext
21426 cat >>conftest.
$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21429 /* Override any gcc2 internal prototype to avoid an error. */
21433 /* We use char because int might match the return type of a gcc2
21434 builtin and then its argument prototype would still apply. */
21435 char XOpenDisplay ();
21444 rm -f conftest.
$ac_objext conftest
$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } &&
21450 { ac_try
='test -s conftest$ac_exeext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21462 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21463 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21466 ac_check_lib_save_LIBS
=$LIBS
21467 LIBS
="-ldnet $LIBS"
21468 cat >conftest.
$ac_ext <<_ACEOF
21469 #line $LINENO "configure"
21472 cat confdefs.h
>>conftest.
$ac_ext
21473 cat >>conftest.
$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21476 /* Override any gcc2 internal prototype to avoid an error. */
21480 /* We use char because int might match the return type of a gcc2
21481 builtin and then its argument prototype would still apply. */
21491 rm -f conftest.
$ac_objext conftest
$ac_exeext
21492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21493 (eval $ac_link) 2>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } &&
21497 { ac_try
='test -s conftest$ac_exeext'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; }; then
21503 ac_cv_lib_dnet_dnet_ntoa
=yes
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.
$ac_ext >&5
21508 ac_cv_lib_dnet_dnet_ntoa
=no
21510 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21511 LIBS
=$ac_check_lib_save_LIBS
21513 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21514 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21515 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21516 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21519 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21520 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21521 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21522 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 ac_check_lib_save_LIBS
=$LIBS
21526 LIBS
="-ldnet_stub $LIBS"
21527 cat >conftest.
$ac_ext <<_ACEOF
21528 #line $LINENO "configure"
21531 cat confdefs.h
>>conftest.
$ac_ext
21532 cat >>conftest.
$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21535 /* Override any gcc2 internal prototype to avoid an error. */
21539 /* We use char because int might match the return type of a gcc2
21540 builtin and then its argument prototype would still apply. */
21550 rm -f conftest.
$ac_objext conftest
$ac_exeext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552 (eval $ac_link) 2>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try
='test -s conftest$ac_exeext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.
$ac_ext >&5
21567 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21569 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21570 LIBS
=$ac_check_lib_save_LIBS
21572 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21573 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21574 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21575 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21581 LIBS
="$ac_xsave_LIBS"
21583 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21584 # to get the SysV transport functions.
21585 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21587 # The nsl library prevents programs from opening the X display
21588 # on Irix 5.2, according to T.E. Dickey.
21589 # The functions gethostbyname, getservbyname, and inet_addr are
21590 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21591 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21592 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21593 if test "${ac_cv_func_gethostbyname+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 cat >conftest.
$ac_ext <<_ACEOF
21597 #line $LINENO "configure"
21600 cat confdefs.h
>>conftest.
$ac_ext
21601 cat >>conftest.
$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21603 /* System header to define __stub macros and hopefully few prototypes,
21604 which can conflict with char gethostbyname (); below.
21605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21606 <limits.h> exists even on freestanding compilers. */
21608 # include <limits.h>
21610 # include <assert.h>
21612 /* Override any gcc2 internal prototype to avoid an error. */
21617 /* We use char because int might match the return type of a gcc2
21618 builtin and then its argument prototype would still apply. */
21619 char gethostbyname ();
21620 /* The GNU C library defines this for functions which it implements
21621 to always fail with ENOSYS. Some functions are actually named
21622 something starting with __ and the normal name is an alias. */
21623 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21626 char (*f) () = gethostbyname;
21635 return f != gethostbyname;
21640 rm -f conftest.
$ac_objext conftest
$ac_exeext
21641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21642 (eval $ac_link) 2>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try
='test -s conftest$ac_exeext'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; }; then
21652 ac_cv_func_gethostbyname
=yes
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.
$ac_ext >&5
21657 ac_cv_func_gethostbyname
=no
21659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21661 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21662 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21664 if test $ac_cv_func_gethostbyname = no
; then
21665 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21666 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21667 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21668 echo $ECHO_N "(cached) $ECHO_C" >&6
21670 ac_check_lib_save_LIBS
=$LIBS
21672 cat >conftest.
$ac_ext <<_ACEOF
21673 #line $LINENO "configure"
21676 cat confdefs.h
>>conftest.
$ac_ext
21677 cat >>conftest.
$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21680 /* Override any gcc2 internal prototype to avoid an error. */
21684 /* We use char because int might match the return type of a gcc2
21685 builtin and then its argument prototype would still apply. */
21686 char gethostbyname ();
21695 rm -f conftest.
$ac_objext conftest
$ac_exeext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21697 (eval $ac_link) 2>&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } &&
21701 { ac_try
='test -s conftest$ac_exeext'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 ac_cv_lib_nsl_gethostbyname
=yes
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.
$ac_ext >&5
21712 ac_cv_lib_nsl_gethostbyname
=no
21714 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21715 LIBS
=$ac_check_lib_save_LIBS
21717 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21718 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21719 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21720 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21723 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21724 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21725 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21726 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21727 echo $ECHO_N "(cached) $ECHO_C" >&6
21729 ac_check_lib_save_LIBS
=$LIBS
21731 cat >conftest.
$ac_ext <<_ACEOF
21732 #line $LINENO "configure"
21735 cat confdefs.h
>>conftest.
$ac_ext
21736 cat >>conftest.
$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21739 /* Override any gcc2 internal prototype to avoid an error. */
21743 /* We use char because int might match the return type of a gcc2
21744 builtin and then its argument prototype would still apply. */
21745 char gethostbyname ();
21754 rm -f conftest.
$ac_objext conftest
$ac_exeext
21755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21756 (eval $ac_link) 2>&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } &&
21760 { ac_try
='test -s conftest$ac_exeext'
21761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21762 (eval $ac_try) 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); }; }; then
21766 ac_cv_lib_bsd_gethostbyname
=yes
21768 echo "$as_me: failed program was:" >&5
21769 sed 's/^/| /' conftest.
$ac_ext >&5
21771 ac_cv_lib_bsd_gethostbyname
=no
21773 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21774 LIBS
=$ac_check_lib_save_LIBS
21776 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21777 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21778 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21785 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21786 # socket/setsockopt and other routines are undefined under SCO ODT
21787 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21788 # on later versions), says Simon Leinen: it contains gethostby*
21789 # variants that don't use the name server (or something). -lsocket
21790 # must be given before -lnsl if both are needed. We assume that
21791 # if connect needs -lnsl, so does gethostbyname.
21792 echo "$as_me:$LINENO: checking for connect" >&5
21793 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21794 if test "${ac_cv_func_connect+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 cat >conftest.
$ac_ext <<_ACEOF
21798 #line $LINENO "configure"
21801 cat confdefs.h
>>conftest.
$ac_ext
21802 cat >>conftest.
$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 /* System header to define __stub macros and hopefully few prototypes,
21805 which can conflict with char connect (); below.
21806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21807 <limits.h> exists even on freestanding compilers. */
21809 # include <limits.h>
21811 # include <assert.h>
21813 /* Override any gcc2 internal prototype to avoid an error. */
21818 /* We use char because int might match the return type of a gcc2
21819 builtin and then its argument prototype would still apply. */
21821 /* The GNU C library defines this for functions which it implements
21822 to always fail with ENOSYS. Some functions are actually named
21823 something starting with __ and the normal name is an alias. */
21824 #if defined (__stub_connect) || defined (__stub___connect)
21827 char (*f) () = connect;
21836 return f != connect;
21841 rm -f conftest.
$ac_objext conftest
$ac_exeext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21843 (eval $ac_link) 2>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try
='test -s conftest$ac_exeext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_func_connect
=yes
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.
$ac_ext >&5
21858 ac_cv_func_connect
=no
21860 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21862 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21863 echo "${ECHO_T}$ac_cv_func_connect" >&6
21865 if test $ac_cv_func_connect = no
; then
21866 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21867 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21868 if test "${ac_cv_lib_socket_connect+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 ac_check_lib_save_LIBS
=$LIBS
21872 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21873 cat >conftest.
$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21881 /* Override any gcc2 internal prototype to avoid an error. */
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21896 rm -f conftest.
$ac_objext conftest
$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try
='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 ac_cv_lib_socket_connect
=yes
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.
$ac_ext >&5
21913 ac_cv_lib_socket_connect
=no
21915 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21916 LIBS
=$ac_check_lib_save_LIBS
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21919 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21920 if test $ac_cv_lib_socket_connect = yes; then
21921 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21926 # Guillermo Gomez says -lposix is necessary on A/UX.
21927 echo "$as_me:$LINENO: checking for remove" >&5
21928 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21929 if test "${ac_cv_func_remove+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21932 cat >conftest.
$ac_ext <<_ACEOF
21933 #line $LINENO "configure"
21936 cat confdefs.h
>>conftest.
$ac_ext
21937 cat >>conftest.
$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939 /* System header to define __stub macros and hopefully few prototypes,
21940 which can conflict with char remove (); below.
21941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21942 <limits.h> exists even on freestanding compilers. */
21944 # include <limits.h>
21946 # include <assert.h>
21948 /* Override any gcc2 internal prototype to avoid an error. */
21953 /* We use char because int might match the return type of a gcc2
21954 builtin and then its argument prototype would still apply. */
21956 /* The GNU C library defines this for functions which it implements
21957 to always fail with ENOSYS. Some functions are actually named
21958 something starting with __ and the normal name is an alias. */
21959 #if defined (__stub_remove) || defined (__stub___remove)
21962 char (*f) () = remove;
21971 return f != remove;
21976 rm -f conftest.
$ac_objext conftest
$ac_exeext
21977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21978 (eval $ac_link) 2>&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); } &&
21982 { ac_try
='test -s conftest$ac_exeext'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; }; then
21988 ac_cv_func_remove
=yes
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.
$ac_ext >&5
21993 ac_cv_func_remove
=no
21995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21997 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21998 echo "${ECHO_T}$ac_cv_func_remove" >&6
22000 if test $ac_cv_func_remove = no
; then
22001 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22002 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22003 if test "${ac_cv_lib_posix_remove+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 ac_check_lib_save_LIBS
=$LIBS
22007 LIBS
="-lposix $LIBS"
22008 cat >conftest.
$ac_ext <<_ACEOF
22009 #line $LINENO "configure"
22012 cat confdefs.h
>>conftest.
$ac_ext
22013 cat >>conftest.
$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22016 /* Override any gcc2 internal prototype to avoid an error. */
22020 /* We use char because int might match the return type of a gcc2
22021 builtin and then its argument prototype would still apply. */
22031 rm -f conftest.
$ac_objext conftest
$ac_exeext
22032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22033 (eval $ac_link) 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } &&
22037 { ac_try
='test -s conftest$ac_exeext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 ac_cv_lib_posix_remove
=yes
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.
$ac_ext >&5
22048 ac_cv_lib_posix_remove
=no
22050 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22051 LIBS
=$ac_check_lib_save_LIBS
22053 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22054 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22055 if test $ac_cv_lib_posix_remove = yes; then
22056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22062 echo "$as_me:$LINENO: checking for shmat" >&5
22063 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22064 if test "${ac_cv_func_shmat+set}" = set; then
22065 echo $ECHO_N "(cached) $ECHO_C" >&6
22067 cat >conftest.
$ac_ext <<_ACEOF
22068 #line $LINENO "configure"
22071 cat confdefs.h
>>conftest.
$ac_ext
22072 cat >>conftest.
$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 /* System header to define __stub macros and hopefully few prototypes,
22075 which can conflict with char shmat (); below.
22076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22077 <limits.h> exists even on freestanding compilers. */
22079 # include <limits.h>
22081 # include <assert.h>
22083 /* Override any gcc2 internal prototype to avoid an error. */
22088 /* We use char because int might match the return type of a gcc2
22089 builtin and then its argument prototype would still apply. */
22091 /* The GNU C library defines this for functions which it implements
22092 to always fail with ENOSYS. Some functions are actually named
22093 something starting with __ and the normal name is an alias. */
22094 #if defined (__stub_shmat) || defined (__stub___shmat)
22097 char (*f) () = shmat;
22111 rm -f conftest.
$ac_objext conftest
$ac_exeext
22112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22113 (eval $ac_link) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try
='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 ac_cv_func_shmat
=yes
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.
$ac_ext >&5
22128 ac_cv_func_shmat
=no
22130 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22132 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22133 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22135 if test $ac_cv_func_shmat = no
; then
22136 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22137 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22138 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22141 ac_check_lib_save_LIBS
=$LIBS
22143 cat >conftest.
$ac_ext <<_ACEOF
22144 #line $LINENO "configure"
22147 cat confdefs.h
>>conftest.
$ac_ext
22148 cat >>conftest.
$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22151 /* Override any gcc2 internal prototype to avoid an error. */
22155 /* We use char because int might match the return type of a gcc2
22156 builtin and then its argument prototype would still apply. */
22166 rm -f conftest.
$ac_objext conftest
$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } &&
22172 { ac_try
='test -s conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_lib_ipc_shmat
=yes
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.
$ac_ext >&5
22183 ac_cv_lib_ipc_shmat
=no
22185 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22186 LIBS
=$ac_check_lib_save_LIBS
22188 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22189 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22190 if test $ac_cv_lib_ipc_shmat = yes; then
22191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22197 # Check for libraries that X11R6 Xt/Xaw programs need.
22198 ac_save_LDFLAGS
=$LDFLAGS
22199 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22200 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22201 # check for ICE first), but we must link in the order -lSM -lICE or
22202 # we get undefined symbols. So assume we have SM if we have ICE.
22203 # These have to be linked with before -lX11, unlike the other
22204 # libraries we check for below, so use a different variable.
22205 # John Interrante, Karl Berry
22206 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22207 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22208 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 ac_check_lib_save_LIBS
=$LIBS
22212 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22213 cat >conftest.
$ac_ext <<_ACEOF
22214 #line $LINENO "configure"
22217 cat confdefs.h
>>conftest.
$ac_ext
22218 cat >>conftest.
$ac_ext <<_ACEOF
22219 /* end confdefs.h. */
22221 /* Override any gcc2 internal prototype to avoid an error. */
22225 /* We use char because int might match the return type of a gcc2
22226 builtin and then its argument prototype would still apply. */
22227 char IceConnectionNumber ();
22231 IceConnectionNumber ();
22236 rm -f conftest.
$ac_objext conftest
$ac_exeext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22238 (eval $ac_link) 2>&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try
='test -s conftest$ac_exeext'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; }; then
22248 ac_cv_lib_ICE_IceConnectionNumber
=yes
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.
$ac_ext >&5
22253 ac_cv_lib_ICE_IceConnectionNumber
=no
22255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22256 LIBS
=$ac_check_lib_save_LIBS
22258 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22259 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22260 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22261 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22264 LDFLAGS
=$ac_save_LDFLAGS
22269 if test "$no_x" = "yes"; then
22270 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22271 echo "$as_me: error: X11 not found" >&2;}
22272 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22275 GUI_TK_LIBRARY
="$X_LIBS"
22276 TOOLKIT_INCLUDE
="$X_CFLAGS"
22277 AFMINSTALL
=afminstall
22278 COMPILED_X_PROGRAM
=0
22280 if test "$wxUSE_NANOX" = "yes"; then
22281 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22282 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22283 if test "x$MICROWIN" = x
; then
22284 echo "$as_me:$LINENO: result: not found" >&5
22285 echo "${ECHO_T}not found" >&6
22286 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22287 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22288 { (exit 1); exit 1; }; }
22290 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22291 echo "${ECHO_T}$MICROWIN" >&6
22292 cat >>confdefs.h
<<\_ACEOF
22293 #define wxUSE_NANOX 1
22300 echo "$as_me:$LINENO: checking for Xpm library" >&5
22301 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22304 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22306 for ac_extension
in a so sl dylib
; do
22307 if test -f "$ac_dir/libXpm.$ac_extension"; then
22308 ac_find_libraries
=$ac_dir
22314 if test "$ac_find_libraries" != "" ; then
22316 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22318 if test $result = 0; then
22321 ac_path_to_link
=" -L$ac_find_libraries"
22324 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22326 cat >>confdefs.h
<<\_ACEOF
22327 #define wxHAVE_LIB_XPM 1
22330 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22331 echo "${ECHO_T}found at $ac_find_libraries" >&6
22333 cat >conftest.
$ac_ext <<_ACEOF
22334 #line $LINENO "configure"
22337 cat confdefs.h
>>conftest.
$ac_ext
22338 cat >>conftest.
$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22341 #include <X11/xpm.h>
22348 version = XpmLibraryVersion();
22354 rm -f conftest.
$ac_objext
22355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22356 (eval $ac_compile) 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); } &&
22360 { ac_try
='test -s conftest.$ac_objext'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22368 cat >>confdefs.h
<<\_ACEOF
22369 #define wxHAVE_LIB_XPM 1
22372 echo "$as_me:$LINENO: result: found in default search path" >&5
22373 echo "${ECHO_T}found in default search path" >&6
22374 COMPILED_X_PROGRAM
=0
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.
$ac_ext >&5
22381 echo "$as_me:$LINENO: result: no" >&5
22382 echo "${ECHO_T}no" >&6
22383 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22384 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22388 rm -f conftest.
$ac_objext conftest.
$ac_ext
22391 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22392 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22393 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22396 ac_check_lib_save_LIBS
=$LIBS
22397 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22398 cat >conftest.
$ac_ext <<_ACEOF
22399 #line $LINENO "configure"
22402 cat confdefs.h
>>conftest.
$ac_ext
22403 cat >>conftest.
$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22406 /* Override any gcc2 internal prototype to avoid an error. */
22410 /* We use char because int might match the return type of a gcc2
22411 builtin and then its argument prototype would still apply. */
22412 char XShapeQueryExtension ();
22416 XShapeQueryExtension ();
22421 rm -f conftest.
$ac_objext conftest
$ac_exeext
22422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22423 (eval $ac_link) 2>&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); } &&
22427 { ac_try
='test -s conftest$ac_exeext'
22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429 (eval $ac_try) 2>&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; }; then
22433 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.
$ac_ext >&5
22438 ac_cv_lib_Xext_XShapeQueryExtension
=no
22440 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22441 LIBS
=$ac_check_lib_save_LIBS
22443 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22444 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22445 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22447 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22453 if test "$wxUSE_UNICODE" = "yes"; then
22457 if test -z "$PKG_CONFIG"; then
22458 # Extract the first word of "pkg-config", so it can be a program name with args.
22459 set dummy pkg
-config; ac_word
=$2
22460 echo "$as_me:$LINENO: checking for $ac_word" >&5
22461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22462 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 case $PKG_CONFIG in
22467 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22471 for as_dir
in $PATH
22474 test -z "$as_dir" && as_dir
=.
22475 for ac_exec_ext
in '' $ac_executable_extensions; do
22476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22477 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22484 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22488 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22490 if test -n "$PKG_CONFIG"; then
22491 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22492 echo "${ECHO_T}$PKG_CONFIG" >&6
22494 echo "$as_me:$LINENO: result: no" >&5
22495 echo "${ECHO_T}no" >&6
22500 if test "$PKG_CONFIG" = "no" ; then
22501 echo "*** The pkg-config script could not be found. Make sure it is"
22502 echo "*** in your path, or set the PKG_CONFIG environment variable"
22503 echo "*** to the full path to pkg-config."
22504 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22506 PKG_CONFIG_MIN_VERSION
=0.9.0
22507 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22508 echo "$as_me:$LINENO: checking for pangox" >&5
22509 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22511 if $PKG_CONFIG --exists "pangox" ; then
22512 echo "$as_me:$LINENO: result: yes" >&5
22513 echo "${ECHO_T}yes" >&6
22516 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22517 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22518 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22519 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22520 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22522 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22523 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22524 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22525 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22526 echo "${ECHO_T}$PANGOX_LIBS" >&6
22530 ## If we have a custom action on failure, don't print errors, but
22531 ## do set a variable so people can do so.
22532 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22539 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22540 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22544 if test $succeeded = yes; then
22546 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22547 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22551 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22552 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22553 { (exit 1); exit 1; }; }
22561 if test -z "$PKG_CONFIG"; then
22562 # Extract the first word of "pkg-config", so it can be a program name with args.
22563 set dummy pkg
-config; ac_word
=$2
22564 echo "$as_me:$LINENO: checking for $ac_word" >&5
22565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 case $PKG_CONFIG in
22571 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22575 for as_dir
in $PATH
22578 test -z "$as_dir" && as_dir
=.
22579 for ac_exec_ext
in '' $ac_executable_extensions; do
22580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22581 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22588 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22592 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22594 if test -n "$PKG_CONFIG"; then
22595 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22596 echo "${ECHO_T}$PKG_CONFIG" >&6
22598 echo "$as_me:$LINENO: result: no" >&5
22599 echo "${ECHO_T}no" >&6
22604 if test "$PKG_CONFIG" = "no" ; then
22605 echo "*** The pkg-config script could not be found. Make sure it is"
22606 echo "*** in your path, or set the PKG_CONFIG environment variable"
22607 echo "*** to the full path to pkg-config."
22608 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22610 PKG_CONFIG_MIN_VERSION
=0.9.0
22611 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22612 echo "$as_me:$LINENO: checking for pangoft2" >&5
22613 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22615 if $PKG_CONFIG --exists "pangoft2" ; then
22616 echo "$as_me:$LINENO: result: yes" >&5
22617 echo "${ECHO_T}yes" >&6
22620 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22621 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22622 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22623 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22624 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22626 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22627 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22628 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22629 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22630 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22634 ## If we have a custom action on failure, don't print errors, but
22635 ## do set a variable so people can do so.
22636 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22643 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22644 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22648 if test $succeeded = yes; then
22650 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22651 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22655 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22656 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22657 wxUSE_PRINTING_ARCHITECTURE
="no"
22665 if test -z "$PKG_CONFIG"; then
22666 # Extract the first word of "pkg-config", so it can be a program name with args.
22667 set dummy pkg
-config; ac_word
=$2
22668 echo "$as_me:$LINENO: checking for $ac_word" >&5
22669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 case $PKG_CONFIG in
22675 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22679 for as_dir
in $PATH
22682 test -z "$as_dir" && as_dir
=.
22683 for ac_exec_ext
in '' $ac_executable_extensions; do
22684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22685 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22692 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22696 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22698 if test -n "$PKG_CONFIG"; then
22699 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22700 echo "${ECHO_T}$PKG_CONFIG" >&6
22702 echo "$as_me:$LINENO: result: no" >&5
22703 echo "${ECHO_T}no" >&6
22708 if test "$PKG_CONFIG" = "no" ; then
22709 echo "*** The pkg-config script could not be found. Make sure it is"
22710 echo "*** in your path, or set the PKG_CONFIG environment variable"
22711 echo "*** to the full path to pkg-config."
22712 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22714 PKG_CONFIG_MIN_VERSION
=0.9.0
22715 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22716 echo "$as_me:$LINENO: checking for pangoxft" >&5
22717 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22719 if $PKG_CONFIG --exists "pangoxft" ; then
22720 echo "$as_me:$LINENO: result: yes" >&5
22721 echo "${ECHO_T}yes" >&6
22724 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22725 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22726 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22727 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22728 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22730 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22731 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22732 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22733 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22734 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22738 ## If we have a custom action on failure, don't print errors, but
22739 ## do set a variable so people can do so.
22740 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22747 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22748 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22752 if test $succeeded = yes; then
22754 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22755 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22759 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22760 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22767 wxUSE_UNIVERSAL
="yes"
22769 if test "$wxUSE_NANOX" = "yes"; then
22770 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22771 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"
22772 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22774 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22777 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22782 if test "$wxUSE_MOTIF" = 1; then
22783 if test "$no_x" = yes; then
22784 # Not all programs may use this symbol, but it does not hurt to define it.
22786 cat >>confdefs.h
<<\_ACEOF
22787 #define X_DISPLAY_MISSING 1
22790 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22792 if test -n "$x_includes"; then
22793 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22796 # It would also be nice to do this for all -L options, not just this one.
22797 if test -n "$x_libraries"; then
22798 X_LIBS
="$X_LIBS -L$x_libraries"
22799 # For Solaris; some versions of Sun CC require a space after -R and
22800 # others require no space. Words are not sufficient . . . .
22801 case `(uname -sr) 2>/dev/null` in
22803 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22804 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22805 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22806 cat >conftest.
$ac_ext <<_ACEOF
22807 #line $LINENO "configure"
22810 cat confdefs.h
>>conftest.
$ac_ext
22811 cat >>conftest.
$ac_ext <<_ACEOF
22812 /* end confdefs.h. */
22822 rm -f conftest.
$ac_objext conftest
$ac_exeext
22823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22824 (eval $ac_link) 2>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } &&
22828 { ac_try
='test -s conftest$ac_exeext'
22829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830 (eval $ac_try) 2>&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); }; }; then
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.
$ac_ext >&5
22841 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22842 if test $ac_R_nospace = yes; then
22843 echo "$as_me:$LINENO: result: no" >&5
22844 echo "${ECHO_T}no" >&6
22845 X_LIBS
="$X_LIBS -R$x_libraries"
22847 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22848 cat >conftest.
$ac_ext <<_ACEOF
22849 #line $LINENO "configure"
22852 cat confdefs.h
>>conftest.
$ac_ext
22853 cat >>conftest.
$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22864 rm -f conftest.
$ac_objext conftest
$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try
='test -s conftest$ac_exeext'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; }; then
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.
$ac_ext >&5
22883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22884 if test $ac_R_space = yes; then
22885 echo "$as_me:$LINENO: result: yes" >&5
22886 echo "${ECHO_T}yes" >&6
22887 X_LIBS
="$X_LIBS -R $x_libraries"
22889 echo "$as_me:$LINENO: result: neither works" >&5
22890 echo "${ECHO_T}neither works" >&6
22893 LIBS
=$ac_xsave_LIBS
22897 # Check for system-dependent libraries X programs must link with.
22898 # Do this before checking for the system-independent R6 libraries
22899 # (-lICE), since we may need -lsocket or whatever for X linking.
22901 if test "$ISC" = yes; then
22902 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22904 # Martyn Johnson says this is needed for Ultrix, if the X
22905 # libraries were built with DECnet support. And Karl Berry says
22906 # the Alpha needs dnet_stub (dnet does not exist).
22907 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22908 cat >conftest.
$ac_ext <<_ACEOF
22909 #line $LINENO "configure"
22912 cat confdefs.h
>>conftest.
$ac_ext
22913 cat >>conftest.
$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22916 /* Override any gcc2 internal prototype to avoid an error. */
22920 /* We use char because int might match the return type of a gcc2
22921 builtin and then its argument prototype would still apply. */
22922 char XOpenDisplay ();
22931 rm -f conftest.
$ac_objext conftest
$ac_exeext
22932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22933 (eval $ac_link) 2>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try
='test -s conftest$ac_exeext'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; }; then
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.
$ac_ext >&5
22948 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22949 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22950 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22951 echo $ECHO_N "(cached) $ECHO_C" >&6
22953 ac_check_lib_save_LIBS
=$LIBS
22954 LIBS
="-ldnet $LIBS"
22955 cat >conftest.
$ac_ext <<_ACEOF
22956 #line $LINENO "configure"
22959 cat confdefs.h
>>conftest.
$ac_ext
22960 cat >>conftest.
$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22963 /* Override any gcc2 internal prototype to avoid an error. */
22967 /* We use char because int might match the return type of a gcc2
22968 builtin and then its argument prototype would still apply. */
22978 rm -f conftest.
$ac_objext conftest
$ac_exeext
22979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22980 (eval $ac_link) 2>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -s conftest$ac_exeext'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; }; then
22990 ac_cv_lib_dnet_dnet_ntoa
=yes
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22995 ac_cv_lib_dnet_dnet_ntoa
=no
22997 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22998 LIBS
=$ac_check_lib_save_LIBS
23000 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23001 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23002 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23003 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23006 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23007 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23008 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23009 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23010 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 ac_check_lib_save_LIBS
=$LIBS
23013 LIBS
="-ldnet_stub $LIBS"
23014 cat >conftest.
$ac_ext <<_ACEOF
23015 #line $LINENO "configure"
23018 cat confdefs.h
>>conftest.
$ac_ext
23019 cat >>conftest.
$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23022 /* Override any gcc2 internal prototype to avoid an error. */
23026 /* We use char because int might match the return type of a gcc2
23027 builtin and then its argument prototype would still apply. */
23037 rm -f conftest.
$ac_objext conftest
$ac_exeext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23039 (eval $ac_link) 2>&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); } &&
23043 { ac_try
='test -s conftest$ac_exeext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.
$ac_ext >&5
23054 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23057 LIBS
=$ac_check_lib_save_LIBS
23059 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23060 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23061 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23062 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23067 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23068 LIBS
="$ac_xsave_LIBS"
23070 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23071 # to get the SysV transport functions.
23072 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23074 # The nsl library prevents programs from opening the X display
23075 # on Irix 5.2, according to T.E. Dickey.
23076 # The functions gethostbyname, getservbyname, and inet_addr are
23077 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23078 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23079 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23080 if test "${ac_cv_func_gethostbyname+set}" = set; then
23081 echo $ECHO_N "(cached) $ECHO_C" >&6
23083 cat >conftest.
$ac_ext <<_ACEOF
23084 #line $LINENO "configure"
23087 cat confdefs.h
>>conftest.
$ac_ext
23088 cat >>conftest.
$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 /* System header to define __stub macros and hopefully few prototypes,
23091 which can conflict with char gethostbyname (); below.
23092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23093 <limits.h> exists even on freestanding compilers. */
23095 # include <limits.h>
23097 # include <assert.h>
23099 /* Override any gcc2 internal prototype to avoid an error. */
23104 /* We use char because int might match the return type of a gcc2
23105 builtin and then its argument prototype would still apply. */
23106 char gethostbyname ();
23107 /* The GNU C library defines this for functions which it implements
23108 to always fail with ENOSYS. Some functions are actually named
23109 something starting with __ and the normal name is an alias. */
23110 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23113 char (*f) () = gethostbyname;
23122 return f != gethostbyname;
23127 rm -f conftest.
$ac_objext conftest
$ac_exeext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23129 (eval $ac_link) 2>&5
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); } &&
23133 { ac_try
='test -s conftest$ac_exeext'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; }; then
23139 ac_cv_func_gethostbyname
=yes
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.
$ac_ext >&5
23144 ac_cv_func_gethostbyname
=no
23146 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23148 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23149 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23151 if test $ac_cv_func_gethostbyname = no
; then
23152 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23153 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23154 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23155 echo $ECHO_N "(cached) $ECHO_C" >&6
23157 ac_check_lib_save_LIBS
=$LIBS
23159 cat >conftest.
$ac_ext <<_ACEOF
23160 #line $LINENO "configure"
23163 cat confdefs.h
>>conftest.
$ac_ext
23164 cat >>conftest.
$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23167 /* Override any gcc2 internal prototype to avoid an error. */
23171 /* We use char because int might match the return type of a gcc2
23172 builtin and then its argument prototype would still apply. */
23173 char gethostbyname ();
23182 rm -f conftest.
$ac_objext conftest
$ac_exeext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184 (eval $ac_link) 2>&5
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } &&
23188 { ac_try
='test -s conftest$ac_exeext'
23189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23190 (eval $ac_try) 2>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; }; then
23194 ac_cv_lib_nsl_gethostbyname
=yes
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.
$ac_ext >&5
23199 ac_cv_lib_nsl_gethostbyname
=no
23201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23202 LIBS
=$ac_check_lib_save_LIBS
23204 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23205 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23206 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23210 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23211 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23212 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23213 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23214 echo $ECHO_N "(cached) $ECHO_C" >&6
23216 ac_check_lib_save_LIBS
=$LIBS
23218 cat >conftest.
$ac_ext <<_ACEOF
23219 #line $LINENO "configure"
23222 cat confdefs.h
>>conftest.
$ac_ext
23223 cat >>conftest.
$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23226 /* Override any gcc2 internal prototype to avoid an error. */
23230 /* We use char because int might match the return type of a gcc2
23231 builtin and then its argument prototype would still apply. */
23232 char gethostbyname ();
23241 rm -f conftest.
$ac_objext conftest
$ac_exeext
23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23243 (eval $ac_link) 2>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try
='test -s conftest$ac_exeext'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; }; then
23253 ac_cv_lib_bsd_gethostbyname
=yes
23255 echo "$as_me: failed program was:" >&5
23256 sed 's/^/| /' conftest.
$ac_ext >&5
23258 ac_cv_lib_bsd_gethostbyname
=no
23260 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23261 LIBS
=$ac_check_lib_save_LIBS
23263 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23264 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23265 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23266 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23272 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23273 # socket/setsockopt and other routines are undefined under SCO ODT
23274 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23275 # on later versions), says Simon Leinen: it contains gethostby*
23276 # variants that don't use the name server (or something). -lsocket
23277 # must be given before -lnsl if both are needed. We assume that
23278 # if connect needs -lnsl, so does gethostbyname.
23279 echo "$as_me:$LINENO: checking for connect" >&5
23280 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23281 if test "${ac_cv_func_connect+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 cat >conftest.
$ac_ext <<_ACEOF
23285 #line $LINENO "configure"
23288 cat confdefs.h
>>conftest.
$ac_ext
23289 cat >>conftest.
$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 /* System header to define __stub macros and hopefully few prototypes,
23292 which can conflict with char connect (); below.
23293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23294 <limits.h> exists even on freestanding compilers. */
23296 # include <limits.h>
23298 # include <assert.h>
23300 /* Override any gcc2 internal prototype to avoid an error. */
23305 /* We use char because int might match the return type of a gcc2
23306 builtin and then its argument prototype would still apply. */
23308 /* The GNU C library defines this for functions which it implements
23309 to always fail with ENOSYS. Some functions are actually named
23310 something starting with __ and the normal name is an alias. */
23311 #if defined (__stub_connect) || defined (__stub___connect)
23314 char (*f) () = connect;
23323 return f != connect;
23328 rm -f conftest.
$ac_objext conftest
$ac_exeext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23330 (eval $ac_link) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try
='test -s conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_func_connect
=yes
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.
$ac_ext >&5
23345 ac_cv_func_connect
=no
23347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23349 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23350 echo "${ECHO_T}$ac_cv_func_connect" >&6
23352 if test $ac_cv_func_connect = no
; then
23353 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23355 if test "${ac_cv_lib_socket_connect+set}" = set; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23358 ac_check_lib_save_LIBS
=$LIBS
23359 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23360 cat >conftest.
$ac_ext <<_ACEOF
23361 #line $LINENO "configure"
23364 cat confdefs.h
>>conftest.
$ac_ext
23365 cat >>conftest.
$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23368 /* Override any gcc2 internal prototype to avoid an error. */
23372 /* We use char because int might match the return type of a gcc2
23373 builtin and then its argument prototype would still apply. */
23383 rm -f conftest.
$ac_objext conftest
$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>&5
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try
='test -s conftest$ac_exeext'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; }; then
23395 ac_cv_lib_socket_connect
=yes
23397 echo "$as_me: failed program was:" >&5
23398 sed 's/^/| /' conftest.
$ac_ext >&5
23400 ac_cv_lib_socket_connect
=no
23402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23403 LIBS
=$ac_check_lib_save_LIBS
23405 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23406 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23407 if test $ac_cv_lib_socket_connect = yes; then
23408 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23413 # Guillermo Gomez says -lposix is necessary on A/UX.
23414 echo "$as_me:$LINENO: checking for remove" >&5
23415 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23416 if test "${ac_cv_func_remove+set}" = set; then
23417 echo $ECHO_N "(cached) $ECHO_C" >&6
23419 cat >conftest.
$ac_ext <<_ACEOF
23420 #line $LINENO "configure"
23423 cat confdefs.h
>>conftest.
$ac_ext
23424 cat >>conftest.
$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23426 /* System header to define __stub macros and hopefully few prototypes,
23427 which can conflict with char remove (); below.
23428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23429 <limits.h> exists even on freestanding compilers. */
23431 # include <limits.h>
23433 # include <assert.h>
23435 /* Override any gcc2 internal prototype to avoid an error. */
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23443 /* The GNU C library defines this for functions which it implements
23444 to always fail with ENOSYS. Some functions are actually named
23445 something starting with __ and the normal name is an alias. */
23446 #if defined (__stub_remove) || defined (__stub___remove)
23449 char (*f) () = remove;
23458 return f != remove;
23463 rm -f conftest.
$ac_objext conftest
$ac_exeext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23465 (eval $ac_link) 2>&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } &&
23469 { ac_try
='test -s conftest$ac_exeext'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; }; then
23475 ac_cv_func_remove
=yes
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.
$ac_ext >&5
23480 ac_cv_func_remove
=no
23482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23484 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23485 echo "${ECHO_T}$ac_cv_func_remove" >&6
23487 if test $ac_cv_func_remove = no
; then
23488 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23489 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23490 if test "${ac_cv_lib_posix_remove+set}" = set; then
23491 echo $ECHO_N "(cached) $ECHO_C" >&6
23493 ac_check_lib_save_LIBS
=$LIBS
23494 LIBS
="-lposix $LIBS"
23495 cat >conftest.
$ac_ext <<_ACEOF
23496 #line $LINENO "configure"
23499 cat confdefs.h
>>conftest.
$ac_ext
23500 cat >>conftest.
$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23503 /* Override any gcc2 internal prototype to avoid an error. */
23507 /* We use char because int might match the return type of a gcc2
23508 builtin and then its argument prototype would still apply. */
23518 rm -f conftest.
$ac_objext conftest
$ac_exeext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23520 (eval $ac_link) 2>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } &&
23524 { ac_try
='test -s conftest$ac_exeext'
23525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23526 (eval $ac_try) 2>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); }; }; then
23530 ac_cv_lib_posix_remove
=yes
23532 echo "$as_me: failed program was:" >&5
23533 sed 's/^/| /' conftest.
$ac_ext >&5
23535 ac_cv_lib_posix_remove
=no
23537 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23538 LIBS
=$ac_check_lib_save_LIBS
23540 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23541 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23542 if test $ac_cv_lib_posix_remove = yes; then
23543 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23548 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23549 echo "$as_me:$LINENO: checking for shmat" >&5
23550 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23551 if test "${ac_cv_func_shmat+set}" = set; then
23552 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 cat >conftest.
$ac_ext <<_ACEOF
23555 #line $LINENO "configure"
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 /* System header to define __stub macros and hopefully few prototypes,
23562 which can conflict with char shmat (); below.
23563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23564 <limits.h> exists even on freestanding compilers. */
23566 # include <limits.h>
23568 # include <assert.h>
23570 /* Override any gcc2 internal prototype to avoid an error. */
23575 /* We use char because int might match the return type of a gcc2
23576 builtin and then its argument prototype would still apply. */
23578 /* The GNU C library defines this for functions which it implements
23579 to always fail with ENOSYS. Some functions are actually named
23580 something starting with __ and the normal name is an alias. */
23581 #if defined (__stub_shmat) || defined (__stub___shmat)
23584 char (*f) () = shmat;
23598 rm -f conftest.
$ac_objext conftest
$ac_exeext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23600 (eval $ac_link) 2>&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try
='test -s conftest$ac_exeext'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; }; then
23610 ac_cv_func_shmat
=yes
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.
$ac_ext >&5
23615 ac_cv_func_shmat
=no
23617 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23619 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23620 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23622 if test $ac_cv_func_shmat = no
; then
23623 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23624 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23625 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 ac_check_lib_save_LIBS
=$LIBS
23630 cat >conftest.
$ac_ext <<_ACEOF
23631 #line $LINENO "configure"
23634 cat confdefs.h
>>conftest.
$ac_ext
23635 cat >>conftest.
$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23638 /* Override any gcc2 internal prototype to avoid an error. */
23642 /* We use char because int might match the return type of a gcc2
23643 builtin and then its argument prototype would still apply. */
23653 rm -f conftest.
$ac_objext conftest
$ac_exeext
23654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23655 (eval $ac_link) 2>&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try
='test -s conftest$ac_exeext'
23660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23661 (eval $ac_try) 2>&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); }; }; then
23665 ac_cv_lib_ipc_shmat
=yes
23667 echo "$as_me: failed program was:" >&5
23668 sed 's/^/| /' conftest.
$ac_ext >&5
23670 ac_cv_lib_ipc_shmat
=no
23672 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23673 LIBS
=$ac_check_lib_save_LIBS
23675 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23676 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23677 if test $ac_cv_lib_ipc_shmat = yes; then
23678 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23684 # Check for libraries that X11R6 Xt/Xaw programs need.
23685 ac_save_LDFLAGS
=$LDFLAGS
23686 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23687 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23688 # check for ICE first), but we must link in the order -lSM -lICE or
23689 # we get undefined symbols. So assume we have SM if we have ICE.
23690 # These have to be linked with before -lX11, unlike the other
23691 # libraries we check for below, so use a different variable.
23692 # John Interrante, Karl Berry
23693 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23694 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23695 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23698 ac_check_lib_save_LIBS
=$LIBS
23699 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23700 cat >conftest.
$ac_ext <<_ACEOF
23701 #line $LINENO "configure"
23704 cat confdefs.h
>>conftest.
$ac_ext
23705 cat >>conftest.
$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23708 /* Override any gcc2 internal prototype to avoid an error. */
23712 /* We use char because int might match the return type of a gcc2
23713 builtin and then its argument prototype would still apply. */
23714 char IceConnectionNumber ();
23718 IceConnectionNumber ();
23723 rm -f conftest.
$ac_objext conftest
$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725 (eval $ac_link) 2>&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } &&
23729 { ac_try
='test -s conftest$ac_exeext'
23730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23731 (eval $ac_try) 2>&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); }; }; then
23735 ac_cv_lib_ICE_IceConnectionNumber
=yes
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.
$ac_ext >&5
23740 ac_cv_lib_ICE_IceConnectionNumber
=no
23742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23743 LIBS
=$ac_check_lib_save_LIBS
23745 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23746 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23747 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23748 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23751 LDFLAGS
=$ac_save_LDFLAGS
23756 if test "$no_x" = "yes"; then
23757 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23758 echo "$as_me: error: X11 not found" >&2;}
23759 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23762 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23763 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23764 AFMINSTALL
=afminstall
23765 COMPILED_X_PROGRAM
=0
23767 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23768 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23771 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23773 if test -f "$ac_dir/Xm/Xm.h"; then
23774 ac_find_includes
=$ac_dir
23779 if test "$ac_find_includes" != "" ; then
23780 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23781 echo "${ECHO_T}found in $ac_find_includes" >&6
23783 if test "x$ac_find_includes" = "x/usr/include"; then
23784 ac_path_to_include
=""
23786 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23788 if test $result = 0; then
23789 ac_path_to_include
=""
23791 ac_path_to_include
=" -I$ac_find_includes"
23795 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23797 cat >conftest.
$ac_ext <<_ACEOF
23798 #line $LINENO "configure"
23801 cat confdefs.h
>>conftest.
$ac_ext
23802 cat >>conftest.
$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23812 version = xmUseVersion;
23818 rm -f conftest.
$ac_objext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23820 (eval $ac_compile) 2>&5
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); } &&
23824 { ac_try
='test -s conftest.$ac_objext'
23825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826 (eval $ac_try) 2>&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); }; }; then
23831 echo "$as_me:$LINENO: result: found in default search path" >&5
23832 echo "${ECHO_T}found in default search path" >&6
23833 COMPILED_X_PROGRAM
=1
23836 echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.
$ac_ext >&5
23840 echo "$as_me:$LINENO: result: no" >&5
23841 echo "${ECHO_T}no" >&6
23842 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23843 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23844 { (exit 1); exit 1; }; }
23848 rm -f conftest.
$ac_objext conftest.
$ac_ext
23851 if test "$COMPILED_X_PROGRAM" = 0; then
23852 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23853 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23856 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23858 for ac_extension
in a so sl dylib
; do
23859 if test -f "$ac_dir/libXm.$ac_extension"; then
23860 ac_find_libraries
=$ac_dir
23866 if test "$ac_find_libraries" != "" ; then
23867 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23868 echo "${ECHO_T}found at $ac_find_libraries" >&6
23871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23873 if test $result = 0; then
23876 ac_path_to_link
=" -L$ac_find_libraries"
23879 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23881 save_CFLAGS
=$CFLAGS
23882 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23884 cat >conftest.
$ac_ext <<_ACEOF
23885 #line $LINENO "configure"
23888 cat confdefs.h
>>conftest.
$ac_ext
23889 cat >>conftest.
$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23899 version = xmUseVersion;
23905 rm -f conftest.
$ac_objext
23906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23907 (eval $ac_compile) 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } &&
23911 { ac_try
='test -s conftest.$ac_objext'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23918 echo "$as_me:$LINENO: result: found in default search path" >&5
23919 echo "${ECHO_T}found in default search path" >&6
23920 COMPILED_X_PROGRAM
=1
23923 echo "$as_me: failed program was:" >&5
23924 sed 's/^/| /' conftest.
$ac_ext >&5
23927 echo "$as_me:$LINENO: result: no" >&5
23928 echo "${ECHO_T}no" >&6
23929 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23930 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23931 { (exit 1); exit 1; }; }
23935 rm -f conftest.
$ac_objext conftest.
$ac_ext
23937 CFLAGS
=$save_CFLAGS
23942 echo "$as_me:$LINENO: checking for Xpm library" >&5
23943 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23946 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23948 for ac_extension
in a so sl dylib
; do
23949 if test -f "$ac_dir/libXpm.$ac_extension"; then
23950 ac_find_libraries
=$ac_dir
23956 if test "$ac_find_libraries" != "" ; then
23958 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23960 if test $result = 0; then
23963 ac_path_to_link
=" -L$ac_find_libraries"
23966 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23969 cat >>confdefs.h
<<\_ACEOF
23970 #define wxHAVE_LIB_XPM 1
23973 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23974 echo "${ECHO_T}found at $ac_find_libraries" >&6
23976 save_CFLAGS
=$CFLAGS
23977 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23979 cat >conftest.
$ac_ext <<_ACEOF
23980 #line $LINENO "configure"
23983 cat confdefs.h
>>conftest.
$ac_ext
23984 cat >>conftest.
$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23987 #include <X11/xpm.h>
23994 version = XpmLibraryVersion();
24000 rm -f conftest.
$ac_objext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24002 (eval $ac_compile) 2>&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } &&
24006 { ac_try
='test -s conftest.$ac_objext'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; }; then
24014 cat >>confdefs.h
<<\_ACEOF
24015 #define wxHAVE_LIB_XPM 1
24018 echo "$as_me:$LINENO: result: found in default search path" >&5
24019 echo "${ECHO_T}found in default search path" >&6
24020 COMPILED_X_PROGRAM
=0
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.
$ac_ext >&5
24027 echo "$as_me:$LINENO: result: no" >&5
24028 echo "${ECHO_T}no" >&6
24029 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24030 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24034 rm -f conftest.
$ac_objext conftest.
$ac_ext
24036 CFLAGS
=$save_CFLAGS
24039 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24040 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24044 for libp
in "" " -lXp"; do
24045 if test "$libs_found" = "0"; then
24046 for libsm_ice
in " -lSM -lICE"; do
24047 if test "$libs_found" = "0"; then
24049 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24050 save_CFLAGS
=$CFLAGS
24051 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24053 cat >conftest.
$ac_ext <<_ACEOF
24054 #line $LINENO "configure"
24057 cat confdefs.h
>>conftest.
$ac_ext
24058 cat >>conftest.
$ac_ext <<_ACEOF
24059 /* end confdefs.h. */
24062 #include <Xm/List.h>
24068 XmString string = NULL;
24071 XmListAddItem(w, string, position);
24077 rm -f conftest.
$ac_objext conftest
$ac_exeext
24078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24079 (eval $ac_link) 2>&5
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); } &&
24083 { ac_try
='test -s conftest$ac_exeext'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; }; then
24091 libsm_ice_link
="$libsm_ice"
24092 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24093 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.
$ac_ext >&5
24103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24106 CFLAGS
=$save_CFLAGS
24112 if test "$libs_found" = "0"; then
24113 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24114 echo "${ECHO_T}can't find the right libraries" >&6
24115 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24116 echo "$as_me: error: can't link a simple motif program" >&2;}
24117 { (exit 1); exit 1; }; }
24120 save_CFLAGS
=$CFLAGS
24121 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24122 echo "$as_me:$LINENO: checking for Motif 2" >&5
24123 echo $ECHO_N "checking for Motif 2... $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. */
24138 #if XmVersion < 2000
24139 #error "Not Motif 2"
24146 rm -f conftest.
$ac_objext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24148 (eval $ac_compile) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); } &&
24152 { ac_try
='test -s conftest.$ac_objext'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; }; then
24159 cat >>confdefs.h
<<\_ACEOF
24160 #define __WXMOTIF20__ 1
24163 echo "$as_me:$LINENO: result: found" >&5
24164 echo "${ECHO_T}found" >&6
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.
$ac_ext >&5
24171 cat >>confdefs.h
<<\_ACEOF
24172 #define __WXMOTIF20__ 0
24175 echo "$as_me:$LINENO: result: not found" >&5
24176 echo "${ECHO_T}not found" >&6
24179 rm -f conftest.
$ac_objext conftest.
$ac_ext
24180 CFLAGS
=$save_CFLAGS
24182 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24183 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24189 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24190 test "$wxHAVE_XEXT_LIB" = 1; then
24191 save_CFLAGS
="$CFLAGS"
24192 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24194 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24195 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24196 cat >conftest.
$ac_ext <<_ACEOF
24197 #line $LINENO "configure"
24200 cat confdefs.h
>>conftest.
$ac_ext
24201 cat >>conftest.
$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24204 #include <X11/Xlib.h>
24205 #include <X11/extensions/shape.h>
24211 int dummy1, dummy2;
24212 XShapeQueryExtension((Display*)NULL,
24213 (int*)NULL, (int*)NULL);
24219 rm -f conftest.
$ac_objext
24220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24221 (eval $ac_compile) 2>&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } &&
24225 { ac_try
='test -s conftest.$ac_objext'
24226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24227 (eval $ac_try) 2>&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); }; }; then
24232 cat >>confdefs.h
<<\_ACEOF
24233 #define HAVE_XSHAPE 1
24236 echo "$as_me:$LINENO: result: found" >&5
24237 echo "${ECHO_T}found" >&6
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.
$ac_ext >&5
24244 echo "$as_me:$LINENO: result: not found" >&5
24245 echo "${ECHO_T}not found" >&6
24248 rm -f conftest.
$ac_objext conftest.
$ac_ext
24249 CFLAGS
="$save_CFLAGS"
24252 if test "$wxUSE_MAC" = 1; then
24253 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24255 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24258 WXBASEPORT
="_carbon"
24261 if test "$wxUSE_COCOA" = 1; then
24262 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24267 if test "$wxUSE_PM" = 1; then
24270 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24271 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24275 if test "$TOOLKIT" = "PM" ; then
24278 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24281 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24283 if test "$wxUSE_UNIVERSAL" = "yes"; then
24284 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24286 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24287 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24289 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24290 if test "$wxUSE_X11" = 1; then
24291 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24293 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24295 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24298 ALL_OBJECTS
="\$(GUIOBJS)"
24299 ALL_SOURCES
="\$(ALL_SOURCES)"
24300 ALL_HEADERS
="\$(ALL_HEADERS)"
24303 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24305 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24306 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24309 if test "$wxUSE_HTML" = "yes"; then
24310 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24313 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24314 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24316 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24317 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24319 if test "$wxUSE_LIBPNG" = "builtin" ; then
24320 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24323 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24324 DISTDIR
="wx\$(TOOLKIT)"
24330 if test "$USE_WIN32" = 1 ; then
24331 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24332 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24336 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24337 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24340 ALL_SOURCES
="\$(ALL_SOURCES)"
24341 ALL_HEADERS
="\$(ALL_HEADERS)"
24343 PORT_FILES
="\${top_srcdir}/src/files.lst"
24345 GUIDIST
="BASE_DIST"
24355 if test "$TOOLKIT" != "MSW" ; then
24357 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24359 if test "${ac_cv_header_sql_h+set}" = set; then
24360 echo "$as_me:$LINENO: checking for sql.h" >&5
24361 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24362 if test "${ac_cv_header_sql_h+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24366 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24368 # Is the header compilable?
24369 echo "$as_me:$LINENO: checking sql.h usability" >&5
24370 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24371 cat >conftest.
$ac_ext <<_ACEOF
24372 #line $LINENO "configure"
24375 cat confdefs.h
>>conftest.
$ac_ext
24376 cat >>conftest.
$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 $ac_includes_default
24381 rm -f conftest.
$ac_objext
24382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24383 (eval $ac_compile) 2>&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } &&
24387 { ac_try
='test -s conftest.$ac_objext'
24388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24389 (eval $ac_try) 2>&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); }; }; then
24393 ac_header_compiler
=yes
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.
$ac_ext >&5
24398 ac_header_compiler
=no
24400 rm -f conftest.
$ac_objext conftest.
$ac_ext
24401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24402 echo "${ECHO_T}$ac_header_compiler" >&6
24404 # Is the header present?
24405 echo "$as_me:$LINENO: checking sql.h presence" >&5
24406 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24407 cat >conftest.
$ac_ext <<_ACEOF
24408 #line $LINENO "configure"
24411 cat confdefs.h
>>conftest.
$ac_ext
24412 cat >>conftest.
$ac_ext <<_ACEOF
24413 /* end confdefs.h. */
24416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24419 grep -v '^ *+' conftest.er1
>conftest.err
24421 cat conftest.err
>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } >/dev
/null
; then
24424 if test -s conftest.err
; then
24425 ac_cpp_err
=$ac_c_preproc_warn_flag
24432 if test -z "$ac_cpp_err"; then
24433 ac_header_preproc
=yes
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.
$ac_ext >&5
24438 ac_header_preproc
=no
24440 rm -f conftest.err conftest.
$ac_ext
24441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24442 echo "${ECHO_T}$ac_header_preproc" >&6
24444 # So? What about this header?
24445 case $ac_header_compiler:$ac_header_preproc in
24447 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24448 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24449 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24450 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24453 ## ------------------------------------ ##
24454 ## Report this to bug-autoconf@gnu.org. ##
24455 ## ------------------------------------ ##
24458 sed "s/^/$as_me: WARNING: /" >&2
24461 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24462 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24464 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24465 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24466 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24469 ## ------------------------------------ ##
24470 ## Report this to bug-autoconf@gnu.org. ##
24471 ## ------------------------------------ ##
24474 sed "s/^/$as_me: WARNING: /" >&2
24477 echo "$as_me:$LINENO: checking for sql.h" >&5
24478 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24479 if test "${ac_cv_header_sql_h+set}" = set; then
24480 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 ac_cv_header_sql_h
=$ac_header_preproc
24484 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24485 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24488 if test $ac_cv_header_sql_h = yes; then
24493 if test "x$found_sql_h" = "x1" ; then
24494 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24495 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24496 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24497 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 ac_check_lib_save_LIBS
=$LIBS
24500 LIBS
="-lSQLAllocEnv $LIBS"
24501 cat >conftest.
$ac_ext <<_ACEOF
24502 #line $LINENO "configure"
24505 cat confdefs.h
>>conftest.
$ac_ext
24506 cat >>conftest.
$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24509 /* Override any gcc2 internal prototype to avoid an error. */
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24524 rm -f conftest.
$ac_objext conftest
$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526 (eval $ac_link) 2>&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } &&
24530 { ac_try
='test -s conftest$ac_exeext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.
$ac_ext >&5
24541 ac_cv_lib_SQLAllocEnv_iodbc
=no
24543 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24544 LIBS
=$ac_check_lib_save_LIBS
24546 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24547 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24548 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24549 ODBC_LINK
=" -liodbc"
24552 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24553 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24554 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 ac_check_lib_save_LIBS
=$LIBS
24558 LIBS
="-lSQLAllocEnv $LIBS"
24559 cat >conftest.
$ac_ext <<_ACEOF
24560 #line $LINENO "configure"
24563 cat confdefs.h
>>conftest.
$ac_ext
24564 cat >>conftest.
$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24567 /* Override any gcc2 internal prototype to avoid an error. */
24571 /* We use char because int might match the return type of a gcc2
24572 builtin and then its argument prototype would still apply. */
24582 rm -f conftest.
$ac_objext conftest
$ac_exeext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24584 (eval $ac_link) 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } &&
24588 { ac_try
='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.
$ac_ext >&5
24599 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24602 LIBS
=$ac_check_lib_save_LIBS
24604 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24605 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24606 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24607 ODBC_LINK
=" -lunixodbc"
24610 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24611 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24612 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 ac_check_lib_save_LIBS
=$LIBS
24616 LIBS
="-lSQLAllocEnv $LIBS"
24617 cat >conftest.
$ac_ext <<_ACEOF
24618 #line $LINENO "configure"
24621 cat confdefs.h
>>conftest.
$ac_ext
24622 cat >>conftest.
$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24625 /* Override any gcc2 internal prototype to avoid an error. */
24629 /* We use char because int might match the return type of a gcc2
24630 builtin and then its argument prototype would still apply. */
24640 rm -f conftest.
$ac_objext conftest
$ac_exeext
24641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24642 (eval $ac_link) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try
='test -s conftest$ac_exeext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24652 ac_cv_lib_SQLAllocEnv_odbc
=yes
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.
$ac_ext >&5
24657 ac_cv_lib_SQLAllocEnv_odbc
=no
24659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24660 LIBS
=$ac_check_lib_save_LIBS
24662 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24663 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24664 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24665 ODBC_LINK
=" -lodbc"
24675 if test "x$ODBC_LINK" = "x" ; then
24676 if test "$wxUSE_ODBC" = "sys" ; then
24677 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24678 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24679 { (exit 1); exit 1; }; }
24681 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24682 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24689 if test "$wxUSE_ODBC" != "no" ; then
24690 cat >>confdefs.h
<<\_ACEOF
24691 #define wxUSE_ODBC 1
24694 if test "$wxUSE_ODBC" = "builtin" ; then
24695 cat >>confdefs.h
<<\_ACEOF
24696 #define wxUSE_BUILTIN_IODBC 1
24700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24702 WXODBCFLAG
="-D_IODBC_"
24706 if test "$wxUSE_REGEX" = "builtin" ; then
24707 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24709 if test "$wxUSE_ZLIB" = "builtin" ; then
24710 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24715 if test "$wxUSE_OPENGL" = "yes"; then
24716 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24717 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24718 elif test "$wxUSE_MSW" = 1; then
24719 OPENGL_LIBS
="-lopengl32 -lglu32"
24724 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24726 if test -f "$ac_dir/GL/gl.h"; then
24727 ac_find_includes
=$ac_dir
24732 if test "$ac_find_includes" != "" ; then
24733 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24734 echo "${ECHO_T}found in $ac_find_includes" >&6
24736 if test "x$ac_find_includes" = "x/usr/include"; then
24737 ac_path_to_include
=""
24739 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24741 if test $result = 0; then
24742 ac_path_to_include
=""
24744 ac_path_to_include
=" -I$ac_find_includes"
24748 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24751 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24752 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24753 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24754 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24758 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24760 # Is the header compilable?
24761 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24762 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24763 cat >conftest.
$ac_ext <<_ACEOF
24764 #line $LINENO "configure"
24767 cat confdefs.h
>>conftest.
$ac_ext
24768 cat >>conftest.
$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 $ac_includes_default
24773 rm -f conftest.
$ac_objext
24774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24775 (eval $ac_compile) 2>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try
='test -s conftest.$ac_objext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 ac_header_compiler
=yes
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.
$ac_ext >&5
24790 ac_header_compiler
=no
24792 rm -f conftest.
$ac_objext conftest.
$ac_ext
24793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24794 echo "${ECHO_T}$ac_header_compiler" >&6
24796 # Is the header present?
24797 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24798 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24799 cat >conftest.
$ac_ext <<_ACEOF
24800 #line $LINENO "configure"
24803 cat confdefs.h
>>conftest.
$ac_ext
24804 cat >>conftest.
$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24811 grep -v '^ *+' conftest.er1
>conftest.err
24813 cat conftest.err
>&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } >/dev
/null
; then
24816 if test -s conftest.err
; then
24817 ac_cpp_err
=$ac_c_preproc_warn_flag
24824 if test -z "$ac_cpp_err"; then
24825 ac_header_preproc
=yes
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.
$ac_ext >&5
24830 ac_header_preproc
=no
24832 rm -f conftest.err conftest.
$ac_ext
24833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24834 echo "${ECHO_T}$ac_header_preproc" >&6
24836 # So? What about this header?
24837 case $ac_header_compiler:$ac_header_preproc in
24839 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24840 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24841 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24842 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24845 ## ------------------------------------ ##
24846 ## Report this to bug-autoconf@gnu.org. ##
24847 ## ------------------------------------ ##
24850 sed "s/^/$as_me: WARNING: /" >&2
24853 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24854 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24855 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24856 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24857 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24858 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24861 ## ------------------------------------ ##
24862 ## Report this to bug-autoconf@gnu.org. ##
24863 ## ------------------------------------ ##
24866 sed "s/^/$as_me: WARNING: /" >&2
24869 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24870 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 ac_cv_header_GL_gl_h
=$ac_header_preproc
24876 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24877 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24880 if test $ac_cv_header_GL_gl_h = yes; then
24884 echo "$as_me:$LINENO: checking for -lGL" >&5
24885 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24888 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24890 for ac_extension
in a so sl dylib
; do
24891 if test -f "$ac_dir/libGL.$ac_extension"; then
24892 ac_find_libraries
=$ac_dir
24898 if test "$ac_find_libraries" != "" ; then
24900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24902 if test $result = 0; then
24905 ac_path_to_link
=" -L$ac_find_libraries"
24908 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24909 LDFLAGS_GL
="$ac_path_to_link"
24914 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24916 for ac_extension
in a so sl dylib
; do
24917 if test -f "$ac_dir/libGLU.$ac_extension"; then
24918 ac_find_libraries
=$ac_dir
24924 if test "$ac_find_libraries" != "" ; then
24926 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24928 if test $result = 0; then
24931 ac_path_to_link
=" -L$ac_find_libraries"
24934 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24935 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24936 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24940 OPENGL_LIBS
="-lGL -lGLU"
24941 echo "$as_me:$LINENO: result: yes" >&5
24942 echo "${ECHO_T}yes" >&6
24946 if test "$found_gl" != 1; then
24947 echo "$as_me:$LINENO: result: no" >&5
24948 echo "${ECHO_T}no" >&6
24949 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24950 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24953 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24955 for ac_extension
in a so sl dylib
; do
24956 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24957 ac_find_libraries
=$ac_dir
24963 if test "$ac_find_libraries" != "" ; then
24965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24967 if test $result = 0; then
24970 ac_path_to_link
=" -L$ac_find_libraries"
24973 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24974 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24975 echo "$as_me:$LINENO: result: yes" >&5
24976 echo "${ECHO_T}yes" >&6
24978 echo "$as_me:$LINENO: result: no" >&5
24979 echo "${ECHO_T}no" >&6
24987 if test "x$OPENGL_LIBS" = "x"; then
24988 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24989 echo "$as_me: error: OpenGL libraries not available" >&2;}
24990 { (exit 1); exit 1; }; }
24994 if test "$wxUSE_OPENGL" = "yes"; then
24996 cat >>confdefs.h
<<\_ACEOF
24997 #define wxUSE_OPENGL 1
25000 cat >>confdefs.h
<<\_ACEOF
25001 #define wxUSE_GLCANVAS 1
25004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25008 if test -z "$TOOLKIT_VPATH" ; then
25009 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25012 if test -n "$TOOLKIT" ; then
25013 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25017 lib_unicode_suffix
=
25018 if test "$wxUSE_UNICODE" = "yes"; then
25019 lib_unicode_suffix
=u
25025 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25031 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25035 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25037 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25038 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25040 if test "$cross_compiling" = "yes"; then
25041 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25042 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25043 HOST_SUFFIX
="-${host_alias}"
25046 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25047 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25048 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25049 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25051 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25052 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25054 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25055 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25056 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25057 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25060 *-*-cygwin* | *-*-mingw32* )
25061 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25062 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25067 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25068 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25070 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25071 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25072 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25073 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25075 if test "$wxUSE_MAC" = 1; then
25076 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25077 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25082 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25083 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25085 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25086 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25088 if test "$wxUSE_OPENGL" = "yes"; then
25089 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25090 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25095 if test "$wxUSE_SHARED" = "yes"; then
25097 *-pc-os2_emx | *-pc-os2-emx | \
25100 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25101 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25107 if test "$wxUSE_SHARED" = "yes"; then
25111 found_versioning
=no
25114 if test $found_versioning = no
; then
25115 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25116 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25117 if test "${wx_cv_version_script+set}" = set; then
25118 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 echo "VER_1 { *; };" >conftest.sym
25122 echo "int main() { return 0; }" >conftest.cpp
25125 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25126 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; } ; then
25132 if test -s conftest.stderr
; then
25133 wx_cv_version_script
=no
25135 wx_cv_version_script
=yes
25138 wx_cv_version_script
=no
25140 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25143 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25144 echo "${ECHO_T}$wx_cv_version_script" >&6
25145 if test $wx_cv_version_script = yes ; then
25146 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25152 *-*-linux* | *-*-gnu* )
25153 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25157 if test "$GCC" = yes ; then
25158 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25160 saveLdflags
="$LDFLAGS"
25161 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25162 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25163 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25164 cat >conftest.
$ac_ext <<_ACEOF
25165 #line $LINENO "configure"
25168 cat confdefs.h
>>conftest.
$ac_ext
25169 cat >>conftest.
$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25180 rm -f conftest.
$ac_objext conftest
$ac_exeext
25181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25182 (eval $ac_link) 2>&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } &&
25186 { ac_try
='test -s conftest$ac_exeext'
25187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25188 (eval $ac_try) 2>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); }; }; then
25193 echo "$as_me:$LINENO: result: yes" >&5
25194 echo "${ECHO_T}yes" >&6
25195 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25198 echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.
$ac_ext >&5
25202 echo "$as_me:$LINENO: result: no" >&5
25203 echo "${ECHO_T}no" >&6
25204 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25205 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25206 LDFLAGS
="$saveLdflags -Wl,-R,/"
25207 cat >conftest.
$ac_ext <<_ACEOF
25208 #line $LINENO "configure"
25211 cat confdefs.h
>>conftest.
$ac_ext
25212 cat >>conftest.
$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25223 rm -f conftest.
$ac_objext conftest
$ac_exeext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25225 (eval $ac_link) 2>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); } &&
25229 { ac_try
='test -s conftest$ac_exeext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25236 echo "$as_me:$LINENO: result: yes" >&5
25237 echo "${ECHO_T}yes" >&6
25238 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.
$ac_ext >&5
25244 echo "$as_me:$LINENO: result: no" >&5
25245 echo "${ECHO_T}no" >&6
25248 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25252 LDFLAGS
="$saveLdflags"
25254 SHARED_LD
="${CXX} -G -o"
25256 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25260 powerpc
-*-darwin* )
25261 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25262 cat <<EOF >change-install-names
25264 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25265 inst_cmd="install_name_tool "
25266 for i in \${libnames} ; do
25267 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25271 chmod +x change
-install-names
25276 if test "x$WX_TARGET_LIBRARY" = "x"; then
25277 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25278 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25281 WX_TARGET_LIBRARY_TYPE
="so"
25282 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25285 if test "$wxUSE_SHARED" = "no"; then
25287 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25288 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25291 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25292 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25295 if test "$wxUSE_OPENGL" = "yes"; then
25296 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25297 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25299 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25302 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25303 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25305 WX_TARGET_LIBRARY_TYPE
="a"
25306 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25316 if test "$wxUSE_MAC" = 1; then
25317 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25318 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25319 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25320 # Extract the first word of "Rez", so it can be a program name with args.
25321 set dummy Rez
; ac_word
=$2
25322 echo "$as_me:$LINENO: checking for $ac_word" >&5
25323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25324 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 if test -n "$RESCOMP"; then
25328 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25331 for as_dir
in $PATH
25334 test -z "$as_dir" && as_dir
=.
25335 for ac_exec_ext
in '' $ac_executable_extensions; do
25336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25337 ac_cv_prog_RESCOMP
="Rez"
25338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25344 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25347 RESCOMP
=$ac_cv_prog_RESCOMP
25348 if test -n "$RESCOMP"; then
25349 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25350 echo "${ECHO_T}$RESCOMP" >&6
25352 echo "$as_me:$LINENO: result: no" >&5
25353 echo "${ECHO_T}no" >&6
25356 # Extract the first word of "DeRez", so it can be a program name with args.
25357 set dummy DeRez
; ac_word
=$2
25358 echo "$as_me:$LINENO: checking for $ac_word" >&5
25359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25360 if test "${ac_cv_prog_DEREZ+set}" = set; then
25361 echo $ECHO_N "(cached) $ECHO_C" >&6
25363 if test -n "$DEREZ"; then
25364 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25367 for as_dir
in $PATH
25370 test -z "$as_dir" && as_dir
=.
25371 for ac_exec_ext
in '' $ac_executable_extensions; do
25372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25373 ac_cv_prog_DEREZ
="DeRez"
25374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25380 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25383 DEREZ
=$ac_cv_prog_DEREZ
25384 if test -n "$DEREZ"; then
25385 echo "$as_me:$LINENO: result: $DEREZ" >&5
25386 echo "${ECHO_T}$DEREZ" >&6
25388 echo "$as_me:$LINENO: result: no" >&5
25389 echo "${ECHO_T}no" >&6
25392 # Extract the first word of "SetFile", so it can be a program name with args.
25393 set dummy SetFile
; ac_word
=$2
25394 echo "$as_me:$LINENO: checking for $ac_word" >&5
25395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25396 if test "${ac_cv_prog_SETFILE+set}" = set; then
25397 echo $ECHO_N "(cached) $ECHO_C" >&6
25399 if test -n "$SETFILE"; then
25400 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25403 for as_dir
in $PATH
25406 test -z "$as_dir" && as_dir
=.
25407 for ac_exec_ext
in '' $ac_executable_extensions; do
25408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25409 ac_cv_prog_SETFILE
="SetFile"
25410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25416 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25419 SETFILE
=$ac_cv_prog_SETFILE
25420 if test -n "$SETFILE"; then
25421 echo "$as_me:$LINENO: result: $SETFILE" >&5
25422 echo "${ECHO_T}$SETFILE" >&6
25424 echo "$as_me:$LINENO: result: no" >&5
25425 echo "${ECHO_T}no" >&6
25428 MACOSX_BUNDLE
="bundle"
25429 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25430 MACSETFILE
="\$(SETFILE)"
25431 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25432 elif test "$wxUSE_COCOA" = 1; then
25433 # Extract the first word of "Rez", so it can be a program name with args.
25434 set dummy Rez
; ac_word
=$2
25435 echo "$as_me:$LINENO: checking for $ac_word" >&5
25436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25437 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 if test -n "$RESCOMP"; then
25441 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25444 for as_dir
in $PATH
25447 test -z "$as_dir" && as_dir
=.
25448 for ac_exec_ext
in '' $ac_executable_extensions; do
25449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25450 ac_cv_prog_RESCOMP
="Rez"
25451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25457 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25460 RESCOMP
=$ac_cv_prog_RESCOMP
25461 if test -n "$RESCOMP"; then
25462 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25463 echo "${ECHO_T}$RESCOMP" >&6
25465 echo "$as_me:$LINENO: result: no" >&5
25466 echo "${ECHO_T}no" >&6
25469 # Extract the first word of "DeRez", so it can be a program name with args.
25470 set dummy DeRez
; ac_word
=$2
25471 echo "$as_me:$LINENO: checking for $ac_word" >&5
25472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25473 if test "${ac_cv_prog_DEREZ+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 if test -n "$DEREZ"; then
25477 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25480 for as_dir
in $PATH
25483 test -z "$as_dir" && as_dir
=.
25484 for ac_exec_ext
in '' $ac_executable_extensions; do
25485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25486 ac_cv_prog_DEREZ
="DeRez"
25487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25493 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25496 DEREZ
=$ac_cv_prog_DEREZ
25497 if test -n "$DEREZ"; then
25498 echo "$as_me:$LINENO: result: $DEREZ" >&5
25499 echo "${ECHO_T}$DEREZ" >&6
25501 echo "$as_me:$LINENO: result: no" >&5
25502 echo "${ECHO_T}no" >&6
25505 # Extract the first word of "SetFile", so it can be a program name with args.
25506 set dummy SetFile
; ac_word
=$2
25507 echo "$as_me:$LINENO: checking for $ac_word" >&5
25508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25509 if test "${ac_cv_prog_SETFILE+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 if test -n "$SETFILE"; then
25513 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25516 for as_dir
in $PATH
25519 test -z "$as_dir" && as_dir
=.
25520 for ac_exec_ext
in '' $ac_executable_extensions; do
25521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25522 ac_cv_prog_SETFILE
="SetFile"
25523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25529 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25532 SETFILE
=$ac_cv_prog_SETFILE
25533 if test -n "$SETFILE"; then
25534 echo "$as_me:$LINENO: result: $SETFILE" >&5
25535 echo "${ECHO_T}$SETFILE" >&6
25537 echo "$as_me:$LINENO: result: no" >&5
25538 echo "${ECHO_T}no" >&6
25541 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25542 MACSETFILE
="\$(SETFILE)"
25543 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25545 if test "$wxUSE_PM" = 1; then
25546 MACRESCOMP
="emxbind -ep"
25551 echo "$as_me:$LINENO: checking for mode_t" >&5
25552 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25553 if test "${ac_cv_type_mode_t+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 cat >conftest.
$ac_ext <<_ACEOF
25557 #line $LINENO "configure"
25560 cat confdefs.h
>>conftest.
$ac_ext
25561 cat >>conftest.
$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 $ac_includes_default
25569 if (sizeof (mode_t))
25575 rm -f conftest.
$ac_objext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25577 (eval $ac_compile) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); } &&
25581 { ac_try
='test -s conftest.$ac_objext'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; }; then
25587 ac_cv_type_mode_t
=yes
25589 echo "$as_me: failed program was:" >&5
25590 sed 's/^/| /' conftest.
$ac_ext >&5
25592 ac_cv_type_mode_t
=no
25594 rm -f conftest.
$ac_objext conftest.
$ac_ext
25596 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25597 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25598 if test $ac_cv_type_mode_t = yes; then
25602 cat >>confdefs.h
<<_ACEOF
25608 echo "$as_me:$LINENO: checking for off_t" >&5
25609 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25610 if test "${ac_cv_type_off_t+set}" = set; then
25611 echo $ECHO_N "(cached) $ECHO_C" >&6
25613 cat >conftest.
$ac_ext <<_ACEOF
25614 #line $LINENO "configure"
25617 cat confdefs.h
>>conftest.
$ac_ext
25618 cat >>conftest.
$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25620 $ac_includes_default
25626 if (sizeof (off_t))
25632 rm -f conftest.
$ac_objext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25634 (eval $ac_compile) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } &&
25638 { ac_try
='test -s conftest.$ac_objext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_type_off_t
=yes
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.
$ac_ext >&5
25649 ac_cv_type_off_t
=no
25651 rm -f conftest.
$ac_objext conftest.
$ac_ext
25653 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25654 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25655 if test $ac_cv_type_off_t = yes; then
25659 cat >>confdefs.h
<<_ACEOF
25665 echo "$as_me:$LINENO: checking for pid_t" >&5
25666 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25667 if test "${ac_cv_type_pid_t+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 cat >conftest.
$ac_ext <<_ACEOF
25671 #line $LINENO "configure"
25674 cat confdefs.h
>>conftest.
$ac_ext
25675 cat >>conftest.
$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 $ac_includes_default
25683 if (sizeof (pid_t))
25689 rm -f conftest.
$ac_objext
25690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25691 (eval $ac_compile) 2>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try
='test -s conftest.$ac_objext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_cv_type_pid_t
=yes
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.
$ac_ext >&5
25706 ac_cv_type_pid_t
=no
25708 rm -f conftest.
$ac_objext conftest.
$ac_ext
25710 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25711 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25712 if test $ac_cv_type_pid_t = yes; then
25716 cat >>confdefs.h
<<_ACEOF
25722 echo "$as_me:$LINENO: checking for size_t" >&5
25723 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25724 if test "${ac_cv_type_size_t+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 cat >conftest.
$ac_ext <<_ACEOF
25728 #line $LINENO "configure"
25731 cat confdefs.h
>>conftest.
$ac_ext
25732 cat >>conftest.
$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25734 $ac_includes_default
25740 if (sizeof (size_t))
25746 rm -f conftest.
$ac_objext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748 (eval $ac_compile) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try
='test -s conftest.$ac_objext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 ac_cv_type_size_t
=yes
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.
$ac_ext >&5
25763 ac_cv_type_size_t
=no
25765 rm -f conftest.
$ac_objext conftest.
$ac_ext
25767 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25768 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25769 if test $ac_cv_type_size_t = yes; then
25773 cat >>confdefs.h
<<_ACEOF
25774 #define size_t unsigned
25779 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25780 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25781 if test "${ac_cv_type_uid_t+set}" = set; then
25782 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 cat >conftest.
$ac_ext <<_ACEOF
25785 #line $LINENO "configure"
25788 cat confdefs.h
>>conftest.
$ac_ext
25789 cat >>conftest.
$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #include <sys/types.h>
25794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25795 $EGREP "uid_t" >/dev
/null
2>&1; then
25796 ac_cv_type_uid_t
=yes
25798 ac_cv_type_uid_t
=no
25803 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25804 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25805 if test $ac_cv_type_uid_t = no
; then
25807 cat >>confdefs.h
<<\_ACEOF
25812 cat >>confdefs.h
<<\_ACEOF
25822 ac_cpp
='$CXXCPP $CPPFLAGS'
25823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25827 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25828 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25829 if test "${wx_cv_size_t_is_uint+set}" = set; then
25830 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 cat >conftest.
$ac_ext <<_ACEOF
25834 #line $LINENO "configure"
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 #include <stddef.h>
25847 struct Foo { void foo(size_t); void foo(unsigned int); };
25855 rm -f conftest.
$ac_objext
25856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25857 (eval $ac_compile) 2>&5
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); } &&
25861 { ac_try
='test -s conftest.$ac_objext'
25862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25863 (eval $ac_try) 2>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; }; then
25867 wx_cv_size_t_is_uint
=no
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.
$ac_ext >&5
25872 wx_cv_size_t_is_uint
=yes
25875 rm -f conftest.
$ac_objext conftest.
$ac_ext
25879 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25880 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25882 if test "$wx_cv_size_t_is_uint" = "yes"; then
25883 cat >>confdefs.h
<<\_ACEOF
25884 #define wxSIZE_T_IS_UINT 1
25888 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25889 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25890 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25893 cat >conftest.
$ac_ext <<_ACEOF
25894 #line $LINENO "configure"
25897 cat confdefs.h
>>conftest.
$ac_ext
25898 cat >>conftest.
$ac_ext <<_ACEOF
25899 /* end confdefs.h. */
25900 #include <stddef.h>
25907 struct Foo { void foo(size_t); void foo(unsigned long); };
25915 rm -f conftest.
$ac_objext
25916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25917 (eval $ac_compile) 2>&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); } &&
25921 { ac_try
='test -s conftest.$ac_objext'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; }; then
25927 wx_cv_size_t_is_ulong
=no
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.
$ac_ext >&5
25932 wx_cv_size_t_is_ulong
=yes
25935 rm -f conftest.
$ac_objext conftest.
$ac_ext
25938 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25939 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25941 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25942 cat >>confdefs.h
<<\_ACEOF
25943 #define wxSIZE_T_IS_ULONG 1
25950 ac_cpp
='$CPP $CPPFLAGS'
25951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25957 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25958 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25959 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 cat >conftest.
$ac_ext <<_ACEOF
25964 #line $LINENO "configure"
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25983 rm -f conftest.
$ac_objext
25984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25985 (eval $ac_compile) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try
='test -s conftest.$ac_objext'
25990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991 (eval $ac_try) 2>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); }; }; then
25996 wx_cv_struct_pw_gecos
=yes
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.
$ac_ext >&5
26003 wx_cv_struct_pw_gecos
=no
26007 rm -f conftest.
$ac_objext conftest.
$ac_ext
26011 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26012 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26014 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26015 cat >>confdefs.h
<<\_ACEOF
26016 #define HAVE_PW_GECOS 1
26022 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26023 cat >>confdefs.h
<<\_ACEOF
26024 #define wxUSE_WCHAR_T 1
26031 for ac_func
in wcslen
26033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26034 echo "$as_me:$LINENO: checking for $ac_func" >&5
26035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26036 if eval "test \"\${$as_ac_var+set}\" = set"; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 cat >conftest.
$ac_ext <<_ACEOF
26040 #line $LINENO "configure"
26043 cat confdefs.h
>>conftest.
$ac_ext
26044 cat >>conftest.
$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26046 /* System header to define __stub macros and hopefully few prototypes,
26047 which can conflict with char $ac_func (); below.
26048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26049 <limits.h> exists even on freestanding compilers. */
26051 # include <limits.h>
26053 # include <assert.h>
26055 /* Override any gcc2 internal prototype to avoid an error. */
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26063 /* The GNU C library defines this for functions which it implements
26064 to always fail with ENOSYS. Some functions are actually named
26065 something starting with __ and the normal name is an alias. */
26066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26069 char (*f) () = $ac_func;
26078 return f != $ac_func;
26083 rm -f conftest.
$ac_objext conftest
$ac_exeext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26085 (eval $ac_link) 2>&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try
='test -s conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 eval "$as_ac_var=yes"
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.
$ac_ext >&5
26100 eval "$as_ac_var=no"
26102 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26106 if test `eval echo '${'$as_ac_var'}'` = yes; then
26107 cat >>confdefs.h
<<_ACEOF
26108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26115 if test "$WCSLEN_FOUND" = 0; then
26116 if test "$TOOLKIT" = "MSW"; then
26117 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26118 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26119 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26120 echo $ECHO_N "(cached) $ECHO_C" >&6
26122 ac_check_lib_save_LIBS
=$LIBS
26123 LIBS
="-lmsvcrt $LIBS"
26124 cat >conftest.
$ac_ext <<_ACEOF
26125 #line $LINENO "configure"
26128 cat confdefs.h
>>conftest.
$ac_ext
26129 cat >>conftest.
$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26132 /* Override any gcc2 internal prototype to avoid an error. */
26136 /* We use char because int might match the return type of a gcc2
26137 builtin and then its argument prototype would still apply. */
26147 rm -f conftest.
$ac_objext conftest
$ac_exeext
26148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26149 (eval $ac_link) 2>&5
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); } &&
26153 { ac_try
='test -s conftest$ac_exeext'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; }; then
26159 ac_cv_lib_msvcrt_wcslen
=yes
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.
$ac_ext >&5
26164 ac_cv_lib_msvcrt_wcslen
=no
26166 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26167 LIBS
=$ac_check_lib_save_LIBS
26169 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26170 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26171 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26176 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26177 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26178 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26179 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 ac_check_lib_save_LIBS
=$LIBS
26183 cat >conftest.
$ac_ext <<_ACEOF
26184 #line $LINENO "configure"
26187 cat confdefs.h
>>conftest.
$ac_ext
26188 cat >>conftest.
$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26191 /* Override any gcc2 internal prototype to avoid an error. */
26195 /* We use char because int might match the return type of a gcc2
26196 builtin and then its argument prototype would still apply. */
26206 rm -f conftest.
$ac_objext conftest
$ac_exeext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26208 (eval $ac_link) 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try
='test -s conftest$ac_exeext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 ac_cv_lib_w_wcslen
=yes
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.
$ac_ext >&5
26223 ac_cv_lib_w_wcslen
=no
26225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26226 LIBS
=$ac_check_lib_save_LIBS
26228 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26229 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26230 if test $ac_cv_lib_w_wcslen = yes; then
26240 if test "$WCSLEN_FOUND" = 1; then
26241 cat >>confdefs.h
<<\_ACEOF
26242 #define HAVE_WCSLEN 1
26248 for ac_func
in wcsrtombs
26250 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26251 echo "$as_me:$LINENO: checking for $ac_func" >&5
26252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26253 if eval "test \"\${$as_ac_var+set}\" = set"; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26256 cat >conftest.
$ac_ext <<_ACEOF
26257 #line $LINENO "configure"
26260 cat confdefs.h
>>conftest.
$ac_ext
26261 cat >>conftest.
$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 /* System header to define __stub macros and hopefully few prototypes,
26264 which can conflict with char $ac_func (); below.
26265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26266 <limits.h> exists even on freestanding compilers. */
26268 # include <limits.h>
26270 # include <assert.h>
26272 /* Override any gcc2 internal prototype to avoid an error. */
26277 /* We use char because int might match the return type of a gcc2
26278 builtin and then its argument prototype would still apply. */
26280 /* The GNU C library defines this for functions which it implements
26281 to always fail with ENOSYS. Some functions are actually named
26282 something starting with __ and the normal name is an alias. */
26283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26286 char (*f) () = $ac_func;
26295 return f != $ac_func;
26300 rm -f conftest.
$ac_objext conftest
$ac_exeext
26301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26302 (eval $ac_link) 2>&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try
='test -s conftest$ac_exeext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 eval "$as_ac_var=yes"
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.
$ac_ext >&5
26317 eval "$as_ac_var=no"
26319 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26323 if test `eval echo '${'$as_ac_var'}'` = yes; then
26324 cat >>confdefs.h
<<_ACEOF
26325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26332 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26333 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26339 ac_cpp
='$CXXCPP $CPPFLAGS'
26340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26346 for ac_func
in vsnprintf
26348 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26349 echo "$as_me:$LINENO: checking for $ac_func" >&5
26350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26351 if eval "test \"\${$as_ac_var+set}\" = set"; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 cat >conftest.
$ac_ext <<_ACEOF
26355 #line $LINENO "configure"
26358 cat confdefs.h
>>conftest.
$ac_ext
26359 cat >>conftest.
$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361 /* System header to define __stub macros and hopefully few prototypes,
26362 which can conflict with char $ac_func (); below.
26363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26364 <limits.h> exists even on freestanding compilers. */
26366 # include <limits.h>
26368 # include <assert.h>
26370 /* Override any gcc2 internal prototype to avoid an error. */
26375 /* We use char because int might match the return type of a gcc2
26376 builtin and then its argument prototype would still apply. */
26378 /* The GNU C library defines this for functions which it implements
26379 to always fail with ENOSYS. Some functions are actually named
26380 something starting with __ and the normal name is an alias. */
26381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26384 char (*f) () = $ac_func;
26393 return f != $ac_func;
26398 rm -f conftest.
$ac_objext conftest
$ac_exeext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26400 (eval $ac_link) 2>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try
='test -s conftest$ac_exeext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 eval "$as_ac_var=yes"
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.
$ac_ext >&5
26415 eval "$as_ac_var=no"
26417 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26421 if test `eval echo '${'$as_ac_var'}'` = yes; then
26422 cat >>confdefs.h
<<_ACEOF
26423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26430 if test "$ac_cv_func_vsnprintf" = "yes"; then
26431 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26432 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26433 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 cat >conftest.
$ac_ext <<_ACEOF
26438 #line $LINENO "configure"
26441 cat confdefs.h
>>conftest.
$ac_ext
26442 cat >>conftest.
$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26446 #include <stdarg.h>
26454 vsnprintf(buf, 10u, "%s", ap);
26460 rm -f conftest.
$ac_objext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26462 (eval $ac_compile) 2>&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } &&
26466 { ac_try
='test -s conftest.$ac_objext'
26467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26468 (eval $ac_try) 2>&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); }; }; then
26472 wx_cv_func_vsnprintf_decl
=yes
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.
$ac_ext >&5
26477 wx_cv_func_vsnprintf_decl
=no
26480 rm -f conftest.
$ac_objext conftest.
$ac_ext
26484 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26485 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26487 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26488 cat >>confdefs.h
<<\_ACEOF
26489 #define HAVE_VSNPRINTF_DECL 1
26495 if test "$wxUSE_UNICODE" = yes; then
26499 for ac_func
in fputwc wprintf vswprintf
26501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26502 echo "$as_me:$LINENO: checking for $ac_func" >&5
26503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26504 if eval "test \"\${$as_ac_var+set}\" = set"; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 cat >conftest.
$ac_ext <<_ACEOF
26508 #line $LINENO "configure"
26511 cat confdefs.h
>>conftest.
$ac_ext
26512 cat >>conftest.
$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 /* System header to define __stub macros and hopefully few prototypes,
26515 which can conflict with char $ac_func (); below.
26516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26517 <limits.h> exists even on freestanding compilers. */
26519 # include <limits.h>
26521 # include <assert.h>
26523 /* Override any gcc2 internal prototype to avoid an error. */
26528 /* We use char because int might match the return type of a gcc2
26529 builtin and then its argument prototype would still apply. */
26531 /* The GNU C library defines this for functions which it implements
26532 to always fail with ENOSYS. Some functions are actually named
26533 something starting with __ and the normal name is an alias. */
26534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26537 char (*f) () = $ac_func;
26546 return f != $ac_func;
26551 rm -f conftest.
$ac_objext conftest
$ac_exeext
26552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26553 (eval $ac_link) 2>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); } &&
26557 { ac_try
='test -s conftest$ac_exeext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 eval "$as_ac_var=yes"
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.
$ac_ext >&5
26568 eval "$as_ac_var=no"
26570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26574 if test `eval echo '${'$as_ac_var'}'` = yes; then
26575 cat >>confdefs.h
<<_ACEOF
26576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26583 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26584 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26585 cat >conftest.
$ac_ext <<_ACEOF
26586 #line $LINENO "configure"
26589 cat confdefs.h
>>conftest.
$ac_ext
26590 cat >>conftest.
$ac_ext <<_ACEOF
26591 /* end confdefs.h. */
26601 rm -f conftest.
$ac_objext
26602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26603 (eval $ac_compile) 2>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try
='test -s conftest.$ac_objext'
26608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609 (eval $ac_try) 2>&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; }; then
26613 echo "$as_me:$LINENO: result: yes" >&5
26614 echo "${ECHO_T}yes" >&6
26615 cat >>confdefs.h
<<\_ACEOF
26616 #define HAVE__VSNWPRINTF 1
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.
$ac_ext >&5
26623 echo "$as_me:$LINENO: result: no" >&5
26624 echo "${ECHO_T}no" >&6
26626 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26630 ac_cpp
='$CPP $CPPFLAGS'
26631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26638 if test "$TOOLKIT" != "MSW"; then
26644 ac_cpp
='$CXXCPP $CPPFLAGS'
26645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26652 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26653 if test "${with_libiconv_prefix+set}" = set; then
26654 withval
="$with_libiconv_prefix"
26656 for dir
in `echo "$withval" | tr : ' '`; do
26657 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26658 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26663 echo "$as_me:$LINENO: checking for iconv" >&5
26664 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26665 if test "${am_cv_func_iconv+set}" = set; then
26666 echo $ECHO_N "(cached) $ECHO_C" >&6
26669 am_cv_func_iconv
="no, consider installing GNU libiconv"
26671 cat >conftest.
$ac_ext <<_ACEOF
26672 #line $LINENO "configure"
26675 cat confdefs.h
>>conftest.
$ac_ext
26676 cat >>conftest.
$ac_ext <<_ACEOF
26677 /* end confdefs.h. */
26678 #include <stdlib.h>
26683 iconv_t cd = iconv_open("","");
26684 iconv(cd,NULL,NULL,NULL,NULL);
26690 rm -f conftest.
$ac_objext conftest
$ac_exeext
26691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26692 (eval $ac_link) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 { ac_try
='test -s conftest$ac_exeext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 am_cv_func_iconv
=yes
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.
$ac_ext >&5
26708 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26709 if test "$am_cv_func_iconv" != yes; then
26710 am_save_LIBS
="$LIBS"
26711 LIBS
="$LIBS -liconv"
26712 cat >conftest.
$ac_ext <<_ACEOF
26713 #line $LINENO "configure"
26716 cat confdefs.h
>>conftest.
$ac_ext
26717 cat >>conftest.
$ac_ext <<_ACEOF
26718 /* end confdefs.h. */
26719 #include <stdlib.h>
26724 iconv_t cd = iconv_open("","");
26725 iconv(cd,NULL,NULL,NULL,NULL);
26731 rm -f conftest.
$ac_objext conftest
$ac_exeext
26732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26733 (eval $ac_link) 2>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } &&
26737 { ac_try
='test -s conftest$ac_exeext'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; }; then
26743 am_cv_lib_iconv
=yes
26744 am_cv_func_iconv
=yes
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.
$ac_ext >&5
26750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26751 LIBS
="$am_save_LIBS"
26755 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26756 echo "${ECHO_T}$am_cv_func_iconv" >&6
26757 if test "$am_cv_func_iconv" = yes; then
26759 cat >>confdefs.h
<<\_ACEOF
26760 #define HAVE_ICONV 1
26763 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26764 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26765 if test "${wx_cv_func_iconv_const+set}" = set; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 cat >conftest.
$ac_ext <<_ACEOF
26769 #line $LINENO "configure"
26772 cat confdefs.h
>>conftest.
$ac_ext
26773 cat >>conftest.
$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26776 #include <stdlib.h>
26782 #if defined(__STDC__) || defined(__cplusplus)
26783 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26796 rm -f conftest.
$ac_objext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26798 (eval $ac_compile) 2>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try
='test -s conftest.$ac_objext'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; }; then
26808 wx_cv_func_iconv_const
="no"
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.
$ac_ext >&5
26813 wx_cv_func_iconv_const
="yes"
26816 rm -f conftest.
$ac_objext conftest.
$ac_ext
26819 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26820 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26823 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26824 iconv_const
="const"
26828 cat >>confdefs.h
<<_ACEOF
26829 #define ICONV_CONST $iconv_const
26834 if test "$am_cv_lib_iconv" = yes; then
26839 LIBS
="$LIBICONV $LIBS"
26841 ac_cpp
='$CPP $CPPFLAGS'
26842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26849 for ac_func
in sigaction
26851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26852 echo "$as_me:$LINENO: checking for $ac_func" >&5
26853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26854 if eval "test \"\${$as_ac_var+set}\" = set"; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 cat >conftest.
$ac_ext <<_ACEOF
26858 #line $LINENO "configure"
26861 cat confdefs.h
>>conftest.
$ac_ext
26862 cat >>conftest.
$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26864 /* System header to define __stub macros and hopefully few prototypes,
26865 which can conflict with char $ac_func (); below.
26866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26867 <limits.h> exists even on freestanding compilers. */
26869 # include <limits.h>
26871 # include <assert.h>
26873 /* Override any gcc2 internal prototype to avoid an error. */
26878 /* We use char because int might match the return type of a gcc2
26879 builtin and then its argument prototype would still apply. */
26881 /* The GNU C library defines this for functions which it implements
26882 to always fail with ENOSYS. Some functions are actually named
26883 something starting with __ and the normal name is an alias. */
26884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26887 char (*f) () = $ac_func;
26896 return f != $ac_func;
26901 rm -f conftest.
$ac_objext conftest
$ac_exeext
26902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26903 (eval $ac_link) 2>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try
='test -s conftest$ac_exeext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26913 eval "$as_ac_var=yes"
26915 echo "$as_me: failed program was:" >&5
26916 sed 's/^/| /' conftest.
$ac_ext >&5
26918 eval "$as_ac_var=no"
26920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26924 if test `eval echo '${'$as_ac_var'}'` = yes; then
26925 cat >>confdefs.h
<<_ACEOF
26926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26933 if test "$ac_cv_func_sigaction" = "no"; then
26934 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26935 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26936 wxUSE_ON_FATAL_EXCEPTION
=no
26939 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26943 ac_cpp
='$CXXCPP $CPPFLAGS'
26944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26949 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26950 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26951 if test "${wx_cv_type_sa_handler+set}" = set; then
26952 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 cat >conftest.
$ac_ext <<_ACEOF
26956 #line $LINENO "configure"
26959 cat confdefs.h
>>conftest.
$ac_ext
26960 cat >>conftest.
$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962 #include <signal.h>
26967 extern void testSigHandler(int);
26969 struct sigaction sa;
26970 sa.sa_handler = testSigHandler;
26976 rm -f conftest.
$ac_objext
26977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26978 (eval $ac_compile) 2>&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); } &&
26982 { ac_try
='test -s conftest.$ac_objext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26989 wx_cv_type_sa_handler
=int
26992 echo "$as_me: failed program was:" >&5
26993 sed 's/^/| /' conftest.
$ac_ext >&5
26996 wx_cv_type_sa_handler
=void
26999 rm -f conftest.
$ac_objext conftest.
$ac_ext
27002 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27003 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27006 ac_cpp
='$CPP $CPPFLAGS'
27007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27012 cat >>confdefs.h
<<_ACEOF
27013 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27021 for ac_func
in mkstemp mktemp
27023 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27024 echo "$as_me:$LINENO: checking for $ac_func" >&5
27025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27026 if eval "test \"\${$as_ac_var+set}\" = set"; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 cat >conftest.
$ac_ext <<_ACEOF
27030 #line $LINENO "configure"
27033 cat confdefs.h
>>conftest.
$ac_ext
27034 cat >>conftest.
$ac_ext <<_ACEOF
27035 /* end confdefs.h. */
27036 /* System header to define __stub macros and hopefully few prototypes,
27037 which can conflict with char $ac_func (); below.
27038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27039 <limits.h> exists even on freestanding compilers. */
27041 # include <limits.h>
27043 # include <assert.h>
27045 /* Override any gcc2 internal prototype to avoid an error. */
27050 /* We use char because int might match the return type of a gcc2
27051 builtin and then its argument prototype would still apply. */
27053 /* The GNU C library defines this for functions which it implements
27054 to always fail with ENOSYS. Some functions are actually named
27055 something starting with __ and the normal name is an alias. */
27056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27059 char (*f) () = $ac_func;
27068 return f != $ac_func;
27073 rm -f conftest.
$ac_objext conftest
$ac_exeext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27075 (eval $ac_link) 2>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try
='test -s conftest$ac_exeext'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; }; then
27085 eval "$as_ac_var=yes"
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.
$ac_ext >&5
27090 eval "$as_ac_var=no"
27092 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27096 if test `eval echo '${'$as_ac_var'}'` = yes; then
27097 cat >>confdefs.h
<<_ACEOF
27098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27105 echo "$as_me:$LINENO: checking for statfs" >&5
27106 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27107 if test "${wx_cv_func_statfs+set}" = set; then
27108 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 cat >conftest.
$ac_ext <<_ACEOF
27111 #line $LINENO "configure"
27114 cat confdefs.h
>>conftest.
$ac_ext
27115 cat >>conftest.
$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27118 #if defined(__BSD__)
27119 #include <sys/param.h>
27120 #include <sys/mount.h>
27122 #include <sys/vfs.h>
27140 rm -f conftest.
$ac_objext
27141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27142 (eval $ac_compile) 2>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try
='test -s conftest.$ac_objext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27153 wx_cv_func_statfs
=yes
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.
$ac_ext >&5
27160 wx_cv_func_statfs
=no
27164 rm -f conftest.
$ac_objext conftest.
$ac_ext
27167 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27168 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27170 if test "$wx_cv_func_statfs" = "yes"; then
27171 wx_cv_type_statvfs_t
="struct statfs"
27172 cat >>confdefs.h
<<\_ACEOF
27173 #define HAVE_STATFS 1
27177 echo "$as_me:$LINENO: checking for statvfs" >&5
27178 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27179 if test "${wx_cv_func_statvfs+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27182 cat >conftest.
$ac_ext <<_ACEOF
27183 #line $LINENO "configure"
27186 cat confdefs.h
>>conftest.
$ac_ext
27187 cat >>conftest.
$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27190 #include <stddef.h>
27191 #include <sys/statvfs.h>
27197 statvfs("/", NULL);
27203 rm -f conftest.
$ac_objext
27204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27205 (eval $ac_compile) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try
='test -s conftest.$ac_objext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27215 wx_cv_func_statvfs
=yes
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.
$ac_ext >&5
27220 wx_cv_func_statvfs
=no
27223 rm -f conftest.
$ac_objext conftest.
$ac_ext
27226 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27227 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27229 if test "$wx_cv_func_statvfs" = "yes"; then
27233 ac_cpp
='$CXXCPP $CPPFLAGS'
27234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27239 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27240 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27241 if test "${wx_cv_type_statvfs_t+set}" = set; then
27242 echo $ECHO_N "(cached) $ECHO_C" >&6
27244 cat >conftest.
$ac_ext <<_ACEOF
27245 #line $LINENO "configure"
27248 cat confdefs.h
>>conftest.
$ac_ext
27249 cat >>conftest.
$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27252 #include <sys/statvfs.h>
27269 rm -f conftest.
$ac_objext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27271 (eval $ac_compile) 2>&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try
='test -s conftest.$ac_objext'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; }; then
27281 wx_cv_type_statvfs_t
=statvfs_t
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.
$ac_ext >&5
27287 cat >conftest.
$ac_ext <<_ACEOF
27288 #line $LINENO "configure"
27291 cat confdefs.h
>>conftest.
$ac_ext
27292 cat >>conftest.
$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27295 #include <sys/statvfs.h>
27312 rm -f conftest.
$ac_objext
27313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27314 (eval $ac_compile) 2>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } &&
27318 { ac_try
='test -s conftest.$ac_objext'
27319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27320 (eval $ac_try) 2>&5
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); }; }; then
27324 wx_cv_type_statvfs_t
="struct statvfs"
27326 echo "$as_me: failed program was:" >&5
27327 sed 's/^/| /' conftest.
$ac_ext >&5
27329 wx_cv_type_statvfs_t
="unknown"
27332 rm -f conftest.
$ac_objext conftest.
$ac_ext
27336 rm -f conftest.
$ac_objext conftest.
$ac_ext
27339 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27340 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27343 ac_cpp
='$CPP $CPPFLAGS'
27344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27349 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27350 cat >>confdefs.h
<<\_ACEOF
27351 #define HAVE_STATVFS 1
27356 wx_cv_type_statvfs_t
="unknown"
27360 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27361 cat >>confdefs.h
<<_ACEOF
27362 #define WX_STATFS_T $wx_cv_type_statvfs_t
27366 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27367 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27370 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27373 for ac_func
in fcntl flock
27375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27376 echo "$as_me:$LINENO: checking for $ac_func" >&5
27377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27378 if eval "test \"\${$as_ac_var+set}\" = set"; then
27379 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 cat >conftest.
$ac_ext <<_ACEOF
27382 #line $LINENO "configure"
27385 cat confdefs.h
>>conftest.
$ac_ext
27386 cat >>conftest.
$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* System header to define __stub macros and hopefully few prototypes,
27389 which can conflict with char $ac_func (); below.
27390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27391 <limits.h> exists even on freestanding compilers. */
27393 # include <limits.h>
27395 # include <assert.h>
27397 /* Override any gcc2 internal prototype to avoid an error. */
27402 /* We use char because int might match the return type of a gcc2
27403 builtin and then its argument prototype would still apply. */
27405 /* The GNU C library defines this for functions which it implements
27406 to always fail with ENOSYS. Some functions are actually named
27407 something starting with __ and the normal name is an alias. */
27408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27411 char (*f) () = $ac_func;
27420 return f != $ac_func;
27425 rm -f conftest.
$ac_objext conftest
$ac_exeext
27426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27427 (eval $ac_link) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } &&
27431 { ac_try
='test -s conftest$ac_exeext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 eval "$as_ac_var=yes"
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.
$ac_ext >&5
27442 eval "$as_ac_var=no"
27444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27448 if test `eval echo '${'$as_ac_var'}'` = yes; then
27449 cat >>confdefs.h
<<_ACEOF
27450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27457 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27458 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27459 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27460 wxUSE_SNGLINST_CHECKER
=no
27465 for ac_func
in timegm
27467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27468 echo "$as_me:$LINENO: checking for $ac_func" >&5
27469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27470 if eval "test \"\${$as_ac_var+set}\" = set"; then
27471 echo $ECHO_N "(cached) $ECHO_C" >&6
27473 cat >conftest.
$ac_ext <<_ACEOF
27474 #line $LINENO "configure"
27477 cat confdefs.h
>>conftest.
$ac_ext
27478 cat >>conftest.
$ac_ext <<_ACEOF
27479 /* end confdefs.h. */
27480 /* System header to define __stub macros and hopefully few prototypes,
27481 which can conflict with char $ac_func (); below.
27482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27483 <limits.h> exists even on freestanding compilers. */
27485 # include <limits.h>
27487 # include <assert.h>
27489 /* Override any gcc2 internal prototype to avoid an error. */
27494 /* We use char because int might match the return type of a gcc2
27495 builtin and then its argument prototype would still apply. */
27497 /* The GNU C library defines this for functions which it implements
27498 to always fail with ENOSYS. Some functions are actually named
27499 something starting with __ and the normal name is an alias. */
27500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27503 char (*f) () = $ac_func;
27512 return f != $ac_func;
27517 rm -f conftest.
$ac_objext conftest
$ac_exeext
27518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27519 (eval $ac_link) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); } &&
27523 { ac_try
='test -s conftest$ac_exeext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529 eval "$as_ac_var=yes"
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.
$ac_ext >&5
27534 eval "$as_ac_var=no"
27536 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27540 if test `eval echo '${'$as_ac_var'}'` = yes; then
27541 cat >>confdefs.h
<<_ACEOF
27542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27551 for ac_func
in putenv setenv
27553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27554 echo "$as_me:$LINENO: checking for $ac_func" >&5
27555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27556 if eval "test \"\${$as_ac_var+set}\" = set"; then
27557 echo $ECHO_N "(cached) $ECHO_C" >&6
27559 cat >conftest.
$ac_ext <<_ACEOF
27560 #line $LINENO "configure"
27563 cat confdefs.h
>>conftest.
$ac_ext
27564 cat >>conftest.
$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27566 /* System header to define __stub macros and hopefully few prototypes,
27567 which can conflict with char $ac_func (); below.
27568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27569 <limits.h> exists even on freestanding compilers. */
27571 # include <limits.h>
27573 # include <assert.h>
27575 /* Override any gcc2 internal prototype to avoid an error. */
27580 /* We use char because int might match the return type of a gcc2
27581 builtin and then its argument prototype would still apply. */
27583 /* The GNU C library defines this for functions which it implements
27584 to always fail with ENOSYS. Some functions are actually named
27585 something starting with __ and the normal name is an alias. */
27586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27589 char (*f) () = $ac_func;
27598 return f != $ac_func;
27603 rm -f conftest.
$ac_objext conftest
$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } &&
27609 { ac_try
='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 eval "$as_ac_var=yes"
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.
$ac_ext >&5
27620 eval "$as_ac_var=no"
27622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27626 if test `eval echo '${'$as_ac_var'}'` = yes; then
27627 cat >>confdefs.h
<<_ACEOF
27628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27635 HAVE_SOME_SLEEP_FUNC
=0
27636 if test "$USE_BEOS" = 1; then
27637 cat >>confdefs.h
<<\_ACEOF
27638 #define HAVE_SLEEP 1
27641 HAVE_SOME_SLEEP_FUNC
=1
27644 if test "$USE_DARWIN" = 1; then
27645 cat >>confdefs.h
<<\_ACEOF
27646 #define HAVE_USLEEP 1
27649 HAVE_SOME_SLEEP_FUNC
=1
27652 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27655 for ac_func
in nanosleep
27657 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27658 echo "$as_me:$LINENO: checking for $ac_func" >&5
27659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27660 if eval "test \"\${$as_ac_var+set}\" = set"; then
27661 echo $ECHO_N "(cached) $ECHO_C" >&6
27663 cat >conftest.
$ac_ext <<_ACEOF
27664 #line $LINENO "configure"
27667 cat confdefs.h
>>conftest.
$ac_ext
27668 cat >>conftest.
$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670 /* System header to define __stub macros and hopefully few prototypes,
27671 which can conflict with char $ac_func (); below.
27672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27673 <limits.h> exists even on freestanding compilers. */
27675 # include <limits.h>
27677 # include <assert.h>
27679 /* Override any gcc2 internal prototype to avoid an error. */
27684 /* We use char because int might match the return type of a gcc2
27685 builtin and then its argument prototype would still apply. */
27687 /* The GNU C library defines this for functions which it implements
27688 to always fail with ENOSYS. Some functions are actually named
27689 something starting with __ and the normal name is an alias. */
27690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27693 char (*f) () = $ac_func;
27702 return f != $ac_func;
27707 rm -f conftest.
$ac_objext conftest
$ac_exeext
27708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27709 (eval $ac_link) 2>&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } &&
27713 { ac_try
='test -s conftest$ac_exeext'
27714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27715 (eval $ac_try) 2>&5
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); }; }; then
27719 eval "$as_ac_var=yes"
27721 echo "$as_me: failed program was:" >&5
27722 sed 's/^/| /' conftest.
$ac_ext >&5
27724 eval "$as_ac_var=no"
27726 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27730 if test `eval echo '${'$as_ac_var'}'` = yes; then
27731 cat >>confdefs.h
<<_ACEOF
27732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27734 cat >>confdefs.h
<<\_ACEOF
27735 #define HAVE_NANOSLEEP 1
27740 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27741 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27742 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 ac_check_lib_save_LIBS
=$LIBS
27746 LIBS
="-lposix4 $LIBS"
27747 cat >conftest.
$ac_ext <<_ACEOF
27748 #line $LINENO "configure"
27751 cat confdefs.h
>>conftest.
$ac_ext
27752 cat >>conftest.
$ac_ext <<_ACEOF
27753 /* end confdefs.h. */
27755 /* Override any gcc2 internal prototype to avoid an error. */
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27770 rm -f conftest.
$ac_objext conftest
$ac_exeext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27772 (eval $ac_link) 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } &&
27776 { ac_try
='test -s conftest$ac_exeext'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; }; then
27782 ac_cv_lib_posix4_nanosleep
=yes
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.
$ac_ext >&5
27787 ac_cv_lib_posix4_nanosleep
=no
27789 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27790 LIBS
=$ac_check_lib_save_LIBS
27792 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27793 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27794 if test $ac_cv_lib_posix4_nanosleep = yes; then
27796 cat >>confdefs.h
<<\_ACEOF
27797 #define HAVE_NANOSLEEP 1
27800 POSIX4_LINK
=" -lposix4"
27805 for ac_func
in usleep
27807 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27808 echo "$as_me:$LINENO: checking for $ac_func" >&5
27809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27810 if eval "test \"\${$as_ac_var+set}\" = set"; then
27811 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 cat >conftest.
$ac_ext <<_ACEOF
27814 #line $LINENO "configure"
27817 cat confdefs.h
>>conftest.
$ac_ext
27818 cat >>conftest.
$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820 /* System header to define __stub macros and hopefully few prototypes,
27821 which can conflict with char $ac_func (); below.
27822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27823 <limits.h> exists even on freestanding compilers. */
27825 # include <limits.h>
27827 # include <assert.h>
27829 /* Override any gcc2 internal prototype to avoid an error. */
27834 /* We use char because int might match the return type of a gcc2
27835 builtin and then its argument prototype would still apply. */
27837 /* The GNU C library defines this for functions which it implements
27838 to always fail with ENOSYS. Some functions are actually named
27839 something starting with __ and the normal name is an alias. */
27840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27843 char (*f) () = $ac_func;
27852 return f != $ac_func;
27857 rm -f conftest.
$ac_objext conftest
$ac_exeext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27859 (eval $ac_link) 2>&5
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); } &&
27863 { ac_try
='test -s conftest$ac_exeext'
27864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27865 (eval $ac_try) 2>&5
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); }; }; then
27869 eval "$as_ac_var=yes"
27871 echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.
$ac_ext >&5
27874 eval "$as_ac_var=no"
27876 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27880 if test `eval echo '${'$as_ac_var'}'` = yes; then
27881 cat >>confdefs.h
<<_ACEOF
27882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27884 cat >>confdefs.h
<<\_ACEOF
27885 #define HAVE_USLEEP 1
27889 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27890 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27908 for ac_func
in uname gethostname
27910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27911 echo "$as_me:$LINENO: checking for $ac_func" >&5
27912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27913 if eval "test \"\${$as_ac_var+set}\" = set"; then
27914 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 cat >conftest.
$ac_ext <<_ACEOF
27917 #line $LINENO "configure"
27920 cat confdefs.h
>>conftest.
$ac_ext
27921 cat >>conftest.
$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27923 /* System header to define __stub macros and hopefully few prototypes,
27924 which can conflict with char $ac_func (); below.
27925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27926 <limits.h> exists even on freestanding compilers. */
27928 # include <limits.h>
27930 # include <assert.h>
27932 /* Override any gcc2 internal prototype to avoid an error. */
27937 /* We use char because int might match the return type of a gcc2
27938 builtin and then its argument prototype would still apply. */
27940 /* The GNU C library defines this for functions which it implements
27941 to always fail with ENOSYS. Some functions are actually named
27942 something starting with __ and the normal name is an alias. */
27943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27946 char (*f) () = $ac_func;
27955 return f != $ac_func;
27960 rm -f conftest.
$ac_objext conftest
$ac_exeext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27962 (eval $ac_link) 2>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); } &&
27966 { ac_try
='test -s conftest$ac_exeext'
27967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968 (eval $ac_try) 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); }; }; then
27972 eval "$as_ac_var=yes"
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.
$ac_ext >&5
27977 eval "$as_ac_var=no"
27979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27983 if test `eval echo '${'$as_ac_var'}'` = yes; then
27984 cat >>confdefs.h
<<_ACEOF
27985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27995 ac_cpp
='$CXXCPP $CPPFLAGS'
27996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28002 for ac_func
in strtok_r
28004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28005 echo "$as_me:$LINENO: checking for $ac_func" >&5
28006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28007 if eval "test \"\${$as_ac_var+set}\" = set"; then
28008 echo $ECHO_N "(cached) $ECHO_C" >&6
28010 cat >conftest.
$ac_ext <<_ACEOF
28011 #line $LINENO "configure"
28014 cat confdefs.h
>>conftest.
$ac_ext
28015 cat >>conftest.
$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28017 /* System header to define __stub macros and hopefully few prototypes,
28018 which can conflict with char $ac_func (); below.
28019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28020 <limits.h> exists even on freestanding compilers. */
28022 # include <limits.h>
28024 # include <assert.h>
28026 /* Override any gcc2 internal prototype to avoid an error. */
28031 /* We use char because int might match the return type of a gcc2
28032 builtin and then its argument prototype would still apply. */
28034 /* The GNU C library defines this for functions which it implements
28035 to always fail with ENOSYS. Some functions are actually named
28036 something starting with __ and the normal name is an alias. */
28037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28040 char (*f) () = $ac_func;
28049 return f != $ac_func;
28054 rm -f conftest.
$ac_objext conftest
$ac_exeext
28055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28056 (eval $ac_link) 2>&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); } &&
28060 { ac_try
='test -s conftest$ac_exeext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066 eval "$as_ac_var=yes"
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.
$ac_ext >&5
28071 eval "$as_ac_var=no"
28073 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28077 if test `eval echo '${'$as_ac_var'}'` = yes; then
28078 cat >>confdefs.h
<<_ACEOF
28079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28087 ac_cpp
='$CPP $CPPFLAGS'
28088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28095 for ac_func
in inet_addr
28097 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28098 echo "$as_me:$LINENO: checking for $ac_func" >&5
28099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28100 if eval "test \"\${$as_ac_var+set}\" = set"; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 cat >conftest.
$ac_ext <<_ACEOF
28104 #line $LINENO "configure"
28107 cat confdefs.h
>>conftest.
$ac_ext
28108 cat >>conftest.
$ac_ext <<_ACEOF
28109 /* end confdefs.h. */
28110 /* System header to define __stub macros and hopefully few prototypes,
28111 which can conflict with char $ac_func (); below.
28112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28113 <limits.h> exists even on freestanding compilers. */
28115 # include <limits.h>
28117 # include <assert.h>
28119 /* Override any gcc2 internal prototype to avoid an error. */
28124 /* We use char because int might match the return type of a gcc2
28125 builtin and then its argument prototype would still apply. */
28127 /* The GNU C library defines this for functions which it implements
28128 to always fail with ENOSYS. Some functions are actually named
28129 something starting with __ and the normal name is an alias. */
28130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28133 char (*f) () = $ac_func;
28142 return f != $ac_func;
28147 rm -f conftest.
$ac_objext conftest
$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } &&
28153 { ac_try
='test -s conftest$ac_exeext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 eval "$as_ac_var=yes"
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.
$ac_ext >&5
28164 eval "$as_ac_var=no"
28166 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28170 if test `eval echo '${'$as_ac_var'}'` = yes; then
28171 cat >>confdefs.h
<<_ACEOF
28172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28174 cat >>confdefs.h
<<\_ACEOF
28175 #define HAVE_INET_ADDR 1
28180 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28181 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28182 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28183 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 ac_check_lib_save_LIBS
=$LIBS
28187 cat >conftest.
$ac_ext <<_ACEOF
28188 #line $LINENO "configure"
28191 cat confdefs.h
>>conftest.
$ac_ext
28192 cat >>conftest.
$ac_ext <<_ACEOF
28193 /* end confdefs.h. */
28195 /* Override any gcc2 internal prototype to avoid an error. */
28199 /* We use char because int might match the return type of a gcc2
28200 builtin and then its argument prototype would still apply. */
28210 rm -f conftest.
$ac_objext conftest
$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try
='test -s conftest$ac_exeext'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; }; then
28222 ac_cv_lib_nsl_inet_addr
=yes
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.
$ac_ext >&5
28227 ac_cv_lib_nsl_inet_addr
=no
28229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28230 LIBS
=$ac_check_lib_save_LIBS
28232 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28233 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28234 if test $ac_cv_lib_nsl_inet_addr = yes; then
28238 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28239 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28240 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28243 ac_check_lib_save_LIBS
=$LIBS
28244 LIBS
="-lresolv $LIBS"
28245 cat >conftest.
$ac_ext <<_ACEOF
28246 #line $LINENO "configure"
28249 cat confdefs.h
>>conftest.
$ac_ext
28250 cat >>conftest.
$ac_ext <<_ACEOF
28251 /* end confdefs.h. */
28253 /* Override any gcc2 internal prototype to avoid an error. */
28257 /* We use char because int might match the return type of a gcc2
28258 builtin and then its argument prototype would still apply. */
28268 rm -f conftest.
$ac_objext conftest
$ac_exeext
28269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28270 (eval $ac_link) 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } &&
28274 { ac_try
='test -s conftest$ac_exeext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_lib_resolv_inet_addr
=yes
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.
$ac_ext >&5
28285 ac_cv_lib_resolv_inet_addr
=no
28287 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28288 LIBS
=$ac_check_lib_save_LIBS
28290 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28291 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28292 if test $ac_cv_lib_resolv_inet_addr = yes; then
28296 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28297 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28298 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28299 echo $ECHO_N "(cached) $ECHO_C" >&6
28301 ac_check_lib_save_LIBS
=$LIBS
28302 LIBS
="-lsocket $LIBS"
28303 cat >conftest.
$ac_ext <<_ACEOF
28304 #line $LINENO "configure"
28307 cat confdefs.h
>>conftest.
$ac_ext
28308 cat >>conftest.
$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28311 /* Override any gcc2 internal prototype to avoid an error. */
28315 /* We use char because int might match the return type of a gcc2
28316 builtin and then its argument prototype would still apply. */
28326 rm -f conftest.
$ac_objext conftest
$ac_exeext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28328 (eval $ac_link) 2>&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try
='test -s conftest$ac_exeext'
28333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28334 (eval $ac_try) 2>&5
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); }; }; then
28338 ac_cv_lib_socket_inet_addr
=yes
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.
$ac_ext >&5
28343 ac_cv_lib_socket_inet_addr
=no
28345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28346 LIBS
=$ac_check_lib_save_LIBS
28348 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28349 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28350 if test $ac_cv_lib_socket_inet_addr = yes; then
28370 for ac_func
in inet_aton
28372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28373 echo "$as_me:$LINENO: checking for $ac_func" >&5
28374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28375 if eval "test \"\${$as_ac_var+set}\" = set"; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 cat >conftest.
$ac_ext <<_ACEOF
28379 #line $LINENO "configure"
28382 cat confdefs.h
>>conftest.
$ac_ext
28383 cat >>conftest.
$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28385 /* System header to define __stub macros and hopefully few prototypes,
28386 which can conflict with char $ac_func (); below.
28387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28388 <limits.h> exists even on freestanding compilers. */
28390 # include <limits.h>
28392 # include <assert.h>
28394 /* Override any gcc2 internal prototype to avoid an error. */
28399 /* We use char because int might match the return type of a gcc2
28400 builtin and then its argument prototype would still apply. */
28402 /* The GNU C library defines this for functions which it implements
28403 to always fail with ENOSYS. Some functions are actually named
28404 something starting with __ and the normal name is an alias. */
28405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28408 char (*f) () = $ac_func;
28417 return f != $ac_func;
28422 rm -f conftest.
$ac_objext conftest
$ac_exeext
28423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28424 (eval $ac_link) 2>&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } &&
28428 { ac_try
='test -s conftest$ac_exeext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 eval "$as_ac_var=yes"
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.
$ac_ext >&5
28439 eval "$as_ac_var=no"
28441 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28445 if test `eval echo '${'$as_ac_var'}'` = yes; then
28446 cat >>confdefs.h
<<_ACEOF
28447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28449 cat >>confdefs.h
<<\_ACEOF
28450 #define HAVE_INET_ATON 1
28455 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28456 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28457 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28458 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 ac_check_lib_save_LIBS
=$LIBS
28462 LIBS
="-l$INET_LINK $LIBS"
28463 cat >conftest.
$ac_ext <<_ACEOF
28464 #line $LINENO "configure"
28467 cat confdefs.h
>>conftest.
$ac_ext
28468 cat >>conftest.
$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28471 /* Override any gcc2 internal prototype to avoid an error. */
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28486 rm -f conftest.
$ac_objext conftest
$ac_exeext
28487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try
='test -s conftest$ac_exeext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28498 eval "$as_ac_Lib=yes"
28500 echo "$as_me: failed program was:" >&5
28501 sed 's/^/| /' conftest.
$ac_ext >&5
28503 eval "$as_ac_Lib=no"
28505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28506 LIBS
=$ac_check_lib_save_LIBS
28508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28509 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28510 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28511 cat >>confdefs.h
<<\_ACEOF
28512 #define HAVE_INET_ATON 1
28522 if test "x$INET_LINK" != "x"; then
28523 cat >>confdefs.h
<<\_ACEOF
28524 #define HAVE_INET_ADDR 1
28527 INET_LINK
=" -l$INET_LINK"
28535 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28536 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28537 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 ac_check_lib_save_LIBS
=$LIBS
28542 cat >conftest.
$ac_ext <<_ACEOF
28543 #line $LINENO "configure"
28546 cat confdefs.h
>>conftest.
$ac_ext
28547 cat >>conftest.
$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28550 /* Override any gcc2 internal prototype to avoid an error. */
28554 /* We use char because int might match the return type of a gcc2
28555 builtin and then its argument prototype would still apply. */
28565 rm -f conftest.
$ac_objext conftest
$ac_exeext
28566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28567 (eval $ac_link) 2>&5
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); } &&
28571 { ac_try
='test -s conftest$ac_exeext'
28572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28573 (eval $ac_try) 2>&5
28575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576 (exit $ac_status); }; }; then
28577 ac_cv_lib_esd_esd_close
=yes
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.
$ac_ext >&5
28582 ac_cv_lib_esd_esd_close
=no
28584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28585 LIBS
=$ac_check_lib_save_LIBS
28587 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28588 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28589 if test $ac_cv_lib_esd_esd_close = yes; then
28592 for ac_header
in esd.h
28594 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28596 echo "$as_me:$LINENO: checking for $ac_header" >&5
28597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28599 echo $ECHO_N "(cached) $ECHO_C" >&6
28601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28604 # Is the header compilable?
28605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28607 cat >conftest.
$ac_ext <<_ACEOF
28608 #line $LINENO "configure"
28611 cat confdefs.h
>>conftest.
$ac_ext
28612 cat >>conftest.
$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28614 $ac_includes_default
28615 #include <$ac_header>
28617 rm -f conftest.
$ac_objext
28618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28619 (eval $ac_compile) 2>&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } &&
28623 { ac_try
='test -s conftest.$ac_objext'
28624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625 (eval $ac_try) 2>&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); }; }; then
28629 ac_header_compiler
=yes
28631 echo "$as_me: failed program was:" >&5
28632 sed 's/^/| /' conftest.
$ac_ext >&5
28634 ac_header_compiler
=no
28636 rm -f conftest.
$ac_objext conftest.
$ac_ext
28637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28638 echo "${ECHO_T}$ac_header_compiler" >&6
28640 # Is the header present?
28641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28643 cat >conftest.
$ac_ext <<_ACEOF
28644 #line $LINENO "configure"
28647 cat confdefs.h
>>conftest.
$ac_ext
28648 cat >>conftest.
$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650 #include <$ac_header>
28652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28655 grep -v '^ *+' conftest.er1
>conftest.err
28657 cat conftest.err
>&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } >/dev
/null
; then
28660 if test -s conftest.err
; then
28661 ac_cpp_err
=$ac_c_preproc_warn_flag
28668 if test -z "$ac_cpp_err"; then
28669 ac_header_preproc
=yes
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.
$ac_ext >&5
28674 ac_header_preproc
=no
28676 rm -f conftest.err conftest.
$ac_ext
28677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28678 echo "${ECHO_T}$ac_header_preproc" >&6
28680 # So? What about this header?
28681 case $ac_header_compiler:$ac_header_preproc in
28683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28689 ## ------------------------------------ ##
28690 ## Report this to bug-autoconf@gnu.org. ##
28691 ## ------------------------------------ ##
28694 sed "s/^/$as_me: WARNING: /" >&2
28697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28705 ## ------------------------------------ ##
28706 ## Report this to bug-autoconf@gnu.org. ##
28707 ## ------------------------------------ ##
28710 sed "s/^/$as_me: WARNING: /" >&2
28713 echo "$as_me:$LINENO: checking for $ac_header" >&5
28714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 eval "$as_ac_Header=$ac_header_preproc"
28720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28725 cat >>confdefs.h
<<_ACEOF
28726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28729 EXTRALIBS_ESD
="-lesd"
28742 cat >confcache
<<\_ACEOF
28743 # This file is a shell script that caches the results of configure
28744 # tests run on this system so they can be shared between configure
28745 # scripts and configure runs, see configure's option --config-cache.
28746 # It is not useful on other systems. If it contains results you don't
28747 # want to keep, you may remove or edit it.
28749 # config.status only pays attention to the cache file if you give it
28750 # the --recheck option to rerun configure.
28752 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28753 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28754 # following values.
28758 # The following way of writing the cache mishandles newlines in values,
28759 # but we know of no workaround that is simple, portable, and efficient.
28760 # So, don't put newlines in cache variables' values.
28761 # Ultrix sh set writes to stderr and can't be redirected directly,
28762 # and sets the high bit in the cache file unless we assign to the vars.
28765 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28767 # `set' does not quote correctly, so add quotes (double-quote
28768 # substitution turns \\\\ into \\, and sed turns \\ into \).
28771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28774 # `set' quotes correctly as required by POSIX, so do not add quotes.
28776 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28785 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28787 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28788 if test -w $cache_file; then
28789 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28790 cat confcache
>$cache_file
28792 echo "not updating unwritable cache $cache_file"
28799 if test "$TOOLKIT" != "MSW"; then
28805 if test "$wxUSE_THREADS" = "yes" ; then
28806 if test "$USE_BEOS" = 1; then
28807 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28808 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28813 if test "$wxUSE_THREADS" = "yes" ; then
28816 THREAD_OPTS
="-pthread"
28818 *-*-solaris2* | *-*-sunos4* )
28819 if test "x$GCC" = "xyes"; then
28820 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28822 THREAD_OPTS
="-mt $THREAD_OPTS"
28826 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28828 *-*-darwin* | *-*-cygwin* )
28832 THREAD_OPTS
="pthreads"
28835 if test "x$GCC" != "xyes"; then
28841 if test "x$GCC" = "xyes"; then
28847 if test "x$GCC" != "xyes"; then
28848 THREAD_OPTS
="-Ethread"
28853 THREAD_OPTS
="$THREAD_OPTS pthread none"
28856 for flag
in $THREAD_OPTS; do
28859 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28860 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28864 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28865 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28866 THREADS_CFLAGS
="$flag"
28870 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28871 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28872 THREADS_LINK
="-l$flag"
28877 save_CFLAGS
="$CFLAGS"
28878 LIBS
="$THREADS_LINK $LIBS"
28879 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28881 cat >conftest.
$ac_ext <<_ACEOF
28882 #line $LINENO "configure"
28885 cat confdefs.h
>>conftest.
$ac_ext
28886 cat >>conftest.
$ac_ext <<_ACEOF
28887 /* end confdefs.h. */
28888 #include <pthread.h>
28892 pthread_create(0,0,0,0);
28897 rm -f conftest.
$ac_objext conftest
$ac_exeext
28898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28899 (eval $ac_link) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } &&
28903 { ac_try
='test -s conftest$ac_exeext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.
$ac_ext >&5
28915 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28918 CFLAGS
="$save_CFLAGS"
28920 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28921 echo "${ECHO_T}$THREADS_OK" >&6
28922 if test "x$THREADS_OK" = "xyes"; then
28930 if test "x$THREADS_OK" != "xyes"; then
28932 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28933 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28935 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28936 LIBS
="$THREADS_LINK $LIBS"
28938 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28939 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28943 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28944 flag
="-D_THREAD_SAFE"
28947 flag
="-D_THREAD_SAFE"
28950 flag
="-D_REENTRANT"
28951 if test "x$GCC" != "xyes"; then
28952 flag
="$flag -D_RWSTD_MULTI_THREAD"
28955 *solaris
* | alpha
*-osf*)
28956 flag
="-D_REENTRANT"
28959 echo "$as_me:$LINENO: result: ${flag}" >&5
28960 echo "${ECHO_T}${flag}" >&6
28961 if test "x$flag" != xno
; then
28962 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28965 if test "x$THREADS_CFLAGS" != "x"; then
28966 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28967 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28972 if test "$wxUSE_THREADS" = "yes" ; then
28974 for ac_func
in thr_setconcurrency
28976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28977 echo "$as_me:$LINENO: checking for $ac_func" >&5
28978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28979 if eval "test \"\${$as_ac_var+set}\" = set"; then
28980 echo $ECHO_N "(cached) $ECHO_C" >&6
28982 cat >conftest.
$ac_ext <<_ACEOF
28983 #line $LINENO "configure"
28986 cat confdefs.h
>>conftest.
$ac_ext
28987 cat >>conftest.
$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989 /* System header to define __stub macros and hopefully few prototypes,
28990 which can conflict with char $ac_func (); below.
28991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28992 <limits.h> exists even on freestanding compilers. */
28994 # include <limits.h>
28996 # include <assert.h>
28998 /* Override any gcc2 internal prototype to avoid an error. */
29003 /* We use char because int might match the return type of a gcc2
29004 builtin and then its argument prototype would still apply. */
29006 /* The GNU C library defines this for functions which it implements
29007 to always fail with ENOSYS. Some functions are actually named
29008 something starting with __ and the normal name is an alias. */
29009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29012 char (*f) () = $ac_func;
29021 return f != $ac_func;
29026 rm -f conftest.
$ac_objext conftest
$ac_exeext
29027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29028 (eval $ac_link) 2>&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } &&
29032 { ac_try
='test -s conftest$ac_exeext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 eval "$as_ac_var=yes"
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.
$ac_ext >&5
29043 eval "$as_ac_var=no"
29045 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29049 if test `eval echo '${'$as_ac_var'}'` = yes; then
29050 cat >>confdefs.h
<<_ACEOF
29051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29059 for ac_header
in sched.h
29061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29063 echo "$as_me:$LINENO: checking for $ac_header" >&5
29064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29066 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29071 # Is the header compilable?
29072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29074 cat >conftest.
$ac_ext <<_ACEOF
29075 #line $LINENO "configure"
29078 cat confdefs.h
>>conftest.
$ac_ext
29079 cat >>conftest.
$ac_ext <<_ACEOF
29080 /* end confdefs.h. */
29081 $ac_includes_default
29082 #include <$ac_header>
29084 rm -f conftest.
$ac_objext
29085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29086 (eval $ac_compile) 2>&5
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try
='test -s conftest.$ac_objext'
29091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29092 (eval $ac_try) 2>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 ac_header_compiler
=yes
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.
$ac_ext >&5
29101 ac_header_compiler
=no
29103 rm -f conftest.
$ac_objext conftest.
$ac_ext
29104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29105 echo "${ECHO_T}$ac_header_compiler" >&6
29107 # Is the header present?
29108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29110 cat >conftest.
$ac_ext <<_ACEOF
29111 #line $LINENO "configure"
29114 cat confdefs.h
>>conftest.
$ac_ext
29115 cat >>conftest.
$ac_ext <<_ACEOF
29116 /* end confdefs.h. */
29117 #include <$ac_header>
29119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29122 grep -v '^ *+' conftest.er1
>conftest.err
29124 cat conftest.err
>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } >/dev
/null
; then
29127 if test -s conftest.err
; then
29128 ac_cpp_err
=$ac_c_preproc_warn_flag
29135 if test -z "$ac_cpp_err"; then
29136 ac_header_preproc
=yes
29138 echo "$as_me: failed program was:" >&5
29139 sed 's/^/| /' conftest.
$ac_ext >&5
29141 ac_header_preproc
=no
29143 rm -f conftest.err conftest.
$ac_ext
29144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29145 echo "${ECHO_T}$ac_header_preproc" >&6
29147 # So? What about this header?
29148 case $ac_header_compiler:$ac_header_preproc in
29150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29156 ## ------------------------------------ ##
29157 ## Report this to bug-autoconf@gnu.org. ##
29158 ## ------------------------------------ ##
29161 sed "s/^/$as_me: WARNING: /" >&2
29164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29172 ## ------------------------------------ ##
29173 ## Report this to bug-autoconf@gnu.org. ##
29174 ## ------------------------------------ ##
29177 sed "s/^/$as_me: WARNING: /" >&2
29180 echo "$as_me:$LINENO: checking for $ac_header" >&5
29181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29185 eval "$as_ac_Header=$ac_header_preproc"
29187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29192 cat >>confdefs.h
<<_ACEOF
29193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29200 if test "$ac_cv_header_sched_h" = "yes"; then
29201 echo "$as_me:$LINENO: checking for sched_yield" >&5
29202 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29203 if test "${ac_cv_func_sched_yield+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 cat >conftest.
$ac_ext <<_ACEOF
29207 #line $LINENO "configure"
29210 cat confdefs.h
>>conftest.
$ac_ext
29211 cat >>conftest.
$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29213 /* System header to define __stub macros and hopefully few prototypes,
29214 which can conflict with char sched_yield (); below.
29215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29216 <limits.h> exists even on freestanding compilers. */
29218 # include <limits.h>
29220 # include <assert.h>
29222 /* Override any gcc2 internal prototype to avoid an error. */
29227 /* We use char because int might match the return type of a gcc2
29228 builtin and then its argument prototype would still apply. */
29229 char sched_yield ();
29230 /* The GNU C library defines this for functions which it implements
29231 to always fail with ENOSYS. Some functions are actually named
29232 something starting with __ and the normal name is an alias. */
29233 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29236 char (*f) () = sched_yield;
29245 return f != sched_yield;
29250 rm -f conftest.
$ac_objext conftest
$ac_exeext
29251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29252 (eval $ac_link) 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); } &&
29256 { ac_try
='test -s conftest$ac_exeext'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; }; then
29262 ac_cv_func_sched_yield
=yes
29264 echo "$as_me: failed program was:" >&5
29265 sed 's/^/| /' conftest.
$ac_ext >&5
29267 ac_cv_func_sched_yield
=no
29269 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29271 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29272 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29273 if test $ac_cv_func_sched_yield = yes; then
29274 cat >>confdefs.h
<<\_ACEOF
29275 #define HAVE_SCHED_YIELD 1
29280 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29281 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29282 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29283 echo $ECHO_N "(cached) $ECHO_C" >&6
29285 ac_check_lib_save_LIBS
=$LIBS
29286 LIBS
="-lposix4 $LIBS"
29287 cat >conftest.
$ac_ext <<_ACEOF
29288 #line $LINENO "configure"
29291 cat confdefs.h
>>conftest.
$ac_ext
29292 cat >>conftest.
$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29295 /* Override any gcc2 internal prototype to avoid an error. */
29299 /* We use char because int might match the return type of a gcc2
29300 builtin and then its argument prototype would still apply. */
29301 char sched_yield ();
29310 rm -f conftest.
$ac_objext conftest
$ac_exeext
29311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29312 (eval $ac_link) 2>&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } &&
29316 { ac_try
='test -s conftest$ac_exeext'
29317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29318 (eval $ac_try) 2>&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); }; }; then
29322 ac_cv_lib_posix4_sched_yield
=yes
29324 echo "$as_me: failed program was:" >&5
29325 sed 's/^/| /' conftest.
$ac_ext >&5
29327 ac_cv_lib_posix4_sched_yield
=no
29329 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29330 LIBS
=$ac_check_lib_save_LIBS
29332 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29333 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29334 if test $ac_cv_lib_posix4_sched_yield = yes; then
29335 cat >>confdefs.h
<<\_ACEOF
29336 #define HAVE_SCHED_YIELD 1
29338 POSIX4_LINK
=" -lposix4"
29340 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29341 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29352 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29353 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29354 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 cat >conftest.
$ac_ext <<_ACEOF
29358 #line $LINENO "configure"
29361 cat confdefs.h
>>conftest.
$ac_ext
29362 cat >>conftest.
$ac_ext <<_ACEOF
29363 /* end confdefs.h. */
29364 /* System header to define __stub macros and hopefully few prototypes,
29365 which can conflict with char pthread_attr_getschedpolicy (); below.
29366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29367 <limits.h> exists even on freestanding compilers. */
29369 # include <limits.h>
29371 # include <assert.h>
29373 /* Override any gcc2 internal prototype to avoid an error. */
29378 /* We use char because int might match the return type of a gcc2
29379 builtin and then its argument prototype would still apply. */
29380 char pthread_attr_getschedpolicy ();
29381 /* The GNU C library defines this for functions which it implements
29382 to always fail with ENOSYS. Some functions are actually named
29383 something starting with __ and the normal name is an alias. */
29384 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29387 char (*f) () = pthread_attr_getschedpolicy;
29396 return f != pthread_attr_getschedpolicy;
29401 rm -f conftest.
$ac_objext conftest
$ac_exeext
29402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29403 (eval $ac_link) 2>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } &&
29407 { ac_try
='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 ac_cv_func_pthread_attr_getschedpolicy
=yes
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.
$ac_ext >&5
29418 ac_cv_func_pthread_attr_getschedpolicy
=no
29420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29422 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29423 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29424 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29425 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29426 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29427 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29430 cat >conftest.
$ac_ext <<_ACEOF
29431 #line $LINENO "configure"
29434 cat confdefs.h
>>conftest.
$ac_ext
29435 cat >>conftest.
$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 /* System header to define __stub macros and hopefully few prototypes,
29438 which can conflict with char pthread_attr_setschedparam (); below.
29439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29440 <limits.h> exists even on freestanding compilers. */
29442 # include <limits.h>
29444 # include <assert.h>
29446 /* Override any gcc2 internal prototype to avoid an error. */
29451 /* We use char because int might match the return type of a gcc2
29452 builtin and then its argument prototype would still apply. */
29453 char pthread_attr_setschedparam ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29460 char (*f) () = pthread_attr_setschedparam;
29469 return f != pthread_attr_setschedparam;
29474 rm -f conftest.
$ac_objext conftest
$ac_exeext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29476 (eval $ac_link) 2>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try
='test -s conftest$ac_exeext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29486 ac_cv_func_pthread_attr_setschedparam
=yes
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.
$ac_ext >&5
29491 ac_cv_func_pthread_attr_setschedparam
=no
29493 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29495 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29496 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29497 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29498 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29499 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29500 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29503 cat >conftest.
$ac_ext <<_ACEOF
29504 #line $LINENO "configure"
29507 cat confdefs.h
>>conftest.
$ac_ext
29508 cat >>conftest.
$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510 /* System header to define __stub macros and hopefully few prototypes,
29511 which can conflict with char sched_get_priority_max (); below.
29512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29513 <limits.h> exists even on freestanding compilers. */
29515 # include <limits.h>
29517 # include <assert.h>
29519 /* Override any gcc2 internal prototype to avoid an error. */
29524 /* We use char because int might match the return type of a gcc2
29525 builtin and then its argument prototype would still apply. */
29526 char sched_get_priority_max ();
29527 /* The GNU C library defines this for functions which it implements
29528 to always fail with ENOSYS. Some functions are actually named
29529 something starting with __ and the normal name is an alias. */
29530 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29533 char (*f) () = sched_get_priority_max;
29542 return f != sched_get_priority_max;
29547 rm -f conftest.
$ac_objext conftest
$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } &&
29553 { ac_try
='test -s conftest$ac_exeext'
29554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555 (eval $ac_try) 2>&5
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); }; }; then
29559 ac_cv_func_sched_get_priority_max
=yes
29561 echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.
$ac_ext >&5
29564 ac_cv_func_sched_get_priority_max
=no
29566 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29568 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29569 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29570 if test $ac_cv_func_sched_get_priority_max = yes; then
29573 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29574 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29575 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 ac_check_lib_save_LIBS
=$LIBS
29579 LIBS
="-lposix4 $LIBS"
29580 cat >conftest.
$ac_ext <<_ACEOF
29581 #line $LINENO "configure"
29584 cat confdefs.h
>>conftest.
$ac_ext
29585 cat >>conftest.
$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29588 /* Override any gcc2 internal prototype to avoid an error. */
29592 /* We use char because int might match the return type of a gcc2
29593 builtin and then its argument prototype would still apply. */
29594 char sched_get_priority_max ();
29598 sched_get_priority_max ();
29603 rm -f conftest.
$ac_objext conftest
$ac_exeext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29605 (eval $ac_link) 2>&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); } &&
29609 { ac_try
='test -s conftest$ac_exeext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 ac_cv_lib_posix4_sched_get_priority_max
=yes
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.
$ac_ext >&5
29620 ac_cv_lib_posix4_sched_get_priority_max
=no
29622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29623 LIBS
=$ac_check_lib_save_LIBS
29625 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29626 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29627 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29630 POSIX4_LINK
=" -lposix4"
29644 if test "$HAVE_PRIOR_FUNCS" = 1; then
29645 cat >>confdefs.h
<<\_ACEOF
29646 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29650 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29651 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29654 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29655 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29656 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29659 cat >conftest.
$ac_ext <<_ACEOF
29660 #line $LINENO "configure"
29663 cat confdefs.h
>>conftest.
$ac_ext
29664 cat >>conftest.
$ac_ext <<_ACEOF
29665 /* end confdefs.h. */
29666 /* System header to define __stub macros and hopefully few prototypes,
29667 which can conflict with char pthread_cancel (); below.
29668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29669 <limits.h> exists even on freestanding compilers. */
29671 # include <limits.h>
29673 # include <assert.h>
29675 /* Override any gcc2 internal prototype to avoid an error. */
29680 /* We use char because int might match the return type of a gcc2
29681 builtin and then its argument prototype would still apply. */
29682 char pthread_cancel ();
29683 /* The GNU C library defines this for functions which it implements
29684 to always fail with ENOSYS. Some functions are actually named
29685 something starting with __ and the normal name is an alias. */
29686 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29689 char (*f) () = pthread_cancel;
29698 return f != pthread_cancel;
29703 rm -f conftest.
$ac_objext conftest
$ac_exeext
29704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29705 (eval $ac_link) 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } &&
29709 { ac_try
='test -s conftest$ac_exeext'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; }; then
29715 ac_cv_func_pthread_cancel
=yes
29717 echo "$as_me: failed program was:" >&5
29718 sed 's/^/| /' conftest.
$ac_ext >&5
29720 ac_cv_func_pthread_cancel
=no
29722 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29724 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29725 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29726 if test $ac_cv_func_pthread_cancel = yes; then
29727 cat >>confdefs.h
<<\_ACEOF
29728 #define HAVE_PTHREAD_CANCEL 1
29732 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29733 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29737 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29738 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29739 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29740 echo $ECHO_N "(cached) $ECHO_C" >&6
29743 cat >conftest.
$ac_ext <<_ACEOF
29744 #line $LINENO "configure"
29747 cat confdefs.h
>>conftest.
$ac_ext
29748 cat >>conftest.
$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29750 #include <pthread.h>
29755 pthread_cleanup_push(NULL, NULL);
29756 pthread_cleanup_pop(0);
29762 rm -f conftest.
$ac_objext
29763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29764 (eval $ac_compile) 2>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try
='test -s conftest.$ac_objext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29775 wx_cv_func_pthread_cleanup_push
=yes
29778 echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.
$ac_ext >&5
29782 wx_cv_func_pthread_cleanup_push
=no
29785 rm -f conftest.
$ac_objext conftest.
$ac_ext
29788 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29789 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29791 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29792 cat >>confdefs.h
<<\_ACEOF
29793 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29799 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29800 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29801 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 cat >conftest.
$ac_ext <<_ACEOF
29806 #line $LINENO "configure"
29809 cat confdefs.h
>>conftest.
$ac_ext
29810 cat >>conftest.
$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812 #include <pthread.h>
29817 pthread_mutexattr_t attr;
29818 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29824 rm -f conftest.
$ac_objext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29826 (eval $ac_compile) 2>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try
='test -s conftest.$ac_objext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29837 wx_cv_type_pthread_mutexattr_t
=yes
29840 echo "$as_me: failed program was:" >&5
29841 sed 's/^/| /' conftest.
$ac_ext >&5
29844 wx_cv_type_pthread_mutexattr_t
=no
29848 rm -f conftest.
$ac_objext conftest.
$ac_ext
29851 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29852 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29854 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29855 cat >>confdefs.h
<<\_ACEOF
29856 #define HAVE_PTHREAD_MUTEXATTR_T 1
29860 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29861 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29862 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29866 cat >conftest.
$ac_ext <<_ACEOF
29867 #line $LINENO "configure"
29870 cat confdefs.h
>>conftest.
$ac_ext
29871 cat >>conftest.
$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29873 #include <pthread.h>
29878 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29884 rm -f conftest.
$ac_objext
29885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29886 (eval $ac_compile) 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } &&
29890 { ac_try
='test -s conftest.$ac_objext'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; }; then
29897 wx_cv_type_pthread_rec_mutex_init
=yes
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.
$ac_ext >&5
29904 wx_cv_type_pthread_rec_mutex_init
=no
29908 rm -f conftest.
$ac_objext conftest.
$ac_ext
29911 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29912 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29913 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29914 cat >>confdefs.h
<<\_ACEOF
29915 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29919 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29920 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29926 if test "$wxUSE_THREADS" = "yes" ; then
29929 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29930 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29931 if test "${wx_cv_cflags_mthread+set}" = set; then
29932 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 CFLAGS_OLD
="$CFLAGS"
29936 CFLAGS
="$CFLAGS -mthreads"
29937 cat >conftest.
$ac_ext <<_ACEOF
29938 #line $LINENO "configure"
29941 cat confdefs.h
>>conftest.
$ac_ext
29942 cat >>conftest.
$ac_ext <<_ACEOF
29943 /* end confdefs.h. */
29953 rm -f conftest.
$ac_objext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29955 (eval $ac_compile) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try
='test -s conftest.$ac_objext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965 wx_cv_cflags_mthread
=yes
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.
$ac_ext >&5
29970 wx_cv_cflags_mthread
=no
29973 rm -f conftest.
$ac_objext conftest.
$ac_ext
29977 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29978 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29980 if test "$wx_cv_cflags_mthread" = "yes"; then
29981 CXXFLAGS
="$CXXFLAGS -mthreads"
29982 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29983 LDFLAGS
="$LDFLAGS -mthreads"
29985 CFLAGS
="$CFLAGS_OLD"
29992 if test "$wxUSE_THREADS" = "yes"; then
29993 cat >>confdefs.h
<<\_ACEOF
29994 #define wxUSE_THREADS 1
29998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30000 if test "$ac_cv_func_strtok_r" = "yes"; then
30001 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30002 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30003 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30004 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30005 echo "$as_me:$LINENO: result: yes" >&5
30006 echo "${ECHO_T}yes" >&6
30008 echo "$as_me:$LINENO: result: no" >&5
30009 echo "${ECHO_T}no" >&6
30014 if test "$WXGTK20" = 1 ; then
30015 cat >>confdefs.h
<<_ACEOF
30016 #define __WXGTK20__ $WXGTK20
30022 if test "$WXGTK12" = 1 ; then
30023 cat >>confdefs.h
<<_ACEOF
30024 #define __WXGTK12__ $WXGTK12
30029 if test "$WXGTK127" = 1 ; then
30030 cat >>confdefs.h
<<_ACEOF
30031 #define __WXGTK127__ $WXGTK127
30038 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30043 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30044 wxUSE_DEBUG_INFO
=yes
30048 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30049 cat >>confdefs.h
<<\_ACEOF
30053 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30055 if test "$wxUSE_GTK" = 1 ; then
30056 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30060 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30061 cat >>confdefs.h
<<\_ACEOF
30062 #define wxUSE_MEMORY_TRACING 1
30065 cat >>confdefs.h
<<\_ACEOF
30066 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30069 cat >>confdefs.h
<<\_ACEOF
30070 #define wxUSE_DEBUG_NEW_ALWAYS 1
30073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30076 if test "$wxUSE_DMALLOC" = "yes" ; then
30077 DMALLOC_LIBS
="-ldmalloc"
30081 if test "$wxUSE_PROFILE" = "yes" ; then
30086 CODE_GEN_FLAGS_CXX
=
30087 if test "$GCC" = "yes" ; then
30088 if test "$wxUSE_NO_RTTI" = "yes" ; then
30089 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30091 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30092 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30094 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30095 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30100 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30103 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30109 if test "$wxUSE_OPTIMISE" = "no" ; then
30110 if test "$GCC" = yes ; then
30114 if test "$GCC" = yes ; then
30118 i586
-*-*|i686
-*-* )
30119 OPTIMISE
="${OPTIMISE} "
30128 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30129 cat >>confdefs.h
<<\_ACEOF
30130 #define WXWIN_COMPATIBILITY_2_2 1
30134 WXWIN_COMPATIBILITY_2_4
="yes"
30137 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define WXWIN_COMPATIBILITY_2_4 1
30145 if test "$wxUSE_GUI" = "yes"; then
30146 cat >>confdefs.h
<<\_ACEOF
30147 #define wxUSE_GUI 1
30152 cat >>confdefs.h
<<\_ACEOF
30153 #define wxUSE_NOGUI 1
30159 if test "$wxUSE_UNIX" = "yes"; then
30160 cat >>confdefs.h
<<\_ACEOF
30161 #define wxUSE_UNIX 1
30167 if test "$wxUSE_STL" = "yes"; then
30168 cat >>confdefs.h
<<\_ACEOF
30169 #define wxUSE_STL 1
30174 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30175 cat >>confdefs.h
<<\_ACEOF
30176 #define wxUSE_APPLE_IEEE 1
30181 if test "$wxUSE_TIMER" = "yes"; then
30182 cat >>confdefs.h
<<\_ACEOF
30183 #define wxUSE_TIMER 1
30188 if test "$wxUSE_WAVE" = "yes"; then
30189 cat >>confdefs.h
<<\_ACEOF
30190 #define wxUSE_WAVE 1
30195 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30196 cat >>confdefs.h
<<\_ACEOF
30197 #define wxUSE_CMDLINE_PARSER 1
30202 if test "$wxUSE_STOPWATCH" = "yes"; then
30203 cat >>confdefs.h
<<\_ACEOF
30204 #define wxUSE_STOPWATCH 1
30209 if test "$wxUSE_DATETIME" = "yes"; then
30210 cat >>confdefs.h
<<\_ACEOF
30211 #define wxUSE_DATETIME 1
30216 if test "$wxUSE_FILE" = "yes"; then
30217 cat >>confdefs.h
<<\_ACEOF
30218 #define wxUSE_FILE 1
30223 if test "$wxUSE_FFILE" = "yes"; then
30224 cat >>confdefs.h
<<\_ACEOF
30225 #define wxUSE_FFILE 1
30230 if test "$wxUSE_FILESYSTEM" = "yes"; then
30231 cat >>confdefs.h
<<\_ACEOF
30232 #define wxUSE_FILESYSTEM 1
30237 if test "$wxUSE_FS_ZIP" = "yes"; then
30238 cat >>confdefs.h
<<\_ACEOF
30239 #define wxUSE_FS_ZIP 1
30244 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30245 cat >>confdefs.h
<<\_ACEOF
30246 #define wxUSE_ZIPSTREAM 1
30251 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30252 cat >>confdefs.h
<<\_ACEOF
30253 #define wxUSE_ON_FATAL_EXCEPTION 1
30258 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30259 cat >>confdefs.h
<<\_ACEOF
30260 #define wxUSE_SNGLINST_CHECKER 1
30265 if test "$wxUSE_BUSYINFO" = "yes"; then
30266 cat >>confdefs.h
<<\_ACEOF
30267 #define wxUSE_BUSYINFO 1
30272 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30273 cat >>confdefs.h
<<\_ACEOF
30274 #define wxUSE_STD_IOSTREAM 1
30279 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30280 cat >>confdefs.h
<<\_ACEOF
30281 #define wxUSE_TEXTBUFFER 1
30286 if test "$wxUSE_TEXTFILE" = "yes"; then
30287 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30288 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30289 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30291 cat >>confdefs.h
<<\_ACEOF
30292 #define wxUSE_TEXTFILE 1
30298 if test "$wxUSE_CONFIG" = "yes" ; then
30299 if test "$wxUSE_TEXTFILE" != "yes"; then
30300 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30301 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30303 cat >>confdefs.h
<<\_ACEOF
30304 #define wxUSE_CONFIG 1
30307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30311 if test "$wxUSE_INTL" = "yes" ; then
30312 if test "$wxUSE_FILE" != "yes"; then
30313 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30314 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30316 cat >>confdefs.h
<<\_ACEOF
30317 #define wxUSE_INTL 1
30320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30321 GUIDIST
="$GUIDIST INTL_DIST"
30325 if test "$wxUSE_LOG" = "yes"; then
30326 cat >>confdefs.h
<<\_ACEOF
30327 #define wxUSE_LOG 1
30331 if test "$wxUSE_LOGGUI" = "yes"; then
30332 cat >>confdefs.h
<<\_ACEOF
30333 #define wxUSE_LOGGUI 1
30338 if test "$wxUSE_LOGWINDOW" = "yes"; then
30339 cat >>confdefs.h
<<\_ACEOF
30340 #define wxUSE_LOGWINDOW 1
30345 if test "$wxUSE_LOGDIALOG" = "yes"; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define wxUSE_LOG_DIALOG 1
30353 if test "$wxUSE_LONGLONG" = "yes"; then
30354 cat >>confdefs.h
<<\_ACEOF
30355 #define wxUSE_LONGLONG 1
30360 if test "$wxUSE_GEOMETRY" = "yes"; then
30361 cat >>confdefs.h
<<\_ACEOF
30362 #define wxUSE_GEOMETRY 1
30367 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30368 cat >>confdefs.h
<<\_ACEOF
30369 #define wxUSE_DIALUP_MANAGER 1
30372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30375 if test "$wxUSE_STREAMS" = "yes" ; then
30376 cat >>confdefs.h
<<\_ACEOF
30377 #define wxUSE_STREAMS 1
30383 if test "$wxUSE_DATETIME" = "yes"; then
30385 for ac_func
in strptime
30387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30388 echo "$as_me:$LINENO: checking for $ac_func" >&5
30389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30390 if eval "test \"\${$as_ac_var+set}\" = set"; then
30391 echo $ECHO_N "(cached) $ECHO_C" >&6
30393 cat >conftest.
$ac_ext <<_ACEOF
30394 #line $LINENO "configure"
30397 cat confdefs.h
>>conftest.
$ac_ext
30398 cat >>conftest.
$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 /* System header to define __stub macros and hopefully few prototypes,
30401 which can conflict with char $ac_func (); below.
30402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30403 <limits.h> exists even on freestanding compilers. */
30405 # include <limits.h>
30407 # include <assert.h>
30409 /* Override any gcc2 internal prototype to avoid an error. */
30414 /* We use char because int might match the return type of a gcc2
30415 builtin and then its argument prototype would still apply. */
30417 /* The GNU C library defines this for functions which it implements
30418 to always fail with ENOSYS. Some functions are actually named
30419 something starting with __ and the normal name is an alias. */
30420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30423 char (*f) () = $ac_func;
30432 return f != $ac_func;
30437 rm -f conftest.
$ac_objext conftest
$ac_exeext
30438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30439 (eval $ac_link) 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); } &&
30443 { ac_try
='test -s conftest$ac_exeext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 eval "$as_ac_var=yes"
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.
$ac_ext >&5
30454 eval "$as_ac_var=no"
30456 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30460 if test `eval echo '${'$as_ac_var'}'` = yes; then
30461 cat >>confdefs.h
<<_ACEOF
30462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30469 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30470 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30471 if test "${wx_cv_var_timezone+set}" = set; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30475 cat >conftest.
$ac_ext <<_ACEOF
30476 #line $LINENO "configure"
30479 cat confdefs.h
>>conftest.
$ac_ext
30480 cat >>conftest.
$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30496 rm -f conftest.
$ac_objext
30497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30498 (eval $ac_compile) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); } &&
30502 { ac_try
='test -s conftest.$ac_objext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30509 wx_cv_var_timezone
=timezone
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.
$ac_ext >&5
30516 cat >conftest.
$ac_ext <<_ACEOF
30517 #line $LINENO "configure"
30520 cat confdefs.h
>>conftest.
$ac_ext
30521 cat >>conftest.
$ac_ext <<_ACEOF
30522 /* end confdefs.h. */
30537 rm -f conftest.
$ac_objext
30538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30539 (eval $ac_compile) 2>&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); } &&
30543 { ac_try
='test -s conftest.$ac_objext'
30544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30545 (eval $ac_try) 2>&5
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; }; then
30550 wx_cv_var_timezone
=_timezone
30553 echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.
$ac_ext >&5
30557 cat >conftest.
$ac_ext <<_ACEOF
30558 #line $LINENO "configure"
30561 cat confdefs.h
>>conftest.
$ac_ext
30562 cat >>conftest.
$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30578 rm -f conftest.
$ac_objext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30580 (eval $ac_compile) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try
='test -s conftest.$ac_objext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30591 wx_cv_var_timezone
=__timezone
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.
$ac_ext >&5
30598 if test "$USE_DOS" = 0 ; then
30599 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30600 echo "$as_me: WARNING: no timezone variable" >&2;}
30605 rm -f conftest.
$ac_objext conftest.
$ac_ext
30609 rm -f conftest.
$ac_objext conftest.
$ac_ext
30613 rm -f conftest.
$ac_objext conftest.
$ac_ext
30617 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30618 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30620 if test "x$wx_cv_var_timezone" != x
; then
30621 cat >>confdefs.h
<<_ACEOF
30622 #define WX_TIMEZONE $wx_cv_var_timezone
30628 for ac_func
in localtime
30630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30631 echo "$as_me:$LINENO: checking for $ac_func" >&5
30632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30633 if eval "test \"\${$as_ac_var+set}\" = set"; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 cat >conftest.
$ac_ext <<_ACEOF
30637 #line $LINENO "configure"
30640 cat confdefs.h
>>conftest.
$ac_ext
30641 cat >>conftest.
$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643 /* System header to define __stub macros and hopefully few prototypes,
30644 which can conflict with char $ac_func (); below.
30645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30646 <limits.h> exists even on freestanding compilers. */
30648 # include <limits.h>
30650 # include <assert.h>
30652 /* Override any gcc2 internal prototype to avoid an error. */
30657 /* We use char because int might match the return type of a gcc2
30658 builtin and then its argument prototype would still apply. */
30660 /* The GNU C library defines this for functions which it implements
30661 to always fail with ENOSYS. Some functions are actually named
30662 something starting with __ and the normal name is an alias. */
30663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30666 char (*f) () = $ac_func;
30675 return f != $ac_func;
30680 rm -f conftest.
$ac_objext conftest
$ac_exeext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30682 (eval $ac_link) 2>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try
='test -s conftest$ac_exeext'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30692 eval "$as_ac_var=yes"
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.
$ac_ext >&5
30697 eval "$as_ac_var=no"
30699 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30703 if test `eval echo '${'$as_ac_var'}'` = yes; then
30704 cat >>confdefs.h
<<_ACEOF
30705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30712 if test "$ac_cv_func_localtime" = "yes"; then
30713 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30714 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30715 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30719 cat >conftest.
$ac_ext <<_ACEOF
30720 #line $LINENO "configure"
30723 cat confdefs.h
>>conftest.
$ac_ext
30724 cat >>conftest.
$ac_ext <<_ACEOF
30725 /* end confdefs.h. */
30740 rm -f conftest.
$ac_objext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30742 (eval $ac_compile) 2>&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); } &&
30746 { ac_try
='test -s conftest.$ac_objext'
30747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30748 (eval $ac_try) 2>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); }; }; then
30753 wx_cv_struct_tm_has_gmtoff
=yes
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.
$ac_ext >&5
30759 wx_cv_struct_tm_has_gmtoff
=no
30762 rm -f conftest.
$ac_objext conftest.
$ac_ext
30765 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30766 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30769 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30770 cat >>confdefs.h
<<\_ACEOF
30771 #define WX_GMTOFF_IN_TM 1
30778 for ac_func
in gettimeofday ftime
30780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30781 echo "$as_me:$LINENO: checking for $ac_func" >&5
30782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30783 if eval "test \"\${$as_ac_var+set}\" = set"; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30786 cat >conftest.
$ac_ext <<_ACEOF
30787 #line $LINENO "configure"
30790 cat confdefs.h
>>conftest.
$ac_ext
30791 cat >>conftest.
$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 /* System header to define __stub macros and hopefully few prototypes,
30794 which can conflict with char $ac_func (); below.
30795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30796 <limits.h> exists even on freestanding compilers. */
30798 # include <limits.h>
30800 # include <assert.h>
30802 /* Override any gcc2 internal prototype to avoid an error. */
30807 /* We use char because int might match the return type of a gcc2
30808 builtin and then its argument prototype would still apply. */
30810 /* The GNU C library defines this for functions which it implements
30811 to always fail with ENOSYS. Some functions are actually named
30812 something starting with __ and the normal name is an alias. */
30813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30816 char (*f) () = $ac_func;
30825 return f != $ac_func;
30830 rm -f conftest.
$ac_objext conftest
$ac_exeext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30832 (eval $ac_link) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try
='test -s conftest$ac_exeext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 eval "$as_ac_var=yes"
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.
$ac_ext >&5
30847 eval "$as_ac_var=no"
30849 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30853 if test `eval echo '${'$as_ac_var'}'` = yes; then
30854 cat >>confdefs.h
<<_ACEOF
30855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30862 if test "$ac_cv_func_gettimeofday" = "yes"; then
30863 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30864 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30865 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30872 ac_cpp
='$CXXCPP $CPPFLAGS'
30873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30878 cat >conftest.
$ac_ext <<_ACEOF
30879 #line $LINENO "configure"
30882 cat confdefs.h
>>conftest.
$ac_ext
30883 cat >>conftest.
$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30886 #include <sys/time.h>
30887 #include <unistd.h>
30894 gettimeofday(&tv, NULL);
30900 rm -f conftest.
$ac_objext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30902 (eval $ac_compile) 2>&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } &&
30906 { ac_try
='test -s conftest.$ac_objext'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; }; then
30912 wx_cv_func_gettimeofday_has_2_args
=yes
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.
$ac_ext >&5
30917 cat >conftest.
$ac_ext <<_ACEOF
30918 #line $LINENO "configure"
30921 cat confdefs.h
>>conftest.
$ac_ext
30922 cat >>conftest.
$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30925 #include <sys/time.h>
30926 #include <unistd.h>
30939 rm -f conftest.
$ac_objext
30940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30941 (eval $ac_compile) 2>&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); } &&
30945 { ac_try
='test -s conftest.$ac_objext'
30946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947 (eval $ac_try) 2>&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); }; }; then
30951 wx_cv_func_gettimeofday_has_2_args
=no
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.
$ac_ext >&5
30957 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30958 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30959 wx_cv_func_gettimeofday_has_2_args
=unknown
30963 rm -f conftest.
$ac_objext conftest.
$ac_ext
30966 rm -f conftest.
$ac_objext conftest.
$ac_ext
30968 ac_cpp
='$CPP $CPPFLAGS'
30969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30975 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30976 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30978 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30979 cat >>confdefs.h
<<\_ACEOF
30980 #define WX_GETTIMEOFDAY_NO_TZ 1
30986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30990 if test "$wxUSE_SOCKETS" = "yes"; then
30991 if test "$wxUSE_MGL" = "1"; then
30992 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30993 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30996 if test "$wxUSE_COCOA" = "1"; then
30997 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30998 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31003 if test "$wxUSE_SOCKETS" = "yes"; then
31004 if test "$TOOLKIT" != "MSW"; then
31005 echo "$as_me:$LINENO: checking for socket" >&5
31006 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31007 if test "${ac_cv_func_socket+set}" = set; then
31008 echo $ECHO_N "(cached) $ECHO_C" >&6
31010 cat >conftest.
$ac_ext <<_ACEOF
31011 #line $LINENO "configure"
31014 cat confdefs.h
>>conftest.
$ac_ext
31015 cat >>conftest.
$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31017 /* System header to define __stub macros and hopefully few prototypes,
31018 which can conflict with char socket (); below.
31019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31020 <limits.h> exists even on freestanding compilers. */
31022 # include <limits.h>
31024 # include <assert.h>
31026 /* Override any gcc2 internal prototype to avoid an error. */
31031 /* We use char because int might match the return type of a gcc2
31032 builtin and then its argument prototype would still apply. */
31034 /* The GNU C library defines this for functions which it implements
31035 to always fail with ENOSYS. Some functions are actually named
31036 something starting with __ and the normal name is an alias. */
31037 #if defined (__stub_socket) || defined (__stub___socket)
31040 char (*f) () = socket;
31049 return f != socket;
31054 rm -f conftest.
$ac_objext conftest
$ac_exeext
31055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31056 (eval $ac_link) 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } &&
31060 { ac_try
='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 ac_cv_func_socket
=yes
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.
$ac_ext >&5
31071 ac_cv_func_socket
=no
31073 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31075 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31076 echo "${ECHO_T}$ac_cv_func_socket" >&6
31077 if test $ac_cv_func_socket = yes; then
31081 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31082 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31083 if test "${ac_cv_lib_socket_socket+set}" = set; then
31084 echo $ECHO_N "(cached) $ECHO_C" >&6
31086 ac_check_lib_save_LIBS
=$LIBS
31087 LIBS
="-lsocket $LIBS"
31088 cat >conftest.
$ac_ext <<_ACEOF
31089 #line $LINENO "configure"
31092 cat confdefs.h
>>conftest.
$ac_ext
31093 cat >>conftest.
$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31096 /* Override any gcc2 internal prototype to avoid an error. */
31100 /* We use char because int might match the return type of a gcc2
31101 builtin and then its argument prototype would still apply. */
31111 rm -f conftest.
$ac_objext conftest
$ac_exeext
31112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31113 (eval $ac_link) 2>&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); } &&
31117 { ac_try
='test -s conftest$ac_exeext'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 ac_cv_lib_socket_socket
=yes
31125 echo "$as_me: failed program was:" >&5
31126 sed 's/^/| /' conftest.
$ac_ext >&5
31128 ac_cv_lib_socket_socket
=no
31130 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31131 LIBS
=$ac_check_lib_save_LIBS
31133 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31134 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31135 if test $ac_cv_lib_socket_socket = yes; then
31136 if test "$INET_LINK" != " -lsocket"; then
31137 INET_LINK
="$INET_LINK -lsocket"
31141 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31142 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31155 if test "$wxUSE_SOCKETS" = "yes" ; then
31156 if test "$TOOLKIT" != "MSW"; then
31157 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31158 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31159 if test "${wx_cv_type_getsockname3+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31163 cat >conftest.
$ac_ext <<_ACEOF
31164 #line $LINENO "configure"
31167 cat confdefs.h
>>conftest.
$ac_ext
31168 cat >>conftest.
$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31171 #include <sys/types.h>
31172 #include <sys/socket.h>
31179 getsockname(0, 0, &len);
31185 rm -f conftest.
$ac_objext
31186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31187 (eval $ac_compile) 2>&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); } &&
31191 { ac_try
='test -s conftest.$ac_objext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 wx_cv_type_getsockname3
=socklen_t
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.
$ac_ext >&5
31203 CFLAGS_OLD
="$CFLAGS"
31204 if test "$GCC" = yes ; then
31205 CFLAGS
="$CFLAGS -Werror"
31208 cat >conftest.
$ac_ext <<_ACEOF
31209 #line $LINENO "configure"
31212 cat confdefs.h
>>conftest.
$ac_ext
31213 cat >>conftest.
$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31216 #include <sys/types.h>
31217 #include <sys/socket.h>
31224 getsockname(0, 0, &len);
31230 rm -f conftest.
$ac_objext
31231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31232 (eval $ac_compile) 2>&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } &&
31236 { ac_try
='test -s conftest.$ac_objext'
31237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238 (eval $ac_try) 2>&5
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); }; }; then
31242 wx_cv_type_getsockname3
=size_t
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.
$ac_ext >&5
31247 cat >conftest.
$ac_ext <<_ACEOF
31248 #line $LINENO "configure"
31251 cat confdefs.h
>>conftest.
$ac_ext
31252 cat >>conftest.
$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31255 #include <sys/types.h>
31256 #include <sys/socket.h>
31263 getsockname(0, 0, &len);
31269 rm -f conftest.
$ac_objext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31271 (eval $ac_compile) 2>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); } &&
31275 { ac_try
='test -s conftest.$ac_objext'
31276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31277 (eval $ac_try) 2>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); }; }; then
31281 wx_cv_type_getsockname3
=int
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.
$ac_ext >&5
31286 wx_cv_type_getsockname3
=unknown
31289 rm -f conftest.
$ac_objext conftest.
$ac_ext
31292 rm -f conftest.
$ac_objext conftest.
$ac_ext
31294 CFLAGS
="$CFLAGS_OLD"
31298 rm -f conftest.
$ac_objext conftest.
$ac_ext
31301 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31302 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31304 if test "$wx_cv_type_getsockname3" = "unknown"; then
31306 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31307 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31309 cat >>confdefs.h
<<_ACEOF
31310 #define SOCKLEN_T $wx_cv_type_getsockname3
31317 if test "$wxUSE_SOCKETS" = "yes" ; then
31318 cat >>confdefs.h
<<\_ACEOF
31319 #define wxUSE_SOCKETS 1
31322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31325 if test "$wxUSE_PROTOCOL" = "yes"; then
31326 if test "$wxUSE_SOCKETS" != "yes"; then
31327 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31328 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31333 if test "$wxUSE_PROTOCOL" = "yes"; then
31334 cat >>confdefs.h
<<\_ACEOF
31335 #define wxUSE_PROTOCOL 1
31339 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31340 cat >>confdefs.h
<<\_ACEOF
31341 #define wxUSE_PROTOCOL_HTTP 1
31345 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31346 cat >>confdefs.h
<<\_ACEOF
31347 #define wxUSE_PROTOCOL_FTP 1
31351 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31352 cat >>confdefs.h
<<\_ACEOF
31353 #define wxUSE_PROTOCOL_FILE 1
31358 if test "$wxUSE_FS_INET" = "yes"; then
31359 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31360 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31365 if test "$wxUSE_URL" = "yes"; then
31366 if test "$wxUSE_PROTOCOL" != "yes"; then
31367 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31368 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31371 if test "$wxUSE_URL" = "yes"; then
31372 cat >>confdefs.h
<<\_ACEOF
31373 #define wxUSE_URL 1
31379 if test "$wxUSE_FS_INET" = "yes"; then
31380 cat >>confdefs.h
<<\_ACEOF
31381 #define wxUSE_FS_INET 1
31387 if test "$wxUSE_GUI" = "yes"; then
31389 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31390 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31391 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31395 if test "$TOOLKIT" != "MSW"; then
31396 if test "$wxUSE_JOYSTICK" = "yes"; then
31398 for ac_header
in linux
/joystick.h
31400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31402 echo "$as_me:$LINENO: checking for $ac_header" >&5
31403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31405 echo $ECHO_N "(cached) $ECHO_C" >&6
31407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31410 # Is the header compilable?
31411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31413 cat >conftest.
$ac_ext <<_ACEOF
31414 #line $LINENO "configure"
31417 cat confdefs.h
>>conftest.
$ac_ext
31418 cat >>conftest.
$ac_ext <<_ACEOF
31419 /* end confdefs.h. */
31420 $ac_includes_default
31421 #include <$ac_header>
31423 rm -f conftest.
$ac_objext
31424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31425 (eval $ac_compile) 2>&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); } &&
31429 { ac_try
='test -s conftest.$ac_objext'
31430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31431 (eval $ac_try) 2>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); }; }; then
31435 ac_header_compiler
=yes
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.
$ac_ext >&5
31440 ac_header_compiler
=no
31442 rm -f conftest.
$ac_objext conftest.
$ac_ext
31443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31444 echo "${ECHO_T}$ac_header_compiler" >&6
31446 # Is the header present?
31447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31449 cat >conftest.
$ac_ext <<_ACEOF
31450 #line $LINENO "configure"
31453 cat confdefs.h
>>conftest.
$ac_ext
31454 cat >>conftest.
$ac_ext <<_ACEOF
31455 /* end confdefs.h. */
31456 #include <$ac_header>
31458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31461 grep -v '^ *+' conftest.er1
>conftest.err
31463 cat conftest.err
>&5
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } >/dev
/null
; then
31466 if test -s conftest.err
; then
31467 ac_cpp_err
=$ac_c_preproc_warn_flag
31474 if test -z "$ac_cpp_err"; then
31475 ac_header_preproc
=yes
31477 echo "$as_me: failed program was:" >&5
31478 sed 's/^/| /' conftest.
$ac_ext >&5
31480 ac_header_preproc
=no
31482 rm -f conftest.err conftest.
$ac_ext
31483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31484 echo "${ECHO_T}$ac_header_preproc" >&6
31486 # So? What about this header?
31487 case $ac_header_compiler:$ac_header_preproc in
31489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31495 ## ------------------------------------ ##
31496 ## Report this to bug-autoconf@gnu.org. ##
31497 ## ------------------------------------ ##
31500 sed "s/^/$as_me: WARNING: /" >&2
31503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31511 ## ------------------------------------ ##
31512 ## Report this to bug-autoconf@gnu.org. ##
31513 ## ------------------------------------ ##
31516 sed "s/^/$as_me: WARNING: /" >&2
31519 echo "$as_me:$LINENO: checking for $ac_header" >&5
31520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31522 echo $ECHO_N "(cached) $ECHO_C" >&6
31524 eval "$as_ac_Header=$ac_header_preproc"
31526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31531 cat >>confdefs.h
<<_ACEOF
31532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31539 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31541 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31542 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31547 if test "$wxUSE_JOYSTICK" = "yes"; then
31548 cat >>confdefs.h
<<\_ACEOF
31549 #define wxUSE_JOYSTICK 1
31552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31557 if test "$TOOLKIT" != "MSW"; then
31561 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31562 if test "$USE_DARWIN" = 1; then
31566 for ac_func
in dlopen
31568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31574 cat >conftest.
$ac_ext <<_ACEOF
31575 #line $LINENO "configure"
31578 cat confdefs.h
>>conftest.
$ac_ext
31579 cat >>conftest.
$ac_ext <<_ACEOF
31580 /* end confdefs.h. */
31581 /* System header to define __stub macros and hopefully few prototypes,
31582 which can conflict with char $ac_func (); below.
31583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31584 <limits.h> exists even on freestanding compilers. */
31586 # include <limits.h>
31588 # include <assert.h>
31590 /* Override any gcc2 internal prototype to avoid an error. */
31595 /* We use char because int might match the return type of a gcc2
31596 builtin and then its argument prototype would still apply. */
31598 /* The GNU C library defines this for functions which it implements
31599 to always fail with ENOSYS. Some functions are actually named
31600 something starting with __ and the normal name is an alias. */
31601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31604 char (*f) () = $ac_func;
31613 return f != $ac_func;
31618 rm -f conftest.
$ac_objext conftest
$ac_exeext
31619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31620 (eval $ac_link) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } &&
31624 { ac_try
='test -s conftest$ac_exeext'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; }; then
31630 eval "$as_ac_var=yes"
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.
$ac_ext >&5
31635 eval "$as_ac_var=no"
31637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31641 if test `eval echo '${'$as_ac_var'}'` = yes; then
31642 cat >>confdefs.h
<<_ACEOF
31643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31646 cat >>confdefs.h
<<\_ACEOF
31647 #define HAVE_DLOPEN 1
31654 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31655 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31656 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31659 ac_check_lib_save_LIBS
=$LIBS
31661 cat >conftest.
$ac_ext <<_ACEOF
31662 #line $LINENO "configure"
31665 cat confdefs.h
>>conftest.
$ac_ext
31666 cat >>conftest.
$ac_ext <<_ACEOF
31667 /* end confdefs.h. */
31669 /* Override any gcc2 internal prototype to avoid an error. */
31673 /* We use char because int might match the return type of a gcc2
31674 builtin and then its argument prototype would still apply. */
31684 rm -f conftest.
$ac_objext conftest
$ac_exeext
31685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31686 (eval $ac_link) 2>&5
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); } &&
31690 { ac_try
='test -s conftest$ac_exeext'
31691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692 (eval $ac_try) 2>&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; }; then
31696 ac_cv_lib_dl_dlopen
=yes
31698 echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.
$ac_ext >&5
31701 ac_cv_lib_dl_dlopen
=no
31703 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31704 LIBS
=$ac_check_lib_save_LIBS
31706 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31707 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31708 if test $ac_cv_lib_dl_dlopen = yes; then
31710 cat >>confdefs.h
<<\_ACEOF
31711 #define HAVE_DLOPEN 1
31715 DL_LINK
=" -ldl$DL_LINK"
31720 for ac_func
in shl_load
31722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31723 echo "$as_me:$LINENO: checking for $ac_func" >&5
31724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31725 if eval "test \"\${$as_ac_var+set}\" = set"; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 cat >conftest.
$ac_ext <<_ACEOF
31729 #line $LINENO "configure"
31732 cat confdefs.h
>>conftest.
$ac_ext
31733 cat >>conftest.
$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 /* System header to define __stub macros and hopefully few prototypes,
31736 which can conflict with char $ac_func (); below.
31737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31738 <limits.h> exists even on freestanding compilers. */
31740 # include <limits.h>
31742 # include <assert.h>
31744 /* Override any gcc2 internal prototype to avoid an error. */
31749 /* We use char because int might match the return type of a gcc2
31750 builtin and then its argument prototype would still apply. */
31752 /* The GNU C library defines this for functions which it implements
31753 to always fail with ENOSYS. Some functions are actually named
31754 something starting with __ and the normal name is an alias. */
31755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31758 char (*f) () = $ac_func;
31767 return f != $ac_func;
31772 rm -f conftest.
$ac_objext conftest
$ac_exeext
31773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31774 (eval $ac_link) 2>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try
='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 eval "$as_ac_var=yes"
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.
$ac_ext >&5
31789 eval "$as_ac_var=no"
31791 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31795 if test `eval echo '${'$as_ac_var'}'` = yes; then
31796 cat >>confdefs.h
<<_ACEOF
31797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31800 cat >>confdefs.h
<<\_ACEOF
31801 #define HAVE_SHL_LOAD 1
31808 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31809 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31810 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31813 ac_check_lib_save_LIBS
=$LIBS
31814 LIBS
="-lshl_load $LIBS"
31815 cat >conftest.
$ac_ext <<_ACEOF
31816 #line $LINENO "configure"
31819 cat confdefs.h
>>conftest.
$ac_ext
31820 cat >>conftest.
$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31823 /* Override any gcc2 internal prototype to avoid an error. */
31827 /* We use char because int might match the return type of a gcc2
31828 builtin and then its argument prototype would still apply. */
31838 rm -f conftest.
$ac_objext conftest
$ac_exeext
31839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31840 (eval $ac_link) 2>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } &&
31844 { ac_try
='test -s conftest$ac_exeext'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; }; then
31850 ac_cv_lib_shl_load_dld
=yes
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.
$ac_ext >&5
31855 ac_cv_lib_shl_load_dld
=no
31857 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31858 LIBS
=$ac_check_lib_save_LIBS
31860 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31861 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31862 if test $ac_cv_lib_shl_load_dld = yes; then
31865 DL_LINK
=" -ldld$DL_LINK"
31881 if test "$HAVE_DL_FUNCS" = 1; then
31883 for ac_func
in dlerror
31885 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31886 echo "$as_me:$LINENO: checking for $ac_func" >&5
31887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31888 if eval "test \"\${$as_ac_var+set}\" = set"; then
31889 echo $ECHO_N "(cached) $ECHO_C" >&6
31891 cat >conftest.
$ac_ext <<_ACEOF
31892 #line $LINENO "configure"
31895 cat confdefs.h
>>conftest.
$ac_ext
31896 cat >>conftest.
$ac_ext <<_ACEOF
31897 /* end confdefs.h. */
31898 /* System header to define __stub macros and hopefully few prototypes,
31899 which can conflict with char $ac_func (); below.
31900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31901 <limits.h> exists even on freestanding compilers. */
31903 # include <limits.h>
31905 # include <assert.h>
31907 /* Override any gcc2 internal prototype to avoid an error. */
31912 /* We use char because int might match the return type of a gcc2
31913 builtin and then its argument prototype would still apply. */
31915 /* The GNU C library defines this for functions which it implements
31916 to always fail with ENOSYS. Some functions are actually named
31917 something starting with __ and the normal name is an alias. */
31918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31921 char (*f) () = $ac_func;
31930 return f != $ac_func;
31935 rm -f conftest.
$ac_objext conftest
$ac_exeext
31936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31937 (eval $ac_link) 2>&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); } &&
31941 { ac_try
='test -s conftest$ac_exeext'
31942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943 (eval $ac_try) 2>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); }; }; then
31947 eval "$as_ac_var=yes"
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.
$ac_ext >&5
31952 eval "$as_ac_var=no"
31954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31958 if test `eval echo '${'$as_ac_var'}'` = yes; then
31959 cat >>confdefs.h
<<_ACEOF
31960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31962 cat >>confdefs.h
<<\_ACEOF
31963 #define HAVE_DLERROR 1
31968 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31969 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31970 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31971 echo $ECHO_N "(cached) $ECHO_C" >&6
31973 ac_check_lib_save_LIBS
=$LIBS
31975 cat >conftest.
$ac_ext <<_ACEOF
31976 #line $LINENO "configure"
31979 cat confdefs.h
>>conftest.
$ac_ext
31980 cat >>conftest.
$ac_ext <<_ACEOF
31981 /* end confdefs.h. */
31983 /* Override any gcc2 internal prototype to avoid an error. */
31987 /* We use char because int might match the return type of a gcc2
31988 builtin and then its argument prototype would still apply. */
31998 rm -f conftest.
$ac_objext conftest
$ac_exeext
31999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32000 (eval $ac_link) 2>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try
='test -s conftest$ac_exeext'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; }; then
32010 ac_cv_lib_dl_dlerror
=yes
32012 echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.
$ac_ext >&5
32015 ac_cv_lib_dl_dlerror
=no
32017 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32018 LIBS
=$ac_check_lib_save_LIBS
32020 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32021 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32022 if test $ac_cv_lib_dl_dlerror = yes; then
32023 cat >>confdefs.h
<<\_ACEOF
32024 #define HAVE_DLERROR 1
32037 if test "$HAVE_DL_FUNCS" = 0; then
32038 if test "$HAVE_SHL_FUNCS" = 0; then
32039 if test "$USE_UNIX" = 1; then
32040 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32041 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32042 wxUSE_DYNAMIC_LOADER
=no
32043 wxUSE_DYNLIB_CLASS
=no
32045 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32046 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32053 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32054 cat >>confdefs.h
<<\_ACEOF
32055 #define wxUSE_DYNAMIC_LOADER 1
32059 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32060 cat >>confdefs.h
<<\_ACEOF
32061 #define wxUSE_DYNLIB_CLASS 1
32067 if test "$wxUSE_FONTMAP" = "yes" ; then
32068 cat >>confdefs.h
<<\_ACEOF
32069 #define wxUSE_FONTMAP 1
32074 if test "$wxUSE_UNICODE" = "yes" ; then
32075 cat >>confdefs.h
<<\_ACEOF
32076 #define wxUSE_UNICODE 1
32080 if test "$USE_WIN32" != 1; then
32081 wxUSE_UNICODE_MSLU
=no
32084 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32085 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32086 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32087 if test "${ac_cv_lib_unicows_main+set}" = set; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32090 ac_check_lib_save_LIBS
=$LIBS
32091 LIBS
="-lunicows $LIBS"
32092 cat >conftest.
$ac_ext <<_ACEOF
32093 #line $LINENO "configure"
32096 cat confdefs.h
>>conftest.
$ac_ext
32097 cat >>conftest.
$ac_ext <<_ACEOF
32098 /* end confdefs.h. */
32109 rm -f conftest.
$ac_objext conftest
$ac_exeext
32110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32111 (eval $ac_link) 2>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); } &&
32115 { ac_try
='test -s conftest$ac_exeext'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; }; then
32121 ac_cv_lib_unicows_main
=yes
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.
$ac_ext >&5
32126 ac_cv_lib_unicows_main
=no
32128 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32129 LIBS
=$ac_check_lib_save_LIBS
32131 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32132 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32133 if test $ac_cv_lib_unicows_main = yes; then
32135 cat >>confdefs.h
<<\_ACEOF
32136 #define wxUSE_UNICODE_MSLU 1
32142 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32143 Applications will only run on Windows NT/2000/XP!" >&5
32144 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32145 Applications will only run on Windows NT/2000/XP!" >&2;}
32146 wxUSE_UNICODE_MSLU
=no
32153 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32154 cat >>confdefs.h
<<\_ACEOF
32155 #define wxUSE_EXPERIMENTAL_PRINTF 1
32161 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32162 cat >>confdefs.h
<<\_ACEOF
32163 #define wxUSE_POSTSCRIPT 1
32168 cat >>confdefs.h
<<\_ACEOF
32169 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32173 cat >>confdefs.h
<<\_ACEOF
32174 #define wxUSE_NORMALIZED_PS_FONTS 1
32179 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32180 cat >>confdefs.h
<<\_ACEOF
32181 #define wxUSE_CONSTRAINTS 1
32184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32187 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32188 cat >>confdefs.h
<<\_ACEOF
32189 #define wxUSE_MDI_ARCHITECTURE 1
32192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32195 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32196 cat >>confdefs.h
<<\_ACEOF
32197 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32201 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32206 if test "$wxUSE_HELP" = "yes"; then
32207 cat >>confdefs.h
<<\_ACEOF
32208 #define wxUSE_HELP 1
32211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32213 if test "$wxUSE_MSW" = 1; then
32214 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32215 cat >>confdefs.h
<<\_ACEOF
32216 #define wxUSE_MS_HTML_HELP 1
32222 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32223 if test "$wxUSE_HTML" = "yes"; then
32224 cat >>confdefs.h
<<\_ACEOF
32225 #define wxUSE_WXHTML_HELP 1
32229 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32230 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32231 wxUSE_WXHTML_HELP
=no
32236 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32237 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32238 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32239 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32241 cat >>confdefs.h
<<\_ACEOF
32242 #define wxUSE_PRINTING_ARCHITECTURE 1
32246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32249 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32250 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32251 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32252 { (exit 1); exit 1; }; }
32256 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32257 -o "$wxUSE_CLIPBOARD" = "yes" \
32258 -o "$wxUSE_OLE" = "yes" \
32259 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32261 for ac_header
in ole2.h
32263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32265 echo "$as_me:$LINENO: checking for $ac_header" >&5
32266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32268 echo $ECHO_N "(cached) $ECHO_C" >&6
32270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32273 # Is the header compilable?
32274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32276 cat >conftest.
$ac_ext <<_ACEOF
32277 #line $LINENO "configure"
32280 cat confdefs.h
>>conftest.
$ac_ext
32281 cat >>conftest.
$ac_ext <<_ACEOF
32282 /* end confdefs.h. */
32283 $ac_includes_default
32284 #include <$ac_header>
32286 rm -f conftest.
$ac_objext
32287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32288 (eval $ac_compile) 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); } &&
32292 { ac_try
='test -s conftest.$ac_objext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 ac_header_compiler
=yes
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.
$ac_ext >&5
32303 ac_header_compiler
=no
32305 rm -f conftest.
$ac_objext conftest.
$ac_ext
32306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32307 echo "${ECHO_T}$ac_header_compiler" >&6
32309 # Is the header present?
32310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32312 cat >conftest.
$ac_ext <<_ACEOF
32313 #line $LINENO "configure"
32316 cat confdefs.h
>>conftest.
$ac_ext
32317 cat >>conftest.
$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32319 #include <$ac_header>
32321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32324 grep -v '^ *+' conftest.er1
>conftest.err
32326 cat conftest.err
>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); } >/dev
/null
; then
32329 if test -s conftest.err
; then
32330 ac_cpp_err
=$ac_c_preproc_warn_flag
32337 if test -z "$ac_cpp_err"; then
32338 ac_header_preproc
=yes
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.
$ac_ext >&5
32343 ac_header_preproc
=no
32345 rm -f conftest.err conftest.
$ac_ext
32346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32347 echo "${ECHO_T}$ac_header_preproc" >&6
32349 # So? What about this header?
32350 case $ac_header_compiler:$ac_header_preproc in
32352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32358 ## ------------------------------------ ##
32359 ## Report this to bug-autoconf@gnu.org. ##
32360 ## ------------------------------------ ##
32363 sed "s/^/$as_me: WARNING: /" >&2
32366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32374 ## ------------------------------------ ##
32375 ## Report this to bug-autoconf@gnu.org. ##
32376 ## ------------------------------------ ##
32379 sed "s/^/$as_me: WARNING: /" >&2
32382 echo "$as_me:$LINENO: checking for $ac_header" >&5
32383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 eval "$as_ac_Header=$ac_header_preproc"
32389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32394 cat >>confdefs.h
<<_ACEOF
32395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32403 if test "$ac_cv_header_ole2_h" = "yes" ; then
32404 if test "$GCC" = yes ; then
32408 ac_cpp
='$CXXCPP $CPPFLAGS'
32409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32414 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32415 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32416 cat >conftest.
$ac_ext <<_ACEOF
32417 #line $LINENO "configure"
32420 cat confdefs.h
>>conftest.
$ac_ext
32421 cat >>conftest.
$ac_ext <<_ACEOF
32422 /* end confdefs.h. */
32423 #include <windows.h>
32433 rm -f conftest.
$ac_objext
32434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32435 (eval $ac_compile) 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } &&
32439 { ac_try
='test -s conftest.$ac_objext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 echo "$as_me:$LINENO: result: no" >&5
32446 echo "${ECHO_T}no" >&6
32448 echo "$as_me: failed program was:" >&5
32449 sed 's/^/| /' conftest.
$ac_ext >&5
32451 echo "$as_me:$LINENO: result: yes" >&5
32452 echo "${ECHO_T}yes" >&6
32453 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32455 rm -f conftest.
$ac_objext conftest.
$ac_ext
32457 ac_cpp
='$CPP $CPPFLAGS'
32458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32462 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32463 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32464 cat >>confdefs.h
<<\_ACEOF
32465 #define wxUSE_OLE 1
32471 cat >>confdefs.h
<<\_ACEOF
32472 #define wxUSE_DATAOBJ 1
32476 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32477 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32480 wxUSE_DRAG_AND_DROP
=no
32485 if test "$wxUSE_METAFILE" = "yes"; then
32486 cat >>confdefs.h
<<\_ACEOF
32487 #define wxUSE_METAFILE 1
32491 cat >>confdefs.h
<<\_ACEOF
32492 #define wxUSE_ENH_METAFILE 1
32498 if test "$wxUSE_IPC" = "yes"; then
32499 if test "$wxUSE_SOCKETS" != "yes"; then
32500 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32501 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32504 cat >>confdefs.h
<<\_ACEOF
32505 #define wxUSE_IPC 1
32510 if test "$wxUSE_CLIPBOARD" = "yes"; then
32511 if test "$wxUSE_MGL" = 1; then
32512 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32513 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32517 if test "$wxUSE_CLIPBOARD" = "yes"; then
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_CLIPBOARD 1
32523 cat >>confdefs.h
<<\_ACEOF
32524 #define wxUSE_DATAOBJ 1
32530 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32531 if test "$wxUSE_GTK" = 1; then
32532 if test "$WXGTK12" != 1; then
32533 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32534 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32535 wxUSE_DRAG_AND_DROP
=no
32539 if test "$wxUSE_MOTIF" = 1; then
32540 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32541 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32542 wxUSE_DRAG_AND_DROP
=no
32545 if test "$wxUSE_X11" = 1; then
32546 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32547 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32548 wxUSE_DRAG_AND_DROP
=no
32551 if test "$wxUSE_MGL" = 1; then
32552 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32553 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32554 wxUSE_DRAG_AND_DROP
=no
32557 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32558 cat >>confdefs.h
<<\_ACEOF
32559 #define wxUSE_DRAG_AND_DROP 1
32562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32567 if test "$wxUSE_SPLINES" = "yes" ; then
32568 cat >>confdefs.h
<<\_ACEOF
32569 #define wxUSE_SPLINES 1
32576 if test "$wxUSE_CONTROLS" = "yes"; then
32580 if test "$wxUSE_ACCEL" = "yes"; then
32581 cat >>confdefs.h
<<\_ACEOF
32582 #define wxUSE_ACCEL 1
32588 if test "$wxUSE_BUTTON" = "yes"; then
32589 cat >>confdefs.h
<<\_ACEOF
32590 #define wxUSE_BUTTON 1
32596 if test "$wxUSE_BMPBUTTON" = "yes"; then
32597 cat >>confdefs.h
<<\_ACEOF
32598 #define wxUSE_BMPBUTTON 1
32604 if test "$wxUSE_CALCTRL" = "yes"; then
32605 cat >>confdefs.h
<<\_ACEOF
32606 #define wxUSE_CALENDARCTRL 1
32610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32613 if test "$wxUSE_CARET" = "yes"; then
32614 cat >>confdefs.h
<<\_ACEOF
32615 #define wxUSE_CARET 1
32619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32622 if test "$wxUSE_COMBOBOX" = "yes"; then
32623 cat >>confdefs.h
<<\_ACEOF
32624 #define wxUSE_COMBOBOX 1
32630 if test "$wxUSE_CHOICE" = "yes"; then
32631 cat >>confdefs.h
<<\_ACEOF
32632 #define wxUSE_CHOICE 1
32638 if test "$wxUSE_CHECKBOX" = "yes"; then
32639 cat >>confdefs.h
<<\_ACEOF
32640 #define wxUSE_CHECKBOX 1
32646 if test "$wxUSE_CHECKLST" = "yes"; then
32647 cat >>confdefs.h
<<\_ACEOF
32648 #define wxUSE_CHECKLISTBOX 1
32652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32655 if test "$wxUSE_DISPLAY" = "yes"; then
32656 cat >>confdefs.h
<<\_ACEOF
32657 #define wxUSE_DISPLAY 1
32660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32663 if test "$wxUSE_GAUGE" = "yes"; then
32664 cat >>confdefs.h
<<\_ACEOF
32665 #define wxUSE_GAUGE 1
32671 if test "$wxUSE_GRID" = "yes"; then
32672 cat >>confdefs.h
<<\_ACEOF
32673 #define wxUSE_GRID 1
32677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32680 if test "$wxUSE_IMAGLIST" = "yes"; then
32681 cat >>confdefs.h
<<\_ACEOF
32682 #define wxUSE_IMAGLIST 1
32687 if test "$wxUSE_LISTBOOK" = "yes"; then
32688 cat >>confdefs.h
<<\_ACEOF
32689 #define wxUSE_LISTBOOK 1
32695 if test "$wxUSE_LISTBOX" = "yes"; then
32696 cat >>confdefs.h
<<\_ACEOF
32697 #define wxUSE_LISTBOX 1
32703 if test "$wxUSE_LISTCTRL" = "yes"; then
32704 if test "$wxUSE_IMAGLIST" = "yes"; then
32705 cat >>confdefs.h
<<\_ACEOF
32706 #define wxUSE_LISTCTRL 1
32710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32712 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32713 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32717 if test "$wxUSE_NOTEBOOK" = "yes"; then
32718 cat >>confdefs.h
<<\_ACEOF
32719 #define wxUSE_NOTEBOOK 1
32723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32727 if test "$wxUSE_RADIOBOX" = "yes"; then
32728 cat >>confdefs.h
<<\_ACEOF
32729 #define wxUSE_RADIOBOX 1
32735 if test "$wxUSE_RADIOBTN" = "yes"; then
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxUSE_RADIOBTN 1
32743 if test "$wxUSE_SASH" = "yes"; then
32744 cat >>confdefs.h
<<\_ACEOF
32745 #define wxUSE_SASH 1
32748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32751 if test "$wxUSE_SCROLLBAR" = "yes"; then
32752 cat >>confdefs.h
<<\_ACEOF
32753 #define wxUSE_SCROLLBAR 1
32757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32760 if test "$wxUSE_SLIDER" = "yes"; then
32761 cat >>confdefs.h
<<\_ACEOF
32762 #define wxUSE_SLIDER 1
32768 if test "$wxUSE_SPINBTN" = "yes"; then
32769 cat >>confdefs.h
<<\_ACEOF
32770 #define wxUSE_SPINBTN 1
32776 if test "$wxUSE_SPINCTRL" = "yes"; then
32777 cat >>confdefs.h
<<\_ACEOF
32778 #define wxUSE_SPINCTRL 1
32784 if test "$wxUSE_SPLITTER" = "yes"; then
32785 cat >>confdefs.h
<<\_ACEOF
32786 #define wxUSE_SPLITTER 1
32789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32792 if test "$wxUSE_STATBMP" = "yes"; then
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_STATBMP 1
32800 if test "$wxUSE_STATBOX" = "yes"; then
32801 cat >>confdefs.h
<<\_ACEOF
32802 #define wxUSE_STATBOX 1
32808 if test "$wxUSE_STATTEXT" = "yes"; then
32809 cat >>confdefs.h
<<\_ACEOF
32810 #define wxUSE_STATTEXT 1
32816 if test "$wxUSE_STATLINE" = "yes"; then
32817 cat >>confdefs.h
<<\_ACEOF
32818 #define wxUSE_STATLINE 1
32824 if test "$wxUSE_STATUSBAR" = "yes"; then
32825 cat >>confdefs.h
<<\_ACEOF
32826 #define wxUSE_STATUSBAR 1
32831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32834 if test "$wxUSE_TABDIALOG" = "yes"; then
32835 cat >>confdefs.h
<<\_ACEOF
32836 #define wxUSE_TAB_DIALOG 1
32839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32842 if test "$wxUSE_TEXTCTRL" = "yes"; then
32843 cat >>confdefs.h
<<\_ACEOF
32844 #define wxUSE_TEXTCTRL 1
32848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32851 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32852 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32853 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32854 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32857 if test "$wxUSE_UNIVERSAL" = "yes"; then
32858 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32859 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32863 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32864 cat >>confdefs.h
<<\_ACEOF
32865 #define wxUSE_TOGGLEBTN 1
32872 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define wxUSE_TOOLBAR_SIMPLE 1
32877 wxUSE_TOOLBAR
="yes"
32881 if test "$wxUSE_TOOLBAR" = "yes"; then
32882 cat >>confdefs.h
<<\_ACEOF
32883 #define wxUSE_TOOLBAR 1
32888 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32889 wxUSE_TOOLBAR_NATIVE
="yes"
32892 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32893 cat >>confdefs.h
<<\_ACEOF
32894 #define wxUSE_TOOLBAR_NATIVE 1
32900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32903 if test "$wxUSE_TOOLTIPS" = "yes"; then
32904 if test "$wxUSE_MOTIF" = 1; then
32905 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32906 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32908 if test "$wxUSE_UNIVERSAL" = "yes"; then
32909 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32910 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32912 cat >>confdefs.h
<<\_ACEOF
32913 #define wxUSE_TOOLTIPS 1
32920 if test "$wxUSE_TREECTRL" = "yes"; then
32921 if test "$wxUSE_IMAGLIST" = "yes"; then
32922 cat >>confdefs.h
<<\_ACEOF
32923 #define wxUSE_TREECTRL 1
32927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32929 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32930 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32934 if test "$wxUSE_POPUPWIN" = "yes"; then
32935 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32936 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32937 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32939 if test "$wxUSE_MOTIF" = 1; then
32940 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32941 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32943 if test "$wxUSE_PM" = 1; then
32944 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32945 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32947 cat >>confdefs.h
<<\_ACEOF
32948 #define wxUSE_POPUPWIN 1
32958 if test "$wxUSE_TIPWINDOW" = "yes"; then
32959 if test "$wxUSE_PM" = 1; then
32960 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32961 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32963 cat >>confdefs.h
<<\_ACEOF
32964 #define wxUSE_TIPWINDOW 1
32970 if test "$USES_CONTROLS" = 1; then
32971 cat >>confdefs.h
<<\_ACEOF
32972 #define wxUSE_CONTROLS 1
32979 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32980 cat >>confdefs.h
<<\_ACEOF
32981 #define wxUSE_DRAGIMAGE 1
32984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32987 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32988 cat >>confdefs.h
<<\_ACEOF
32989 #define wxUSE_ACCESSIBILITY 1
32992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32995 if test "$wxUSE_MENUS" = "yes"; then
32996 cat >>confdefs.h
<<\_ACEOF
32997 #define wxUSE_MENUS 1
33000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33003 if test "$wxUSE_METAFILE" = "yes"; then
33004 cat >>confdefs.h
<<\_ACEOF
33005 #define wxUSE_METAFILE 1
33010 if test "$wxUSE_MIMETYPE" = "yes"; then
33011 cat >>confdefs.h
<<\_ACEOF
33012 #define wxUSE_MIMETYPE 1
33017 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33018 cat >>confdefs.h
<<\_ACEOF
33019 #define wxUSE_SYSTEM_OPTIONS 1
33022 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33023 "$TOOLKIT" = "MOTIF"; then
33024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33029 if test "$wxUSE_MINIFRAME" = "yes"; then
33030 cat >>confdefs.h
<<\_ACEOF
33031 #define wxUSE_MINIFRAME 1
33034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33038 if test "$wxUSE_HTML" = "yes"; then
33039 cat >>confdefs.h
<<\_ACEOF
33040 #define wxUSE_HTML 1
33044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33047 if test "$wxUSE_VALIDATORS" = "yes"; then
33048 cat >>confdefs.h
<<\_ACEOF
33049 #define wxUSE_VALIDATORS 1
33052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33055 if test "$wxUSE_PALETTE" = "yes" ; then
33056 cat >>confdefs.h
<<\_ACEOF
33057 #define wxUSE_PALETTE 1
33062 if test "$wxUSE_IMAGE" = "yes" ; then
33063 cat >>confdefs.h
<<\_ACEOF
33064 #define wxUSE_IMAGE 1
33069 if test "$wxUSE_GIF" = "yes" ; then
33070 cat >>confdefs.h
<<\_ACEOF
33071 #define wxUSE_GIF 1
33076 if test "$wxUSE_PCX" = "yes" ; then
33077 cat >>confdefs.h
<<\_ACEOF
33078 #define wxUSE_PCX 1
33083 if test "$wxUSE_IFF" = "yes" ; then
33084 cat >>confdefs.h
<<\_ACEOF
33085 #define wxUSE_IFF 1
33090 if test "$wxUSE_PNM" = "yes" ; then
33091 cat >>confdefs.h
<<\_ACEOF
33092 #define wxUSE_PNM 1
33097 if test "$wxUSE_XPM" = "yes" ; then
33098 cat >>confdefs.h
<<\_ACEOF
33099 #define wxUSE_XPM 1
33104 if test "$wxUSE_ICO_CUR" = "yes" ; then
33105 cat >>confdefs.h
<<\_ACEOF
33106 #define wxUSE_ICO_CUR 1
33111 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33112 LIBS
=" -lunicows $LIBS"
33116 if test "$wxUSE_CHOICEDLG" = "yes"; then
33117 cat >>confdefs.h
<<\_ACEOF
33118 #define wxUSE_CHOICEDLG 1
33123 if test "$wxUSE_COLOURDLG" = "yes"; then
33124 cat >>confdefs.h
<<\_ACEOF
33125 #define wxUSE_COLOURDLG 1
33130 if test "$wxUSE_FILEDLG" = "yes"; then
33131 cat >>confdefs.h
<<\_ACEOF
33132 #define wxUSE_FILEDLG 1
33137 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33138 cat >>confdefs.h
<<\_ACEOF
33139 #define wxUSE_FINDREPLDLG 1
33144 if test "$wxUSE_FONTDLG" = "yes"; then
33145 cat >>confdefs.h
<<\_ACEOF
33146 #define wxUSE_FONTDLG 1
33151 if test "$wxUSE_DIRDLG" = "yes"; then
33152 if test "$wxUSE_TREECTRL" != "yes"; then
33153 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33154 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33156 cat >>confdefs.h
<<\_ACEOF
33157 #define wxUSE_DIRDLG 1
33163 if test "$wxUSE_MSGDLG" = "yes"; then
33164 cat >>confdefs.h
<<\_ACEOF
33165 #define wxUSE_MSGDLG 1
33170 if test "$wxUSE_NUMBERDLG" = "yes"; then
33171 cat >>confdefs.h
<<\_ACEOF
33172 #define wxUSE_NUMBERDLG 1
33177 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33178 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33179 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33180 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33182 cat >>confdefs.h
<<\_ACEOF
33183 #define wxUSE_PROGRESSDLG 1
33189 if test "$wxUSE_SPLASH" = "yes"; then
33190 cat >>confdefs.h
<<\_ACEOF
33191 #define wxUSE_SPLASH 1
33196 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33197 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33198 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33199 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33201 cat >>confdefs.h
<<\_ACEOF
33202 #define wxUSE_STARTUP_TIPS 1
33208 if test "$wxUSE_TEXTDLG" = "yes"; then
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define wxUSE_TEXTDLG 1
33215 if test "$wxUSE_WIZARDDLG" = "yes"; then
33216 cat >>confdefs.h
<<\_ACEOF
33217 #define wxUSE_WIZARDDLG 1
33220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33224 if test "$cross_compiling" = "yes"; then
33227 OSINFO
=`uname -s -r -m`
33228 OSINFO
="\"$OSINFO\""
33231 cat >>confdefs.h
<<_ACEOF
33232 #define WXWIN_OS_DESCRIPTION $OSINFO
33237 if test "x$prefix" != "xNONE"; then
33240 wxPREFIX
=$ac_default_prefix
33243 cat >>confdefs.h
<<_ACEOF
33244 #define wxINSTALL_PREFIX "$wxPREFIX"
33248 top_builddir_wxconfig
=`pwd`
33252 CORE_BASE_LIBS
="net base"
33253 CORE_GUI_LIBS
="adv core"
33255 if test "$wxUSE_XML" = "yes" ; then
33256 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33258 if test "$wxUSE_ODBC" != "no" ; then
33259 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33260 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33262 if test "$wxUSE_HTML" = "yes" ; then
33263 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33273 if test "$wxUSE_MAC" = 1 ; then
33274 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33276 if test "$wxUSE_COCOA" = 1 ; then
33277 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33281 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33289 echo "$as_me:$LINENO: checking for $ac_func" >&5
33290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33291 if eval "test \"\${$as_ac_var+set}\" = set"; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33294 cat >conftest.
$ac_ext <<_ACEOF
33295 #line $LINENO "configure"
33298 cat confdefs.h
>>conftest.
$ac_ext
33299 cat >>conftest.
$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33301 /* System header to define __stub macros and hopefully few prototypes,
33302 which can conflict with char $ac_func (); below.
33303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33304 <limits.h> exists even on freestanding compilers. */
33306 # include <limits.h>
33308 # include <assert.h>
33310 /* Override any gcc2 internal prototype to avoid an error. */
33315 /* We use char because int might match the return type of a gcc2
33316 builtin and then its argument prototype would still apply. */
33318 /* The GNU C library defines this for functions which it implements
33319 to always fail with ENOSYS. Some functions are actually named
33320 something starting with __ and the normal name is an alias. */
33321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33324 char (*f) () = $ac_func;
33333 return f != $ac_func;
33338 rm -f conftest.
$ac_objext conftest
$ac_exeext
33339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33340 (eval $ac_link) 2>&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } &&
33344 { ac_try
='test -s conftest$ac_exeext'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; }; then
33350 eval "$as_ac_var=yes"
33352 echo "$as_me: failed program was:" >&5
33353 sed 's/^/| /' conftest.
$ac_ext >&5
33355 eval "$as_ac_var=no"
33357 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33361 if test `eval echo '${'$as_ac_var'}'` = yes; then
33362 cat >>confdefs.h
<<_ACEOF
33363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33370 for ac_func
in floor
33372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33373 echo "$as_me:$LINENO: checking for $ac_func" >&5
33374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33375 if eval "test \"\${$as_ac_var+set}\" = set"; then
33376 echo $ECHO_N "(cached) $ECHO_C" >&6
33378 cat >conftest.
$ac_ext <<_ACEOF
33379 #line $LINENO "configure"
33382 cat confdefs.h
>>conftest.
$ac_ext
33383 cat >>conftest.
$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33385 /* System header to define __stub macros and hopefully few prototypes,
33386 which can conflict with char $ac_func (); below.
33387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33388 <limits.h> exists even on freestanding compilers. */
33390 # include <limits.h>
33392 # include <assert.h>
33394 /* Override any gcc2 internal prototype to avoid an error. */
33399 /* We use char because int might match the return type of a gcc2
33400 builtin and then its argument prototype would still apply. */
33402 /* The GNU C library defines this for functions which it implements
33403 to always fail with ENOSYS. Some functions are actually named
33404 something starting with __ and the normal name is an alias. */
33405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33408 char (*f) () = $ac_func;
33417 return f != $ac_func;
33422 rm -f conftest.
$ac_objext conftest
$ac_exeext
33423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33424 (eval $ac_link) 2>&5
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); } &&
33428 { ac_try
='test -s conftest$ac_exeext'
33429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33430 (eval $ac_try) 2>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); }; }; then
33434 eval "$as_ac_var=yes"
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.
$ac_ext >&5
33439 eval "$as_ac_var=no"
33441 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33445 if test `eval echo '${'$as_ac_var'}'` = yes; then
33446 cat >>confdefs.h
<<_ACEOF
33447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33453 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33454 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33455 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33456 echo "$as_me:$LINENO: result: yes" >&5
33457 echo "${ECHO_T}yes" >&6
33459 echo "$as_me:$LINENO: result: no" >&5
33460 echo "${ECHO_T}no" >&6
33462 # use different functions to avoid configure caching
33468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33469 echo "$as_me:$LINENO: checking for $ac_func" >&5
33470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33471 if eval "test \"\${$as_ac_var+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 cat >conftest.
$ac_ext <<_ACEOF
33475 #line $LINENO "configure"
33478 cat confdefs.h
>>conftest.
$ac_ext
33479 cat >>conftest.
$ac_ext <<_ACEOF
33480 /* end confdefs.h. */
33481 /* System header to define __stub macros and hopefully few prototypes,
33482 which can conflict with char $ac_func (); below.
33483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33484 <limits.h> exists even on freestanding compilers. */
33486 # include <limits.h>
33488 # include <assert.h>
33490 /* Override any gcc2 internal prototype to avoid an error. */
33495 /* We use char because int might match the return type of a gcc2
33496 builtin and then its argument prototype would still apply. */
33498 /* The GNU C library defines this for functions which it implements
33499 to always fail with ENOSYS. Some functions are actually named
33500 something starting with __ and the normal name is an alias. */
33501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33504 char (*f) () = $ac_func;
33513 return f != $ac_func;
33518 rm -f conftest.
$ac_objext conftest
$ac_exeext
33519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33520 (eval $ac_link) 2>&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try
='test -s conftest$ac_exeext'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; }; then
33530 eval "$as_ac_var=yes"
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.
$ac_ext >&5
33535 eval "$as_ac_var=no"
33537 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33541 if test `eval echo '${'$as_ac_var'}'` = yes; then
33542 cat >>confdefs.h
<<_ACEOF
33543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33550 for ac_func
in ceil
33552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33553 echo "$as_me:$LINENO: checking for $ac_func" >&5
33554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33555 if eval "test \"\${$as_ac_var+set}\" = set"; then
33556 echo $ECHO_N "(cached) $ECHO_C" >&6
33558 cat >conftest.
$ac_ext <<_ACEOF
33559 #line $LINENO "configure"
33562 cat confdefs.h
>>conftest.
$ac_ext
33563 cat >>conftest.
$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33565 /* System header to define __stub macros and hopefully few prototypes,
33566 which can conflict with char $ac_func (); below.
33567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33568 <limits.h> exists even on freestanding compilers. */
33570 # include <limits.h>
33572 # include <assert.h>
33574 /* Override any gcc2 internal prototype to avoid an error. */
33579 /* We use char because int might match the return type of a gcc2
33580 builtin and then its argument prototype would still apply. */
33582 /* The GNU C library defines this for functions which it implements
33583 to always fail with ENOSYS. Some functions are actually named
33584 something starting with __ and the normal name is an alias. */
33585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33588 char (*f) () = $ac_func;
33597 return f != $ac_func;
33602 rm -f conftest.
$ac_objext conftest
$ac_exeext
33603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33604 (eval $ac_link) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try
='test -s conftest$ac_exeext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 eval "$as_ac_var=yes"
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.
$ac_ext >&5
33619 eval "$as_ac_var=no"
33621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33625 if test `eval echo '${'$as_ac_var'}'` = yes; then
33626 cat >>confdefs.h
<<_ACEOF
33627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33633 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33634 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33635 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33636 echo "$as_me:$LINENO: result: yes" >&5
33637 echo "${ECHO_T}yes" >&6
33639 echo "$as_me:$LINENO: result: no" >&5
33640 echo "${ECHO_T}no" >&6
33641 # not sure we should warn the user, crash, etc.
33645 if test "$wxUSE_GUI" = "yes"; then
33648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33649 drawing dynamic erase event exec font image \
33650 minimal propsize rotate shaped widgets render"
33652 if test "$wxUSE_MONOLITHIC" != "yes"; then
33653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33656 SAMPLES_SUBDIRS
="console"
33660 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33661 -I\${top_srcdir}/include \
33662 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33665 if test "$GXX" = yes ; then
33666 CXXWARNINGS
="-Wall"
33669 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33671 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33672 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33673 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33676 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33677 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33678 EXTRALIBS_XML
="$EXPAT_LINK"
33679 EXTRALIBS_ODBC
="$ODBC_LINK"
33680 if test "$wxUSE_GUI" = "yes"; then
33681 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33683 if test "$wxUSE_OPENGL" = "yes"; then
33684 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33687 LDFLAGS
="$LDFLAGS $PROFILE"
33689 if test "$wxUSE_GTK" = 1; then
33692 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33695 WXCONFIG_EXTRALIBS
="$LIBS"
33697 if test "$wxUSE_REGEX" = "builtin" ; then
33698 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33700 if test "$wxUSE_EXPAT" = "builtin" ; then
33701 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33703 if test "$wxUSE_ODBC" = "builtin" ; then
33704 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33706 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33707 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33709 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33710 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33712 if test "$wxUSE_LIBPNG" = "builtin" ; then
33713 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33715 if test "$wxUSE_ZLIB" = "builtin" ; then
33716 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33718 if test "$wxUSE_ODBC" = "builtin" ; then
33719 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33722 for i
in $wxconfig_3rdparty ; do
33723 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33727 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33741 if test $wxUSE_MONOLITHIC = "yes" ; then
33747 if test $wxUSE_ODBC != "no" ; then
33753 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33775 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33783 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33785 if test -n "$ac_tool_prefix"; then
33786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33787 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33788 echo "$as_me:$LINENO: checking for $ac_word" >&5
33789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33790 if test "${ac_cv_prog_RANLIB+set}" = set; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33793 if test -n "$RANLIB"; then
33794 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33797 for as_dir
in $PATH
33800 test -z "$as_dir" && as_dir
=.
33801 for ac_exec_ext
in '' $ac_executable_extensions; do
33802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33803 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33812 RANLIB
=$ac_cv_prog_RANLIB
33813 if test -n "$RANLIB"; then
33814 echo "$as_me:$LINENO: result: $RANLIB" >&5
33815 echo "${ECHO_T}$RANLIB" >&6
33817 echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6
33822 if test -z "$ac_cv_prog_RANLIB"; then
33823 ac_ct_RANLIB
=$RANLIB
33824 # Extract the first word of "ranlib", so it can be a program name with args.
33825 set dummy ranlib
; ac_word
=$2
33826 echo "$as_me:$LINENO: checking for $ac_word" >&5
33827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33828 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 if test -n "$ac_ct_RANLIB"; then
33832 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33835 for as_dir
in $PATH
33838 test -z "$as_dir" && as_dir
=.
33839 for ac_exec_ext
in '' $ac_executable_extensions; do
33840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33841 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33848 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33851 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33852 if test -n "$ac_ct_RANLIB"; then
33853 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33854 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33856 echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6
33860 RANLIB
=$ac_ct_RANLIB
33862 RANLIB
="$ac_cv_prog_RANLIB"
33865 # Find a good install program. We prefer a C program (faster),
33866 # so one script is as good as another. But avoid the broken or
33867 # incompatible versions:
33868 # SysV /etc/install, /usr/sbin/install
33869 # SunOS /usr/etc/install
33870 # IRIX /sbin/install
33872 # AmigaOS /C/install, which installs bootblocks on floppy discs
33873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33876 # ./install, which can be erroneously created by make from ./install.sh.
33877 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33878 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33879 if test -z "$INSTALL"; then
33880 if test "${ac_cv_path_install+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33884 for as_dir
in $PATH
33887 test -z "$as_dir" && as_dir
=.
33888 # Account for people who put trailing slashes in PATH elements.
33890 .
/ | .
// | /cC
/* | \
33891 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33894 # OSF1 and SCO ODT 3.0 have their own names for install.
33895 # Don't use installbsd from OSF since it installs stuff as root
33897 for ac_prog
in ginstall scoinst
install; do
33898 for ac_exec_ext
in '' $ac_executable_extensions; do
33899 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33900 if test $ac_prog = install &&
33901 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33902 # AIX install. It has an incompatible calling convention.
33904 elif test $ac_prog = install &&
33905 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33906 # program-specific install script used by HP pwplus--don't use.
33909 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33921 if test "${ac_cv_path_install+set}" = set; then
33922 INSTALL
=$ac_cv_path_install
33924 # As a last resort, use the slow shell script. We don't cache a
33925 # path for INSTALL within a source directory, because that will
33926 # break other packages using the cache if that directory is
33927 # removed, or if the path is relative.
33928 INSTALL
=$ac_install_sh
33931 echo "$as_me:$LINENO: result: $INSTALL" >&5
33932 echo "${ECHO_T}$INSTALL" >&6
33934 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33935 # It thinks the first close brace ends the variable substitution.
33936 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33938 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33940 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33942 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33943 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33945 if test "$LN_S" = "ln -s"; then
33946 echo "$as_me:$LINENO: result: yes" >&5
33947 echo "${ECHO_T}yes" >&6
33949 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33950 echo "${ECHO_T}no, using $LN_S" >&6
33954 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33955 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33956 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33957 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33960 cat >conftest.
make <<\_ACEOF
33962 @
echo 'ac_maketemp="$(MAKE)"'
33964 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33965 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33966 if test -n "$ac_maketemp"; then
33967 eval ac_cv_prog_make_
${ac_make}_set
=yes
33969 eval ac_cv_prog_make_
${ac_make}_set
=no
33971 rm -f conftest.
make
33973 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33974 echo "$as_me:$LINENO: result: yes" >&5
33975 echo "${ECHO_T}yes" >&6
33978 echo "$as_me:$LINENO: result: no" >&5
33979 echo "${ECHO_T}no" >&6
33980 SET_MAKE
="MAKE=${MAKE-make}"
33985 if test "$build" != "$host" ; then
33987 STRIP
=$host_alias-strip
33989 # Extract the first word of "ar", so it can be a program name with args.
33990 set dummy
ar; ac_word
=$2
33991 echo "$as_me:$LINENO: checking for $ac_word" >&5
33992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33993 if test "${ac_cv_prog_AR+set}" = set; then
33994 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 if test -n "$AR"; then
33997 ac_cv_prog_AR
="$AR" # Let the user override the test.
33999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34000 for as_dir
in $PATH
34003 test -z "$as_dir" && as_dir
=.
34004 for ac_exec_ext
in '' $ac_executable_extensions; do
34005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34013 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34017 if test -n "$AR"; then
34018 echo "$as_me:$LINENO: result: $AR" >&5
34019 echo "${ECHO_T}$AR" >&6
34021 echo "$as_me:$LINENO: result: no" >&5
34022 echo "${ECHO_T}no" >&6
34025 # Extract the first word of "strip", so it can be a program name with args.
34026 set dummy strip
; ac_word
=$2
34027 echo "$as_me:$LINENO: checking for $ac_word" >&5
34028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34029 if test "${ac_cv_prog_STRIP+set}" = set; then
34030 echo $ECHO_N "(cached) $ECHO_C" >&6
34032 if test -n "$STRIP"; then
34033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34036 for as_dir
in $PATH
34039 test -z "$as_dir" && as_dir
=.
34040 for ac_exec_ext
in '' $ac_executable_extensions; do
34041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34042 ac_cv_prog_STRIP
="strip"
34043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34049 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34052 STRIP
=$ac_cv_prog_STRIP
34053 if test -n "$STRIP"; then
34054 echo "$as_me:$LINENO: result: $STRIP" >&5
34055 echo "${ECHO_T}$STRIP" >&6
34057 echo "$as_me:$LINENO: result: no" >&5
34058 echo "${ECHO_T}no" >&6
34065 INSTALL_DIR
="mkdir"
34067 *) INSTALL_DIR
="$INSTALL -d"
34074 *-*-cygwin* | *-*-mingw32* )
34075 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34081 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34082 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34083 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34087 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34088 egrep -s GNU
> /dev
/null
); then
34089 bakefile_cv_prog_makeisgnu
="yes"
34091 bakefile_cv_prog_makeisgnu
="no"
34095 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34096 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34098 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34114 *-*-cygwin* | *-*-mingw32* )
34120 *-pc-os2_emx | *-pc-os2-emx )
34123 powerpc
-*-darwin* )
34141 SO_SUFFIX_MODULE
="so"
34150 SO_SUFFIX_MODULE
="sl"
34154 SO_SUFFIX_MODULE
="a"
34156 *-*-cygwin* | *-*-mingw32* )
34158 SO_SUFFIX_MODULE
="dll"
34166 *-pc-os2_emx | *-pc-os2-emx )
34171 powerpc
-*-darwin* )
34173 SO_SUFFIX_MODULE
="bundle"
34185 SHARED_LD_CC
="\$(CC) -shared -o"
34186 SHARED_LD_CXX
="\$(CXX) -shared -o"
34188 if test "x$GCC" = "xyes"; then
34194 if test "x$GCC" = "xyes"; then
34195 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34196 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34198 LDFLAGS
="$LDFLAGS -L/usr/lib"
34200 SHARED_LD_CC
="${CC} -b -o"
34201 SHARED_LD_CXX
="${CXX} -b -o"
34207 if test "x$GCC" != "xyes"; then
34208 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34209 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34210 if test "${bakefile_cv_prog_icc+set}" = set; then
34211 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 cat >conftest.
$ac_ext <<_ACEOF
34215 #line $LINENO "configure"
34218 cat confdefs.h
>>conftest.
$ac_ext
34219 cat >>conftest.
$ac_ext <<_ACEOF
34220 /* end confdefs.h. */
34226 #ifndef __INTEL_COMPILER
34234 rm -f conftest.
$ac_objext
34235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34236 (eval $ac_compile) 2>&5
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); } &&
34240 { ac_try
='test -s conftest.$ac_objext'
34241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34242 (eval $ac_try) 2>&5
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); }; }; then
34246 bakefile_cv_prog_icc
=yes
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.
$ac_ext >&5
34251 bakefile_cv_prog_icc
=no
34254 rm -f conftest.
$ac_objext conftest.
$ac_ext
34257 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34258 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34259 if test "$bakefile_cv_prog_icc" = "yes"; then
34266 if test "x$GCC" != xyes
; then
34267 SHARED_LD_CC
="${CC} -G -o"
34268 SHARED_LD_CXX
="${CXX} -G -o"
34274 CFLAGS
="$CFLAGS -fno-common"
34275 CXXFLAGS
="$CXXFLAGS -fno-common"
34278 cat <<EOF >shared-ld-sh
34280 #-----------------------------------------------------------------------------
34281 #-- Name: distrib/mac/shared-ld-sh
34282 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34283 #-- Author: Gilles Depeyrot
34284 #-- Copyright: (c) 2002 Gilles Depeyrot
34285 #-- Licence: any use permitted
34286 #-----------------------------------------------------------------------------
34291 linking_flag="-dynamiclib"
34293 while test \${#} -gt 0; do
34300 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34301 # collect these options and values
34302 args="\${args} \${1} \${2}"
34306 -l*|-L*|-flat_namespace)
34307 # collect these options
34308 args="\${args} \${1}"
34311 -dynamiclib|-bundle)
34312 linking_flag="\${1}"
34316 echo "shared-ld: unhandled option '\${1}'"
34320 *.o | *.a | *.dylib)
34321 # collect object files
34322 objects="\${objects} \${1}"
34326 echo "shared-ld: unhandled argument '\${1}'"
34335 # Link one module containing all the others
34337 if test \${verbose} = 1; then
34338 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34340 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34342 if test \${status} != 0; then
34347 # Link the shared library from the single module created
34349 if test \${verbose} = 1; then
34350 echo "cc \${linking_flag} master.\$\$.o \${args}"
34352 c++ \${linking_flag} master.\$\$.o \${args}
34354 if test \${status} != 0; then
34359 # Remove intermediate module
34361 rm -f master.\$\$.o
34365 chmod +x shared
-ld-sh
34367 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34368 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34369 SHARED_LD_CXX
="$SHARED_LD_CC"
34370 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34371 PIC_FLAG
="-dynamic -fPIC"
34375 if test "x$GCC" != "xyes"; then
34376 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34377 set dummy makeC
++SharedLib
; ac_word
=$2
34378 echo "$as_me:$LINENO: checking for $ac_word" >&5
34379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34380 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 if test -n "$AIX_CXX_LD"; then
34384 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34387 for as_dir
in $PATH
34390 test -z "$as_dir" && as_dir
=.
34391 for ac_exec_ext
in '' $ac_executable_extensions; do
34392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34393 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34400 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34403 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34404 if test -n "$AIX_CXX_LD"; then
34405 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34406 echo "${ECHO_T}$AIX_CXX_LD" >&6
34408 echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6
34412 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34413 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34418 SHARED_LD_CC
="${LD} -shared -o"
34419 SHARED_LD_CXX
="${LD} -shared -o"
34423 if test "x$GCC" != "xyes"; then
34428 *-*-cygwin* | *-*-mingw32* )
34432 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34436 *-pc-os2_emx | *-pc-os2-emx | \
34441 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34442 echo "$as_me: error: unknown system type $host." >&2;}
34443 { (exit 1); exit 1; }; }
34446 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34447 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34449 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34450 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34469 SONAME_FLAG
="-Wl,-soname,"
34497 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34498 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34501 if test "x$GCC" = "xyes"; then
34505 powerpc
-*-darwin* )
34506 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34509 DEPSFLAG_GCC
="-MMD"
34512 echo "$as_me:$LINENO: result: gcc" >&5
34513 echo "${ECHO_T}gcc" >&6
34515 echo "$as_me:$LINENO: result: none" >&5
34516 echo "${ECHO_T}none" >&6
34519 if test $DEPS_TRACKING = 1 ; then
34523 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34524 # script. It is used to track C/C++ files dependencies in portable way.
34526 # Permission is given to use this file in any way.
34530 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34534 if test \$DEPSMODE = gcc ; then
34535 \${*} \${DEPSFLAG_GCC}
34537 if test \${status} != 0 ; then
34540 # move created file to the location we want it in:
34541 while test \${#} -gt 0; do
34555 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34556 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34557 if test -f \$depfile ; then
34558 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34561 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34562 if test -f \$depfile ; then
34563 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34583 *-*-cygwin* | *-*-mingw32* )
34584 if test "$build" != "$host" ; then
34585 RESCOMP
=$host_alias-windres
34587 # Extract the first word of "windres", so it can be a program name with args.
34588 set dummy windres
; ac_word
=$2
34589 echo "$as_me:$LINENO: checking for $ac_word" >&5
34590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34591 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 if test -n "$RESCOMP"; then
34595 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34598 for as_dir
in $PATH
34601 test -z "$as_dir" && as_dir
=.
34602 for ac_exec_ext
in '' $ac_executable_extensions; do
34603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34604 ac_cv_prog_RESCOMP
="windres"
34605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34611 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34614 RESCOMP
=$ac_cv_prog_RESCOMP
34615 if test -n "$RESCOMP"; then
34616 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34617 echo "${ECHO_T}$RESCOMP" >&6
34619 echo "$as_me:$LINENO: result: no" >&5
34620 echo "${ECHO_T}no" >&6
34627 # Extract the first word of "Rez", so it can be a program name with args.
34628 set dummy Rez
; ac_word
=$2
34629 echo "$as_me:$LINENO: checking for $ac_word" >&5
34630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34631 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34632 echo $ECHO_N "(cached) $ECHO_C" >&6
34634 if test -n "$RESCOMP"; then
34635 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34638 for as_dir
in $PATH
34641 test -z "$as_dir" && as_dir
=.
34642 for ac_exec_ext
in '' $ac_executable_extensions; do
34643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34644 ac_cv_prog_RESCOMP
="Rez"
34645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34651 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34654 RESCOMP
=$ac_cv_prog_RESCOMP
34655 if test -n "$RESCOMP"; then
34656 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34657 echo "${ECHO_T}$RESCOMP" >&6
34659 echo "$as_me:$LINENO: result: no" >&5
34660 echo "${ECHO_T}no" >&6
34663 # Extract the first word of "SetFile", so it can be a program name with args.
34664 set dummy SetFile
; ac_word
=$2
34665 echo "$as_me:$LINENO: checking for $ac_word" >&5
34666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34667 if test "${ac_cv_prog_SETFILE+set}" = set; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34670 if test -n "$SETFILE"; then
34671 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34674 for as_dir
in $PATH
34677 test -z "$as_dir" && as_dir
=.
34678 for ac_exec_ext
in '' $ac_executable_extensions; do
34679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34680 ac_cv_prog_SETFILE
="SetFile"
34681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34687 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34690 SETFILE
=$ac_cv_prog_SETFILE
34691 if test -n "$SETFILE"; then
34692 echo "$as_me:$LINENO: result: $SETFILE" >&5
34693 echo "${ECHO_T}$SETFILE" >&6
34695 echo "$as_me:$LINENO: result: no" >&5
34696 echo "${ECHO_T}no" >&6
34711 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34712 if test "${enable_precomp_headers+set}" = set; then
34713 enableval
="$enable_precomp_headers"
34714 bk_use_pch
="$enableval"
34719 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34720 if test "x$GCC" = "xyes"; then
34721 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34722 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34723 cat >conftest.
$ac_ext <<_ACEOF
34724 #line $LINENO "configure"
34727 cat confdefs.h
>>conftest.
$ac_ext
34728 cat >>conftest.
$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34735 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34736 #error "no pch support"
34739 #error "no pch support"
34741 #if (__GNUC__ == 3) && \
34742 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34743 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34744 #error "no pch support"
34751 rm -f conftest.
$ac_objext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34753 (eval $ac_compile) 2>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } &&
34757 { ac_try
='test -s conftest.$ac_objext'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34764 echo "$as_me:$LINENO: result: yes" >&5
34765 echo "${ECHO_T}yes" >&6
34766 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34770 echo "$as_me: failed program was:" >&5
34771 sed 's/^/| /' conftest.
$ac_ext >&5
34774 echo "$as_me:$LINENO: result: no" >&5
34775 echo "${ECHO_T}no" >&6
34778 rm -f conftest.
$ac_objext conftest.
$ac_ext
34779 if test $GCC_PCH = 1 ; then
34780 cat <<EOF >bk-make-pch
34783 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34784 # script. It is used to generated precompiled headers.
34786 # Permission is given to use this file in any way.
34795 while test \${#} -gt 0; do
34798 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34799 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34800 headerfile="\${incdir}/\${header}"
34804 compiler="\${compiler} \${1}"
34808 if test "x\${headerfile}" = "x" ; then
34809 echo "error: can't find header \${header} in include paths" >2
34811 if test -f \${outfile} ; then
34814 mkdir -p \`dirname \${outfile}\`
34816 depsfile=".deps/\`basename \${outfile}\`.d"
34818 # can do this because gcc is >= 3.4:
34819 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34823 chmod +x bk
-make-pch
34832 COND_BUILD_DEBUG
="#"
34833 if test "x$BUILD" = "xdebug" ; then
34834 COND_BUILD_DEBUG
=""
34837 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34838 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34839 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34842 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34843 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34844 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34847 COND_BUILD_RELEASE
="#"
34848 if test "x$BUILD" = "xrelease" ; then
34849 COND_BUILD_RELEASE
=""
34852 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34853 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34854 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34857 COND_DEBUG_FLAG_1
="#"
34858 if test "x$DEBUG_FLAG" = "x1" ; then
34859 COND_DEBUG_FLAG_1
=""
34862 COND_DEBUG_INFO_0
="#"
34863 if test "x$DEBUG_INFO" = "x0" ; then
34864 COND_DEBUG_INFO_0
=""
34867 COND_DEBUG_INFO_1
="#"
34868 if test "x$DEBUG_INFO" = "x1" ; then
34869 COND_DEBUG_INFO_1
=""
34872 COND_DEPS_TRACKING_0
="#"
34873 if test "x$DEPS_TRACKING" = "x0" ; then
34874 COND_DEPS_TRACKING_0
=""
34877 COND_DEPS_TRACKING_1
="#"
34878 if test "x$DEPS_TRACKING" = "x1" ; then
34879 COND_DEPS_TRACKING_1
=""
34883 if test "x$GCC_PCH" = "x1" ; then
34887 COND_MONOLITHIC_0
="#"
34888 if test "x$MONOLITHIC" = "x0" ; then
34889 COND_MONOLITHIC_0
=""
34892 COND_MONOLITHIC_0_SHARED_0
="#"
34893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34894 COND_MONOLITHIC_0_SHARED_0
=""
34897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
34903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
34907 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34909 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34912 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
34913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34914 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
34917 COND_MONOLITHIC_0_SHARED_1
="#"
34918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34919 COND_MONOLITHIC_0_SHARED_1
=""
34922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34927 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
34928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34929 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
34932 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34934 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34937 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
34938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34939 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
34942 COND_MONOLITHIC_1
="#"
34943 if test "x$MONOLITHIC" = "x1" ; then
34944 COND_MONOLITHIC_1
=""
34947 COND_MONOLITHIC_1_SHARED_0
="#"
34948 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34949 COND_MONOLITHIC_1_SHARED_0
=""
34952 COND_MONOLITHIC_1_SHARED_1
="#"
34953 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34954 COND_MONOLITHIC_1_SHARED_1
=""
34957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34958 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34959 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34962 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34963 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34967 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34968 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34969 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34972 COND_PLATFORM_MACOSX_1
="#"
34973 if test "x$PLATFORM_MACOSX" = "x1" ; then
34974 COND_PLATFORM_MACOSX_1
=""
34977 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34979 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34982 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34984 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34987 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34989 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34992 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34994 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34997 COND_PLATFORM_MAC_1
="#"
34998 if test "x$PLATFORM_MAC" = "x1" ; then
34999 COND_PLATFORM_MAC_1
=""
35002 COND_PLATFORM_OS2_1
="#"
35003 if test "x$PLATFORM_OS2" = "x1" ; then
35004 COND_PLATFORM_OS2_1
=""
35007 COND_PLATFORM_UNIX_0
="#"
35008 if test "x$PLATFORM_UNIX" = "x0" ; then
35009 COND_PLATFORM_UNIX_0
=""
35012 COND_PLATFORM_UNIX_1
="#"
35013 if test "x$PLATFORM_UNIX" = "x1" ; then
35014 COND_PLATFORM_UNIX_1
=""
35017 COND_PLATFORM_WIN32_0
="#"
35018 if test "x$PLATFORM_WIN32" = "x0" ; then
35019 COND_PLATFORM_WIN32_0
=""
35022 COND_PLATFORM_WIN32_1
="#"
35023 if test "x$PLATFORM_WIN32" = "x1" ; then
35024 COND_PLATFORM_WIN32_1
=""
35028 if test "x$SHARED" = "x0" ; then
35032 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35033 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35034 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35037 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35038 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35039 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35042 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35043 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35047 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35048 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35049 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35052 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35053 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35054 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35057 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35058 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35059 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35062 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35063 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35064 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35067 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35068 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35069 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35073 if test "x$SHARED" = "x1" ; then
35077 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35078 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35079 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35082 COND_TOOLKIT_COCOA
="#"
35083 if test "x$TOOLKIT" = "xCOCOA" ; then
35084 COND_TOOLKIT_COCOA
=""
35087 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35088 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35089 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35092 COND_TOOLKIT_GTK
="#"
35093 if test "x$TOOLKIT" = "xGTK" ; then
35094 COND_TOOLKIT_GTK
=""
35097 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35098 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35099 COND_TOOLKIT_GTK_USE_GUI_1
=""
35102 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35103 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35104 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35107 COND_TOOLKIT_MAC
="#"
35108 if test "x$TOOLKIT" = "xMAC" ; then
35109 COND_TOOLKIT_MAC
=""
35112 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35113 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35114 COND_TOOLKIT_MAC_USE_GUI_1
=""
35117 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35118 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35119 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35122 COND_TOOLKIT_MGL
="#"
35123 if test "x$TOOLKIT" = "xMGL" ; then
35124 COND_TOOLKIT_MGL
=""
35127 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35128 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35129 COND_TOOLKIT_MGL_USE_GUI_1
=""
35132 COND_TOOLKIT_MOTIF
="#"
35133 if test "x$TOOLKIT" = "xMOTIF" ; then
35134 COND_TOOLKIT_MOTIF
=""
35137 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35138 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35139 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35142 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35143 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35144 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35147 COND_TOOLKIT_MSW
="#"
35148 if test "x$TOOLKIT" = "xMSW" ; then
35149 COND_TOOLKIT_MSW
=""
35152 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35153 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35154 COND_TOOLKIT_MSW_USE_GUI_1
=""
35157 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35158 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35159 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35162 COND_TOOLKIT_PM
="#"
35163 if test "x$TOOLKIT" = "xPM" ; then
35167 COND_TOOLKIT_PM_USE_GUI_1
="#"
35168 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35169 COND_TOOLKIT_PM_USE_GUI_1
=""
35172 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35173 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35174 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35177 COND_TOOLKIT_X11
="#"
35178 if test "x$TOOLKIT" = "xX11" ; then
35179 COND_TOOLKIT_X11
=""
35182 COND_TOOLKIT_X11_USE_GUI_1
="#"
35183 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35184 COND_TOOLKIT_X11_USE_GUI_1
=""
35188 if test "x$UNICODE" = "x1" ; then
35193 if test "x$USE_GUI" = "x0" ; then
35198 if test "x$USE_GUI" = "x1" ; then
35202 COND_USE_GUI_1_WXUNIV_0
="#"
35203 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35204 COND_USE_GUI_1_WXUNIV_0
=""
35207 COND_USE_GUI_1_WXUNIV_1
="#"
35208 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35209 COND_USE_GUI_1_WXUNIV_1
=""
35212 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35213 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35214 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35217 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35218 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35219 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35222 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35223 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35224 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35227 COND_USE_SOSYMLINKS_1
="#"
35228 if test "x$USE_SOSYMLINKS" = "x1" ; then
35229 COND_USE_SOSYMLINKS_1
=""
35232 COND_USE_SOVERLINUX_1
="#"
35233 if test "x$USE_SOVERLINUX" = "x1" ; then
35234 COND_USE_SOVERLINUX_1
=""
35237 COND_USE_SOVERSION_0
="#"
35238 if test "x$USE_SOVERSION" = "x0" ; then
35239 COND_USE_SOVERSION_0
=""
35242 COND_USE_SOVERSOLARIS_1
="#"
35243 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35244 COND_USE_SOVERSOLARIS_1
=""
35248 if test "x$WXUNIV" = "x1" ; then
35252 COND_WXUSE_EXPAT_BUILTIN
="#"
35253 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35254 COND_WXUSE_EXPAT_BUILTIN
=""
35257 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35258 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35259 COND_WXUSE_LIBJPEG_BUILTIN
=""
35262 COND_WXUSE_LIBPNG_BUILTIN
="#"
35263 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35264 COND_WXUSE_LIBPNG_BUILTIN
=""
35267 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35268 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35269 COND_WXUSE_LIBTIFF_BUILTIN
=""
35272 COND_WXUSE_ODBC_BUILTIN
="#"
35273 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35274 COND_WXUSE_ODBC_BUILTIN
=""
35277 COND_WXUSE_REGEX_BUILTIN
="#"
35278 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35279 COND_WXUSE_REGEX_BUILTIN
=""
35282 COND_WXUSE_ZLIB_BUILTIN
="#"
35283 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35284 COND_WXUSE_ZLIB_BUILTIN
=""
35291 if test $GCC_PCH = 1 ; then
35292 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35295 powerpc
-*-darwin* )
35296 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35301 powerpc
-*-darwin* )
35302 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35307 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35408 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35409 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35410 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35411 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35412 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 cat >conftest.
make <<\_ACEOF
35416 @
echo 'ac_maketemp="$(MAKE)"'
35418 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35419 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35420 if test -n "$ac_maketemp"; then
35421 eval ac_cv_prog_make_
${ac_make}_set
=yes
35423 eval ac_cv_prog_make_
${ac_make}_set
=no
35425 rm -f conftest.
make
35427 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35428 echo "$as_me:$LINENO: result: yes" >&5
35429 echo "${ECHO_T}yes" >&6
35432 echo "$as_me:$LINENO: result: no" >&5
35433 echo "${ECHO_T}no" >&6
35434 SET_MAKE
="MAKE=${MAKE-make}"
35438 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35439 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35442 ac_config_headers
="$ac_config_headers setup.h"
35445 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35448 ac_config_commands
="$ac_config_commands default"
35452 if test "$wxUSE_GUI" = "yes"; then
35453 SUBDIRS
="samples demos utils contrib"
35454 else SUBDIRS
="samples utils"
35457 for subdir
in `echo $SUBDIRS`; do
35458 if test -d ${srcdir}/${subdir} ; then
35459 if test "$wxUSE_GUI" = "yes"; then
35460 if test ${subdir} = "samples"; then
35461 makefiles
="samples/Makefile.in $makefiles"
35462 for sample
in `echo $SAMPLES_SUBDIRS`; do
35463 if test -d $srcdir/samples
/$sample; then
35464 makefiles
="samples/$sample/Makefile.in $makefiles"
35467 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35469 else if test ${subdir} = "samples"; then
35470 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35471 else makefiles
="utils/HelpGen/Makefile.in \
35472 utils/HelpGen/src/Makefile.in \
35473 utils/makegen/Makefile.in"
35477 for mkin
in $makefiles ; do
35478 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35479 ac_config_files
="$ac_config_files $mk"
35486 cat >confcache
<<\_ACEOF
35487 # This file is a shell script that caches the results of configure
35488 # tests run on this system so they can be shared between configure
35489 # scripts and configure runs, see configure's option --config-cache.
35490 # It is not useful on other systems. If it contains results you don't
35491 # want to keep, you may remove or edit it.
35493 # config.status only pays attention to the cache file if you give it
35494 # the --recheck option to rerun configure.
35496 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35497 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35498 # following values.
35502 # The following way of writing the cache mishandles newlines in values,
35503 # but we know of no workaround that is simple, portable, and efficient.
35504 # So, don't put newlines in cache variables' values.
35505 # Ultrix sh set writes to stderr and can't be redirected directly,
35506 # and sets the high bit in the cache file unless we assign to the vars.
35509 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35511 # `set' does not quote correctly, so add quotes (double-quote
35512 # substitution turns \\\\ into \\, and sed turns \\ into \).
35515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35518 # `set' quotes correctly as required by POSIX, so do not add quotes.
35520 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35527 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35529 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35531 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35532 if test -w $cache_file; then
35533 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35534 cat confcache
>$cache_file
35536 echo "not updating unwritable cache $cache_file"
35541 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35542 # Let make expand exec_prefix.
35543 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35547 # trailing colons and then remove the whole line if VPATH becomes empty
35548 # (actually we leave an empty line to preserve line numbers).
35549 if test "x$srcdir" = x.
; then
35550 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35551 s/:*\$(srcdir):*/:/;
35552 s/:*\${srcdir}:*/:/;
35554 s/^\([^=]*=[ ]*\):*/\1/;
35560 DEFS
=-DHAVE_CONFIG_H
35564 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35565 # 1. Remove the extension, and $U if already installed.
35566 ac_i
=`echo "$ac_i" |
35567 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35569 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35570 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35572 LIBOBJS
=$ac_libobjs
35574 LTLIBOBJS
=$ac_ltlibobjs
35578 : ${CONFIG_STATUS=./config.status}
35579 ac_clean_files_save
=$ac_clean_files
35580 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35581 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35582 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35583 cat >$CONFIG_STATUS <<_ACEOF
35585 # Generated by $as_me.
35586 # Run this file to recreate the current configuration.
35587 # Compiler output produced by configure, useful for debugging
35588 # configure, is in config.log if it exists.
35591 ac_cs_recheck=false
35593 SHELL=\${CONFIG_SHELL-$SHELL}
35596 cat >>$CONFIG_STATUS <<\_ACEOF
35597 ## --------------------- ##
35598 ## M4sh Initialization. ##
35599 ## --------------------- ##
35601 # Be Bourne compatible
35602 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35605 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35606 # is contrary to our usage. Disable this feature.
35607 alias -g '${1+"$@"}'='"$@"'
35608 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35612 # Support unset when possible.
35613 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35620 # Work around bugs in pre-3.0 UWIN ksh.
35621 $as_unset ENV MAIL MAILPATH
35628 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35629 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35630 LC_TELEPHONE LC_TIME
35632 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35633 eval $as_var=C
; export $as_var
35639 # Required to use basename.
35640 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35646 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35647 as_basename
=basename
35653 # Name of the executable.
35654 as_me
=`$as_basename "$0" ||
35655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35656 X"$0" : 'X\(//\)$' \| \
35657 X"$0" : 'X\(/\)$' \| \
35658 . : '\(.\)' 2>/dev/null ||
35660 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35661 /^X\/\(\/\/\)$/{ s//\1/; q; }
35662 /^X\/\(\/\).*/{ s//\1/; q; }
35666 # PATH needs CR, and LINENO needs CR and PATH.
35667 # Avoid depending upon Character Ranges.
35668 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35669 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35670 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35671 as_cr_digits
='0123456789'
35672 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35674 # The user is always right.
35675 if test "${PATH_SEPARATOR+set}" != set; then
35676 echo "#! /bin/sh" >conf$$.sh
35677 echo "exit 0" >>conf$$.sh
35679 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35688 as_lineno_1
=$LINENO
35689 as_lineno_2
=$LINENO
35690 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35691 test "x$as_lineno_1" != "x$as_lineno_2" &&
35692 test "x$as_lineno_3" = "x$as_lineno_2" || {
35693 # Find who we are. Look in the path if we contain no path at all
35696 *[\\/]* ) as_myself
=$0 ;;
35697 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35698 for as_dir
in $PATH
35701 test -z "$as_dir" && as_dir
=.
35702 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35707 # We did not find ourselves, most probably we were run as `sh COMMAND'
35708 # in which case we are not to be found in the path.
35709 if test "x$as_myself" = x
; then
35712 if test ! -f "$as_myself"; then
35713 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35714 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35715 { (exit 1); exit 1; }; }
35717 case $CONFIG_SHELL in
35719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35720 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35723 test -z "$as_dir" && as_dir
=.
35724 for as_base
in sh bash ksh sh5
; do
35727 if ("$as_dir/$as_base" -c '
35728 as_lineno_1=$LINENO
35729 as_lineno_2=$LINENO
35730 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35731 test "x$as_lineno_1" != "x$as_lineno_2" &&
35732 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35733 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35734 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35735 CONFIG_SHELL
=$as_dir/$as_base
35736 export CONFIG_SHELL
35737 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35745 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35746 # uniformly replaced by the line number. The first 'sed' inserts a
35747 # line-number line before each line; the second 'sed' does the real
35748 # work. The second script uses 'N' to pair each line-number line
35749 # with the numbered line, and appends trailing '-' during
35750 # substitution so that $LINENO is not a special case at line end.
35751 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35752 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35753 sed '=' <$as_myself |
35758 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35761 s,^['$as_cr_digits']*\n,,
35762 ' >$as_me.lineno
&&
35763 chmod +x
$as_me.lineno
||
35764 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35765 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35766 { (exit 1); exit 1; }; }
35768 # Don't try to exec as it changes $[0], causing all sort of problems
35769 # (the dirname of $[0] is not the place where we might find the
35770 # original and so on. Autoconf is especially sensible to this).
35772 # Exit status is that of the last command.
35777 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35778 *c
*,-n*) ECHO_N
= ECHO_C
='
35780 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35781 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35784 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35790 rm -f conf$$ conf$$.exe conf$$.
file
35792 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35793 # We could just check for DJGPP; but this test a) works b) is more generic
35794 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35795 if test -f conf$$.exe
; then
35796 # Don't use ln at all; we don't have any links
35801 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35806 rm -f conf$$ conf$$.exe conf$$.
file
35808 if mkdir -p .
2>/dev
/null
; then
35814 as_executable_p
="test -f"
35816 # Sed expression to map a string onto a valid CPP name.
35817 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35819 # Sed expression to map a string onto a valid variable name.
35820 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35824 # We need space, tab and new line, in precisely that order.
35834 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35835 # report actual input values of CONFIG_FILES etc. instead of their
35836 # values after options handling. Logging --version etc. is OK.
35840 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35841 ## Running $as_me. ##
35846 This file was extended by wxWindows $as_me 2.5.0, which was
35847 generated by GNU Autoconf 2.57. Invocation command line was
35849 CONFIG_FILES = $CONFIG_FILES
35850 CONFIG_HEADERS = $CONFIG_HEADERS
35851 CONFIG_LINKS = $CONFIG_LINKS
35852 CONFIG_COMMANDS = $CONFIG_COMMANDS
35856 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35860 # Files that config.status was made for.
35861 if test -n "$ac_config_files"; then
35862 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35865 if test -n "$ac_config_headers"; then
35866 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35869 if test -n "$ac_config_links"; then
35870 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35873 if test -n "$ac_config_commands"; then
35874 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35877 cat >>$CONFIG_STATUS <<\_ACEOF
35880 \`$as_me' instantiates files from templates according to the
35881 current configuration.
35883 Usage: $0 [OPTIONS] [FILE]...
35885 -h, --help print this help, then exit
35886 -V, --version print version number, then exit
35887 -q, --quiet do not print progress messages
35888 -d, --debug don't remove temporary files
35889 --recheck update $as_me by reconfiguring in the same conditions
35890 --file=FILE[:TEMPLATE]
35891 instantiate the configuration file FILE
35892 --header=FILE[:TEMPLATE]
35893 instantiate the configuration header FILE
35895 Configuration files:
35898 Configuration headers:
35901 Configuration commands:
35904 Report bugs to <bug-autoconf@gnu.org>."
35907 cat >>$CONFIG_STATUS <<_ACEOF
35909 wxWindows config.status 2.5.0
35910 configured by $0, generated by GNU Autoconf 2.57,
35911 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35913 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35914 Free Software Foundation, Inc.
35915 This config.status script is free software; the Free Software Foundation
35916 gives unlimited permission to copy, distribute and modify it."
35921 cat >>$CONFIG_STATUS <<\_ACEOF
35922 # If no file are specified by the user, then we need to provide default
35923 # value. By we need to know if files were specified by the user.
35929 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35930 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35938 *) # This is not an option, so the user has probably given explicit
35941 ac_need_defaults
=false
;;
35945 # Handling of the options.
35947 cat >>$CONFIG_STATUS <<\_ACEOF
35948 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35950 --version | --vers* | -V )
35951 echo "$ac_cs_version"; exit 0 ;;
35953 # Conflict between --help and --header
35954 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35955 Try \`$0 --help' for more information." >&5
35956 echo "$as_me: error: ambiguous option: $1
35957 Try \`$0 --help' for more information." >&2;}
35958 { (exit 1); exit 1; }; };;
35959 --help | --hel | -h )
35960 echo "$ac_cs_usage"; exit 0 ;;
35961 --debug | --d* | -d )
35963 --file | --fil | --fi | --f )
35965 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35966 ac_need_defaults
=false
;;
35967 --header | --heade | --head | --hea )
35969 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35970 ac_need_defaults
=false
;;
35971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35972 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35975 # This is an error.
35976 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35977 Try \`$0 --help' for more information." >&5
35978 echo "$as_me: error: unrecognized option: $1
35979 Try \`$0 --help' for more information." >&2;}
35980 { (exit 1); exit 1; }; } ;;
35982 *) ac_config_targets
="$ac_config_targets $1" ;;
35988 ac_configure_extra_args
=
35990 if $ac_cs_silent; then
35992 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35996 cat >>$CONFIG_STATUS <<_ACEOF
35997 if \$ac_cs_recheck; then
35998 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35999 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36004 cat >>$CONFIG_STATUS <<_ACEOF
36006 # INIT-COMMANDS section.
36010 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36019 cat >>$CONFIG_STATUS <<\_ACEOF
36020 for ac_config_target
in $ac_config_targets
36022 case "$ac_config_target" in
36023 # Handling of arguments.
36024 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36025 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36026 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36027 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36028 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36029 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36030 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36031 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36032 { (exit 1); exit 1; }; };;
36036 # If the user did not use the arguments to specify the items to instantiate,
36037 # then the envvar interface is used. Set only those that are not.
36038 # We use the long form for the default assignment because of an extremely
36039 # bizarre bug on SunOS 4.1.3.
36040 if $ac_need_defaults; then
36041 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36042 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36043 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36046 # Have a temporary directory for convenience. Make it in the build tree
36047 # simply because there is no reason to put it here, and in addition,
36048 # creating and moving files from /tmp can sometimes cause problems.
36049 # Create a temporary directory, and hook for its removal unless debugging.
36052 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36053 trap '{ (exit 1); exit 1; }' 1 2 13 15
36056 # Create a (secure) tmp directory for tmp files.
36059 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36060 test -n "$tmp" && test -d "$tmp"
36063 tmp
=.
/confstat$$
-$RANDOM
36064 (umask 077 && mkdir $tmp)
36067 echo "$me: cannot create a temporary directory in ." >&2
36068 { (exit 1); exit 1; }
36073 cat >>$CONFIG_STATUS <<_ACEOF
36076 # CONFIG_FILES section.
36079 # No need to generate the scripts if there are no CONFIG_FILES.
36080 # This happens for instance when ./config.status config.h
36081 if test -n "\$CONFIG_FILES"; then
36082 # Protect against being on the right side of a sed subst in config.status.
36083 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36084 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36085 s,@SHELL@,$SHELL,;t t
36086 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36087 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36088 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36089 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36090 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36091 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36092 s,@exec_prefix@,$exec_prefix,;t t
36093 s,@prefix@,$prefix,;t t
36094 s,@program_transform_name@,$program_transform_name,;t t
36095 s,@bindir@,$bindir,;t t
36096 s,@sbindir@,$sbindir,;t t
36097 s,@libexecdir@,$libexecdir,;t t
36098 s,@datadir@,$datadir,;t t
36099 s,@sysconfdir@,$sysconfdir,;t t
36100 s,@sharedstatedir@,$sharedstatedir,;t t
36101 s,@localstatedir@,$localstatedir,;t t
36102 s,@libdir@,$libdir,;t t
36103 s,@includedir@,$includedir,;t t
36104 s,@oldincludedir@,$oldincludedir,;t t
36105 s,@infodir@,$infodir,;t t
36106 s,@mandir@,$mandir,;t t
36107 s,@build_alias@,$build_alias,;t t
36108 s,@host_alias@,$host_alias,;t t
36109 s,@target_alias@,$target_alias,;t t
36110 s,@DEFS@,$DEFS,;t t
36111 s,@ECHO_C@,$ECHO_C,;t t
36112 s,@ECHO_N@,$ECHO_N,;t t
36113 s,@ECHO_T@,$ECHO_T,;t t
36114 s,@LIBS@,$LIBS,;t t
36115 s,@build@,$build,;t t
36116 s,@build_cpu@,$build_cpu,;t t
36117 s,@build_vendor@,$build_vendor,;t t
36118 s,@build_os@,$build_os,;t t
36119 s,@host@,$host,;t t
36120 s,@host_cpu@,$host_cpu,;t t
36121 s,@host_vendor@,$host_vendor,;t t
36122 s,@host_os@,$host_os,;t t
36123 s,@target@,$target,;t t
36124 s,@target_cpu@,$target_cpu,;t t
36125 s,@target_vendor@,$target_vendor,;t t
36126 s,@target_os@,$target_os,;t t
36128 s,@CFLAGS@,$CFLAGS,;t t
36129 s,@LDFLAGS@,$LDFLAGS,;t t
36130 s,@CPPFLAGS@,$CPPFLAGS,;t t
36131 s,@ac_ct_CC@,$ac_ct_CC,;t t
36132 s,@EXEEXT@,$EXEEXT,;t t
36133 s,@OBJEXT@,$OBJEXT,;t t
36135 s,@EGREP@,$EGREP,;t t
36137 s,@CXXFLAGS@,$CXXFLAGS,;t t
36138 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36139 s,@RANLIB@,$RANLIB,;t t
36140 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36142 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36143 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36144 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36145 s,@STRIP@,$STRIP,;t t
36146 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36147 s,@LN_S@,$LN_S,;t t
36148 s,@CXXCPP@,$CXXCPP,;t t
36149 s,@subdirs@,$subdirs,;t t
36150 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36151 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36152 s,@GTK_LIBS@,$GTK_LIBS,;t t
36153 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36154 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36155 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36156 s,@X_CFLAGS@,$X_CFLAGS,;t t
36157 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36158 s,@X_LIBS@,$X_LIBS,;t t
36159 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36160 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36161 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36162 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36163 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36164 s,@RESCOMP@,$RESCOMP,;t t
36165 s,@DEREZ@,$DEREZ,;t t
36166 s,@SETFILE@,$SETFILE,;t t
36167 s,@LIBICONV@,$LIBICONV,;t t
36168 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36169 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36170 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36171 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36172 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36173 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36174 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36175 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36176 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36177 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36178 s,@VENDOR@,$VENDOR,;t t
36179 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36180 s,@WXUNIV@,$WXUNIV,;t t
36181 s,@MONOLITHIC@,$MONOLITHIC,;t t
36182 s,@EXTRALIBS@,$EXTRALIBS,;t t
36183 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36184 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36185 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36186 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36187 s,@UNICODE@,$UNICODE,;t t
36188 s,@BUILD@,$BUILD,;t t
36189 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36190 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36191 s,@SHARED@,$SHARED,;t t
36192 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36193 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36194 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36195 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36196 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36197 s,@SET_MAKE@,$SET_MAKE,;t t
36198 s,@MAKE_SET@,$MAKE_SET,;t t
36199 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36200 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36201 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36202 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36203 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36204 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36205 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36206 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36207 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36208 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36209 s,@LIBPREFIX@,$LIBPREFIX,;t t
36210 s,@DLLPREFIX@,$DLLPREFIX,;t t
36211 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36212 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36213 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36214 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36215 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36216 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36217 s,@PIC_FLAG@,$PIC_FLAG,;t t
36218 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36219 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36220 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36221 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36222 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36223 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36224 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36225 s,@GCC_PCH@,$GCC_PCH,;t t
36226 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36227 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36228 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36229 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36230 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36231 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36232 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36233 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36234 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36235 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36236 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36237 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36238 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36239 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36240 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36241 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36242 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36243 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36244 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36245 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36246 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36247 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36248 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36249 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36250 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36251 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36252 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36253 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36254 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36255 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36256 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36257 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36258 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36259 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36260 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36261 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36262 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36263 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36264 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36265 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36266 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36267 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36268 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36269 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36270 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36271 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36272 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36273 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36274 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36275 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36276 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36277 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36278 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36279 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36280 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36281 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36282 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36283 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36284 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36285 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36286 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36287 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36288 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36289 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36290 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36291 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36292 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36293 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36294 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36295 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36296 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36297 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36298 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36299 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36300 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36301 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36302 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36303 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36304 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36305 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36306 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36307 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36308 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36309 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36310 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36311 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36312 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36313 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36314 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36315 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36316 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36317 s,@PATH_IFS@,$PATH_IFS,;t t
36318 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36319 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36320 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36321 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36322 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36323 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36324 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36325 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36326 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36327 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36328 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36329 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36330 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36331 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36332 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36333 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36334 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36335 s,@WX_ALL@,$WX_ALL,;t t
36336 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36337 s,@SHARED_LD@,$SHARED_LD,;t t
36338 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36339 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36340 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36341 s,@USE_GUI@,$USE_GUI,;t t
36342 s,@AFMINSTALL@,$AFMINSTALL,;t t
36343 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36344 s,@TOOLKIT@,$TOOLKIT,;t t
36345 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36346 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36347 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36348 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36349 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36350 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36351 s,@cross_compiling@,$cross_compiling,;t t
36352 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36353 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36354 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36355 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36356 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36357 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36358 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36359 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36360 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36361 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36362 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36363 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36364 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36365 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36366 s,@GUIDIST@,$GUIDIST,;t t
36367 s,@PORT_FILES@,$PORT_FILES,;t t
36368 s,@DISTDIR@,$DISTDIR,;t t
36369 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36370 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36371 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36372 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36373 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36374 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36375 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36376 s,@RESFLAGS@,$RESFLAGS,;t t
36377 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36378 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36379 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36380 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36381 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36382 s,@MACRESCOMP@,$MACRESCOMP,;t t
36383 s,@MACSETFILE@,$MACSETFILE,;t t
36384 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36386 s,@DLLTOOL@,$DLLTOOL,;t t
36390 s,@MAKEINFO@,$MAKEINFO,;t t
36391 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36392 s,@LIBOBJS@,$LIBOBJS,;t t
36393 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36398 cat >>$CONFIG_STATUS <<\_ACEOF
36399 # Split the substitutions into bite-sized pieces for seds with
36400 # small command number limits, like on Digital OSF/1 and HP-UX.
36401 ac_max_sed_lines
=48
36402 ac_sed_frag
=1 # Number of current file.
36403 ac_beg
=1 # First line for current file.
36404 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36407 while $ac_more_lines; do
36408 if test $ac_beg -gt 1; then
36409 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36411 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36413 if test ! -s $tmp/subs.frag
; then
36414 ac_more_lines
=false
36416 # The purpose of the label and of the branching condition is to
36417 # speed up the sed processing (if there are no `@' at all, there
36418 # is no need to browse any of the substitutions).
36419 # These are the two extra sed commands mentioned above.
36421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36422 if test -z "$ac_sed_cmds"; then
36423 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36425 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36427 ac_sed_frag
=`expr $ac_sed_frag + 1`
36429 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36432 if test -z "$ac_sed_cmds"; then
36435 fi # test -n "$CONFIG_FILES"
36438 cat >>$CONFIG_STATUS <<\_ACEOF
36439 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36442 - | *:- | *:-:* ) # input from stdin
36444 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36445 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36446 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36447 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36448 * ) ac_file_in
=$ac_file.
in ;;
36451 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36452 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36454 X"$ac_file" : 'X\(//\)[^/]' \| \
36455 X"$ac_file" : 'X\(//\)$' \| \
36456 X"$ac_file" : 'X\(/\)' \| \
36457 . : '\(.\)' 2>/dev/null ||
36459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36461 /^X\(\/\/\)$/{ s//\1/; q; }
36462 /^X\(\/\).*/{ s//\1/; q; }
36464 { if $as_mkdir_p; then
36469 while test ! -d "$as_dir"; do
36470 as_dirs
="$as_dir $as_dirs"
36471 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36473 X"$as_dir" : 'X\(//\)[^/]' \| \
36474 X"$as_dir" : 'X\(//\)$' \| \
36475 X"$as_dir" : 'X\(/\)' \| \
36476 . : '\(.\)' 2>/dev/null ||
36478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36480 /^X\(\/\/\)$/{ s//\1/; q; }
36481 /^X\(\/\).*/{ s//\1/; q; }
36484 test ! -n "$as_dirs" || mkdir $as_dirs
36485 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36486 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36487 { (exit 1); exit 1; }; }; }
36491 if test "$ac_dir" != .
; then
36492 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36493 # A "../" for each directory in $ac_dir_suffix.
36494 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36496 ac_dir_suffix
= ac_top_builddir
=
36500 .
) # No --srcdir option. We are building in place.
36502 if test -z "$ac_top_builddir"; then
36505 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36507 [\\/]* | ?
:[\\/]* ) # Absolute path.
36508 ac_srcdir
=$srcdir$ac_dir_suffix;
36509 ac_top_srcdir
=$srcdir ;;
36510 *) # Relative path.
36511 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36512 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36514 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36516 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36517 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36518 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36519 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36523 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36524 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36527 if test x
"$ac_file" != x
-; then
36528 { echo "$as_me:$LINENO: creating $ac_file" >&5
36529 echo "$as_me: creating $ac_file" >&6;}
36532 # Let's still pretend it is `configure' which instantiates (i.e., don't
36533 # use $as_me), people would be surprised to read:
36534 # /* config.h. Generated by config.status. */
36535 if test x
"$ac_file" = x
-; then
36538 configure_input
="$ac_file. "
36540 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36541 sed 's,.*/,,'` by configure."
36543 # First look for the input files in the build tree, otherwise in the
36545 ac_file_inputs
=`IFS=:
36546 for f in $ac_file_in; do
36548 -) echo $tmp/stdin ;;
36550 # Absolute (can't be DOS-style, as IFS=:)
36551 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36552 echo "$as_me: error: cannot find input file: $f" >&2;}
36553 { (exit 1); exit 1; }; }
36556 if test -f "$f"; then
36559 elif test -f "$srcdir/$f"; then
36564 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36565 echo "$as_me: error: cannot find input file: $f" >&2;}
36566 { (exit 1); exit 1; }; }
36569 done` || { (exit 1); exit 1; }
36571 cat >>$CONFIG_STATUS <<_ACEOF
36575 cat >>$CONFIG_STATUS <<\_ACEOF
36577 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36578 s
,@configure_input@
,$configure_input,;t t
36579 s
,@srcdir@
,$ac_srcdir,;t t
36580 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36581 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36582 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36583 s
,@builddir@
,$ac_builddir,;t t
36584 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36585 s
,@top_builddir@
,$ac_top_builddir,;t t
36586 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36587 s
,@INSTALL@
,$ac_INSTALL,;t t
36588 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36590 if test x"$ac_file" != x-; then
36591 mv $tmp/out $ac_file
36599 cat >>$CONFIG_STATUS <<\_ACEOF
36602 # CONFIG_HEADER section.
36605 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36606 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36608 # ac_d sets the value in "#define NAME VALUE" lines.
36609 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36610 ac_dB
='[ ].*$,\1#\2'
36613 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36614 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36615 ac_uB
='$,\1#\2define\3'
36619 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36620 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36622 - | *:- | *:-:* ) # input from stdin
36624 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36625 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36626 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36627 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36628 * ) ac_file_in
=$ac_file.
in ;;
36631 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36632 echo "$as_me: creating $ac_file" >&6;}
36634 # First look for the input files in the build tree, otherwise in the
36636 ac_file_inputs
=`IFS=:
36637 for f in $ac_file_in; do
36639 -) echo $tmp/stdin ;;
36641 # Absolute (can't be DOS-style, as IFS=:)
36642 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36643 echo "$as_me: error: cannot find input file: $f" >&2;}
36644 { (exit 1); exit 1; }; }
36647 if test -f "$f"; then
36650 elif test -f "$srcdir/$f"; then
36655 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36656 echo "$as_me: error: cannot find input file: $f" >&2;}
36657 { (exit 1); exit 1; }; }
36660 done` || { (exit 1); exit 1; }
36661 # Remove the trailing spaces.
36662 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36666 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36667 # `conftest.undefs', that substitutes the proper values into
36668 # config.h.in to produce config.h. The first handles `#define'
36669 # templates, and the second `#undef' templates.
36670 # And first: Protect against being on the right side of a sed subst in
36671 # config.status. Protect against being in an unquoted here document
36672 # in config.status.
36673 rm -f conftest.defines conftest.undefs
36674 # Using a here document instead of a string reduces the quoting nightmare.
36675 # Putting comments in sed scripts is not portable.
36677 # `end' is used to avoid that the second main sed command (meant for
36678 # 0-ary CPP macros) applies to n-ary macro definitions.
36679 # See the Autoconf documentation for `clear'.
36680 cat >confdef2sed.
sed <<\_ACEOF
36685 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36687 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36690 # If some macros were called several times there might be several times
36691 # the same #defines, which is useless. Nevertheless, we may not want to
36692 # sort them, since we want the *last* AC-DEFINE to be honored.
36693 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36694 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36695 rm -f confdef2sed.sed
36697 # This sed command replaces #undef with comments. This is necessary, for
36698 # example, in the case of _POSIX_SOURCE, which is predefined and required
36699 # on some systems where configure will not decide to define it.
36700 cat >>conftest.undefs <<\_ACEOF
36701 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36704 # Break up conftest.defines because some shells have a limit on the size
36705 # of here documents, and old seds have small limits too (100 cmds).
36706 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36707 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36708 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36709 echo ' :' >>$CONFIG_STATUS
36710 rm -f conftest.tail
36711 while grep . conftest.defines >/dev/null
36713 # Write a limited-size here document to $tmp/defines.sed.
36714 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36715 # Speed up: don't consider the non `#define' lines.
36716 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36717 # Work around the forget-to-reset-the-flag bug.
36718 echo 't clr' >>$CONFIG_STATUS
36719 echo ': clr' >>$CONFIG_STATUS
36720 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36722 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36724 mv $tmp/out $tmp/in
36726 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36727 rm -f conftest.defines
36728 mv conftest.
tail conftest.defines
36730 rm -f conftest.defines
36731 echo ' fi # grep' >>$CONFIG_STATUS
36732 echo >>$CONFIG_STATUS
36734 # Break up conftest.undefs because some shells have a limit on the size
36735 # of here documents, and old seds have small limits too (100 cmds).
36736 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36737 rm -f conftest.
tail
36738 while grep . conftest.undefs
>/dev
/null
36740 # Write a limited-size here document to $tmp/undefs.sed.
36741 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36742 # Speed up: don't consider the non
`#undef'
36743 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36744 # Work around the forget-to-reset-the-flag bug.
36745 echo 't clr' >>$CONFIG_STATUS
36746 echo ': clr' >>$CONFIG_STATUS
36747 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36749 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36751 mv $tmp/out $tmp/in
36753 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36754 rm -f conftest.undefs
36755 mv conftest.tail conftest.undefs
36757 rm -f conftest.undefs
36759 cat >>$CONFIG_STATUS <<\_ACEOF
36760 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36761 # use $as_me), people would be surprised to read:
36762 # /* config.h. Generated by config.status. */
36763 if test x
"$ac_file" = x
-; then
36764 echo "/* Generated by configure. */" >$tmp/config.h
36766 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36768 cat $tmp/in >>$tmp/config.h
36770 if test x
"$ac_file" != x
-; then
36771 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36772 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36773 echo "$as_me: $ac_file is unchanged" >&6;}
36775 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36777 X"$ac_file" : 'X\(//\)[^/]' \| \
36778 X"$ac_file" : 'X\(//\)$' \| \
36779 X"$ac_file" : 'X\(/\)' \| \
36780 . : '\(.\)' 2>/dev/null ||
36782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36784 /^X\(\/\/\)$/{ s//\1/; q; }
36785 /^X\(\/\).*/{ s//\1/; q; }
36787 { if $as_mkdir_p; then
36792 while test ! -d "$as_dir"; do
36793 as_dirs
="$as_dir $as_dirs"
36794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36796 X"$as_dir" : 'X\(//\)[^/]' \| \
36797 X"$as_dir" : 'X\(//\)$' \| \
36798 X"$as_dir" : 'X\(/\)' \| \
36799 . : '\(.\)' 2>/dev/null ||
36801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36803 /^X\(\/\/\)$/{ s//\1/; q; }
36804 /^X\(\/\).*/{ s//\1/; q; }
36807 test ! -n "$as_dirs" || mkdir $as_dirs
36808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36810 { (exit 1); exit 1; }; }; }
36813 mv $tmp/config.h
$ac_file
36817 rm -f $tmp/config.h
36821 cat >>$CONFIG_STATUS <<\_ACEOF
36824 # CONFIG_COMMANDS section.
36826 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36827 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36828 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36829 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36830 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36831 X"$ac_dest" : 'X\(//\)[^/]' \| \
36832 X"$ac_dest" : 'X\(//\)$' \| \
36833 X"$ac_dest" : 'X\(/\)' \| \
36834 . : '\(.\)' 2>/dev/null ||
36836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36838 /^X\(\/\/\)$/{ s//\1/; q; }
36839 /^X\(\/\).*/{ s//\1/; q; }
36843 if test "$ac_dir" != .
; then
36844 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36845 # A "../" for each directory in $ac_dir_suffix.
36846 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36848 ac_dir_suffix
= ac_top_builddir
=
36852 .
) # No --srcdir option. We are building in place.
36854 if test -z "$ac_top_builddir"; then
36857 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36859 [\\/]* | ?
:[\\/]* ) # Absolute path.
36860 ac_srcdir
=$srcdir$ac_dir_suffix;
36861 ac_top_srcdir
=$srcdir ;;
36862 *) # Relative path.
36863 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36864 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36866 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36868 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36869 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36870 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36871 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36874 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36875 echo "$as_me: executing $ac_dest commands" >&6;}
36878 if test ! -h wx
-config; then
36880 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36881 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36884 if test ! -d lib
; then
36887 if test ! -d lib
/wx
; then
36890 if test ! -d lib
/wx
/include
; then
36891 mkdir lib
/wx
/include
36893 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36894 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36896 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36897 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36899 if test -f setup.h
; then
36900 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36907 cat >>$CONFIG_STATUS <<\_ACEOF
36909 { (exit 0); exit 0; }
36911 chmod +x
$CONFIG_STATUS
36912 ac_clean_files
=$ac_clean_files_save
36915 # configure is writing to config.log, and then calls config.status.
36916 # config.status does its own redirection, appending to config.log.
36917 # Unfortunately, on DOS this fails, as config.log is still kept open
36918 # by configure, so config.status won't be able to write to it; its
36919 # output is simply discarded. So we exec the FD to /dev/null,
36920 # effectively closing config.log, so it can be properly (re)opened and
36921 # appended to by config.status. When coming back to configure, we
36922 # need to make the FD available again.
36923 if test "$no_create" != yes; then
36925 ac_config_status_args
=
36926 test "$silent" = yes &&
36927 ac_config_status_args
="$ac_config_status_args --quiet"
36929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36932 # would make configure fail if this is the last instruction.
36933 $ac_cs_success || { (exit 1); exit 1; }
36937 # CONFIG_SUBDIRS section.
36939 if test "$no_recursion" != yes; then
36941 # Remove --cache-file and --srcdir arguments so they do not pile up.
36942 ac_sub_configure_args
=
36944 for ac_arg
in $ac_configure_args; do
36945 if test -n "$ac_prev"; then
36950 -cache-file | --cache-file | --cache-fil | --cache-fi \
36951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36952 ac_prev
=cache_file
;;
36953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36957 --config-cache | -C)
36959 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36961 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36967 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36971 # Always prepend --prefix to ensure using the same prefix
36972 # in subdir configurations.
36973 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36976 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36978 # Do not complain, so a configure script can configure whichever
36979 # parts of a large source tree are present.
36980 test -d $srcdir/$ac_dir || continue
36982 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36983 echo "$as_me: configuring in $ac_dir" >&6;}
36984 { if $as_mkdir_p; then
36989 while test ! -d "$as_dir"; do
36990 as_dirs
="$as_dir $as_dirs"
36991 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36993 X"$as_dir" : 'X\(//\)[^/]' \| \
36994 X"$as_dir" : 'X\(//\)$' \| \
36995 X"$as_dir" : 'X\(/\)' \| \
36996 . : '\(.\)' 2>/dev/null ||
36998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37000 /^X\(\/\/\)$/{ s//\1/; q; }
37001 /^X\(\/\).*/{ s//\1/; q; }
37004 test ! -n "$as_dirs" || mkdir $as_dirs
37005 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37006 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37007 { (exit 1); exit 1; }; }; }
37011 if test "$ac_dir" != .
; then
37012 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37013 # A "../" for each directory in $ac_dir_suffix.
37014 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37016 ac_dir_suffix
= ac_top_builddir
=
37020 .
) # No --srcdir option. We are building in place.
37022 if test -z "$ac_top_builddir"; then
37025 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37027 [\\/]* | ?
:[\\/]* ) # Absolute path.
37028 ac_srcdir
=$srcdir$ac_dir_suffix;
37029 ac_top_srcdir
=$srcdir ;;
37030 *) # Relative path.
37031 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37032 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37034 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37036 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37037 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37038 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37039 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37044 # Check for guested configure; otherwise get Cygnus style configure.
37045 if test -f $ac_srcdir/configure.gnu
; then
37046 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37047 elif test -f $ac_srcdir/configure
; then
37048 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37049 elif test -f $ac_srcdir/configure.
in; then
37050 ac_sub_configure
=$ac_configure
37052 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37053 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37057 # The recursion is here.
37058 if test -n "$ac_sub_configure"; then
37059 # Make the cache file name correct relative to the subdirectory.
37060 case $cache_file in
37061 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37062 *) # Relative path.
37063 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37066 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37067 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37068 # The eval makes quoting arguments work.
37069 eval $ac_sub_configure $ac_sub_configure_args \
37070 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37071 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37072 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37073 { (exit 1); exit 1; }; }
37082 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37084 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37085 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37087 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37088 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37089 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37091 echo " What level of wxWindows compatibility should be enabled?"
37092 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37093 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37095 echo " Which libraries should wxWindows use?"
37096 echo " jpeg ${wxUSE_LIBJPEG-none}"
37097 echo " png ${wxUSE_LIBPNG-none}"
37098 echo " regex ${wxUSE_REGEX}"
37099 echo " tiff ${wxUSE_LIBTIFF-none}"
37100 echo " zlib ${wxUSE_ZLIB}"
37101 echo " odbc ${wxUSE_ODBC}"
37102 echo " expat ${wxUSE_EXPAT}"