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
1626 USE_BSD= USE_DARWIN= USE_FREEBSD=
1632 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1638 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1640 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1642 DEFAULT_wxUSE_COCOA=0
1646 DEFAULT_wxUSE_MICROWIN=0
1647 DEFAULT_wxUSE_MOTIF=0
1652 DEFAULT_DEFAULT_wxUSE_COCOA=0
1653 DEFAULT_DEFAULT_wxUSE_GTK=0
1654 DEFAULT_DEFAULT_wxUSE_MAC=0
1655 DEFAULT_DEFAULT_wxUSE_MGL=0
1656 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1657 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1658 DEFAULT_DEFAULT_wxUSE_MSW=0
1659 DEFAULT_DEFAULT_wxUSE_PM=0
1660 DEFAULT_DEFAULT_wxUSE_X11=0
1665 SAMPLES_RPATH_POSTLINK=
1670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1671 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1673 cat >>confdefs.h <<\_ACEOF
1680 cat >>confdefs.h <<\_ACEOF
1685 if test "x$TMP" = "xalpha"; then
1687 cat >>confdefs.h <<\_ACEOF
1692 DEFAULT_DEFAULT_wxUSE_GTK=1
1696 cat >>confdefs.h <<\_ACEOF
1701 if test "x$TMP" = "xalpha"; then
1703 cat >>confdefs.h <<\_ACEOF
1708 DEFAULT_DEFAULT_wxUSE_GTK=1
1710 *-*-irix5* | *-*-irix6* )
1713 cat >>confdefs.h <<\_ACEOF
1717 cat >>confdefs.h <<\_ACEOF
1721 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1727 cat >>confdefs.h <<\_ACEOF
1731 cat >>confdefs.h <<\_ACEOF
1732 #define __SOLARIS__ 1
1735 cat >>confdefs.h <<\_ACEOF
1739 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1746 cat >>confdefs.h <<\_ACEOF
1750 cat >>confdefs.h <<\_ACEOF
1754 cat >>confdefs.h <<\_ACEOF
1758 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __FREEBSD__ 1
1767 cat >>confdefs.h <<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_GTK=1
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __OPENBSD__ 1
1780 cat >>confdefs.h <<\_ACEOF
1784 DEFAULT_DEFAULT_wxUSE_GTK=1
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __NETBSD__ 1
1793 cat >>confdefs.h <<\_ACEOF
1797 DEFAULT_DEFAULT_wxUSE_GTK=1
1802 cat >>confdefs.h <<\_ACEOF
1806 cat >>confdefs.h <<\_ACEOF
1810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1811 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1816 cat >>confdefs.h <<\_ACEOF
1820 cat >>confdefs.h <<\_ACEOF
1824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1829 cat >>confdefs.h <<\_ACEOF
1833 cat >>confdefs.h <<\_ACEOF
1837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1844 cat >>confdefs.h <<\_ACEOF
1848 cat >>confdefs.h <<\_ACEOF
1852 cat >>confdefs.h <<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __UNIXWARE__ 1
1869 *-*-cygwin* | *-*-mingw32* )
1873 DEFAULT_DEFAULT_wxUSE_MSW=1
1879 cat >>confdefs.h <<\_ACEOF
1884 DEFAULT_DEFAULT_wxUSE_MGL=1
1885 LIBS="$LIBS -lstdc++"
1888 *-pc-os2_emx | *-pc-os2-emx )
1889 cat >>confdefs.h <<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_PM=1
1897 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1898 ac_executable_extensions=".exe"
1899 export ac_executable_extensions
1903 for ac_dir in $PATH; do
1905 if test -z "$ac_TEMP_PATH"; then
1906 ac_TEMP_PATH="$ac_dir"
1908 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1911 export PATH="$ac_TEMP_PATH"
1919 cat >>confdefs.h <<\_ACEOF
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __DARWIN__ 1
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __POWERPC__ 1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define TARGET_CARBON 1
1935 DEFAULT_DEFAULT_wxUSE_MAC=1
1940 cat >>confdefs.h <<\_ACEOF
1947 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1948 echo "$as_me: error: unknown system type ${host}." >&2;}
1949 { (exit 1); exit 1; }; }
1955 wx_arg_cache_file="configarg.cache"
1956 echo "loading argument cache $wx_arg_cache_file"
1957 rm -f ${wx_arg_cache_file}.tmp
1958 touch ${wx_arg_cache_file}.tmp
1959 touch ${wx_arg_cache_file}
1963 if test $DEBUG_CONFIGURE = 1; then
1964 DEFAULT_wxUSE_UNIVERSAL=no
1965 DEFAULT_wxUSE_STL=no
1967 DEFAULT_wxUSE_NANOX=no
1969 DEFAULT_wxUSE_THREADS=yes
1971 DEFAULT_wxUSE_SHARED=yes
1972 DEFAULT_wxUSE_OPTIMISE=no
1973 DEFAULT_wxUSE_PROFILE=no
1974 DEFAULT_wxUSE_NO_DEPS=no
1975 DEFAULT_wxUSE_NO_RTTI=no
1976 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1977 DEFAULT_wxUSE_PERMISSIVE=no
1978 DEFAULT_wxUSE_DEBUG_FLAG=yes
1979 DEFAULT_wxUSE_DEBUG_INFO=yes
1980 DEFAULT_wxUSE_DEBUG_GDB=yes
1981 DEFAULT_wxUSE_MEM_TRACING=no
1982 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1983 DEFAULT_wxUSE_DMALLOC=no
1984 DEFAULT_wxUSE_APPLE_IEEE=no
1986 DEFAULT_wxUSE_LOG=yes
1987 DEFAULT_wxUSE_LOGWINDOW=no
1988 DEFAULT_wxUSE_LOGGUI=no
1989 DEFAULT_wxUSE_LOGDIALOG=no
1991 DEFAULT_wxUSE_GUI=yes
1992 DEFAULT_wxUSE_CONTROLS=no
1994 DEFAULT_wxUSE_REGEX=no
1995 DEFAULT_wxUSE_XML=no
1996 DEFAULT_wxUSE_EXPAT=no
1997 DEFAULT_wxUSE_ZLIB=no
1998 DEFAULT_wxUSE_LIBPNG=no
1999 DEFAULT_wxUSE_LIBJPEG=no
2000 DEFAULT_wxUSE_LIBTIFF=no
2001 DEFAULT_wxUSE_ODBC=no
2002 DEFAULT_wxUSE_OPENGL=no
2004 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2005 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2006 DEFAULT_wxUSE_STD_IOSTREAM=no
2007 DEFAULT_wxUSE_CMDLINE_PARSER=no
2008 DEFAULT_wxUSE_DATETIME=no
2009 DEFAULT_wxUSE_TIMER=no
2010 DEFAULT_wxUSE_STOPWATCH=no
2011 DEFAULT_wxUSE_FILE=no
2012 DEFAULT_wxUSE_FFILE=no
2013 DEFAULT_wxUSE_TEXTBUFFER=no
2014 DEFAULT_wxUSE_TEXTFILE=no
2015 DEFAULT_wxUSE_WAVE=no
2016 DEFAULT_wxUSE_INTL=no
2017 DEFAULT_wxUSE_CONFIG=no
2018 DEFAULT_wxUSE_FONTMAP=no
2019 DEFAULT_wxUSE_STREAMS=no
2020 DEFAULT_wxUSE_SOCKETS=no
2021 DEFAULT_wxUSE_OLE=no
2022 DEFAULT_wxUSE_DATAOBJ=no
2023 DEFAULT_wxUSE_DIALUP_MANAGER=no
2024 DEFAULT_wxUSE_JOYSTICK=no
2025 DEFAULT_wxUSE_DYNLIB_CLASS=no
2026 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2027 DEFAULT_wxUSE_LONGLONG=no
2028 DEFAULT_wxUSE_GEOMETRY=no
2030 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2031 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2032 DEFAULT_wxUSE_POSTSCRIPT=no
2034 DEFAULT_wxUSE_CLIPBOARD=no
2035 DEFAULT_wxUSE_TOOLTIPS=no
2036 DEFAULT_wxUSE_DRAG_AND_DROP=no
2037 DEFAULT_wxUSE_DRAGIMAGE=no
2038 DEFAULT_wxUSE_SPLINES=no
2040 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2041 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2042 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2044 DEFAULT_wxUSE_RESOURCES=no
2045 DEFAULT_wxUSE_CONSTRAINTS=no
2046 DEFAULT_wxUSE_IPC=no
2047 DEFAULT_wxUSE_HELP=no
2048 DEFAULT_wxUSE_MS_HTML_HELP=no
2049 DEFAULT_wxUSE_WXHTML_HELP=no
2050 DEFAULT_wxUSE_TREELAYOUT=no
2051 DEFAULT_wxUSE_METAFILE=no
2052 DEFAULT_wxUSE_MIMETYPE=no
2053 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2054 DEFAULT_wxUSE_PROTOCOL=no
2055 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2056 DEFAULT_wxUSE_PROTOCOL_FTP=no
2057 DEFAULT_wxUSE_PROTOCOL_FILE=no
2058 DEFAULT_wxUSE_URL=no
2060 DEFAULT_wxUSE_COMMONDLGS=no
2061 DEFAULT_wxUSE_CHOICEDLG=no
2062 DEFAULT_wxUSE_COLOURDLG=no
2063 DEFAULT_wxUSE_DIRDLG=no
2064 DEFAULT_wxUSE_FILEDLG=no
2065 DEFAULT_wxUSE_FINDREPLDLG=no
2066 DEFAULT_wxUSE_FONTDLG=no
2067 DEFAULT_wxUSE_MSGDLG=no
2068 DEFAULT_wxUSE_NUMBERDLG=no
2069 DEFAULT_wxUSE_TEXTDLG=no
2070 DEFAULT_wxUSE_SPLASH=no
2071 DEFAULT_wxUSE_STARTUP_TIPS=no
2072 DEFAULT_wxUSE_PROGRESSDLG=no
2073 DEFAULT_wxUSE_WIZARDDLG=no
2075 DEFAULT_wxUSE_MENUS=no
2076 DEFAULT_wxUSE_MINIFRAME=no
2077 DEFAULT_wxUSE_HTML=no
2078 DEFAULT_wxUSE_FILESYSTEM=no
2079 DEFAULT_wxUSE_FS_INET=no
2080 DEFAULT_wxUSE_FS_ZIP=no
2081 DEFAULT_wxUSE_BUSYINFO=no
2082 DEFAULT_wxUSE_ZIPSTREAM=no
2083 DEFAULT_wxUSE_VALIDATORS=no
2085 DEFAULT_wxUSE_ACCEL=no
2086 DEFAULT_wxUSE_BUTTON=no
2087 DEFAULT_wxUSE_BMPBUTTON=no
2088 DEFAULT_wxUSE_CALCTRL=no
2089 DEFAULT_wxUSE_CARET=no
2090 DEFAULT_wxUSE_CHECKBOX=no
2091 DEFAULT_wxUSE_CHECKLST=no
2092 DEFAULT_wxUSE_CHOICE=no
2093 DEFAULT_wxUSE_COMBOBOX=no
2094 DEFAULT_wxUSE_DISPLAY=no
2095 DEFAULT_wxUSE_GAUGE=no
2096 DEFAULT_wxUSE_GRID=no
2097 DEFAULT_wxUSE_IMAGLIST=no
2098 DEFAULT_wxUSE_LISTBOOK=no
2099 DEFAULT_wxUSE_LISTBOX=no
2100 DEFAULT_wxUSE_LISTCTRL=no
2101 DEFAULT_wxUSE_NOTEBOOK=no
2102 DEFAULT_wxUSE_RADIOBOX=no
2103 DEFAULT_wxUSE_RADIOBTN=no
2104 DEFAULT_wxUSE_SASH=no
2105 DEFAULT_wxUSE_SCROLLBAR=no
2106 DEFAULT_wxUSE_SLIDER=no
2107 DEFAULT_wxUSE_SPINBTN=no
2108 DEFAULT_wxUSE_SPINCTRL=no
2109 DEFAULT_wxUSE_SPLITTER=no
2110 DEFAULT_wxUSE_STATBMP=no
2111 DEFAULT_wxUSE_STATBOX=no
2112 DEFAULT_wxUSE_STATLINE=no
2113 DEFAULT_wxUSE_STATTEXT=no
2114 DEFAULT_wxUSE_STATUSBAR=yes
2115 DEFAULT_wxUSE_TABDIALOG=no
2116 DEFAULT_wxUSE_TEXTCTRL=no
2117 DEFAULT_wxUSE_TOGGLEBTN=no
2118 DEFAULT_wxUSE_TOOLBAR=no
2119 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2120 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2121 DEFAULT_wxUSE_TREECTRL=no
2122 DEFAULT_wxUSE_POPUPWIN=no
2123 DEFAULT_wxUSE_TIPWINDOW=no
2125 DEFAULT_wxUSE_UNICODE=no
2126 DEFAULT_wxUSE_UNICODE_MSLU=no
2127 DEFAULT_wxUSE_WCSRTOMBS=no
2129 DEFAULT_wxUSE_PALETTE=no
2130 DEFAULT_wxUSE_IMAGE=no
2131 DEFAULT_wxUSE_GIF=no
2132 DEFAULT_wxUSE_PCX=no
2133 DEFAULT_wxUSE_PNM=no
2134 DEFAULT_wxUSE_IFF=no
2135 DEFAULT_wxUSE_XPM=no
2136 DEFAULT_wxUSE_ICO_CUR=no
2137 DEFAULT_wxUSE_ACCESSIBILITY=no
2139 DEFAULT_wxUSE_MONOLITHIC=no
2140 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2142 DEFAULT_wxUSE_UNIVERSAL=no
2143 DEFAULT_wxUSE_STL=no
2145 DEFAULT_wxUSE_NANOX=no
2147 DEFAULT_wxUSE_THREADS=yes
2149 DEFAULT_wxUSE_SHARED=yes
2150 DEFAULT_wxUSE_OPTIMISE=yes
2151 DEFAULT_wxUSE_PROFILE=no
2152 DEFAULT_wxUSE_NO_DEPS=no
2153 DEFAULT_wxUSE_NO_RTTI=no
2154 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2155 DEFAULT_wxUSE_PERMISSIVE=no
2156 DEFAULT_wxUSE_DEBUG_FLAG=no
2157 DEFAULT_wxUSE_DEBUG_INFO=no
2158 DEFAULT_wxUSE_DEBUG_GDB=no
2159 DEFAULT_wxUSE_MEM_TRACING=no
2160 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2161 DEFAULT_wxUSE_DMALLOC=no
2162 DEFAULT_wxUSE_APPLE_IEEE=yes
2164 DEFAULT_wxUSE_LOG=yes
2165 DEFAULT_wxUSE_LOGWINDOW=yes
2166 DEFAULT_wxUSE_LOGGUI=yes
2167 DEFAULT_wxUSE_LOGDIALOG=yes
2169 DEFAULT_wxUSE_GUI=yes
2171 DEFAULT_wxUSE_REGEX=yes
2172 DEFAULT_wxUSE_XML=yes
2173 DEFAULT_wxUSE_EXPAT=yes
2174 DEFAULT_wxUSE_ZLIB=yes
2175 DEFAULT_wxUSE_LIBPNG=yes
2176 DEFAULT_wxUSE_LIBJPEG=yes
2177 DEFAULT_wxUSE_LIBTIFF=yes
2178 DEFAULT_wxUSE_ODBC=no
2179 DEFAULT_wxUSE_OPENGL=no
2181 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2182 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2183 DEFAULT_wxUSE_STD_IOSTREAM=no
2184 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2185 DEFAULT_wxUSE_DATETIME=yes
2186 DEFAULT_wxUSE_TIMER=yes
2187 DEFAULT_wxUSE_STOPWATCH=yes
2188 DEFAULT_wxUSE_FILE=yes
2189 DEFAULT_wxUSE_FFILE=yes
2190 DEFAULT_wxUSE_TEXTBUFFER=yes
2191 DEFAULT_wxUSE_TEXTFILE=yes
2192 DEFAULT_wxUSE_WAVE=no
2193 DEFAULT_wxUSE_INTL=yes
2194 DEFAULT_wxUSE_CONFIG=yes
2195 DEFAULT_wxUSE_FONTMAP=yes
2196 DEFAULT_wxUSE_STREAMS=yes
2197 DEFAULT_wxUSE_SOCKETS=yes
2198 DEFAULT_wxUSE_OLE=yes
2199 DEFAULT_wxUSE_DATAOBJ=yes
2200 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2201 DEFAULT_wxUSE_JOYSTICK=yes
2202 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2203 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2204 DEFAULT_wxUSE_LONGLONG=yes
2205 DEFAULT_wxUSE_GEOMETRY=yes
2207 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2208 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2209 DEFAULT_wxUSE_POSTSCRIPT=yes
2211 DEFAULT_wxUSE_CLIPBOARD=yes
2212 DEFAULT_wxUSE_TOOLTIPS=yes
2213 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2214 DEFAULT_wxUSE_DRAGIMAGE=yes
2215 DEFAULT_wxUSE_SPLINES=yes
2217 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2218 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2219 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2221 DEFAULT_wxUSE_RESOURCES=no
2222 DEFAULT_wxUSE_CONSTRAINTS=yes
2223 DEFAULT_wxUSE_IPC=yes
2224 DEFAULT_wxUSE_HELP=yes
2225 DEFAULT_wxUSE_MS_HTML_HELP=yes
2226 DEFAULT_wxUSE_WXHTML_HELP=yes
2227 DEFAULT_wxUSE_TREELAYOUT=yes
2228 DEFAULT_wxUSE_METAFILE=yes
2229 DEFAULT_wxUSE_MIMETYPE=yes
2230 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2231 DEFAULT_wxUSE_PROTOCOL=yes
2232 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2233 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2234 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2235 DEFAULT_wxUSE_URL=yes
2237 DEFAULT_wxUSE_COMMONDLGS=yes
2238 DEFAULT_wxUSE_CHOICEDLG=yes
2239 DEFAULT_wxUSE_COLOURDLG=yes
2240 DEFAULT_wxUSE_DIRDLG=yes
2241 DEFAULT_wxUSE_FILEDLG=yes
2242 DEFAULT_wxUSE_FINDREPLDLG=yes
2243 DEFAULT_wxUSE_FONTDLG=yes
2244 DEFAULT_wxUSE_MSGDLG=yes
2245 DEFAULT_wxUSE_NUMBERDLG=yes
2246 DEFAULT_wxUSE_TEXTDLG=yes
2247 DEFAULT_wxUSE_SPLASH=yes
2248 DEFAULT_wxUSE_STARTUP_TIPS=yes
2249 DEFAULT_wxUSE_PROGRESSDLG=yes
2250 DEFAULT_wxUSE_WIZARDDLG=yes
2252 DEFAULT_wxUSE_MENUS=yes
2253 DEFAULT_wxUSE_MINIFRAME=yes
2254 DEFAULT_wxUSE_HTML=yes
2255 DEFAULT_wxUSE_FILESYSTEM=yes
2256 DEFAULT_wxUSE_FS_INET=yes
2257 DEFAULT_wxUSE_FS_ZIP=yes
2258 DEFAULT_wxUSE_BUSYINFO=yes
2259 DEFAULT_wxUSE_ZIPSTREAM=yes
2260 DEFAULT_wxUSE_VALIDATORS=yes
2262 DEFAULT_wxUSE_ACCEL=yes
2263 DEFAULT_wxUSE_BUTTON=yes
2264 DEFAULT_wxUSE_BMPBUTTON=yes
2265 DEFAULT_wxUSE_CALCTRL=yes
2266 DEFAULT_wxUSE_CARET=yes
2267 DEFAULT_wxUSE_CHECKBOX=yes
2268 DEFAULT_wxUSE_CHECKLST=yes
2269 DEFAULT_wxUSE_CHOICE=yes
2270 DEFAULT_wxUSE_COMBOBOX=yes
2271 DEFAULT_wxUSE_DISPLAY=no
2272 DEFAULT_wxUSE_GAUGE=yes
2273 DEFAULT_wxUSE_GRID=yes
2274 DEFAULT_wxUSE_IMAGLIST=yes
2275 DEFAULT_wxUSE_LISTBOOK=yes
2276 DEFAULT_wxUSE_LISTBOX=yes
2277 DEFAULT_wxUSE_LISTCTRL=yes
2278 DEFAULT_wxUSE_NOTEBOOK=yes
2279 DEFAULT_wxUSE_RADIOBOX=yes
2280 DEFAULT_wxUSE_RADIOBTN=yes
2281 DEFAULT_wxUSE_SASH=yes
2282 DEFAULT_wxUSE_SCROLLBAR=yes
2283 DEFAULT_wxUSE_SLIDER=yes
2284 DEFAULT_wxUSE_SPINBTN=yes
2285 DEFAULT_wxUSE_SPINCTRL=yes
2286 DEFAULT_wxUSE_SPLITTER=yes
2287 DEFAULT_wxUSE_STATBMP=yes
2288 DEFAULT_wxUSE_STATBOX=yes
2289 DEFAULT_wxUSE_STATLINE=yes
2290 DEFAULT_wxUSE_STATTEXT=yes
2291 DEFAULT_wxUSE_STATUSBAR=yes
2292 DEFAULT_wxUSE_TABDIALOG=no
2293 DEFAULT_wxUSE_TEXTCTRL=yes
2294 DEFAULT_wxUSE_TOGGLEBTN=yes
2295 DEFAULT_wxUSE_TOOLBAR=yes
2296 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2297 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2298 DEFAULT_wxUSE_TREECTRL=yes
2299 DEFAULT_wxUSE_POPUPWIN=yes
2300 DEFAULT_wxUSE_TIPWINDOW=yes
2302 DEFAULT_wxUSE_UNICODE=no
2303 DEFAULT_wxUSE_UNICODE_MSLU=yes
2304 DEFAULT_wxUSE_WCSRTOMBS=no
2306 DEFAULT_wxUSE_PALETTE=yes
2307 DEFAULT_wxUSE_IMAGE=yes
2308 DEFAULT_wxUSE_GIF=yes
2309 DEFAULT_wxUSE_PCX=yes
2310 DEFAULT_wxUSE_IFF=no
2311 DEFAULT_wxUSE_PNM=yes
2312 DEFAULT_wxUSE_XPM=yes
2313 DEFAULT_wxUSE_ICO_CUR=yes
2314 DEFAULT_wxUSE_ACCESSIBILITY=no
2316 DEFAULT_wxUSE_MONOLITHIC=no
2317 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2322 for toolkit in `echo $ALL_TOOLKITS`; do
2323 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2324 if test "x$LINE" != "x" ; then
2325 has_toolkit_in_cache=1
2326 eval "DEFAULT_$LINE"
2327 eval "CACHE_$toolkit=1"
2334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2335 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2337 # Check whether --enable-gui or --disable-gui was given.
2338 if test "${enable_gui+set}" = set; then
2339 enableval="$enable_gui"
2341 if test "$enableval" = yes; then
2342 ac_cv_use_gui='wxUSE_GUI
=yes'
2344 ac_cv_use_gui='wxUSE_GUI
=no
'
2349 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2350 if test "x$LINE" != x ; then
2351 eval "DEFAULT_$LINE"
2356 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2360 eval "$ac_cv_use_gui"
2361 if test "$no_cache" != 1; then
2362 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2365 if test "$wxUSE_GUI" = yes; then
2366 echo "$as_me:$LINENO: result: yes" >&5
2367 echo "${ECHO_T}yes" >&6
2369 echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6
2375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2376 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2378 # Check whether --enable-monolithic or --disable-monolithic was given.
2379 if test "${enable_monolithic+set}" = set; then
2380 enableval="$enable_monolithic"
2382 if test "$enableval" = yes; then
2383 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2385 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2390 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x ; then
2392 eval "DEFAULT_$LINE"
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2401 eval "$ac_cv_use_monolithic"
2402 if test "$no_cache" != 1; then
2403 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2406 if test "$wxUSE_MONOLITHIC" = yes; then
2407 echo "$as_me:$LINENO: result: yes" >&5
2408 echo "${ECHO_T}yes" >&6
2410 echo "$as_me:$LINENO: result: no" >&5
2411 echo "${ECHO_T}no" >&6
2415 if test "$wxUSE_GUI" = "yes"; then
2419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2420 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2422 # Check whether --enable-universal or --disable-universal was given.
2423 if test "${enable_universal+set}" = set; then
2424 enableval="$enable_universal"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2429 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2434 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x ; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2445 eval "$ac_cv_use_universal"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2450 if test "$wxUSE_UNIVERSAL" = yes; then
2451 echo "$as_me:$LINENO: result: yes" >&5
2452 echo "${ECHO_T}yes" >&6
2454 echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6
2459 # Check whether --with-gtk or --without-gtk was given.
2460 if test "${with_gtk+set}" = set; then
2462 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2465 # Check whether --with-motif or --without-motif was given.
2466 if test "${with_motif+set}" = set; then
2467 withval="$with_motif"
2468 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2471 # Check whether --with-mac or --without-mac was given.
2472 if test "${with_mac+set}" = set; then
2474 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2477 # Check whether --with-cocoa or --without-cocoa was given.
2478 if test "${with_cocoa+set}" = set; then
2479 withval="$with_cocoa"
2480 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2483 # Check whether --with-wine or --without-wine was given.
2484 if test "${with_wine+set}" = set; then
2485 withval="$with_wine"
2486 wxUSE_WINE="$withval" CACHE_WINE=1
2489 # Check whether --with-msw or --without-msw was given.
2490 if test "${with_msw+set}" = set; then
2492 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2495 # Check whether --with-pm or --without-pm was given.
2496 if test "${with_pm+set}" = set; then
2498 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2501 # Check whether --with-mgl or --without-mgl was given.
2502 if test "${with_mgl+set}" = set; then
2504 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2507 # Check whether --with-microwin or --without-microwin was given.
2508 if test "${with_microwin+set}" = set; then
2509 withval="$with_microwin"
2510 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2513 # Check whether --with-x11 or --without-x11 was given.
2514 if test "${with_x11+set}" = set; then
2516 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2521 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2523 # Check whether --enable-nanox or --disable-nanox was given.
2524 if test "${enable_nanox+set}" = set; then
2525 enableval="$enable_nanox"
2527 if test "$enableval" = yes; then
2528 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2530 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2535 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x ; then
2537 eval "DEFAULT_$LINE"
2542 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2546 eval "$ac_cv_use_nanox"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2551 if test "$wxUSE_NANOX" = yes; then
2552 echo "$as_me:$LINENO: result: yes" >&5
2553 echo "${ECHO_T}yes" >&6
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2563 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2565 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2566 if test "${enable_gtk2+set}" = set; then
2567 enableval="$enable_gtk2"
2569 if test "$enableval" = yes; then
2570 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2572 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2577 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2578 if test "x$LINE" != x ; then
2579 eval "DEFAULT_$LINE"
2584 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2588 eval "$ac_cv_use_gtk2"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2593 if test "$wxUSE_GTK2" = yes; then
2594 echo "$as_me:$LINENO: result: yes" >&5
2595 echo "${ECHO_T}yes" >&6
2597 echo "$as_me:$LINENO: result: no" >&5
2598 echo "${ECHO_T}no" >&6
2603 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2604 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2607 # Check whether --with-libpng or --without-libpng was given.
2608 if test "${with_libpng+set}" = set; then
2609 withval="$with_libpng"
2611 if test "$withval" = yes; then
2612 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2613 elif test "$withval" = no; then
2614 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2615 elif test "$withval" = sys; then
2616 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2617 elif test "$withval" = builtin; then
2618 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2621 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2622 { (exit 1); exit 1; }; }
2627 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x ; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2638 eval "$ac_cv_use_libpng"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2643 if test "$wxUSE_LIBPNG" = yes; then
2644 echo "$as_me:$LINENO: result: yes" >&5
2645 echo "${ECHO_T}yes" >&6
2646 elif test "$wxUSE_LIBPNG" = no; then
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2649 elif test "$wxUSE_LIBPNG" = sys; then
2650 echo "$as_me:$LINENO: result: system version" >&5
2651 echo "${ECHO_T}system version" >&6
2652 elif test "$wxUSE_LIBPNG" = builtin; then
2653 echo "$as_me:$LINENO: result: builtin version" >&5
2654 echo "${ECHO_T}builtin version" >&6
2656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2657 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2658 { (exit 1); exit 1; }; }
2662 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2663 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2666 # Check whether --with-libjpeg or --without-libjpeg was given.
2667 if test "${with_libjpeg+set}" = set; then
2668 withval="$with_libjpeg"
2670 if test "$withval" = yes; then
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2672 elif test "$withval" = no; then
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2674 elif test "$withval" = sys; then
2675 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2676 elif test "$withval" = builtin; then
2677 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2679 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2680 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2681 { (exit 1); exit 1; }; }
2686 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x ; then
2688 eval "DEFAULT_$LINE"
2693 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2697 eval "$ac_cv_use_libjpeg"
2698 if test "$no_cache" != 1; then
2699 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2702 if test "$wxUSE_LIBJPEG" = yes; then
2703 echo "$as_me:$LINENO: result: yes" >&5
2704 echo "${ECHO_T}yes" >&6
2705 elif test "$wxUSE_LIBJPEG" = no; then
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2708 elif test "$wxUSE_LIBJPEG" = sys; then
2709 echo "$as_me:$LINENO: result: system version" >&5
2710 echo "${ECHO_T}system version" >&6
2711 elif test "$wxUSE_LIBJPEG" = builtin; then
2712 echo "$as_me:$LINENO: result: builtin version" >&5
2713 echo "${ECHO_T}builtin version" >&6
2715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2716 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2717 { (exit 1); exit 1; }; }
2721 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2722 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2725 # Check whether --with-libtiff or --without-libtiff was given.
2726 if test "${with_libtiff+set}" = set; then
2727 withval="$with_libtiff"
2729 if test "$withval" = yes; then
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2731 elif test "$withval" = no; then
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2733 elif test "$withval" = sys; then
2734 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2735 elif test "$withval" = builtin; then
2736 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2738 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2739 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2740 { (exit 1); exit 1; }; }
2745 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x ; then
2747 eval "DEFAULT_$LINE"
2752 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2756 eval "$ac_cv_use_libtiff"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2761 if test "$wxUSE_LIBTIFF" = yes; then
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2764 elif test "$wxUSE_LIBTIFF" = no; then
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2767 elif test "$wxUSE_LIBTIFF" = sys; then
2768 echo "$as_me:$LINENO: result: system version" >&5
2769 echo "${ECHO_T}system version" >&6
2770 elif test "$wxUSE_LIBTIFF" = builtin; then
2771 echo "$as_me:$LINENO: result: builtin version" >&5
2772 echo "${ECHO_T}builtin version" >&6
2774 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2775 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2776 { (exit 1); exit 1; }; }
2780 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2781 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2784 # Check whether --with-opengl or --without-opengl was given.
2785 if test "${with_opengl+set}" = set; then
2786 withval="$with_opengl"
2788 if test "$withval" = yes; then
2789 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2791 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2796 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2797 if test "x$LINE" != x ; then
2798 eval "DEFAULT_$LINE"
2803 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2807 eval "$ac_cv_use_opengl"
2808 if test "$no_cache" != 1; then
2809 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2812 if test "$wxUSE_OPENGL" = yes; then
2813 echo "$as_me:$LINENO: result: yes" >&5
2814 echo "${ECHO_T}yes" >&6
2816 echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6
2824 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2825 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2828 # Check whether --with-dmalloc or --without-dmalloc was given.
2829 if test "${with_dmalloc+set}" = set; then
2830 withval="$with_dmalloc"
2832 if test "$withval" = yes; then
2833 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2835 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2840 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2841 if test "x$LINE" != x ; then
2842 eval "DEFAULT_$LINE"
2847 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2851 eval "$ac_cv_use_dmalloc"
2852 if test "$no_cache" != 1; then
2853 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2856 if test "$wxUSE_DMALLOC" = yes; then
2857 echo "$as_me:$LINENO: result: yes" >&5
2858 echo "${ECHO_T}yes" >&6
2860 echo "$as_me:$LINENO: result: no" >&5
2861 echo "${ECHO_T}no" >&6
2865 echo "$as_me:$LINENO: checking for --with-regex" >&5
2866 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2869 # Check whether --with-regex or --without-regex was given.
2870 if test "${with_regex+set}" = set; then
2871 withval="$with_regex"
2873 if test "$withval" = yes; then
2874 ac_cv_use_regex='wxUSE_REGEX
=yes'
2875 elif test "$withval" = no; then
2876 ac_cv_use_regex='wxUSE_REGEX
=no
'
2877 elif test "$withval" = sys; then
2878 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2879 elif test "$withval" = builtin; then
2880 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2882 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2883 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2884 { (exit 1); exit 1; }; }
2889 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2890 if test "x$LINE" != x ; then
2891 eval "DEFAULT_$LINE"
2896 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2900 eval "$ac_cv_use_regex"
2901 if test "$no_cache" != 1; then
2902 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2905 if test "$wxUSE_REGEX" = yes; then
2906 echo "$as_me:$LINENO: result: yes" >&5
2907 echo "${ECHO_T}yes" >&6
2908 elif test "$wxUSE_REGEX" = no; then
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2911 elif test "$wxUSE_REGEX" = sys; then
2912 echo "$as_me:$LINENO: result: system version" >&5
2913 echo "${ECHO_T}system version" >&6
2914 elif test "$wxUSE_REGEX" = builtin; then
2915 echo "$as_me:$LINENO: result: builtin version" >&5
2916 echo "${ECHO_T}builtin version" >&6
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2924 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2925 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2928 # Check whether --with-zlib or --without-zlib was given.
2929 if test "${with_zlib+set}" = set; then
2930 withval="$with_zlib"
2932 if test "$withval" = yes; then
2933 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2934 elif test "$withval" = no; then
2935 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2936 elif test "$withval" = sys; then
2937 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2938 elif test "$withval" = builtin; then
2939 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2941 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2942 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2943 { (exit 1); exit 1; }; }
2948 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2955 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2959 eval "$ac_cv_use_zlib"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2964 if test "$wxUSE_ZLIB" = yes; then
2965 echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6
2967 elif test "$wxUSE_ZLIB" = no; then
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2970 elif test "$wxUSE_ZLIB" = sys; then
2971 echo "$as_me:$LINENO: result: system version" >&5
2972 echo "${ECHO_T}system version" >&6
2973 elif test "$wxUSE_ZLIB" = builtin; then
2974 echo "$as_me:$LINENO: result: builtin version" >&5
2975 echo "${ECHO_T}builtin version" >&6
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2983 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2984 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2987 # Check whether --with-odbc or --without-odbc was given.
2988 if test "${with_odbc+set}" = set; then
2989 withval="$with_odbc"
2991 if test "$withval" = yes; then
2992 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2993 elif test "$withval" = no; then
2994 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2995 elif test "$withval" = sys; then
2996 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2997 elif test "$withval" = builtin; then
2998 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3000 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3001 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3002 { (exit 1); exit 1; }; }
3007 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x ; then
3009 eval "DEFAULT_$LINE"
3014 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3018 eval "$ac_cv_use_odbc"
3019 if test "$no_cache" != 1; then
3020 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3023 if test "$wxUSE_ODBC" = yes; then
3024 echo "$as_me:$LINENO: result: yes" >&5
3025 echo "${ECHO_T}yes" >&6
3026 elif test "$wxUSE_ODBC" = no; then
3027 echo "$as_me:$LINENO: result: no" >&5
3028 echo "${ECHO_T}no" >&6
3029 elif test "$wxUSE_ODBC" = sys; then
3030 echo "$as_me:$LINENO: result: system version" >&5
3031 echo "${ECHO_T}system version" >&6
3032 elif test "$wxUSE_ODBC" = builtin; then
3033 echo "$as_me:$LINENO: result: builtin version" >&5
3034 echo "${ECHO_T}builtin version" >&6
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3042 echo "$as_me:$LINENO: checking for --with-expat" >&5
3043 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3046 # Check whether --with-expat or --without-expat was given.
3047 if test "${with_expat+set}" = set; then
3048 withval="$with_expat"
3050 if test "$withval" = yes; then
3051 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3052 elif test "$withval" = no; then
3053 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3054 elif test "$withval" = sys; then
3055 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3056 elif test "$withval" = builtin; then
3057 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3059 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3060 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3061 { (exit 1); exit 1; }; }
3066 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3077 eval "$ac_cv_use_expat"
3078 if test "$no_cache" != 1; then
3079 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3082 if test "$wxUSE_EXPAT" = yes; then
3083 echo "$as_me:$LINENO: result: yes" >&5
3084 echo "${ECHO_T}yes" >&6
3085 elif test "$wxUSE_EXPAT" = no; then
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3088 elif test "$wxUSE_EXPAT" = sys; then
3089 echo "$as_me:$LINENO: result: system version" >&5
3090 echo "${ECHO_T}system version" >&6
3091 elif test "$wxUSE_EXPAT" = builtin; then
3092 echo "$as_me:$LINENO: result: builtin version" >&5
3093 echo "${ECHO_T}builtin version" >&6
3095 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3096 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3097 { (exit 1); exit 1; }; }
3104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3105 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3107 # Check whether --enable-shared or --disable-shared was given.
3108 if test "${enable_shared+set}" = set; then
3109 enableval="$enable_shared"
3111 if test "$enableval" = yes; then
3112 ac_cv_use_shared='wxUSE_SHARED
=yes'
3114 ac_cv_use_shared='wxUSE_SHARED
=no
'
3119 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3130 eval "$ac_cv_use_shared"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_SHARED" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3146 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3148 # Check whether --enable-optimise or --disable-optimise was given.
3149 if test "${enable_optimise+set}" = set; then
3150 enableval="$enable_optimise"
3152 if test "$enableval" = yes; then
3153 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3155 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3160 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3171 eval "$ac_cv_use_optimise"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_OPTIMISE" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3187 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3189 # Check whether --enable-debug or --disable-debug was given.
3190 if test "${enable_debug+set}" = set; then
3191 enableval="$enable_debug"
3193 if test "$enableval" = yes; then
3194 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3196 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3201 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3212 eval "$ac_cv_use_debug"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_DEBUG" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3228 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3230 # Check whether --enable-stl or --disable-stl was given.
3231 if test "${enable_stl+set}" = set; then
3232 enableval="$enable_stl"
3234 if test "$enableval" = yes; then
3235 ac_cv_use_stl='wxUSE_STL
=yes'
3237 ac_cv_use_stl='wxUSE_STL
=no
'
3242 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3253 eval "$ac_cv_use_stl"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_STL" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3267 if test "$wxUSE_DEBUG" = "yes"; then
3268 DEFAULT_wxUSE_DEBUG_FLAG=yes
3269 DEFAULT_wxUSE_DEBUG_INFO=yes
3271 elif test "$wxUSE_DEBUG" = "no"; then
3272 DEFAULT_wxUSE_DEBUG_FLAG=no
3273 DEFAULT_wxUSE_DEBUG_INFO=no
3279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3280 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3282 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3283 if test "${enable_debug_flag+set}" = set; then
3284 enableval="$enable_debug_flag"
3286 if test "$enableval" = yes; then
3287 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3289 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3294 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3305 eval "$ac_cv_use_debug_flag"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_DEBUG_FLAG" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3321 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3323 # Check whether --enable-debug_info or --disable-debug_info was given.
3324 if test "${enable_debug_info+set}" = set; then
3325 enableval="$enable_debug_info"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3330 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3335 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x ; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3346 eval "$ac_cv_use_debug_info"
3347 if test "$no_cache" != 1; then
3348 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3351 if test "$wxUSE_DEBUG_INFO" = yes; then
3352 echo "$as_me:$LINENO: result: yes" >&5
3353 echo "${ECHO_T}yes" >&6
3355 echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6
3361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3362 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3364 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3365 if test "${enable_debug_gdb+set}" = set; then
3366 enableval="$enable_debug_gdb"
3368 if test "$enableval" = yes; then
3369 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3371 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3376 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3377 if test "x$LINE" != x ; then
3378 eval "DEFAULT_$LINE"
3383 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3387 eval "$ac_cv_use_debug_gdb"
3388 if test "$no_cache" != 1; then
3389 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3392 if test "$wxUSE_DEBUG_GDB" = yes; then
3393 echo "$as_me:$LINENO: result: yes" >&5
3394 echo "${ECHO_T}yes" >&6
3396 echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6
3402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3403 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3405 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3406 if test "${enable_debug_cntxt+set}" = set; then
3407 enableval="$enable_debug_cntxt"
3409 if test "$enableval" = yes; then
3410 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3412 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3417 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x ; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3428 eval "$ac_cv_use_debug_cntxt"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3444 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3446 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3447 if test "${enable_mem_tracing+set}" = set; then
3448 enableval="$enable_mem_tracing"
3450 if test "$enableval" = yes; then
3451 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3453 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3458 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x ; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3469 eval "$ac_cv_use_mem_tracing"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3474 if test "$wxUSE_MEM_TRACING" = yes; then
3475 echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3485 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3487 # Check whether --enable-profile or --disable-profile was given.
3488 if test "${enable_profile+set}" = set; then
3489 enableval="$enable_profile"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3494 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3499 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x ; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3510 eval "$ac_cv_use_profile"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_PROFILE" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3528 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3529 if test "${enable_no_rtti+set}" = set; then
3530 enableval="$enable_no_rtti"
3532 if test "$enableval" = yes; then
3533 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3535 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3540 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x ; then
3542 eval "DEFAULT_$LINE"
3547 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3551 eval "$ac_cv_use_no_rtti"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3556 if test "$wxUSE_NO_RTTI" = yes; then
3557 echo "$as_me:$LINENO: result: yes" >&5
3558 echo "${ECHO_T}yes" >&6
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3567 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3569 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3570 if test "${enable_no_exceptions+set}" = set; then
3571 enableval="$enable_no_exceptions"
3573 if test "$enableval" = yes; then
3574 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3576 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3581 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x ; then
3583 eval "DEFAULT_$LINE"
3588 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3592 eval "$ac_cv_use_no_exceptions"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3598 echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6
3601 echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6
3607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3608 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3610 # Check whether --enable-permissive or --disable-permissive was given.
3611 if test "${enable_permissive+set}" = set; then
3612 enableval="$enable_permissive"
3614 if test "$enableval" = yes; then
3615 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3617 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3622 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3623 if test "x$LINE" != x ; then
3624 eval "DEFAULT_$LINE"
3629 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3633 eval "$ac_cv_use_permissive"
3634 if test "$no_cache" != 1; then
3635 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3638 if test "$wxUSE_PERMISSIVE" = yes; then
3639 echo "$as_me:$LINENO: result: yes" >&5
3640 echo "${ECHO_T}yes" >&6
3642 echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6
3648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3649 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3651 # Check whether --enable-no_deps or --disable-no_deps was given.
3652 if test "${enable_no_deps+set}" = set; then
3653 enableval="$enable_no_deps"
3655 if test "$enableval" = yes; then
3656 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3658 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3663 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3664 if test "x$LINE" != x ; then
3665 eval "DEFAULT_$LINE"
3670 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3674 eval "$ac_cv_use_no_deps"
3675 if test "$no_cache" != 1; then
3676 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3679 if test "$wxUSE_NO_DEPS" = yes; then
3680 echo "$as_me:$LINENO: result: yes" >&5
3681 echo "${ECHO_T}yes" >&6
3683 echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3693 # Check whether --enable-compat22 or --disable-compat22 was given.
3694 if test "${enable_compat22+set}" = set; then
3695 enableval="$enable_compat22"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3700 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3705 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3716 eval "$ac_cv_use_compat22"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3721 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3730 enablestring=disable
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3734 # Check whether --enable-compat24 or --disable-compat24 was given.
3735 if test "${enable_compat24+set}" = set; then
3736 enableval="$enable_compat24"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3741 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3746 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3757 eval "$ac_cv_use_compat24"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3762 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3771 # Check whether --enable-rpath or --disable-rpath was given.
3772 if test "${enable_rpath+set}" = set; then
3773 enableval="$enable_rpath"
3774 wxRPATH_DIR="$enableval"
3777 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3778 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3786 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3788 # Check whether --enable-intl or --disable-intl was given.
3789 if test "${enable_intl+set}" = set; then
3790 enableval="$enable_intl"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_intl='wxUSE_INTL
=yes'
3795 ac_cv_use_intl='wxUSE_INTL
=no
'
3800 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3811 eval "$ac_cv_use_intl"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_INTL" = yes; then
3817 echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6
3820 echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6
3826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3827 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3829 # Check whether --enable-config or --disable-config was given.
3830 if test "${enable_config+set}" = set; then
3831 enableval="$enable_config"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_config='wxUSE_CONFIG
=yes'
3836 ac_cv_use_config='wxUSE_CONFIG
=no
'
3841 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x ; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3852 eval "$ac_cv_use_config"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3857 if test "$wxUSE_CONFIG" = yes; then
3858 echo "$as_me:$LINENO: result: yes" >&5
3859 echo "${ECHO_T}yes" >&6
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3871 # Check whether --enable-protocols or --disable-protocols was given.
3872 if test "${enable_protocols+set}" = set; then
3873 enableval="$enable_protocols"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3878 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3883 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3894 eval "$ac_cv_use_protocols"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_PROTOCOL" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3912 # Check whether --enable-ftp or --disable-ftp was given.
3913 if test "${enable_ftp+set}" = set; then
3914 enableval="$enable_ftp"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3919 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3924 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x ; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3935 eval "$ac_cv_use_ftp"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3953 # Check whether --enable-http or --disable-http was given.
3954 if test "${enable_http+set}" = set; then
3955 enableval="$enable_http"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3960 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3965 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x ; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3976 eval "$ac_cv_use_http"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3994 # Check whether --enable-fileproto or --disable-fileproto was given.
3995 if test "${enable_fileproto+set}" = set; then
3996 enableval="$enable_fileproto"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4001 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4006 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4017 eval "$ac_cv_use_fileproto"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4035 # Check whether --enable-sockets or --disable-sockets was given.
4036 if test "${enable_sockets+set}" = set; then
4037 enableval="$enable_sockets"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4042 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4047 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4058 eval "$ac_cv_use_sockets"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_SOCKETS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4074 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4076 # Check whether --enable-ole or --disable-ole was given.
4077 if test "${enable_ole+set}" = set; then
4078 enableval="$enable_ole"
4080 if test "$enableval" = yes; then
4081 ac_cv_use_ole='wxUSE_OLE
=yes'
4083 ac_cv_use_ole='wxUSE_OLE
=no
'
4088 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x ; then
4090 eval "DEFAULT_$LINE"
4095 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4099 eval "$ac_cv_use_ole"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_OLE" = yes; then
4105 echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4117 # Check whether --enable-dataobj or --disable-dataobj was given.
4118 if test "${enable_dataobj+set}" = set; then
4119 enableval="$enable_dataobj"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4124 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4129 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4140 eval "$ac_cv_use_dataobj"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_DATAOBJ" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4157 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4159 # Check whether --enable-ipc or --disable-ipc was given.
4160 if test "${enable_ipc+set}" = set; then
4161 enableval="$enable_ipc"
4163 if test "$enableval" = yes; then
4164 ac_cv_use_ipc='wxUSE_IPC
=yes'
4166 ac_cv_use_ipc='wxUSE_IPC
=no
'
4171 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4182 eval "$ac_cv_use_ipc"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4187 if test "$wxUSE_IPC" = yes; then
4188 echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4199 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4201 # Check whether --enable-cmdline or --disable-cmdline was given.
4202 if test "${enable_cmdline+set}" = set; then
4203 enableval="$enable_cmdline"
4205 if test "$enableval" = yes; then
4206 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4208 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4213 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4224 eval "$ac_cv_use_cmdline"
4225 if test "$no_cache" != 1; then
4226 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4229 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4230 echo "$as_me:$LINENO: result: yes" >&5
4231 echo "${ECHO_T}yes" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4240 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4242 # Check whether --enable-datetime or --disable-datetime was given.
4243 if test "${enable_datetime+set}" = set; then
4244 enableval="$enable_datetime"
4246 if test "$enableval" = yes; then
4247 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4249 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4254 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x ; then
4256 eval "DEFAULT_$LINE"
4261 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4265 eval "$ac_cv_use_datetime"
4266 if test "$no_cache" != 1; then
4267 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4270 if test "$wxUSE_DATETIME" = yes; then
4271 echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4281 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4283 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4284 if test "${enable_stopwatch+set}" = set; then
4285 enableval="$enable_stopwatch"
4287 if test "$enableval" = yes; then
4288 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4290 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4295 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4296 if test "x$LINE" != x ; then
4297 eval "DEFAULT_$LINE"
4302 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4306 eval "$ac_cv_use_stopwatch"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_STOPWATCH" = yes; then
4312 echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4322 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4324 # Check whether --enable-dialupman or --disable-dialupman was given.
4325 if test "${enable_dialupman+set}" = set; then
4326 enableval="$enable_dialupman"
4328 if test "$enableval" = yes; then
4329 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4331 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4336 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4337 if test "x$LINE" != x ; then
4338 eval "DEFAULT_$LINE"
4343 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4347 eval "$ac_cv_use_dialupman"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4353 echo "$as_me:$LINENO: result: yes" >&5
4354 echo "${ECHO_T}yes" >&6
4356 echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4365 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4366 if test "${enable_apple_ieee+set}" = set; then
4367 enableval="$enable_apple_ieee"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4372 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4377 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4388 eval "$ac_cv_use_apple_ieee"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_APPLE_IEEE" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4406 # Check whether --enable-timer or --disable-timer was given.
4407 if test "${enable_timer+set}" = set; then
4408 enableval="$enable_timer"
4410 if test "$enableval" = yes; then
4411 ac_cv_use_timer='wxUSE_TIMER
=yes'
4413 ac_cv_use_timer='wxUSE_TIMER
=no
'
4418 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4425 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4429 eval "$ac_cv_use_timer"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4434 if test "$wxUSE_TIMER" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4447 # Check whether --enable-wave or --disable-wave was given.
4448 if test "${enable_wave+set}" = set; then
4449 enableval="$enable_wave"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_wave='wxUSE_WAVE
=yes'
4454 ac_cv_use_wave='wxUSE_WAVE
=no
'
4459 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x ; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4470 eval "$ac_cv_use_wave"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_WAVE" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4488 # Check whether --enable-fraction or --disable-fraction was given.
4489 if test "${enable_fraction+set}" = set; then
4490 enableval="$enable_fraction"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4495 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4500 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x ; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4511 eval "$ac_cv_use_fraction"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4516 if test "$wxUSE_FRACTION" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4529 # Check whether --enable-dynlib or --disable-dynlib was given.
4530 if test "${enable_dynlib+set}" = set; then
4531 enableval="$enable_dynlib"
4533 if test "$enableval" = yes; then
4534 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4536 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4541 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x ; then
4543 eval "DEFAULT_$LINE"
4548 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4552 eval "$ac_cv_use_dynlib"
4553 if test "$no_cache" != 1; then
4554 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4557 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4558 echo "$as_me:$LINENO: result: yes" >&5
4559 echo "${ECHO_T}yes" >&6
4561 echo "$as_me:$LINENO: result: no" >&5
4562 echo "${ECHO_T}no" >&6
4567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4568 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4570 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4571 if test "${enable_dynamicloader+set}" = set; then
4572 enableval="$enable_dynamicloader"
4574 if test "$enableval" = yes; then
4575 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4577 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4582 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4583 if test "x$LINE" != x ; then
4584 eval "DEFAULT_$LINE"
4589 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4593 eval "$ac_cv_use_dynamicloader"
4594 if test "$no_cache" != 1; then
4595 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4598 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4599 echo "$as_me:$LINENO: result: yes" >&5
4600 echo "${ECHO_T}yes" >&6
4602 echo "$as_me:$LINENO: result: no" >&5
4603 echo "${ECHO_T}no" >&6
4608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4609 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4611 # Check whether --enable-longlong or --disable-longlong was given.
4612 if test "${enable_longlong+set}" = set; then
4613 enableval="$enable_longlong"
4615 if test "$enableval" = yes; then
4616 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4618 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4623 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4624 if test "x$LINE" != x ; then
4625 eval "DEFAULT_$LINE"
4630 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4634 eval "$ac_cv_use_longlong"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_LONGLONG" = yes; then
4640 echo "$as_me:$LINENO: result: yes" >&5
4641 echo "${ECHO_T}yes" >&6
4643 echo "$as_me:$LINENO: result: no" >&5
4644 echo "${ECHO_T}no" >&6
4649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4652 # Check whether --enable-geometry or --disable-geometry was given.
4653 if test "${enable_geometry+set}" = set; then
4654 enableval="$enable_geometry"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4659 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4664 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x ; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4675 eval "$ac_cv_use_geometry"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_GEOMETRY" = yes; then
4681 echo "$as_me:$LINENO: result: yes" >&5
4682 echo "${ECHO_T}yes" >&6
4684 echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6
4690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4693 # Check whether --enable-log or --disable-log was given.
4694 if test "${enable_log+set}" = set; then
4695 enableval="$enable_log"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_log='wxUSE_LOG
=yes'
4700 ac_cv_use_log='wxUSE_LOG
=no
'
4705 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x ; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4716 eval "$ac_cv_use_log"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4721 if test "$wxUSE_LOG" = yes; then
4722 echo "$as_me:$LINENO: result: yes" >&5
4723 echo "${ECHO_T}yes" >&6
4725 echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6
4731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4734 # Check whether --enable-streams or --disable-streams was given.
4735 if test "${enable_streams+set}" = set; then
4736 enableval="$enable_streams"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4741 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4746 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4757 eval "$ac_cv_use_streams"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_STREAMS" = yes; then
4763 echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6
4766 echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6
4772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4773 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4775 # Check whether --enable-file or --disable-file was given.
4776 if test "${enable_file+set}" = set; then
4777 enableval="$enable_file"
4779 if test "$enableval" = yes; then
4780 ac_cv_use_file='wxUSE_FILE
=yes'
4782 ac_cv_use_file='wxUSE_FILE
=no
'
4787 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x ; then
4789 eval "DEFAULT_$LINE"
4794 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4798 eval "$ac_cv_use_file"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_FILE" = yes; then
4804 echo "$as_me:$LINENO: result: yes" >&5
4805 echo "${ECHO_T}yes" >&6
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4816 # Check whether --enable-ffile or --disable-ffile was given.
4817 if test "${enable_ffile+set}" = set; then
4818 enableval="$enable_ffile"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4823 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4828 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x ; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4839 eval "$ac_cv_use_ffile"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_FFILE" = yes; then
4845 echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4857 # Check whether --enable-textbuf or --disable-textbuf was given.
4858 if test "${enable_textbuf+set}" = set; then
4859 enableval="$enable_textbuf"
4861 if test "$enableval" = yes; then
4862 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4864 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4869 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x ; then
4871 eval "DEFAULT_$LINE"
4876 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4880 eval "$ac_cv_use_textbuf"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4885 if test "$wxUSE_TEXTBUFFER" = yes; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4898 # Check whether --enable-textfile or --disable-textfile was given.
4899 if test "${enable_textfile+set}" = set; then
4900 enableval="$enable_textfile"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4905 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4910 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4921 eval "$ac_cv_use_textfile"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4926 if test "$wxUSE_TEXTFILE" = yes; then
4927 echo "$as_me:$LINENO: result: yes" >&5
4928 echo "${ECHO_T}yes" >&6
4930 echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6
4936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4939 # Check whether --enable-fontmap or --disable-fontmap was given.
4940 if test "${enable_fontmap+set}" = set; then
4941 enableval="$enable_fontmap"
4943 if test "$enableval" = yes; then
4944 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4946 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4951 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x ; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4962 eval "$ac_cv_use_fontmap"
4963 if test "$no_cache" != 1; then
4964 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4967 if test "$wxUSE_FONTMAP" = yes; then
4968 echo "$as_me:$LINENO: result: yes" >&5
4969 echo "${ECHO_T}yes" >&6
4971 echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4980 # Check whether --enable-unicode or --disable-unicode was given.
4981 if test "${enable_unicode+set}" = set; then
4982 enableval="$enable_unicode"
4984 if test "$enableval" = yes; then
4985 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4987 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4992 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x ; then
4994 eval "DEFAULT_$LINE"
4999 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5003 eval "$ac_cv_use_unicode"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_UNICODE" = yes; then
5009 echo "$as_me:$LINENO: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5021 # Check whether --enable-mslu or --disable-mslu was given.
5022 if test "${enable_mslu+set}" = set; then
5023 enableval="$enable_mslu"
5025 if test "$enableval" = yes; then
5026 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5028 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5033 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x ; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5044 eval "$ac_cv_use_mslu"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_UNICODE_MSLU" = yes; then
5050 echo "$as_me:$LINENO: result: yes" >&5
5051 echo "${ECHO_T}yes" >&6
5053 echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6
5059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5060 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5062 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5063 if test "${enable_wxprintfv+set}" = set; then
5064 enableval="$enable_wxprintfv"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5069 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5074 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x ; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5085 eval "$ac_cv_use_wxprintfv"
5086 if test "$no_cache" != 1; then
5087 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5090 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5091 echo "$as_me:$LINENO: result: yes" >&5
5092 echo "${ECHO_T}yes" >&6
5094 echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6
5100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5103 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5104 if test "${enable_std_iostreams+set}" = set; then
5105 enableval="$enable_std_iostreams"
5107 if test "$enableval" = yes; then
5108 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5110 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5115 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x ; then
5117 eval "DEFAULT_$LINE"
5122 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5126 eval "$ac_cv_use_std_iostreams"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_STD_IOSTREAM" = yes; then
5132 echo "$as_me:$LINENO: result: yes" >&5
5133 echo "${ECHO_T}yes" >&6
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5142 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5144 # Check whether --enable-filesystem or --disable-filesystem was given.
5145 if test "${enable_filesystem+set}" = set; then
5146 enableval="$enable_filesystem"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5151 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5156 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x ; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5167 eval "$ac_cv_use_filesystem"
5168 if test "$no_cache" != 1; then
5169 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5172 if test "$wxUSE_FILESYSTEM" = yes; then
5173 echo "$as_me:$LINENO: result: yes" >&5
5174 echo "${ECHO_T}yes" >&6
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5185 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5186 if test "${enable_fs_inet+set}" = set; then
5187 enableval="$enable_fs_inet"
5189 if test "$enableval" = yes; then
5190 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5192 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5197 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5204 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5208 eval "$ac_cv_use_fs_inet"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5213 if test "$wxUSE_FS_INET" = yes; then
5214 echo "$as_me:$LINENO: result: yes" >&5
5215 echo "${ECHO_T}yes" >&6
5217 echo "$as_me:$LINENO: result: no" >&5
5218 echo "${ECHO_T}no" >&6
5223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5224 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5226 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5227 if test "${enable_fs_zip+set}" = set; then
5228 enableval="$enable_fs_zip"
5230 if test "$enableval" = yes; then
5231 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5233 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5238 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5239 if test "x$LINE" != x ; then
5240 eval "DEFAULT_$LINE"
5245 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5249 eval "$ac_cv_use_fs_zip"
5250 if test "$no_cache" != 1; then
5251 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5254 if test "$wxUSE_FS_ZIP" = yes; then
5255 echo "$as_me:$LINENO: result: yes" >&5
5256 echo "${ECHO_T}yes" >&6
5258 echo "$as_me:$LINENO: result: no" >&5
5259 echo "${ECHO_T}no" >&6
5264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5265 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5267 # Check whether --enable-zipstream or --disable-zipstream was given.
5268 if test "${enable_zipstream+set}" = set; then
5269 enableval="$enable_zipstream"
5271 if test "$enableval" = yes; then
5272 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5274 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5279 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5280 if test "x$LINE" != x ; then
5281 eval "DEFAULT_$LINE"
5286 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5290 eval "$ac_cv_use_zipstream"
5291 if test "$no_cache" != 1; then
5292 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5295 if test "$wxUSE_ZIPSTREAM" = yes; then
5296 echo "$as_me:$LINENO: result: yes" >&5
5297 echo "${ECHO_T}yes" >&6
5299 echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5309 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5310 if test "${enable_catch_segvs+set}" = set; then
5311 enableval="$enable_catch_segvs"
5313 if test "$enableval" = yes; then
5314 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5316 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5321 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5332 eval "$ac_cv_use_catch_segvs"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5337 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339 echo "${ECHO_T}yes" >&6
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5350 # Check whether --enable-snglinst or --disable-snglinst was given.
5351 if test "${enable_snglinst+set}" = set; then
5352 enableval="$enable_snglinst"
5354 if test "$enableval" = yes; then
5355 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5357 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5362 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x ; then
5364 eval "DEFAULT_$LINE"
5369 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5373 eval "$ac_cv_use_snglinst"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5378 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380 echo "${ECHO_T}yes" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5392 # Check whether --enable-mimetype or --disable-mimetype was given.
5393 if test "${enable_mimetype+set}" = set; then
5394 enableval="$enable_mimetype"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5399 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5404 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x ; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5415 eval "$ac_cv_use_mimetype"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_MIMETYPE" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5433 # Check whether --enable-system_options or --disable-system_options was given.
5434 if test "${enable_system_options+set}" = set; then
5435 enableval="$enable_system_options"
5437 if test "$enableval" = yes; then
5438 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5440 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5445 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x ; then
5447 eval "DEFAULT_$LINE"
5452 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5456 eval "$ac_cv_use_system_options"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5461 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5473 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5475 # Check whether --enable-url or --disable-url was given.
5476 if test "${enable_url+set}" = set; then
5477 enableval="$enable_url"
5479 if test "$enableval" = yes; then
5480 ac_cv_use_url='wxUSE_URL
=yes'
5482 ac_cv_use_url='wxUSE_URL
=no
'
5487 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5488 if test "x$LINE" != x ; then
5489 eval "DEFAULT_$LINE"
5494 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5498 eval "$ac_cv_use_url"
5499 if test "$no_cache" != 1; then
5500 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5503 if test "$wxUSE_URL" = yes; then
5504 echo "$as_me:$LINENO: result: yes" >&5
5505 echo "${ECHO_T}yes" >&6
5507 echo "$as_me:$LINENO: result: no" >&5
5508 echo "${ECHO_T}no" >&6
5513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5516 # Check whether --enable-protocol or --disable-protocol was given.
5517 if test "${enable_protocol+set}" = set; then
5518 enableval="$enable_protocol"
5520 if test "$enableval" = yes; then
5521 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5523 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5528 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x ; then
5530 eval "DEFAULT_$LINE"
5535 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5539 eval "$ac_cv_use_protocol"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_PROTOCOL" = yes; then
5545 echo "$as_me:$LINENO: result: yes" >&5
5546 echo "${ECHO_T}yes" >&6
5548 echo "$as_me:$LINENO: result: no" >&5
5549 echo "${ECHO_T}no" >&6
5554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5555 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5557 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5558 if test "${enable_protocol_http+set}" = set; then
5559 enableval="$enable_protocol_http"
5561 if test "$enableval" = yes; then
5562 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5564 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5569 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5570 if test "x$LINE" != x ; then
5571 eval "DEFAULT_$LINE"
5576 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5580 eval "$ac_cv_use_protocol_http"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5585 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5586 echo "$as_me:$LINENO: result: yes" >&5
5587 echo "${ECHO_T}yes" >&6
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5596 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5598 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5599 if test "${enable_protocol_ftp+set}" = set; then
5600 enableval="$enable_protocol_ftp"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5605 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5610 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x ; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5621 eval "$ac_cv_use_protocol_ftp"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5626 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5627 echo "$as_me:$LINENO: result: yes" >&5
5628 echo "${ECHO_T}yes" >&6
5630 echo "$as_me:$LINENO: result: no" >&5
5631 echo "${ECHO_T}no" >&6
5636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5637 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5639 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5640 if test "${enable_protocol_file+set}" = set; then
5641 enableval="$enable_protocol_file"
5643 if test "$enableval" = yes; then
5644 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5646 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5651 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5652 if test "x$LINE" != x ; then
5653 eval "DEFAULT_$LINE"
5658 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5662 eval "$ac_cv_use_protocol_file"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5667 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5668 echo "$as_me:$LINENO: result: yes" >&5
5669 echo "${ECHO_T}yes" >&6
5671 echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5683 # Check whether --enable-threads or --disable-threads was given.
5684 if test "${enable_threads+set}" = set; then
5685 enableval="$enable_threads"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_threads='wxUSE_THREADS
=yes'
5690 ac_cv_use_threads='wxUSE_THREADS
=no
'
5695 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5706 eval "$ac_cv_use_threads"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_THREADS" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5720 if test "$wxUSE_GUI" = "yes"; then
5725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5728 # Check whether --enable-docview or --disable-docview was given.
5729 if test "${enable_docview+set}" = set; then
5730 enableval="$enable_docview"
5732 if test "$enableval" = yes; then
5733 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5735 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5740 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x ; then
5742 eval "DEFAULT_$LINE"
5747 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5751 eval "$ac_cv_use_docview"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5756 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5757 echo "$as_me:$LINENO: result: yes" >&5
5758 echo "${ECHO_T}yes" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5769 # Check whether --enable-help or --disable-help was given.
5770 if test "${enable_help+set}" = set; then
5771 enableval="$enable_help"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_help='wxUSE_HELP
=yes'
5776 ac_cv_use_help='wxUSE_HELP
=no
'
5781 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x ; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5792 eval "$ac_cv_use_help"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5797 if test "$wxUSE_HELP" = yes; then
5798 echo "$as_me:$LINENO: result: yes" >&5
5799 echo "${ECHO_T}yes" >&6
5801 echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6
5807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5810 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5811 if test "${enable_mshtmlhelp+set}" = set; then
5812 enableval="$enable_mshtmlhelp"
5814 if test "$enableval" = yes; then
5815 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5817 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5822 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5823 if test "x$LINE" != x ; then
5824 eval "DEFAULT_$LINE"
5829 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5833 eval "$ac_cv_use_mshtmlhelp"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5838 if test "$wxUSE_MS_HTML_HELP" = yes; then
5839 echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5851 # Check whether --enable-html or --disable-html was given.
5852 if test "${enable_html+set}" = set; then
5853 enableval="$enable_html"
5855 if test "$enableval" = yes; then
5856 ac_cv_use_html='wxUSE_HTML
=yes'
5858 ac_cv_use_html='wxUSE_HTML
=no
'
5863 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5864 if test "x$LINE" != x ; then
5865 eval "DEFAULT_$LINE"
5870 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5874 eval "$ac_cv_use_html"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5879 if test "$wxUSE_HTML" = yes; then
5880 echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5892 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5893 if test "${enable_htmlhelp+set}" = set; then
5894 enableval="$enable_htmlhelp"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5899 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5904 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5915 eval "$ac_cv_use_htmlhelp"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5920 if test "$wxUSE_WXHTML_HELP" = yes; then
5921 echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5933 # Check whether --enable-constraints or --disable-constraints was given.
5934 if test "${enable_constraints+set}" = set; then
5935 enableval="$enable_constraints"
5937 if test "$enableval" = yes; then
5938 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5940 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5945 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5946 if test "x$LINE" != x ; then
5947 eval "DEFAULT_$LINE"
5952 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5956 eval "$ac_cv_use_constraints"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_CONSTRAINTS" = yes; then
5962 echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6
5965 echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6
5971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5974 # Check whether --enable-printarch or --disable-printarch was given.
5975 if test "${enable_printarch+set}" = set; then
5976 enableval="$enable_printarch"
5978 if test "$enableval" = yes; then
5979 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5981 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5986 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5987 if test "x$LINE" != x ; then
5988 eval "DEFAULT_$LINE"
5993 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5997 eval "$ac_cv_use_printarch"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6002 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6003 echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6
6006 echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6015 # Check whether --enable-mdi or --disable-mdi was given.
6016 if test "${enable_mdi+set}" = set; then
6017 enableval="$enable_mdi"
6019 if test "$enableval" = yes; then
6020 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6022 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6027 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6034 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6038 eval "$ac_cv_use_mdi"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6056 # Check whether --enable-loggui or --disable-loggui was given.
6057 if test "${enable_loggui+set}" = set; then
6058 enableval="$enable_loggui"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6063 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6068 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x ; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6079 eval "$ac_cv_use_loggui"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_LOGGUI" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6097 # Check whether --enable-logwin or --disable-logwin was given.
6098 if test "${enable_logwin+set}" = set; then
6099 enableval="$enable_logwin"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6104 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6109 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x ; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6120 eval "$ac_cv_use_logwin"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_LOGWINDOW" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6138 # Check whether --enable-logdialog or --disable-logdialog was given.
6139 if test "${enable_logdialog+set}" = set; then
6140 enableval="$enable_logdialog"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6145 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6150 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6161 eval "$ac_cv_use_logdialog"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_LOGDIALOG" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6178 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6180 # Check whether --enable-postscript or --disable-postscript was given.
6181 if test "${enable_postscript+set}" = set; then
6182 enableval="$enable_postscript"
6184 if test "$enableval" = yes; then
6185 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6187 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6192 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6193 if test "x$LINE" != x ; then
6194 eval "DEFAULT_$LINE"
6199 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6203 eval "$ac_cv_use_postscript"
6204 if test "$no_cache" != 1; then
6205 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6208 if test "$wxUSE_POSTSCRIPT" = yes; then
6209 echo "$as_me:$LINENO: result: yes" >&5
6210 echo "${ECHO_T}yes" >&6
6212 echo "$as_me:$LINENO: result: no" >&5
6213 echo "${ECHO_T}no" >&6
6221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6224 # Check whether --enable-prologio or --disable-prologio was given.
6225 if test "${enable_prologio+set}" = set; then
6226 enableval="$enable_prologio"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6231 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6236 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6247 eval "$ac_cv_use_prologio"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6252 if test "$wxUSE_PROLOGIO" = yes; then
6253 echo "$as_me:$LINENO: result: yes" >&5
6254 echo "${ECHO_T}yes" >&6
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
6262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6265 # Check whether --enable-resources or --disable-resources was given.
6266 if test "${enable_resources+set}" = set; then
6267 enableval="$enable_resources"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6272 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6277 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x ; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6288 eval "$ac_cv_use_resources"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6293 if test "$wxUSE_RESOURCES" = yes; then
6294 echo "$as_me:$LINENO: result: yes" >&5
6295 echo "${ECHO_T}yes" >&6
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6308 # Check whether --enable-clipboard or --disable-clipboard was given.
6309 if test "${enable_clipboard+set}" = set; then
6310 enableval="$enable_clipboard"
6312 if test "$enableval" = yes; then
6313 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6315 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6320 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x ; then
6322 eval "DEFAULT_$LINE"
6327 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6331 eval "$ac_cv_use_clipboard"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_CLIPBOARD" = yes; then
6337 echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6
6340 echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6
6346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6349 # Check whether --enable-dnd or --disable-dnd was given.
6350 if test "${enable_dnd+set}" = set; then
6351 enableval="$enable_dnd"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6356 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6361 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6372 eval "$ac_cv_use_dnd"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6378 echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6
6381 echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6390 # Check whether --enable-metafile or --disable-metafile was given.
6391 if test "${enable_metafile+set}" = set; then
6392 enableval="$enable_metafile"
6394 if test "$enableval" = yes; then
6395 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6397 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6402 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x ; then
6404 eval "DEFAULT_$LINE"
6409 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6413 eval "$ac_cv_use_metafile"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6418 if test "$wxUSE_METAFILE" = yes; then
6419 echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6
6422 echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6434 # Check whether --enable-controls or --disable-controls was given.
6435 if test "${enable_controls+set}" = set; then
6436 enableval="$enable_controls"
6438 if test "$enableval" = yes; then
6439 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6441 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6446 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x ; then
6448 eval "DEFAULT_$LINE"
6453 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6457 eval "$ac_cv_use_controls"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6462 if test "$wxUSE_CONTROLS" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6471 if test "$wxUSE_CONTROLS" = "yes"; then
6472 DEFAULT_wxUSE_ACCEL=yes
6473 DEFAULT_wxUSE_BMPBUTTON=yes
6474 DEFAULT_wxUSE_BUTTON=yes
6475 DEFAULT_wxUSE_CALCTRL=no
6476 DEFAULT_wxUSE_CARET=yes
6477 DEFAULT_wxUSE_COMBOBOX=yes
6478 DEFAULT_wxUSE_CHECKBOX=yes
6479 DEFAULT_wxUSE_CHECKLISTBOX=yes
6480 DEFAULT_wxUSE_CHOICE=yes
6481 DEFAULT_wxUSE_GAUGE=yes
6482 DEFAULT_wxUSE_GRID=yes
6483 DEFAULT_wxUSE_IMAGLIST=yes
6484 DEFAULT_wxUSE_LISTBOOK=yes
6485 DEFAULT_wxUSE_LISTBOX=yes
6486 DEFAULT_wxUSE_LISTCTRL=yes
6487 DEFAULT_wxUSE_NOTEBOOK=yes
6488 DEFAULT_wxUSE_RADIOBOX=yes
6489 DEFAULT_wxUSE_RADIOBTN=yes
6490 DEFAULT_wxUSE_SASH=yes
6491 DEFAULT_wxUSE_SCROLLBAR=yes
6492 DEFAULT_wxUSE_SLIDER=yes
6493 DEFAULT_wxUSE_SPINBTN=yes
6494 DEFAULT_wxUSE_SPINCTRL=yes
6495 DEFAULT_wxUSE_SPLITTER=yes
6496 DEFAULT_wxUSE_STATBMP=yes
6497 DEFAULT_wxUSE_STATBOX=yes
6498 DEFAULT_wxUSE_STATLINE=yes
6499 DEFAULT_wxUSE_STATUSBAR=yes
6500 DEFAULT_wxUSE_TAB_DIALOG=yes
6501 DEFAULT_wxUSE_TOGGLEBTN=yes
6502 DEFAULT_wxUSE_TOOLBAR=yes
6503 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6504 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6505 DEFAULT_wxUSE_TOOLTIPS=yes
6506 DEFAULT_wxUSE_TREECTRL=yes
6507 DEFAULT_wxUSE_POPUPWIN=yes
6508 DEFAULT_wxUSE_TIPWINDOW=yes
6509 elif test "$wxUSE_CONTROLS" = "no"; then
6510 DEFAULT_wxUSE_ACCEL=no
6511 DEFAULT_wxUSE_BMPBUTTON=no
6512 DEFAULT_wxUSE_BUTTON=no
6513 DEFAULT_wxUSE_CALCTRL=no
6514 DEFAULT_wxUSE_CARET=no
6515 DEFAULT_wxUSE_COMBOBOX=no
6516 DEFAULT_wxUSE_CHECKBOX=no
6517 DEFAULT_wxUSE_CHECKLISTBOX=no
6518 DEFAULT_wxUSE_CHOICE=no
6519 DEFAULT_wxUSE_GAUGE=no
6520 DEFAULT_wxUSE_GRID=no
6521 DEFAULT_wxUSE_IMAGLIST=no
6522 DEFAULT_wxUSE_LISTBOOK=no
6523 DEFAULT_wxUSE_LISTBOX=no
6524 DEFAULT_wxUSE_LISTCTRL=no
6525 DEFAULT_wxUSE_NOTEBOOK=no
6526 DEFAULT_wxUSE_RADIOBOX=no
6527 DEFAULT_wxUSE_RADIOBTN=no
6528 DEFAULT_wxUSE_SASH=no
6529 DEFAULT_wxUSE_SCROLLBAR=no
6530 DEFAULT_wxUSE_SLIDER=no
6531 DEFAULT_wxUSE_SPINBTN=no
6532 DEFAULT_wxUSE_SPINCTRL=no
6533 DEFAULT_wxUSE_SPLITTER=no
6534 DEFAULT_wxUSE_STATBMP=no
6535 DEFAULT_wxUSE_STATBOX=no
6536 DEFAULT_wxUSE_STATLINE=no
6537 DEFAULT_wxUSE_STATUSBAR=no
6538 DEFAULT_wxUSE_TAB_DIALOG=no
6539 DEFAULT_wxUSE_TOGGLEBTN=no
6540 DEFAULT_wxUSE_TOOLBAR=no
6541 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6542 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6543 DEFAULT_wxUSE_TOOLTIPS=no
6544 DEFAULT_wxUSE_TREECTRL=no
6545 DEFAULT_wxUSE_POPUPWIN=no
6546 DEFAULT_wxUSE_TIPWINDOW=no
6549 ## FIXME: This is a blatant hack
6550 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6551 wxUSE_PRINTING_ARCHITECTURE=no
6552 wxUSE_DRAG_AND_DROP=no
6553 # Generic notebook requires tab dialog
6554 DEFAULT_wxUSE_TABDIALOG=yes
6555 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6556 DEFAULT_wxUSE_SCROLLBAR=no
6557 DEFAULT_wxUSE_TOOLTIPS=no
6558 DEFAULT_wxUSE_DRAGIMAGE=no
6563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6566 # Check whether --enable-accel or --disable-accel was given.
6567 if test "${enable_accel+set}" = set; then
6568 enableval="$enable_accel"
6570 if test "$enableval" = yes; then
6571 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6573 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6578 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x ; then
6580 eval "DEFAULT_$LINE"
6585 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6589 eval "$ac_cv_use_accel"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6594 if test "$wxUSE_ACCEL" = yes; then
6595 echo "$as_me:$LINENO: result: yes" >&5
6596 echo "${ECHO_T}yes" >&6
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6607 # Check whether --enable-button or --disable-button was given.
6608 if test "${enable_button+set}" = set; then
6609 enableval="$enable_button"
6611 if test "$enableval" = yes; then
6612 ac_cv_use_button='wxUSE_BUTTON
=yes'
6614 ac_cv_use_button='wxUSE_BUTTON
=no
'
6619 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x ; then
6621 eval "DEFAULT_$LINE"
6626 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6630 eval "$ac_cv_use_button"
6631 if test "$no_cache" != 1; then
6632 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6635 if test "$wxUSE_BUTTON" = yes; then
6636 echo "$as_me:$LINENO: result: yes" >&5
6637 echo "${ECHO_T}yes" >&6
6639 echo "$as_me:$LINENO: result: no" >&5
6640 echo "${ECHO_T}no" >&6
6645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6648 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6649 if test "${enable_bmpbutton+set}" = set; then
6650 enableval="$enable_bmpbutton"
6652 if test "$enableval" = yes; then
6653 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6655 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6660 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x ; then
6662 eval "DEFAULT_$LINE"
6667 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6671 eval "$ac_cv_use_bmpbutton"
6672 if test "$no_cache" != 1; then
6673 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6676 if test "$wxUSE_BMPBUTTON" = yes; then
6677 echo "$as_me:$LINENO: result: yes" >&5
6678 echo "${ECHO_T}yes" >&6
6680 echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6
6686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6689 # Check whether --enable-calendar or --disable-calendar was given.
6690 if test "${enable_calendar+set}" = set; then
6691 enableval="$enable_calendar"
6693 if test "$enableval" = yes; then
6694 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6696 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6701 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6702 if test "x$LINE" != x ; then
6703 eval "DEFAULT_$LINE"
6708 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6712 eval "$ac_cv_use_calendar"
6713 if test "$no_cache" != 1; then
6714 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6717 if test "$wxUSE_CALCTRL" = yes; then
6718 echo "$as_me:$LINENO: result: yes" >&5
6719 echo "${ECHO_T}yes" >&6
6721 echo "$as_me:$LINENO: result: no" >&5
6722 echo "${ECHO_T}no" >&6
6727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6728 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6730 # Check whether --enable-caret or --disable-caret was given.
6731 if test "${enable_caret+set}" = set; then
6732 enableval="$enable_caret"
6734 if test "$enableval" = yes; then
6735 ac_cv_use_caret='wxUSE_CARET
=yes'
6737 ac_cv_use_caret='wxUSE_CARET
=no
'
6742 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x ; then
6744 eval "DEFAULT_$LINE"
6749 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6753 eval "$ac_cv_use_caret"
6754 if test "$no_cache" != 1; then
6755 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6758 if test "$wxUSE_CARET" = yes; then
6759 echo "$as_me:$LINENO: result: yes" >&5
6760 echo "${ECHO_T}yes" >&6
6762 echo "$as_me:$LINENO: result: no" >&5
6763 echo "${ECHO_T}no" >&6
6768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6771 # Check whether --enable-checkbox or --disable-checkbox was given.
6772 if test "${enable_checkbox+set}" = set; then
6773 enableval="$enable_checkbox"
6775 if test "$enableval" = yes; then
6776 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6778 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6783 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x ; then
6785 eval "DEFAULT_$LINE"
6790 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6794 eval "$ac_cv_use_checkbox"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_CHECKBOX" = yes; then
6800 echo "$as_me:$LINENO: result: yes" >&5
6801 echo "${ECHO_T}yes" >&6
6803 echo "$as_me:$LINENO: result: no" >&5
6804 echo "${ECHO_T}no" >&6
6809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6810 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6812 # Check whether --enable-checklst or --disable-checklst was given.
6813 if test "${enable_checklst+set}" = set; then
6814 enableval="$enable_checklst"
6816 if test "$enableval" = yes; then
6817 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6819 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6824 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x ; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6835 eval "$ac_cv_use_checklst"
6836 if test "$no_cache" != 1; then
6837 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6840 if test "$wxUSE_CHECKLST" = yes; then
6841 echo "$as_me:$LINENO: result: yes" >&5
6842 echo "${ECHO_T}yes" >&6
6844 echo "$as_me:$LINENO: result: no" >&5
6845 echo "${ECHO_T}no" >&6
6850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6853 # Check whether --enable-choice or --disable-choice was given.
6854 if test "${enable_choice+set}" = set; then
6855 enableval="$enable_choice"
6857 if test "$enableval" = yes; then
6858 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6860 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6865 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6872 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6876 eval "$ac_cv_use_choice"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_CHOICE" = yes; then
6882 echo "$as_me:$LINENO: result: yes" >&5
6883 echo "${ECHO_T}yes" >&6
6885 echo "$as_me:$LINENO: result: no" >&5
6886 echo "${ECHO_T}no" >&6
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6894 # Check whether --enable-combobox or --disable-combobox was given.
6895 if test "${enable_combobox+set}" = set; then
6896 enableval="$enable_combobox"
6898 if test "$enableval" = yes; then
6899 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6901 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6906 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6913 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6917 eval "$ac_cv_use_combobox"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6922 if test "$wxUSE_COMBOBOX" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6933 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6935 # Check whether --enable-display or --disable-display was given.
6936 if test "${enable_display+set}" = set; then
6937 enableval="$enable_display"
6939 if test "$enableval" = yes; then
6940 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6942 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6947 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6954 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6958 eval "$ac_cv_use_display"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6963 if test "$wxUSE_DISPLAY" = yes; then
6964 echo "$as_me:$LINENO: result: yes" >&5
6965 echo "${ECHO_T}yes" >&6
6967 echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6
6973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6976 # Check whether --enable-gauge or --disable-gauge was given.
6977 if test "${enable_gauge+set}" = set; then
6978 enableval="$enable_gauge"
6980 if test "$enableval" = yes; then
6981 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6983 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6988 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6995 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6999 eval "$ac_cv_use_gauge"
7000 if test "$no_cache" != 1; then
7001 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7004 if test "$wxUSE_GAUGE" = yes; then
7005 echo "$as_me:$LINENO: result: yes" >&5
7006 echo "${ECHO_T}yes" >&6
7008 echo "$as_me:$LINENO: result: no" >&5
7009 echo "${ECHO_T}no" >&6
7014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7015 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7017 # Check whether --enable-grid or --disable-grid was given.
7018 if test "${enable_grid+set}" = set; then
7019 enableval="$enable_grid"
7021 if test "$enableval" = yes; then
7022 ac_cv_use_grid='wxUSE_GRID
=yes'
7024 ac_cv_use_grid='wxUSE_GRID
=no
'
7029 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x ; then
7031 eval "DEFAULT_$LINE"
7036 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7040 eval "$ac_cv_use_grid"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7045 if test "$wxUSE_GRID" = yes; then
7046 echo "$as_me:$LINENO: result: yes" >&5
7047 echo "${ECHO_T}yes" >&6
7049 echo "$as_me:$LINENO: result: no" >&5
7050 echo "${ECHO_T}no" >&6
7055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7058 # Check whether --enable-imaglist or --disable-imaglist was given.
7059 if test "${enable_imaglist+set}" = set; then
7060 enableval="$enable_imaglist"
7062 if test "$enableval" = yes; then
7063 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7065 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7071 if test "x$LINE" != x ; then
7072 eval "DEFAULT_$LINE"
7077 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7081 eval "$ac_cv_use_imaglist"
7082 if test "$no_cache" != 1; then
7083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7086 if test "$wxUSE_IMAGLIST" = yes; then
7087 echo "$as_me:$LINENO: result: yes" >&5
7088 echo "${ECHO_T}yes" >&6
7090 echo "$as_me:$LINENO: result: no" >&5
7091 echo "${ECHO_T}no" >&6
7096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7099 # Check whether --enable-listbook or --disable-listbook was given.
7100 if test "${enable_listbook+set}" = set; then
7101 enableval="$enable_listbook"
7103 if test "$enableval" = yes; then
7104 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7106 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7112 if test "x$LINE" != x ; then
7113 eval "DEFAULT_$LINE"
7118 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7122 eval "$ac_cv_use_listbook"
7123 if test "$no_cache" != 1; then
7124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7127 if test "$wxUSE_LISTBOOK" = yes; then
7128 echo "$as_me:$LINENO: result: yes" >&5
7129 echo "${ECHO_T}yes" >&6
7131 echo "$as_me:$LINENO: result: no" >&5
7132 echo "${ECHO_T}no" >&6
7137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7140 # Check whether --enable-listbox or --disable-listbox was given.
7141 if test "${enable_listbox+set}" = set; then
7142 enableval="$enable_listbox"
7144 if test "$enableval" = yes; then
7145 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7147 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x ; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7163 eval "$ac_cv_use_listbox"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7168 if test "$wxUSE_LISTBOX" = yes; then
7169 echo "$as_me:$LINENO: result: yes" >&5
7170 echo "${ECHO_T}yes" >&6
7172 echo "$as_me:$LINENO: result: no" >&5
7173 echo "${ECHO_T}no" >&6
7178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7181 # Check whether --enable-listctrl or --disable-listctrl was given.
7182 if test "${enable_listctrl+set}" = set; then
7183 enableval="$enable_listctrl"
7185 if test "$enableval" = yes; then
7186 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7188 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7200 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7204 eval "$ac_cv_use_listctrl"
7205 if test "$no_cache" != 1; then
7206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7209 if test "$wxUSE_LISTCTRL" = yes; then
7210 echo "$as_me:$LINENO: result: yes" >&5
7211 echo "${ECHO_T}yes" >&6
7213 echo "$as_me:$LINENO: result: no" >&5
7214 echo "${ECHO_T}no" >&6
7219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7222 # Check whether --enable-notebook or --disable-notebook was given.
7223 if test "${enable_notebook+set}" = set; then
7224 enableval="$enable_notebook"
7226 if test "$enableval" = yes; then
7227 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7229 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7241 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7245 eval "$ac_cv_use_notebook"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7250 if test "$wxUSE_NOTEBOOK" = yes; then
7251 echo "$as_me:$LINENO: result: yes" >&5
7252 echo "${ECHO_T}yes" >&6
7254 echo "$as_me:$LINENO: result: no" >&5
7255 echo "${ECHO_T}no" >&6
7260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7261 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7263 # Check whether --enable-radiobox or --disable-radiobox was given.
7264 if test "${enable_radiobox+set}" = set; then
7265 enableval="$enable_radiobox"
7267 if test "$enableval" = yes; then
7268 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7270 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7275 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x ; then
7277 eval "DEFAULT_$LINE"
7282 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7286 eval "$ac_cv_use_radiobox"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7291 if test "$wxUSE_RADIOBOX" = yes; then
7292 echo "$as_me:$LINENO: result: yes" >&5
7293 echo "${ECHO_T}yes" >&6
7295 echo "$as_me:$LINENO: result: no" >&5
7296 echo "${ECHO_T}no" >&6
7301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7304 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7305 if test "${enable_radiobtn+set}" = set; then
7306 enableval="$enable_radiobtn"
7308 if test "$enableval" = yes; then
7309 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7311 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7316 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7323 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7327 eval "$ac_cv_use_radiobtn"
7328 if test "$no_cache" != 1; then
7329 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7332 if test "$wxUSE_RADIOBTN" = yes; then
7333 echo "$as_me:$LINENO: result: yes" >&5
7334 echo "${ECHO_T}yes" >&6
7336 echo "$as_me:$LINENO: result: no" >&5
7337 echo "${ECHO_T}no" >&6
7342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7343 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7345 # Check whether --enable-sash or --disable-sash was given.
7346 if test "${enable_sash+set}" = set; then
7347 enableval="$enable_sash"
7349 if test "$enableval" = yes; then
7350 ac_cv_use_sash='wxUSE_SASH
=yes'
7352 ac_cv_use_sash='wxUSE_SASH
=no
'
7357 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7358 if test "x$LINE" != x ; then
7359 eval "DEFAULT_$LINE"
7364 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7368 eval "$ac_cv_use_sash"
7369 if test "$no_cache" != 1; then
7370 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7373 if test "$wxUSE_SASH" = yes; then
7374 echo "$as_me:$LINENO: result: yes" >&5
7375 echo "${ECHO_T}yes" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7384 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7386 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7387 if test "${enable_scrollbar+set}" = set; then
7388 enableval="$enable_scrollbar"
7390 if test "$enableval" = yes; then
7391 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7393 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7398 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7399 if test "x$LINE" != x ; then
7400 eval "DEFAULT_$LINE"
7405 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7409 eval "$ac_cv_use_scrollbar"
7410 if test "$no_cache" != 1; then
7411 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7414 if test "$wxUSE_SCROLLBAR" = yes; then
7415 echo "$as_me:$LINENO: result: yes" >&5
7416 echo "${ECHO_T}yes" >&6
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7427 # Check whether --enable-slider or --disable-slider was given.
7428 if test "${enable_slider+set}" = set; then
7429 enableval="$enable_slider"
7431 if test "$enableval" = yes; then
7432 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7434 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7439 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7440 if test "x$LINE" != x ; then
7441 eval "DEFAULT_$LINE"
7446 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7450 eval "$ac_cv_use_slider"
7451 if test "$no_cache" != 1; then
7452 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7455 if test "$wxUSE_SLIDER" = yes; then
7456 echo "$as_me:$LINENO: result: yes" >&5
7457 echo "${ECHO_T}yes" >&6
7459 echo "$as_me:$LINENO: result: no" >&5
7460 echo "${ECHO_T}no" >&6
7465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7466 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7468 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7469 if test "${enable_spinbtn+set}" = set; then
7470 enableval="$enable_spinbtn"
7472 if test "$enableval" = yes; then
7473 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7475 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7480 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7481 if test "x$LINE" != x ; then
7482 eval "DEFAULT_$LINE"
7487 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7491 eval "$ac_cv_use_spinbtn"
7492 if test "$no_cache" != 1; then
7493 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7496 if test "$wxUSE_SPINBTN" = yes; then
7497 echo "$as_me:$LINENO: result: yes" >&5
7498 echo "${ECHO_T}yes" >&6
7500 echo "$as_me:$LINENO: result: no" >&5
7501 echo "${ECHO_T}no" >&6
7506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7507 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7509 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7510 if test "${enable_spinctrl+set}" = set; then
7511 enableval="$enable_spinctrl"
7513 if test "$enableval" = yes; then
7514 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7516 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7521 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x ; then
7523 eval "DEFAULT_$LINE"
7528 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7532 eval "$ac_cv_use_spinctrl"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7537 if test "$wxUSE_SPINCTRL" = yes; then
7538 echo "$as_me:$LINENO: result: yes" >&5
7539 echo "${ECHO_T}yes" >&6
7541 echo "$as_me:$LINENO: result: no" >&5
7542 echo "${ECHO_T}no" >&6
7547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7550 # Check whether --enable-splitter or --disable-splitter was given.
7551 if test "${enable_splitter+set}" = set; then
7552 enableval="$enable_splitter"
7554 if test "$enableval" = yes; then
7555 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7557 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7562 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x ; then
7564 eval "DEFAULT_$LINE"
7569 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7573 eval "$ac_cv_use_splitter"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7578 if test "$wxUSE_SPLITTER" = yes; then
7579 echo "$as_me:$LINENO: result: yes" >&5
7580 echo "${ECHO_T}yes" >&6
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7589 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7591 # Check whether --enable-statbmp or --disable-statbmp was given.
7592 if test "${enable_statbmp+set}" = set; then
7593 enableval="$enable_statbmp"
7595 if test "$enableval" = yes; then
7596 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7598 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7603 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7610 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7614 eval "$ac_cv_use_statbmp"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7619 if test "$wxUSE_STATBMP" = yes; then
7620 echo "$as_me:$LINENO: result: yes" >&5
7621 echo "${ECHO_T}yes" >&6
7623 echo "$as_me:$LINENO: result: no" >&5
7624 echo "${ECHO_T}no" >&6
7629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7632 # Check whether --enable-statbox or --disable-statbox was given.
7633 if test "${enable_statbox+set}" = set; then
7634 enableval="$enable_statbox"
7636 if test "$enableval" = yes; then
7637 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7639 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7644 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x ; then
7646 eval "DEFAULT_$LINE"
7651 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7655 eval "$ac_cv_use_statbox"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7660 if test "$wxUSE_STATBOX" = yes; then
7661 echo "$as_me:$LINENO: result: yes" >&5
7662 echo "${ECHO_T}yes" >&6
7664 echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6
7670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7671 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7673 # Check whether --enable-statline or --disable-statline was given.
7674 if test "${enable_statline+set}" = set; then
7675 enableval="$enable_statline"
7677 if test "$enableval" = yes; then
7678 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7680 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7685 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x ; then
7687 eval "DEFAULT_$LINE"
7692 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7696 eval "$ac_cv_use_statline"
7697 if test "$no_cache" != 1; then
7698 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7701 if test "$wxUSE_STATLINE" = yes; then
7702 echo "$as_me:$LINENO: result: yes" >&5
7703 echo "${ECHO_T}yes" >&6
7705 echo "$as_me:$LINENO: result: no" >&5
7706 echo "${ECHO_T}no" >&6
7711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7714 # Check whether --enable-stattext or --disable-stattext was given.
7715 if test "${enable_stattext+set}" = set; then
7716 enableval="$enable_stattext"
7718 if test "$enableval" = yes; then
7719 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7721 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7726 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x ; then
7728 eval "DEFAULT_$LINE"
7733 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7737 eval "$ac_cv_use_stattext"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7742 if test "$wxUSE_STATTEXT" = yes; then
7743 echo "$as_me:$LINENO: result: yes" >&5
7744 echo "${ECHO_T}yes" >&6
7746 echo "$as_me:$LINENO: result: no" >&5
7747 echo "${ECHO_T}no" >&6
7752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7755 # Check whether --enable-statusbar or --disable-statusbar was given.
7756 if test "${enable_statusbar+set}" = set; then
7757 enableval="$enable_statusbar"
7759 if test "$enableval" = yes; then
7760 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7762 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7767 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7768 if test "x$LINE" != x ; then
7769 eval "DEFAULT_$LINE"
7774 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7778 eval "$ac_cv_use_statusbar"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7783 if test "$wxUSE_STATUSBAR" = yes; then
7784 echo "$as_me:$LINENO: result: yes" >&5
7785 echo "${ECHO_T}yes" >&6
7787 echo "$as_me:$LINENO: result: no" >&5
7788 echo "${ECHO_T}no" >&6
7793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7796 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7797 if test "${enable_tabdialog+set}" = set; then
7798 enableval="$enable_tabdialog"
7800 if test "$enableval" = yes; then
7801 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7803 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7808 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7809 if test "x$LINE" != x ; then
7810 eval "DEFAULT_$LINE"
7815 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7819 eval "$ac_cv_use_tabdialog"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7824 if test "$wxUSE_TABDIALOG" = yes; then
7825 echo "$as_me:$LINENO: result: yes" >&5
7826 echo "${ECHO_T}yes" >&6
7828 echo "$as_me:$LINENO: result: no" >&5
7829 echo "${ECHO_T}no" >&6
7834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7837 # Check whether --enable-textctrl or --disable-textctrl was given.
7838 if test "${enable_textctrl+set}" = set; then
7839 enableval="$enable_textctrl"
7841 if test "$enableval" = yes; then
7842 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7844 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7849 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7850 if test "x$LINE" != x ; then
7851 eval "DEFAULT_$LINE"
7856 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7860 eval "$ac_cv_use_textctrl"
7861 if test "$no_cache" != 1; then
7862 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7865 if test "$wxUSE_TEXTCTRL" = yes; then
7866 echo "$as_me:$LINENO: result: yes" >&5
7867 echo "${ECHO_T}yes" >&6
7869 echo "$as_me:$LINENO: result: no" >&5
7870 echo "${ECHO_T}no" >&6
7875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7876 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7878 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7879 if test "${enable_togglebtn+set}" = set; then
7880 enableval="$enable_togglebtn"
7882 if test "$enableval" = yes; then
7883 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7885 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7890 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7897 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7901 eval "$ac_cv_use_togglebtn"
7902 if test "$no_cache" != 1; then
7903 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7906 if test "$wxUSE_TOGGLEBTN" = yes; then
7907 echo "$as_me:$LINENO: result: yes" >&5
7908 echo "${ECHO_T}yes" >&6
7910 echo "$as_me:$LINENO: result: no" >&5
7911 echo "${ECHO_T}no" >&6
7916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7919 # Check whether --enable-toolbar or --disable-toolbar was given.
7920 if test "${enable_toolbar+set}" = set; then
7921 enableval="$enable_toolbar"
7923 if test "$enableval" = yes; then
7924 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7926 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7931 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7938 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7942 eval "$ac_cv_use_toolbar"
7943 if test "$no_cache" != 1; then
7944 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7947 if test "$wxUSE_TOOLBAR" = yes; then
7948 echo "$as_me:$LINENO: result: yes" >&5
7949 echo "${ECHO_T}yes" >&6
7951 echo "$as_me:$LINENO: result: no" >&5
7952 echo "${ECHO_T}no" >&6
7957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7960 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7961 if test "${enable_tbarnative+set}" = set; then
7962 enableval="$enable_tbarnative"
7964 if test "$enableval" = yes; then
7965 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7967 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7972 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7979 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7983 eval "$ac_cv_use_tbarnative"
7984 if test "$no_cache" != 1; then
7985 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7988 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7989 echo "$as_me:$LINENO: result: yes" >&5
7990 echo "${ECHO_T}yes" >&6
7992 echo "$as_me:$LINENO: result: no" >&5
7993 echo "${ECHO_T}no" >&6
7998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8001 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8002 if test "${enable_tbarsmpl+set}" = set; then
8003 enableval="$enable_tbarsmpl"
8005 if test "$enableval" = yes; then
8006 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8008 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8013 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8014 if test "x$LINE" != x ; then
8015 eval "DEFAULT_$LINE"
8020 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8024 eval "$ac_cv_use_tbarsmpl"
8025 if test "$no_cache" != 1; then
8026 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8029 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8030 echo "$as_me:$LINENO: result: yes" >&5
8031 echo "${ECHO_T}yes" >&6
8033 echo "$as_me:$LINENO: result: no" >&5
8034 echo "${ECHO_T}no" >&6
8039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8042 # Check whether --enable-treectrl or --disable-treectrl was given.
8043 if test "${enable_treectrl+set}" = set; then
8044 enableval="$enable_treectrl"
8046 if test "$enableval" = yes; then
8047 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8049 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8054 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8055 if test "x$LINE" != x ; then
8056 eval "DEFAULT_$LINE"
8061 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8065 eval "$ac_cv_use_treectrl"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8070 if test "$wxUSE_TREECTRL" = yes; then
8071 echo "$as_me:$LINENO: result: yes" >&5
8072 echo "${ECHO_T}yes" >&6
8074 echo "$as_me:$LINENO: result: no" >&5
8075 echo "${ECHO_T}no" >&6
8080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8081 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8083 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8084 if test "${enable_tipwindow+set}" = set; then
8085 enableval="$enable_tipwindow"
8087 if test "$enableval" = yes; then
8088 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8090 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8095 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8096 if test "x$LINE" != x ; then
8097 eval "DEFAULT_$LINE"
8102 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8106 eval "$ac_cv_use_tipwindow"
8107 if test "$no_cache" != 1; then
8108 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8111 if test "$wxUSE_TIPWINDOW" = yes; then
8112 echo "$as_me:$LINENO: result: yes" >&5
8113 echo "${ECHO_T}yes" >&6
8115 echo "$as_me:$LINENO: result: no" >&5
8116 echo "${ECHO_T}no" >&6
8121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8124 # Check whether --enable-popupwin or --disable-popupwin was given.
8125 if test "${enable_popupwin+set}" = set; then
8126 enableval="$enable_popupwin"
8128 if test "$enableval" = yes; then
8129 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8131 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8136 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8143 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8147 eval "$ac_cv_use_popupwin"
8148 if test "$no_cache" != 1; then
8149 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8152 if test "$wxUSE_POPUPWIN" = yes; then
8153 echo "$as_me:$LINENO: result: yes" >&5
8154 echo "${ECHO_T}yes" >&6
8156 echo "$as_me:$LINENO: result: no" >&5
8157 echo "${ECHO_T}no" >&6
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8167 # Check whether --enable-commondlg or --disable-commondlg was given.
8168 if test "${enable_commondlg+set}" = set; then
8169 enableval="$enable_commondlg"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8174 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8179 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x ; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8190 eval "$ac_cv_use_commondlg"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_COMMONDLGS" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8208 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8209 if test "${enable_choicedlg+set}" = set; then
8210 enableval="$enable_choicedlg"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8215 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8220 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8231 eval "$ac_cv_use_choicedlg"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8236 if test "$wxUSE_CHOICEDLG" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8249 # Check whether --enable-coldlg or --disable-coldlg was given.
8250 if test "${enable_coldlg+set}" = set; then
8251 enableval="$enable_coldlg"
8253 if test "$enableval" = yes; then
8254 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8256 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8261 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8268 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8272 eval "$ac_cv_use_coldlg"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_COLOURDLG" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8290 # Check whether --enable-filedlg or --disable-filedlg was given.
8291 if test "${enable_filedlg+set}" = set; then
8292 enableval="$enable_filedlg"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8297 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8302 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x ; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8313 eval "$ac_cv_use_filedlg"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8318 if test "$wxUSE_FILEDLG" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8331 # Check whether --enable-finddlg or --disable-finddlg was given.
8332 if test "${enable_finddlg+set}" = set; then
8333 enableval="$enable_finddlg"
8335 if test "$enableval" = yes; then
8336 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8338 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8343 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x ; then
8345 eval "DEFAULT_$LINE"
8350 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8354 eval "$ac_cv_use_finddlg"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_FINDREPLDLG" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8372 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8373 if test "${enable_fontdlg+set}" = set; then
8374 enableval="$enable_fontdlg"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8379 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8384 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x ; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8395 eval "$ac_cv_use_fontdlg"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_FONTDLG" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8413 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8414 if test "${enable_dirdlg+set}" = set; then
8415 enableval="$enable_dirdlg"
8417 if test "$enableval" = yes; then
8418 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8420 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8425 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x ; then
8427 eval "DEFAULT_$LINE"
8432 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8436 eval "$ac_cv_use_dirdlg"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_DIRDLG" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8454 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8455 if test "${enable_msgdlg+set}" = set; then
8456 enableval="$enable_msgdlg"
8458 if test "$enableval" = yes; then
8459 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8461 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8466 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x ; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8477 eval "$ac_cv_use_msgdlg"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_MSGDLG" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8495 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8496 if test "${enable_numberdlg+set}" = set; then
8497 enableval="$enable_numberdlg"
8499 if test "$enableval" = yes; then
8500 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8502 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8507 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x ; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8518 eval "$ac_cv_use_numberdlg"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8523 if test "$wxUSE_NUMBERDLG" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8536 # Check whether --enable-splash or --disable-splash was given.
8537 if test "${enable_splash+set}" = set; then
8538 enableval="$enable_splash"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8543 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8548 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8559 eval "$ac_cv_use_splash"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8564 if test "$wxUSE_SPLASH" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8577 # Check whether --enable-textdlg or --disable-textdlg was given.
8578 if test "${enable_textdlg+set}" = set; then
8579 enableval="$enable_textdlg"
8581 if test "$enableval" = yes; then
8582 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8584 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8589 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x ; then
8591 eval "DEFAULT_$LINE"
8596 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8600 eval "$ac_cv_use_textdlg"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_TEXTDLG" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8618 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8619 if test "${enable_tipdlg+set}" = set; then
8620 enableval="$enable_tipdlg"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8625 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8630 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x ; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8641 eval "$ac_cv_use_tipdlg"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8646 if test "$wxUSE_STARTUP_TIPS" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8659 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8660 if test "${enable_progressdlg+set}" = set; then
8661 enableval="$enable_progressdlg"
8663 if test "$enableval" = yes; then
8664 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8666 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8671 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x ; then
8673 eval "DEFAULT_$LINE"
8678 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8682 eval "$ac_cv_use_progressdlg"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_PROGRESSDLG" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8700 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8701 if test "${enable_wizarddlg+set}" = set; then
8702 enableval="$enable_wizarddlg"
8704 if test "$enableval" = yes; then
8705 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8707 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8712 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x ; then
8714 eval "DEFAULT_$LINE"
8719 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8723 eval "$ac_cv_use_wizarddlg"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8728 if test "$wxUSE_WIZARDDLG" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8743 # Check whether --enable-menus or --disable-menus was given.
8744 if test "${enable_menus+set}" = set; then
8745 enableval="$enable_menus"
8747 if test "$enableval" = yes; then
8748 ac_cv_use_menus='wxUSE_MENUS
=yes'
8750 ac_cv_use_menus='wxUSE_MENUS
=no
'
8755 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8756 if test "x$LINE" != x ; then
8757 eval "DEFAULT_$LINE"
8762 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8766 eval "$ac_cv_use_menus"
8767 if test "$no_cache" != 1; then
8768 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8771 if test "$wxUSE_MENUS" = yes; then
8772 echo "$as_me:$LINENO: result: yes" >&5
8773 echo "${ECHO_T}yes" >&6
8775 echo "$as_me:$LINENO: result: no" >&5
8776 echo "${ECHO_T}no" >&6
8781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8782 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8784 # Check whether --enable-miniframe or --disable-miniframe was given.
8785 if test "${enable_miniframe+set}" = set; then
8786 enableval="$enable_miniframe"
8788 if test "$enableval" = yes; then
8789 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8791 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8796 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8797 if test "x$LINE" != x ; then
8798 eval "DEFAULT_$LINE"
8803 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8807 eval "$ac_cv_use_miniframe"
8808 if test "$no_cache" != 1; then
8809 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8812 if test "$wxUSE_MINIFRAME" = yes; then
8813 echo "$as_me:$LINENO: result: yes" >&5
8814 echo "${ECHO_T}yes" >&6
8816 echo "$as_me:$LINENO: result: no" >&5
8817 echo "${ECHO_T}no" >&6
8822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8825 # Check whether --enable-tooltips or --disable-tooltips was given.
8826 if test "${enable_tooltips+set}" = set; then
8827 enableval="$enable_tooltips"
8829 if test "$enableval" = yes; then
8830 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8832 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8837 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8838 if test "x$LINE" != x ; then
8839 eval "DEFAULT_$LINE"
8844 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8848 eval "$ac_cv_use_tooltips"
8849 if test "$no_cache" != 1; then
8850 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8853 if test "$wxUSE_TOOLTIPS" = yes; then
8854 echo "$as_me:$LINENO: result: yes" >&5
8855 echo "${ECHO_T}yes" >&6
8857 echo "$as_me:$LINENO: result: no" >&5
8858 echo "${ECHO_T}no" >&6
8863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8864 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8866 # Check whether --enable-splines or --disable-splines was given.
8867 if test "${enable_splines+set}" = set; then
8868 enableval="$enable_splines"
8870 if test "$enableval" = yes; then
8871 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8873 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8878 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8879 if test "x$LINE" != x ; then
8880 eval "DEFAULT_$LINE"
8885 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8889 eval "$ac_cv_use_splines"
8890 if test "$no_cache" != 1; then
8891 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8894 if test "$wxUSE_SPLINES" = yes; then
8895 echo "$as_me:$LINENO: result: yes" >&5
8896 echo "${ECHO_T}yes" >&6
8898 echo "$as_me:$LINENO: result: no" >&5
8899 echo "${ECHO_T}no" >&6
8904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8907 # Check whether --enable-validators or --disable-validators was given.
8908 if test "${enable_validators+set}" = set; then
8909 enableval="$enable_validators"
8911 if test "$enableval" = yes; then
8912 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8914 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8919 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8920 if test "x$LINE" != x ; then
8921 eval "DEFAULT_$LINE"
8926 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8930 eval "$ac_cv_use_validators"
8931 if test "$no_cache" != 1; then
8932 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8935 if test "$wxUSE_VALIDATORS" = yes; then
8936 echo "$as_me:$LINENO: result: yes" >&5
8937 echo "${ECHO_T}yes" >&6
8939 echo "$as_me:$LINENO: result: no" >&5
8940 echo "${ECHO_T}no" >&6
8945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8948 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8949 if test "${enable_busyinfo+set}" = set; then
8950 enableval="$enable_busyinfo"
8952 if test "$enableval" = yes; then
8953 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8955 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8960 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8961 if test "x$LINE" != x ; then
8962 eval "DEFAULT_$LINE"
8967 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8971 eval "$ac_cv_use_busyinfo"
8972 if test "$no_cache" != 1; then
8973 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8976 if test "$wxUSE_BUSYINFO" = yes; then
8977 echo "$as_me:$LINENO: result: yes" >&5
8978 echo "${ECHO_T}yes" >&6
8980 echo "$as_me:$LINENO: result: no" >&5
8981 echo "${ECHO_T}no" >&6
8986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8989 # Check whether --enable-joystick or --disable-joystick was given.
8990 if test "${enable_joystick+set}" = set; then
8991 enableval="$enable_joystick"
8993 if test "$enableval" = yes; then
8994 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8996 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9001 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9002 if test "x$LINE" != x ; then
9003 eval "DEFAULT_$LINE"
9008 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9012 eval "$ac_cv_use_joystick"
9013 if test "$no_cache" != 1; then
9014 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9017 if test "$wxUSE_JOYSTICK" = yes; then
9018 echo "$as_me:$LINENO: result: yes" >&5
9019 echo "${ECHO_T}yes" >&6
9021 echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6
9027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9030 # Check whether --enable-metafile or --disable-metafile was given.
9031 if test "${enable_metafile+set}" = set; then
9032 enableval="$enable_metafile"
9034 if test "$enableval" = yes; then
9035 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9037 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9042 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9043 if test "x$LINE" != x ; then
9044 eval "DEFAULT_$LINE"
9049 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9053 eval "$ac_cv_use_metafile"
9054 if test "$no_cache" != 1; then
9055 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9058 if test "$wxUSE_METAFILE" = yes; then
9059 echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6
9062 echo "$as_me:$LINENO: result: no" >&5
9063 echo "${ECHO_T}no" >&6
9068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9071 # Check whether --enable-dragimage or --disable-dragimage was given.
9072 if test "${enable_dragimage+set}" = set; then
9073 enableval="$enable_dragimage"
9075 if test "$enableval" = yes; then
9076 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9078 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9083 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9084 if test "x$LINE" != x ; then
9085 eval "DEFAULT_$LINE"
9090 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9094 eval "$ac_cv_use_dragimage"
9095 if test "$no_cache" != 1; then
9096 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9099 if test "$wxUSE_DRAGIMAGE" = yes; then
9100 echo "$as_me:$LINENO: result: yes" >&5
9101 echo "${ECHO_T}yes" >&6
9103 echo "$as_me:$LINENO: result: no" >&5
9104 echo "${ECHO_T}no" >&6
9109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9112 # Check whether --enable-accessibility or --disable-accessibility was given.
9113 if test "${enable_accessibility+set}" = set; then
9114 enableval="$enable_accessibility"
9116 if test "$enableval" = yes; then
9117 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9119 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9124 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9125 if test "x$LINE" != x ; then
9126 eval "DEFAULT_$LINE"
9131 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9135 eval "$ac_cv_use_accessibility"
9136 if test "$no_cache" != 1; then
9137 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9140 if test "$wxUSE_ACCESSIBILITY" = yes; then
9141 echo "$as_me:$LINENO: result: yes" >&5
9142 echo "${ECHO_T}yes" >&6
9144 echo "$as_me:$LINENO: result: no" >&5
9145 echo "${ECHO_T}no" >&6
9152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9153 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9155 # Check whether --enable-palette or --disable-palette was given.
9156 if test "${enable_palette+set}" = set; then
9157 enableval="$enable_palette"
9159 if test "$enableval" = yes; then
9160 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9162 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9167 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9168 if test "x$LINE" != x ; then
9169 eval "DEFAULT_$LINE"
9174 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9178 eval "$ac_cv_use_palette"
9179 if test "$no_cache" != 1; then
9180 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9183 if test "$wxUSE_PALETTE" = yes; then
9184 echo "$as_me:$LINENO: result: yes" >&5
9185 echo "${ECHO_T}yes" >&6
9187 echo "$as_me:$LINENO: result: no" >&5
9188 echo "${ECHO_T}no" >&6
9193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9194 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9196 # Check whether --enable-image or --disable-image was given.
9197 if test "${enable_image+set}" = set; then
9198 enableval="$enable_image"
9200 if test "$enableval" = yes; then
9201 ac_cv_use_image='wxUSE_IMAGE
=yes'
9203 ac_cv_use_image='wxUSE_IMAGE
=no
'
9208 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9215 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9219 eval "$ac_cv_use_image"
9220 if test "$no_cache" != 1; then
9221 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9224 if test "$wxUSE_IMAGE" = yes; then
9225 echo "$as_me:$LINENO: result: yes" >&5
9226 echo "${ECHO_T}yes" >&6
9228 echo "$as_me:$LINENO: result: no" >&5
9229 echo "${ECHO_T}no" >&6
9234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9235 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9237 # Check whether --enable-gif or --disable-gif was given.
9238 if test "${enable_gif+set}" = set; then
9239 enableval="$enable_gif"
9241 if test "$enableval" = yes; then
9242 ac_cv_use_gif='wxUSE_GIF
=yes'
9244 ac_cv_use_gif='wxUSE_GIF
=no
'
9249 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9250 if test "x$LINE" != x ; then
9251 eval "DEFAULT_$LINE"
9256 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9260 eval "$ac_cv_use_gif"
9261 if test "$no_cache" != 1; then
9262 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9265 if test "$wxUSE_GIF" = yes; then
9266 echo "$as_me:$LINENO: result: yes" >&5
9267 echo "${ECHO_T}yes" >&6
9269 echo "$as_me:$LINENO: result: no" >&5
9270 echo "${ECHO_T}no" >&6
9275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9276 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9278 # Check whether --enable-pcx or --disable-pcx was given.
9279 if test "${enable_pcx+set}" = set; then
9280 enableval="$enable_pcx"
9282 if test "$enableval" = yes; then
9283 ac_cv_use_pcx='wxUSE_PCX
=yes'
9285 ac_cv_use_pcx='wxUSE_PCX
=no
'
9290 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9291 if test "x$LINE" != x ; then
9292 eval "DEFAULT_$LINE"
9297 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9301 eval "$ac_cv_use_pcx"
9302 if test "$no_cache" != 1; then
9303 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9306 if test "$wxUSE_PCX" = yes; then
9307 echo "$as_me:$LINENO: result: yes" >&5
9308 echo "${ECHO_T}yes" >&6
9310 echo "$as_me:$LINENO: result: no" >&5
9311 echo "${ECHO_T}no" >&6
9316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9317 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9319 # Check whether --enable-iff or --disable-iff was given.
9320 if test "${enable_iff+set}" = set; then
9321 enableval="$enable_iff"
9323 if test "$enableval" = yes; then
9324 ac_cv_use_iff='wxUSE_IFF
=yes'
9326 ac_cv_use_iff='wxUSE_IFF
=no
'
9331 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9338 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9342 eval "$ac_cv_use_iff"
9343 if test "$no_cache" != 1; then
9344 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9347 if test "$wxUSE_IFF" = yes; then
9348 echo "$as_me:$LINENO: result: yes" >&5
9349 echo "${ECHO_T}yes" >&6
9351 echo "$as_me:$LINENO: result: no" >&5
9352 echo "${ECHO_T}no" >&6
9357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9358 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9360 # Check whether --enable-pnm or --disable-pnm was given.
9361 if test "${enable_pnm+set}" = set; then
9362 enableval="$enable_pnm"
9364 if test "$enableval" = yes; then
9365 ac_cv_use_pnm='wxUSE_PNM
=yes'
9367 ac_cv_use_pnm='wxUSE_PNM
=no
'
9372 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9373 if test "x$LINE" != x ; then
9374 eval "DEFAULT_$LINE"
9379 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9383 eval "$ac_cv_use_pnm"
9384 if test "$no_cache" != 1; then
9385 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9388 if test "$wxUSE_PNM" = yes; then
9389 echo "$as_me:$LINENO: result: yes" >&5
9390 echo "${ECHO_T}yes" >&6
9392 echo "$as_me:$LINENO: result: no" >&5
9393 echo "${ECHO_T}no" >&6
9398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9399 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9401 # Check whether --enable-xpm or --disable-xpm was given.
9402 if test "${enable_xpm+set}" = set; then
9403 enableval="$enable_xpm"
9405 if test "$enableval" = yes; then
9406 ac_cv_use_xpm='wxUSE_XPM
=yes'
9408 ac_cv_use_xpm='wxUSE_XPM
=no
'
9413 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9414 if test "x$LINE" != x ; then
9415 eval "DEFAULT_$LINE"
9420 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9424 eval "$ac_cv_use_xpm"
9425 if test "$no_cache" != 1; then
9426 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9429 if test "$wxUSE_XPM" = yes; then
9430 echo "$as_me:$LINENO: result: yes" >&5
9431 echo "${ECHO_T}yes" >&6
9433 echo "$as_me:$LINENO: result: no" >&5
9434 echo "${ECHO_T}no" >&6
9439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9440 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9442 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9443 if test "${enable_ico_cur+set}" = set; then
9444 enableval="$enable_ico_cur"
9446 if test "$enableval" = yes; then
9447 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9449 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9454 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9461 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9465 eval "$ac_cv_use_ico_cur"
9466 if test "$no_cache" != 1; then
9467 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9470 if test "$wxUSE_ICO_CUR" = yes; then
9471 echo "$as_me:$LINENO: result: yes" >&5
9472 echo "${ECHO_T}yes" >&6
9474 echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9487 # Check whether --enable-official_build or --disable-official_build was given.
9488 if test "${enable_official_build+set}" = set; then
9489 enableval="$enable_official_build"
9491 if test "$enableval" = yes; then
9492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9494 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9499 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x ; then
9501 eval "DEFAULT_$LINE"
9506 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9510 eval "$ac_cv_use_official_build"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9515 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9523 # Check whether --enable-vendor or --disable-vendor was given.
9524 if test "${enable_vendor+set}" = set; then
9525 enableval="$enable_vendor"
9528 if test "x$VENDOR" = "x"; then
9533 *-pc-os2_emx | *-pc-os2-emx )
9543 echo "saving argument cache $wx_arg_cache_file"
9544 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9548 echo "$as_me:$LINENO: checking for toolkit" >&5
9549 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9551 # In Wine, we need to default to MSW, not GTK or MOTIF
9552 if test "$wxUSE_WINE" = "yes"; then
9553 DEFAULT_DEFAULT_wxUSE_GTK=0
9554 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9555 DEFAULT_DEFAULT_wxUSE_MSW=1
9558 if test "$wxUSE_GUI" = "yes"; then
9560 if test "$USE_BEOS" = 1; then
9561 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9562 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9563 { (exit 1); exit 1; }; }
9566 if test "$TOOLKIT_GIVEN" = 1; then
9567 for toolkit in `echo $ALL_TOOLKITS`; do
9569 eval "value=\$${var}"
9570 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9573 for toolkit in `echo $ALL_TOOLKITS`; do
9574 if test "$has_toolkit_in_cache" != 1; then
9575 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9577 var=DEFAULT_wxUSE_$toolkit
9579 eval "wxUSE_$toolkit=\$${var}"
9583 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9584 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9585 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9588 *-pc-os2_emx | *-pc-os2-emx )
9589 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9592 case "$NUM_TOOLKITS" in
9596 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9597 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9598 { (exit 1); exit 1; }; }
9601 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9602 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9603 { (exit 1); exit 1; }; }
9606 for toolkit in `echo $ALL_TOOLKITS`; do
9608 eval "value=\$${var}"
9609 if test "x$value" != x; then
9610 cache_var=CACHE_$toolkit
9611 eval "cache=\$${cache_var}"
9612 if test "$cache" = 1; then
9613 echo "$var=$value" >> ${wx_arg_cache_file}
9615 if test "$value" = 1; then
9616 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9617 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9618 echo "${ECHO_T}$toolkit_echo" >&6
9623 if test "x$host_alias" != "x"; then
9624 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9625 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9627 echo "$as_me:$LINENO: result: base only" >&5
9628 echo "${ECHO_T}base only" >&6
9636 if test "$wxUSE_MSW" = 1 ; then
9647 if test "$wxUSE_WINE" = "yes"; then
9654 if test "$wants_win32" = 1 ; then
9657 cat >>confdefs.h <<\_ACEOF
9661 cat >>confdefs.h <<\_ACEOF
9665 cat >>confdefs.h <<\_ACEOF
9666 #define __WINDOWS__ 1
9669 cat >>confdefs.h <<\_ACEOF
9670 #define __GNUWIN32__ 1
9673 cat >>confdefs.h <<\_ACEOF
9677 cat >>confdefs.h <<\_ACEOF
9678 #define WINVER 0x0400
9682 if test "$doesnt_want_win32" = 1 ; then
9687 if test "$USE_UNIX" = 1 ; then
9689 cat >>confdefs.h <<\_ACEOF
9696 cat >confcache <<\_ACEOF
9697 # This file is a shell script that caches the results of configure
9698 # tests run on this system so they can be shared between configure
9699 # scripts and configure runs, see configure's option
--config-cache.
9700 # It is not useful on other systems. If it contains results you don't
9701 # want to keep, you may remove or edit it.
9703 # config.status only pays attention to the cache file if you give it
9704 # the --recheck option to rerun configure.
9706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9712 # The following way of writing the cache mishandles newlines in values,
9713 # but we know of no workaround that is simple, portable, and efficient.
9714 # So, don't put newlines in cache variables' values.
9715 # Ultrix sh set writes to stderr and can't be redirected directly,
9716 # and sets the high bit in the cache file unless we assign to the vars.
9719 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9721 # `set' does not quote correctly, so add quotes (double-quote
9722 # substitution turns \\\\ into \\, and sed turns \\ into \).
9725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9728 # `set' quotes correctly as required by POSIX, so do not add quotes.
9730 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9739 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9741 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9742 if test -w $cache_file; then
9743 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9744 cat confcache
>$cache_file
9746 echo "not updating unwritable cache $cache_file"
9751 if test "$build" != "$host" ; then
9752 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9756 RANLIB
=$host_alias-ranlib
9757 DLLTOOL
=$host_alias-dlltool
9758 RESCOMP
=$host_alias-windres
9761 STRIP
=$host_alias-strip
9763 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9764 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9765 { (exit 1); exit 1; }; }
9771 ac_cpp
='$CPP $CPPFLAGS'
9772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9775 if test -n "$ac_tool_prefix"; then
9776 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9777 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9778 echo "$as_me:$LINENO: checking for $ac_word" >&5
9779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9780 if test "${ac_cv_prog_CC+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 if test -n "$CC"; then
9784 ac_cv_prog_CC
="$CC" # Let the user override the test.
9786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9790 test -z "$as_dir" && as_dir
=.
9791 for ac_exec_ext
in '' $ac_executable_extensions; do
9792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9793 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9803 if test -n "$CC"; then
9804 echo "$as_me:$LINENO: result: $CC" >&5
9805 echo "${ECHO_T}$CC" >&6
9807 echo "$as_me:$LINENO: result: no" >&5
9808 echo "${ECHO_T}no" >&6
9812 if test -z "$ac_cv_prog_CC"; then
9814 # Extract the first word of "gcc", so it can be a program name with args.
9815 set dummy gcc
; ac_word
=$2
9816 echo "$as_me:$LINENO: checking for $ac_word" >&5
9817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9818 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 if test -n "$ac_ct_CC"; then
9822 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9828 test -z "$as_dir" && as_dir
=.
9829 for ac_exec_ext
in '' $ac_executable_extensions; do
9830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9831 ac_cv_prog_ac_ct_CC
="gcc"
9832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9840 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9841 if test -n "$ac_ct_CC"; then
9842 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9843 echo "${ECHO_T}$ac_ct_CC" >&6
9845 echo "$as_me:$LINENO: result: no" >&5
9846 echo "${ECHO_T}no" >&6
9854 if test -z "$CC"; then
9855 if test -n "$ac_tool_prefix"; then
9856 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9857 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9858 echo "$as_me:$LINENO: checking for $ac_word" >&5
9859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9860 if test "${ac_cv_prog_CC+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9863 if test -n "$CC"; then
9864 ac_cv_prog_CC
="$CC" # Let the user override the test.
9866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9870 test -z "$as_dir" && as_dir
=.
9871 for ac_exec_ext
in '' $ac_executable_extensions; do
9872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9873 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9883 if test -n "$CC"; then
9884 echo "$as_me:$LINENO: result: $CC" >&5
9885 echo "${ECHO_T}$CC" >&6
9887 echo "$as_me:$LINENO: result: no" >&5
9888 echo "${ECHO_T}no" >&6
9892 if test -z "$ac_cv_prog_CC"; then
9894 # Extract the first word of "cc", so it can be a program name with args.
9895 set dummy cc
; ac_word
=$2
9896 echo "$as_me:$LINENO: checking for $ac_word" >&5
9897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9898 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9899 echo $ECHO_N "(cached) $ECHO_C" >&6
9901 if test -n "$ac_ct_CC"; then
9902 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9908 test -z "$as_dir" && as_dir
=.
9909 for ac_exec_ext
in '' $ac_executable_extensions; do
9910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9911 ac_cv_prog_ac_ct_CC
="cc"
9912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9920 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9921 if test -n "$ac_ct_CC"; then
9922 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9923 echo "${ECHO_T}$ac_ct_CC" >&6
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9935 if test -z "$CC"; then
9936 # Extract the first word of "cc", so it can be a program name with args.
9937 set dummy cc
; ac_word
=$2
9938 echo "$as_me:$LINENO: checking for $ac_word" >&5
9939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9940 if test "${ac_cv_prog_CC+set}" = set; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 if test -n "$CC"; then
9944 ac_cv_prog_CC
="$CC" # Let the user override the test.
9947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir
=.
9952 for ac_exec_ext
in '' $ac_executable_extensions; do
9953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9954 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9955 ac_prog_rejected
=yes
9959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9965 if test $ac_prog_rejected = yes; then
9966 # We found a bogon in the path, so make sure we never use it.
9967 set dummy
$ac_cv_prog_CC
9969 if test $# != 0; then
9970 # We chose a different compiler from the bogus one.
9971 # However, it has the same basename, so the bogon will be chosen
9972 # first if we set CC to just the basename; use the full file name.
9974 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9980 if test -n "$CC"; then
9981 echo "$as_me:$LINENO: result: $CC" >&5
9982 echo "${ECHO_T}$CC" >&6
9984 echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6
9989 if test -z "$CC"; then
9990 if test -n "$ac_tool_prefix"; then
9993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9994 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9995 echo "$as_me:$LINENO: checking for $ac_word" >&5
9996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9997 if test "${ac_cv_prog_CC+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 if test -n "$CC"; then
10001 ac_cv_prog_CC
="$CC" # Let the user override the test.
10003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10004 for as_dir
in $PATH
10007 test -z "$as_dir" && as_dir
=.
10008 for ac_exec_ext
in '' $ac_executable_extensions; do
10009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10010 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10020 if test -n "$CC"; then
10021 echo "$as_me:$LINENO: result: $CC" >&5
10022 echo "${ECHO_T}$CC" >&6
10024 echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6
10028 test -n "$CC" && break
10031 if test -z "$CC"; then
10035 # Extract the first word of "$ac_prog", so it can be a program name with args.
10036 set dummy
$ac_prog; ac_word
=$2
10037 echo "$as_me:$LINENO: checking for $ac_word" >&5
10038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10039 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 if test -n "$ac_ct_CC"; then
10043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10046 for as_dir
in $PATH
10049 test -z "$as_dir" && as_dir
=.
10050 for ac_exec_ext
in '' $ac_executable_extensions; do
10051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10052 ac_cv_prog_ac_ct_CC
="$ac_prog"
10053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10061 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10062 if test -n "$ac_ct_CC"; then
10063 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10064 echo "${ECHO_T}$ac_ct_CC" >&6
10066 echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6
10070 test -n "$ac_ct_CC" && break
10079 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10080 See \`config.log' for more details." >&5
10081 echo "$as_me: error: no acceptable C compiler found in \$PATH
10082 See \`config.log' for more details." >&2;}
10083 { (exit 1); exit 1; }; }
10085 # Provide some information about the compiler.
10086 echo "$as_me:$LINENO:" \
10087 "checking for C compiler version" >&5
10088 ac_compiler
=`set X $ac_compile; echo $2`
10089 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10090 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }
10094 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10095 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }
10099 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10100 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }
10105 cat >conftest.
$ac_ext <<_ACEOF
10106 #line $LINENO "configure"
10109 cat confdefs.h
>>conftest.
$ac_ext
10110 cat >>conftest.
$ac_ext <<_ACEOF
10111 /* end confdefs.h. */
10121 ac_clean_files_save
=$ac_clean_files
10122 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10123 # Try to create an executable without -o first, disregard a.out.
10124 # It will help us diagnose broken compilers, and finding out an intuition
10126 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10127 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10128 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10129 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10130 (eval $ac_link_default) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; then
10134 # Find the output, starting from the most likely. This scheme is
10135 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10138 # Be careful to initialize this variable, since it used to be cached.
10139 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10141 # b.out is created by i960 compilers.
10142 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10144 test -f "$ac_file" || continue
10146 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10149 # This is the source file.
10152 # We found the default executable, but exeext='' is most
10156 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10157 # FIXME: I believe we export ac_cv_exeext for Libtool,
10158 # but it would be cool to find out if it's true. Does anybody
10159 # maintain Libtool? --akim.
10160 export ac_cv_exeext
10167 echo "$as_me: failed program was:" >&5
10168 sed 's/^/| /' conftest.
$ac_ext >&5
10170 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10171 See \`config.log' for more details." >&5
10172 echo "$as_me: error: C compiler cannot create executables
10173 See \`config.log' for more details." >&2;}
10174 { (exit 77); exit 77; }; }
10177 ac_exeext
=$ac_cv_exeext
10178 echo "$as_me:$LINENO: result: $ac_file" >&5
10179 echo "${ECHO_T}$ac_file" >&6
10181 # Check the compiler produces executables we can run. If not, either
10182 # the compiler is broken, or we cross compile.
10183 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10184 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10185 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10186 # If not cross compiling, check that we can run a simple program.
10187 if test "$cross_compiling" != yes; then
10188 if { ac_try
='./$ac_file'
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190 (eval $ac_try) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }; }; then
10196 if test "$cross_compiling" = maybe
; then
10197 cross_compiling
=yes
10199 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10200 If you meant to cross compile, use \`--host'.
10201 See \`config.log' for more details." >&5
10202 echo "$as_me: error: cannot run C compiled programs.
10203 If you meant to cross compile, use \`--host'.
10204 See \`config.log' for more details." >&2;}
10205 { (exit 1); exit 1; }; }
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10212 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10213 ac_clean_files
=$ac_clean_files_save
10214 # Check the compiler produces executables we can run. If not, either
10215 # the compiler is broken, or we cross compile.
10216 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10217 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10218 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10219 echo "${ECHO_T}$cross_compiling" >&6
10221 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10222 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10224 (eval $ac_link) 2>&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; then
10228 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10229 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10230 # work properly (i.e., refer to `conftest.exe'), while it won't with
10232 for ac_file
in conftest.exe conftest conftest.
*; do
10233 test -f "$ac_file" || continue
10235 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10236 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10237 export ac_cv_exeext
10243 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10244 See \`config.log' for more details." >&5
10245 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10246 See \`config.log' for more details." >&2;}
10247 { (exit 1); exit 1; }; }
10250 rm -f conftest
$ac_cv_exeext
10251 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10252 echo "${ECHO_T}$ac_cv_exeext" >&6
10254 rm -f conftest.
$ac_ext
10255 EXEEXT
=$ac_cv_exeext
10257 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10258 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10259 if test "${ac_cv_objext+set}" = set; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10262 cat >conftest.
$ac_ext <<_ACEOF
10263 #line $LINENO "configure"
10266 cat confdefs.h
>>conftest.
$ac_ext
10267 cat >>conftest.
$ac_ext <<_ACEOF
10268 /* end confdefs.h. */
10278 rm -f conftest.o conftest.obj
10279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10280 (eval $ac_compile) 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; then
10284 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10286 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10287 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10292 echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.
$ac_ext >&5
10295 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10296 See \`config.log' for more details." >&5
10297 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10298 See \`config.log' for more details." >&2;}
10299 { (exit 1); exit 1; }; }
10302 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10304 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10305 echo "${ECHO_T}$ac_cv_objext" >&6
10306 OBJEXT
=$ac_cv_objext
10308 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10309 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10313 cat >conftest.
$ac_ext <<_ACEOF
10314 #line $LINENO "configure"
10317 cat confdefs.h
>>conftest.
$ac_ext
10318 cat >>conftest.
$ac_ext <<_ACEOF
10319 /* end confdefs.h. */
10332 rm -f conftest.
$ac_objext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10334 (eval $ac_compile) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); } &&
10338 { ac_try
='test -s conftest.$ac_objext'
10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); }; }; then
10344 ac_compiler_gnu
=yes
10346 echo "$as_me: failed program was:" >&5
10347 sed 's/^/| /' conftest.
$ac_ext >&5
10351 rm -f conftest.
$ac_objext conftest.
$ac_ext
10352 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10355 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10356 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10357 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10358 ac_test_CFLAGS
=${CFLAGS+set}
10359 ac_save_CFLAGS
=$CFLAGS
10361 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10363 if test "${ac_cv_prog_cc_g+set}" = set; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 cat >conftest.
$ac_ext <<_ACEOF
10367 #line $LINENO "configure"
10370 cat confdefs.h
>>conftest.
$ac_ext
10371 cat >>conftest.
$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10382 rm -f conftest.
$ac_objext
10383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10384 (eval $ac_compile) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } &&
10388 { ac_try
='test -s conftest.$ac_objext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 ac_cv_prog_cc_g
=yes
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.
$ac_ext >&5
10401 rm -f conftest.
$ac_objext conftest.
$ac_ext
10403 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10404 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10405 if test "$ac_test_CFLAGS" = set; then
10406 CFLAGS
=$ac_save_CFLAGS
10407 elif test $ac_cv_prog_cc_g = yes; then
10408 if test "$GCC" = yes; then
10414 if test "$GCC" = yes; then
10420 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10421 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10422 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 ac_cv_prog_cc_stdc
=no
10427 cat >conftest.
$ac_ext <<_ACEOF
10428 #line $LINENO "configure"
10431 cat confdefs.h
>>conftest.
$ac_ext
10432 cat >>conftest.
$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10434 #include <stdarg.h>
10436 #include <sys/types.h>
10437 #include <sys/stat.h>
10438 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10439 struct buf { int x; };
10440 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10441 static char *e (p, i)
10447 static char *f (char * (*g) (char **, int), char **p, ...)
10452 s = g (p, va_arg (v,int));
10456 int test (int i, double x);
10457 struct s1 {int (*f) (int a);};
10458 struct s2 {int (*f) (double a);};
10459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10470 # Don't try gcc -ansi; that turns off useful extensions and
10471 # breaks some systems' header files.
10472 # AIX -qlanglvl=ansi
10473 # Ultrix and OSF/1 -std1
10474 # HP-UX 10.20 and later -Ae
10475 # HP-UX older versions -Aa -D_HPUX_SOURCE
10476 # SVR4 -Xc -D__EXTENSIONS__
10477 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10479 CC
="$ac_save_CC $ac_arg"
10480 rm -f conftest.
$ac_objext
10481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10482 (eval $ac_compile) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } &&
10486 { ac_try
='test -s conftest.$ac_objext'
10487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; }; then
10492 ac_cv_prog_cc_stdc
=$ac_arg
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.
$ac_ext >&5
10499 rm -f conftest.
$ac_objext
10501 rm -f conftest.
$ac_ext conftest.
$ac_objext
10506 case "x$ac_cv_prog_cc_stdc" in
10508 echo "$as_me:$LINENO: result: none needed" >&5
10509 echo "${ECHO_T}none needed" >&6 ;;
10511 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10512 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10513 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10516 # Some people use a C++ compiler to compile C. Since we use `exit',
10517 # in C++ we need to declare it. In case someone uses the same compiler
10518 # for both compiling C and C++ we need to have the C++ compiler decide
10519 # the declaration of exit, since it's the most demanding environment.
10520 cat >conftest.
$ac_ext <<_ACEOF
10521 #ifndef __cplusplus
10525 rm -f conftest.
$ac_objext
10526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10527 (eval $ac_compile) 2>&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); } &&
10531 { ac_try
='test -s conftest.$ac_objext'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; }; then
10537 for ac_declaration
in \
10539 '#include <stdlib.h>' \
10540 'extern "C" void std::exit (int) throw (); using std::exit;' \
10541 'extern "C" void std::exit (int); using std::exit;' \
10542 'extern "C" void exit (int) throw ();' \
10543 'extern "C" void exit (int);' \
10546 cat >conftest.
$ac_ext <<_ACEOF
10547 #line $LINENO "configure"
10550 cat confdefs.h
>>conftest.
$ac_ext
10551 cat >>conftest.
$ac_ext <<_ACEOF
10552 /* end confdefs.h. */
10553 #include <stdlib.h>
10563 rm -f conftest.
$ac_objext
10564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10565 (eval $ac_compile) 2>&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } &&
10569 { ac_try
='test -s conftest.$ac_objext'
10570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10571 (eval $ac_try) 2>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); }; }; then
10577 echo "$as_me: failed program was:" >&5
10578 sed 's/^/| /' conftest.
$ac_ext >&5
10582 rm -f conftest.
$ac_objext conftest.
$ac_ext
10583 cat >conftest.
$ac_ext <<_ACEOF
10584 #line $LINENO "configure"
10587 cat confdefs.h
>>conftest.
$ac_ext
10588 cat >>conftest.
$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10599 rm -f conftest.
$ac_objext
10600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10601 (eval $ac_compile) 2>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } &&
10605 { ac_try
='test -s conftest.$ac_objext'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.
$ac_ext >&5
10617 rm -f conftest.
$ac_objext conftest.
$ac_ext
10620 if test -n "$ac_declaration"; then
10621 echo '#ifdef __cplusplus' >>confdefs.h
10622 echo $ac_declaration >>confdefs.h
10623 echo '#endif' >>confdefs.h
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.
$ac_ext >&5
10631 rm -f conftest.
$ac_objext conftest.
$ac_ext
10633 ac_cpp
='$CPP $CPPFLAGS'
10634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10641 ac_cpp
='$CPP $CPPFLAGS'
10642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10645 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10646 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10647 # On Suns, sometimes $CPP names a directory.
10648 if test -n "$CPP" && test -d "$CPP"; then
10651 if test -z "$CPP"; then
10652 if test "${ac_cv_prog_CPP+set}" = set; then
10653 echo $ECHO_N "(cached) $ECHO_C" >&6
10655 # Double quotes because CPP needs to be expanded
10656 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10658 ac_preproc_ok
=false
10659 for ac_c_preproc_warn_flag
in '' yes
10661 # Use a header file that comes with gcc, so configuring glibc
10662 # with a fresh cross-compiler works.
10663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10664 # <limits.h> exists even on freestanding compilers.
10665 # On the NeXT, cc -E runs the code through the compiler's parser,
10666 # not just through cpp. "Syntax error" is here to catch this case.
10667 cat >conftest.
$ac_ext <<_ACEOF
10668 #line $LINENO "configure"
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10675 # include <limits.h>
10677 # include <assert.h>
10681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10684 grep -v '^ *+' conftest.er1
>conftest.err
10686 cat conftest.err
>&5
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); } >/dev
/null
; then
10689 if test -s conftest.err
; then
10690 ac_cpp_err
=$ac_c_preproc_warn_flag
10697 if test -z "$ac_cpp_err"; then
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.
$ac_ext >&5
10703 # Broken: fails on valid input.
10706 rm -f conftest.err conftest.
$ac_ext
10708 # OK, works on sane cases. Now check whether non-existent headers
10709 # can be detected and how.
10710 cat >conftest.
$ac_ext <<_ACEOF
10711 #line $LINENO "configure"
10714 cat confdefs.h
>>conftest.
$ac_ext
10715 cat >>conftest.
$ac_ext <<_ACEOF
10716 /* end confdefs.h. */
10717 #include <ac_nonexistent.h>
10719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10722 grep -v '^ *+' conftest.er1
>conftest.err
10724 cat conftest.err
>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); } >/dev
/null
; then
10727 if test -s conftest.err
; then
10728 ac_cpp_err
=$ac_c_preproc_warn_flag
10735 if test -z "$ac_cpp_err"; then
10736 # Broken: success on invalid input.
10739 echo "$as_me: failed program was:" >&5
10740 sed 's/^/| /' conftest.
$ac_ext >&5
10742 # Passes both tests.
10746 rm -f conftest.err conftest.
$ac_ext
10749 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10750 rm -f conftest.err conftest.
$ac_ext
10751 if $ac_preproc_ok; then
10756 ac_cv_prog_CPP
=$CPP
10759 CPP
=$ac_cv_prog_CPP
10761 ac_cv_prog_CPP
=$CPP
10763 echo "$as_me:$LINENO: result: $CPP" >&5
10764 echo "${ECHO_T}$CPP" >&6
10765 ac_preproc_ok
=false
10766 for ac_c_preproc_warn_flag
in '' yes
10768 # Use a header file that comes with gcc, so configuring glibc
10769 # with a fresh cross-compiler works.
10770 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10771 # <limits.h> exists even on freestanding compilers.
10772 # On the NeXT, cc -E runs the code through the compiler's parser,
10773 # not just through cpp. "Syntax error" is here to catch this case.
10774 cat >conftest.
$ac_ext <<_ACEOF
10775 #line $LINENO "configure"
10778 cat confdefs.h
>>conftest.
$ac_ext
10779 cat >>conftest.
$ac_ext <<_ACEOF
10780 /* end confdefs.h. */
10782 # include <limits.h>
10784 # include <assert.h>
10788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10789 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10791 grep -v '^ *+' conftest.er1
>conftest.err
10793 cat conftest.err
>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); } >/dev
/null
; then
10796 if test -s conftest.err
; then
10797 ac_cpp_err
=$ac_c_preproc_warn_flag
10804 if test -z "$ac_cpp_err"; then
10807 echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.
$ac_ext >&5
10810 # Broken: fails on valid input.
10813 rm -f conftest.err conftest.
$ac_ext
10815 # OK, works on sane cases. Now check whether non-existent headers
10816 # can be detected and how.
10817 cat >conftest.
$ac_ext <<_ACEOF
10818 #line $LINENO "configure"
10821 cat confdefs.h
>>conftest.
$ac_ext
10822 cat >>conftest.
$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <ac_nonexistent.h>
10826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10829 grep -v '^ *+' conftest.er1
>conftest.err
10831 cat conftest.err
>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } >/dev
/null
; then
10834 if test -s conftest.err
; then
10835 ac_cpp_err
=$ac_c_preproc_warn_flag
10842 if test -z "$ac_cpp_err"; then
10843 # Broken: success on invalid input.
10846 echo "$as_me: failed program was:" >&5
10847 sed 's/^/| /' conftest.
$ac_ext >&5
10849 # Passes both tests.
10853 rm -f conftest.err conftest.
$ac_ext
10856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10857 rm -f conftest.err conftest.
$ac_ext
10858 if $ac_preproc_ok; then
10861 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10862 See \`config.log' for more details." >&5
10863 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10864 See \`config.log' for more details." >&2;}
10865 { (exit 1); exit 1; }; }
10869 ac_cpp
='$CPP $CPPFLAGS'
10870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10875 echo "$as_me:$LINENO: checking for egrep" >&5
10876 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10877 if test "${ac_cv_prog_egrep+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10881 then ac_cv_prog_egrep
='grep -E'
10882 else ac_cv_prog_egrep
='egrep'
10885 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10886 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10887 EGREP
=$ac_cv_prog_egrep
10890 if test $ac_cv_c_compiler_gnu = yes; then
10891 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10892 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10893 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 ac_pattern
="Autoconf.*'x'"
10897 cat >conftest.
$ac_ext <<_ACEOF
10898 #line $LINENO "configure"
10901 cat confdefs.h
>>conftest.
$ac_ext
10902 cat >>conftest.
$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10908 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10909 ac_cv_prog_gcc_traditional
=yes
10911 ac_cv_prog_gcc_traditional
=no
10916 if test $ac_cv_prog_gcc_traditional = no
; then
10917 cat >conftest.
$ac_ext <<_ACEOF
10918 #line $LINENO "configure"
10921 cat confdefs.h
>>conftest.
$ac_ext
10922 cat >>conftest.
$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10924 #include <termio.h>
10927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10928 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10929 ac_cv_prog_gcc_traditional
=yes
10935 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10936 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10937 if test $ac_cv_prog_gcc_traditional = yes; then
10938 CC
="$CC -traditional"
10946 ac_cpp
='$CXXCPP $CPPFLAGS'
10947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10952 CXXFLAGS
=${CXXFLAGS:=}
10954 ac_cpp
='$CXXCPP $CPPFLAGS'
10955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10958 if test -n "$ac_tool_prefix"; then
10959 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10961 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10962 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10963 echo "$as_me:$LINENO: checking for $ac_word" >&5
10964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10965 if test "${ac_cv_prog_CXX+set}" = set; then
10966 echo $ECHO_N "(cached) $ECHO_C" >&6
10968 if test -n "$CXX"; then
10969 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10978 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10987 CXX
=$ac_cv_prog_CXX
10988 if test -n "$CXX"; then
10989 echo "$as_me:$LINENO: result: $CXX" >&5
10990 echo "${ECHO_T}$CXX" >&6
10992 echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6
10996 test -n "$CXX" && break
10999 if test -z "$CXX"; then
11001 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11003 # Extract the first word of "$ac_prog", so it can be a program name with args.
11004 set dummy
$ac_prog; ac_word
=$2
11005 echo "$as_me:$LINENO: checking for $ac_word" >&5
11006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11007 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 if test -n "$ac_ct_CXX"; then
11011 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11014 for as_dir
in $PATH
11017 test -z "$as_dir" && as_dir
=.
11018 for ac_exec_ext
in '' $ac_executable_extensions; do
11019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11020 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11029 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11030 if test -n "$ac_ct_CXX"; then
11031 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11032 echo "${ECHO_T}$ac_ct_CXX" >&6
11034 echo "$as_me:$LINENO: result: no" >&5
11035 echo "${ECHO_T}no" >&6
11038 test -n "$ac_ct_CXX" && break
11040 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11046 # Provide some information about the compiler.
11047 echo "$as_me:$LINENO:" \
11048 "checking for C++ compiler version" >&5
11049 ac_compiler
=`set X $ac_compile; echo $2`
11050 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11051 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }
11055 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11056 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); }
11060 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11061 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }
11066 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11067 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11068 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11069 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 cat >conftest.
$ac_ext <<_ACEOF
11072 #line $LINENO "configure"
11075 cat confdefs.h
>>conftest.
$ac_ext
11076 cat >>conftest.
$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11090 rm -f conftest.
$ac_objext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11092 (eval $ac_compile) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } &&
11096 { ac_try
='test -s conftest.$ac_objext'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; }; then
11102 ac_compiler_gnu
=yes
11104 echo "$as_me: failed program was:" >&5
11105 sed 's/^/| /' conftest.
$ac_ext >&5
11109 rm -f conftest.
$ac_objext conftest.
$ac_ext
11110 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11113 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11114 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11115 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11116 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11117 ac_save_CXXFLAGS
=$CXXFLAGS
11119 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11120 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11121 if test "${ac_cv_prog_cxx_g+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 cat >conftest.
$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11128 cat confdefs.h
>>conftest.
$ac_ext
11129 cat >>conftest.
$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11140 rm -f conftest.
$ac_objext
11141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11142 (eval $ac_compile) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); } &&
11146 { ac_try
='test -s conftest.$ac_objext'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then
11152 ac_cv_prog_cxx_g
=yes
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.
$ac_ext >&5
11157 ac_cv_prog_cxx_g
=no
11159 rm -f conftest.
$ac_objext conftest.
$ac_ext
11161 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11162 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11163 if test "$ac_test_CXXFLAGS" = set; then
11164 CXXFLAGS
=$ac_save_CXXFLAGS
11165 elif test $ac_cv_prog_cxx_g = yes; then
11166 if test "$GXX" = yes; then
11172 if test "$GXX" = yes; then
11178 for ac_declaration
in \
11180 '#include <stdlib.h>' \
11181 'extern "C" void std::exit (int) throw (); using std::exit;' \
11182 'extern "C" void std::exit (int); using std::exit;' \
11183 'extern "C" void exit (int) throw ();' \
11184 'extern "C" void exit (int);' \
11187 cat >conftest.
$ac_ext <<_ACEOF
11188 #line $LINENO "configure"
11191 cat confdefs.h
>>conftest.
$ac_ext
11192 cat >>conftest.
$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 #include <stdlib.h>
11204 rm -f conftest.
$ac_objext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11206 (eval $ac_compile) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } &&
11210 { ac_try
='test -s conftest.$ac_objext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.
$ac_ext >&5
11223 rm -f conftest.
$ac_objext conftest.
$ac_ext
11224 cat >conftest.
$ac_ext <<_ACEOF
11225 #line $LINENO "configure"
11228 cat confdefs.h
>>conftest.
$ac_ext
11229 cat >>conftest.
$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11240 rm -f conftest.
$ac_objext
11241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11242 (eval $ac_compile) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); } &&
11246 { ac_try
='test -s conftest.$ac_objext'
11247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248 (eval $ac_try) 2>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); }; }; then
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.
$ac_ext >&5
11258 rm -f conftest.
$ac_objext conftest.
$ac_ext
11261 if test -n "$ac_declaration"; then
11262 echo '#ifdef __cplusplus' >>confdefs.h
11263 echo $ac_declaration >>confdefs.h
11264 echo '#endif' >>confdefs.h
11268 ac_cpp
='$CXXCPP $CPPFLAGS'
11269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11275 ac_cpp
='$CPP $CPPFLAGS'
11276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11281 if test -n "$ac_tool_prefix"; then
11282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11283 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11284 echo "$as_me:$LINENO: checking for $ac_word" >&5
11285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11286 if test "${ac_cv_prog_RANLIB+set}" = set; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11289 if test -n "$RANLIB"; then
11290 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11293 for as_dir
in $PATH
11296 test -z "$as_dir" && as_dir
=.
11297 for ac_exec_ext
in '' $ac_executable_extensions; do
11298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11299 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11308 RANLIB
=$ac_cv_prog_RANLIB
11309 if test -n "$RANLIB"; then
11310 echo "$as_me:$LINENO: result: $RANLIB" >&5
11311 echo "${ECHO_T}$RANLIB" >&6
11313 echo "$as_me:$LINENO: result: no" >&5
11314 echo "${ECHO_T}no" >&6
11318 if test -z "$ac_cv_prog_RANLIB"; then
11319 ac_ct_RANLIB
=$RANLIB
11320 # Extract the first word of "ranlib", so it can be a program name with args.
11321 set dummy ranlib
; ac_word
=$2
11322 echo "$as_me:$LINENO: checking for $ac_word" >&5
11323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11324 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 if test -n "$ac_ct_RANLIB"; then
11328 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11331 for as_dir
in $PATH
11334 test -z "$as_dir" && as_dir
=.
11335 for ac_exec_ext
in '' $ac_executable_extensions; do
11336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11337 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11344 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11347 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11348 if test -n "$ac_ct_RANLIB"; then
11349 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11350 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11356 RANLIB
=$ac_ct_RANLIB
11358 RANLIB
="$ac_cv_prog_RANLIB"
11362 # Extract the first word of "ar", so it can be a program name with args.
11363 set dummy
ar; ac_word
=$2
11364 echo "$as_me:$LINENO: checking for $ac_word" >&5
11365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11366 if test "${ac_cv_prog_AR+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 if test -n "$AR"; then
11370 ac_cv_prog_AR
="$AR" # Let the user override the test.
11372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11373 for as_dir
in $PATH
11376 test -z "$as_dir" && as_dir
=.
11377 for ac_exec_ext
in '' $ac_executable_extensions; do
11378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11389 if test -n "$AR"; then
11390 echo "$as_me:$LINENO: result: $AR" >&5
11391 echo "${ECHO_T}$AR" >&6
11393 echo "$as_me:$LINENO: result: no" >&5
11394 echo "${ECHO_T}no" >&6
11397 if test "x$AR" = "x" ; then
11398 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11399 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11400 { (exit 1); exit 1; }; }
11403 # Find a good install program. We prefer a C program (faster),
11404 # so one script is as good as another. But avoid the broken or
11405 # incompatible versions:
11406 # SysV /etc/install, /usr/sbin/install
11407 # SunOS /usr/etc/install
11408 # IRIX /sbin/install
11410 # AmigaOS /C/install, which installs bootblocks on floppy discs
11411 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11412 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11413 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11414 # ./install, which can be erroneously created by make from ./install.sh.
11415 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11416 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11417 if test -z "$INSTALL"; then
11418 if test "${ac_cv_path_install+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11422 for as_dir
in $PATH
11425 test -z "$as_dir" && as_dir
=.
11426 # Account for people who put trailing slashes in PATH elements.
11428 .
/ | .
// | /cC
/* | \
11429 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11432 # OSF1 and SCO ODT 3.0 have their own names for install.
11433 # Don't use installbsd from OSF since it installs stuff as root
11435 for ac_prog
in ginstall scoinst
install; do
11436 for ac_exec_ext
in '' $ac_executable_extensions; do
11437 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11438 if test $ac_prog = install &&
11439 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11440 # AIX install. It has an incompatible calling convention.
11442 elif test $ac_prog = install &&
11443 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11444 # program-specific install script used by HP pwplus--don't use.
11447 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11459 if test "${ac_cv_path_install+set}" = set; then
11460 INSTALL
=$ac_cv_path_install
11462 # As a last resort, use the slow shell script. We don't cache a
11463 # path for INSTALL within a source directory, because that will
11464 # break other packages using the cache if that directory is
11465 # removed, or if the path is relative.
11466 INSTALL
=$ac_install_sh
11469 echo "$as_me:$LINENO: result: $INSTALL" >&5
11470 echo "${ECHO_T}$INSTALL" >&6
11472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11473 # It thinks the first close brace ends the variable substitution.
11474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11478 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11484 ?
:* ) # Drive letter, considered as absolute.
11487 INSTALL
=`pwd`/${INSTALL} ;;
11492 INSTALL_DIR
="mkdir"
11495 *) INSTALL_DIR
="$INSTALL -d"
11502 powerpc
-*-darwin* )
11503 INSTALL_PROGRAM
="cp -fp"
11504 INSTALL_DATA
="cp -fp"
11510 # Extract the first word of "strip", so it can be a program name with args.
11511 set dummy strip
; ac_word
=$2
11512 echo "$as_me:$LINENO: checking for $ac_word" >&5
11513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11514 if test "${ac_cv_prog_STRIP+set}" = set; then
11515 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 if test -n "$STRIP"; then
11518 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11521 for as_dir
in $PATH
11524 test -z "$as_dir" && as_dir
=.
11525 for ac_exec_ext
in '' $ac_executable_extensions; do
11526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11527 ac_cv_prog_STRIP
="strip"
11528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11537 STRIP
=$ac_cv_prog_STRIP
11538 if test -n "$STRIP"; then
11539 echo "$as_me:$LINENO: result: $STRIP" >&5
11540 echo "${ECHO_T}$STRIP" >&6
11542 echo "$as_me:$LINENO: result: no" >&5
11543 echo "${ECHO_T}no" >&6
11547 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11548 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11549 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11554 egrep -s GNU
> /dev
/null
); then
11555 wx_cv_prog_makeisgnu
="yes"
11557 wx_cv_prog_makeisgnu
="no"
11561 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11562 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11564 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11572 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11573 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11574 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11575 if test "${wx_cv_prog_makevpath+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11579 cat - << EOF > confMake
11585 if test ! -d sub
; then
11588 echo dummy
> sub
/file
11589 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11591 rm -f sub
/file check final_file confMake
11593 if test "$RESULT" = 0; then
11594 wx_cv_prog_makevpath
="yes"
11596 wx_cv_prog_makevpath
="no"
11600 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11601 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11603 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11604 { { echo "$as_me:$LINENO: error:
11605 You need a make-utility that is able to use the variable
11607 If your version of make does not support VPATH correctly,
11608 please install GNU-make (possibly as gmake), and start
11609 configure with the following command:
11610 export MAKE=gmake; ./configure for sh-type shells
11611 setenv MAKE gmake; ./configure for csh-type shells
11612 Also please do remember to use gmake in this case every time
11613 you are trying to compile.
11615 echo "$as_me: error:
11616 You need a make-utility that is able to use the variable
11618 If your version of make does not support VPATH correctly,
11619 please install GNU-make (possibly as gmake), and start
11620 configure with the following command:
11621 export MAKE=gmake; ./configure for sh-type shells
11622 setenv MAKE gmake; ./configure for csh-type shells
11623 Also please do remember to use gmake in this case every time
11624 you are trying to compile.
11626 { (exit 1); exit 1; }; }
11628 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11629 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11631 if test "$LN_S" = "ln -s"; then
11632 echo "$as_me:$LINENO: result: yes" >&5
11633 echo "${ECHO_T}yes" >&6
11635 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11636 echo "${ECHO_T}no, using $LN_S" >&6
11641 *-pc-os2_emx | *-pc-os2-emx )
11642 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11643 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11644 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11645 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 ac_check_lib_save_LIBS
=$LIBS
11649 LIBS
="-lcExt $LIBS"
11650 cat >conftest.
$ac_ext <<_ACEOF
11651 #line $LINENO "configure"
11654 cat confdefs.h
>>conftest.
$ac_ext
11655 cat >>conftest.
$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11658 /* Override any gcc2 internal prototype to avoid an error. */
11662 /* We use char because int might match the return type of a gcc2
11663 builtin and then its argument prototype would still apply. */
11673 rm -f conftest.
$ac_objext conftest
$ac_exeext
11674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11675 (eval $ac_link) 2>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } &&
11679 { ac_try
='test -s conftest$ac_exeext'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; }; then
11685 ac_cv_lib_cExt_drand48
=yes
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.
$ac_ext >&5
11690 ac_cv_lib_cExt_drand48
=no
11692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11693 LIBS
=$ac_check_lib_save_LIBS
11695 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11696 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11697 if test $ac_cv_lib_cExt_drand48 = yes; then
11698 LIBS
="$LIBS -lcExt"
11702 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11704 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11705 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11706 if test "${wx_cv_gcc3+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 cat >conftest.
$ac_ext <<_ACEOF
11711 #line $LINENO "configure"
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 #include <features.h>
11730 rm -f conftest.
$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } &&
11736 { ac_try
='test -s conftest.$ac_objext'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; }; then
11746 echo "$as_me: failed program was:" >&5
11747 sed 's/^/| /' conftest.
$ac_ext >&5
11754 rm -f conftest.
$ac_objext conftest.
$ac_ext
11757 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11758 echo "${ECHO_T}$wx_cv_gcc3" >&6
11759 if test "$wx_cv_gcc3" = "no"; then
11760 LIBS
="$LIBS -lstdcpp"
11762 LIBS
="$LIBS -lstdcxx"
11768 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11769 echo "$as_me:$LINENO: checking for strings.h" >&5
11770 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11771 if test "${ac_cv_header_strings_h+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 ac_cv_header_strings_h
=no
11776 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11777 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11778 if test "$ac_cv_header_strings_h" = "no"; then
11779 echo "$as_me:$LINENO: result: forced no into cache" >&5
11780 echo "${ECHO_T}forced no into cache" >&6
11782 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11783 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11786 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11787 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11788 if test "${ac_cv_header_stdc+set}" = set; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11791 cat >conftest.
$ac_ext <<_ACEOF
11792 #line $LINENO "configure"
11795 cat confdefs.h
>>conftest.
$ac_ext
11796 cat >>conftest.
$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11798 #include <stdlib.h>
11799 #include <stdarg.h>
11800 #include <string.h>
11811 rm -f conftest.
$ac_objext
11812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11813 (eval $ac_compile) 2>&5
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); } &&
11817 { ac_try
='test -s conftest.$ac_objext'
11818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11819 (eval $ac_try) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; }; then
11823 ac_cv_header_stdc
=yes
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.
$ac_ext >&5
11828 ac_cv_header_stdc
=no
11830 rm -f conftest.
$ac_objext conftest.
$ac_ext
11832 if test $ac_cv_header_stdc = yes; then
11833 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11834 cat >conftest.
$ac_ext <<_ACEOF
11835 #line $LINENO "configure"
11838 cat confdefs.h
>>conftest.
$ac_ext
11839 cat >>conftest.
$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11841 #include <string.h>
11844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11845 $EGREP "memchr" >/dev
/null
2>&1; then
11848 ac_cv_header_stdc
=no
11854 if test $ac_cv_header_stdc = yes; then
11855 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11856 cat >conftest.
$ac_ext <<_ACEOF
11857 #line $LINENO "configure"
11860 cat confdefs.h
>>conftest.
$ac_ext
11861 cat >>conftest.
$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 #include <stdlib.h>
11866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11867 $EGREP "free" >/dev
/null
2>&1; then
11870 ac_cv_header_stdc
=no
11876 if test $ac_cv_header_stdc = yes; then
11877 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11878 if test "$cross_compiling" = yes; then
11881 cat >conftest.
$ac_ext <<_ACEOF
11882 #line $LINENO "configure"
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11889 #if ((' ' & 0x0FF) == 0x020)
11890 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11891 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11893 # define ISLOWER(c) \
11894 (('a' <= (c) && (c) <= 'i') \
11895 || ('j' <= (c) && (c) <= 'r') \
11896 || ('s' <= (c) && (c) <= 'z'))
11897 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11900 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11905 for (i = 0; i < 256; i++)
11906 if (XOR (islower (i), ISLOWER (i))
11907 || toupper (i) != TOUPPER (i))
11912 rm -f conftest
$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914 (eval $ac_link) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11925 echo "$as_me: program exited with status $ac_status" >&5
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.
$ac_ext >&5
11929 ( exit $ac_status )
11930 ac_cv_header_stdc
=no
11932 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11936 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11937 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11938 if test $ac_cv_header_stdc = yes; then
11940 cat >>confdefs.h
<<\_ACEOF
11941 #define STDC_HEADERS 1
11946 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11956 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11957 inttypes.h stdint.h unistd.h
11959 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11960 echo "$as_me:$LINENO: checking for $ac_header" >&5
11961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 cat >conftest.
$ac_ext <<_ACEOF
11966 #line $LINENO "configure"
11969 cat confdefs.h
>>conftest.
$ac_ext
11970 cat >>conftest.
$ac_ext <<_ACEOF
11971 /* end confdefs.h. */
11972 $ac_includes_default
11974 #include <$ac_header>
11976 rm -f conftest.
$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978 (eval $ac_compile) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try
='test -s conftest.$ac_objext'
11983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11984 (eval $ac_try) 2>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); }; }; then
11988 eval "$as_ac_Header=yes"
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.
$ac_ext >&5
11993 eval "$as_ac_Header=no"
11995 rm -f conftest.
$ac_objext conftest.
$ac_ext
11997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12000 cat >>confdefs.h
<<_ACEOF
12001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12010 for ac_header
in strings.h
12012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12014 echo "$as_me:$LINENO: checking for $ac_header" >&5
12015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12022 # Is the header compilable?
12023 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12025 cat >conftest.
$ac_ext <<_ACEOF
12026 #line $LINENO "configure"
12029 cat confdefs.h
>>conftest.
$ac_ext
12030 cat >>conftest.
$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12032 $ac_includes_default
12033 #include <$ac_header>
12035 rm -f conftest.
$ac_objext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try
='test -s conftest.$ac_objext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_header_compiler
=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.
$ac_ext >&5
12052 ac_header_compiler
=no
12054 rm -f conftest.
$ac_objext conftest.
$ac_ext
12055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12056 echo "${ECHO_T}$ac_header_compiler" >&6
12058 # Is the header present?
12059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12061 cat >conftest.
$ac_ext <<_ACEOF
12062 #line $LINENO "configure"
12065 cat confdefs.h
>>conftest.
$ac_ext
12066 cat >>conftest.
$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 #include <$ac_header>
12070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12073 grep -v '^ *+' conftest.er1
>conftest.err
12075 cat conftest.err
>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } >/dev
/null
; then
12078 if test -s conftest.err
; then
12079 ac_cpp_err
=$ac_c_preproc_warn_flag
12086 if test -z "$ac_cpp_err"; then
12087 ac_header_preproc
=yes
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12092 ac_header_preproc
=no
12094 rm -f conftest.err conftest.
$ac_ext
12095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12096 echo "${ECHO_T}$ac_header_preproc" >&6
12098 # So? What about this header?
12099 case $ac_header_compiler:$ac_header_preproc in
12101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12107 ## ------------------------------------ ##
12108 ## Report this to bug-autoconf@gnu.org. ##
12109 ## ------------------------------------ ##
12112 sed "s/^/$as_me: WARNING: /" >&2
12115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12123 ## ------------------------------------ ##
12124 ## Report this to bug-autoconf@gnu.org. ##
12125 ## ------------------------------------ ##
12128 sed "s/^/$as_me: WARNING: /" >&2
12131 echo "$as_me:$LINENO: checking for $ac_header" >&5
12132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 eval "$as_ac_Header=$ac_header_preproc"
12138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12143 cat >>confdefs.h
<<_ACEOF
12144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12153 for ac_header
in stdlib.h
12155 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12157 echo "$as_me:$LINENO: checking for $ac_header" >&5
12158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12165 # Is the header compilable?
12166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12168 cat >conftest.
$ac_ext <<_ACEOF
12169 #line $LINENO "configure"
12172 cat confdefs.h
>>conftest.
$ac_ext
12173 cat >>conftest.
$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 $ac_includes_default
12176 #include <$ac_header>
12178 rm -f conftest.
$ac_objext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 (eval $ac_compile) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try
='test -s conftest.$ac_objext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 ac_header_compiler
=yes
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.
$ac_ext >&5
12195 ac_header_compiler
=no
12197 rm -f conftest.
$ac_objext conftest.
$ac_ext
12198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12199 echo "${ECHO_T}$ac_header_compiler" >&6
12201 # Is the header present?
12202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12204 cat >conftest.
$ac_ext <<_ACEOF
12205 #line $LINENO "configure"
12208 cat confdefs.h
>>conftest.
$ac_ext
12209 cat >>conftest.
$ac_ext <<_ACEOF
12210 /* end confdefs.h. */
12211 #include <$ac_header>
12213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12216 grep -v '^ *+' conftest.er1
>conftest.err
12218 cat conftest.err
>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } >/dev
/null
; then
12221 if test -s conftest.err
; then
12222 ac_cpp_err
=$ac_c_preproc_warn_flag
12229 if test -z "$ac_cpp_err"; then
12230 ac_header_preproc
=yes
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.
$ac_ext >&5
12235 ac_header_preproc
=no
12237 rm -f conftest.err conftest.
$ac_ext
12238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12239 echo "${ECHO_T}$ac_header_preproc" >&6
12241 # So? What about this header?
12242 case $ac_header_compiler:$ac_header_preproc in
12244 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12245 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12247 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12250 ## ------------------------------------ ##
12251 ## Report this to bug-autoconf@gnu.org. ##
12252 ## ------------------------------------ ##
12255 sed "s/^/$as_me: WARNING: /" >&2
12258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12266 ## ------------------------------------ ##
12267 ## Report this to bug-autoconf@gnu.org. ##
12268 ## ------------------------------------ ##
12271 sed "s/^/$as_me: WARNING: /" >&2
12274 echo "$as_me:$LINENO: checking for $ac_header" >&5
12275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12277 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 eval "$as_ac_Header=$ac_header_preproc"
12281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12286 cat >>confdefs.h
<<_ACEOF
12287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12295 for ac_header
in malloc.h
12297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12299 echo "$as_me:$LINENO: checking for $ac_header" >&5
12300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12307 # Is the header compilable?
12308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12310 cat >conftest.
$ac_ext <<_ACEOF
12311 #line $LINENO "configure"
12314 cat confdefs.h
>>conftest.
$ac_ext
12315 cat >>conftest.
$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12317 $ac_includes_default
12318 #include <$ac_header>
12320 rm -f conftest.
$ac_objext
12321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12322 (eval $ac_compile) 2>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -s conftest.$ac_objext'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; }; then
12332 ac_header_compiler
=yes
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.
$ac_ext >&5
12337 ac_header_compiler
=no
12339 rm -f conftest.
$ac_objext conftest.
$ac_ext
12340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12341 echo "${ECHO_T}$ac_header_compiler" >&6
12343 # Is the header present?
12344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12346 cat >conftest.
$ac_ext <<_ACEOF
12347 #line $LINENO "configure"
12350 cat confdefs.h
>>conftest.
$ac_ext
12351 cat >>conftest.
$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12353 #include <$ac_header>
12355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } >/dev
/null
; then
12363 if test -s conftest.err
; then
12364 ac_cpp_err
=$ac_c_preproc_warn_flag
12371 if test -z "$ac_cpp_err"; then
12372 ac_header_preproc
=yes
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.
$ac_ext >&5
12377 ac_header_preproc
=no
12379 rm -f conftest.err conftest.
$ac_ext
12380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12381 echo "${ECHO_T}$ac_header_preproc" >&6
12383 # So? What about this header?
12384 case $ac_header_compiler:$ac_header_preproc in
12386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12392 ## ------------------------------------ ##
12393 ## Report this to bug-autoconf@gnu.org. ##
12394 ## ------------------------------------ ##
12397 sed "s/^/$as_me: WARNING: /" >&2
12400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12408 ## ------------------------------------ ##
12409 ## Report this to bug-autoconf@gnu.org. ##
12410 ## ------------------------------------ ##
12413 sed "s/^/$as_me: WARNING: /" >&2
12416 echo "$as_me:$LINENO: checking for $ac_header" >&5
12417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 eval "$as_ac_Header=$ac_header_preproc"
12423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12428 cat >>confdefs.h
<<_ACEOF
12429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12437 for ac_header
in unistd.h
12439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12441 echo "$as_me:$LINENO: checking for $ac_header" >&5
12442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12449 # Is the header compilable?
12450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12452 cat >conftest.
$ac_ext <<_ACEOF
12453 #line $LINENO "configure"
12456 cat confdefs.h
>>conftest.
$ac_ext
12457 cat >>conftest.
$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12459 $ac_includes_default
12460 #include <$ac_header>
12462 rm -f conftest.
$ac_objext
12463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12464 (eval $ac_compile) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); } &&
12468 { ac_try
='test -s conftest.$ac_objext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 ac_header_compiler
=yes
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.
$ac_ext >&5
12479 ac_header_compiler
=no
12481 rm -f conftest.
$ac_objext conftest.
$ac_ext
12482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12483 echo "${ECHO_T}$ac_header_compiler" >&6
12485 # Is the header present?
12486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12488 cat >conftest.
$ac_ext <<_ACEOF
12489 #line $LINENO "configure"
12492 cat confdefs.h
>>conftest.
$ac_ext
12493 cat >>conftest.
$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12495 #include <$ac_header>
12497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12500 grep -v '^ *+' conftest.er1
>conftest.err
12502 cat conftest.err
>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); } >/dev
/null
; then
12505 if test -s conftest.err
; then
12506 ac_cpp_err
=$ac_c_preproc_warn_flag
12513 if test -z "$ac_cpp_err"; then
12514 ac_header_preproc
=yes
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.
$ac_ext >&5
12519 ac_header_preproc
=no
12521 rm -f conftest.err conftest.
$ac_ext
12522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12523 echo "${ECHO_T}$ac_header_preproc" >&6
12525 # So? What about this header?
12526 case $ac_header_compiler:$ac_header_preproc in
12528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12534 ## ------------------------------------ ##
12535 ## Report this to bug-autoconf@gnu.org. ##
12536 ## ------------------------------------ ##
12539 sed "s/^/$as_me: WARNING: /" >&2
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12550 ## ------------------------------------ ##
12551 ## Report this to bug-autoconf@gnu.org. ##
12552 ## ------------------------------------ ##
12555 sed "s/^/$as_me: WARNING: /" >&2
12558 echo "$as_me:$LINENO: checking for $ac_header" >&5
12559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12561 echo $ECHO_N "(cached) $ECHO_C" >&6
12563 eval "$as_ac_Header=$ac_header_preproc"
12565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12570 cat >>confdefs.h
<<_ACEOF
12571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12579 for ac_header
in wchar.h
12581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12583 echo "$as_me:$LINENO: checking for $ac_header" >&5
12584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12591 # Is the header compilable?
12592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12594 cat >conftest.
$ac_ext <<_ACEOF
12595 #line $LINENO "configure"
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 $ac_includes_default
12602 #include <$ac_header>
12604 rm -f conftest.
$ac_objext
12605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12606 (eval $ac_compile) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } &&
12610 { ac_try
='test -s conftest.$ac_objext'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; }; then
12616 ac_header_compiler
=yes
12618 echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.
$ac_ext >&5
12621 ac_header_compiler
=no
12623 rm -f conftest.
$ac_objext conftest.
$ac_ext
12624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12625 echo "${ECHO_T}$ac_header_compiler" >&6
12627 # Is the header present?
12628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12630 cat >conftest.
$ac_ext <<_ACEOF
12631 #line $LINENO "configure"
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #include <$ac_header>
12639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12640 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12642 grep -v '^ *+' conftest.er1
>conftest.err
12644 cat conftest.err
>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } >/dev
/null
; then
12647 if test -s conftest.err
; then
12648 ac_cpp_err
=$ac_c_preproc_warn_flag
12655 if test -z "$ac_cpp_err"; then
12656 ac_header_preproc
=yes
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12661 ac_header_preproc
=no
12663 rm -f conftest.err conftest.
$ac_ext
12664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12665 echo "${ECHO_T}$ac_header_preproc" >&6
12667 # So? What about this header?
12668 case $ac_header_compiler:$ac_header_preproc in
12670 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12671 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12676 ## ------------------------------------ ##
12677 ## Report this to bug-autoconf@gnu.org. ##
12678 ## ------------------------------------ ##
12681 sed "s/^/$as_me: WARNING: /" >&2
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12692 ## ------------------------------------ ##
12693 ## Report this to bug-autoconf@gnu.org. ##
12694 ## ------------------------------------ ##
12697 sed "s/^/$as_me: WARNING: /" >&2
12700 echo "$as_me:$LINENO: checking for $ac_header" >&5
12701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12705 eval "$as_ac_Header=$ac_header_preproc"
12707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12712 cat >>confdefs.h
<<_ACEOF
12713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12721 if test "$ac_cv_header_wchar_h" != "yes"; then
12723 for ac_header
in wcstr.h
12725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12727 echo "$as_me:$LINENO: checking for $ac_header" >&5
12728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12735 # Is the header compilable?
12736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12738 cat >conftest.
$ac_ext <<_ACEOF
12739 #line $LINENO "configure"
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12745 $ac_includes_default
12746 #include <$ac_header>
12748 rm -f conftest.
$ac_objext
12749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12750 (eval $ac_compile) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try
='test -s conftest.$ac_objext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_header_compiler
=yes
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 ac_header_compiler
=no
12767 rm -f conftest.
$ac_objext conftest.
$ac_ext
12768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12769 echo "${ECHO_T}$ac_header_compiler" >&6
12771 # Is the header present?
12772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12774 cat >conftest.
$ac_ext <<_ACEOF
12775 #line $LINENO "configure"
12778 cat confdefs.h
>>conftest.
$ac_ext
12779 cat >>conftest.
$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12781 #include <$ac_header>
12783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12784 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12786 grep -v '^ *+' conftest.er1
>conftest.err
12788 cat conftest.err
>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } >/dev
/null
; then
12791 if test -s conftest.err
; then
12792 ac_cpp_err
=$ac_c_preproc_warn_flag
12799 if test -z "$ac_cpp_err"; then
12800 ac_header_preproc
=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 ac_header_preproc
=no
12807 rm -f conftest.err conftest.
$ac_ext
12808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12809 echo "${ECHO_T}$ac_header_preproc" >&6
12811 # So? What about this header?
12812 case $ac_header_compiler:$ac_header_preproc in
12814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12820 ## ------------------------------------ ##
12821 ## Report this to bug-autoconf@gnu.org. ##
12822 ## ------------------------------------ ##
12825 sed "s/^/$as_me: WARNING: /" >&2
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12836 ## ------------------------------------ ##
12837 ## Report this to bug-autoconf@gnu.org. ##
12838 ## ------------------------------------ ##
12841 sed "s/^/$as_me: WARNING: /" >&2
12844 echo "$as_me:$LINENO: checking for $ac_header" >&5
12845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12847 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 eval "$as_ac_Header=$ac_header_preproc"
12851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12856 cat >>confdefs.h
<<_ACEOF
12857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12867 for ac_header
in fnmatch.h
12869 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12871 echo "$as_me:$LINENO: checking for $ac_header" >&5
12872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12879 # Is the header compilable?
12880 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12881 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12882 cat >conftest.
$ac_ext <<_ACEOF
12883 #line $LINENO "configure"
12886 cat confdefs.h
>>conftest.
$ac_ext
12887 cat >>conftest.
$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 $ac_includes_default
12890 #include <$ac_header>
12892 rm -f conftest.
$ac_objext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try
='test -s conftest.$ac_objext'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12904 ac_header_compiler
=yes
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.
$ac_ext >&5
12909 ac_header_compiler
=no
12911 rm -f conftest.
$ac_objext conftest.
$ac_ext
12912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12913 echo "${ECHO_T}$ac_header_compiler" >&6
12915 # Is the header present?
12916 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12917 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12918 cat >conftest.
$ac_ext <<_ACEOF
12919 #line $LINENO "configure"
12922 cat confdefs.h
>>conftest.
$ac_ext
12923 cat >>conftest.
$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 #include <$ac_header>
12927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12930 grep -v '^ *+' conftest.er1
>conftest.err
12932 cat conftest.err
>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } >/dev
/null
; then
12935 if test -s conftest.err
; then
12936 ac_cpp_err
=$ac_c_preproc_warn_flag
12943 if test -z "$ac_cpp_err"; then
12944 ac_header_preproc
=yes
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12949 ac_header_preproc
=no
12951 rm -f conftest.err conftest.
$ac_ext
12952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12953 echo "${ECHO_T}$ac_header_preproc" >&6
12955 # So? What about this header?
12956 case $ac_header_compiler:$ac_header_preproc in
12958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12959 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12964 ## ------------------------------------ ##
12965 ## Report this to bug-autoconf@gnu.org. ##
12966 ## ------------------------------------ ##
12969 sed "s/^/$as_me: WARNING: /" >&2
12972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12980 ## ------------------------------------ ##
12981 ## Report this to bug-autoconf@gnu.org. ##
12982 ## ------------------------------------ ##
12985 sed "s/^/$as_me: WARNING: /" >&2
12988 echo "$as_me:$LINENO: checking for $ac_header" >&5
12989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 eval "$as_ac_Header=$ac_header_preproc"
12995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13000 cat >>confdefs.h
<<_ACEOF
13001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13009 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13011 for ac_func
in fnmatch
13013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13014 echo "$as_me:$LINENO: checking for $ac_func" >&5
13015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13016 if eval "test \"\${$as_ac_var+set}\" = set"; then
13017 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 cat >conftest.
$ac_ext <<_ACEOF
13020 #line $LINENO "configure"
13023 cat confdefs.h
>>conftest.
$ac_ext
13024 cat >>conftest.
$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13026 /* System header to define __stub macros and hopefully few prototypes,
13027 which can conflict with char $ac_func (); below.
13028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13029 <limits.h> exists even on freestanding compilers. */
13031 # include <limits.h>
13033 # include <assert.h>
13035 /* Override any gcc2 internal prototype to avoid an error. */
13040 /* We use char because int might match the return type of a gcc2
13041 builtin and then its argument prototype would still apply. */
13043 /* The GNU C library defines this for functions which it implements
13044 to always fail with ENOSYS. Some functions are actually named
13045 something starting with __ and the normal name is an alias. */
13046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13049 char (*f) () = $ac_func;
13058 return f != $ac_func;
13063 rm -f conftest.
$ac_objext conftest
$ac_exeext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13065 (eval $ac_link) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } &&
13069 { ac_try
='test -s conftest$ac_exeext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 eval "$as_ac_var=yes"
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.
$ac_ext >&5
13080 eval "$as_ac_var=no"
13082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13086 if test `eval echo '${'$as_ac_var'}'` = yes; then
13087 cat >>confdefs.h
<<_ACEOF
13088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13097 for ac_header
in langinfo.h
13099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13101 echo "$as_me:$LINENO: checking for $ac_header" >&5
13102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13109 # Is the header compilable?
13110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13112 cat >conftest.
$ac_ext <<_ACEOF
13113 #line $LINENO "configure"
13116 cat confdefs.h
>>conftest.
$ac_ext
13117 cat >>conftest.
$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13119 $ac_includes_default
13120 #include <$ac_header>
13122 rm -f conftest.
$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); } &&
13128 { ac_try
='test -s conftest.$ac_objext'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; }; then
13134 ac_header_compiler
=yes
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.
$ac_ext >&5
13139 ac_header_compiler
=no
13141 rm -f conftest.
$ac_objext conftest.
$ac_ext
13142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13143 echo "${ECHO_T}$ac_header_compiler" >&6
13145 # Is the header present?
13146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13148 cat >conftest.
$ac_ext <<_ACEOF
13149 #line $LINENO "configure"
13152 cat confdefs.h
>>conftest.
$ac_ext
13153 cat >>conftest.
$ac_ext <<_ACEOF
13154 /* end confdefs.h. */
13155 #include <$ac_header>
13157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13160 grep -v '^ *+' conftest.er1
>conftest.err
13162 cat conftest.err
>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } >/dev
/null
; then
13165 if test -s conftest.err
; then
13166 ac_cpp_err
=$ac_c_preproc_warn_flag
13173 if test -z "$ac_cpp_err"; then
13174 ac_header_preproc
=yes
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.
$ac_ext >&5
13179 ac_header_preproc
=no
13181 rm -f conftest.err conftest.
$ac_ext
13182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13183 echo "${ECHO_T}$ac_header_preproc" >&6
13185 # So? What about this header?
13186 case $ac_header_compiler:$ac_header_preproc in
13188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13194 ## ------------------------------------ ##
13195 ## Report this to bug-autoconf@gnu.org. ##
13196 ## ------------------------------------ ##
13199 sed "s/^/$as_me: WARNING: /" >&2
13202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13210 ## ------------------------------------ ##
13211 ## Report this to bug-autoconf@gnu.org. ##
13212 ## ------------------------------------ ##
13215 sed "s/^/$as_me: WARNING: /" >&2
13218 echo "$as_me:$LINENO: checking for $ac_header" >&5
13219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 eval "$as_ac_Header=$ac_header_preproc"
13225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13230 cat >>confdefs.h
<<_ACEOF
13231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13240 *-pc-os2_emx | *-pc-os2-emx )
13241 if test $ac_cv_header_langinfo_h = "yes"; then
13242 LIBS
="$LIBS -lintl"
13247 if test "$wxUSE_GUI" = "yes"; then
13248 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13250 for ac_header
in X
11/Xlib.h
13252 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13254 echo "$as_me:$LINENO: checking for $ac_header" >&5
13255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13262 # Is the header compilable?
13263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13266 #line $LINENO "configure"
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 $ac_includes_default
13273 #include <$ac_header>
13275 rm -f conftest.
$ac_objext
13276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13277 (eval $ac_compile) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 ac_header_compiler
=yes
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 ac_header_compiler
=no
13294 rm -f conftest.
$ac_objext conftest.
$ac_ext
13295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13296 echo "${ECHO_T}$ac_header_compiler" >&6
13298 # Is the header present?
13299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13301 cat >conftest.
$ac_ext <<_ACEOF
13302 #line $LINENO "configure"
13305 cat confdefs.h
>>conftest.
$ac_ext
13306 cat >>conftest.
$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 #include <$ac_header>
13310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13313 grep -v '^ *+' conftest.er1
>conftest.err
13315 cat conftest.err
>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } >/dev
/null
; then
13318 if test -s conftest.err
; then
13319 ac_cpp_err
=$ac_c_preproc_warn_flag
13326 if test -z "$ac_cpp_err"; then
13327 ac_header_preproc
=yes
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 ac_header_preproc
=no
13334 rm -f conftest.err conftest.
$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13336 echo "${ECHO_T}$ac_header_preproc" >&6
13338 # So? What about this header?
13339 case $ac_header_compiler:$ac_header_preproc in
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13347 ## ------------------------------------ ##
13348 ## Report this to bug-autoconf@gnu.org. ##
13349 ## ------------------------------------ ##
13352 sed "s/^/$as_me: WARNING: /" >&2
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13363 ## ------------------------------------ ##
13364 ## Report this to bug-autoconf@gnu.org. ##
13365 ## ------------------------------------ ##
13368 sed "s/^/$as_me: WARNING: /" >&2
13371 echo "$as_me:$LINENO: checking for $ac_header" >&5
13372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 eval "$as_ac_Header=$ac_header_preproc"
13378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13383 cat >>confdefs.h
<<_ACEOF
13384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13392 for ac_header
in X
11/XKBlib.h
13394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13395 echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 cat >conftest.
$ac_ext <<_ACEOF
13401 #line $LINENO "configure"
13404 cat confdefs.h
>>conftest.
$ac_ext
13405 cat >>conftest.
$ac_ext <<_ACEOF
13406 /* end confdefs.h. */
13408 #if HAVE_X11_XLIB_H
13409 #include <X11/Xlib.h>
13413 #include <$ac_header>
13415 rm -f conftest.
$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try
='test -s conftest.$ac_objext'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; }; then
13427 eval "$as_ac_Header=yes"
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.
$ac_ext >&5
13432 eval "$as_ac_Header=no"
13434 rm -f conftest.
$ac_objext conftest.
$ac_ext
13436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13439 cat >>confdefs.h
<<_ACEOF
13440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13451 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13452 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13453 if test "${ac_cv_c_const+set}" = set; then
13454 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 cat >conftest.
$ac_ext <<_ACEOF
13457 #line $LINENO "configure"
13460 cat confdefs.h
>>conftest.
$ac_ext
13461 cat >>conftest.
$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13467 /* FIXME: Include the comments suggested by Paul. */
13468 #ifndef __cplusplus
13469 /* Ultrix mips cc rejects this. */
13470 typedef int charset[2];
13472 /* SunOS 4.1.1 cc rejects this. */
13473 char const *const *ccp;
13475 /* NEC SVR4.0.2 mips cc rejects this. */
13476 struct point {int x, y;};
13477 static struct point const zero = {0,0};
13478 /* AIX XL C 1.02.0.0 rejects this.
13479 It does not let you subtract one const X* pointer from another in
13480 an arm of an if-expression whose if-part is not a constant
13482 const char *g = "string";
13483 ccp = &g + (g ? g-g : 0);
13484 /* HPUX 7.0 cc rejects these. */
13487 ccp = (char const *const *) p;
13488 { /* SCO 3.2v4 cc rejects this. */
13490 char const *s = 0 ? (char *) 0 : (char const *) 0;
13494 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13495 int x[] = {25, 17};
13496 const int *foo = &x[0];
13499 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13500 typedef const int *iptr;
13504 { /* AIX XL C 1.02.0.0 rejects this saying
13505 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13506 struct s { int j; const int *ap[3]; };
13507 struct s *b; b->j = 5;
13509 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13510 const int foo = 10;
13518 rm -f conftest.
$ac_objext
13519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13520 (eval $ac_compile) 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } &&
13524 { ac_try
='test -s conftest.$ac_objext'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; }; then
13532 echo "$as_me: failed program was:" >&5
13533 sed 's/^/| /' conftest.
$ac_ext >&5
13537 rm -f conftest.
$ac_objext conftest.
$ac_ext
13539 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13540 echo "${ECHO_T}$ac_cv_c_const" >&6
13541 if test $ac_cv_c_const = no
; then
13543 cat >>confdefs.h
<<\_ACEOF
13549 echo "$as_me:$LINENO: checking for inline" >&5
13550 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13551 if test "${ac_cv_c_inline+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 for ac_kw
in inline __inline__ __inline
; do
13556 cat >conftest.
$ac_ext <<_ACEOF
13557 #line $LINENO "configure"
13560 cat confdefs.h
>>conftest.
$ac_ext
13561 cat >>conftest.
$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 #ifndef __cplusplus
13565 static $ac_kw foo_t static_foo () {return 0; }
13566 $ac_kw foo_t foo () {return 0; }
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_c_inline
=$ac_kw; break
13584 echo "$as_me: failed program was:" >&5
13585 sed 's/^/| /' conftest.
$ac_ext >&5
13588 rm -f conftest.
$ac_objext conftest.
$ac_ext
13592 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13593 echo "${ECHO_T}$ac_cv_c_inline" >&6
13594 case $ac_cv_c_inline in
13597 cat >>confdefs.h
<<\_ACEOF
13601 *) cat >>confdefs.h
<<_ACEOF
13602 #define inline $ac_cv_c_inline
13608 echo "$as_me:$LINENO: checking for char" >&5
13609 echo $ECHO_N "checking for char... $ECHO_C" >&6
13610 if test "${ac_cv_type_char+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 cat >conftest.
$ac_ext <<_ACEOF
13614 #line $LINENO "configure"
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 $ac_includes_default
13632 rm -f conftest.
$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); } &&
13638 { ac_try
='test -s conftest.$ac_objext'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; }; then
13644 ac_cv_type_char
=yes
13646 echo "$as_me: failed program was:" >&5
13647 sed 's/^/| /' conftest.
$ac_ext >&5
13651 rm -f conftest.
$ac_objext conftest.
$ac_ext
13653 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13654 echo "${ECHO_T}$ac_cv_type_char" >&6
13656 echo "$as_me:$LINENO: checking size of char" >&5
13657 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13658 if test "${ac_cv_sizeof_char+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 if test "$ac_cv_type_char" = yes; then
13662 # The cast to unsigned long works around a bug in the HP C Compiler
13663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13665 # This bug is HP SR number 8606223364.
13666 if test "$cross_compiling" = yes; then
13667 # Depending upon the size, compute the lo and hi bounds.
13668 cat >conftest.
$ac_ext <<_ACEOF
13669 #line $LINENO "configure"
13672 cat confdefs.h
>>conftest.
$ac_ext
13673 cat >>conftest.
$ac_ext <<_ACEOF
13674 /* end confdefs.h. */
13675 $ac_includes_default
13679 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13686 rm -f conftest.
$ac_objext
13687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13688 (eval $ac_compile) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } &&
13692 { ac_try
='test -s conftest.$ac_objext'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; }; then
13700 cat >conftest.
$ac_ext <<_ACEOF
13701 #line $LINENO "configure"
13704 cat confdefs.h
>>conftest.
$ac_ext
13705 cat >>conftest.
$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13707 $ac_includes_default
13711 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13718 rm -f conftest.
$ac_objext
13719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13720 (eval $ac_compile) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); } &&
13724 { ac_try
='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ac_hi
=$ac_mid; break
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13735 ac_lo
=`expr $ac_mid + 1`
13736 if test $ac_lo -le $ac_mid; then
13740 ac_mid
=`expr 2 '*' $ac_mid + 1`
13742 rm -f conftest.
$ac_objext conftest.
$ac_ext
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.
$ac_ext >&5
13748 cat >conftest.
$ac_ext <<_ACEOF
13749 #line $LINENO "configure"
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 $ac_includes_default
13759 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13766 rm -f conftest.
$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try
='test -s conftest.$ac_objext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13780 cat >conftest.
$ac_ext <<_ACEOF
13781 #line $LINENO "configure"
13784 cat confdefs.h
>>conftest.
$ac_ext
13785 cat >>conftest.
$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 $ac_includes_default
13791 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13798 rm -f conftest.
$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } &&
13804 { ac_try
='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_lo
=$ac_mid; break
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.
$ac_ext >&5
13815 ac_hi
=`expr '(' $ac_mid ')' - 1`
13816 if test $ac_mid -le $ac_hi; then
13820 ac_mid
=`expr 2 '*' $ac_mid`
13822 rm -f conftest.
$ac_objext conftest.
$ac_ext
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.
$ac_ext >&5
13830 rm -f conftest.
$ac_objext conftest.
$ac_ext
13832 rm -f conftest.
$ac_objext conftest.
$ac_ext
13833 # Binary search between lo and hi bounds.
13834 while test "x$ac_lo" != "x$ac_hi"; do
13835 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13836 cat >conftest.
$ac_ext <<_ACEOF
13837 #line $LINENO "configure"
13840 cat confdefs.h
>>conftest.
$ac_ext
13841 cat >>conftest.
$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13843 $ac_includes_default
13847 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13854 rm -f conftest.
$ac_objext
13855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13856 (eval $ac_compile) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } &&
13860 { ac_try
='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 ac_lo
=`expr '(' $ac_mid ')' + 1`
13873 rm -f conftest.
$ac_objext conftest.
$ac_ext
13876 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13877 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13878 See \`config.log' for more details." >&5
13879 echo "$as_me: error: cannot compute sizeof (char), 77
13880 See \`config.log' for more details." >&2;}
13881 { (exit 1); exit 1; }; } ;;
13884 if test "$cross_compiling" = yes; then
13885 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13886 See \`config.log' for more details." >&5
13887 echo "$as_me: error: cannot run test program while cross compiling
13888 See \`config.log' for more details." >&2;}
13889 { (exit 1); exit 1; }; }
13891 cat >conftest.
$ac_ext <<_ACEOF
13892 #line $LINENO "configure"
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 $ac_includes_default
13899 long longval () { return (long) (sizeof (char)); }
13900 unsigned long ulongval () { return (long) (sizeof (char)); }
13902 #include <stdlib.h>
13907 FILE *f = fopen ("conftest.val", "w");
13910 if (((long) (sizeof (char))) < 0)
13912 long i = longval ();
13913 if (i != ((long) (sizeof (char))))
13915 fprintf (f, "%ld\n", i);
13919 unsigned long i = ulongval ();
13920 if (i != ((long) (sizeof (char))))
13922 fprintf (f, "%lu\n", i);
13924 exit (ferror (f) || fclose (f) != 0);
13930 rm -f conftest
$ac_exeext
13931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13932 (eval $ac_link) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_cv_sizeof_char
=`cat conftest.val`
13943 echo "$as_me: program exited with status $ac_status" >&5
13944 echo "$as_me: failed program was:" >&5
13945 sed 's/^/| /' conftest.
$ac_ext >&5
13947 ( exit $ac_status )
13948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13949 See \`config.log' for more details." >&5
13950 echo "$as_me: error: cannot compute sizeof (char), 77
13951 See \`config.log' for more details." >&2;}
13952 { (exit 1); exit 1; }; }
13954 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13959 ac_cv_sizeof_char
=0
13962 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13963 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13964 cat >>confdefs.h
<<_ACEOF
13965 #define SIZEOF_CHAR $ac_cv_sizeof_char
13969 echo "$as_me:$LINENO: checking for short" >&5
13970 echo $ECHO_N "checking for short... $ECHO_C" >&6
13971 if test "${ac_cv_type_short+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 cat >conftest.
$ac_ext <<_ACEOF
13975 #line $LINENO "configure"
13978 cat confdefs.h
>>conftest.
$ac_ext
13979 cat >>conftest.
$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 $ac_includes_default
13987 if (sizeof (short))
13993 rm -f conftest.
$ac_objext
13994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13995 (eval $ac_compile) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); } &&
13999 { ac_try
='test -s conftest.$ac_objext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 ac_cv_type_short
=yes
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.
$ac_ext >&5
14010 ac_cv_type_short
=no
14012 rm -f conftest.
$ac_objext conftest.
$ac_ext
14014 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14015 echo "${ECHO_T}$ac_cv_type_short" >&6
14017 echo "$as_me:$LINENO: checking size of short" >&5
14018 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14019 if test "${ac_cv_sizeof_short+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14022 if test "$ac_cv_type_short" = yes; then
14023 # The cast to unsigned long works around a bug in the HP C Compiler
14024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14026 # This bug is HP SR number 8606223364.
14027 if test "$cross_compiling" = yes; then
14028 # Depending upon the size, compute the lo and hi bounds.
14029 cat >conftest.
$ac_ext <<_ACEOF
14030 #line $LINENO "configure"
14033 cat confdefs.h
>>conftest.
$ac_ext
14034 cat >>conftest.
$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 $ac_includes_default
14040 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14047 rm -f conftest.
$ac_objext
14048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14049 (eval $ac_compile) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try
='test -s conftest.$ac_objext'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; }; then
14061 cat >conftest.
$ac_ext <<_ACEOF
14062 #line $LINENO "configure"
14065 cat confdefs.h
>>conftest.
$ac_ext
14066 cat >>conftest.
$ac_ext <<_ACEOF
14067 /* end confdefs.h. */
14068 $ac_includes_default
14072 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14079 rm -f conftest.
$ac_objext
14080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14081 (eval $ac_compile) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); } &&
14085 { ac_try
='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 ac_hi
=$ac_mid; break
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.
$ac_ext >&5
14096 ac_lo
=`expr $ac_mid + 1`
14097 if test $ac_lo -le $ac_mid; then
14101 ac_mid
=`expr 2 '*' $ac_mid + 1`
14103 rm -f conftest.
$ac_objext conftest.
$ac_ext
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.
$ac_ext >&5
14109 cat >conftest.
$ac_ext <<_ACEOF
14110 #line $LINENO "configure"
14113 cat confdefs.h
>>conftest.
$ac_ext
14114 cat >>conftest.
$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_includes_default
14120 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14127 rm -f conftest.
$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } &&
14133 { ac_try
='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14141 cat >conftest.
$ac_ext <<_ACEOF
14142 #line $LINENO "configure"
14145 cat confdefs.h
>>conftest.
$ac_ext
14146 cat >>conftest.
$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 $ac_includes_default
14152 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14159 rm -f conftest.
$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -s conftest.$ac_objext'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; }; then
14171 ac_lo
=$ac_mid; break
14173 echo "$as_me: failed program was:" >&5
14174 sed 's/^/| /' conftest.
$ac_ext >&5
14176 ac_hi
=`expr '(' $ac_mid ')' - 1`
14177 if test $ac_mid -le $ac_hi; then
14181 ac_mid
=`expr 2 '*' $ac_mid`
14183 rm -f conftest.
$ac_objext conftest.
$ac_ext
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.
$ac_ext >&5
14191 rm -f conftest.
$ac_objext conftest.
$ac_ext
14193 rm -f conftest.
$ac_objext conftest.
$ac_ext
14194 # Binary search between lo and hi bounds.
14195 while test "x$ac_lo" != "x$ac_hi"; do
14196 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14197 cat >conftest.
$ac_ext <<_ACEOF
14198 #line $LINENO "configure"
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204 $ac_includes_default
14208 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14215 rm -f conftest.
$ac_objext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14217 (eval $ac_compile) 2>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } &&
14221 { ac_try
='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14229 echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.
$ac_ext >&5
14232 ac_lo
=`expr '(' $ac_mid ')' + 1`
14234 rm -f conftest.
$ac_objext conftest.
$ac_ext
14237 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14239 See \`config.log' for more details." >&5
14240 echo "$as_me: error: cannot compute sizeof (short), 77
14241 See \`config.log' for more details." >&2;}
14242 { (exit 1); exit 1; }; } ;;
14245 if test "$cross_compiling" = yes; then
14246 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14247 See \`config.log' for more details." >&5
14248 echo "$as_me: error: cannot run test program while cross compiling
14249 See \`config.log' for more details." >&2;}
14250 { (exit 1); exit 1; }; }
14252 cat >conftest.
$ac_ext <<_ACEOF
14253 #line $LINENO "configure"
14256 cat confdefs.h
>>conftest.
$ac_ext
14257 cat >>conftest.
$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14259 $ac_includes_default
14260 long longval () { return (long) (sizeof (short)); }
14261 unsigned long ulongval () { return (long) (sizeof (short)); }
14263 #include <stdlib.h>
14268 FILE *f = fopen ("conftest.val", "w");
14271 if (((long) (sizeof (short))) < 0)
14273 long i = longval ();
14274 if (i != ((long) (sizeof (short))))
14276 fprintf (f, "%ld\n", i);
14280 unsigned long i = ulongval ();
14281 if (i != ((long) (sizeof (short))))
14283 fprintf (f, "%lu\n", i);
14285 exit (ferror (f) || fclose (f) != 0);
14291 rm -f conftest
$ac_exeext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14293 (eval $ac_link) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_sizeof_short
=`cat conftest.val`
14304 echo "$as_me: program exited with status $ac_status" >&5
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.
$ac_ext >&5
14308 ( exit $ac_status )
14309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14310 See \`config.log' for more details." >&5
14311 echo "$as_me: error: cannot compute sizeof (short), 77
14312 See \`config.log' for more details." >&2;}
14313 { (exit 1); exit 1; }; }
14315 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14320 ac_cv_sizeof_short
=0
14323 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14324 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14325 cat >>confdefs.h
<<_ACEOF
14326 #define SIZEOF_SHORT $ac_cv_sizeof_short
14330 echo "$as_me:$LINENO: checking for void *" >&5
14331 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14332 if test "${ac_cv_type_void_p+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 cat >conftest.
$ac_ext <<_ACEOF
14336 #line $LINENO "configure"
14339 cat confdefs.h
>>conftest.
$ac_ext
14340 cat >>conftest.
$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 $ac_includes_default
14348 if (sizeof (void *))
14354 rm -f conftest.
$ac_objext
14355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14356 (eval $ac_compile) 2>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); } &&
14360 { ac_try
='test -s conftest.$ac_objext'
14361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14362 (eval $ac_try) 2>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); }; }; then
14366 ac_cv_type_void_p
=yes
14368 echo "$as_me: failed program was:" >&5
14369 sed 's/^/| /' conftest.
$ac_ext >&5
14371 ac_cv_type_void_p
=no
14373 rm -f conftest.
$ac_objext conftest.
$ac_ext
14375 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14376 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14378 echo "$as_me:$LINENO: checking size of void *" >&5
14379 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14380 if test "${ac_cv_sizeof_void_p+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 if test "$ac_cv_type_void_p" = yes; then
14384 # The cast to unsigned long works around a bug in the HP C Compiler
14385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14387 # This bug is HP SR number 8606223364.
14388 if test "$cross_compiling" = yes; then
14389 # Depending upon the size, compute the lo and hi bounds.
14390 cat >conftest.
$ac_ext <<_ACEOF
14391 #line $LINENO "configure"
14394 cat confdefs.h
>>conftest.
$ac_ext
14395 cat >>conftest.
$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397 $ac_includes_default
14401 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14408 rm -f conftest.
$ac_objext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14410 (eval $ac_compile) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try
='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14422 cat >conftest.
$ac_ext <<_ACEOF
14423 #line $LINENO "configure"
14426 cat confdefs.h
>>conftest.
$ac_ext
14427 cat >>conftest.
$ac_ext <<_ACEOF
14428 /* end confdefs.h. */
14429 $ac_includes_default
14433 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14440 rm -f conftest.
$ac_objext
14441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14442 (eval $ac_compile) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } &&
14446 { ac_try
='test -s conftest.$ac_objext'
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14448 (eval $ac_try) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; }; then
14452 ac_hi
=$ac_mid; break
14454 echo "$as_me: failed program was:" >&5
14455 sed 's/^/| /' conftest.
$ac_ext >&5
14457 ac_lo
=`expr $ac_mid + 1`
14458 if test $ac_lo -le $ac_mid; then
14462 ac_mid
=`expr 2 '*' $ac_mid + 1`
14464 rm -f conftest.
$ac_objext conftest.
$ac_ext
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.
$ac_ext >&5
14470 cat >conftest.
$ac_ext <<_ACEOF
14471 #line $LINENO "configure"
14474 cat confdefs.h
>>conftest.
$ac_ext
14475 cat >>conftest.
$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 $ac_includes_default
14481 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14488 rm -f conftest.
$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try
='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14502 cat >conftest.
$ac_ext <<_ACEOF
14503 #line $LINENO "configure"
14506 cat confdefs.h
>>conftest.
$ac_ext
14507 cat >>conftest.
$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14509 $ac_includes_default
14513 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14520 rm -f conftest.
$ac_objext
14521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14522 (eval $ac_compile) 2>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try
='test -s conftest.$ac_objext'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; }; then
14532 ac_lo
=$ac_mid; break
14534 echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.
$ac_ext >&5
14537 ac_hi
=`expr '(' $ac_mid ')' - 1`
14538 if test $ac_mid -le $ac_hi; then
14542 ac_mid
=`expr 2 '*' $ac_mid`
14544 rm -f conftest.
$ac_objext conftest.
$ac_ext
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14552 rm -f conftest.
$ac_objext conftest.
$ac_ext
14554 rm -f conftest.
$ac_objext conftest.
$ac_ext
14555 # Binary search between lo and hi bounds.
14556 while test "x$ac_lo" != "x$ac_hi"; do
14557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14558 cat >conftest.
$ac_ext <<_ACEOF
14559 #line $LINENO "configure"
14562 cat confdefs.h
>>conftest.
$ac_ext
14563 cat >>conftest.
$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14565 $ac_includes_default
14569 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14576 rm -f conftest.
$ac_objext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14578 (eval $ac_compile) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } &&
14582 { ac_try
='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.
$ac_ext >&5
14593 ac_lo
=`expr '(' $ac_mid ')' + 1`
14595 rm -f conftest.
$ac_objext conftest.
$ac_ext
14598 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14599 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14600 See \`config.log' for more details." >&5
14601 echo "$as_me: error: cannot compute sizeof (void *), 77
14602 See \`config.log' for more details." >&2;}
14603 { (exit 1); exit 1; }; } ;;
14606 if test "$cross_compiling" = yes; then
14607 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14608 See \`config.log' for more details." >&5
14609 echo "$as_me: error: cannot run test program while cross compiling
14610 See \`config.log' for more details." >&2;}
14611 { (exit 1); exit 1; }; }
14613 cat >conftest.
$ac_ext <<_ACEOF
14614 #line $LINENO "configure"
14617 cat confdefs.h
>>conftest.
$ac_ext
14618 cat >>conftest.
$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14620 $ac_includes_default
14621 long longval () { return (long) (sizeof (void *)); }
14622 unsigned long ulongval () { return (long) (sizeof (void *)); }
14624 #include <stdlib.h>
14629 FILE *f = fopen ("conftest.val", "w");
14632 if (((long) (sizeof (void *))) < 0)
14634 long i = longval ();
14635 if (i != ((long) (sizeof (void *))))
14637 fprintf (f, "%ld\n", i);
14641 unsigned long i = ulongval ();
14642 if (i != ((long) (sizeof (void *))))
14644 fprintf (f, "%lu\n", i);
14646 exit (ferror (f) || fclose (f) != 0);
14652 rm -f conftest
$ac_exeext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14654 (eval $ac_link) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 ac_cv_sizeof_void_p
=`cat conftest.val`
14665 echo "$as_me: program exited with status $ac_status" >&5
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.
$ac_ext >&5
14669 ( exit $ac_status )
14670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14671 See \`config.log' for more details." >&5
14672 echo "$as_me: error: cannot compute sizeof (void *), 77
14673 See \`config.log' for more details." >&2;}
14674 { (exit 1); exit 1; }; }
14676 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14681 ac_cv_sizeof_void_p
=0
14684 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14685 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14686 cat >>confdefs.h
<<_ACEOF
14687 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14691 echo "$as_me:$LINENO: checking for int" >&5
14692 echo $ECHO_N "checking for int... $ECHO_C" >&6
14693 if test "${ac_cv_type_int+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 cat >conftest.
$ac_ext <<_ACEOF
14697 #line $LINENO "configure"
14700 cat confdefs.h
>>conftest.
$ac_ext
14701 cat >>conftest.
$ac_ext <<_ACEOF
14702 /* end confdefs.h. */
14703 $ac_includes_default
14715 rm -f conftest.
$ac_objext
14716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14717 (eval $ac_compile) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); } &&
14721 { ac_try
='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.
$ac_ext >&5
14734 rm -f conftest.
$ac_objext conftest.
$ac_ext
14736 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14737 echo "${ECHO_T}$ac_cv_type_int" >&6
14739 echo "$as_me:$LINENO: checking size of int" >&5
14740 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14741 if test "${ac_cv_sizeof_int+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 if test "$ac_cv_type_int" = yes; then
14745 # The cast to unsigned long works around a bug in the HP C Compiler
14746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14748 # This bug is HP SR number 8606223364.
14749 if test "$cross_compiling" = yes; then
14750 # Depending upon the size, compute the lo and hi bounds.
14751 cat >conftest.
$ac_ext <<_ACEOF
14752 #line $LINENO "configure"
14755 cat confdefs.h
>>conftest.
$ac_ext
14756 cat >>conftest.
$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758 $ac_includes_default
14762 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14769 rm -f conftest.
$ac_objext
14770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14771 (eval $ac_compile) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try
='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14783 cat >conftest.
$ac_ext <<_ACEOF
14784 #line $LINENO "configure"
14787 cat confdefs.h
>>conftest.
$ac_ext
14788 cat >>conftest.
$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790 $ac_includes_default
14794 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14801 rm -f conftest.
$ac_objext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 ac_hi
=$ac_mid; break
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.
$ac_ext >&5
14818 ac_lo
=`expr $ac_mid + 1`
14819 if test $ac_lo -le $ac_mid; then
14823 ac_mid
=`expr 2 '*' $ac_mid + 1`
14825 rm -f conftest.
$ac_objext conftest.
$ac_ext
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.
$ac_ext >&5
14831 cat >conftest.
$ac_ext <<_ACEOF
14832 #line $LINENO "configure"
14835 cat confdefs.h
>>conftest.
$ac_ext
14836 cat >>conftest.
$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14838 $ac_includes_default
14842 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14849 rm -f conftest.
$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try
='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14863 cat >conftest.
$ac_ext <<_ACEOF
14864 #line $LINENO "configure"
14867 cat confdefs.h
>>conftest.
$ac_ext
14868 cat >>conftest.
$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14870 $ac_includes_default
14874 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14881 rm -f conftest.
$ac_objext
14882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14883 (eval $ac_compile) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } &&
14887 { ac_try
='test -s conftest.$ac_objext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_lo
=$ac_mid; break
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.
$ac_ext >&5
14898 ac_hi
=`expr '(' $ac_mid ')' - 1`
14899 if test $ac_mid -le $ac_hi; then
14903 ac_mid
=`expr 2 '*' $ac_mid`
14905 rm -f conftest.
$ac_objext conftest.
$ac_ext
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.
$ac_ext >&5
14913 rm -f conftest.
$ac_objext conftest.
$ac_ext
14915 rm -f conftest.
$ac_objext conftest.
$ac_ext
14916 # Binary search between lo and hi bounds.
14917 while test "x$ac_lo" != "x$ac_hi"; do
14918 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14919 cat >conftest.
$ac_ext <<_ACEOF
14920 #line $LINENO "configure"
14923 cat confdefs.h
>>conftest.
$ac_ext
14924 cat >>conftest.
$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 $ac_includes_default
14930 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14937 rm -f conftest.
$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } &&
14943 { ac_try
='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.
$ac_ext >&5
14954 ac_lo
=`expr '(' $ac_mid ')' + 1`
14956 rm -f conftest.
$ac_objext conftest.
$ac_ext
14959 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14960 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14961 See \`config.log' for more details." >&5
14962 echo "$as_me: error: cannot compute sizeof (int), 77
14963 See \`config.log' for more details." >&2;}
14964 { (exit 1); exit 1; }; } ;;
14967 if test "$cross_compiling" = yes; then
14968 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14969 See \`config.log' for more details." >&5
14970 echo "$as_me: error: cannot run test program while cross compiling
14971 See \`config.log' for more details." >&2;}
14972 { (exit 1); exit 1; }; }
14974 cat >conftest.
$ac_ext <<_ACEOF
14975 #line $LINENO "configure"
14978 cat confdefs.h
>>conftest.
$ac_ext
14979 cat >>conftest.
$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 $ac_includes_default
14982 long longval () { return (long) (sizeof (int)); }
14983 unsigned long ulongval () { return (long) (sizeof (int)); }
14985 #include <stdlib.h>
14990 FILE *f = fopen ("conftest.val", "w");
14993 if (((long) (sizeof (int))) < 0)
14995 long i = longval ();
14996 if (i != ((long) (sizeof (int))))
14998 fprintf (f, "%ld\n", i);
15002 unsigned long i = ulongval ();
15003 if (i != ((long) (sizeof (int))))
15005 fprintf (f, "%lu\n", i);
15007 exit (ferror (f) || fclose (f) != 0);
15013 rm -f conftest
$ac_exeext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15015 (eval $ac_link) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_cv_sizeof_int
=`cat conftest.val`
15026 echo "$as_me: program exited with status $ac_status" >&5
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.
$ac_ext >&5
15030 ( exit $ac_status )
15031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15032 See \`config.log' for more details." >&5
15033 echo "$as_me: error: cannot compute sizeof (int), 77
15034 See \`config.log' for more details." >&2;}
15035 { (exit 1); exit 1; }; }
15037 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15045 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15046 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15047 cat >>confdefs.h
<<_ACEOF
15048 #define SIZEOF_INT $ac_cv_sizeof_int
15052 echo "$as_me:$LINENO: checking for long" >&5
15053 echo $ECHO_N "checking for long... $ECHO_C" >&6
15054 if test "${ac_cv_type_long+set}" = set; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 cat >conftest.
$ac_ext <<_ACEOF
15058 #line $LINENO "configure"
15061 cat confdefs.h
>>conftest.
$ac_ext
15062 cat >>conftest.
$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064 $ac_includes_default
15076 rm -f conftest.
$ac_objext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15078 (eval $ac_compile) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try
='test -s conftest.$ac_objext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15088 ac_cv_type_long
=yes
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.
$ac_ext >&5
15095 rm -f conftest.
$ac_objext conftest.
$ac_ext
15097 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15098 echo "${ECHO_T}$ac_cv_type_long" >&6
15100 echo "$as_me:$LINENO: checking size of long" >&5
15101 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15102 if test "${ac_cv_sizeof_long+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 if test "$ac_cv_type_long" = yes; then
15106 # The cast to unsigned long works around a bug in the HP C Compiler
15107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15109 # This bug is HP SR number 8606223364.
15110 if test "$cross_compiling" = yes; then
15111 # Depending upon the size, compute the lo and hi bounds.
15112 cat >conftest.
$ac_ext <<_ACEOF
15113 #line $LINENO "configure"
15116 cat confdefs.h
>>conftest.
$ac_ext
15117 cat >>conftest.
$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 $ac_includes_default
15123 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15130 rm -f conftest.
$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try
='test -s conftest.$ac_objext'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; }; then
15144 cat >conftest.
$ac_ext <<_ACEOF
15145 #line $LINENO "configure"
15148 cat confdefs.h
>>conftest.
$ac_ext
15149 cat >>conftest.
$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 $ac_includes_default
15155 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15162 rm -f conftest.
$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try
='test -s conftest.$ac_objext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_hi
=$ac_mid; break
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.
$ac_ext >&5
15179 ac_lo
=`expr $ac_mid + 1`
15180 if test $ac_lo -le $ac_mid; then
15184 ac_mid
=`expr 2 '*' $ac_mid + 1`
15186 rm -f conftest.
$ac_objext conftest.
$ac_ext
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.
$ac_ext >&5
15192 cat >conftest.
$ac_ext <<_ACEOF
15193 #line $LINENO "configure"
15196 cat confdefs.h
>>conftest.
$ac_ext
15197 cat >>conftest.
$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 $ac_includes_default
15203 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15210 rm -f conftest.
$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try
='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15224 cat >conftest.
$ac_ext <<_ACEOF
15225 #line $LINENO "configure"
15228 cat confdefs.h
>>conftest.
$ac_ext
15229 cat >>conftest.
$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 $ac_includes_default
15235 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15242 rm -f conftest.
$ac_objext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15244 (eval $ac_compile) 2>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } &&
15248 { ac_try
='test -s conftest.$ac_objext'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; }; then
15254 ac_lo
=$ac_mid; break
15256 echo "$as_me: failed program was:" >&5
15257 sed 's/^/| /' conftest.
$ac_ext >&5
15259 ac_hi
=`expr '(' $ac_mid ')' - 1`
15260 if test $ac_mid -le $ac_hi; then
15264 ac_mid
=`expr 2 '*' $ac_mid`
15266 rm -f conftest.
$ac_objext conftest.
$ac_ext
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.
$ac_ext >&5
15274 rm -f conftest.
$ac_objext conftest.
$ac_ext
15276 rm -f conftest.
$ac_objext conftest.
$ac_ext
15277 # Binary search between lo and hi bounds.
15278 while test "x$ac_lo" != "x$ac_hi"; do
15279 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15280 cat >conftest.
$ac_ext <<_ACEOF
15281 #line $LINENO "configure"
15284 cat confdefs.h
>>conftest.
$ac_ext
15285 cat >>conftest.
$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 $ac_includes_default
15291 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15298 rm -f conftest.
$ac_objext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try
='test -s conftest.$ac_objext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15315 ac_lo
=`expr '(' $ac_mid ')' + 1`
15317 rm -f conftest.
$ac_objext conftest.
$ac_ext
15320 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15321 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15322 See \`config.log' for more details." >&5
15323 echo "$as_me: error: cannot compute sizeof (long), 77
15324 See \`config.log' for more details." >&2;}
15325 { (exit 1); exit 1; }; } ;;
15328 if test "$cross_compiling" = yes; then
15329 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15330 See \`config.log' for more details." >&5
15331 echo "$as_me: error: cannot run test program while cross compiling
15332 See \`config.log' for more details." >&2;}
15333 { (exit 1); exit 1; }; }
15335 cat >conftest.
$ac_ext <<_ACEOF
15336 #line $LINENO "configure"
15339 cat confdefs.h
>>conftest.
$ac_ext
15340 cat >>conftest.
$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342 $ac_includes_default
15343 long longval () { return (long) (sizeof (long)); }
15344 unsigned long ulongval () { return (long) (sizeof (long)); }
15346 #include <stdlib.h>
15351 FILE *f = fopen ("conftest.val", "w");
15354 if (((long) (sizeof (long))) < 0)
15356 long i = longval ();
15357 if (i != ((long) (sizeof (long))))
15359 fprintf (f, "%ld\n", i);
15363 unsigned long i = ulongval ();
15364 if (i != ((long) (sizeof (long))))
15366 fprintf (f, "%lu\n", i);
15368 exit (ferror (f) || fclose (f) != 0);
15374 rm -f conftest
$ac_exeext
15375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15376 (eval $ac_link) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; }; then
15385 ac_cv_sizeof_long
=`cat conftest.val`
15387 echo "$as_me: program exited with status $ac_status" >&5
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15391 ( exit $ac_status )
15392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15393 See \`config.log' for more details." >&5
15394 echo "$as_me: error: cannot compute sizeof (long), 77
15395 See \`config.log' for more details." >&2;}
15396 { (exit 1); exit 1; }; }
15398 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15403 ac_cv_sizeof_long
=0
15406 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15407 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15408 cat >>confdefs.h
<<_ACEOF
15409 #define SIZEOF_LONG $ac_cv_sizeof_long
15416 echo "$as_me:$LINENO: checking for long long" >&5
15417 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15418 if test "${ac_cv_type_long_long+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 cat >conftest.
$ac_ext <<_ACEOF
15422 #line $LINENO "configure"
15425 cat confdefs.h
>>conftest.
$ac_ext
15426 cat >>conftest.
$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15428 $ac_includes_default
15432 if ((long long *) 0)
15434 if (sizeof (long long))
15440 rm -f conftest.
$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try
='test -s conftest.$ac_objext'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; }; then
15452 ac_cv_type_long_long
=yes
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.
$ac_ext >&5
15457 ac_cv_type_long_long
=no
15459 rm -f conftest.
$ac_objext conftest.
$ac_ext
15461 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15462 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15464 echo "$as_me:$LINENO: checking size of long long" >&5
15465 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15466 if test "${ac_cv_sizeof_long_long+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 if test "$ac_cv_type_long_long" = yes; then
15470 # The cast to unsigned long works around a bug in the HP C Compiler
15471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15473 # This bug is HP SR number 8606223364.
15474 if test "$cross_compiling" = yes; then
15475 # Depending upon the size, compute the lo and hi bounds.
15476 cat >conftest.
$ac_ext <<_ACEOF
15477 #line $LINENO "configure"
15480 cat confdefs.h
>>conftest.
$ac_ext
15481 cat >>conftest.
$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15483 $ac_includes_default
15487 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15494 rm -f conftest.
$ac_objext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15496 (eval $ac_compile) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15508 cat >conftest.
$ac_ext <<_ACEOF
15509 #line $LINENO "configure"
15512 cat confdefs.h
>>conftest.
$ac_ext
15513 cat >>conftest.
$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515 $ac_includes_default
15519 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15526 rm -f conftest.
$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -s conftest.$ac_objext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_hi
=$ac_mid; break
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.
$ac_ext >&5
15543 ac_lo
=`expr $ac_mid + 1`
15544 if test $ac_lo -le $ac_mid; then
15548 ac_mid
=`expr 2 '*' $ac_mid + 1`
15550 rm -f conftest.
$ac_objext conftest.
$ac_ext
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.
$ac_ext >&5
15556 cat >conftest.
$ac_ext <<_ACEOF
15557 #line $LINENO "configure"
15560 cat confdefs.h
>>conftest.
$ac_ext
15561 cat >>conftest.
$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15567 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15574 rm -f conftest.
$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15588 cat >conftest.
$ac_ext <<_ACEOF
15589 #line $LINENO "configure"
15592 cat confdefs.h
>>conftest.
$ac_ext
15593 cat >>conftest.
$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 $ac_includes_default
15599 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15606 rm -f conftest.
$ac_objext
15607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } &&
15612 { ac_try
='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_lo
=$ac_mid; break
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.
$ac_ext >&5
15623 ac_hi
=`expr '(' $ac_mid ')' - 1`
15624 if test $ac_mid -le $ac_hi; then
15628 ac_mid
=`expr 2 '*' $ac_mid`
15630 rm -f conftest.
$ac_objext conftest.
$ac_ext
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.
$ac_ext >&5
15638 rm -f conftest.
$ac_objext conftest.
$ac_ext
15640 rm -f conftest.
$ac_objext conftest.
$ac_ext
15641 # Binary search between lo and hi bounds.
15642 while test "x$ac_lo" != "x$ac_hi"; do
15643 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15644 cat >conftest.
$ac_ext <<_ACEOF
15645 #line $LINENO "configure"
15648 cat confdefs.h
>>conftest.
$ac_ext
15649 cat >>conftest.
$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15651 $ac_includes_default
15655 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15662 rm -f conftest.
$ac_objext
15663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15664 (eval $ac_compile) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } &&
15668 { ac_try
='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.
$ac_ext >&5
15679 ac_lo
=`expr '(' $ac_mid ')' + 1`
15681 rm -f conftest.
$ac_objext conftest.
$ac_ext
15684 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15685 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15686 See \`config.log' for more details." >&5
15687 echo "$as_me: error: cannot compute sizeof (long long), 77
15688 See \`config.log' for more details." >&2;}
15689 { (exit 1); exit 1; }; } ;;
15692 if test "$cross_compiling" = yes; then
15693 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15694 See \`config.log' for more details." >&5
15695 echo "$as_me: error: cannot run test program while cross compiling
15696 See \`config.log' for more details." >&2;}
15697 { (exit 1); exit 1; }; }
15699 cat >conftest.
$ac_ext <<_ACEOF
15700 #line $LINENO "configure"
15703 cat confdefs.h
>>conftest.
$ac_ext
15704 cat >>conftest.
$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15707 long longval () { return (long) (sizeof (long long)); }
15708 unsigned long ulongval () { return (long) (sizeof (long long)); }
15710 #include <stdlib.h>
15715 FILE *f = fopen ("conftest.val", "w");
15718 if (((long) (sizeof (long long))) < 0)
15720 long i = longval ();
15721 if (i != ((long) (sizeof (long long))))
15723 fprintf (f, "%ld\n", i);
15727 unsigned long i = ulongval ();
15728 if (i != ((long) (sizeof (long long))))
15730 fprintf (f, "%lu\n", i);
15732 exit (ferror (f) || fclose (f) != 0);
15738 rm -f conftest
$ac_exeext
15739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15740 (eval $ac_link) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15749 ac_cv_sizeof_long_long
=`cat conftest.val`
15751 echo "$as_me: program exited with status $ac_status" >&5
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 ( exit $ac_status )
15756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15757 See \`config.log' for more details." >&5
15758 echo "$as_me: error: cannot compute sizeof (long long), 77
15759 See \`config.log' for more details." >&2;}
15760 { (exit 1); exit 1; }; }
15762 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15767 ac_cv_sizeof_long_long
=0
15770 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15771 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15772 cat >>confdefs.h
<<_ACEOF
15773 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15779 echo "$as_me:$LINENO: checking for long long" >&5
15780 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15781 if test "${ac_cv_type_long_long+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 cat >conftest.
$ac_ext <<_ACEOF
15785 #line $LINENO "configure"
15788 cat confdefs.h
>>conftest.
$ac_ext
15789 cat >>conftest.
$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15791 $ac_includes_default
15795 if ((long long *) 0)
15797 if (sizeof (long long))
15803 rm -f conftest.
$ac_objext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15805 (eval $ac_compile) 2>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try
='test -s conftest.$ac_objext'
15810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811 (eval $ac_try) 2>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; }; then
15815 ac_cv_type_long_long
=yes
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.
$ac_ext >&5
15820 ac_cv_type_long_long
=no
15822 rm -f conftest.
$ac_objext conftest.
$ac_ext
15824 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15825 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15827 echo "$as_me:$LINENO: checking size of long long" >&5
15828 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15829 if test "${ac_cv_sizeof_long_long+set}" = set; then
15830 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 if test "$ac_cv_type_long_long" = yes; then
15833 # The cast to unsigned long works around a bug in the HP C Compiler
15834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15836 # This bug is HP SR number 8606223364.
15837 if test "$cross_compiling" = yes; then
15838 # Depending upon the size, compute the lo and hi bounds.
15839 cat >conftest.
$ac_ext <<_ACEOF
15840 #line $LINENO "configure"
15843 cat confdefs.h
>>conftest.
$ac_ext
15844 cat >>conftest.
$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846 $ac_includes_default
15850 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15857 rm -f conftest.
$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try
='test -s conftest.$ac_objext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15871 cat >conftest.
$ac_ext <<_ACEOF
15872 #line $LINENO "configure"
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878 $ac_includes_default
15882 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15889 rm -f conftest.
$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } &&
15895 { ac_try
='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_hi
=$ac_mid; break
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.
$ac_ext >&5
15906 ac_lo
=`expr $ac_mid + 1`
15907 if test $ac_lo -le $ac_mid; then
15911 ac_mid
=`expr 2 '*' $ac_mid + 1`
15913 rm -f conftest.
$ac_objext conftest.
$ac_ext
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.
$ac_ext >&5
15919 cat >conftest.
$ac_ext <<_ACEOF
15920 #line $LINENO "configure"
15923 cat confdefs.h
>>conftest.
$ac_ext
15924 cat >>conftest.
$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 $ac_includes_default
15930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15937 rm -f conftest.
$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try
='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15951 cat >conftest.
$ac_ext <<_ACEOF
15952 #line $LINENO "configure"
15955 cat confdefs.h
>>conftest.
$ac_ext
15956 cat >>conftest.
$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 $ac_includes_default
15962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15969 rm -f conftest.
$ac_objext
15970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15971 (eval $ac_compile) 2>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try
='test -s conftest.$ac_objext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 ac_lo
=$ac_mid; break
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15986 ac_hi
=`expr '(' $ac_mid ')' - 1`
15987 if test $ac_mid -le $ac_hi; then
15991 ac_mid
=`expr 2 '*' $ac_mid`
15993 rm -f conftest.
$ac_objext conftest.
$ac_ext
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.
$ac_ext >&5
16001 rm -f conftest.
$ac_objext conftest.
$ac_ext
16003 rm -f conftest.
$ac_objext conftest.
$ac_ext
16004 # Binary search between lo and hi bounds.
16005 while test "x$ac_lo" != "x$ac_hi"; do
16006 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16007 cat >conftest.
$ac_ext <<_ACEOF
16008 #line $LINENO "configure"
16011 cat confdefs.h
>>conftest.
$ac_ext
16012 cat >>conftest.
$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 $ac_includes_default
16018 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16025 rm -f conftest.
$ac_objext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16027 (eval $ac_compile) 2>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try
='test -s conftest.$ac_objext'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; }; then
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.
$ac_ext >&5
16042 ac_lo
=`expr '(' $ac_mid ')' + 1`
16044 rm -f conftest.
$ac_objext conftest.
$ac_ext
16047 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16048 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16049 See \`config.log' for more details." >&5
16050 echo "$as_me: error: cannot compute sizeof (long long), 77
16051 See \`config.log' for more details." >&2;}
16052 { (exit 1); exit 1; }; } ;;
16055 if test "$cross_compiling" = yes; then
16056 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16057 See \`config.log' for more details." >&5
16058 echo "$as_me: error: cannot run test program while cross compiling
16059 See \`config.log' for more details." >&2;}
16060 { (exit 1); exit 1; }; }
16062 cat >conftest.
$ac_ext <<_ACEOF
16063 #line $LINENO "configure"
16066 cat confdefs.h
>>conftest.
$ac_ext
16067 cat >>conftest.
$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 $ac_includes_default
16070 long longval () { return (long) (sizeof (long long)); }
16071 unsigned long ulongval () { return (long) (sizeof (long long)); }
16073 #include <stdlib.h>
16078 FILE *f = fopen ("conftest.val", "w");
16081 if (((long) (sizeof (long long))) < 0)
16083 long i = longval ();
16084 if (i != ((long) (sizeof (long long))))
16086 fprintf (f, "%ld\n", i);
16090 unsigned long i = ulongval ();
16091 if (i != ((long) (sizeof (long long))))
16093 fprintf (f, "%lu\n", i);
16095 exit (ferror (f) || fclose (f) != 0);
16101 rm -f conftest
$ac_exeext
16102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16103 (eval $ac_link) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16108 (eval $ac_try) 2>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16112 ac_cv_sizeof_long_long
=`cat conftest.val`
16114 echo "$as_me: program exited with status $ac_status" >&5
16115 echo "$as_me: failed program was:" >&5
16116 sed 's/^/| /' conftest.
$ac_ext >&5
16118 ( exit $ac_status )
16119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16120 See \`config.log' for more details." >&5
16121 echo "$as_me: error: cannot compute sizeof (long long), 77
16122 See \`config.log' for more details." >&2;}
16123 { (exit 1); exit 1; }; }
16125 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16130 ac_cv_sizeof_long_long
=0
16133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16134 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16135 cat >>confdefs.h
<<_ACEOF
16136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16140 if test "$ac_cv_sizeof_long_long" != "0"; then
16141 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16145 echo "$as_me:$LINENO: checking for long long" >&5
16146 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16147 if test "${ac_cv_type_long_long+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 cat >conftest.
$ac_ext <<_ACEOF
16151 #line $LINENO "configure"
16154 cat confdefs.h
>>conftest.
$ac_ext
16155 cat >>conftest.
$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 $ac_includes_default
16161 if ((long long *) 0)
16163 if (sizeof (long long))
16169 rm -f conftest.
$ac_objext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16171 (eval $ac_compile) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try
='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_cv_type_long_long
=yes
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 ac_cv_type_long_long
=no
16188 rm -f conftest.
$ac_objext conftest.
$ac_ext
16190 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16191 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16193 echo "$as_me:$LINENO: checking size of long long" >&5
16194 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16195 if test "${ac_cv_sizeof_long_long+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 if test "$ac_cv_type_long_long" = yes; then
16199 # The cast to unsigned long works around a bug in the HP C Compiler
16200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16202 # This bug is HP SR number 8606223364.
16203 if test "$cross_compiling" = yes; then
16204 # Depending upon the size, compute the lo and hi bounds.
16205 cat >conftest.
$ac_ext <<_ACEOF
16206 #line $LINENO "configure"
16209 cat confdefs.h
>>conftest.
$ac_ext
16210 cat >>conftest.
$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 $ac_includes_default
16216 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16223 rm -f conftest.
$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } &&
16229 { ac_try
='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16237 cat >conftest.
$ac_ext <<_ACEOF
16238 #line $LINENO "configure"
16241 cat confdefs.h
>>conftest.
$ac_ext
16242 cat >>conftest.
$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 $ac_includes_default
16248 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16255 rm -f conftest.
$ac_objext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16257 (eval $ac_compile) 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); } &&
16261 { ac_try
='test -s conftest.$ac_objext'
16262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16263 (eval $ac_try) 2>&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); }; }; then
16267 ac_hi
=$ac_mid; break
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.
$ac_ext >&5
16272 ac_lo
=`expr $ac_mid + 1`
16273 if test $ac_lo -le $ac_mid; then
16277 ac_mid
=`expr 2 '*' $ac_mid + 1`
16279 rm -f conftest.
$ac_objext conftest.
$ac_ext
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.
$ac_ext >&5
16285 cat >conftest.
$ac_ext <<_ACEOF
16286 #line $LINENO "configure"
16289 cat confdefs.h
>>conftest.
$ac_ext
16290 cat >>conftest.
$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 $ac_includes_default
16296 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16303 rm -f conftest.
$ac_objext
16304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16305 (eval $ac_compile) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try
='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16317 cat >conftest.
$ac_ext <<_ACEOF
16318 #line $LINENO "configure"
16321 cat confdefs.h
>>conftest.
$ac_ext
16322 cat >>conftest.
$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16328 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try
='test -s conftest.$ac_objext'
16342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343 (eval $ac_try) 2>&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; }; then
16347 ac_lo
=$ac_mid; break
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.
$ac_ext >&5
16352 ac_hi
=`expr '(' $ac_mid ')' - 1`
16353 if test $ac_mid -le $ac_hi; then
16357 ac_mid
=`expr 2 '*' $ac_mid`
16359 rm -f conftest.
$ac_objext conftest.
$ac_ext
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.
$ac_ext >&5
16367 rm -f conftest.
$ac_objext conftest.
$ac_ext
16369 rm -f conftest.
$ac_objext conftest.
$ac_ext
16370 # Binary search between lo and hi bounds.
16371 while test "x$ac_lo" != "x$ac_hi"; do
16372 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16373 cat >conftest.
$ac_ext <<_ACEOF
16374 #line $LINENO "configure"
16377 cat confdefs.h
>>conftest.
$ac_ext
16378 cat >>conftest.
$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16384 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16391 rm -f conftest.
$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } &&
16397 { ac_try
='test -s conftest.$ac_objext'
16398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399 (eval $ac_try) 2>&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); }; }; then
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.
$ac_ext >&5
16408 ac_lo
=`expr '(' $ac_mid ')' + 1`
16410 rm -f conftest.
$ac_objext conftest.
$ac_ext
16413 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16414 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16415 See \`config.log' for more details." >&5
16416 echo "$as_me: error: cannot compute sizeof (long long), 77
16417 See \`config.log' for more details." >&2;}
16418 { (exit 1); exit 1; }; } ;;
16421 if test "$cross_compiling" = yes; then
16422 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16423 See \`config.log' for more details." >&5
16424 echo "$as_me: error: cannot run test program while cross compiling
16425 See \`config.log' for more details." >&2;}
16426 { (exit 1); exit 1; }; }
16428 cat >conftest.
$ac_ext <<_ACEOF
16429 #line $LINENO "configure"
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435 $ac_includes_default
16436 long longval () { return (long) (sizeof (long long)); }
16437 unsigned long ulongval () { return (long) (sizeof (long long)); }
16439 #include <stdlib.h>
16444 FILE *f = fopen ("conftest.val", "w");
16447 if (((long) (sizeof (long long))) < 0)
16449 long i = longval ();
16450 if (i != ((long) (sizeof (long long))))
16452 fprintf (f, "%ld\n", i);
16456 unsigned long i = ulongval ();
16457 if (i != ((long) (sizeof (long long))))
16459 fprintf (f, "%lu\n", i);
16461 exit (ferror (f) || fclose (f) != 0);
16467 rm -f conftest
$ac_exeext
16468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16469 (eval $ac_link) 2>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_cv_sizeof_long_long
=`cat conftest.val`
16480 echo "$as_me: program exited with status $ac_status" >&5
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.
$ac_ext >&5
16484 ( exit $ac_status )
16485 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16486 See \`config.log' for more details." >&5
16487 echo "$as_me: error: cannot compute sizeof (long long), 77
16488 See \`config.log' for more details." >&2;}
16489 { (exit 1); exit 1; }; }
16491 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16496 ac_cv_sizeof_long_long
=0
16499 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16500 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16501 cat >>confdefs.h
<<_ACEOF
16502 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16508 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16509 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16510 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 if test "$cross_compiling" = yes; then
16518 wx_cv_sizeof_wchar_t
=0
16521 wx_cv_sizeof_wchar_t
=4
16527 cat >conftest.
$ac_ext <<_ACEOF
16528 #line $LINENO "configure"
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16535 /* DJGPP only has fake wchar_t: */
16537 # error "fake wchar_t"
16539 #ifdef HAVE_WCHAR_H
16541 # include <stddef.h>
16543 # include <wchar.h>
16545 #ifdef HAVE_STDLIB_H
16546 # include <stdlib.h>
16551 FILE *f=fopen("conftestval", "w");
16553 fprintf(f, "%i", sizeof(wchar_t));
16558 rm -f conftest
$ac_exeext
16559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16560 (eval $ac_link) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 wx_cv_sizeof_wchar_t
=`cat conftestval`
16571 echo "$as_me: program exited with status $ac_status" >&5
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.
$ac_ext >&5
16575 ( exit $ac_status )
16576 wx_cv_sizeof_wchar_t
=0
16578 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16582 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16583 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16585 cat >>confdefs.h
<<_ACEOF
16586 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16590 # Check whether --enable-largefile or --disable-largefile was given.
16591 if test "${enable_largefile+set}" = set; then
16592 enableval
="$enable_largefile"
16595 if test "$enable_largefile" != no
; then
16598 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16599 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16600 if test "${ac_cv_sys_file_offset_bits+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 _FILE_OFFSET_BITS 64
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_file_offset_bits
=64
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 ac_cv_sys_file_offset_bits
=no
16643 rm -f conftest.
$ac_objext conftest.
$ac_ext
16647 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16648 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16650 if test "$ac_cv_sys_file_offset_bits" != no
; then
16652 cat >>confdefs.h
<<_ACEOF
16653 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16658 if test "x$wx_largefile" != "xyes"; then
16660 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16661 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16662 if test "${ac_cv_sys_large_files+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 cat >conftest.
$ac_ext <<_ACEOF
16667 #line $LINENO "configure"
16670 cat confdefs.h
>>conftest.
$ac_ext
16671 cat >>conftest.
$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673 #define _LARGE_FILES 1
16674 #include <sys/types.h>
16679 unsigned int field: sizeof(off_t) == 8;
16686 rm -f conftest.
$ac_objext
16687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16688 (eval $ac_compile) 2>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } &&
16692 { ac_try
='test -s conftest.$ac_objext'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; }; then
16698 ac_cv_sys_large_files
=1
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.
$ac_ext >&5
16703 ac_cv_sys_large_files
=no
16705 rm -f conftest.
$ac_objext conftest.
$ac_ext
16709 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16710 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16712 if test "$ac_cv_sys_large_files" != no
; then
16714 cat >>confdefs.h
<<_ACEOF
16715 #define _LARGE_FILES $ac_cv_sys_large_files
16722 echo "$as_me:$LINENO: checking if large file support is available" >&5
16723 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16724 if test "x$wx_largefile" = "xyes"; then
16725 cat >>confdefs.h
<<\_ACEOF
16726 #define HAVE_LARGEFILE_SUPPORT 1
16730 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16731 echo "${ECHO_T}$wx_largefile" >&6
16735 if test "x$wx_largefile" = "xyes"; then
16736 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16737 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16739 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16741 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16744 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16745 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16746 if test "${ac_cv_c_bigendian+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 ac_cv_c_bigendian
=unknown
16750 # See if sys/param.h defines the BYTE_ORDER macro.
16751 cat >conftest.
$ac_ext <<_ACEOF
16752 #line $LINENO "configure"
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 #include <sys/types.h>
16759 #include <sys/param.h>
16764 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16765 bogus endian macros
16771 rm -f conftest.
$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } &&
16777 { ac_try
='test -s conftest.$ac_objext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 # It does; now see whether it defined to BIG_ENDIAN or not.
16784 cat >conftest.
$ac_ext <<_ACEOF
16785 #line $LINENO "configure"
16788 cat confdefs.h
>>conftest.
$ac_ext
16789 cat >>conftest.
$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16791 #include <sys/types.h>
16792 #include <sys/param.h>
16797 #if BYTE_ORDER != BIG_ENDIAN
16804 rm -f conftest.
$ac_objext
16805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16806 (eval $ac_compile) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try
='test -s conftest.$ac_objext'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; }; then
16816 ac_cv_c_bigendian
=yes
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16821 ac_cv_c_bigendian
=no
16823 rm -f conftest.
$ac_objext conftest.
$ac_ext
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.
$ac_ext >&5
16829 rm -f conftest.
$ac_objext conftest.
$ac_ext
16830 if test $ac_cv_c_bigendian = unknown
; then
16831 if test "$cross_compiling" = yes; then
16832 ac_cv_c_bigendian
=unknown
16834 cat >conftest.
$ac_ext <<_ACEOF
16835 #line $LINENO "configure"
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16842 /* Are we little or big endian? From Harbison&Steele. */
16846 char c[sizeof (long)];
16849 exit (u.c[sizeof (long) - 1] == 1);
16852 rm -f conftest
$ac_exeext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16854 (eval $ac_link) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16863 ac_cv_c_bigendian
=no
16865 echo "$as_me: program exited with status $ac_status" >&5
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ( exit $ac_status )
16870 ac_cv_c_bigendian
=yes
16872 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16876 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16877 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16878 if test $ac_cv_c_bigendian = unknown
; then
16879 { 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
16880 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;}
16882 if test $ac_cv_c_bigendian = yes; then
16883 cat >>confdefs.h
<<\_ACEOF
16884 #define WORDS_BIGENDIAN 1
16892 ac_cpp
='$CXXCPP $CPPFLAGS'
16893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16896 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16897 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16898 if test -z "$CXXCPP"; then
16899 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 # Double quotes because CXXCPP needs to be expanded
16903 for CXXCPP
in "$CXX -E" "/lib/cpp"
16905 ac_preproc_ok
=false
16906 for ac_cxx_preproc_warn_flag
in '' yes
16908 # Use a header file that comes with gcc, so configuring glibc
16909 # with a fresh cross-compiler works.
16910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16911 # <limits.h> exists even on freestanding compilers.
16912 # On the NeXT, cc -E runs the code through the compiler's parser,
16913 # not just through cpp. "Syntax error" is here to catch this case.
16914 cat >conftest.
$ac_ext <<_ACEOF
16915 #line $LINENO "configure"
16918 cat confdefs.h
>>conftest.
$ac_ext
16919 cat >>conftest.
$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16922 # include <limits.h>
16924 # include <assert.h>
16928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16931 grep -v '^ *+' conftest.er1
>conftest.err
16933 cat conftest.err
>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } >/dev
/null
; then
16936 if test -s conftest.err
; then
16937 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16944 if test -z "$ac_cpp_err"; then
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.
$ac_ext >&5
16950 # Broken: fails on valid input.
16953 rm -f conftest.err conftest.
$ac_ext
16955 # OK, works on sane cases. Now check whether non-existent headers
16956 # can be detected and how.
16957 cat >conftest.
$ac_ext <<_ACEOF
16958 #line $LINENO "configure"
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 #include <ac_nonexistent.h>
16966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16969 grep -v '^ *+' conftest.er1
>conftest.err
16971 cat conftest.err
>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } >/dev
/null
; then
16974 if test -s conftest.err
; then
16975 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16982 if test -z "$ac_cpp_err"; then
16983 # Broken: success on invalid input.
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.
$ac_ext >&5
16989 # Passes both tests.
16993 rm -f conftest.err conftest.
$ac_ext
16996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16997 rm -f conftest.err conftest.
$ac_ext
16998 if $ac_preproc_ok; then
17003 ac_cv_prog_CXXCPP
=$CXXCPP
17006 CXXCPP
=$ac_cv_prog_CXXCPP
17008 ac_cv_prog_CXXCPP
=$CXXCPP
17010 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17011 echo "${ECHO_T}$CXXCPP" >&6
17012 ac_preproc_ok
=false
17013 for ac_cxx_preproc_warn_flag
in '' yes
17015 # Use a header file that comes with gcc, so configuring glibc
17016 # with a fresh cross-compiler works.
17017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17018 # <limits.h> exists even on freestanding compilers.
17019 # On the NeXT, cc -E runs the code through the compiler's parser,
17020 # not just through cpp. "Syntax error" is here to catch this case.
17021 cat >conftest.
$ac_ext <<_ACEOF
17022 #line $LINENO "configure"
17025 cat confdefs.h
>>conftest.
$ac_ext
17026 cat >>conftest.
$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17029 # include <limits.h>
17031 # include <assert.h>
17035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17038 grep -v '^ *+' conftest.er1
>conftest.err
17040 cat conftest.err
>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } >/dev
/null
; then
17043 if test -s conftest.err
; then
17044 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17051 if test -z "$ac_cpp_err"; then
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.
$ac_ext >&5
17057 # Broken: fails on valid input.
17060 rm -f conftest.err conftest.
$ac_ext
17062 # OK, works on sane cases. Now check whether non-existent headers
17063 # can be detected and how.
17064 cat >conftest.
$ac_ext <<_ACEOF
17065 #line $LINENO "configure"
17068 cat confdefs.h
>>conftest.
$ac_ext
17069 cat >>conftest.
$ac_ext <<_ACEOF
17070 /* end confdefs.h. */
17071 #include <ac_nonexistent.h>
17073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17076 grep -v '^ *+' conftest.er1
>conftest.err
17078 cat conftest.err
>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } >/dev
/null
; then
17081 if test -s conftest.err
; then
17082 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17089 if test -z "$ac_cpp_err"; then
17090 # Broken: success on invalid input.
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.
$ac_ext >&5
17096 # Passes both tests.
17100 rm -f conftest.err conftest.
$ac_ext
17103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17104 rm -f conftest.err conftest.
$ac_ext
17105 if $ac_preproc_ok; then
17108 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17109 See \`config.log' for more details." >&5
17110 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17111 See \`config.log' for more details." >&2;}
17112 { (exit 1); exit 1; }; }
17116 ac_cpp
='$CXXCPP $CPPFLAGS'
17117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17123 if test "$cross_compiling" = "yes"; then
17124 cat >>confdefs.h
<<\_ACEOF
17125 #define wxUSE_IOSTREAMH 1
17132 ac_cpp
='$CXXCPP $CPPFLAGS'
17133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17139 for ac_header
in iostream
17141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17143 echo "$as_me:$LINENO: checking for $ac_header" >&5
17144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17151 # Is the header compilable?
17152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17154 cat >conftest.
$ac_ext <<_ACEOF
17155 #line $LINENO "configure"
17158 cat confdefs.h
>>conftest.
$ac_ext
17159 cat >>conftest.
$ac_ext <<_ACEOF
17160 /* end confdefs.h. */
17161 $ac_includes_default
17162 #include <$ac_header>
17164 rm -f conftest.
$ac_objext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try
='test -s conftest.$ac_objext'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17176 ac_header_compiler
=yes
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.
$ac_ext >&5
17181 ac_header_compiler
=no
17183 rm -f conftest.
$ac_objext conftest.
$ac_ext
17184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17185 echo "${ECHO_T}$ac_header_compiler" >&6
17187 # Is the header present?
17188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17190 cat >conftest.
$ac_ext <<_ACEOF
17191 #line $LINENO "configure"
17194 cat confdefs.h
>>conftest.
$ac_ext
17195 cat >>conftest.
$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17197 #include <$ac_header>
17199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17202 grep -v '^ *+' conftest.er1
>conftest.err
17204 cat conftest.err
>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } >/dev
/null
; then
17207 if test -s conftest.err
; then
17208 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17215 if test -z "$ac_cpp_err"; then
17216 ac_header_preproc
=yes
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17221 ac_header_preproc
=no
17223 rm -f conftest.err conftest.
$ac_ext
17224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17225 echo "${ECHO_T}$ac_header_preproc" >&6
17227 # So? What about this header?
17228 case $ac_header_compiler:$ac_header_preproc in
17230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17236 ## ------------------------------------ ##
17237 ## Report this to bug-autoconf@gnu.org. ##
17238 ## ------------------------------------ ##
17241 sed "s/^/$as_me: WARNING: /" >&2
17244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17252 ## ------------------------------------ ##
17253 ## Report this to bug-autoconf@gnu.org. ##
17254 ## ------------------------------------ ##
17257 sed "s/^/$as_me: WARNING: /" >&2
17260 echo "$as_me:$LINENO: checking for $ac_header" >&5
17261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 eval "$as_ac_Header=$ac_header_preproc"
17267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17272 cat >>confdefs.h
<<_ACEOF
17273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17281 if test "$ac_cv_header_iostream" = "yes" ; then
17284 cat >>confdefs.h
<<\_ACEOF
17285 #define wxUSE_IOSTREAMH 1
17291 ac_cpp
='$CPP $CPPFLAGS'
17292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17300 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17301 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17302 if test "${wx_cv_cpp_bool+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 ac_cpp
='$CXXCPP $CPPFLAGS'
17310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17315 cat >conftest.
$ac_ext <<_ACEOF
17316 #line $LINENO "configure"
17319 cat confdefs.h
>>conftest.
$ac_ext
17320 cat >>conftest.
$ac_ext <<_ACEOF
17321 /* end confdefs.h. */
17336 rm -f conftest.
$ac_objext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); } &&
17342 { ac_try
='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.
$ac_ext >&5
17360 rm -f conftest.
$ac_objext conftest.
$ac_ext
17363 ac_cpp
='$CPP $CPPFLAGS'
17364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17370 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17371 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17373 if test "$wx_cv_cpp_bool" = "yes"; then
17374 cat >>confdefs.h
<<\_ACEOF
17375 #define HAVE_BOOL 1
17382 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17383 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17384 if test "${wx_cv_explicit+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 ac_cpp
='$CXXCPP $CPPFLAGS'
17392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17397 cat >conftest.
$ac_ext <<_ACEOF
17398 #line $LINENO "configure"
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17405 class Foo { public: explicit Foo(int) {} };
17417 rm -f conftest.
$ac_objext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17419 (eval $ac_compile) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } &&
17423 { ac_try
='test -s conftest.$ac_objext'
17424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425 (eval $ac_try) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); }; }; then
17430 cat >conftest.
$ac_ext <<_ACEOF
17431 #line $LINENO "configure"
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17438 class Foo { public: explicit Foo(int) {} };
17439 static void TakeFoo(const Foo& foo) { }
17452 rm -f conftest.
$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try
='test -s conftest.$ac_objext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17472 rm -f conftest.
$ac_objext conftest.
$ac_ext
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.
$ac_ext >&5
17481 rm -f conftest.
$ac_objext conftest.
$ac_ext
17484 ac_cpp
='$CPP $CPPFLAGS'
17485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17491 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17492 echo "${ECHO_T}$wx_cv_explicit" >&6
17494 if test "$wx_cv_explicit" = "yes"; then
17495 cat >>confdefs.h
<<\_ACEOF
17496 #define HAVE_EXPLICIT 1
17502 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17503 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17504 if test "${ac_cv_cxx_const_cast+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
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
17515 cat >conftest.
$ac_ext <<_ACEOF
17516 #line $LINENO "configure"
17519 cat confdefs.h
>>conftest.
$ac_ext
17520 cat >>conftest.
$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17526 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17531 rm -f conftest.
$ac_objext
17532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17533 (eval $ac_compile) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try
='test -s conftest.$ac_objext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17543 ac_cv_cxx_const_cast
=yes
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.
$ac_ext >&5
17548 ac_cv_cxx_const_cast
=no
17550 rm -f conftest.
$ac_objext conftest.
$ac_ext
17552 ac_cpp
='$CPP $CPPFLAGS'
17553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17559 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17560 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17561 if test "$ac_cv_cxx_const_cast" = yes; then
17563 cat >>confdefs.h
<<\_ACEOF
17564 #define HAVE_CONST_CAST
17570 if test "$wxUSE_STL" = "yes"; then
17572 ac_cpp
='$CXXCPP $CPPFLAGS'
17573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17578 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17579 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17580 cat >conftest.
$ac_ext <<_ACEOF
17581 #line $LINENO "configure"
17584 cat confdefs.h
>>conftest.
$ac_ext
17585 cat >>conftest.
$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17588 #include <functional>
17589 #include <algorithm>
17595 std::vector<int> moo;
17596 std::list<int> foo;
17597 std::vector<int>::iterator it =
17598 std::find_if(moo.begin(), moo.end(),
17599 std::bind2nd(std::less<int>(), 3));
17604 rm -f conftest.
$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606 (eval $ac_compile) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try
='test -s conftest.$ac_objext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17616 echo "$as_me:$LINENO: result: yes" >&5
17617 echo "${ECHO_T}yes" >&6
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17622 echo "$as_me:$LINENO: result: no" >&5
17623 echo "${ECHO_T}no" >&6
17624 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17625 echo "$as_me: error: Basic STL functionality missing" >&2;}
17626 { (exit 1); exit 1; }; }
17628 rm -f conftest.
$ac_objext conftest.
$ac_ext
17630 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17631 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17632 cat >conftest.
$ac_ext <<_ACEOF
17633 #line $LINENO "configure"
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17648 rm -f conftest.
$ac_objext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17650 (eval $ac_compile) 2>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try
='test -s conftest.$ac_objext'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; }; then
17660 echo "$as_me:$LINENO: result: yes" >&5
17661 echo "${ECHO_T}yes" >&6
17662 cat >>confdefs.h
<<\_ACEOF
17663 #define HAVE_STD_WSTRING 1
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17670 echo "$as_me:$LINENO: result: no" >&5
17671 echo "${ECHO_T}no" >&6
17673 rm -f conftest.
$ac_objext conftest.
$ac_ext
17675 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17676 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17677 cat >conftest.
$ac_ext <<_ACEOF
17678 #line $LINENO "configure"
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17688 std::string foo, bar;
17690 foo.compare(1, 1, bar);
17691 foo.compare(1, 1, bar, 1, 1);
17693 foo.compare(1, 1, "");
17694 foo.compare(1, 1, "", 2);
17699 rm -f conftest.
$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try
='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 echo "$as_me:$LINENO: result: yes" >&5
17712 echo "${ECHO_T}yes" >&6
17713 cat >>confdefs.h
<<\_ACEOF
17714 #define HAVE_STD_STRING_COMPARE 1
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.
$ac_ext >&5
17721 echo "$as_me:$LINENO: result: no" >&5
17722 echo "${ECHO_T}no" >&6
17724 rm -f conftest.
$ac_objext conftest.
$ac_ext
17727 ac_cpp
='$CPP $CPPFLAGS'
17728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17736 /usr/local/include \
17738 /usr/Motif-1.2/include \
17739 /usr/Motif-2.1/include \
17741 /usr/include/Motif1.2 \
17742 /opt/xpm/include/X11 \
17743 /opt/GBxpm/include/ \
17744 /opt/GBxpm/X11/include/ \
17746 /usr/Motif1.2/include \
17748 /usr/openwin/include \
17752 /usr/X11R6/include \
17753 /usr/X11R6.4/include \
17754 /usr/X11R5/include \
17755 /usr/X11R4/include \
17757 /usr/include/X11R6 \
17758 /usr/include/X11R5 \
17759 /usr/include/X11R4 \
17761 /usr/local/X11R6/include \
17762 /usr/local/X11R5/include \
17763 /usr/local/X11R4/include \
17765 /usr/local/include/X11R6 \
17766 /usr/local/include/X11R5 \
17767 /usr/local/include/X11R4 \
17771 /usr/local/X11/include \
17772 /usr/local/include/X11 \
17774 /usr/X386/include \
17775 /usr/x386/include \
17776 /usr/XFree86/include/X11 \
17778 X:/XFree86/include \
17779 X:/XFree86/include/X11 \
17782 /usr/local/include/gtk \
17783 /usr/include/glib \
17784 /usr/local/include/glib \
17787 /usr/local/include/qt \
17789 /usr/include/windows \
17790 /usr/include/wine \
17791 /usr/local/include/wine \
17793 /usr/unsupported/include \
17794 /usr/athena/include \
17795 /usr/local/x11r5/include \
17796 /usr/lpp/Xamples/include \
17798 /usr/openwin/share/include"
17800 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17803 cat >confcache
<<\_ACEOF
17804 # This file is a shell script that caches the results of configure
17805 # tests run on this system so they can be shared between configure
17806 # scripts and configure runs, see configure's option --config-cache.
17807 # It is not useful on other systems. If it contains results you don't
17808 # want to keep, you may remove or edit it.
17810 # config.status only pays attention to the cache file if you give it
17811 # the --recheck option to rerun configure.
17813 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17814 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17815 # following values.
17819 # The following way of writing the cache mishandles newlines in values,
17820 # but we know of no workaround that is simple, portable, and efficient.
17821 # So, don't put newlines in cache variables' values.
17822 # Ultrix sh set writes to stderr and can't be redirected directly,
17823 # and sets the high bit in the cache file unless we assign to the vars.
17826 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17828 # `set' does not quote correctly, so add quotes (double-quote
17829 # substitution turns \\\\ into \\, and sed turns \\ into \).
17832 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17835 # `set' quotes correctly as required by POSIX, so do not add quotes.
17837 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17846 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17848 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17849 if test -w $cache_file; then
17850 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17851 cat confcache
>$cache_file
17853 echo "not updating unwritable cache $cache_file"
17858 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17859 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17860 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17861 if test "${wx_cv_lib_glibc21+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 cat >conftest.
$ac_ext <<_ACEOF
17866 #line $LINENO "configure"
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 #include <features.h>
17877 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17878 #error not glibc2.1
17885 rm -f conftest.
$ac_objext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17887 (eval $ac_compile) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); } &&
17891 { ac_try
='test -s conftest.$ac_objext'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17898 wx_cv_lib_glibc21
=yes
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.
$ac_ext >&5
17905 wx_cv_lib_glibc21
=no
17909 rm -f conftest.
$ac_objext conftest.
$ac_ext
17912 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17913 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17914 if test "$wx_cv_lib_glibc21" = "yes"; then
17915 cat >>confdefs.h
<<\_ACEOF
17916 #define wxHAVE_GLIBC2 1
17922 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17923 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17924 cat >>confdefs.h
<<\_ACEOF
17925 #define _GNU_SOURCE 1
17934 if test "$wxUSE_REGEX" != "no"; then
17935 cat >>confdefs.h
<<\_ACEOF
17936 #define wxUSE_REGEX 1
17940 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17941 if test "${ac_cv_header_regex_h+set}" = set; then
17942 echo "$as_me:$LINENO: checking for regex.h" >&5
17943 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17944 if test "${ac_cv_header_regex_h+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17948 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17950 # Is the header compilable?
17951 echo "$as_me:$LINENO: checking regex.h usability" >&5
17952 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17953 cat >conftest.
$ac_ext <<_ACEOF
17954 #line $LINENO "configure"
17957 cat confdefs.h
>>conftest.
$ac_ext
17958 cat >>conftest.
$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17963 rm -f conftest.
$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -s conftest.$ac_objext'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; }; then
17975 ac_header_compiler
=yes
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.
$ac_ext >&5
17980 ac_header_compiler
=no
17982 rm -f conftest.
$ac_objext conftest.
$ac_ext
17983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17984 echo "${ECHO_T}$ac_header_compiler" >&6
17986 # Is the header present?
17987 echo "$as_me:$LINENO: checking regex.h presence" >&5
17988 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17989 cat >conftest.
$ac_ext <<_ACEOF
17990 #line $LINENO "configure"
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18001 grep -v '^ *+' conftest.er1
>conftest.err
18003 cat conftest.err
>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } >/dev
/null
; then
18006 if test -s conftest.err
; then
18007 ac_cpp_err
=$ac_c_preproc_warn_flag
18014 if test -z "$ac_cpp_err"; then
18015 ac_header_preproc
=yes
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.
$ac_ext >&5
18020 ac_header_preproc
=no
18022 rm -f conftest.err conftest.
$ac_ext
18023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18024 echo "${ECHO_T}$ac_header_preproc" >&6
18026 # So? What about this header?
18027 case $ac_header_compiler:$ac_header_preproc in
18029 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18030 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18031 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18032 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18035 ## ------------------------------------ ##
18036 ## Report this to bug-autoconf@gnu.org. ##
18037 ## ------------------------------------ ##
18040 sed "s/^/$as_me: WARNING: /" >&2
18043 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18044 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18045 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18046 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18047 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18048 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18051 ## ------------------------------------ ##
18052 ## Report this to bug-autoconf@gnu.org. ##
18053 ## ------------------------------------ ##
18056 sed "s/^/$as_me: WARNING: /" >&2
18059 echo "$as_me:$LINENO: checking for regex.h" >&5
18060 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18061 if test "${ac_cv_header_regex_h+set}" = set; then
18062 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 ac_cv_header_regex_h
=$ac_header_preproc
18066 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18067 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18070 if test $ac_cv_header_regex_h = yes; then
18072 for ac_func
in regcomp
18074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 echo "$as_me:$LINENO: checking for $ac_func" >&5
18076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18077 if eval "test \"\${$as_ac_var+set}\" = set"; then
18078 echo $ECHO_N "(cached) $ECHO_C" >&6
18080 cat >conftest.
$ac_ext <<_ACEOF
18081 #line $LINENO "configure"
18084 cat confdefs.h
>>conftest.
$ac_ext
18085 cat >>conftest.
$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18087 /* System header to define __stub macros and hopefully few prototypes,
18088 which can conflict with char $ac_func (); below.
18089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18090 <limits.h> exists even on freestanding compilers. */
18092 # include <limits.h>
18094 # include <assert.h>
18096 /* Override any gcc2 internal prototype to avoid an error. */
18101 /* We use char because int might match the return type of a gcc2
18102 builtin and then its argument prototype would still apply. */
18104 /* The GNU C library defines this for functions which it implements
18105 to always fail with ENOSYS. Some functions are actually named
18106 something starting with __ and the normal name is an alias. */
18107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18110 char (*f) () = $ac_func;
18119 return f != $ac_func;
18124 rm -f conftest.
$ac_objext conftest
$ac_exeext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18126 (eval $ac_link) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } &&
18130 { ac_try
='test -s conftest$ac_exeext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18136 eval "$as_ac_var=yes"
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.
$ac_ext >&5
18141 eval "$as_ac_var=no"
18143 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18147 if test `eval echo '${'$as_ac_var'}'` = yes; then
18148 cat >>confdefs.h
<<_ACEOF
18149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18159 if test "x$ac_cv_func_regcomp" != "xyes"; then
18160 if test "$wxUSE_REGEX" = "sys" ; then
18161 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18162 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18163 { (exit 1); exit 1; }; }
18165 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18166 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18167 wxUSE_REGEX
=builtin
18174 if test "$wxUSE_REGEX" = "builtin" ; then
18175 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18182 if test "$wxUSE_ZLIB" != "no" ; then
18183 cat >>confdefs.h
<<\_ACEOF
18184 #define wxUSE_ZLIB 1
18188 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18189 if test "$USE_DARWIN" = 1; then
18190 system_zlib_h_ok
="yes"
18192 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18193 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18194 if test "${ac_cv_header_zlib_h+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 if test "$cross_compiling" = yes; then
18198 unset ac_cv_header_zlib_h
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. */
18214 FILE *f=fopen("conftestval", "w");
18217 ZLIB_VERSION[0] == '1' &&
18218 (ZLIB_VERSION[2] > '1' ||
18219 (ZLIB_VERSION[2] == '1' &&
18220 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18225 rm -f conftest
$ac_exeext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18227 (eval $ac_link) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_cv_header_zlib_h
=`cat conftestval`
18238 echo "$as_me: program exited with status $ac_status" >&5
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.
$ac_ext >&5
18242 ( exit $ac_status )
18243 ac_cv_header_zlib_h
=no
18245 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18249 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18250 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18251 if test "${ac_cv_header_zlib_h+set}" = set; then
18252 echo "$as_me:$LINENO: checking for zlib.h" >&5
18253 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18254 if test "${ac_cv_header_zlib_h+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18258 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18260 # Is the header compilable?
18261 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18262 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18263 cat >conftest.
$ac_ext <<_ACEOF
18264 #line $LINENO "configure"
18267 cat confdefs.h
>>conftest.
$ac_ext
18268 cat >>conftest.
$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 $ac_includes_default
18273 rm -f conftest.
$ac_objext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18275 (eval $ac_compile) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } &&
18279 { ac_try
='test -s conftest.$ac_objext'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; }; then
18285 ac_header_compiler
=yes
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.
$ac_ext >&5
18290 ac_header_compiler
=no
18292 rm -f conftest.
$ac_objext conftest.
$ac_ext
18293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18294 echo "${ECHO_T}$ac_header_compiler" >&6
18296 # Is the header present?
18297 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18298 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18299 cat >conftest.
$ac_ext <<_ACEOF
18300 #line $LINENO "configure"
18303 cat confdefs.h
>>conftest.
$ac_ext
18304 cat >>conftest.
$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18311 grep -v '^ *+' conftest.er1
>conftest.err
18313 cat conftest.err
>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } >/dev
/null
; then
18316 if test -s conftest.err
; then
18317 ac_cpp_err
=$ac_c_preproc_warn_flag
18324 if test -z "$ac_cpp_err"; then
18325 ac_header_preproc
=yes
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.
$ac_ext >&5
18330 ac_header_preproc
=no
18332 rm -f conftest.err conftest.
$ac_ext
18333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18334 echo "${ECHO_T}$ac_header_preproc" >&6
18336 # So? What about this header?
18337 case $ac_header_compiler:$ac_header_preproc in
18339 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18340 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18341 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18342 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18345 ## ------------------------------------ ##
18346 ## Report this to bug-autoconf@gnu.org. ##
18347 ## ------------------------------------ ##
18350 sed "s/^/$as_me: WARNING: /" >&2
18353 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18354 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18355 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18356 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18357 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18358 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18361 ## ------------------------------------ ##
18362 ## Report this to bug-autoconf@gnu.org. ##
18363 ## ------------------------------------ ##
18366 sed "s/^/$as_me: WARNING: /" >&2
18369 echo "$as_me:$LINENO: checking for zlib.h" >&5
18370 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18371 if test "${ac_cv_header_zlib_h+set}" = set; then
18372 echo $ECHO_N "(cached) $ECHO_C" >&6
18374 ac_cv_header_zlib_h
=$ac_header_preproc
18376 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18377 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18383 system_zlib_h_ok
=$ac_cv_header_zlib_h
18386 if test "$system_zlib_h_ok" = "yes"; then
18387 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18388 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18389 if test "${ac_cv_lib_z_deflate+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 ac_check_lib_save_LIBS
=$LIBS
18394 cat >conftest.
$ac_ext <<_ACEOF
18395 #line $LINENO "configure"
18398 cat confdefs.h
>>conftest.
$ac_ext
18399 cat >>conftest.
$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18402 /* Override any gcc2 internal prototype to avoid an error. */
18406 /* We use char because int might match the return type of a gcc2
18407 builtin and then its argument prototype would still apply. */
18417 rm -f conftest.
$ac_objext conftest
$ac_exeext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18419 (eval $ac_link) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } &&
18423 { ac_try
='test -s conftest$ac_exeext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18429 ac_cv_lib_z_deflate
=yes
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.
$ac_ext >&5
18434 ac_cv_lib_z_deflate
=no
18436 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18437 LIBS
=$ac_check_lib_save_LIBS
18439 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18440 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18441 if test $ac_cv_lib_z_deflate = yes; then
18447 if test "x$ZLIB_LINK" = "x" ; then
18448 if test "$wxUSE_ZLIB" = "sys" ; then
18449 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18450 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18451 { (exit 1); exit 1; }; }
18453 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18454 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18462 if test "$wxUSE_ZLIB" = "builtin" ; then
18463 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18470 if test "$wxUSE_LIBPNG" != "no" ; then
18471 cat >>confdefs.h
<<\_ACEOF
18472 #define wxUSE_LIBPNG 1
18476 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18477 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18478 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18482 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18483 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18484 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18485 wxUSE_LIBPNG
=builtin
18488 if test "$wxUSE_MGL" != 1 ; then
18489 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18490 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18491 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18492 if test "${ac_cv_header_png_h+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 if test "$cross_compiling" = yes; then
18496 unset ac_cv_header_png_h
18499 cat >conftest.
$ac_ext <<_ACEOF
18500 #line $LINENO "configure"
18503 cat confdefs.h
>>conftest.
$ac_ext
18504 cat >>conftest.
$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18512 FILE *f=fopen("conftestval", "w");
18515 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18520 rm -f conftest
$ac_exeext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18522 (eval $ac_link) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_header_png_h
=`cat conftestval`
18533 echo "$as_me: program exited with status $ac_status" >&5
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.
$ac_ext >&5
18537 ( exit $ac_status )
18538 ac_cv_header_png_h
=no
18540 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18544 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18545 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18546 if test "${ac_cv_header_png_h+set}" = set; then
18547 echo "$as_me:$LINENO: checking for png.h" >&5
18548 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18549 if test "${ac_cv_header_png_h+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18553 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18555 # Is the header compilable?
18556 echo "$as_me:$LINENO: checking png.h usability" >&5
18557 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18558 cat >conftest.
$ac_ext <<_ACEOF
18559 #line $LINENO "configure"
18562 cat confdefs.h
>>conftest.
$ac_ext
18563 cat >>conftest.
$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 $ac_includes_default
18568 rm -f conftest.
$ac_objext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18570 (eval $ac_compile) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try
='test -s conftest.$ac_objext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_header_compiler
=yes
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 ac_header_compiler
=no
18587 rm -f conftest.
$ac_objext conftest.
$ac_ext
18588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18589 echo "${ECHO_T}$ac_header_compiler" >&6
18591 # Is the header present?
18592 echo "$as_me:$LINENO: checking png.h presence" >&5
18593 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18594 cat >conftest.
$ac_ext <<_ACEOF
18595 #line $LINENO "configure"
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18604 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18606 grep -v '^ *+' conftest.er1
>conftest.err
18608 cat conftest.err
>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } >/dev
/null
; then
18611 if test -s conftest.err
; then
18612 ac_cpp_err
=$ac_c_preproc_warn_flag
18619 if test -z "$ac_cpp_err"; then
18620 ac_header_preproc
=yes
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.
$ac_ext >&5
18625 ac_header_preproc
=no
18627 rm -f conftest.err conftest.
$ac_ext
18628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18629 echo "${ECHO_T}$ac_header_preproc" >&6
18631 # So? What about this header?
18632 case $ac_header_compiler:$ac_header_preproc in
18634 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18635 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18636 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18637 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18640 ## ------------------------------------ ##
18641 ## Report this to bug-autoconf@gnu.org. ##
18642 ## ------------------------------------ ##
18645 sed "s/^/$as_me: WARNING: /" >&2
18648 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18649 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18650 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18651 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18652 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18653 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18656 ## ------------------------------------ ##
18657 ## Report this to bug-autoconf@gnu.org. ##
18658 ## ------------------------------------ ##
18661 sed "s/^/$as_me: WARNING: /" >&2
18664 echo "$as_me:$LINENO: checking for png.h" >&5
18665 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18666 if test "${ac_cv_header_png_h+set}" = set; then
18667 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 ac_cv_header_png_h
=$ac_header_preproc
18671 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18672 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18678 if test "$ac_cv_header_png_h" = "yes"; then
18679 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18680 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18681 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18682 echo $ECHO_N "(cached) $ECHO_C" >&6
18684 ac_check_lib_save_LIBS
=$LIBS
18685 LIBS
="-lpng -lz -lm $LIBS"
18686 cat >conftest.
$ac_ext <<_ACEOF
18687 #line $LINENO "configure"
18690 cat confdefs.h
>>conftest.
$ac_ext
18691 cat >>conftest.
$ac_ext <<_ACEOF
18692 /* end confdefs.h. */
18694 /* Override any gcc2 internal prototype to avoid an error. */
18698 /* We use char because int might match the return type of a gcc2
18699 builtin and then its argument prototype would still apply. */
18700 char png_check_sig ();
18709 rm -f conftest.
$ac_objext conftest
$ac_exeext
18710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18711 (eval $ac_link) 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); } &&
18715 { ac_try
='test -s conftest$ac_exeext'
18716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717 (eval $ac_try) 2>&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); }; }; then
18721 ac_cv_lib_png_png_check_sig
=yes
18723 echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.
$ac_ext >&5
18726 ac_cv_lib_png_png_check_sig
=no
18728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18729 LIBS
=$ac_check_lib_save_LIBS
18731 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18732 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18733 if test $ac_cv_lib_png_png_check_sig = yes; then
18739 if test "x$PNG_LINK" = "x" ; then
18740 if test "$wxUSE_LIBPNG" = "sys" ; then
18741 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18742 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18743 { (exit 1); exit 1; }; }
18745 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18746 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18747 wxUSE_LIBPNG
=builtin
18755 if test "$wxUSE_LIBPNG" = "builtin" ; then
18756 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18765 if test "$wxUSE_LIBJPEG" != "no" ; then
18766 cat >>confdefs.h
<<\_ACEOF
18767 #define wxUSE_LIBJPEG 1
18771 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18772 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18773 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18777 if test "$wxUSE_MGL" != 1 ; then
18778 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18779 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18780 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18781 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18782 echo $ECHO_N "(cached) $ECHO_C" >&6
18784 cat >conftest.
$ac_ext <<_ACEOF
18785 #line $LINENO "configure"
18788 cat confdefs.h
>>conftest.
$ac_ext
18789 cat >>conftest.
$ac_ext <<_ACEOF
18790 /* end confdefs.h. */
18792 #undef HAVE_STDLIB_H
18794 #include <jpeglib.h>
18805 rm -f conftest.
$ac_objext
18806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18807 (eval $ac_compile) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); } &&
18811 { ac_try
='test -s conftest.$ac_objext'
18812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18813 (eval $ac_try) 2>&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); }; }; then
18817 ac_cv_header_jpeglib_h
=yes
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.
$ac_ext >&5
18822 ac_cv_header_jpeglib_h
=no
18825 rm -f conftest.
$ac_objext conftest.
$ac_ext
18829 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18830 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18832 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18833 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18834 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18835 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 ac_check_lib_save_LIBS
=$LIBS
18839 LIBS
="-ljpeg $LIBS"
18840 cat >conftest.
$ac_ext <<_ACEOF
18841 #line $LINENO "configure"
18844 cat confdefs.h
>>conftest.
$ac_ext
18845 cat >>conftest.
$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18848 /* Override any gcc2 internal prototype to avoid an error. */
18852 /* We use char because int might match the return type of a gcc2
18853 builtin and then its argument prototype would still apply. */
18854 char jpeg_read_header ();
18858 jpeg_read_header ();
18863 rm -f conftest.
$ac_objext conftest
$ac_exeext
18864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18865 (eval $ac_link) 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } &&
18869 { ac_try
='test -s conftest$ac_exeext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 ac_cv_lib_jpeg_jpeg_read_header
=yes
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.
$ac_ext >&5
18880 ac_cv_lib_jpeg_jpeg_read_header
=no
18882 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18883 LIBS
=$ac_check_lib_save_LIBS
18885 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18886 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18887 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18888 JPEG_LINK
=" -ljpeg"
18893 if test "x$JPEG_LINK" = "x" ; then
18894 if test "$wxUSE_LIBJPEG" = "sys" ; then
18895 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18896 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18897 { (exit 1); exit 1; }; }
18899 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18900 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18901 wxUSE_LIBJPEG
=builtin
18909 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18910 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18917 TIFF_PREREQ_LINKS
=-lm
18918 if test "$wxUSE_LIBTIFF" != "no" ; then
18919 cat >>confdefs.h
<<\_ACEOF
18920 #define wxUSE_LIBTIFF 1
18924 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18925 if test "$wxUSE_LIBJPEG" = "sys"; then
18926 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18928 if test "$wxUSE_ZLIB" = "sys"; then
18929 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18931 if test "${ac_cv_header_tiffio_h+set}" = set; then
18932 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18933 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18934 if test "${ac_cv_header_tiffio_h+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18938 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18940 # Is the header compilable?
18941 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18942 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18943 cat >conftest.
$ac_ext <<_ACEOF
18944 #line $LINENO "configure"
18947 cat confdefs.h
>>conftest.
$ac_ext
18948 cat >>conftest.
$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 $ac_includes_default
18951 #include <tiffio.h>
18953 rm -f conftest.
$ac_objext
18954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18955 (eval $ac_compile) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } &&
18959 { ac_try
='test -s conftest.$ac_objext'
18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18961 (eval $ac_try) 2>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); }; }; then
18965 ac_header_compiler
=yes
18967 echo "$as_me: failed program was:" >&5
18968 sed 's/^/| /' conftest.
$ac_ext >&5
18970 ac_header_compiler
=no
18972 rm -f conftest.
$ac_objext conftest.
$ac_ext
18973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18974 echo "${ECHO_T}$ac_header_compiler" >&6
18976 # Is the header present?
18977 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18978 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18979 cat >conftest.
$ac_ext <<_ACEOF
18980 #line $LINENO "configure"
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <tiffio.h>
18988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } >/dev
/null
; then
18996 if test -s conftest.err
; then
18997 ac_cpp_err
=$ac_c_preproc_warn_flag
19004 if test -z "$ac_cpp_err"; then
19005 ac_header_preproc
=yes
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.
$ac_ext >&5
19010 ac_header_preproc
=no
19012 rm -f conftest.err conftest.
$ac_ext
19013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19014 echo "${ECHO_T}$ac_header_preproc" >&6
19016 # So? What about this header?
19017 case $ac_header_compiler:$ac_header_preproc in
19019 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19020 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19021 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19022 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19025 ## ------------------------------------ ##
19026 ## Report this to bug-autoconf@gnu.org. ##
19027 ## ------------------------------------ ##
19030 sed "s/^/$as_me: WARNING: /" >&2
19033 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19034 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19035 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19036 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19037 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19038 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19041 ## ------------------------------------ ##
19042 ## Report this to bug-autoconf@gnu.org. ##
19043 ## ------------------------------------ ##
19046 sed "s/^/$as_me: WARNING: /" >&2
19049 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19050 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19051 if test "${ac_cv_header_tiffio_h+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 ac_cv_header_tiffio_h
=$ac_header_preproc
19056 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19057 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19060 if test $ac_cv_header_tiffio_h = yes; then
19062 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19063 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19064 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19065 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 ac_check_lib_save_LIBS
=$LIBS
19068 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19069 cat >conftest.
$ac_ext <<_ACEOF
19070 #line $LINENO "configure"
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19077 /* Override any gcc2 internal prototype to avoid an error. */
19081 /* We use char because int might match the return type of a gcc2
19082 builtin and then its argument prototype would still apply. */
19092 rm -f conftest.
$ac_objext conftest
$ac_exeext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19094 (eval $ac_link) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } &&
19098 { ac_try
='test -s conftest$ac_exeext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_cv_lib_tiff_TIFFError
=yes
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.
$ac_ext >&5
19109 ac_cv_lib_tiff_TIFFError
=no
19111 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19112 LIBS
=$ac_check_lib_save_LIBS
19114 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19115 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19116 if test $ac_cv_lib_tiff_TIFFError = yes; then
19117 TIFF_LINK
=" -ltiff"
19126 if test "x$TIFF_LINK" = "x" ; then
19127 if test "$wxUSE_LIBTIFF" = "sys" ; then
19128 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19129 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19130 { (exit 1); exit 1; }; }
19132 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19133 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19134 wxUSE_LIBTIFF
=builtin
19141 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19142 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19147 if test "$wxUSE_EXPAT" != "no"; then
19149 cat >>confdefs.h
<<\_ACEOF
19150 #define wxUSE_EXPAT 1
19153 cat >>confdefs.h
<<\_ACEOF
19154 #define wxUSE_XML 1
19158 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19159 if test "${ac_cv_header_expat_h+set}" = set; then
19160 echo "$as_me:$LINENO: checking for expat.h" >&5
19161 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19162 if test "${ac_cv_header_expat_h+set}" = set; then
19163 echo $ECHO_N "(cached) $ECHO_C" >&6
19165 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19166 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19168 # Is the header compilable?
19169 echo "$as_me:$LINENO: checking expat.h usability" >&5
19170 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19171 cat >conftest.
$ac_ext <<_ACEOF
19172 #line $LINENO "configure"
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19181 rm -f conftest.
$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try
='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 ac_header_compiler
=yes
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.
$ac_ext >&5
19198 ac_header_compiler
=no
19200 rm -f conftest.
$ac_objext conftest.
$ac_ext
19201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19202 echo "${ECHO_T}$ac_header_compiler" >&6
19204 # Is the header present?
19205 echo "$as_me:$LINENO: checking expat.h presence" >&5
19206 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19207 cat >conftest.
$ac_ext <<_ACEOF
19208 #line $LINENO "configure"
19211 cat confdefs.h
>>conftest.
$ac_ext
19212 cat >>conftest.
$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19219 grep -v '^ *+' conftest.er1
>conftest.err
19221 cat conftest.err
>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } >/dev
/null
; then
19224 if test -s conftest.err
; then
19225 ac_cpp_err
=$ac_c_preproc_warn_flag
19232 if test -z "$ac_cpp_err"; then
19233 ac_header_preproc
=yes
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.
$ac_ext >&5
19238 ac_header_preproc
=no
19240 rm -f conftest.err conftest.
$ac_ext
19241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19242 echo "${ECHO_T}$ac_header_preproc" >&6
19244 # So? What about this header?
19245 case $ac_header_compiler:$ac_header_preproc in
19247 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19248 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19249 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19250 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19253 ## ------------------------------------ ##
19254 ## Report this to bug-autoconf@gnu.org. ##
19255 ## ------------------------------------ ##
19258 sed "s/^/$as_me: WARNING: /" >&2
19261 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19262 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19263 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19264 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19265 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19266 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19269 ## ------------------------------------ ##
19270 ## Report this to bug-autoconf@gnu.org. ##
19271 ## ------------------------------------ ##
19274 sed "s/^/$as_me: WARNING: /" >&2
19277 echo "$as_me:$LINENO: checking for expat.h" >&5
19278 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19279 if test "${ac_cv_header_expat_h+set}" = set; then
19280 echo $ECHO_N "(cached) $ECHO_C" >&6
19282 ac_cv_header_expat_h
=$ac_header_preproc
19284 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19285 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19288 if test $ac_cv_header_expat_h = yes; then
19293 if test "x$found_expat_h" = "x1"; then
19294 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19295 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19296 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19297 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 ac_cpp
='$CXXCPP $CPPFLAGS'
19304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19308 cat >conftest.
$ac_ext <<_ACEOF
19309 #line $LINENO "configure"
19312 cat confdefs.h
>>conftest.
$ac_ext
19313 cat >>conftest.
$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -s conftest.$ac_objext'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19336 wx_cv_expat_is_not_broken
=yes
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.
$ac_ext >&5
19341 wx_cv_expat_is_not_broken
=no
19344 rm -f conftest.
$ac_objext conftest.
$ac_ext
19346 ac_cpp
='$CPP $CPPFLAGS'
19347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19354 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19355 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19356 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19357 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19358 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19359 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 ac_check_lib_save_LIBS
=$LIBS
19363 LIBS
="-lexpat $LIBS"
19364 cat >conftest.
$ac_ext <<_ACEOF
19365 #line $LINENO "configure"
19368 cat confdefs.h
>>conftest.
$ac_ext
19369 cat >>conftest.
$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19372 /* Override any gcc2 internal prototype to avoid an error. */
19376 /* We use char because int might match the return type of a gcc2
19377 builtin and then its argument prototype would still apply. */
19378 char XML_ParserCreate ();
19382 XML_ParserCreate ();
19387 rm -f conftest.
$ac_objext conftest
$ac_exeext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19389 (eval $ac_link) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } &&
19393 { ac_try
='test -s conftest$ac_exeext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19399 ac_cv_lib_expat_XML_ParserCreate
=yes
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.
$ac_ext >&5
19404 ac_cv_lib_expat_XML_ParserCreate
=no
19406 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19407 LIBS
=$ac_check_lib_save_LIBS
19409 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19410 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19411 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19412 EXPAT_LINK
=" -lexpat"
19417 if test "x$EXPAT_LINK" = "x" ; then
19418 if test "$wxUSE_EXPAT" = "sys" ; then
19419 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19420 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19421 { (exit 1); exit 1; }; }
19423 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19424 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19425 wxUSE_EXPAT
=builtin
19431 if test "$wxUSE_EXPAT" = "builtin" ; then
19434 subdirs
="$subdirs src/expat"
19448 if test "$USE_WIN32" = 1 ; then
19450 for ac_header
in w32api.h
19452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19454 echo "$as_me:$LINENO: checking for $ac_header" >&5
19455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19462 # Is the header compilable?
19463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19465 cat >conftest.
$ac_ext <<_ACEOF
19466 #line $LINENO "configure"
19469 cat confdefs.h
>>conftest.
$ac_ext
19470 cat >>conftest.
$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19473 #include <$ac_header>
19475 rm -f conftest.
$ac_objext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try
='test -s conftest.$ac_objext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 ac_header_compiler
=yes
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.
$ac_ext >&5
19492 ac_header_compiler
=no
19494 rm -f conftest.
$ac_objext conftest.
$ac_ext
19495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19496 echo "${ECHO_T}$ac_header_compiler" >&6
19498 # Is the header present?
19499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19501 cat >conftest.
$ac_ext <<_ACEOF
19502 #line $LINENO "configure"
19505 cat confdefs.h
>>conftest.
$ac_ext
19506 cat >>conftest.
$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <$ac_header>
19510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19513 grep -v '^ *+' conftest.er1
>conftest.err
19515 cat conftest.err
>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } >/dev
/null
; then
19518 if test -s conftest.err
; then
19519 ac_cpp_err
=$ac_c_preproc_warn_flag
19526 if test -z "$ac_cpp_err"; then
19527 ac_header_preproc
=yes
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.
$ac_ext >&5
19532 ac_header_preproc
=no
19534 rm -f conftest.err conftest.
$ac_ext
19535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19536 echo "${ECHO_T}$ac_header_preproc" >&6
19538 # So? What about this header?
19539 case $ac_header_compiler:$ac_header_preproc in
19541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19547 ## ------------------------------------ ##
19548 ## Report this to bug-autoconf@gnu.org. ##
19549 ## ------------------------------------ ##
19552 sed "s/^/$as_me: WARNING: /" >&2
19555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19563 ## ------------------------------------ ##
19564 ## Report this to bug-autoconf@gnu.org. ##
19565 ## ------------------------------------ ##
19568 sed "s/^/$as_me: WARNING: /" >&2
19571 echo "$as_me:$LINENO: checking for $ac_header" >&5
19572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 eval "$as_ac_Header=$ac_header_preproc"
19578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19583 cat >>confdefs.h
<<_ACEOF
19584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19591 if test "${ac_cv_header_windows_h+set}" = set; then
19592 echo "$as_me:$LINENO: checking for windows.h" >&5
19593 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19594 if test "${ac_cv_header_windows_h+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19598 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19600 # Is the header compilable?
19601 echo "$as_me:$LINENO: checking windows.h usability" >&5
19602 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19603 cat >conftest.
$ac_ext <<_ACEOF
19604 #line $LINENO "configure"
19607 cat confdefs.h
>>conftest.
$ac_ext
19608 cat >>conftest.
$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610 $ac_includes_default
19611 #include <windows.h>
19613 rm -f conftest.
$ac_objext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19615 (eval $ac_compile) 2>&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } &&
19619 { ac_try
='test -s conftest.$ac_objext'
19620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19621 (eval $ac_try) 2>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; }; then
19625 ac_header_compiler
=yes
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.
$ac_ext >&5
19630 ac_header_compiler
=no
19632 rm -f conftest.
$ac_objext conftest.
$ac_ext
19633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19634 echo "${ECHO_T}$ac_header_compiler" >&6
19636 # Is the header present?
19637 echo "$as_me:$LINENO: checking windows.h presence" >&5
19638 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19639 cat >conftest.
$ac_ext <<_ACEOF
19640 #line $LINENO "configure"
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 #include <windows.h>
19648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19651 grep -v '^ *+' conftest.er1
>conftest.err
19653 cat conftest.err
>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } >/dev
/null
; then
19656 if test -s conftest.err
; then
19657 ac_cpp_err
=$ac_c_preproc_warn_flag
19664 if test -z "$ac_cpp_err"; then
19665 ac_header_preproc
=yes
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.
$ac_ext >&5
19670 ac_header_preproc
=no
19672 rm -f conftest.err conftest.
$ac_ext
19673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19674 echo "${ECHO_T}$ac_header_preproc" >&6
19676 # So? What about this header?
19677 case $ac_header_compiler:$ac_header_preproc in
19679 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19680 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19681 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19682 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19685 ## ------------------------------------ ##
19686 ## Report this to bug-autoconf@gnu.org. ##
19687 ## ------------------------------------ ##
19690 sed "s/^/$as_me: WARNING: /" >&2
19693 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19694 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19695 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19696 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19697 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19698 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19701 ## ------------------------------------ ##
19702 ## Report this to bug-autoconf@gnu.org. ##
19703 ## ------------------------------------ ##
19706 sed "s/^/$as_me: WARNING: /" >&2
19709 echo "$as_me:$LINENO: checking for windows.h" >&5
19710 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19711 if test "${ac_cv_header_windows_h+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 ac_cv_header_windows_h
=$ac_header_preproc
19716 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19717 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19720 if test $ac_cv_header_windows_h = yes; then
19724 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19725 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19726 { (exit 1); exit 1; }; }
19732 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19734 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19735 LIBS
="$LIBS -loleacc"
19740 LIBS
="$LIBS -lkernel32 -luser32"
19741 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19744 if test "$wxUSE_ODBC" = "sys" ; then
19747 if test "$wxUSE_ODBC" = "yes" ; then
19748 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19749 cat >>confdefs.h
<<\_ACEOF
19750 #define wxUSE_ODBC 1
19755 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19756 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19758 WIN32INSTALL
=win32install
19761 if test "$wxUSE_GUI" = "yes"; then
19770 if test "$wxUSE_MSW" = 1 ; then
19776 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19780 if test "$wxUSE_GTK" = 1; then
19781 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19782 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19784 gtk_version_cached
=1
19785 if test "${wx_cv_lib_gtk+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 gtk_version_cached
=0
19790 echo "$as_me:$LINENO: result: " >&5
19791 echo "${ECHO_T}" >&6
19794 if test "$wxUSE_THREADS" = "yes"; then
19795 GTK_MODULES
=gthread
19799 if test "x$wxUSE_GTK2" = "xyes"; then
19800 # Check whether --enable-gtktest or --disable-gtktest was given.
19801 if test "${enable_gtktest+set}" = set; then
19802 enableval
="$enable_gtktest"
19808 pkg_config_args
=gtk
+-2.0
19809 for module
in .
$GTK_MODULES
19813 pkg_config_args
="$pkg_config_args gthread-2.0"
19820 # Extract the first word of "pkg-config", so it can be a program name with args.
19821 set dummy pkg
-config; ac_word
=$2
19822 echo "$as_me:$LINENO: checking for $ac_word" >&5
19823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 case $PKG_CONFIG in
19829 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19833 for as_dir
in $PATH
19836 test -z "$as_dir" && as_dir
=.
19837 for ac_exec_ext
in '' $ac_executable_extensions; do
19838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19839 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19846 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19850 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19852 if test -n "$PKG_CONFIG"; then
19853 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19854 echo "${ECHO_T}$PKG_CONFIG" >&6
19856 echo "$as_me:$LINENO: result: no" >&5
19857 echo "${ECHO_T}no" >&6
19861 if test x
$PKG_CONFIG != xno
; then
19862 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19865 echo *** pkg
-config too old
; version
0.7 or better required.
19873 min_gtk_version
=2.0.0
19874 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19875 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19877 if test x
$PKG_CONFIG != xno
; then
19878 ## don't try to run the test against uninstalled libtool libs
19879 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19880 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19884 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19891 if test x
"$no_gtk" = x
; then
19892 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19893 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19894 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19895 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19896 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19898 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19900 if test "x$enable_gtktest" = "xyes" ; then
19901 ac_save_CFLAGS
="$CFLAGS"
19902 ac_save_LIBS
="$LIBS"
19903 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19904 LIBS
="$GTK_LIBS $LIBS"
19906 if test "$cross_compiling" = yes; then
19907 echo $ac_n "cross compiling; assumed OK... $ac_c"
19909 cat >conftest.
$ac_ext <<_ACEOF
19910 #line $LINENO "configure"
19913 cat confdefs.h
>>conftest.
$ac_ext
19914 cat >>conftest.
$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19917 #include <gtk/gtk.h>
19919 #include <stdlib.h>
19924 int major, minor, micro;
19927 system ("touch conf.gtktest");
19929 /* HP/UX 9 (%@#!) writes to sscanf strings */
19930 tmp_version = g_strdup("$min_gtk_version");
19931 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19932 printf("%s, bad version string\n", "$min_gtk_version");
19936 if ((gtk_major_version != $gtk_config_major_version) ||
19937 (gtk_minor_version != $gtk_config_minor_version) ||
19938 (gtk_micro_version != $gtk_config_micro_version))
19940 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19941 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19942 gtk_major_version, gtk_minor_version, gtk_micro_version);
19943 printf ("*** was found! If pkg-config was correct, then it is best\n");
19944 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19945 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19946 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19947 printf("*** required on your system.\n");
19948 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19949 printf("*** to point to the correct configuration files\n");
19951 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19952 (gtk_minor_version != GTK_MINOR_VERSION) ||
19953 (gtk_micro_version != GTK_MICRO_VERSION))
19955 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19956 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19957 printf("*** library (version %d.%d.%d)\n",
19958 gtk_major_version, gtk_minor_version, gtk_micro_version);
19962 if ((gtk_major_version > major) ||
19963 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19964 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19970 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19971 gtk_major_version, gtk_minor_version, gtk_micro_version);
19972 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19973 major, minor, micro);
19974 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19976 printf("*** If you have already installed a sufficiently new version, this error\n");
19977 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19978 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19979 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19980 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19981 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19982 printf("*** so that the correct libraries are found at run-time))\n");
19989 rm -f conftest
$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20002 echo "$as_me: program exited with status $ac_status" >&5
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.
$ac_ext >&5
20006 ( exit $ac_status )
20009 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20011 CFLAGS
="$ac_save_CFLAGS"
20012 LIBS
="$ac_save_LIBS"
20015 if test "x$no_gtk" = x
; then
20016 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20017 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20020 echo "$as_me:$LINENO: result: no" >&5
20021 echo "${ECHO_T}no" >&6
20022 if test "$PKG_CONFIG" = "no" ; then
20023 echo "*** A new enough version of pkg-config was not found."
20024 echo "*** See http://pkgconfig.sourceforge.net"
20026 if test -f conf.gtktest
; then
20029 echo "*** Could not run GTK+ test program, checking why..."
20030 ac_save_CFLAGS
="$CFLAGS"
20031 ac_save_LIBS
="$LIBS"
20032 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20033 LIBS
="$LIBS $GTK_LIBS"
20034 cat >conftest.
$ac_ext <<_ACEOF
20035 #line $LINENO "configure"
20038 cat confdefs.h
>>conftest.
$ac_ext
20039 cat >>conftest.
$ac_ext <<_ACEOF
20040 /* end confdefs.h. */
20042 #include <gtk/gtk.h>
20048 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20053 rm -f conftest.
$ac_objext conftest
$ac_exeext
20054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20055 (eval $ac_link) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } &&
20059 { ac_try
='test -s conftest$ac_exeext'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; }; then
20065 echo "*** The test program compiled, but did not run. This usually means"
20066 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20067 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20068 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20069 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20070 echo "*** is required on your system"
20072 echo "*** If you have an old version installed, it is best to remove it, although"
20073 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20078 echo "*** The test program failed to compile or link. See the file config.log for the"
20079 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20081 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20082 CFLAGS
="$ac_save_CFLAGS"
20083 LIBS
="$ac_save_LIBS"
20096 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20097 if test "${with_gtk_prefix+set}" = set; then
20098 withval
="$with_gtk_prefix"
20099 gtk_config_prefix
="$withval"
20101 gtk_config_prefix
=""
20104 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20105 if test "${with_gtk_exec_prefix+set}" = set; then
20106 withval
="$with_gtk_exec_prefix"
20107 gtk_config_exec_prefix
="$withval"
20109 gtk_config_exec_prefix
=""
20111 # Check whether --enable-gtktest or --disable-gtktest was given.
20112 if test "${enable_gtktest+set}" = set; then
20113 enableval
="$enable_gtktest"
20119 for module
in .
$GTK_MODULES
20123 gtk_config_args
="$gtk_config_args gthread"
20128 if test x
$gtk_config_exec_prefix != x
; then
20129 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20130 if test x
${GTK_CONFIG+set} != xset
; then
20131 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20134 if test x
$gtk_config_prefix != x
; then
20135 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20136 if test x
${GTK_CONFIG+set} != xset
; then
20137 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20141 # Extract the first word of "gtk-config", so it can be a program name with args.
20142 set dummy gtk
-config; ac_word
=$2
20143 echo "$as_me:$LINENO: checking for $ac_word" >&5
20144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20145 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 case $GTK_CONFIG in
20150 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20154 for as_dir
in $PATH
20157 test -z "$as_dir" && as_dir
=.
20158 for ac_exec_ext
in '' $ac_executable_extensions; do
20159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20160 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20167 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20171 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20173 if test -n "$GTK_CONFIG"; then
20174 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20175 echo "${ECHO_T}$GTK_CONFIG" >&6
20177 echo "$as_me:$LINENO: result: no" >&5
20178 echo "${ECHO_T}no" >&6
20181 min_gtk_version
=1.2.7
20182 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20183 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20185 if test "$GTK_CONFIG" = "no" ; then
20188 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20189 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20190 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20191 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20192 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20194 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20196 if test "x$enable_gtktest" = "xyes" ; then
20197 ac_save_CFLAGS
="$CFLAGS"
20198 ac_save_LIBS
="$LIBS"
20199 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20200 LIBS
="$GTK_LIBS $LIBS"
20202 if test "$cross_compiling" = yes; then
20203 echo $ac_n "cross compiling; assumed OK... $ac_c"
20205 cat >conftest.
$ac_ext <<_ACEOF
20206 #line $LINENO "configure"
20209 cat confdefs.h
>>conftest.
$ac_ext
20210 cat >>conftest.
$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20213 #include <gtk/gtk.h>
20215 #include <stdlib.h>
20220 int major, minor, micro;
20223 system ("touch conf.gtktest");
20225 /* HP/UX 9 (%@#!) writes to sscanf strings */
20226 tmp_version = g_strdup("$min_gtk_version");
20227 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20228 printf("%s, bad version string\n", "$min_gtk_version");
20232 if ((gtk_major_version != $gtk_config_major_version) ||
20233 (gtk_minor_version != $gtk_config_minor_version) ||
20234 (gtk_micro_version != $gtk_config_micro_version))
20236 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20237 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20238 gtk_major_version, gtk_minor_version, gtk_micro_version);
20239 printf ("*** was found! If gtk-config was correct, then it is best\n");
20240 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20241 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20242 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20243 printf("*** required on your system.\n");
20244 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20245 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20246 printf("*** before re-running configure\n");
20248 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20249 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20250 (gtk_minor_version != GTK_MINOR_VERSION) ||
20251 (gtk_micro_version != GTK_MICRO_VERSION))
20253 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20254 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20255 printf("*** library (version %d.%d.%d)\n",
20256 gtk_major_version, gtk_minor_version, gtk_micro_version);
20258 #endif /* defined (GTK_MAJOR_VERSION) ... */
20261 if ((gtk_major_version > major) ||
20262 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20263 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20269 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20270 gtk_major_version, gtk_minor_version, gtk_micro_version);
20271 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20272 major, minor, micro);
20273 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20275 printf("*** If you have already installed a sufficiently new version, this error\n");
20276 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20277 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20278 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20279 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20280 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20281 printf("*** so that the correct libraries are found at run-time))\n");
20288 rm -f conftest
$ac_exeext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20301 echo "$as_me: program exited with status $ac_status" >&5
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.
$ac_ext >&5
20305 ( exit $ac_status )
20308 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20310 CFLAGS
="$ac_save_CFLAGS"
20311 LIBS
="$ac_save_LIBS"
20314 if test "x$no_gtk" = x
; then
20315 echo "$as_me:$LINENO: result: yes" >&5
20316 echo "${ECHO_T}yes" >&6
20317 wx_cv_lib_gtk
=1.2.7
20319 echo "$as_me:$LINENO: result: no" >&5
20320 echo "${ECHO_T}no" >&6
20321 if test "$GTK_CONFIG" = "no" ; then
20322 echo "*** The gtk-config script installed by GTK could not be found"
20323 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20324 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20325 echo "*** full path to gtk-config."
20327 if test -f conf.gtktest
; then
20330 echo "*** Could not run GTK test program, checking why..."
20331 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20332 LIBS
="$LIBS $GTK_LIBS"
20333 cat >conftest.
$ac_ext <<_ACEOF
20334 #line $LINENO "configure"
20337 cat confdefs.h
>>conftest.
$ac_ext
20338 cat >>conftest.
$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20341 #include <gtk/gtk.h>
20347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20352 rm -f conftest.
$ac_objext conftest
$ac_exeext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20354 (eval $ac_link) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try
='test -s conftest$ac_exeext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 echo "*** The test program compiled, but did not run. This usually means"
20365 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20366 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20367 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20368 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20369 echo "*** is required on your system"
20371 echo "*** If you have an old version installed, it is best to remove it, although"
20372 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20374 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20375 echo "*** came with the system with the command"
20377 echo "*** rpm --erase --nodeps gtk gtk-devel"
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.
$ac_ext >&5
20382 echo "*** The test program failed to compile or link. See the file config.log for the"
20383 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20384 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20385 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20387 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20388 CFLAGS
="$ac_save_CFLAGS"
20389 LIBS
="$ac_save_LIBS"
20401 if test -z "$wx_cv_lib_gtk"; then
20403 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20404 if test "${with_gtk_prefix+set}" = set; then
20405 withval
="$with_gtk_prefix"
20406 gtk_config_prefix
="$withval"
20408 gtk_config_prefix
=""
20411 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20412 if test "${with_gtk_exec_prefix+set}" = set; then
20413 withval
="$with_gtk_exec_prefix"
20414 gtk_config_exec_prefix
="$withval"
20416 gtk_config_exec_prefix
=""
20418 # Check whether --enable-gtktest or --disable-gtktest was given.
20419 if test "${enable_gtktest+set}" = set; then
20420 enableval
="$enable_gtktest"
20426 for module
in .
$GTK_MODULES
20430 gtk_config_args
="$gtk_config_args gthread"
20435 if test x
$gtk_config_exec_prefix != x
; then
20436 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20437 if test x
${GTK_CONFIG+set} != xset
; then
20438 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20441 if test x
$gtk_config_prefix != x
; then
20442 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20443 if test x
${GTK_CONFIG+set} != xset
; then
20444 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20448 # Extract the first word of "gtk-config", so it can be a program name with args.
20449 set dummy gtk
-config; ac_word
=$2
20450 echo "$as_me:$LINENO: checking for $ac_word" >&5
20451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20452 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 case $GTK_CONFIG in
20457 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20461 for as_dir
in $PATH
20464 test -z "$as_dir" && as_dir
=.
20465 for ac_exec_ext
in '' $ac_executable_extensions; do
20466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20467 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20474 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20478 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20480 if test -n "$GTK_CONFIG"; then
20481 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20482 echo "${ECHO_T}$GTK_CONFIG" >&6
20484 echo "$as_me:$LINENO: result: no" >&5
20485 echo "${ECHO_T}no" >&6
20488 min_gtk_version
=1.2.3
20489 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20490 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20492 if test "$GTK_CONFIG" = "no" ; then
20495 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20496 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20497 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20499 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20501 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20503 if test "x$enable_gtktest" = "xyes" ; then
20504 ac_save_CFLAGS
="$CFLAGS"
20505 ac_save_LIBS
="$LIBS"
20506 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20507 LIBS
="$GTK_LIBS $LIBS"
20509 if test "$cross_compiling" = yes; then
20510 echo $ac_n "cross compiling; assumed OK... $ac_c"
20512 cat >conftest.
$ac_ext <<_ACEOF
20513 #line $LINENO "configure"
20516 cat confdefs.h
>>conftest.
$ac_ext
20517 cat >>conftest.
$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20520 #include <gtk/gtk.h>
20522 #include <stdlib.h>
20527 int major, minor, micro;
20530 system ("touch conf.gtktest");
20532 /* HP/UX 9 (%@#!) writes to sscanf strings */
20533 tmp_version = g_strdup("$min_gtk_version");
20534 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20535 printf("%s, bad version string\n", "$min_gtk_version");
20539 if ((gtk_major_version != $gtk_config_major_version) ||
20540 (gtk_minor_version != $gtk_config_minor_version) ||
20541 (gtk_micro_version != $gtk_config_micro_version))
20543 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20544 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20545 gtk_major_version, gtk_minor_version, gtk_micro_version);
20546 printf ("*** was found! If gtk-config was correct, then it is best\n");
20547 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20548 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20549 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20550 printf("*** required on your system.\n");
20551 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20552 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20553 printf("*** before re-running configure\n");
20555 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20557 (gtk_minor_version != GTK_MINOR_VERSION) ||
20558 (gtk_micro_version != GTK_MICRO_VERSION))
20560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20562 printf("*** library (version %d.%d.%d)\n",
20563 gtk_major_version, gtk_minor_version, gtk_micro_version);
20565 #endif /* defined (GTK_MAJOR_VERSION) ... */
20568 if ((gtk_major_version > major) ||
20569 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20570 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20576 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20577 gtk_major_version, gtk_minor_version, gtk_micro_version);
20578 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20579 major, minor, micro);
20580 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20582 printf("*** If you have already installed a sufficiently new version, this error\n");
20583 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20584 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20585 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20586 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20587 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20588 printf("*** so that the correct libraries are found at run-time))\n");
20595 rm -f conftest
$ac_exeext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597 (eval $ac_link) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20608 echo "$as_me: program exited with status $ac_status" >&5
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.
$ac_ext >&5
20612 ( exit $ac_status )
20615 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20617 CFLAGS
="$ac_save_CFLAGS"
20618 LIBS
="$ac_save_LIBS"
20621 if test "x$no_gtk" = x
; then
20622 echo "$as_me:$LINENO: result: yes" >&5
20623 echo "${ECHO_T}yes" >&6
20624 wx_cv_lib_gtk
=1.2.3
20626 echo "$as_me:$LINENO: result: no" >&5
20627 echo "${ECHO_T}no" >&6
20628 if test "$GTK_CONFIG" = "no" ; then
20629 echo "*** The gtk-config script installed by GTK could not be found"
20630 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20631 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20632 echo "*** full path to gtk-config."
20634 if test -f conf.gtktest
; then
20637 echo "*** Could not run GTK test program, checking why..."
20638 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20639 LIBS
="$LIBS $GTK_LIBS"
20640 cat >conftest.
$ac_ext <<_ACEOF
20641 #line $LINENO "configure"
20644 cat confdefs.h
>>conftest.
$ac_ext
20645 cat >>conftest.
$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20648 #include <gtk/gtk.h>
20654 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20659 rm -f conftest.
$ac_objext conftest
$ac_exeext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20661 (eval $ac_link) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try
='test -s conftest$ac_exeext'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 echo "*** The test program compiled, but did not run. This usually means"
20672 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20673 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20674 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20675 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20676 echo "*** is required on your system"
20678 echo "*** If you have an old version installed, it is best to remove it, although"
20679 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20681 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20682 echo "*** came with the system with the command"
20684 echo "*** rpm --erase --nodeps gtk gtk-devel"
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.
$ac_ext >&5
20689 echo "*** The test program failed to compile or link. See the file config.log for the"
20690 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20691 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20692 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20695 CFLAGS
="$ac_save_CFLAGS"
20696 LIBS
="$ac_save_LIBS"
20710 if test -z "$wx_cv_lib_gtk"; then
20713 wx_cv_cflags_gtk
=$GTK_CFLAGS
20714 wx_cv_libs_gtk
=$GTK_LIBS
20721 if test "$gtk_version_cached" = 1; then
20722 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20723 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20726 case "$wx_cv_lib_gtk" in
20735 *) { { echo "$as_me:$LINENO: error:
20736 Please check that gtk-config is in path, the directory
20737 where GTK+ libraries are installed (returned by
20738 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20739 equivalent variable and GTK+ is version 1.2.3 or above.
20741 echo "$as_me: error:
20742 Please check that gtk-config is in path, the directory
20743 where GTK+ libraries are installed (returned by
20744 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20745 equivalent variable and GTK+ is version 1.2.3 or above.
20747 { (exit 1); exit 1; }; }
20751 if test "$WXGTK20" = 1; then
20752 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20756 if test -z "$PKG_CONFIG"; then
20757 # Extract the first word of "pkg-config", so it can be a program name with args.
20758 set dummy pkg
-config; ac_word
=$2
20759 echo "$as_me:$LINENO: checking for $ac_word" >&5
20760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20761 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 case $PKG_CONFIG in
20766 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20770 for as_dir
in $PATH
20773 test -z "$as_dir" && as_dir
=.
20774 for ac_exec_ext
in '' $ac_executable_extensions; do
20775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20776 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20783 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20787 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20789 if test -n "$PKG_CONFIG"; then
20790 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20791 echo "${ECHO_T}$PKG_CONFIG" >&6
20793 echo "$as_me:$LINENO: result: no" >&5
20794 echo "${ECHO_T}no" >&6
20799 if test "$PKG_CONFIG" = "no" ; then
20800 echo "*** The pkg-config script could not be found. Make sure it is"
20801 echo "*** in your path, or set the PKG_CONFIG environment variable"
20802 echo "*** to the full path to pkg-config."
20803 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20805 PKG_CONFIG_MIN_VERSION
=0.9.0
20806 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20807 echo "$as_me:$LINENO: checking for pangoft2" >&5
20808 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20810 if $PKG_CONFIG --exists "pangoft2" ; then
20811 echo "$as_me:$LINENO: result: yes" >&5
20812 echo "${ECHO_T}yes" >&6
20815 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20816 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20817 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20818 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20819 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20821 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20822 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20823 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20824 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20825 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20829 ## If we have a custom action on failure, don't print errors, but
20830 ## do set a variable so people can do so.
20831 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20838 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20839 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20843 if test $succeeded = yes; then
20845 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20846 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20850 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20851 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20852 wxUSE_PRINTING_ARCHITECTURE
="no"
20859 if test "$wxUSE_UNICODE" = "yes"; then
20860 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20861 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20866 if test "$USE_DARWIN" != 1; then
20868 for ac_func
in poll
20870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20871 echo "$as_me:$LINENO: checking for $ac_func" >&5
20872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20873 if eval "test \"\${$as_ac_var+set}\" = set"; then
20874 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 cat >conftest.
$ac_ext <<_ACEOF
20877 #line $LINENO "configure"
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 /* System header to define __stub macros and hopefully few prototypes,
20884 which can conflict with char $ac_func (); below.
20885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20886 <limits.h> exists even on freestanding compilers. */
20888 # include <limits.h>
20890 # include <assert.h>
20892 /* Override any gcc2 internal prototype to avoid an error. */
20897 /* We use char because int might match the return type of a gcc2
20898 builtin and then its argument prototype would still apply. */
20900 /* The GNU C library defines this for functions which it implements
20901 to always fail with ENOSYS. Some functions are actually named
20902 something starting with __ and the normal name is an alias. */
20903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20906 char (*f) () = $ac_func;
20915 return f != $ac_func;
20920 rm -f conftest.
$ac_objext conftest
$ac_exeext
20921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20922 (eval $ac_link) 2>&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } &&
20926 { ac_try
='test -s conftest$ac_exeext'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; }; then
20932 eval "$as_ac_var=yes"
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.
$ac_ext >&5
20937 eval "$as_ac_var=no"
20939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20943 if test `eval echo '${'$as_ac_var'}'` = yes; then
20944 cat >>confdefs.h
<<_ACEOF
20945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20953 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20954 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20956 AFMINSTALL
=afminstall
20960 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20961 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20962 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 ac_check_lib_save_LIBS
=$LIBS
20967 cat >conftest.
$ac_ext <<_ACEOF
20968 #line $LINENO "configure"
20971 cat confdefs.h
>>conftest.
$ac_ext
20972 cat >>conftest.
$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20975 /* Override any gcc2 internal prototype to avoid an error. */
20979 /* We use char because int might match the return type of a gcc2
20980 builtin and then its argument prototype would still apply. */
20981 char gdk_im_open ();
20990 rm -f conftest.
$ac_objext conftest
$ac_exeext
20991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20992 (eval $ac_link) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } &&
20996 { ac_try
='test -s conftest$ac_exeext'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; }; then
21002 ac_cv_lib_gdk_gdk_im_open
=yes
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.
$ac_ext >&5
21007 ac_cv_lib_gdk_gdk_im_open
=no
21009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21010 LIBS
=$ac_check_lib_save_LIBS
21012 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21013 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21014 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21015 cat >>confdefs.h
<<\_ACEOF
21023 if test "$wxUSE_MGL" = 1; then
21024 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21025 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21026 if test "x$MGL_ROOT" = x
; then
21027 echo "$as_me:$LINENO: result: not found" >&5
21028 echo "${ECHO_T}not found" >&6
21029 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21030 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21031 { (exit 1); exit 1; }; }
21033 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21034 echo "${ECHO_T}$MGL_ROOT" >&6
21037 echo "$as_me:$LINENO: checking for libmgl location" >&5
21038 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21041 if test "x$wxUSE_SHARED" = xyes
; then
21042 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
21044 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
21048 mgl_os_candidates
="dos32/dj2"
21051 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21052 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21053 { (exit 1); exit 1; }; }
21059 for mgl_os_i
in $mgl_os_candidates ; do
21060 if test "x$mgl_os" = x
; then
21061 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21062 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21063 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21068 if test "x$mgl_lib_type" = x
; then
21069 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21070 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21071 mgl_lib_type
=release
21078 if test "x$mgl_os" = x
; then
21079 echo "$as_me:$LINENO: result: not found" >&5
21080 echo "${ECHO_T}not found" >&6
21081 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21082 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21083 { (exit 1); exit 1; }; }
21085 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21086 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21088 wxUSE_UNIVERSAL
="yes"
21090 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21091 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21093 AFMINSTALL
=afminstall
21098 if test "$wxUSE_MICROWIN" = 1; then
21099 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21100 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21101 if test "x$MICROWINDOWS" = x
; then
21102 echo "$as_me:$LINENO: result: not found" >&5
21103 echo "${ECHO_T}not found" >&6
21104 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21105 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21106 { (exit 1); exit 1; }; }
21108 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21109 echo "${ECHO_T}$MICROWINDOWS" >&6
21112 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21113 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21114 echo "${ECHO_T}MicroWindows' libraries found." >&6
21116 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21117 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21118 { (exit 1); exit 1; }; }
21121 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21122 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21124 wxUSE_UNIVERSAL
="yes"
21126 AFMINSTALL
=afminstall
21128 GUIDIST
=MICROWIN_DIST
21130 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21133 if test "$wxUSE_X11" = 1; then
21134 echo "$as_me:$LINENO: checking for X" >&5
21135 echo $ECHO_N "checking for X... $ECHO_C" >&6
21138 # Check whether --with-x or --without-x was given.
21139 if test "${with_x+set}" = set; then
21143 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21144 if test "x$with_x" = xno
; then
21145 # The user explicitly disabled X.
21148 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21149 # Both variables are already set.
21152 if test "${ac_cv_have_x+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 # One or both of the vars are not set, and there is no cached value.
21156 ac_x_includes
=no ac_x_libraries
=no
21157 rm -fr conftest.dir
21158 if mkdir conftest.dir
; then
21160 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21161 cat >Imakefile
<<'_ACEOF'
21163 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21165 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21166 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21167 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21168 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21169 for ac_extension
in a so sl
; do
21170 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21171 test -f $ac_im_libdir/libX11.
$ac_extension; then
21172 ac_im_usrlibdir
=$ac_im_libdir; break
21175 # Screen out bogus values from the imake configuration. They are
21176 # bogus both because they are the default anyway, and because
21177 # using them would break gcc on systems where it needs fixed includes.
21178 case $ac_im_incroot in
21180 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21182 case $ac_im_usrlibdir in
21183 /usr
/lib
| /lib
) ;;
21184 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21188 rm -fr conftest.dir
21191 # Standard set of common directories for X headers.
21192 # Check X11 before X11Rn because it is often a symlink to the current release.
21204 /usr/local/X11/include
21205 /usr/local/X11R6/include
21206 /usr/local/X11R5/include
21207 /usr/local/X11R4/include
21209 /usr/local/include/X11
21210 /usr/local/include/X11R6
21211 /usr/local/include/X11R5
21212 /usr/local/include/X11R4
21216 /usr/XFree86/include/X11
21220 /usr/unsupported/include
21221 /usr/athena/include
21222 /usr/local/x11r5/include
21223 /usr/lpp/Xamples/include
21225 /usr/openwin/include
21226 /usr/openwin/share/include'
21228 if test "$ac_x_includes" = no
; then
21229 # Guess where to find include files, by looking for Intrinsic.h.
21230 # First, try using that file with no special directory specified.
21231 cat >conftest.
$ac_ext <<_ACEOF
21232 #line $LINENO "configure"
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 #include <X11/Intrinsic.h>
21240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21243 grep -v '^ *+' conftest.er1
>conftest.err
21245 cat conftest.err
>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } >/dev
/null
; then
21248 if test -s conftest.err
; then
21249 ac_cpp_err
=$ac_c_preproc_warn_flag
21256 if test -z "$ac_cpp_err"; then
21257 # We can compile using X headers with no special include directory.
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.
$ac_ext >&5
21263 for ac_dir
in $ac_x_header_dirs; do
21264 if test -r "$ac_dir/X11/Intrinsic.h"; then
21265 ac_x_includes
=$ac_dir
21270 rm -f conftest.err conftest.
$ac_ext
21271 fi # $ac_x_includes = no
21273 if test "$ac_x_libraries" = no
; then
21274 # Check for the libraries.
21275 # See if we find them without any special options.
21276 # Don't add to $LIBS permanently.
21279 cat >conftest.
$ac_ext <<_ACEOF
21280 #line $LINENO "configure"
21283 cat confdefs.h
>>conftest.
$ac_ext
21284 cat >>conftest.
$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 #include <X11/Intrinsic.h>
21295 rm -f conftest.
$ac_objext conftest
$ac_exeext
21296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21297 (eval $ac_link) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } &&
21301 { ac_try
='test -s conftest$ac_exeext'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; }; then
21308 # We can link X programs with no special library path.
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21315 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21317 # Don't even attempt the hair of trying to link an X program!
21318 for ac_extension
in a so sl
; do
21319 if test -r $ac_dir/libXt.
$ac_extension; then
21320 ac_x_libraries
=$ac_dir
21326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21327 fi # $ac_x_libraries = no
21329 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21330 # Didn't find X anywhere. Cache the known absence of X.
21331 ac_cv_have_x
="have_x=no"
21333 # Record where we found X for the cache.
21334 ac_cv_have_x
="have_x=yes \
21335 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21340 eval "$ac_cv_have_x"
21343 if test "$have_x" != yes; then
21344 echo "$as_me:$LINENO: result: $have_x" >&5
21345 echo "${ECHO_T}$have_x" >&6
21348 # If each of the values was on the command line, it overrides each guess.
21349 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21350 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21351 # Update the cache value to reflect the command line values.
21352 ac_cv_have_x
="have_x=yes \
21353 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21354 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21355 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21358 if test "$no_x" = yes; then
21359 # Not all programs may use this symbol, but it does not hurt to define it.
21361 cat >>confdefs.h
<<\_ACEOF
21362 #define X_DISPLAY_MISSING 1
21365 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21367 if test -n "$x_includes"; then
21368 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21371 # It would also be nice to do this for all -L options, not just this one.
21372 if test -n "$x_libraries"; then
21373 X_LIBS
="$X_LIBS -L$x_libraries"
21374 # For Solaris; some versions of Sun CC require a space after -R and
21375 # others require no space. Words are not sufficient . . . .
21376 case `(uname -sr) 2>/dev/null` in
21378 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21379 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21380 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21381 cat >conftest.
$ac_ext <<_ACEOF
21382 #line $LINENO "configure"
21385 cat confdefs.h
>>conftest.
$ac_ext
21386 cat >>conftest.
$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21397 rm -f conftest.
$ac_objext conftest
$ac_exeext
21398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21399 (eval $ac_link) 2>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } &&
21403 { ac_try
='test -s conftest$ac_exeext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.
$ac_ext >&5
21416 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21417 if test $ac_R_nospace = yes; then
21418 echo "$as_me:$LINENO: result: no" >&5
21419 echo "${ECHO_T}no" >&6
21420 X_LIBS
="$X_LIBS -R$x_libraries"
21422 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21423 cat >conftest.
$ac_ext <<_ACEOF
21424 #line $LINENO "configure"
21427 cat confdefs.h
>>conftest.
$ac_ext
21428 cat >>conftest.
$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21439 rm -f conftest.
$ac_objext conftest
$ac_exeext
21440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21441 (eval $ac_link) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } &&
21445 { ac_try
='test -s conftest$ac_exeext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.
$ac_ext >&5
21458 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21459 if test $ac_R_space = yes; then
21460 echo "$as_me:$LINENO: result: yes" >&5
21461 echo "${ECHO_T}yes" >&6
21462 X_LIBS
="$X_LIBS -R $x_libraries"
21464 echo "$as_me:$LINENO: result: neither works" >&5
21465 echo "${ECHO_T}neither works" >&6
21468 LIBS
=$ac_xsave_LIBS
21472 # Check for system-dependent libraries X programs must link with.
21473 # Do this before checking for the system-independent R6 libraries
21474 # (-lICE), since we may need -lsocket or whatever for X linking.
21476 if test "$ISC" = yes; then
21477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21479 # Martyn Johnson says this is needed for Ultrix, if the X
21480 # libraries were built with DECnet support. And Karl Berry says
21481 # the Alpha needs dnet_stub (dnet does not exist).
21482 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21483 cat >conftest.
$ac_ext <<_ACEOF
21484 #line $LINENO "configure"
21487 cat confdefs.h
>>conftest.
$ac_ext
21488 cat >>conftest.
$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21491 /* Override any gcc2 internal prototype to avoid an error. */
21495 /* We use char because int might match the return type of a gcc2
21496 builtin and then its argument prototype would still apply. */
21497 char XOpenDisplay ();
21506 rm -f conftest.
$ac_objext conftest
$ac_exeext
21507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21508 (eval $ac_link) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try
='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21523 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21524 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21525 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21528 ac_check_lib_save_LIBS
=$LIBS
21529 LIBS
="-ldnet $LIBS"
21530 cat >conftest.
$ac_ext <<_ACEOF
21531 #line $LINENO "configure"
21534 cat confdefs.h
>>conftest.
$ac_ext
21535 cat >>conftest.
$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21538 /* Override any gcc2 internal prototype to avoid an error. */
21542 /* We use char because int might match the return type of a gcc2
21543 builtin and then its argument prototype would still apply. */
21553 rm -f conftest.
$ac_objext conftest
$ac_exeext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21555 (eval $ac_link) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } &&
21559 { ac_try
='test -s conftest$ac_exeext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_cv_lib_dnet_dnet_ntoa
=yes
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21570 ac_cv_lib_dnet_dnet_ntoa
=no
21572 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21573 LIBS
=$ac_check_lib_save_LIBS
21575 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21576 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21577 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21578 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21581 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21582 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21583 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21584 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21587 ac_check_lib_save_LIBS
=$LIBS
21588 LIBS
="-ldnet_stub $LIBS"
21589 cat >conftest.
$ac_ext <<_ACEOF
21590 #line $LINENO "configure"
21593 cat confdefs.h
>>conftest.
$ac_ext
21594 cat >>conftest.
$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21597 /* Override any gcc2 internal prototype to avoid an error. */
21601 /* We use char because int might match the return type of a gcc2
21602 builtin and then its argument prototype would still apply. */
21612 rm -f conftest.
$ac_objext conftest
$ac_exeext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21614 (eval $ac_link) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); } &&
21618 { ac_try
='test -s conftest$ac_exeext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.
$ac_ext >&5
21629 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21631 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21632 LIBS
=$ac_check_lib_save_LIBS
21634 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21635 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21636 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21637 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21642 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21643 LIBS
="$ac_xsave_LIBS"
21645 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21646 # to get the SysV transport functions.
21647 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21649 # The nsl library prevents programs from opening the X display
21650 # on Irix 5.2, according to T.E. Dickey.
21651 # The functions gethostbyname, getservbyname, and inet_addr are
21652 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21653 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21654 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21655 if test "${ac_cv_func_gethostbyname+set}" = set; then
21656 echo $ECHO_N "(cached) $ECHO_C" >&6
21658 cat >conftest.
$ac_ext <<_ACEOF
21659 #line $LINENO "configure"
21662 cat confdefs.h
>>conftest.
$ac_ext
21663 cat >>conftest.
$ac_ext <<_ACEOF
21664 /* end confdefs.h. */
21665 /* System header to define __stub macros and hopefully few prototypes,
21666 which can conflict with char gethostbyname (); below.
21667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21668 <limits.h> exists even on freestanding compilers. */
21670 # include <limits.h>
21672 # include <assert.h>
21674 /* Override any gcc2 internal prototype to avoid an error. */
21679 /* We use char because int might match the return type of a gcc2
21680 builtin and then its argument prototype would still apply. */
21681 char gethostbyname ();
21682 /* The GNU C library defines this for functions which it implements
21683 to always fail with ENOSYS. Some functions are actually named
21684 something starting with __ and the normal name is an alias. */
21685 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21688 char (*f) () = gethostbyname;
21697 return f != gethostbyname;
21702 rm -f conftest.
$ac_objext conftest
$ac_exeext
21703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21704 (eval $ac_link) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try
='test -s conftest$ac_exeext'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_cv_func_gethostbyname
=yes
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.
$ac_ext >&5
21719 ac_cv_func_gethostbyname
=no
21721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21723 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21724 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21726 if test $ac_cv_func_gethostbyname = no
; then
21727 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21728 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21729 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 ac_check_lib_save_LIBS
=$LIBS
21734 cat >conftest.
$ac_ext <<_ACEOF
21735 #line $LINENO "configure"
21738 cat confdefs.h
>>conftest.
$ac_ext
21739 cat >>conftest.
$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21742 /* Override any gcc2 internal prototype to avoid an error. */
21746 /* We use char because int might match the return type of a gcc2
21747 builtin and then its argument prototype would still apply. */
21748 char gethostbyname ();
21757 rm -f conftest.
$ac_objext conftest
$ac_exeext
21758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21759 (eval $ac_link) 2>&5
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); } &&
21763 { ac_try
='test -s conftest$ac_exeext'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; }; then
21769 ac_cv_lib_nsl_gethostbyname
=yes
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.
$ac_ext >&5
21774 ac_cv_lib_nsl_gethostbyname
=no
21776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21777 LIBS
=$ac_check_lib_save_LIBS
21779 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21780 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21781 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21782 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21785 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21786 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21787 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21788 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 ac_check_lib_save_LIBS
=$LIBS
21793 cat >conftest.
$ac_ext <<_ACEOF
21794 #line $LINENO "configure"
21797 cat confdefs.h
>>conftest.
$ac_ext
21798 cat >>conftest.
$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21801 /* Override any gcc2 internal prototype to avoid an error. */
21805 /* We use char because int might match the return type of a gcc2
21806 builtin and then its argument prototype would still apply. */
21807 char gethostbyname ();
21816 rm -f conftest.
$ac_objext conftest
$ac_exeext
21817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21818 (eval $ac_link) 2>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try
='test -s conftest$ac_exeext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21828 ac_cv_lib_bsd_gethostbyname
=yes
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.
$ac_ext >&5
21833 ac_cv_lib_bsd_gethostbyname
=no
21835 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21836 LIBS
=$ac_check_lib_save_LIBS
21838 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21839 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21840 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21847 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21848 # socket/setsockopt and other routines are undefined under SCO ODT
21849 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21850 # on later versions), says Simon Leinen: it contains gethostby*
21851 # variants that don't use the name server (or something). -lsocket
21852 # must be given before -lnsl if both are needed. We assume that
21853 # if connect needs -lnsl, so does gethostbyname.
21854 echo "$as_me:$LINENO: checking for connect" >&5
21855 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21856 if test "${ac_cv_func_connect+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 cat >conftest.
$ac_ext <<_ACEOF
21860 #line $LINENO "configure"
21863 cat confdefs.h
>>conftest.
$ac_ext
21864 cat >>conftest.
$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866 /* System header to define __stub macros and hopefully few prototypes,
21867 which can conflict with char connect (); below.
21868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21869 <limits.h> exists even on freestanding compilers. */
21871 # include <limits.h>
21873 # include <assert.h>
21875 /* Override any gcc2 internal prototype to avoid an error. */
21880 /* We use char because int might match the return type of a gcc2
21881 builtin and then its argument prototype would still apply. */
21883 /* The GNU C library defines this for functions which it implements
21884 to always fail with ENOSYS. Some functions are actually named
21885 something starting with __ and the normal name is an alias. */
21886 #if defined (__stub_connect) || defined (__stub___connect)
21889 char (*f) () = connect;
21898 return f != connect;
21903 rm -f conftest.
$ac_objext conftest
$ac_exeext
21904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21905 (eval $ac_link) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try
='test -s conftest$ac_exeext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 ac_cv_func_connect
=yes
21917 echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.
$ac_ext >&5
21920 ac_cv_func_connect
=no
21922 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21924 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21925 echo "${ECHO_T}$ac_cv_func_connect" >&6
21927 if test $ac_cv_func_connect = no
; then
21928 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21929 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21930 if test "${ac_cv_lib_socket_connect+set}" = set; then
21931 echo $ECHO_N "(cached) $ECHO_C" >&6
21933 ac_check_lib_save_LIBS
=$LIBS
21934 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21935 cat >conftest.
$ac_ext <<_ACEOF
21936 #line $LINENO "configure"
21939 cat confdefs.h
>>conftest.
$ac_ext
21940 cat >>conftest.
$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21943 /* Override any gcc2 internal prototype to avoid an error. */
21947 /* We use char because int might match the return type of a gcc2
21948 builtin and then its argument prototype would still apply. */
21958 rm -f conftest.
$ac_objext conftest
$ac_exeext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21960 (eval $ac_link) 2>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); } &&
21964 { ac_try
='test -s conftest$ac_exeext'
21965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21966 (eval $ac_try) 2>&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); }; }; then
21970 ac_cv_lib_socket_connect
=yes
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.
$ac_ext >&5
21975 ac_cv_lib_socket_connect
=no
21977 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21978 LIBS
=$ac_check_lib_save_LIBS
21980 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21981 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21982 if test $ac_cv_lib_socket_connect = yes; then
21983 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21988 # Guillermo Gomez says -lposix is necessary on A/UX.
21989 echo "$as_me:$LINENO: checking for remove" >&5
21990 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21991 if test "${ac_cv_func_remove+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21994 cat >conftest.
$ac_ext <<_ACEOF
21995 #line $LINENO "configure"
21998 cat confdefs.h
>>conftest.
$ac_ext
21999 cat >>conftest.
$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 /* System header to define __stub macros and hopefully few prototypes,
22002 which can conflict with char remove (); below.
22003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22004 <limits.h> exists even on freestanding compilers. */
22006 # include <limits.h>
22008 # include <assert.h>
22010 /* Override any gcc2 internal prototype to avoid an error. */
22015 /* We use char because int might match the return type of a gcc2
22016 builtin and then its argument prototype would still apply. */
22018 /* The GNU C library defines this for functions which it implements
22019 to always fail with ENOSYS. Some functions are actually named
22020 something starting with __ and the normal name is an alias. */
22021 #if defined (__stub_remove) || defined (__stub___remove)
22024 char (*f) () = remove;
22033 return f != remove;
22038 rm -f conftest.
$ac_objext conftest
$ac_exeext
22039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22040 (eval $ac_link) 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try
='test -s conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_func_remove
=yes
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.
$ac_ext >&5
22055 ac_cv_func_remove
=no
22057 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22059 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22060 echo "${ECHO_T}$ac_cv_func_remove" >&6
22062 if test $ac_cv_func_remove = no
; then
22063 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22064 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22065 if test "${ac_cv_lib_posix_remove+set}" = set; then
22066 echo $ECHO_N "(cached) $ECHO_C" >&6
22068 ac_check_lib_save_LIBS
=$LIBS
22069 LIBS
="-lposix $LIBS"
22070 cat >conftest.
$ac_ext <<_ACEOF
22071 #line $LINENO "configure"
22074 cat confdefs.h
>>conftest.
$ac_ext
22075 cat >>conftest.
$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22078 /* Override any gcc2 internal prototype to avoid an error. */
22082 /* We use char because int might match the return type of a gcc2
22083 builtin and then its argument prototype would still apply. */
22093 rm -f conftest.
$ac_objext conftest
$ac_exeext
22094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22095 (eval $ac_link) 2>&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } &&
22099 { ac_try
='test -s conftest$ac_exeext'
22100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101 (eval $ac_try) 2>&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; }; then
22105 ac_cv_lib_posix_remove
=yes
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.
$ac_ext >&5
22110 ac_cv_lib_posix_remove
=no
22112 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22113 LIBS
=$ac_check_lib_save_LIBS
22115 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22116 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22117 if test $ac_cv_lib_posix_remove = yes; then
22118 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22123 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22124 echo "$as_me:$LINENO: checking for shmat" >&5
22125 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22126 if test "${ac_cv_func_shmat+set}" = set; then
22127 echo $ECHO_N "(cached) $ECHO_C" >&6
22129 cat >conftest.
$ac_ext <<_ACEOF
22130 #line $LINENO "configure"
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 /* System header to define __stub macros and hopefully few prototypes,
22137 which can conflict with char shmat (); below.
22138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22139 <limits.h> exists even on freestanding compilers. */
22141 # include <limits.h>
22143 # include <assert.h>
22145 /* Override any gcc2 internal prototype to avoid an error. */
22150 /* We use char because int might match the return type of a gcc2
22151 builtin and then its argument prototype would still apply. */
22153 /* The GNU C library defines this for functions which it implements
22154 to always fail with ENOSYS. Some functions are actually named
22155 something starting with __ and the normal name is an alias. */
22156 #if defined (__stub_shmat) || defined (__stub___shmat)
22159 char (*f) () = shmat;
22173 rm -f conftest.
$ac_objext conftest
$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try
='test -s conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_func_shmat
=yes
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.
$ac_ext >&5
22190 ac_cv_func_shmat
=no
22192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22194 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22195 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22197 if test $ac_cv_func_shmat = no
; then
22198 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22199 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22200 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 ac_check_lib_save_LIBS
=$LIBS
22205 cat >conftest.
$ac_ext <<_ACEOF
22206 #line $LINENO "configure"
22209 cat confdefs.h
>>conftest.
$ac_ext
22210 cat >>conftest.
$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22213 /* Override any gcc2 internal prototype to avoid an error. */
22217 /* We use char because int might match the return type of a gcc2
22218 builtin and then its argument prototype would still apply. */
22228 rm -f conftest.
$ac_objext conftest
$ac_exeext
22229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22230 (eval $ac_link) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try
='test -s conftest$ac_exeext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_lib_ipc_shmat
=yes
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.
$ac_ext >&5
22245 ac_cv_lib_ipc_shmat
=no
22247 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22248 LIBS
=$ac_check_lib_save_LIBS
22250 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22251 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22252 if test $ac_cv_lib_ipc_shmat = yes; then
22253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22259 # Check for libraries that X11R6 Xt/Xaw programs need.
22260 ac_save_LDFLAGS
=$LDFLAGS
22261 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22262 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22263 # check for ICE first), but we must link in the order -lSM -lICE or
22264 # we get undefined symbols. So assume we have SM if we have ICE.
22265 # These have to be linked with before -lX11, unlike the other
22266 # libraries we check for below, so use a different variable.
22267 # John Interrante, Karl Berry
22268 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22269 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22270 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 ac_check_lib_save_LIBS
=$LIBS
22274 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22275 cat >conftest.
$ac_ext <<_ACEOF
22276 #line $LINENO "configure"
22279 cat confdefs.h
>>conftest.
$ac_ext
22280 cat >>conftest.
$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22283 /* Override any gcc2 internal prototype to avoid an error. */
22287 /* We use char because int might match the return type of a gcc2
22288 builtin and then its argument prototype would still apply. */
22289 char IceConnectionNumber ();
22293 IceConnectionNumber ();
22298 rm -f conftest.
$ac_objext conftest
$ac_exeext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } &&
22304 { ac_try
='test -s conftest$ac_exeext'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; }; then
22310 ac_cv_lib_ICE_IceConnectionNumber
=yes
22312 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.
$ac_ext >&5
22315 ac_cv_lib_ICE_IceConnectionNumber
=no
22317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22318 LIBS
=$ac_check_lib_save_LIBS
22320 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22321 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22322 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22323 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22326 LDFLAGS
=$ac_save_LDFLAGS
22331 if test "$no_x" = "yes"; then
22332 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22333 echo "$as_me: error: X11 not found" >&2;}
22334 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22337 GUI_TK_LIBRARY
="$X_LIBS"
22338 TOOLKIT_INCLUDE
="$X_CFLAGS"
22339 AFMINSTALL
=afminstall
22340 COMPILED_X_PROGRAM
=0
22342 if test "$wxUSE_NANOX" = "yes"; then
22343 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22344 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22345 if test "x$MICROWIN" = x
; then
22346 echo "$as_me:$LINENO: result: not found" >&5
22347 echo "${ECHO_T}not found" >&6
22348 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22349 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22350 { (exit 1); exit 1; }; }
22352 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22353 echo "${ECHO_T}$MICROWIN" >&6
22354 cat >>confdefs.h
<<\_ACEOF
22355 #define wxUSE_NANOX 1
22362 echo "$as_me:$LINENO: checking for Xpm library" >&5
22363 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22366 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22368 for ac_extension
in a so sl dylib
; do
22369 if test -f "$ac_dir/libXpm.$ac_extension"; then
22370 ac_find_libraries
=$ac_dir
22376 if test "$ac_find_libraries" != "" ; then
22378 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22380 if test $result = 0; then
22383 ac_path_to_link
=" -L$ac_find_libraries"
22386 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22388 cat >>confdefs.h
<<\_ACEOF
22389 #define wxHAVE_LIB_XPM 1
22392 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22393 echo "${ECHO_T}found at $ac_find_libraries" >&6
22395 cat >conftest.
$ac_ext <<_ACEOF
22396 #line $LINENO "configure"
22399 cat confdefs.h
>>conftest.
$ac_ext
22400 cat >>conftest.
$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22403 #include <X11/xpm.h>
22410 version = XpmLibraryVersion();
22416 rm -f conftest.
$ac_objext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22418 (eval $ac_compile) 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try
='test -s conftest.$ac_objext'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22430 cat >>confdefs.h
<<\_ACEOF
22431 #define wxHAVE_LIB_XPM 1
22434 echo "$as_me:$LINENO: result: found in default search path" >&5
22435 echo "${ECHO_T}found in default search path" >&6
22436 COMPILED_X_PROGRAM
=0
22439 echo "$as_me: failed program was:" >&5
22440 sed 's/^/| /' conftest.
$ac_ext >&5
22443 echo "$as_me:$LINENO: result: no" >&5
22444 echo "${ECHO_T}no" >&6
22445 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22446 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22450 rm -f conftest.
$ac_objext conftest.
$ac_ext
22453 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22454 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22455 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22456 echo $ECHO_N "(cached) $ECHO_C" >&6
22458 ac_check_lib_save_LIBS
=$LIBS
22459 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22460 cat >conftest.
$ac_ext <<_ACEOF
22461 #line $LINENO "configure"
22464 cat confdefs.h
>>conftest.
$ac_ext
22465 cat >>conftest.
$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22468 /* Override any gcc2 internal prototype to avoid an error. */
22472 /* We use char because int might match the return type of a gcc2
22473 builtin and then its argument prototype would still apply. */
22474 char XShapeQueryExtension ();
22478 XShapeQueryExtension ();
22483 rm -f conftest.
$ac_objext conftest
$ac_exeext
22484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22485 (eval $ac_link) 2>&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); } &&
22489 { ac_try
='test -s conftest$ac_exeext'
22490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22491 (eval $ac_try) 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); }; }; then
22495 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22497 echo "$as_me: failed program was:" >&5
22498 sed 's/^/| /' conftest.
$ac_ext >&5
22500 ac_cv_lib_Xext_XShapeQueryExtension
=no
22502 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22503 LIBS
=$ac_check_lib_save_LIBS
22505 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22506 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22507 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22509 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22515 if test "$wxUSE_UNICODE" = "yes"; then
22519 if test -z "$PKG_CONFIG"; then
22520 # Extract the first word of "pkg-config", so it can be a program name with args.
22521 set dummy pkg
-config; ac_word
=$2
22522 echo "$as_me:$LINENO: checking for $ac_word" >&5
22523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22524 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22527 case $PKG_CONFIG in
22529 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22533 for as_dir
in $PATH
22536 test -z "$as_dir" && as_dir
=.
22537 for ac_exec_ext
in '' $ac_executable_extensions; do
22538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22539 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22546 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22550 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22552 if test -n "$PKG_CONFIG"; then
22553 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22554 echo "${ECHO_T}$PKG_CONFIG" >&6
22556 echo "$as_me:$LINENO: result: no" >&5
22557 echo "${ECHO_T}no" >&6
22562 if test "$PKG_CONFIG" = "no" ; then
22563 echo "*** The pkg-config script could not be found. Make sure it is"
22564 echo "*** in your path, or set the PKG_CONFIG environment variable"
22565 echo "*** to the full path to pkg-config."
22566 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22568 PKG_CONFIG_MIN_VERSION
=0.9.0
22569 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22570 echo "$as_me:$LINENO: checking for pangox" >&5
22571 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22573 if $PKG_CONFIG --exists "pangox" ; then
22574 echo "$as_me:$LINENO: result: yes" >&5
22575 echo "${ECHO_T}yes" >&6
22578 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22579 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22580 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22581 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22582 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22584 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22585 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22586 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22587 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22588 echo "${ECHO_T}$PANGOX_LIBS" >&6
22592 ## If we have a custom action on failure, don't print errors, but
22593 ## do set a variable so people can do so.
22594 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22601 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22602 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22606 if test $succeeded = yes; then
22608 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22609 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22613 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22614 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22615 { (exit 1); exit 1; }; }
22623 if test -z "$PKG_CONFIG"; then
22624 # Extract the first word of "pkg-config", so it can be a program name with args.
22625 set dummy pkg
-config; ac_word
=$2
22626 echo "$as_me:$LINENO: checking for $ac_word" >&5
22627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22629 echo $ECHO_N "(cached) $ECHO_C" >&6
22631 case $PKG_CONFIG in
22633 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22637 for as_dir
in $PATH
22640 test -z "$as_dir" && as_dir
=.
22641 for ac_exec_ext
in '' $ac_executable_extensions; do
22642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22643 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22650 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22654 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22656 if test -n "$PKG_CONFIG"; then
22657 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22658 echo "${ECHO_T}$PKG_CONFIG" >&6
22660 echo "$as_me:$LINENO: result: no" >&5
22661 echo "${ECHO_T}no" >&6
22666 if test "$PKG_CONFIG" = "no" ; then
22667 echo "*** The pkg-config script could not be found. Make sure it is"
22668 echo "*** in your path, or set the PKG_CONFIG environment variable"
22669 echo "*** to the full path to pkg-config."
22670 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22672 PKG_CONFIG_MIN_VERSION
=0.9.0
22673 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22674 echo "$as_me:$LINENO: checking for pangoft2" >&5
22675 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22677 if $PKG_CONFIG --exists "pangoft2" ; then
22678 echo "$as_me:$LINENO: result: yes" >&5
22679 echo "${ECHO_T}yes" >&6
22682 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22683 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22684 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22685 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22686 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22688 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22689 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22690 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22691 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22692 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22696 ## If we have a custom action on failure, don't print errors, but
22697 ## do set a variable so people can do so.
22698 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22705 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22706 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22710 if test $succeeded = yes; then
22712 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22713 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22717 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22718 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22719 wxUSE_PRINTING_ARCHITECTURE
="no"
22727 if test -z "$PKG_CONFIG"; then
22728 # Extract the first word of "pkg-config", so it can be a program name with args.
22729 set dummy pkg
-config; ac_word
=$2
22730 echo "$as_me:$LINENO: checking for $ac_word" >&5
22731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22732 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22733 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 case $PKG_CONFIG in
22737 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22741 for as_dir
in $PATH
22744 test -z "$as_dir" && as_dir
=.
22745 for ac_exec_ext
in '' $ac_executable_extensions; do
22746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22747 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22754 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22758 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22760 if test -n "$PKG_CONFIG"; then
22761 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22762 echo "${ECHO_T}$PKG_CONFIG" >&6
22764 echo "$as_me:$LINENO: result: no" >&5
22765 echo "${ECHO_T}no" >&6
22770 if test "$PKG_CONFIG" = "no" ; then
22771 echo "*** The pkg-config script could not be found. Make sure it is"
22772 echo "*** in your path, or set the PKG_CONFIG environment variable"
22773 echo "*** to the full path to pkg-config."
22774 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22776 PKG_CONFIG_MIN_VERSION
=0.9.0
22777 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22778 echo "$as_me:$LINENO: checking for pangoxft" >&5
22779 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22781 if $PKG_CONFIG --exists "pangoxft" ; then
22782 echo "$as_me:$LINENO: result: yes" >&5
22783 echo "${ECHO_T}yes" >&6
22786 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22787 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22788 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22789 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22790 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22792 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22793 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22794 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22795 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22796 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22800 ## If we have a custom action on failure, don't print errors, but
22801 ## do set a variable so people can do so.
22802 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22809 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22810 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22814 if test $succeeded = yes; then
22816 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22817 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22821 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22822 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22829 wxUSE_UNIVERSAL
="yes"
22831 if test "$wxUSE_NANOX" = "yes"; then
22832 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22833 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"
22834 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22836 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22839 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22844 if test "$wxUSE_MOTIF" = 1; then
22845 if test "$no_x" = yes; then
22846 # Not all programs may use this symbol, but it does not hurt to define it.
22848 cat >>confdefs.h
<<\_ACEOF
22849 #define X_DISPLAY_MISSING 1
22852 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22854 if test -n "$x_includes"; then
22855 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22858 # It would also be nice to do this for all -L options, not just this one.
22859 if test -n "$x_libraries"; then
22860 X_LIBS
="$X_LIBS -L$x_libraries"
22861 # For Solaris; some versions of Sun CC require a space after -R and
22862 # others require no space. Words are not sufficient . . . .
22863 case `(uname -sr) 2>/dev/null` in
22865 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22866 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22867 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22868 cat >conftest.
$ac_ext <<_ACEOF
22869 #line $LINENO "configure"
22872 cat confdefs.h
>>conftest.
$ac_ext
22873 cat >>conftest.
$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22884 rm -f conftest.
$ac_objext conftest
$ac_exeext
22885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22886 (eval $ac_link) 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } &&
22890 { ac_try
='test -s conftest$ac_exeext'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; }; then
22898 echo "$as_me: failed program was:" >&5
22899 sed 's/^/| /' conftest.
$ac_ext >&5
22903 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22904 if test $ac_R_nospace = yes; then
22905 echo "$as_me:$LINENO: result: no" >&5
22906 echo "${ECHO_T}no" >&6
22907 X_LIBS
="$X_LIBS -R$x_libraries"
22909 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22910 cat >conftest.
$ac_ext <<_ACEOF
22911 #line $LINENO "configure"
22914 cat confdefs.h
>>conftest.
$ac_ext
22915 cat >>conftest.
$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22926 rm -f conftest.
$ac_objext conftest
$ac_exeext
22927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22928 (eval $ac_link) 2>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } &&
22932 { ac_try
='test -s conftest$ac_exeext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.
$ac_ext >&5
22945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22946 if test $ac_R_space = yes; then
22947 echo "$as_me:$LINENO: result: yes" >&5
22948 echo "${ECHO_T}yes" >&6
22949 X_LIBS
="$X_LIBS -R $x_libraries"
22951 echo "$as_me:$LINENO: result: neither works" >&5
22952 echo "${ECHO_T}neither works" >&6
22955 LIBS
=$ac_xsave_LIBS
22959 # Check for system-dependent libraries X programs must link with.
22960 # Do this before checking for the system-independent R6 libraries
22961 # (-lICE), since we may need -lsocket or whatever for X linking.
22963 if test "$ISC" = yes; then
22964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22966 # Martyn Johnson says this is needed for Ultrix, if the X
22967 # libraries were built with DECnet support. And Karl Berry says
22968 # the Alpha needs dnet_stub (dnet does not exist).
22969 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22970 cat >conftest.
$ac_ext <<_ACEOF
22971 #line $LINENO "configure"
22974 cat confdefs.h
>>conftest.
$ac_ext
22975 cat >>conftest.
$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22978 /* Override any gcc2 internal prototype to avoid an error. */
22982 /* We use char because int might match the return type of a gcc2
22983 builtin and then its argument prototype would still apply. */
22984 char XOpenDisplay ();
22993 rm -f conftest.
$ac_objext conftest
$ac_exeext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22995 (eval $ac_link) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try
='test -s conftest$ac_exeext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.
$ac_ext >&5
23010 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23011 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23012 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23013 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 ac_check_lib_save_LIBS
=$LIBS
23016 LIBS
="-ldnet $LIBS"
23017 cat >conftest.
$ac_ext <<_ACEOF
23018 #line $LINENO "configure"
23021 cat confdefs.h
>>conftest.
$ac_ext
23022 cat >>conftest.
$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23025 /* Override any gcc2 internal prototype to avoid an error. */
23029 /* We use char because int might match the return type of a gcc2
23030 builtin and then its argument prototype would still apply. */
23040 rm -f conftest.
$ac_objext conftest
$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042 (eval $ac_link) 2>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try
='test -s conftest$ac_exeext'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; }; then
23052 ac_cv_lib_dnet_dnet_ntoa
=yes
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.
$ac_ext >&5
23057 ac_cv_lib_dnet_dnet_ntoa
=no
23059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23060 LIBS
=$ac_check_lib_save_LIBS
23062 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23063 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23064 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23065 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23068 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23069 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23070 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23071 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23072 echo $ECHO_N "(cached) $ECHO_C" >&6
23074 ac_check_lib_save_LIBS
=$LIBS
23075 LIBS
="-ldnet_stub $LIBS"
23076 cat >conftest.
$ac_ext <<_ACEOF
23077 #line $LINENO "configure"
23080 cat confdefs.h
>>conftest.
$ac_ext
23081 cat >>conftest.
$ac_ext <<_ACEOF
23082 /* end confdefs.h. */
23084 /* Override any gcc2 internal prototype to avoid an error. */
23088 /* We use char because int might match the return type of a gcc2
23089 builtin and then its argument prototype would still apply. */
23099 rm -f conftest.
$ac_objext conftest
$ac_exeext
23100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23101 (eval $ac_link) 2>&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } &&
23105 { ac_try
='test -s conftest$ac_exeext'
23106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23107 (eval $ac_try) 2>&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); }; }; then
23111 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23113 echo "$as_me: failed program was:" >&5
23114 sed 's/^/| /' conftest.
$ac_ext >&5
23116 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23118 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23119 LIBS
=$ac_check_lib_save_LIBS
23121 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23122 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23123 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23124 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23129 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23130 LIBS
="$ac_xsave_LIBS"
23132 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23133 # to get the SysV transport functions.
23134 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23136 # The nsl library prevents programs from opening the X display
23137 # on Irix 5.2, according to T.E. Dickey.
23138 # The functions gethostbyname, getservbyname, and inet_addr are
23139 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23140 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23141 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23142 if test "${ac_cv_func_gethostbyname+set}" = set; then
23143 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 cat >conftest.
$ac_ext <<_ACEOF
23146 #line $LINENO "configure"
23149 cat confdefs.h
>>conftest.
$ac_ext
23150 cat >>conftest.
$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 /* System header to define __stub macros and hopefully few prototypes,
23153 which can conflict with char gethostbyname (); below.
23154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23155 <limits.h> exists even on freestanding compilers. */
23157 # include <limits.h>
23159 # include <assert.h>
23161 /* Override any gcc2 internal prototype to avoid an error. */
23166 /* We use char because int might match the return type of a gcc2
23167 builtin and then its argument prototype would still apply. */
23168 char gethostbyname ();
23169 /* The GNU C library defines this for functions which it implements
23170 to always fail with ENOSYS. Some functions are actually named
23171 something starting with __ and the normal name is an alias. */
23172 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23175 char (*f) () = gethostbyname;
23184 return f != gethostbyname;
23189 rm -f conftest.
$ac_objext conftest
$ac_exeext
23190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23191 (eval $ac_link) 2>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } &&
23195 { ac_try
='test -s conftest$ac_exeext'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; }; then
23201 ac_cv_func_gethostbyname
=yes
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.
$ac_ext >&5
23206 ac_cv_func_gethostbyname
=no
23208 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23210 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23211 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23213 if test $ac_cv_func_gethostbyname = no
; then
23214 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23215 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23216 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23217 echo $ECHO_N "(cached) $ECHO_C" >&6
23219 ac_check_lib_save_LIBS
=$LIBS
23221 cat >conftest.
$ac_ext <<_ACEOF
23222 #line $LINENO "configure"
23225 cat confdefs.h
>>conftest.
$ac_ext
23226 cat >>conftest.
$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23229 /* Override any gcc2 internal prototype to avoid an error. */
23233 /* We use char because int might match the return type of a gcc2
23234 builtin and then its argument prototype would still apply. */
23235 char gethostbyname ();
23244 rm -f conftest.
$ac_objext conftest
$ac_exeext
23245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23246 (eval $ac_link) 2>&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } &&
23250 { ac_try
='test -s conftest$ac_exeext'
23251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23252 (eval $ac_try) 2>&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); }; }; then
23256 ac_cv_lib_nsl_gethostbyname
=yes
23258 echo "$as_me: failed program was:" >&5
23259 sed 's/^/| /' conftest.
$ac_ext >&5
23261 ac_cv_lib_nsl_gethostbyname
=no
23263 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23264 LIBS
=$ac_check_lib_save_LIBS
23266 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23267 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23268 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23272 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23273 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23274 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23275 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23276 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 ac_check_lib_save_LIBS
=$LIBS
23280 cat >conftest.
$ac_ext <<_ACEOF
23281 #line $LINENO "configure"
23284 cat confdefs.h
>>conftest.
$ac_ext
23285 cat >>conftest.
$ac_ext <<_ACEOF
23286 /* end confdefs.h. */
23288 /* Override any gcc2 internal prototype to avoid an error. */
23292 /* We use char because int might match the return type of a gcc2
23293 builtin and then its argument prototype would still apply. */
23294 char gethostbyname ();
23303 rm -f conftest.
$ac_objext conftest
$ac_exeext
23304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23305 (eval $ac_link) 2>&5
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); } &&
23309 { ac_try
='test -s conftest$ac_exeext'
23310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23311 (eval $ac_try) 2>&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); }; }; then
23315 ac_cv_lib_bsd_gethostbyname
=yes
23317 echo "$as_me: failed program was:" >&5
23318 sed 's/^/| /' conftest.
$ac_ext >&5
23320 ac_cv_lib_bsd_gethostbyname
=no
23322 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23323 LIBS
=$ac_check_lib_save_LIBS
23325 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23326 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23327 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23328 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23334 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23335 # socket/setsockopt and other routines are undefined under SCO ODT
23336 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23337 # on later versions), says Simon Leinen: it contains gethostby*
23338 # variants that don't use the name server (or something). -lsocket
23339 # must be given before -lnsl if both are needed. We assume that
23340 # if connect needs -lnsl, so does gethostbyname.
23341 echo "$as_me:$LINENO: checking for connect" >&5
23342 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23343 if test "${ac_cv_func_connect+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 cat >conftest.
$ac_ext <<_ACEOF
23347 #line $LINENO "configure"
23350 cat confdefs.h
>>conftest.
$ac_ext
23351 cat >>conftest.
$ac_ext <<_ACEOF
23352 /* end confdefs.h. */
23353 /* System header to define __stub macros and hopefully few prototypes,
23354 which can conflict with char connect (); below.
23355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23356 <limits.h> exists even on freestanding compilers. */
23358 # include <limits.h>
23360 # include <assert.h>
23362 /* Override any gcc2 internal prototype to avoid an error. */
23367 /* We use char because int might match the return type of a gcc2
23368 builtin and then its argument prototype would still apply. */
23370 /* The GNU C library defines this for functions which it implements
23371 to always fail with ENOSYS. Some functions are actually named
23372 something starting with __ and the normal name is an alias. */
23373 #if defined (__stub_connect) || defined (__stub___connect)
23376 char (*f) () = connect;
23385 return f != connect;
23390 rm -f conftest.
$ac_objext conftest
$ac_exeext
23391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23392 (eval $ac_link) 2>&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); } &&
23396 { ac_try
='test -s conftest$ac_exeext'
23397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23398 (eval $ac_try) 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; }; then
23402 ac_cv_func_connect
=yes
23404 echo "$as_me: failed program was:" >&5
23405 sed 's/^/| /' conftest.
$ac_ext >&5
23407 ac_cv_func_connect
=no
23409 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23411 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23412 echo "${ECHO_T}$ac_cv_func_connect" >&6
23414 if test $ac_cv_func_connect = no
; then
23415 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23416 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23417 if test "${ac_cv_lib_socket_connect+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 ac_check_lib_save_LIBS
=$LIBS
23421 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23422 cat >conftest.
$ac_ext <<_ACEOF
23423 #line $LINENO "configure"
23426 cat confdefs.h
>>conftest.
$ac_ext
23427 cat >>conftest.
$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23430 /* Override any gcc2 internal prototype to avoid an error. */
23434 /* We use char because int might match the return type of a gcc2
23435 builtin and then its argument prototype would still apply. */
23445 rm -f conftest.
$ac_objext conftest
$ac_exeext
23446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23447 (eval $ac_link) 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try
='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_lib_socket_connect
=yes
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.
$ac_ext >&5
23462 ac_cv_lib_socket_connect
=no
23464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23465 LIBS
=$ac_check_lib_save_LIBS
23467 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23468 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23469 if test $ac_cv_lib_socket_connect = yes; then
23470 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23475 # Guillermo Gomez says -lposix is necessary on A/UX.
23476 echo "$as_me:$LINENO: checking for remove" >&5
23477 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23478 if test "${ac_cv_func_remove+set}" = set; then
23479 echo $ECHO_N "(cached) $ECHO_C" >&6
23481 cat >conftest.
$ac_ext <<_ACEOF
23482 #line $LINENO "configure"
23485 cat confdefs.h
>>conftest.
$ac_ext
23486 cat >>conftest.
$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23488 /* System header to define __stub macros and hopefully few prototypes,
23489 which can conflict with char remove (); below.
23490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23491 <limits.h> exists even on freestanding compilers. */
23493 # include <limits.h>
23495 # include <assert.h>
23497 /* Override any gcc2 internal prototype to avoid an error. */
23502 /* We use char because int might match the return type of a gcc2
23503 builtin and then its argument prototype would still apply. */
23505 /* The GNU C library defines this for functions which it implements
23506 to always fail with ENOSYS. Some functions are actually named
23507 something starting with __ and the normal name is an alias. */
23508 #if defined (__stub_remove) || defined (__stub___remove)
23511 char (*f) () = remove;
23520 return f != remove;
23525 rm -f conftest.
$ac_objext conftest
$ac_exeext
23526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23527 (eval $ac_link) 2>&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try
='test -s conftest$ac_exeext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 ac_cv_func_remove
=yes
23539 echo "$as_me: failed program was:" >&5
23540 sed 's/^/| /' conftest.
$ac_ext >&5
23542 ac_cv_func_remove
=no
23544 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23546 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23547 echo "${ECHO_T}$ac_cv_func_remove" >&6
23549 if test $ac_cv_func_remove = no
; then
23550 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23551 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23552 if test "${ac_cv_lib_posix_remove+set}" = set; then
23553 echo $ECHO_N "(cached) $ECHO_C" >&6
23555 ac_check_lib_save_LIBS
=$LIBS
23556 LIBS
="-lposix $LIBS"
23557 cat >conftest.
$ac_ext <<_ACEOF
23558 #line $LINENO "configure"
23561 cat confdefs.h
>>conftest.
$ac_ext
23562 cat >>conftest.
$ac_ext <<_ACEOF
23563 /* end confdefs.h. */
23565 /* Override any gcc2 internal prototype to avoid an error. */
23569 /* We use char because int might match the return type of a gcc2
23570 builtin and then its argument prototype would still apply. */
23580 rm -f conftest.
$ac_objext conftest
$ac_exeext
23581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23582 (eval $ac_link) 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try
='test -s conftest$ac_exeext'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; }; then
23592 ac_cv_lib_posix_remove
=yes
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.
$ac_ext >&5
23597 ac_cv_lib_posix_remove
=no
23599 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23600 LIBS
=$ac_check_lib_save_LIBS
23602 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23603 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23604 if test $ac_cv_lib_posix_remove = yes; then
23605 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23610 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23611 echo "$as_me:$LINENO: checking for shmat" >&5
23612 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23613 if test "${ac_cv_func_shmat+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23616 cat >conftest.
$ac_ext <<_ACEOF
23617 #line $LINENO "configure"
23620 cat confdefs.h
>>conftest.
$ac_ext
23621 cat >>conftest.
$ac_ext <<_ACEOF
23622 /* end confdefs.h. */
23623 /* System header to define __stub macros and hopefully few prototypes,
23624 which can conflict with char shmat (); below.
23625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23626 <limits.h> exists even on freestanding compilers. */
23628 # include <limits.h>
23630 # include <assert.h>
23632 /* Override any gcc2 internal prototype to avoid an error. */
23637 /* We use char because int might match the return type of a gcc2
23638 builtin and then its argument prototype would still apply. */
23640 /* The GNU C library defines this for functions which it implements
23641 to always fail with ENOSYS. Some functions are actually named
23642 something starting with __ and the normal name is an alias. */
23643 #if defined (__stub_shmat) || defined (__stub___shmat)
23646 char (*f) () = shmat;
23660 rm -f conftest.
$ac_objext conftest
$ac_exeext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23662 (eval $ac_link) 2>&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } &&
23666 { ac_try
='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 ac_cv_func_shmat
=yes
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.
$ac_ext >&5
23677 ac_cv_func_shmat
=no
23679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23681 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23682 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23684 if test $ac_cv_func_shmat = no
; then
23685 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23686 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23687 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 ac_check_lib_save_LIBS
=$LIBS
23692 cat >conftest.
$ac_ext <<_ACEOF
23693 #line $LINENO "configure"
23696 cat confdefs.h
>>conftest.
$ac_ext
23697 cat >>conftest.
$ac_ext <<_ACEOF
23698 /* end confdefs.h. */
23700 /* Override any gcc2 internal prototype to avoid an error. */
23704 /* We use char because int might match the return type of a gcc2
23705 builtin and then its argument prototype would still apply. */
23715 rm -f conftest.
$ac_objext conftest
$ac_exeext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 (eval $ac_link) 2>&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } &&
23721 { ac_try
='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 ac_cv_lib_ipc_shmat
=yes
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.
$ac_ext >&5
23732 ac_cv_lib_ipc_shmat
=no
23734 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23735 LIBS
=$ac_check_lib_save_LIBS
23737 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23738 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23739 if test $ac_cv_lib_ipc_shmat = yes; then
23740 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23746 # Check for libraries that X11R6 Xt/Xaw programs need.
23747 ac_save_LDFLAGS
=$LDFLAGS
23748 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23749 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23750 # check for ICE first), but we must link in the order -lSM -lICE or
23751 # we get undefined symbols. So assume we have SM if we have ICE.
23752 # These have to be linked with before -lX11, unlike the other
23753 # libraries we check for below, so use a different variable.
23754 # John Interrante, Karl Berry
23755 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23756 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23757 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 ac_check_lib_save_LIBS
=$LIBS
23761 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23762 cat >conftest.
$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23766 cat confdefs.h
>>conftest.
$ac_ext
23767 cat >>conftest.
$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23770 /* Override any gcc2 internal prototype to avoid an error. */
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23776 char IceConnectionNumber ();
23780 IceConnectionNumber ();
23785 rm -f conftest.
$ac_objext conftest
$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_ICE_IceConnectionNumber
=yes
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.
$ac_ext >&5
23802 ac_cv_lib_ICE_IceConnectionNumber
=no
23804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23805 LIBS
=$ac_check_lib_save_LIBS
23807 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23808 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23809 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23810 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23813 LDFLAGS
=$ac_save_LDFLAGS
23818 if test "$no_x" = "yes"; then
23819 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23820 echo "$as_me: error: X11 not found" >&2;}
23821 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23824 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23825 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23826 AFMINSTALL
=afminstall
23827 COMPILED_X_PROGRAM
=0
23829 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23830 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23833 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23835 if test -f "$ac_dir/Xm/Xm.h"; then
23836 ac_find_includes
=$ac_dir
23841 if test "$ac_find_includes" != "" ; then
23842 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23843 echo "${ECHO_T}found in $ac_find_includes" >&6
23845 if test "x$ac_find_includes" = "x/usr/include"; then
23846 ac_path_to_include
=""
23848 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23850 if test $result = 0; then
23851 ac_path_to_include
=""
23853 ac_path_to_include
=" -I$ac_find_includes"
23857 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23859 cat >conftest.
$ac_ext <<_ACEOF
23860 #line $LINENO "configure"
23863 cat confdefs.h
>>conftest.
$ac_ext
23864 cat >>conftest.
$ac_ext <<_ACEOF
23865 /* end confdefs.h. */
23874 version = xmUseVersion;
23880 rm -f conftest.
$ac_objext
23881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23882 (eval $ac_compile) 2>&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } &&
23886 { ac_try
='test -s conftest.$ac_objext'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23893 echo "$as_me:$LINENO: result: found in default search path" >&5
23894 echo "${ECHO_T}found in default search path" >&6
23895 COMPILED_X_PROGRAM
=1
23898 echo "$as_me: failed program was:" >&5
23899 sed 's/^/| /' conftest.
$ac_ext >&5
23902 echo "$as_me:$LINENO: result: no" >&5
23903 echo "${ECHO_T}no" >&6
23904 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23905 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23906 { (exit 1); exit 1; }; }
23910 rm -f conftest.
$ac_objext conftest.
$ac_ext
23913 if test "$COMPILED_X_PROGRAM" = 0; then
23914 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23915 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23918 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23920 for ac_extension
in a so sl dylib
; do
23921 if test -f "$ac_dir/libXm.$ac_extension"; then
23922 ac_find_libraries
=$ac_dir
23928 if test "$ac_find_libraries" != "" ; then
23929 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23930 echo "${ECHO_T}found at $ac_find_libraries" >&6
23933 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23935 if test $result = 0; then
23938 ac_path_to_link
=" -L$ac_find_libraries"
23941 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23943 save_CFLAGS
=$CFLAGS
23944 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23946 cat >conftest.
$ac_ext <<_ACEOF
23947 #line $LINENO "configure"
23950 cat confdefs.h
>>conftest.
$ac_ext
23951 cat >>conftest.
$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23961 version = xmUseVersion;
23967 rm -f conftest.
$ac_objext
23968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23969 (eval $ac_compile) 2>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } &&
23973 { ac_try
='test -s conftest.$ac_objext'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; }; then
23980 echo "$as_me:$LINENO: result: found in default search path" >&5
23981 echo "${ECHO_T}found in default search path" >&6
23982 COMPILED_X_PROGRAM
=1
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.
$ac_ext >&5
23989 echo "$as_me:$LINENO: result: no" >&5
23990 echo "${ECHO_T}no" >&6
23991 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23992 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23993 { (exit 1); exit 1; }; }
23997 rm -f conftest.
$ac_objext conftest.
$ac_ext
23999 CFLAGS
=$save_CFLAGS
24004 echo "$as_me:$LINENO: checking for Xpm library" >&5
24005 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24008 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24010 for ac_extension
in a so sl dylib
; do
24011 if test -f "$ac_dir/libXpm.$ac_extension"; then
24012 ac_find_libraries
=$ac_dir
24018 if test "$ac_find_libraries" != "" ; then
24020 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24022 if test $result = 0; then
24025 ac_path_to_link
=" -L$ac_find_libraries"
24028 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24031 cat >>confdefs.h
<<\_ACEOF
24032 #define wxHAVE_LIB_XPM 1
24035 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24036 echo "${ECHO_T}found at $ac_find_libraries" >&6
24038 save_CFLAGS
=$CFLAGS
24039 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24041 cat >conftest.
$ac_ext <<_ACEOF
24042 #line $LINENO "configure"
24045 cat confdefs.h
>>conftest.
$ac_ext
24046 cat >>conftest.
$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24049 #include <X11/xpm.h>
24056 version = XpmLibraryVersion();
24062 rm -f conftest.
$ac_objext
24063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24064 (eval $ac_compile) 2>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try
='test -s conftest.$ac_objext'
24069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24070 (eval $ac_try) 2>&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); }; }; then
24076 cat >>confdefs.h
<<\_ACEOF
24077 #define wxHAVE_LIB_XPM 1
24080 echo "$as_me:$LINENO: result: found in default search path" >&5
24081 echo "${ECHO_T}found in default search path" >&6
24082 COMPILED_X_PROGRAM
=0
24085 echo "$as_me: failed program was:" >&5
24086 sed 's/^/| /' conftest.
$ac_ext >&5
24089 echo "$as_me:$LINENO: result: no" >&5
24090 echo "${ECHO_T}no" >&6
24091 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24092 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24096 rm -f conftest.
$ac_objext conftest.
$ac_ext
24098 CFLAGS
=$save_CFLAGS
24101 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24102 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24106 for libp
in "" " -lXp"; do
24107 if test "$libs_found" = "0"; then
24108 for libsm_ice
in " -lSM -lICE"; do
24109 if test "$libs_found" = "0"; then
24111 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24112 save_CFLAGS
=$CFLAGS
24113 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24115 cat >conftest.
$ac_ext <<_ACEOF
24116 #line $LINENO "configure"
24119 cat confdefs.h
>>conftest.
$ac_ext
24120 cat >>conftest.
$ac_ext <<_ACEOF
24121 /* end confdefs.h. */
24124 #include <Xm/List.h>
24130 XmString string = NULL;
24133 XmListAddItem(w, string, position);
24139 rm -f conftest.
$ac_objext conftest
$ac_exeext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24141 (eval $ac_link) 2>&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } &&
24145 { ac_try
='test -s conftest$ac_exeext'
24146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24147 (eval $ac_try) 2>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; }; then
24153 libsm_ice_link
="$libsm_ice"
24154 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24155 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24159 echo "$as_me: failed program was:" >&5
24160 sed 's/^/| /' conftest.
$ac_ext >&5
24165 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24168 CFLAGS
=$save_CFLAGS
24174 if test "$libs_found" = "0"; then
24175 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24176 echo "${ECHO_T}can't find the right libraries" >&6
24177 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24178 echo "$as_me: error: can't link a simple motif program" >&2;}
24179 { (exit 1); exit 1; }; }
24182 save_CFLAGS
=$CFLAGS
24183 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24184 echo "$as_me:$LINENO: checking for Motif 2" >&5
24185 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24186 cat >conftest.
$ac_ext <<_ACEOF
24187 #line $LINENO "configure"
24190 cat confdefs.h
>>conftest.
$ac_ext
24191 cat >>conftest.
$ac_ext <<_ACEOF
24192 /* end confdefs.h. */
24200 #if XmVersion < 2000
24201 #error "Not Motif 2"
24208 rm -f conftest.
$ac_objext
24209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24210 (eval $ac_compile) 2>&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); } &&
24214 { ac_try
='test -s conftest.$ac_objext'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24221 cat >>confdefs.h
<<\_ACEOF
24222 #define __WXMOTIF20__ 1
24225 echo "$as_me:$LINENO: result: found" >&5
24226 echo "${ECHO_T}found" >&6
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.
$ac_ext >&5
24233 cat >>confdefs.h
<<\_ACEOF
24234 #define __WXMOTIF20__ 0
24237 echo "$as_me:$LINENO: result: not found" >&5
24238 echo "${ECHO_T}not found" >&6
24241 rm -f conftest.
$ac_objext conftest.
$ac_ext
24242 CFLAGS
=$save_CFLAGS
24244 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24245 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24251 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24252 test "$wxHAVE_XEXT_LIB" = 1; then
24253 save_CFLAGS
="$CFLAGS"
24254 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24256 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24257 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24258 cat >conftest.
$ac_ext <<_ACEOF
24259 #line $LINENO "configure"
24262 cat confdefs.h
>>conftest.
$ac_ext
24263 cat >>conftest.
$ac_ext <<_ACEOF
24264 /* end confdefs.h. */
24266 #include <X11/Xlib.h>
24267 #include <X11/extensions/shape.h>
24273 int dummy1, dummy2;
24274 XShapeQueryExtension((Display*)NULL,
24275 (int*)NULL, (int*)NULL);
24281 rm -f conftest.
$ac_objext
24282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24283 (eval $ac_compile) 2>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } &&
24287 { ac_try
='test -s conftest.$ac_objext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24294 cat >>confdefs.h
<<\_ACEOF
24295 #define HAVE_XSHAPE 1
24298 echo "$as_me:$LINENO: result: found" >&5
24299 echo "${ECHO_T}found" >&6
24302 echo "$as_me: failed program was:" >&5
24303 sed 's/^/| /' conftest.
$ac_ext >&5
24306 echo "$as_me:$LINENO: result: not found" >&5
24307 echo "${ECHO_T}not found" >&6
24310 rm -f conftest.
$ac_objext conftest.
$ac_ext
24311 CFLAGS
="$save_CFLAGS"
24314 if test "$wxUSE_MAC" = 1; then
24315 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24317 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24320 WXBASEPORT
="_carbon"
24323 if test "$wxUSE_COCOA" = 1; then
24324 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24329 if test "$wxUSE_PM" = 1; then
24334 if test "$TOOLKIT" = "PM" ; then
24337 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24340 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24342 if test "$wxUSE_UNIVERSAL" = "yes"; then
24343 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24345 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24346 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24348 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24349 if test "$wxUSE_X11" = 1; then
24350 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24352 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24354 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24357 ALL_OBJECTS
="\$(GUIOBJS)"
24358 ALL_SOURCES
="\$(ALL_SOURCES)"
24359 ALL_HEADERS
="\$(ALL_HEADERS)"
24362 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24364 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24365 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24368 if test "$wxUSE_HTML" = "yes"; then
24369 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24372 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24373 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24375 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24376 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24378 if test "$wxUSE_LIBPNG" = "builtin" ; then
24379 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24382 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24383 DISTDIR
="wx\$(TOOLKIT)"
24389 if test "$USE_WIN32" = 1 ; then
24390 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24391 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24395 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24396 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24399 ALL_SOURCES
="\$(ALL_SOURCES)"
24400 ALL_HEADERS
="\$(ALL_HEADERS)"
24402 PORT_FILES
="\${top_srcdir}/src/files.lst"
24404 GUIDIST
="BASE_DIST"
24414 if test "$TOOLKIT" != "MSW" ; then
24416 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24418 if test "${ac_cv_header_sql_h+set}" = set; then
24419 echo "$as_me:$LINENO: checking for sql.h" >&5
24420 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24421 if test "${ac_cv_header_sql_h+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24425 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24427 # Is the header compilable?
24428 echo "$as_me:$LINENO: checking sql.h usability" >&5
24429 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24430 cat >conftest.
$ac_ext <<_ACEOF
24431 #line $LINENO "configure"
24434 cat confdefs.h
>>conftest.
$ac_ext
24435 cat >>conftest.
$ac_ext <<_ACEOF
24436 /* end confdefs.h. */
24437 $ac_includes_default
24440 rm -f conftest.
$ac_objext
24441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24442 (eval $ac_compile) 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } &&
24446 { ac_try
='test -s conftest.$ac_objext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 ac_header_compiler
=yes
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24457 ac_header_compiler
=no
24459 rm -f conftest.
$ac_objext conftest.
$ac_ext
24460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24461 echo "${ECHO_T}$ac_header_compiler" >&6
24463 # Is the header present?
24464 echo "$as_me:$LINENO: checking sql.h presence" >&5
24465 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24466 cat >conftest.
$ac_ext <<_ACEOF
24467 #line $LINENO "configure"
24470 cat confdefs.h
>>conftest.
$ac_ext
24471 cat >>conftest.
$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24478 grep -v '^ *+' conftest.er1
>conftest.err
24480 cat conftest.err
>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); } >/dev
/null
; then
24483 if test -s conftest.err
; then
24484 ac_cpp_err
=$ac_c_preproc_warn_flag
24491 if test -z "$ac_cpp_err"; then
24492 ac_header_preproc
=yes
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.
$ac_ext >&5
24497 ac_header_preproc
=no
24499 rm -f conftest.err conftest.
$ac_ext
24500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24501 echo "${ECHO_T}$ac_header_preproc" >&6
24503 # So? What about this header?
24504 case $ac_header_compiler:$ac_header_preproc in
24506 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24507 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24508 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24509 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24512 ## ------------------------------------ ##
24513 ## Report this to bug-autoconf@gnu.org. ##
24514 ## ------------------------------------ ##
24517 sed "s/^/$as_me: WARNING: /" >&2
24520 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24521 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24523 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24524 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24525 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24528 ## ------------------------------------ ##
24529 ## Report this to bug-autoconf@gnu.org. ##
24530 ## ------------------------------------ ##
24533 sed "s/^/$as_me: WARNING: /" >&2
24536 echo "$as_me:$LINENO: checking for sql.h" >&5
24537 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24538 if test "${ac_cv_header_sql_h+set}" = set; then
24539 echo $ECHO_N "(cached) $ECHO_C" >&6
24541 ac_cv_header_sql_h
=$ac_header_preproc
24543 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24544 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24547 if test $ac_cv_header_sql_h = yes; then
24552 if test "x$found_sql_h" = "x1" ; then
24553 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24554 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24555 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 ac_check_lib_save_LIBS
=$LIBS
24559 LIBS
="-lSQLAllocEnv $LIBS"
24560 cat >conftest.
$ac_ext <<_ACEOF
24561 #line $LINENO "configure"
24564 cat confdefs.h
>>conftest.
$ac_ext
24565 cat >>conftest.
$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24568 /* Override any gcc2 internal prototype to avoid an error. */
24572 /* We use char because int might match the return type of a gcc2
24573 builtin and then its argument prototype would still apply. */
24583 rm -f conftest.
$ac_objext conftest
$ac_exeext
24584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24585 (eval $ac_link) 2>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try
='test -s conftest$ac_exeext'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; }; then
24595 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.
$ac_ext >&5
24600 ac_cv_lib_SQLAllocEnv_iodbc
=no
24602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24603 LIBS
=$ac_check_lib_save_LIBS
24605 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24606 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24607 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24608 ODBC_LINK
=" -liodbc"
24611 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24612 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24613 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24616 ac_check_lib_save_LIBS
=$LIBS
24617 LIBS
="-lSQLAllocEnv $LIBS"
24618 cat >conftest.
$ac_ext <<_ACEOF
24619 #line $LINENO "configure"
24622 cat confdefs.h
>>conftest.
$ac_ext
24623 cat >>conftest.
$ac_ext <<_ACEOF
24624 /* end confdefs.h. */
24626 /* Override any gcc2 internal prototype to avoid an error. */
24630 /* We use char because int might match the return type of a gcc2
24631 builtin and then its argument prototype would still apply. */
24641 rm -f conftest.
$ac_objext conftest
$ac_exeext
24642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24643 (eval $ac_link) 2>&5
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); } &&
24647 { ac_try
='test -s conftest$ac_exeext'
24648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24649 (eval $ac_try) 2>&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; }; then
24653 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24655 echo "$as_me: failed program was:" >&5
24656 sed 's/^/| /' conftest.
$ac_ext >&5
24658 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24660 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24661 LIBS
=$ac_check_lib_save_LIBS
24663 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24664 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24665 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24666 ODBC_LINK
=" -lunixodbc"
24669 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24670 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24671 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24672 echo $ECHO_N "(cached) $ECHO_C" >&6
24674 ac_check_lib_save_LIBS
=$LIBS
24675 LIBS
="-lSQLAllocEnv $LIBS"
24676 cat >conftest.
$ac_ext <<_ACEOF
24677 #line $LINENO "configure"
24680 cat confdefs.h
>>conftest.
$ac_ext
24681 cat >>conftest.
$ac_ext <<_ACEOF
24682 /* end confdefs.h. */
24684 /* Override any gcc2 internal prototype to avoid an error. */
24688 /* We use char because int might match the return type of a gcc2
24689 builtin and then its argument prototype would still apply. */
24699 rm -f conftest.
$ac_objext conftest
$ac_exeext
24700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24701 (eval $ac_link) 2>&5
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); } &&
24705 { ac_try
='test -s conftest$ac_exeext'
24706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24707 (eval $ac_try) 2>&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); }; }; then
24711 ac_cv_lib_SQLAllocEnv_odbc
=yes
24713 echo "$as_me: failed program was:" >&5
24714 sed 's/^/| /' conftest.
$ac_ext >&5
24716 ac_cv_lib_SQLAllocEnv_odbc
=no
24718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24719 LIBS
=$ac_check_lib_save_LIBS
24721 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24722 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24723 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24724 ODBC_LINK
=" -lodbc"
24734 if test "x$ODBC_LINK" = "x" ; then
24735 if test "$wxUSE_ODBC" = "sys" ; then
24736 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24737 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24738 { (exit 1); exit 1; }; }
24740 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24741 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24748 if test "$wxUSE_ODBC" != "no" ; then
24749 cat >>confdefs.h
<<\_ACEOF
24750 #define wxUSE_ODBC 1
24753 if test "$wxUSE_ODBC" = "builtin" ; then
24754 cat >>confdefs.h
<<\_ACEOF
24755 #define wxUSE_BUILTIN_IODBC 1
24759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24761 WXODBCFLAG
="-D_IODBC_"
24765 if test "$wxUSE_REGEX" = "builtin" ; then
24766 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24768 if test "$wxUSE_ZLIB" = "builtin" ; then
24769 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24774 if test "$wxUSE_OPENGL" = "yes"; then
24775 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24776 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24777 elif test "$wxUSE_MSW" = 1; then
24778 OPENGL_LIBS
="-lopengl32 -lglu32"
24783 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24785 if test -f "$ac_dir/GL/gl.h"; then
24786 ac_find_includes
=$ac_dir
24791 if test "$ac_find_includes" != "" ; then
24792 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24793 echo "${ECHO_T}found in $ac_find_includes" >&6
24795 if test "x$ac_find_includes" = "x/usr/include"; then
24796 ac_path_to_include
=""
24798 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24800 if test $result = 0; then
24801 ac_path_to_include
=""
24803 ac_path_to_include
=" -I$ac_find_includes"
24807 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24810 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24811 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24812 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24813 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24817 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24819 # Is the header compilable?
24820 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24821 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24822 cat >conftest.
$ac_ext <<_ACEOF
24823 #line $LINENO "configure"
24826 cat confdefs.h
>>conftest.
$ac_ext
24827 cat >>conftest.
$ac_ext <<_ACEOF
24828 /* end confdefs.h. */
24829 $ac_includes_default
24832 rm -f conftest.
$ac_objext
24833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24834 (eval $ac_compile) 2>&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } &&
24838 { ac_try
='test -s conftest.$ac_objext'
24839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24840 (eval $ac_try) 2>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); }; }; then
24844 ac_header_compiler
=yes
24846 echo "$as_me: failed program was:" >&5
24847 sed 's/^/| /' conftest.
$ac_ext >&5
24849 ac_header_compiler
=no
24851 rm -f conftest.
$ac_objext conftest.
$ac_ext
24852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24853 echo "${ECHO_T}$ac_header_compiler" >&6
24855 # Is the header present?
24856 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24857 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24858 cat >conftest.
$ac_ext <<_ACEOF
24859 #line $LINENO "configure"
24862 cat confdefs.h
>>conftest.
$ac_ext
24863 cat >>conftest.
$ac_ext <<_ACEOF
24864 /* end confdefs.h. */
24867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24870 grep -v '^ *+' conftest.er1
>conftest.err
24872 cat conftest.err
>&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); } >/dev
/null
; then
24875 if test -s conftest.err
; then
24876 ac_cpp_err
=$ac_c_preproc_warn_flag
24883 if test -z "$ac_cpp_err"; then
24884 ac_header_preproc
=yes
24886 echo "$as_me: failed program was:" >&5
24887 sed 's/^/| /' conftest.
$ac_ext >&5
24889 ac_header_preproc
=no
24891 rm -f conftest.err conftest.
$ac_ext
24892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24893 echo "${ECHO_T}$ac_header_preproc" >&6
24895 # So? What about this header?
24896 case $ac_header_compiler:$ac_header_preproc in
24898 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24899 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24900 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24901 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24904 ## ------------------------------------ ##
24905 ## Report this to bug-autoconf@gnu.org. ##
24906 ## ------------------------------------ ##
24909 sed "s/^/$as_me: WARNING: /" >&2
24912 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24913 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24914 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24915 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24916 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24917 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24920 ## ------------------------------------ ##
24921 ## Report this to bug-autoconf@gnu.org. ##
24922 ## ------------------------------------ ##
24925 sed "s/^/$as_me: WARNING: /" >&2
24928 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24929 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24930 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24931 echo $ECHO_N "(cached) $ECHO_C" >&6
24933 ac_cv_header_GL_gl_h
=$ac_header_preproc
24935 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24936 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24939 if test $ac_cv_header_GL_gl_h = yes; then
24943 echo "$as_me:$LINENO: checking for -lGL" >&5
24944 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24947 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24949 for ac_extension
in a so sl dylib
; do
24950 if test -f "$ac_dir/libGL.$ac_extension"; then
24951 ac_find_libraries
=$ac_dir
24957 if test "$ac_find_libraries" != "" ; then
24959 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24961 if test $result = 0; then
24964 ac_path_to_link
=" -L$ac_find_libraries"
24967 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24968 LDFLAGS_GL
="$ac_path_to_link"
24973 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24975 for ac_extension
in a so sl dylib
; do
24976 if test -f "$ac_dir/libGLU.$ac_extension"; then
24977 ac_find_libraries
=$ac_dir
24983 if test "$ac_find_libraries" != "" ; then
24985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24987 if test $result = 0; then
24990 ac_path_to_link
=" -L$ac_find_libraries"
24993 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24994 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24995 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24999 OPENGL_LIBS
="-lGL -lGLU"
25000 echo "$as_me:$LINENO: result: yes" >&5
25001 echo "${ECHO_T}yes" >&6
25005 if test "$found_gl" != 1; then
25006 echo "$as_me:$LINENO: result: no" >&5
25007 echo "${ECHO_T}no" >&6
25008 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25009 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25012 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25014 for ac_extension
in a so sl dylib
; do
25015 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25016 ac_find_libraries
=$ac_dir
25022 if test "$ac_find_libraries" != "" ; then
25024 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25026 if test $result = 0; then
25029 ac_path_to_link
=" -L$ac_find_libraries"
25032 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25033 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25034 echo "$as_me:$LINENO: result: yes" >&5
25035 echo "${ECHO_T}yes" >&6
25037 echo "$as_me:$LINENO: result: no" >&5
25038 echo "${ECHO_T}no" >&6
25046 if test "x$OPENGL_LIBS" = "x"; then
25047 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25048 echo "$as_me: error: OpenGL libraries not available" >&2;}
25049 { (exit 1); exit 1; }; }
25053 if test "$wxUSE_OPENGL" = "yes"; then
25055 cat >>confdefs.h
<<\_ACEOF
25056 #define wxUSE_OPENGL 1
25059 cat >>confdefs.h
<<\_ACEOF
25060 #define wxUSE_GLCANVAS 1
25063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25067 if test -z "$TOOLKIT_VPATH" ; then
25068 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25071 if test -n "$TOOLKIT" ; then
25072 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25076 lib_unicode_suffix
=
25077 if test "$wxUSE_UNICODE" = "yes"; then
25078 lib_unicode_suffix
=u
25084 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25090 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25094 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25096 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25097 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25099 if test "$cross_compiling" = "yes"; then
25100 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25101 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25102 HOST_SUFFIX
="-${host_alias}"
25105 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25106 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25107 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25108 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25110 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25111 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25113 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25114 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25115 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25116 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25119 *-*-cygwin* | *-*-mingw32* )
25120 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25121 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25126 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25127 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25129 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25130 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25131 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25132 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25134 if test "$wxUSE_MAC" = 1; then
25135 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25136 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25141 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25142 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25144 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25145 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25147 if test "$wxUSE_OPENGL" = "yes"; then
25148 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25149 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25154 if test "$wxUSE_SHARED" = "yes"; then
25156 *-pc-os2_emx | *-pc-os2-emx | \
25159 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25160 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25166 if test "$wxUSE_SHARED" = "yes"; then
25170 found_versioning
=no
25173 if test $found_versioning = no
; then
25174 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25175 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25176 if test "${wx_cv_version_script+set}" = set; then
25177 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 echo "VER_1 { *; };" >conftest.sym
25181 echo "int main() { return 0; }" >conftest.cpp
25184 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25185 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } ; then
25191 if test -s conftest.stderr
; then
25192 wx_cv_version_script
=no
25194 wx_cv_version_script
=yes
25197 wx_cv_version_script
=no
25199 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25202 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25203 echo "${ECHO_T}$wx_cv_version_script" >&6
25204 if test $wx_cv_version_script = yes ; then
25205 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25211 *-*-linux* | *-*-gnu* )
25212 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25216 if test "$GCC" = yes ; then
25217 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25219 saveLdflags
="$LDFLAGS"
25220 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25221 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25222 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25223 cat >conftest.
$ac_ext <<_ACEOF
25224 #line $LINENO "configure"
25227 cat confdefs.h
>>conftest.
$ac_ext
25228 cat >>conftest.
$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25239 rm -f conftest.
$ac_objext conftest
$ac_exeext
25240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25241 (eval $ac_link) 2>&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } &&
25245 { ac_try
='test -s conftest$ac_exeext'
25246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25247 (eval $ac_try) 2>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); }; }; then
25252 echo "$as_me:$LINENO: result: yes" >&5
25253 echo "${ECHO_T}yes" >&6
25254 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.
$ac_ext >&5
25261 echo "$as_me:$LINENO: result: no" >&5
25262 echo "${ECHO_T}no" >&6
25263 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25264 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25265 LDFLAGS
="$saveLdflags -Wl,-R,/"
25266 cat >conftest.
$ac_ext <<_ACEOF
25267 #line $LINENO "configure"
25270 cat confdefs.h
>>conftest.
$ac_ext
25271 cat >>conftest.
$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25282 rm -f conftest.
$ac_objext conftest
$ac_exeext
25283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25284 (eval $ac_link) 2>&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); } &&
25288 { ac_try
='test -s conftest$ac_exeext'
25289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290 (eval $ac_try) 2>&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); }; }; then
25295 echo "$as_me:$LINENO: result: yes" >&5
25296 echo "${ECHO_T}yes" >&6
25297 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.
$ac_ext >&5
25303 echo "$as_me:$LINENO: result: no" >&5
25304 echo "${ECHO_T}no" >&6
25307 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25310 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25311 LDFLAGS
="$saveLdflags"
25313 SHARED_LD
="${CXX} -G -o"
25315 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25319 powerpc
-*-darwin* )
25320 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25321 cat <<EOF >change-install-names
25323 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25324 inst_cmd="install_name_tool "
25325 for i in \${libnames} ; do
25326 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25330 chmod +x change
-install-names
25335 if test "x$WX_TARGET_LIBRARY" = "x"; then
25336 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25337 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25340 WX_TARGET_LIBRARY_TYPE
="so"
25341 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25344 if test "$wxUSE_SHARED" = "no"; then
25346 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25347 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25350 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25351 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25354 if test "$wxUSE_OPENGL" = "yes"; then
25355 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25356 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25358 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25361 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25362 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25364 WX_TARGET_LIBRARY_TYPE
="a"
25365 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25375 if test "$wxUSE_MAC" = 1; then
25376 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25377 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25378 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25379 # Extract the first word of "Rez", so it can be a program name with args.
25380 set dummy Rez
; ac_word
=$2
25381 echo "$as_me:$LINENO: checking for $ac_word" >&5
25382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25383 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 if test -n "$RESCOMP"; then
25387 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25390 for as_dir
in $PATH
25393 test -z "$as_dir" && as_dir
=.
25394 for ac_exec_ext
in '' $ac_executable_extensions; do
25395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25396 ac_cv_prog_RESCOMP
="Rez"
25397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25403 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25406 RESCOMP
=$ac_cv_prog_RESCOMP
25407 if test -n "$RESCOMP"; then
25408 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25409 echo "${ECHO_T}$RESCOMP" >&6
25411 echo "$as_me:$LINENO: result: no" >&5
25412 echo "${ECHO_T}no" >&6
25415 # Extract the first word of "DeRez", so it can be a program name with args.
25416 set dummy DeRez
; ac_word
=$2
25417 echo "$as_me:$LINENO: checking for $ac_word" >&5
25418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25419 if test "${ac_cv_prog_DEREZ+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 if test -n "$DEREZ"; then
25423 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25426 for as_dir
in $PATH
25429 test -z "$as_dir" && as_dir
=.
25430 for ac_exec_ext
in '' $ac_executable_extensions; do
25431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25432 ac_cv_prog_DEREZ
="DeRez"
25433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25439 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25442 DEREZ
=$ac_cv_prog_DEREZ
25443 if test -n "$DEREZ"; then
25444 echo "$as_me:$LINENO: result: $DEREZ" >&5
25445 echo "${ECHO_T}$DEREZ" >&6
25447 echo "$as_me:$LINENO: result: no" >&5
25448 echo "${ECHO_T}no" >&6
25451 # Extract the first word of "SetFile", so it can be a program name with args.
25452 set dummy SetFile
; ac_word
=$2
25453 echo "$as_me:$LINENO: checking for $ac_word" >&5
25454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25455 if test "${ac_cv_prog_SETFILE+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 if test -n "$SETFILE"; then
25459 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25462 for as_dir
in $PATH
25465 test -z "$as_dir" && as_dir
=.
25466 for ac_exec_ext
in '' $ac_executable_extensions; do
25467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25468 ac_cv_prog_SETFILE
="SetFile"
25469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25475 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25478 SETFILE
=$ac_cv_prog_SETFILE
25479 if test -n "$SETFILE"; then
25480 echo "$as_me:$LINENO: result: $SETFILE" >&5
25481 echo "${ECHO_T}$SETFILE" >&6
25483 echo "$as_me:$LINENO: result: no" >&5
25484 echo "${ECHO_T}no" >&6
25487 MACOSX_BUNDLE
="bundle"
25488 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25489 MACSETFILE
="\$(SETFILE)"
25490 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25491 elif test "$wxUSE_COCOA" = 1; then
25492 # Extract the first word of "Rez", so it can be a program name with args.
25493 set dummy Rez
; ac_word
=$2
25494 echo "$as_me:$LINENO: checking for $ac_word" >&5
25495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25496 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 if test -n "$RESCOMP"; then
25500 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25503 for as_dir
in $PATH
25506 test -z "$as_dir" && as_dir
=.
25507 for ac_exec_ext
in '' $ac_executable_extensions; do
25508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25509 ac_cv_prog_RESCOMP
="Rez"
25510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25516 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25519 RESCOMP
=$ac_cv_prog_RESCOMP
25520 if test -n "$RESCOMP"; then
25521 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25522 echo "${ECHO_T}$RESCOMP" >&6
25524 echo "$as_me:$LINENO: result: no" >&5
25525 echo "${ECHO_T}no" >&6
25528 # Extract the first word of "DeRez", so it can be a program name with args.
25529 set dummy DeRez
; ac_word
=$2
25530 echo "$as_me:$LINENO: checking for $ac_word" >&5
25531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25532 if test "${ac_cv_prog_DEREZ+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 if test -n "$DEREZ"; then
25536 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25539 for as_dir
in $PATH
25542 test -z "$as_dir" && as_dir
=.
25543 for ac_exec_ext
in '' $ac_executable_extensions; do
25544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25545 ac_cv_prog_DEREZ
="DeRez"
25546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25552 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25555 DEREZ
=$ac_cv_prog_DEREZ
25556 if test -n "$DEREZ"; then
25557 echo "$as_me:$LINENO: result: $DEREZ" >&5
25558 echo "${ECHO_T}$DEREZ" >&6
25560 echo "$as_me:$LINENO: result: no" >&5
25561 echo "${ECHO_T}no" >&6
25564 # Extract the first word of "SetFile", so it can be a program name with args.
25565 set dummy SetFile
; ac_word
=$2
25566 echo "$as_me:$LINENO: checking for $ac_word" >&5
25567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25568 if test "${ac_cv_prog_SETFILE+set}" = set; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25571 if test -n "$SETFILE"; then
25572 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25575 for as_dir
in $PATH
25578 test -z "$as_dir" && as_dir
=.
25579 for ac_exec_ext
in '' $ac_executable_extensions; do
25580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25581 ac_cv_prog_SETFILE
="SetFile"
25582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25588 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25591 SETFILE
=$ac_cv_prog_SETFILE
25592 if test -n "$SETFILE"; then
25593 echo "$as_me:$LINENO: result: $SETFILE" >&5
25594 echo "${ECHO_T}$SETFILE" >&6
25596 echo "$as_me:$LINENO: result: no" >&5
25597 echo "${ECHO_T}no" >&6
25600 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25601 MACSETFILE
="\$(SETFILE)"
25602 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25604 if test "$wxUSE_PM" = 1; then
25605 MACRESCOMP
="emxbind -ep"
25610 echo "$as_me:$LINENO: checking for mode_t" >&5
25611 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25612 if test "${ac_cv_type_mode_t+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 cat >conftest.
$ac_ext <<_ACEOF
25616 #line $LINENO "configure"
25619 cat confdefs.h
>>conftest.
$ac_ext
25620 cat >>conftest.
$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 $ac_includes_default
25628 if (sizeof (mode_t))
25634 rm -f conftest.
$ac_objext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25636 (eval $ac_compile) 2>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } &&
25640 { ac_try
='test -s conftest.$ac_objext'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; }; then
25646 ac_cv_type_mode_t
=yes
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.
$ac_ext >&5
25651 ac_cv_type_mode_t
=no
25653 rm -f conftest.
$ac_objext conftest.
$ac_ext
25655 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25656 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25657 if test $ac_cv_type_mode_t = yes; then
25661 cat >>confdefs.h
<<_ACEOF
25667 echo "$as_me:$LINENO: checking for off_t" >&5
25668 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25669 if test "${ac_cv_type_off_t+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 cat >conftest.
$ac_ext <<_ACEOF
25673 #line $LINENO "configure"
25676 cat confdefs.h
>>conftest.
$ac_ext
25677 cat >>conftest.
$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25679 $ac_includes_default
25685 if (sizeof (off_t))
25691 rm -f conftest.
$ac_objext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25693 (eval $ac_compile) 2>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } &&
25697 { ac_try
='test -s conftest.$ac_objext'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; }; then
25703 ac_cv_type_off_t
=yes
25705 echo "$as_me: failed program was:" >&5
25706 sed 's/^/| /' conftest.
$ac_ext >&5
25708 ac_cv_type_off_t
=no
25710 rm -f conftest.
$ac_objext conftest.
$ac_ext
25712 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25713 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25714 if test $ac_cv_type_off_t = yes; then
25718 cat >>confdefs.h
<<_ACEOF
25724 echo "$as_me:$LINENO: checking for pid_t" >&5
25725 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25726 if test "${ac_cv_type_pid_t+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25729 cat >conftest.
$ac_ext <<_ACEOF
25730 #line $LINENO "configure"
25733 cat confdefs.h
>>conftest.
$ac_ext
25734 cat >>conftest.
$ac_ext <<_ACEOF
25735 /* end confdefs.h. */
25736 $ac_includes_default
25742 if (sizeof (pid_t))
25748 rm -f conftest.
$ac_objext
25749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25750 (eval $ac_compile) 2>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try
='test -s conftest.$ac_objext'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; }; then
25760 ac_cv_type_pid_t
=yes
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.
$ac_ext >&5
25765 ac_cv_type_pid_t
=no
25767 rm -f conftest.
$ac_objext conftest.
$ac_ext
25769 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25770 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25771 if test $ac_cv_type_pid_t = yes; then
25775 cat >>confdefs.h
<<_ACEOF
25781 echo "$as_me:$LINENO: checking for size_t" >&5
25782 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25783 if test "${ac_cv_type_size_t+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 cat >conftest.
$ac_ext <<_ACEOF
25787 #line $LINENO "configure"
25790 cat confdefs.h
>>conftest.
$ac_ext
25791 cat >>conftest.
$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793 $ac_includes_default
25799 if (sizeof (size_t))
25805 rm -f conftest.
$ac_objext
25806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25807 (eval $ac_compile) 2>&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } &&
25811 { ac_try
='test -s conftest.$ac_objext'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; }; then
25817 ac_cv_type_size_t
=yes
25819 echo "$as_me: failed program was:" >&5
25820 sed 's/^/| /' conftest.
$ac_ext >&5
25822 ac_cv_type_size_t
=no
25824 rm -f conftest.
$ac_objext conftest.
$ac_ext
25826 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25827 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25828 if test $ac_cv_type_size_t = yes; then
25832 cat >>confdefs.h
<<_ACEOF
25833 #define size_t unsigned
25838 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25839 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25840 if test "${ac_cv_type_uid_t+set}" = set; then
25841 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 cat >conftest.
$ac_ext <<_ACEOF
25844 #line $LINENO "configure"
25847 cat confdefs.h
>>conftest.
$ac_ext
25848 cat >>conftest.
$ac_ext <<_ACEOF
25849 /* end confdefs.h. */
25850 #include <sys/types.h>
25853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25854 $EGREP "uid_t" >/dev
/null
2>&1; then
25855 ac_cv_type_uid_t
=yes
25857 ac_cv_type_uid_t
=no
25862 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25863 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25864 if test $ac_cv_type_uid_t = no
; then
25866 cat >>confdefs.h
<<\_ACEOF
25871 cat >>confdefs.h
<<\_ACEOF
25881 ac_cpp
='$CXXCPP $CPPFLAGS'
25882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25886 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25887 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25888 if test "${wx_cv_size_t_is_uint+set}" = set; then
25889 echo $ECHO_N "(cached) $ECHO_C" >&6
25892 cat >conftest.
$ac_ext <<_ACEOF
25893 #line $LINENO "configure"
25896 cat confdefs.h
>>conftest.
$ac_ext
25897 cat >>conftest.
$ac_ext <<_ACEOF
25898 /* end confdefs.h. */
25899 #include <stddef.h>
25906 struct Foo { void foo(size_t); void foo(unsigned int); };
25914 rm -f conftest.
$ac_objext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25916 (eval $ac_compile) 2>&5
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } &&
25920 { ac_try
='test -s conftest.$ac_objext'
25921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922 (eval $ac_try) 2>&5
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); }; }; then
25926 wx_cv_size_t_is_uint
=no
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.
$ac_ext >&5
25931 wx_cv_size_t_is_uint
=yes
25934 rm -f conftest.
$ac_objext conftest.
$ac_ext
25938 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25939 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25941 if test "$wx_cv_size_t_is_uint" = "yes"; then
25942 cat >>confdefs.h
<<\_ACEOF
25943 #define wxSIZE_T_IS_UINT 1
25947 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25948 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25949 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 cat >conftest.
$ac_ext <<_ACEOF
25953 #line $LINENO "configure"
25956 cat confdefs.h
>>conftest.
$ac_ext
25957 cat >>conftest.
$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959 #include <stddef.h>
25966 struct Foo { void foo(size_t); void foo(unsigned long); };
25974 rm -f conftest.
$ac_objext
25975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25976 (eval $ac_compile) 2>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } &&
25980 { ac_try
='test -s conftest.$ac_objext'
25981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982 (eval $ac_try) 2>&5
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); }; }; then
25986 wx_cv_size_t_is_ulong
=no
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.
$ac_ext >&5
25991 wx_cv_size_t_is_ulong
=yes
25994 rm -f conftest.
$ac_objext conftest.
$ac_ext
25997 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25998 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26000 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26001 cat >>confdefs.h
<<\_ACEOF
26002 #define wxSIZE_T_IS_ULONG 1
26009 ac_cpp
='$CPP $CPPFLAGS'
26010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26016 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26017 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26018 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26022 cat >conftest.
$ac_ext <<_ACEOF
26023 #line $LINENO "configure"
26026 cat confdefs.h
>>conftest.
$ac_ext
26027 cat >>conftest.
$ac_ext <<_ACEOF
26028 /* end confdefs.h. */
26042 rm -f conftest.
$ac_objext
26043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26044 (eval $ac_compile) 2>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } &&
26048 { ac_try
='test -s conftest.$ac_objext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26055 wx_cv_struct_pw_gecos
=yes
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.
$ac_ext >&5
26062 wx_cv_struct_pw_gecos
=no
26066 rm -f conftest.
$ac_objext conftest.
$ac_ext
26070 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26071 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26073 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26074 cat >>confdefs.h
<<\_ACEOF
26075 #define HAVE_PW_GECOS 1
26081 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26082 cat >>confdefs.h
<<\_ACEOF
26083 #define wxUSE_WCHAR_T 1
26090 for ac_func
in wcslen
26092 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26093 echo "$as_me:$LINENO: checking for $ac_func" >&5
26094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26095 if eval "test \"\${$as_ac_var+set}\" = set"; then
26096 echo $ECHO_N "(cached) $ECHO_C" >&6
26098 cat >conftest.
$ac_ext <<_ACEOF
26099 #line $LINENO "configure"
26102 cat confdefs.h
>>conftest.
$ac_ext
26103 cat >>conftest.
$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105 /* System header to define __stub macros and hopefully few prototypes,
26106 which can conflict with char $ac_func (); below.
26107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26108 <limits.h> exists even on freestanding compilers. */
26110 # include <limits.h>
26112 # include <assert.h>
26114 /* Override any gcc2 internal prototype to avoid an error. */
26119 /* We use char because int might match the return type of a gcc2
26120 builtin and then its argument prototype would still apply. */
26122 /* The GNU C library defines this for functions which it implements
26123 to always fail with ENOSYS. Some functions are actually named
26124 something starting with __ and the normal name is an alias. */
26125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26128 char (*f) () = $ac_func;
26137 return f != $ac_func;
26142 rm -f conftest.
$ac_objext conftest
$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144 (eval $ac_link) 2>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } &&
26148 { ac_try
='test -s conftest$ac_exeext'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; }; then
26154 eval "$as_ac_var=yes"
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.
$ac_ext >&5
26159 eval "$as_ac_var=no"
26161 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26165 if test `eval echo '${'$as_ac_var'}'` = yes; then
26166 cat >>confdefs.h
<<_ACEOF
26167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26174 if test "$WCSLEN_FOUND" = 0; then
26175 if test "$TOOLKIT" = "MSW"; then
26176 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26177 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26178 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26179 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 ac_check_lib_save_LIBS
=$LIBS
26182 LIBS
="-lmsvcrt $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_msvcrt_wcslen
=yes
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.
$ac_ext >&5
26223 ac_cv_lib_msvcrt_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_msvcrt_wcslen" >&5
26229 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26230 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26235 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26236 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26237 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 ac_check_lib_save_LIBS
=$LIBS
26242 cat >conftest.
$ac_ext <<_ACEOF
26243 #line $LINENO "configure"
26246 cat confdefs.h
>>conftest.
$ac_ext
26247 cat >>conftest.
$ac_ext <<_ACEOF
26248 /* end confdefs.h. */
26250 /* Override any gcc2 internal prototype to avoid an error. */
26254 /* We use char because int might match the return type of a gcc2
26255 builtin and then its argument prototype would still apply. */
26265 rm -f conftest.
$ac_objext conftest
$ac_exeext
26266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26267 (eval $ac_link) 2>&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } &&
26271 { ac_try
='test -s conftest$ac_exeext'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; }; then
26277 ac_cv_lib_w_wcslen
=yes
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.
$ac_ext >&5
26282 ac_cv_lib_w_wcslen
=no
26284 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26285 LIBS
=$ac_check_lib_save_LIBS
26287 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26288 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26289 if test $ac_cv_lib_w_wcslen = yes; then
26299 if test "$WCSLEN_FOUND" = 1; then
26300 cat >>confdefs.h
<<\_ACEOF
26301 #define HAVE_WCSLEN 1
26307 for ac_func
in wcsrtombs
26309 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26310 echo "$as_me:$LINENO: checking for $ac_func" >&5
26311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26312 if eval "test \"\${$as_ac_var+set}\" = set"; then
26313 echo $ECHO_N "(cached) $ECHO_C" >&6
26315 cat >conftest.
$ac_ext <<_ACEOF
26316 #line $LINENO "configure"
26319 cat confdefs.h
>>conftest.
$ac_ext
26320 cat >>conftest.
$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322 /* System header to define __stub macros and hopefully few prototypes,
26323 which can conflict with char $ac_func (); below.
26324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26325 <limits.h> exists even on freestanding compilers. */
26327 # include <limits.h>
26329 # include <assert.h>
26331 /* Override any gcc2 internal prototype to avoid an error. */
26336 /* We use char because int might match the return type of a gcc2
26337 builtin and then its argument prototype would still apply. */
26339 /* The GNU C library defines this for functions which it implements
26340 to always fail with ENOSYS. Some functions are actually named
26341 something starting with __ and the normal name is an alias. */
26342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26345 char (*f) () = $ac_func;
26354 return f != $ac_func;
26359 rm -f conftest.
$ac_objext conftest
$ac_exeext
26360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26361 (eval $ac_link) 2>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } &&
26365 { ac_try
='test -s conftest$ac_exeext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26371 eval "$as_ac_var=yes"
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.
$ac_ext >&5
26376 eval "$as_ac_var=no"
26378 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26382 if test `eval echo '${'$as_ac_var'}'` = yes; then
26383 cat >>confdefs.h
<<_ACEOF
26384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26391 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26392 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26398 ac_cpp
='$CXXCPP $CPPFLAGS'
26399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26405 for ac_func
in vsnprintf
26407 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26408 echo "$as_me:$LINENO: checking for $ac_func" >&5
26409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26410 if eval "test \"\${$as_ac_var+set}\" = set"; then
26411 echo $ECHO_N "(cached) $ECHO_C" >&6
26413 cat >conftest.
$ac_ext <<_ACEOF
26414 #line $LINENO "configure"
26417 cat confdefs.h
>>conftest.
$ac_ext
26418 cat >>conftest.
$ac_ext <<_ACEOF
26419 /* end confdefs.h. */
26420 /* System header to define __stub macros and hopefully few prototypes,
26421 which can conflict with char $ac_func (); below.
26422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26423 <limits.h> exists even on freestanding compilers. */
26425 # include <limits.h>
26427 # include <assert.h>
26429 /* Override any gcc2 internal prototype to avoid an error. */
26434 /* We use char because int might match the return type of a gcc2
26435 builtin and then its argument prototype would still apply. */
26437 /* The GNU C library defines this for functions which it implements
26438 to always fail with ENOSYS. Some functions are actually named
26439 something starting with __ and the normal name is an alias. */
26440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26443 char (*f) () = $ac_func;
26452 return f != $ac_func;
26457 rm -f conftest.
$ac_objext conftest
$ac_exeext
26458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26459 (eval $ac_link) 2>&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } &&
26463 { ac_try
='test -s conftest$ac_exeext'
26464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465 (eval $ac_try) 2>&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); }; }; then
26469 eval "$as_ac_var=yes"
26471 echo "$as_me: failed program was:" >&5
26472 sed 's/^/| /' conftest.
$ac_ext >&5
26474 eval "$as_ac_var=no"
26476 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26480 if test `eval echo '${'$as_ac_var'}'` = yes; then
26481 cat >>confdefs.h
<<_ACEOF
26482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26489 if test "$ac_cv_func_vsnprintf" = "yes"; then
26490 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26491 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26492 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26496 cat >conftest.
$ac_ext <<_ACEOF
26497 #line $LINENO "configure"
26500 cat confdefs.h
>>conftest.
$ac_ext
26501 cat >>conftest.
$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26505 #include <stdarg.h>
26513 vsnprintf(buf, 10u, "%s", ap);
26519 rm -f conftest.
$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); } &&
26525 { ac_try
='test -s conftest.$ac_objext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 wx_cv_func_vsnprintf_decl
=yes
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.
$ac_ext >&5
26536 wx_cv_func_vsnprintf_decl
=no
26539 rm -f conftest.
$ac_objext conftest.
$ac_ext
26543 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26544 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26546 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26547 cat >>confdefs.h
<<\_ACEOF
26548 #define HAVE_VSNPRINTF_DECL 1
26554 if test "$wxUSE_UNICODE" = yes; then
26558 for ac_func
in fputwc wprintf vswprintf
26560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26561 echo "$as_me:$LINENO: checking for $ac_func" >&5
26562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26563 if eval "test \"\${$as_ac_var+set}\" = set"; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 cat >conftest.
$ac_ext <<_ACEOF
26567 #line $LINENO "configure"
26570 cat confdefs.h
>>conftest.
$ac_ext
26571 cat >>conftest.
$ac_ext <<_ACEOF
26572 /* end confdefs.h. */
26573 /* System header to define __stub macros and hopefully few prototypes,
26574 which can conflict with char $ac_func (); below.
26575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26576 <limits.h> exists even on freestanding compilers. */
26578 # include <limits.h>
26580 # include <assert.h>
26582 /* Override any gcc2 internal prototype to avoid an error. */
26587 /* We use char because int might match the return type of a gcc2
26588 builtin and then its argument prototype would still apply. */
26590 /* The GNU C library defines this for functions which it implements
26591 to always fail with ENOSYS. Some functions are actually named
26592 something starting with __ and the normal name is an alias. */
26593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26596 char (*f) () = $ac_func;
26605 return f != $ac_func;
26610 rm -f conftest.
$ac_objext conftest
$ac_exeext
26611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26612 (eval $ac_link) 2>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 { ac_try
='test -s conftest$ac_exeext'
26617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618 (eval $ac_try) 2>&5
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); }; }; then
26622 eval "$as_ac_var=yes"
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.
$ac_ext >&5
26627 eval "$as_ac_var=no"
26629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26633 if test `eval echo '${'$as_ac_var'}'` = yes; then
26634 cat >>confdefs.h
<<_ACEOF
26635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26642 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26643 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26644 cat >conftest.
$ac_ext <<_ACEOF
26645 #line $LINENO "configure"
26648 cat confdefs.h
>>conftest.
$ac_ext
26649 cat >>conftest.
$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26660 rm -f conftest.
$ac_objext
26661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26662 (eval $ac_compile) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 { ac_try
='test -s conftest.$ac_objext'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; }; then
26672 echo "$as_me:$LINENO: result: yes" >&5
26673 echo "${ECHO_T}yes" >&6
26674 cat >>confdefs.h
<<\_ACEOF
26675 #define HAVE__VSNWPRINTF 1
26679 echo "$as_me: failed program was:" >&5
26680 sed 's/^/| /' conftest.
$ac_ext >&5
26682 echo "$as_me:$LINENO: result: no" >&5
26683 echo "${ECHO_T}no" >&6
26685 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26689 ac_cpp
='$CPP $CPPFLAGS'
26690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26697 if test "$TOOLKIT" != "MSW"; then
26703 ac_cpp
='$CXXCPP $CPPFLAGS'
26704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26711 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26712 if test "${with_libiconv_prefix+set}" = set; then
26713 withval
="$with_libiconv_prefix"
26715 for dir
in `echo "$withval" | tr : ' '`; do
26716 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26717 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26722 echo "$as_me:$LINENO: checking for iconv" >&5
26723 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26724 if test "${am_cv_func_iconv+set}" = set; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 am_cv_func_iconv
="no, consider installing GNU libiconv"
26730 cat >conftest.
$ac_ext <<_ACEOF
26731 #line $LINENO "configure"
26734 cat confdefs.h
>>conftest.
$ac_ext
26735 cat >>conftest.
$ac_ext <<_ACEOF
26736 /* end confdefs.h. */
26737 #include <stdlib.h>
26742 iconv_t cd = iconv_open("","");
26743 iconv(cd,NULL,NULL,NULL,NULL);
26749 rm -f conftest.
$ac_objext conftest
$ac_exeext
26750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26751 (eval $ac_link) 2>&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } &&
26755 { ac_try
='test -s conftest$ac_exeext'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; }; then
26761 am_cv_func_iconv
=yes
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.
$ac_ext >&5
26767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26768 if test "$am_cv_func_iconv" != yes; then
26769 am_save_LIBS
="$LIBS"
26770 LIBS
="$LIBS -liconv"
26771 cat >conftest.
$ac_ext <<_ACEOF
26772 #line $LINENO "configure"
26775 cat confdefs.h
>>conftest.
$ac_ext
26776 cat >>conftest.
$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778 #include <stdlib.h>
26783 iconv_t cd = iconv_open("","");
26784 iconv(cd,NULL,NULL,NULL,NULL);
26790 rm -f conftest.
$ac_objext conftest
$ac_exeext
26791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26792 (eval $ac_link) 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } &&
26796 { ac_try
='test -s conftest$ac_exeext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26802 am_cv_lib_iconv
=yes
26803 am_cv_func_iconv
=yes
26805 echo "$as_me: failed program was:" >&5
26806 sed 's/^/| /' conftest.
$ac_ext >&5
26809 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26810 LIBS
="$am_save_LIBS"
26814 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26815 echo "${ECHO_T}$am_cv_func_iconv" >&6
26816 if test "$am_cv_func_iconv" = yes; then
26818 cat >>confdefs.h
<<\_ACEOF
26819 #define HAVE_ICONV 1
26822 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26823 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26824 if test "${wx_cv_func_iconv_const+set}" = set; then
26825 echo $ECHO_N "(cached) $ECHO_C" >&6
26827 cat >conftest.
$ac_ext <<_ACEOF
26828 #line $LINENO "configure"
26831 cat confdefs.h
>>conftest.
$ac_ext
26832 cat >>conftest.
$ac_ext <<_ACEOF
26833 /* end confdefs.h. */
26835 #include <stdlib.h>
26841 #if defined(__STDC__) || defined(__cplusplus)
26842 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26855 rm -f conftest.
$ac_objext
26856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26857 (eval $ac_compile) 2>&5
26859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860 (exit $ac_status); } &&
26861 { ac_try
='test -s conftest.$ac_objext'
26862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26863 (eval $ac_try) 2>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); }; }; then
26867 wx_cv_func_iconv_const
="no"
26869 echo "$as_me: failed program was:" >&5
26870 sed 's/^/| /' conftest.
$ac_ext >&5
26872 wx_cv_func_iconv_const
="yes"
26875 rm -f conftest.
$ac_objext conftest.
$ac_ext
26878 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26879 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26882 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26883 iconv_const
="const"
26887 cat >>confdefs.h
<<_ACEOF
26888 #define ICONV_CONST $iconv_const
26893 if test "$am_cv_lib_iconv" = yes; then
26898 LIBS
="$LIBICONV $LIBS"
26900 ac_cpp
='$CPP $CPPFLAGS'
26901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26906 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26908 for ac_func
in sigaction
26910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26911 echo "$as_me:$LINENO: checking for $ac_func" >&5
26912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26913 if eval "test \"\${$as_ac_var+set}\" = set"; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 cat >conftest.
$ac_ext <<_ACEOF
26917 #line $LINENO "configure"
26920 cat confdefs.h
>>conftest.
$ac_ext
26921 cat >>conftest.
$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923 /* System header to define __stub macros and hopefully few prototypes,
26924 which can conflict with char $ac_func (); below.
26925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26926 <limits.h> exists even on freestanding compilers. */
26928 # include <limits.h>
26930 # include <assert.h>
26932 /* Override any gcc2 internal prototype to avoid an error. */
26937 /* We use char because int might match the return type of a gcc2
26938 builtin and then its argument prototype would still apply. */
26940 /* The GNU C library defines this for functions which it implements
26941 to always fail with ENOSYS. Some functions are actually named
26942 something starting with __ and the normal name is an alias. */
26943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26946 char (*f) () = $ac_func;
26955 return f != $ac_func;
26960 rm -f conftest.
$ac_objext conftest
$ac_exeext
26961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26962 (eval $ac_link) 2>&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } &&
26966 { ac_try
='test -s conftest$ac_exeext'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; }; then
26972 eval "$as_ac_var=yes"
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.
$ac_ext >&5
26977 eval "$as_ac_var=no"
26979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26983 if test `eval echo '${'$as_ac_var'}'` = yes; then
26984 cat >>confdefs.h
<<_ACEOF
26985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26992 if test "$ac_cv_func_sigaction" = "no"; then
26993 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26994 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26995 wxUSE_ON_FATAL_EXCEPTION
=no
26998 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27002 ac_cpp
='$CXXCPP $CPPFLAGS'
27003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27008 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27009 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27010 if test "${wx_cv_type_sa_handler+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27014 cat >conftest.
$ac_ext <<_ACEOF
27015 #line $LINENO "configure"
27018 cat confdefs.h
>>conftest.
$ac_ext
27019 cat >>conftest.
$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 #include <signal.h>
27026 extern void testSigHandler(int);
27028 struct sigaction sa;
27029 sa.sa_handler = testSigHandler;
27035 rm -f conftest.
$ac_objext
27036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27037 (eval $ac_compile) 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try
='test -s conftest.$ac_objext'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; }; then
27048 wx_cv_type_sa_handler
=int
27051 echo "$as_me: failed program was:" >&5
27052 sed 's/^/| /' conftest.
$ac_ext >&5
27055 wx_cv_type_sa_handler
=void
27058 rm -f conftest.
$ac_objext conftest.
$ac_ext
27061 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27062 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27065 ac_cpp
='$CPP $CPPFLAGS'
27066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27071 cat >>confdefs.h
<<_ACEOF
27072 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27080 for ac_func
in mkstemp mktemp
27082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27083 echo "$as_me:$LINENO: checking for $ac_func" >&5
27084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27085 if eval "test \"\${$as_ac_var+set}\" = set"; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27088 cat >conftest.
$ac_ext <<_ACEOF
27089 #line $LINENO "configure"
27092 cat confdefs.h
>>conftest.
$ac_ext
27093 cat >>conftest.
$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27095 /* System header to define __stub macros and hopefully few prototypes,
27096 which can conflict with char $ac_func (); below.
27097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27098 <limits.h> exists even on freestanding compilers. */
27100 # include <limits.h>
27102 # include <assert.h>
27104 /* Override any gcc2 internal prototype to avoid an error. */
27109 /* We use char because int might match the return type of a gcc2
27110 builtin and then its argument prototype would still apply. */
27112 /* The GNU C library defines this for functions which it implements
27113 to always fail with ENOSYS. Some functions are actually named
27114 something starting with __ and the normal name is an alias. */
27115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27118 char (*f) () = $ac_func;
27127 return f != $ac_func;
27132 rm -f conftest.
$ac_objext conftest
$ac_exeext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27134 (eval $ac_link) 2>&5
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); } &&
27138 { ac_try
='test -s conftest$ac_exeext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27144 eval "$as_ac_var=yes"
27146 echo "$as_me: failed program was:" >&5
27147 sed 's/^/| /' conftest.
$ac_ext >&5
27149 eval "$as_ac_var=no"
27151 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27155 if test `eval echo '${'$as_ac_var'}'` = yes; then
27156 cat >>confdefs.h
<<_ACEOF
27157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27164 echo "$as_me:$LINENO: checking for statfs" >&5
27165 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27166 if test "${wx_cv_func_statfs+set}" = set; then
27167 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 cat >conftest.
$ac_ext <<_ACEOF
27170 #line $LINENO "configure"
27173 cat confdefs.h
>>conftest.
$ac_ext
27174 cat >>conftest.
$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27177 #if defined(__BSD__)
27178 #include <sys/param.h>
27179 #include <sys/mount.h>
27181 #include <sys/vfs.h>
27199 rm -f conftest.
$ac_objext
27200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27201 (eval $ac_compile) 2>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } &&
27205 { ac_try
='test -s conftest.$ac_objext'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; }; then
27212 wx_cv_func_statfs
=yes
27215 echo "$as_me: failed program was:" >&5
27216 sed 's/^/| /' conftest.
$ac_ext >&5
27219 wx_cv_func_statfs
=no
27223 rm -f conftest.
$ac_objext conftest.
$ac_ext
27226 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27227 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27229 if test "$wx_cv_func_statfs" = "yes"; then
27230 wx_cv_type_statvfs_t
="struct statfs"
27231 cat >>confdefs.h
<<\_ACEOF
27232 #define HAVE_STATFS 1
27236 echo "$as_me:$LINENO: checking for statvfs" >&5
27237 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27238 if test "${wx_cv_func_statvfs+set}" = set; then
27239 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 cat >conftest.
$ac_ext <<_ACEOF
27242 #line $LINENO "configure"
27245 cat confdefs.h
>>conftest.
$ac_ext
27246 cat >>conftest.
$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27249 #include <stddef.h>
27250 #include <sys/statvfs.h>
27256 statvfs("/", NULL);
27262 rm -f conftest.
$ac_objext
27263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27264 (eval $ac_compile) 2>&5
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); } &&
27268 { ac_try
='test -s conftest.$ac_objext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27274 wx_cv_func_statvfs
=yes
27276 echo "$as_me: failed program was:" >&5
27277 sed 's/^/| /' conftest.
$ac_ext >&5
27279 wx_cv_func_statvfs
=no
27282 rm -f conftest.
$ac_objext conftest.
$ac_ext
27285 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27286 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27288 if test "$wx_cv_func_statvfs" = "yes"; then
27292 ac_cpp
='$CXXCPP $CPPFLAGS'
27293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27298 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27299 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27300 if test "${wx_cv_type_statvfs_t+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 cat >conftest.
$ac_ext <<_ACEOF
27304 #line $LINENO "configure"
27307 cat confdefs.h
>>conftest.
$ac_ext
27308 cat >>conftest.
$ac_ext <<_ACEOF
27309 /* end confdefs.h. */
27311 #include <sys/statvfs.h>
27328 rm -f conftest.
$ac_objext
27329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27330 (eval $ac_compile) 2>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } &&
27334 { ac_try
='test -s conftest.$ac_objext'
27335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27336 (eval $ac_try) 2>&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); }; }; then
27340 wx_cv_type_statvfs_t
=statvfs_t
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.
$ac_ext >&5
27346 cat >conftest.
$ac_ext <<_ACEOF
27347 #line $LINENO "configure"
27350 cat confdefs.h
>>conftest.
$ac_ext
27351 cat >>conftest.
$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27354 #include <sys/statvfs.h>
27371 rm -f conftest.
$ac_objext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27373 (eval $ac_compile) 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try
='test -s conftest.$ac_objext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 wx_cv_type_statvfs_t
="struct statvfs"
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.
$ac_ext >&5
27388 wx_cv_type_statvfs_t
="unknown"
27391 rm -f conftest.
$ac_objext conftest.
$ac_ext
27395 rm -f conftest.
$ac_objext conftest.
$ac_ext
27398 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27399 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27402 ac_cpp
='$CPP $CPPFLAGS'
27403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27408 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27409 cat >>confdefs.h
<<\_ACEOF
27410 #define HAVE_STATVFS 1
27415 wx_cv_type_statvfs_t
="unknown"
27419 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27420 cat >>confdefs.h
<<_ACEOF
27421 #define WX_STATFS_T $wx_cv_type_statvfs_t
27425 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27426 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27429 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27432 for ac_func
in fcntl flock
27434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27435 echo "$as_me:$LINENO: checking for $ac_func" >&5
27436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27437 if eval "test \"\${$as_ac_var+set}\" = set"; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 cat >conftest.
$ac_ext <<_ACEOF
27441 #line $LINENO "configure"
27444 cat confdefs.h
>>conftest.
$ac_ext
27445 cat >>conftest.
$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27447 /* System header to define __stub macros and hopefully few prototypes,
27448 which can conflict with char $ac_func (); below.
27449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27450 <limits.h> exists even on freestanding compilers. */
27452 # include <limits.h>
27454 # include <assert.h>
27456 /* Override any gcc2 internal prototype to avoid an error. */
27461 /* We use char because int might match the return type of a gcc2
27462 builtin and then its argument prototype would still apply. */
27464 /* The GNU C library defines this for functions which it implements
27465 to always fail with ENOSYS. Some functions are actually named
27466 something starting with __ and the normal name is an alias. */
27467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27470 char (*f) () = $ac_func;
27479 return f != $ac_func;
27484 rm -f conftest.
$ac_objext conftest
$ac_exeext
27485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27486 (eval $ac_link) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); } &&
27490 { ac_try
='test -s conftest$ac_exeext'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; }; then
27496 eval "$as_ac_var=yes"
27498 echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.
$ac_ext >&5
27501 eval "$as_ac_var=no"
27503 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27507 if test `eval echo '${'$as_ac_var'}'` = yes; then
27508 cat >>confdefs.h
<<_ACEOF
27509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27516 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27517 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27518 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27519 wxUSE_SNGLINST_CHECKER
=no
27524 for ac_func
in timegm
27526 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27527 echo "$as_me:$LINENO: checking for $ac_func" >&5
27528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27529 if eval "test \"\${$as_ac_var+set}\" = set"; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 cat >conftest.
$ac_ext <<_ACEOF
27533 #line $LINENO "configure"
27536 cat confdefs.h
>>conftest.
$ac_ext
27537 cat >>conftest.
$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27539 /* System header to define __stub macros and hopefully few prototypes,
27540 which can conflict with char $ac_func (); below.
27541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27542 <limits.h> exists even on freestanding compilers. */
27544 # include <limits.h>
27546 # include <assert.h>
27548 /* Override any gcc2 internal prototype to avoid an error. */
27553 /* We use char because int might match the return type of a gcc2
27554 builtin and then its argument prototype would still apply. */
27556 /* The GNU C library defines this for functions which it implements
27557 to always fail with ENOSYS. Some functions are actually named
27558 something starting with __ and the normal name is an alias. */
27559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27562 char (*f) () = $ac_func;
27571 return f != $ac_func;
27576 rm -f conftest.
$ac_objext conftest
$ac_exeext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27578 (eval $ac_link) 2>&5
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); } &&
27582 { ac_try
='test -s conftest$ac_exeext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 eval "$as_ac_var=yes"
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.
$ac_ext >&5
27593 eval "$as_ac_var=no"
27595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27599 if test `eval echo '${'$as_ac_var'}'` = yes; then
27600 cat >>confdefs.h
<<_ACEOF
27601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27610 for ac_func
in putenv setenv
27612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27613 echo "$as_me:$LINENO: checking for $ac_func" >&5
27614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27615 if eval "test \"\${$as_ac_var+set}\" = set"; then
27616 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 cat >conftest.
$ac_ext <<_ACEOF
27619 #line $LINENO "configure"
27622 cat confdefs.h
>>conftest.
$ac_ext
27623 cat >>conftest.
$ac_ext <<_ACEOF
27624 /* end confdefs.h. */
27625 /* System header to define __stub macros and hopefully few prototypes,
27626 which can conflict with char $ac_func (); below.
27627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27628 <limits.h> exists even on freestanding compilers. */
27630 # include <limits.h>
27632 # include <assert.h>
27634 /* Override any gcc2 internal prototype to avoid an error. */
27639 /* We use char because int might match the return type of a gcc2
27640 builtin and then its argument prototype would still apply. */
27642 /* The GNU C library defines this for functions which it implements
27643 to always fail with ENOSYS. Some functions are actually named
27644 something starting with __ and the normal name is an alias. */
27645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27648 char (*f) () = $ac_func;
27657 return f != $ac_func;
27662 rm -f conftest.
$ac_objext conftest
$ac_exeext
27663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27664 (eval $ac_link) 2>&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); } &&
27668 { ac_try
='test -s conftest$ac_exeext'
27669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27670 (eval $ac_try) 2>&5
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); }; }; then
27674 eval "$as_ac_var=yes"
27676 echo "$as_me: failed program was:" >&5
27677 sed 's/^/| /' conftest.
$ac_ext >&5
27679 eval "$as_ac_var=no"
27681 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27685 if test `eval echo '${'$as_ac_var'}'` = yes; then
27686 cat >>confdefs.h
<<_ACEOF
27687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27694 HAVE_SOME_SLEEP_FUNC
=0
27695 if test "$USE_BEOS" = 1; then
27696 cat >>confdefs.h
<<\_ACEOF
27697 #define HAVE_SLEEP 1
27700 HAVE_SOME_SLEEP_FUNC
=1
27703 if test "$USE_DARWIN" = 1; then
27704 cat >>confdefs.h
<<\_ACEOF
27705 #define HAVE_USLEEP 1
27708 HAVE_SOME_SLEEP_FUNC
=1
27711 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27714 for ac_func
in nanosleep
27716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27717 echo "$as_me:$LINENO: checking for $ac_func" >&5
27718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27719 if eval "test \"\${$as_ac_var+set}\" = set"; then
27720 echo $ECHO_N "(cached) $ECHO_C" >&6
27722 cat >conftest.
$ac_ext <<_ACEOF
27723 #line $LINENO "configure"
27726 cat confdefs.h
>>conftest.
$ac_ext
27727 cat >>conftest.
$ac_ext <<_ACEOF
27728 /* end confdefs.h. */
27729 /* System header to define __stub macros and hopefully few prototypes,
27730 which can conflict with char $ac_func (); below.
27731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27732 <limits.h> exists even on freestanding compilers. */
27734 # include <limits.h>
27736 # include <assert.h>
27738 /* Override any gcc2 internal prototype to avoid an error. */
27743 /* We use char because int might match the return type of a gcc2
27744 builtin and then its argument prototype would still apply. */
27746 /* The GNU C library defines this for functions which it implements
27747 to always fail with ENOSYS. Some functions are actually named
27748 something starting with __ and the normal name is an alias. */
27749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27752 char (*f) () = $ac_func;
27761 return f != $ac_func;
27766 rm -f conftest.
$ac_objext conftest
$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768 (eval $ac_link) 2>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try
='test -s conftest$ac_exeext'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; }; then
27778 eval "$as_ac_var=yes"
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.
$ac_ext >&5
27783 eval "$as_ac_var=no"
27785 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27789 if test `eval echo '${'$as_ac_var'}'` = yes; then
27790 cat >>confdefs.h
<<_ACEOF
27791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27793 cat >>confdefs.h
<<\_ACEOF
27794 #define HAVE_NANOSLEEP 1
27799 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27800 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27801 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 ac_check_lib_save_LIBS
=$LIBS
27805 LIBS
="-lposix4 $LIBS"
27806 cat >conftest.
$ac_ext <<_ACEOF
27807 #line $LINENO "configure"
27810 cat confdefs.h
>>conftest.
$ac_ext
27811 cat >>conftest.
$ac_ext <<_ACEOF
27812 /* end confdefs.h. */
27814 /* Override any gcc2 internal prototype to avoid an error. */
27818 /* We use char because int might match the return type of a gcc2
27819 builtin and then its argument prototype would still apply. */
27829 rm -f conftest.
$ac_objext conftest
$ac_exeext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27831 (eval $ac_link) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try
='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 ac_cv_lib_posix4_nanosleep
=yes
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.
$ac_ext >&5
27846 ac_cv_lib_posix4_nanosleep
=no
27848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27849 LIBS
=$ac_check_lib_save_LIBS
27851 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27852 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27853 if test $ac_cv_lib_posix4_nanosleep = yes; then
27855 cat >>confdefs.h
<<\_ACEOF
27856 #define HAVE_NANOSLEEP 1
27859 POSIX4_LINK
=" -lposix4"
27864 for ac_func
in usleep
27866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27867 echo "$as_me:$LINENO: checking for $ac_func" >&5
27868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27869 if eval "test \"\${$as_ac_var+set}\" = set"; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27872 cat >conftest.
$ac_ext <<_ACEOF
27873 #line $LINENO "configure"
27876 cat confdefs.h
>>conftest.
$ac_ext
27877 cat >>conftest.
$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879 /* System header to define __stub macros and hopefully few prototypes,
27880 which can conflict with char $ac_func (); below.
27881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27882 <limits.h> exists even on freestanding compilers. */
27884 # include <limits.h>
27886 # include <assert.h>
27888 /* Override any gcc2 internal prototype to avoid an error. */
27893 /* We use char because int might match the return type of a gcc2
27894 builtin and then its argument prototype would still apply. */
27896 /* The GNU C library defines this for functions which it implements
27897 to always fail with ENOSYS. Some functions are actually named
27898 something starting with __ and the normal name is an alias. */
27899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27902 char (*f) () = $ac_func;
27911 return f != $ac_func;
27916 rm -f conftest.
$ac_objext conftest
$ac_exeext
27917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27918 (eval $ac_link) 2>&5
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); } &&
27922 { ac_try
='test -s conftest$ac_exeext'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; }; then
27928 eval "$as_ac_var=yes"
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.
$ac_ext >&5
27933 eval "$as_ac_var=no"
27935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27939 if test `eval echo '${'$as_ac_var'}'` = yes; then
27940 cat >>confdefs.h
<<_ACEOF
27941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27943 cat >>confdefs.h
<<\_ACEOF
27944 #define HAVE_USLEEP 1
27948 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27949 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27967 for ac_func
in uname gethostname
27969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27970 echo "$as_me:$LINENO: checking for $ac_func" >&5
27971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27972 if eval "test \"\${$as_ac_var+set}\" = set"; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27975 cat >conftest.
$ac_ext <<_ACEOF
27976 #line $LINENO "configure"
27979 cat confdefs.h
>>conftest.
$ac_ext
27980 cat >>conftest.
$ac_ext <<_ACEOF
27981 /* end confdefs.h. */
27982 /* System header to define __stub macros and hopefully few prototypes,
27983 which can conflict with char $ac_func (); below.
27984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27985 <limits.h> exists even on freestanding compilers. */
27987 # include <limits.h>
27989 # include <assert.h>
27991 /* Override any gcc2 internal prototype to avoid an error. */
27996 /* We use char because int might match the return type of a gcc2
27997 builtin and then its argument prototype would still apply. */
27999 /* The GNU C library defines this for functions which it implements
28000 to always fail with ENOSYS. Some functions are actually named
28001 something starting with __ and the normal name is an alias. */
28002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28005 char (*f) () = $ac_func;
28014 return f != $ac_func;
28019 rm -f conftest.
$ac_objext conftest
$ac_exeext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28021 (eval $ac_link) 2>&5
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); } &&
28025 { ac_try
='test -s conftest$ac_exeext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 eval "$as_ac_var=yes"
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.
$ac_ext >&5
28036 eval "$as_ac_var=no"
28038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28042 if test `eval echo '${'$as_ac_var'}'` = yes; then
28043 cat >>confdefs.h
<<_ACEOF
28044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28054 ac_cpp
='$CXXCPP $CPPFLAGS'
28055 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28056 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28057 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28061 for ac_func
in strtok_r
28063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28064 echo "$as_me:$LINENO: checking for $ac_func" >&5
28065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28066 if eval "test \"\${$as_ac_var+set}\" = set"; then
28067 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 cat >conftest.
$ac_ext <<_ACEOF
28070 #line $LINENO "configure"
28073 cat confdefs.h
>>conftest.
$ac_ext
28074 cat >>conftest.
$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076 /* System header to define __stub macros and hopefully few prototypes,
28077 which can conflict with char $ac_func (); below.
28078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28079 <limits.h> exists even on freestanding compilers. */
28081 # include <limits.h>
28083 # include <assert.h>
28085 /* Override any gcc2 internal prototype to avoid an error. */
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
28093 /* The GNU C library defines this for functions which it implements
28094 to always fail with ENOSYS. Some functions are actually named
28095 something starting with __ and the normal name is an alias. */
28096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28099 char (*f) () = $ac_func;
28108 return f != $ac_func;
28113 rm -f conftest.
$ac_objext conftest
$ac_exeext
28114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28115 (eval $ac_link) 2>&5
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); } &&
28119 { ac_try
='test -s conftest$ac_exeext'
28120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121 (eval $ac_try) 2>&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); }; }; then
28125 eval "$as_ac_var=yes"
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.
$ac_ext >&5
28130 eval "$as_ac_var=no"
28132 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28136 if test `eval echo '${'$as_ac_var'}'` = yes; then
28137 cat >>confdefs.h
<<_ACEOF
28138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28146 ac_cpp
='$CPP $CPPFLAGS'
28147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28154 for ac_func
in inet_addr
28156 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28157 echo "$as_me:$LINENO: checking for $ac_func" >&5
28158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28159 if eval "test \"\${$as_ac_var+set}\" = set"; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 cat >conftest.
$ac_ext <<_ACEOF
28163 #line $LINENO "configure"
28166 cat confdefs.h
>>conftest.
$ac_ext
28167 cat >>conftest.
$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28169 /* System header to define __stub macros and hopefully few prototypes,
28170 which can conflict with char $ac_func (); below.
28171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28172 <limits.h> exists even on freestanding compilers. */
28174 # include <limits.h>
28176 # include <assert.h>
28178 /* Override any gcc2 internal prototype to avoid an error. */
28183 /* We use char because int might match the return type of a gcc2
28184 builtin and then its argument prototype would still apply. */
28186 /* The GNU C library defines this for functions which it implements
28187 to always fail with ENOSYS. Some functions are actually named
28188 something starting with __ and the normal name is an alias. */
28189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28192 char (*f) () = $ac_func;
28201 return f != $ac_func;
28206 rm -f conftest.
$ac_objext conftest
$ac_exeext
28207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28208 (eval $ac_link) 2>&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try
='test -s conftest$ac_exeext'
28213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28214 (eval $ac_try) 2>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); }; }; then
28218 eval "$as_ac_var=yes"
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.
$ac_ext >&5
28223 eval "$as_ac_var=no"
28225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28229 if test `eval echo '${'$as_ac_var'}'` = yes; then
28230 cat >>confdefs.h
<<_ACEOF
28231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28233 cat >>confdefs.h
<<\_ACEOF
28234 #define HAVE_INET_ADDR 1
28239 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28240 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28241 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 ac_check_lib_save_LIBS
=$LIBS
28246 cat >conftest.
$ac_ext <<_ACEOF
28247 #line $LINENO "configure"
28250 cat confdefs.h
>>conftest.
$ac_ext
28251 cat >>conftest.
$ac_ext <<_ACEOF
28252 /* end confdefs.h. */
28254 /* Override any gcc2 internal prototype to avoid an error. */
28258 /* We use char because int might match the return type of a gcc2
28259 builtin and then its argument prototype would still apply. */
28269 rm -f conftest.
$ac_objext conftest
$ac_exeext
28270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28271 (eval $ac_link) 2>&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } &&
28275 { ac_try
='test -s conftest$ac_exeext'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 ac_cv_lib_nsl_inet_addr
=yes
28283 echo "$as_me: failed program was:" >&5
28284 sed 's/^/| /' conftest.
$ac_ext >&5
28286 ac_cv_lib_nsl_inet_addr
=no
28288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28289 LIBS
=$ac_check_lib_save_LIBS
28291 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28292 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28293 if test $ac_cv_lib_nsl_inet_addr = yes; then
28297 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28298 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28299 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28300 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 ac_check_lib_save_LIBS
=$LIBS
28303 LIBS
="-lresolv $LIBS"
28304 cat >conftest.
$ac_ext <<_ACEOF
28305 #line $LINENO "configure"
28308 cat confdefs.h
>>conftest.
$ac_ext
28309 cat >>conftest.
$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28312 /* Override any gcc2 internal prototype to avoid an error. */
28316 /* We use char because int might match the return type of a gcc2
28317 builtin and then its argument prototype would still apply. */
28327 rm -f conftest.
$ac_objext conftest
$ac_exeext
28328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28329 (eval $ac_link) 2>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try
='test -s conftest$ac_exeext'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; }; then
28339 ac_cv_lib_resolv_inet_addr
=yes
28341 echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.
$ac_ext >&5
28344 ac_cv_lib_resolv_inet_addr
=no
28346 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28347 LIBS
=$ac_check_lib_save_LIBS
28349 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28350 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28351 if test $ac_cv_lib_resolv_inet_addr = yes; then
28355 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28356 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28357 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28358 echo $ECHO_N "(cached) $ECHO_C" >&6
28360 ac_check_lib_save_LIBS
=$LIBS
28361 LIBS
="-lsocket $LIBS"
28362 cat >conftest.
$ac_ext <<_ACEOF
28363 #line $LINENO "configure"
28366 cat confdefs.h
>>conftest.
$ac_ext
28367 cat >>conftest.
$ac_ext <<_ACEOF
28368 /* end confdefs.h. */
28370 /* Override any gcc2 internal prototype to avoid an error. */
28374 /* We use char because int might match the return type of a gcc2
28375 builtin and then its argument prototype would still apply. */
28385 rm -f conftest.
$ac_objext conftest
$ac_exeext
28386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28387 (eval $ac_link) 2>&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } &&
28391 { ac_try
='test -s conftest$ac_exeext'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; }; then
28397 ac_cv_lib_socket_inet_addr
=yes
28399 echo "$as_me: failed program was:" >&5
28400 sed 's/^/| /' conftest.
$ac_ext >&5
28402 ac_cv_lib_socket_inet_addr
=no
28404 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28405 LIBS
=$ac_check_lib_save_LIBS
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28408 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28409 if test $ac_cv_lib_socket_inet_addr = yes; then
28429 for ac_func
in inet_aton
28431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28432 echo "$as_me:$LINENO: checking for $ac_func" >&5
28433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28434 if eval "test \"\${$as_ac_var+set}\" = set"; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28437 cat >conftest.
$ac_ext <<_ACEOF
28438 #line $LINENO "configure"
28441 cat confdefs.h
>>conftest.
$ac_ext
28442 cat >>conftest.
$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28444 /* System header to define __stub macros and hopefully few prototypes,
28445 which can conflict with char $ac_func (); below.
28446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28447 <limits.h> exists even on freestanding compilers. */
28449 # include <limits.h>
28451 # include <assert.h>
28453 /* Override any gcc2 internal prototype to avoid an error. */
28458 /* We use char because int might match the return type of a gcc2
28459 builtin and then its argument prototype would still apply. */
28461 /* The GNU C library defines this for functions which it implements
28462 to always fail with ENOSYS. Some functions are actually named
28463 something starting with __ and the normal name is an alias. */
28464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28467 char (*f) () = $ac_func;
28476 return f != $ac_func;
28481 rm -f conftest.
$ac_objext conftest
$ac_exeext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28483 (eval $ac_link) 2>&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); } &&
28487 { ac_try
='test -s conftest$ac_exeext'
28488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28489 (eval $ac_try) 2>&5
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); }; }; then
28493 eval "$as_ac_var=yes"
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.
$ac_ext >&5
28498 eval "$as_ac_var=no"
28500 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28504 if test `eval echo '${'$as_ac_var'}'` = yes; then
28505 cat >>confdefs.h
<<_ACEOF
28506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28508 cat >>confdefs.h
<<\_ACEOF
28509 #define HAVE_INET_ATON 1
28514 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28515 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28516 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28517 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28518 echo $ECHO_N "(cached) $ECHO_C" >&6
28520 ac_check_lib_save_LIBS
=$LIBS
28521 LIBS
="-l$INET_LINK $LIBS"
28522 cat >conftest.
$ac_ext <<_ACEOF
28523 #line $LINENO "configure"
28526 cat confdefs.h
>>conftest.
$ac_ext
28527 cat >>conftest.
$ac_ext <<_ACEOF
28528 /* end confdefs.h. */
28530 /* Override any gcc2 internal prototype to avoid an error. */
28534 /* We use char because int might match the return type of a gcc2
28535 builtin and then its argument prototype would still apply. */
28545 rm -f conftest.
$ac_objext conftest
$ac_exeext
28546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28547 (eval $ac_link) 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } &&
28551 { ac_try
='test -s conftest$ac_exeext'
28552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28553 (eval $ac_try) 2>&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); }; }; then
28557 eval "$as_ac_Lib=yes"
28559 echo "$as_me: failed program was:" >&5
28560 sed 's/^/| /' conftest.
$ac_ext >&5
28562 eval "$as_ac_Lib=no"
28564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28565 LIBS
=$ac_check_lib_save_LIBS
28567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28568 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28569 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28570 cat >>confdefs.h
<<\_ACEOF
28571 #define HAVE_INET_ATON 1
28581 if test "x$INET_LINK" != "x"; then
28582 cat >>confdefs.h
<<\_ACEOF
28583 #define HAVE_INET_ADDR 1
28586 INET_LINK
=" -l$INET_LINK"
28594 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28595 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28596 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28597 echo $ECHO_N "(cached) $ECHO_C" >&6
28599 ac_check_lib_save_LIBS
=$LIBS
28601 cat >conftest.
$ac_ext <<_ACEOF
28602 #line $LINENO "configure"
28605 cat confdefs.h
>>conftest.
$ac_ext
28606 cat >>conftest.
$ac_ext <<_ACEOF
28607 /* end confdefs.h. */
28609 /* Override any gcc2 internal prototype to avoid an error. */
28613 /* We use char because int might match the return type of a gcc2
28614 builtin and then its argument prototype would still apply. */
28624 rm -f conftest.
$ac_objext conftest
$ac_exeext
28625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28626 (eval $ac_link) 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); } &&
28630 { ac_try
='test -s conftest$ac_exeext'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; }; then
28636 ac_cv_lib_esd_esd_close
=yes
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.
$ac_ext >&5
28641 ac_cv_lib_esd_esd_close
=no
28643 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28644 LIBS
=$ac_check_lib_save_LIBS
28646 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28647 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28648 if test $ac_cv_lib_esd_esd_close = yes; then
28651 for ac_header
in esd.h
28653 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28655 echo "$as_me:$LINENO: checking for $ac_header" >&5
28656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28663 # Is the header compilable?
28664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28666 cat >conftest.
$ac_ext <<_ACEOF
28667 #line $LINENO "configure"
28670 cat confdefs.h
>>conftest.
$ac_ext
28671 cat >>conftest.
$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673 $ac_includes_default
28674 #include <$ac_header>
28676 rm -f conftest.
$ac_objext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28678 (eval $ac_compile) 2>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try
='test -s conftest.$ac_objext'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; }; then
28688 ac_header_compiler
=yes
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.
$ac_ext >&5
28693 ac_header_compiler
=no
28695 rm -f conftest.
$ac_objext conftest.
$ac_ext
28696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28697 echo "${ECHO_T}$ac_header_compiler" >&6
28699 # Is the header present?
28700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28702 cat >conftest.
$ac_ext <<_ACEOF
28703 #line $LINENO "configure"
28706 cat confdefs.h
>>conftest.
$ac_ext
28707 cat >>conftest.
$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 #include <$ac_header>
28711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28712 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28714 grep -v '^ *+' conftest.er1
>conftest.err
28716 cat conftest.err
>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } >/dev
/null
; then
28719 if test -s conftest.err
; then
28720 ac_cpp_err
=$ac_c_preproc_warn_flag
28727 if test -z "$ac_cpp_err"; then
28728 ac_header_preproc
=yes
28730 echo "$as_me: failed program was:" >&5
28731 sed 's/^/| /' conftest.
$ac_ext >&5
28733 ac_header_preproc
=no
28735 rm -f conftest.err conftest.
$ac_ext
28736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28737 echo "${ECHO_T}$ac_header_preproc" >&6
28739 # So? What about this header?
28740 case $ac_header_compiler:$ac_header_preproc in
28742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28748 ## ------------------------------------ ##
28749 ## Report this to bug-autoconf@gnu.org. ##
28750 ## ------------------------------------ ##
28753 sed "s/^/$as_me: WARNING: /" >&2
28756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28764 ## ------------------------------------ ##
28765 ## Report this to bug-autoconf@gnu.org. ##
28766 ## ------------------------------------ ##
28769 sed "s/^/$as_me: WARNING: /" >&2
28772 echo "$as_me:$LINENO: checking for $ac_header" >&5
28773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28775 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 eval "$as_ac_Header=$ac_header_preproc"
28779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28784 cat >>confdefs.h
<<_ACEOF
28785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28788 EXTRALIBS_ESD
="-lesd"
28801 cat >confcache
<<\_ACEOF
28802 # This file is a shell script that caches the results of configure
28803 # tests run on this system so they can be shared between configure
28804 # scripts and configure runs, see configure's option --config-cache.
28805 # It is not useful on other systems. If it contains results you don't
28806 # want to keep, you may remove or edit it.
28808 # config.status only pays attention to the cache file if you give it
28809 # the --recheck option to rerun configure.
28811 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28812 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28813 # following values.
28817 # The following way of writing the cache mishandles newlines in values,
28818 # but we know of no workaround that is simple, portable, and efficient.
28819 # So, don't put newlines in cache variables' values.
28820 # Ultrix sh set writes to stderr and can't be redirected directly,
28821 # and sets the high bit in the cache file unless we assign to the vars.
28824 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28826 # `set' does not quote correctly, so add quotes (double-quote
28827 # substitution turns \\\\ into \\, and sed turns \\ into \).
28830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28833 # `set' quotes correctly as required by POSIX, so do not add quotes.
28835 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28842 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28844 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28846 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28847 if test -w $cache_file; then
28848 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28849 cat confcache
>$cache_file
28851 echo "not updating unwritable cache $cache_file"
28858 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28864 if test "$wxUSE_THREADS" = "yes" ; then
28865 if test "$USE_BEOS" = 1; then
28866 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28867 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28872 if test "$wxUSE_THREADS" = "yes" ; then
28875 THREAD_OPTS
="-pthread"
28877 *-*-solaris2* | *-*-sunos4* )
28878 if test "x$GCC" = "xyes"; then
28879 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28881 THREAD_OPTS
="-mt $THREAD_OPTS"
28885 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28887 *-*-darwin* | *-*-cygwin* )
28891 THREAD_OPTS
="pthreads"
28894 if test "x$GCC" != "xyes"; then
28900 if test "x$GCC" = "xyes"; then
28906 if test "x$GCC" != "xyes"; then
28907 THREAD_OPTS
="-Ethread"
28912 THREAD_OPTS
="$THREAD_OPTS pthread none"
28915 for flag
in $THREAD_OPTS; do
28918 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28919 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28923 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28924 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28925 THREADS_CFLAGS
="$flag"
28929 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28930 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28931 THREADS_LINK
="-l$flag"
28936 save_CFLAGS
="$CFLAGS"
28937 LIBS
="$THREADS_LINK $LIBS"
28938 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28940 cat >conftest.
$ac_ext <<_ACEOF
28941 #line $LINENO "configure"
28944 cat confdefs.h
>>conftest.
$ac_ext
28945 cat >>conftest.
$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28947 #include <pthread.h>
28951 pthread_create(0,0,0,0);
28956 rm -f conftest.
$ac_objext conftest
$ac_exeext
28957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28958 (eval $ac_link) 2>&5
28960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28961 (exit $ac_status); } &&
28962 { ac_try
='test -s conftest$ac_exeext'
28963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28964 (eval $ac_try) 2>&5
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); }; }; then
28970 echo "$as_me: failed program was:" >&5
28971 sed 's/^/| /' conftest.
$ac_ext >&5
28974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28977 CFLAGS
="$save_CFLAGS"
28979 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28980 echo "${ECHO_T}$THREADS_OK" >&6
28981 if test "x$THREADS_OK" = "xyes"; then
28989 if test "x$THREADS_OK" != "xyes"; then
28991 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28992 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28994 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28995 LIBS
="$THREADS_LINK $LIBS"
28997 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28998 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29002 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29003 flag
="-D_THREAD_SAFE"
29006 flag
="-D_THREAD_SAFE"
29009 flag
="-D_REENTRANT"
29010 if test "x$GCC" != "xyes"; then
29011 flag
="$flag -D_RWSTD_MULTI_THREAD"
29014 *solaris
* | alpha
*-osf*)
29015 flag
="-D_REENTRANT"
29018 echo "$as_me:$LINENO: result: ${flag}" >&5
29019 echo "${ECHO_T}${flag}" >&6
29020 if test "x$flag" != xno
; then
29021 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29024 if test "x$THREADS_CFLAGS" != "x"; then
29025 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29026 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29031 if test "$wxUSE_THREADS" = "yes" ; then
29033 for ac_func
in thr_setconcurrency
29035 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29036 echo "$as_me:$LINENO: checking for $ac_func" >&5
29037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29038 if eval "test \"\${$as_ac_var+set}\" = set"; then
29039 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 cat >conftest.
$ac_ext <<_ACEOF
29042 #line $LINENO "configure"
29045 cat confdefs.h
>>conftest.
$ac_ext
29046 cat >>conftest.
$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048 /* System header to define __stub macros and hopefully few prototypes,
29049 which can conflict with char $ac_func (); below.
29050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29051 <limits.h> exists even on freestanding compilers. */
29053 # include <limits.h>
29055 # include <assert.h>
29057 /* Override any gcc2 internal prototype to avoid an error. */
29062 /* We use char because int might match the return type of a gcc2
29063 builtin and then its argument prototype would still apply. */
29065 /* The GNU C library defines this for functions which it implements
29066 to always fail with ENOSYS. Some functions are actually named
29067 something starting with __ and the normal name is an alias. */
29068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29071 char (*f) () = $ac_func;
29080 return f != $ac_func;
29085 rm -f conftest.
$ac_objext conftest
$ac_exeext
29086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29087 (eval $ac_link) 2>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } &&
29091 { ac_try
='test -s conftest$ac_exeext'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; }; then
29097 eval "$as_ac_var=yes"
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.
$ac_ext >&5
29102 eval "$as_ac_var=no"
29104 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29108 if test `eval echo '${'$as_ac_var'}'` = yes; then
29109 cat >>confdefs.h
<<_ACEOF
29110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29118 for ac_header
in sched.h
29120 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29122 echo "$as_me:$LINENO: checking for $ac_header" >&5
29123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29130 # Is the header compilable?
29131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29133 cat >conftest.
$ac_ext <<_ACEOF
29134 #line $LINENO "configure"
29137 cat confdefs.h
>>conftest.
$ac_ext
29138 cat >>conftest.
$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140 $ac_includes_default
29141 #include <$ac_header>
29143 rm -f conftest.
$ac_objext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29145 (eval $ac_compile) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } &&
29149 { ac_try
='test -s conftest.$ac_objext'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; }; then
29155 ac_header_compiler
=yes
29157 echo "$as_me: failed program was:" >&5
29158 sed 's/^/| /' conftest.
$ac_ext >&5
29160 ac_header_compiler
=no
29162 rm -f conftest.
$ac_objext conftest.
$ac_ext
29163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29164 echo "${ECHO_T}$ac_header_compiler" >&6
29166 # Is the header present?
29167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29169 cat >conftest.
$ac_ext <<_ACEOF
29170 #line $LINENO "configure"
29173 cat confdefs.h
>>conftest.
$ac_ext
29174 cat >>conftest.
$ac_ext <<_ACEOF
29175 /* end confdefs.h. */
29176 #include <$ac_header>
29178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29181 grep -v '^ *+' conftest.er1
>conftest.err
29183 cat conftest.err
>&5
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } >/dev
/null
; then
29186 if test -s conftest.err
; then
29187 ac_cpp_err
=$ac_c_preproc_warn_flag
29194 if test -z "$ac_cpp_err"; then
29195 ac_header_preproc
=yes
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.
$ac_ext >&5
29200 ac_header_preproc
=no
29202 rm -f conftest.err conftest.
$ac_ext
29203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29204 echo "${ECHO_T}$ac_header_preproc" >&6
29206 # So? What about this header?
29207 case $ac_header_compiler:$ac_header_preproc in
29209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29215 ## ------------------------------------ ##
29216 ## Report this to bug-autoconf@gnu.org. ##
29217 ## ------------------------------------ ##
29220 sed "s/^/$as_me: WARNING: /" >&2
29223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29231 ## ------------------------------------ ##
29232 ## Report this to bug-autoconf@gnu.org. ##
29233 ## ------------------------------------ ##
29236 sed "s/^/$as_me: WARNING: /" >&2
29239 echo "$as_me:$LINENO: checking for $ac_header" >&5
29240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29244 eval "$as_ac_Header=$ac_header_preproc"
29246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29251 cat >>confdefs.h
<<_ACEOF
29252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29259 if test "$ac_cv_header_sched_h" = "yes"; then
29260 echo "$as_me:$LINENO: checking for sched_yield" >&5
29261 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29262 if test "${ac_cv_func_sched_yield+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 cat >conftest.
$ac_ext <<_ACEOF
29266 #line $LINENO "configure"
29269 cat confdefs.h
>>conftest.
$ac_ext
29270 cat >>conftest.
$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272 /* System header to define __stub macros and hopefully few prototypes,
29273 which can conflict with char sched_yield (); below.
29274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29275 <limits.h> exists even on freestanding compilers. */
29277 # include <limits.h>
29279 # include <assert.h>
29281 /* Override any gcc2 internal prototype to avoid an error. */
29286 /* We use char because int might match the return type of a gcc2
29287 builtin and then its argument prototype would still apply. */
29288 char sched_yield ();
29289 /* The GNU C library defines this for functions which it implements
29290 to always fail with ENOSYS. Some functions are actually named
29291 something starting with __ and the normal name is an alias. */
29292 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29295 char (*f) () = sched_yield;
29304 return f != sched_yield;
29309 rm -f conftest.
$ac_objext conftest
$ac_exeext
29310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29311 (eval $ac_link) 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } &&
29315 { ac_try
='test -s conftest$ac_exeext'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; }; then
29321 ac_cv_func_sched_yield
=yes
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.
$ac_ext >&5
29326 ac_cv_func_sched_yield
=no
29328 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29330 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29331 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29332 if test $ac_cv_func_sched_yield = yes; then
29333 cat >>confdefs.h
<<\_ACEOF
29334 #define HAVE_SCHED_YIELD 1
29339 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29340 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29341 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29344 ac_check_lib_save_LIBS
=$LIBS
29345 LIBS
="-lposix4 $LIBS"
29346 cat >conftest.
$ac_ext <<_ACEOF
29347 #line $LINENO "configure"
29350 cat confdefs.h
>>conftest.
$ac_ext
29351 cat >>conftest.
$ac_ext <<_ACEOF
29352 /* end confdefs.h. */
29354 /* Override any gcc2 internal prototype to avoid an error. */
29358 /* We use char because int might match the return type of a gcc2
29359 builtin and then its argument prototype would still apply. */
29360 char sched_yield ();
29369 rm -f conftest.
$ac_objext conftest
$ac_exeext
29370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29371 (eval $ac_link) 2>&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } &&
29375 { ac_try
='test -s conftest$ac_exeext'
29376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29377 (eval $ac_try) 2>&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); }; }; then
29381 ac_cv_lib_posix4_sched_yield
=yes
29383 echo "$as_me: failed program was:" >&5
29384 sed 's/^/| /' conftest.
$ac_ext >&5
29386 ac_cv_lib_posix4_sched_yield
=no
29388 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29389 LIBS
=$ac_check_lib_save_LIBS
29391 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29392 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29393 if test $ac_cv_lib_posix4_sched_yield = yes; then
29394 cat >>confdefs.h
<<\_ACEOF
29395 #define HAVE_SCHED_YIELD 1
29397 POSIX4_LINK
=" -lposix4"
29399 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29400 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29411 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29412 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29413 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29416 cat >conftest.
$ac_ext <<_ACEOF
29417 #line $LINENO "configure"
29420 cat confdefs.h
>>conftest.
$ac_ext
29421 cat >>conftest.
$ac_ext <<_ACEOF
29422 /* end confdefs.h. */
29423 /* System header to define __stub macros and hopefully few prototypes,
29424 which can conflict with char pthread_attr_getschedpolicy (); below.
29425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29426 <limits.h> exists even on freestanding compilers. */
29428 # include <limits.h>
29430 # include <assert.h>
29432 /* Override any gcc2 internal prototype to avoid an error. */
29437 /* We use char because int might match the return type of a gcc2
29438 builtin and then its argument prototype would still apply. */
29439 char pthread_attr_getschedpolicy ();
29440 /* The GNU C library defines this for functions which it implements
29441 to always fail with ENOSYS. Some functions are actually named
29442 something starting with __ and the normal name is an alias. */
29443 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29446 char (*f) () = pthread_attr_getschedpolicy;
29455 return f != pthread_attr_getschedpolicy;
29460 rm -f conftest.
$ac_objext conftest
$ac_exeext
29461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29462 (eval $ac_link) 2>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try
='test -s conftest$ac_exeext'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; }; then
29472 ac_cv_func_pthread_attr_getschedpolicy
=yes
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.
$ac_ext >&5
29477 ac_cv_func_pthread_attr_getschedpolicy
=no
29479 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29481 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29482 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29483 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29484 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29485 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29486 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 cat >conftest.
$ac_ext <<_ACEOF
29490 #line $LINENO "configure"
29493 cat confdefs.h
>>conftest.
$ac_ext
29494 cat >>conftest.
$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496 /* System header to define __stub macros and hopefully few prototypes,
29497 which can conflict with char pthread_attr_setschedparam (); below.
29498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29499 <limits.h> exists even on freestanding compilers. */
29501 # include <limits.h>
29503 # include <assert.h>
29505 /* Override any gcc2 internal prototype to avoid an error. */
29510 /* We use char because int might match the return type of a gcc2
29511 builtin and then its argument prototype would still apply. */
29512 char pthread_attr_setschedparam ();
29513 /* The GNU C library defines this for functions which it implements
29514 to always fail with ENOSYS. Some functions are actually named
29515 something starting with __ and the normal name is an alias. */
29516 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29519 char (*f) () = pthread_attr_setschedparam;
29528 return f != pthread_attr_setschedparam;
29533 rm -f conftest.
$ac_objext conftest
$ac_exeext
29534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29535 (eval $ac_link) 2>&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } &&
29539 { ac_try
='test -s conftest$ac_exeext'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; }; then
29545 ac_cv_func_pthread_attr_setschedparam
=yes
29547 echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.
$ac_ext >&5
29550 ac_cv_func_pthread_attr_setschedparam
=no
29552 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29554 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29555 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29556 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29557 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29558 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29559 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29560 echo $ECHO_N "(cached) $ECHO_C" >&6
29562 cat >conftest.
$ac_ext <<_ACEOF
29563 #line $LINENO "configure"
29566 cat confdefs.h
>>conftest.
$ac_ext
29567 cat >>conftest.
$ac_ext <<_ACEOF
29568 /* end confdefs.h. */
29569 /* System header to define __stub macros and hopefully few prototypes,
29570 which can conflict with char sched_get_priority_max (); below.
29571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29572 <limits.h> exists even on freestanding compilers. */
29574 # include <limits.h>
29576 # include <assert.h>
29578 /* Override any gcc2 internal prototype to avoid an error. */
29583 /* We use char because int might match the return type of a gcc2
29584 builtin and then its argument prototype would still apply. */
29585 char sched_get_priority_max ();
29586 /* The GNU C library defines this for functions which it implements
29587 to always fail with ENOSYS. Some functions are actually named
29588 something starting with __ and the normal name is an alias. */
29589 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29592 char (*f) () = sched_get_priority_max;
29601 return f != sched_get_priority_max;
29606 rm -f conftest.
$ac_objext conftest
$ac_exeext
29607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29608 (eval $ac_link) 2>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try
='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 ac_cv_func_sched_get_priority_max
=yes
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.
$ac_ext >&5
29623 ac_cv_func_sched_get_priority_max
=no
29625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29627 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29628 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29629 if test $ac_cv_func_sched_get_priority_max = yes; then
29632 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29633 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29634 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29635 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 ac_check_lib_save_LIBS
=$LIBS
29638 LIBS
="-lposix4 $LIBS"
29639 cat >conftest.
$ac_ext <<_ACEOF
29640 #line $LINENO "configure"
29643 cat confdefs.h
>>conftest.
$ac_ext
29644 cat >>conftest.
$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29647 /* Override any gcc2 internal prototype to avoid an error. */
29651 /* We use char because int might match the return type of a gcc2
29652 builtin and then its argument prototype would still apply. */
29653 char sched_get_priority_max ();
29657 sched_get_priority_max ();
29662 rm -f conftest.
$ac_objext conftest
$ac_exeext
29663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29664 (eval $ac_link) 2>&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); } &&
29668 { ac_try
='test -s conftest$ac_exeext'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29674 ac_cv_lib_posix4_sched_get_priority_max
=yes
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.
$ac_ext >&5
29679 ac_cv_lib_posix4_sched_get_priority_max
=no
29681 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29682 LIBS
=$ac_check_lib_save_LIBS
29684 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29685 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29686 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29689 POSIX4_LINK
=" -lposix4"
29703 if test "$HAVE_PRIOR_FUNCS" = 1; then
29704 cat >>confdefs.h
<<\_ACEOF
29705 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29709 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29710 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29713 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29714 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29715 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29716 echo $ECHO_N "(cached) $ECHO_C" >&6
29718 cat >conftest.
$ac_ext <<_ACEOF
29719 #line $LINENO "configure"
29722 cat confdefs.h
>>conftest.
$ac_ext
29723 cat >>conftest.
$ac_ext <<_ACEOF
29724 /* end confdefs.h. */
29725 /* System header to define __stub macros and hopefully few prototypes,
29726 which can conflict with char pthread_cancel (); below.
29727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29728 <limits.h> exists even on freestanding compilers. */
29730 # include <limits.h>
29732 # include <assert.h>
29734 /* Override any gcc2 internal prototype to avoid an error. */
29739 /* We use char because int might match the return type of a gcc2
29740 builtin and then its argument prototype would still apply. */
29741 char pthread_cancel ();
29742 /* The GNU C library defines this for functions which it implements
29743 to always fail with ENOSYS. Some functions are actually named
29744 something starting with __ and the normal name is an alias. */
29745 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29748 char (*f) () = pthread_cancel;
29757 return f != pthread_cancel;
29762 rm -f conftest.
$ac_objext conftest
$ac_exeext
29763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29764 (eval $ac_link) 2>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try
='test -s conftest$ac_exeext'
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
29774 ac_cv_func_pthread_cancel
=yes
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.
$ac_ext >&5
29779 ac_cv_func_pthread_cancel
=no
29781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29783 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29784 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29785 if test $ac_cv_func_pthread_cancel = yes; then
29786 cat >>confdefs.h
<<\_ACEOF
29787 #define HAVE_PTHREAD_CANCEL 1
29791 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29792 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29796 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29797 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29798 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29802 cat >conftest.
$ac_ext <<_ACEOF
29803 #line $LINENO "configure"
29806 cat confdefs.h
>>conftest.
$ac_ext
29807 cat >>conftest.
$ac_ext <<_ACEOF
29808 /* end confdefs.h. */
29809 #include <pthread.h>
29814 pthread_cleanup_push(NULL, NULL);
29815 pthread_cleanup_pop(0);
29821 rm -f conftest.
$ac_objext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29823 (eval $ac_compile) 2>&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); } &&
29827 { ac_try
='test -s conftest.$ac_objext'
29828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29829 (eval $ac_try) 2>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); }; }; then
29834 wx_cv_func_pthread_cleanup_push
=yes
29837 echo "$as_me: failed program was:" >&5
29838 sed 's/^/| /' conftest.
$ac_ext >&5
29841 wx_cv_func_pthread_cleanup_push
=no
29844 rm -f conftest.
$ac_objext conftest.
$ac_ext
29847 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29848 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29850 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29851 cat >>confdefs.h
<<\_ACEOF
29852 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29858 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29859 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29860 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 cat >conftest.
$ac_ext <<_ACEOF
29865 #line $LINENO "configure"
29868 cat confdefs.h
>>conftest.
$ac_ext
29869 cat >>conftest.
$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29871 #include <pthread.h>
29876 pthread_mutexattr_t attr;
29877 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29883 rm -f conftest.
$ac_objext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29885 (eval $ac_compile) 2>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); } &&
29889 { ac_try
='test -s conftest.$ac_objext'
29890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29891 (eval $ac_try) 2>&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); }; }; then
29896 wx_cv_type_pthread_mutexattr_t
=yes
29899 echo "$as_me: failed program was:" >&5
29900 sed 's/^/| /' conftest.
$ac_ext >&5
29903 wx_cv_type_pthread_mutexattr_t
=no
29907 rm -f conftest.
$ac_objext conftest.
$ac_ext
29910 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29911 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29913 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29914 cat >>confdefs.h
<<\_ACEOF
29915 #define HAVE_PTHREAD_MUTEXATTR_T 1
29919 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29920 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29921 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29925 cat >conftest.
$ac_ext <<_ACEOF
29926 #line $LINENO "configure"
29929 cat confdefs.h
>>conftest.
$ac_ext
29930 cat >>conftest.
$ac_ext <<_ACEOF
29931 /* end confdefs.h. */
29932 #include <pthread.h>
29937 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29943 rm -f conftest.
$ac_objext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29945 (eval $ac_compile) 2>&5
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); } &&
29949 { ac_try
='test -s conftest.$ac_objext'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; }; then
29956 wx_cv_type_pthread_rec_mutex_init
=yes
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.
$ac_ext >&5
29963 wx_cv_type_pthread_rec_mutex_init
=no
29967 rm -f conftest.
$ac_objext conftest.
$ac_ext
29970 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29971 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29972 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29973 cat >>confdefs.h
<<\_ACEOF
29974 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29978 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29979 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29985 if test "$wxUSE_THREADS" = "yes" ; then
29988 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29989 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29990 if test "${wx_cv_cflags_mthread+set}" = set; then
29991 echo $ECHO_N "(cached) $ECHO_C" >&6
29994 CFLAGS_OLD
="$CFLAGS"
29995 CFLAGS
="$CFLAGS -mthreads"
29996 cat >conftest.
$ac_ext <<_ACEOF
29997 #line $LINENO "configure"
30000 cat confdefs.h
>>conftest.
$ac_ext
30001 cat >>conftest.
$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30012 rm -f conftest.
$ac_objext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30014 (eval $ac_compile) 2>&5
30016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017 (exit $ac_status); } &&
30018 { ac_try
='test -s conftest.$ac_objext'
30019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30020 (eval $ac_try) 2>&5
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); }; }; then
30024 wx_cv_cflags_mthread
=yes
30026 echo "$as_me: failed program was:" >&5
30027 sed 's/^/| /' conftest.
$ac_ext >&5
30029 wx_cv_cflags_mthread
=no
30032 rm -f conftest.
$ac_objext conftest.
$ac_ext
30036 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30037 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30039 if test "$wx_cv_cflags_mthread" = "yes"; then
30040 CXXFLAGS
="$CXXFLAGS -mthreads"
30041 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30042 LDFLAGS
="$LDFLAGS -mthreads"
30044 CFLAGS
="$CFLAGS_OLD"
30048 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30049 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30050 LDFLAGS
="$LDFLAGS -Zmt"
30056 if test "$wxUSE_THREADS" = "yes"; then
30057 cat >>confdefs.h
<<\_ACEOF
30058 #define wxUSE_THREADS 1
30062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30064 if test "$ac_cv_func_strtok_r" = "yes"; then
30065 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30066 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30067 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30068 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30069 echo "$as_me:$LINENO: result: yes" >&5
30070 echo "${ECHO_T}yes" >&6
30072 echo "$as_me:$LINENO: result: no" >&5
30073 echo "${ECHO_T}no" >&6
30078 if test "$WXGTK20" = 1 ; then
30079 cat >>confdefs.h
<<_ACEOF
30080 #define __WXGTK20__ $WXGTK20
30086 if test "$WXGTK12" = 1 ; then
30087 cat >>confdefs.h
<<_ACEOF
30088 #define __WXGTK12__ $WXGTK12
30093 if test "$WXGTK127" = 1 ; then
30094 cat >>confdefs.h
<<_ACEOF
30095 #define __WXGTK127__ $WXGTK127
30102 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30107 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30108 wxUSE_DEBUG_INFO
=yes
30112 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30113 cat >>confdefs.h
<<\_ACEOF
30117 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30119 if test "$wxUSE_GTK" = 1 ; then
30120 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30124 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30125 cat >>confdefs.h
<<\_ACEOF
30126 #define wxUSE_MEMORY_TRACING 1
30129 cat >>confdefs.h
<<\_ACEOF
30130 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30133 cat >>confdefs.h
<<\_ACEOF
30134 #define wxUSE_DEBUG_NEW_ALWAYS 1
30137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30140 if test "$wxUSE_DMALLOC" = "yes" ; then
30141 DMALLOC_LIBS
="-ldmalloc"
30145 if test "$wxUSE_PROFILE" = "yes" ; then
30150 CODE_GEN_FLAGS_CXX
=
30151 if test "$GCC" = "yes" ; then
30152 if test "$wxUSE_NO_RTTI" = "yes" ; then
30153 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30155 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30156 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30158 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30159 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30164 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30167 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30173 if test "$wxUSE_OPTIMISE" = "no" ; then
30174 if test "$GCC" = yes ; then
30178 if test "$GCC" = yes ; then
30182 i586
-*-*|i686
-*-* )
30183 OPTIMISE
="${OPTIMISE} "
30192 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30193 cat >>confdefs.h
<<\_ACEOF
30194 #define WXWIN_COMPATIBILITY_2_2 1
30198 WXWIN_COMPATIBILITY_2_4
="yes"
30201 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30202 cat >>confdefs.h
<<\_ACEOF
30203 #define WXWIN_COMPATIBILITY_2_4 1
30209 if test "$wxUSE_GUI" = "yes"; then
30210 cat >>confdefs.h
<<\_ACEOF
30211 #define wxUSE_GUI 1
30216 cat >>confdefs.h
<<\_ACEOF
30217 #define wxUSE_NOGUI 1
30223 if test "$wxUSE_UNIX" = "yes"; then
30224 cat >>confdefs.h
<<\_ACEOF
30225 #define wxUSE_UNIX 1
30231 if test "$wxUSE_STL" = "yes"; then
30232 cat >>confdefs.h
<<\_ACEOF
30233 #define wxUSE_STL 1
30238 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30239 cat >>confdefs.h
<<\_ACEOF
30240 #define wxUSE_APPLE_IEEE 1
30245 if test "$wxUSE_TIMER" = "yes"; then
30246 cat >>confdefs.h
<<\_ACEOF
30247 #define wxUSE_TIMER 1
30252 if test "$wxUSE_WAVE" = "yes"; then
30253 cat >>confdefs.h
<<\_ACEOF
30254 #define wxUSE_WAVE 1
30259 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30260 cat >>confdefs.h
<<\_ACEOF
30261 #define wxUSE_CMDLINE_PARSER 1
30266 if test "$wxUSE_STOPWATCH" = "yes"; then
30267 cat >>confdefs.h
<<\_ACEOF
30268 #define wxUSE_STOPWATCH 1
30273 if test "$wxUSE_DATETIME" = "yes"; then
30274 cat >>confdefs.h
<<\_ACEOF
30275 #define wxUSE_DATETIME 1
30280 if test "$wxUSE_FILE" = "yes"; then
30281 cat >>confdefs.h
<<\_ACEOF
30282 #define wxUSE_FILE 1
30287 if test "$wxUSE_FFILE" = "yes"; then
30288 cat >>confdefs.h
<<\_ACEOF
30289 #define wxUSE_FFILE 1
30294 if test "$wxUSE_FILESYSTEM" = "yes"; then
30295 cat >>confdefs.h
<<\_ACEOF
30296 #define wxUSE_FILESYSTEM 1
30301 if test "$wxUSE_FS_ZIP" = "yes"; then
30302 cat >>confdefs.h
<<\_ACEOF
30303 #define wxUSE_FS_ZIP 1
30308 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30309 cat >>confdefs.h
<<\_ACEOF
30310 #define wxUSE_ZIPSTREAM 1
30315 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30316 cat >>confdefs.h
<<\_ACEOF
30317 #define wxUSE_ON_FATAL_EXCEPTION 1
30322 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30323 cat >>confdefs.h
<<\_ACEOF
30324 #define wxUSE_SNGLINST_CHECKER 1
30329 if test "$wxUSE_BUSYINFO" = "yes"; then
30330 cat >>confdefs.h
<<\_ACEOF
30331 #define wxUSE_BUSYINFO 1
30336 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30337 cat >>confdefs.h
<<\_ACEOF
30338 #define wxUSE_STD_IOSTREAM 1
30343 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30344 cat >>confdefs.h
<<\_ACEOF
30345 #define wxUSE_TEXTBUFFER 1
30350 if test "$wxUSE_TEXTFILE" = "yes"; then
30351 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30352 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30353 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30355 cat >>confdefs.h
<<\_ACEOF
30356 #define wxUSE_TEXTFILE 1
30362 if test "$wxUSE_CONFIG" = "yes" ; then
30363 if test "$wxUSE_TEXTFILE" != "yes"; then
30364 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30365 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30367 cat >>confdefs.h
<<\_ACEOF
30368 #define wxUSE_CONFIG 1
30371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30375 if test "$wxUSE_INTL" = "yes" ; then
30376 if test "$wxUSE_FILE" != "yes"; then
30377 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30378 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30380 cat >>confdefs.h
<<\_ACEOF
30381 #define wxUSE_INTL 1
30384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30385 GUIDIST
="$GUIDIST INTL_DIST"
30389 if test "$wxUSE_LOG" = "yes"; then
30390 cat >>confdefs.h
<<\_ACEOF
30391 #define wxUSE_LOG 1
30395 if test "$wxUSE_LOGGUI" = "yes"; then
30396 cat >>confdefs.h
<<\_ACEOF
30397 #define wxUSE_LOGGUI 1
30402 if test "$wxUSE_LOGWINDOW" = "yes"; then
30403 cat >>confdefs.h
<<\_ACEOF
30404 #define wxUSE_LOGWINDOW 1
30409 if test "$wxUSE_LOGDIALOG" = "yes"; then
30410 cat >>confdefs.h
<<\_ACEOF
30411 #define wxUSE_LOG_DIALOG 1
30417 if test "$wxUSE_LONGLONG" = "yes"; then
30418 cat >>confdefs.h
<<\_ACEOF
30419 #define wxUSE_LONGLONG 1
30424 if test "$wxUSE_GEOMETRY" = "yes"; then
30425 cat >>confdefs.h
<<\_ACEOF
30426 #define wxUSE_GEOMETRY 1
30431 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30432 cat >>confdefs.h
<<\_ACEOF
30433 #define wxUSE_DIALUP_MANAGER 1
30436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30439 if test "$wxUSE_STREAMS" = "yes" ; then
30440 cat >>confdefs.h
<<\_ACEOF
30441 #define wxUSE_STREAMS 1
30447 if test "$wxUSE_DATETIME" = "yes"; then
30449 for ac_func
in strptime
30451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30452 echo "$as_me:$LINENO: checking for $ac_func" >&5
30453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30454 if eval "test \"\${$as_ac_var+set}\" = set"; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30457 cat >conftest.
$ac_ext <<_ACEOF
30458 #line $LINENO "configure"
30461 cat confdefs.h
>>conftest.
$ac_ext
30462 cat >>conftest.
$ac_ext <<_ACEOF
30463 /* end confdefs.h. */
30464 /* System header to define __stub macros and hopefully few prototypes,
30465 which can conflict with char $ac_func (); below.
30466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30467 <limits.h> exists even on freestanding compilers. */
30469 # include <limits.h>
30471 # include <assert.h>
30473 /* Override any gcc2 internal prototype to avoid an error. */
30478 /* We use char because int might match the return type of a gcc2
30479 builtin and then its argument prototype would still apply. */
30481 /* The GNU C library defines this for functions which it implements
30482 to always fail with ENOSYS. Some functions are actually named
30483 something starting with __ and the normal name is an alias. */
30484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30487 char (*f) () = $ac_func;
30496 return f != $ac_func;
30501 rm -f conftest.
$ac_objext conftest
$ac_exeext
30502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30503 (eval $ac_link) 2>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try
='test -s conftest$ac_exeext'
30508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 (eval $ac_try) 2>&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); }; }; then
30513 eval "$as_ac_var=yes"
30515 echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.
$ac_ext >&5
30518 eval "$as_ac_var=no"
30520 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30524 if test `eval echo '${'$as_ac_var'}'` = yes; then
30525 cat >>confdefs.h
<<_ACEOF
30526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30533 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30534 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30535 if test "${wx_cv_var_timezone+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30539 cat >conftest.
$ac_ext <<_ACEOF
30540 #line $LINENO "configure"
30543 cat confdefs.h
>>conftest.
$ac_ext
30544 cat >>conftest.
$ac_ext <<_ACEOF
30545 /* end confdefs.h. */
30560 rm -f conftest.
$ac_objext
30561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30562 (eval $ac_compile) 2>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } &&
30566 { ac_try
='test -s conftest.$ac_objext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30573 wx_cv_var_timezone
=timezone
30576 echo "$as_me: failed program was:" >&5
30577 sed 's/^/| /' conftest.
$ac_ext >&5
30580 cat >conftest.
$ac_ext <<_ACEOF
30581 #line $LINENO "configure"
30584 cat confdefs.h
>>conftest.
$ac_ext
30585 cat >>conftest.
$ac_ext <<_ACEOF
30586 /* end confdefs.h. */
30601 rm -f conftest.
$ac_objext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30603 (eval $ac_compile) 2>&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } &&
30607 { ac_try
='test -s conftest.$ac_objext'
30608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30609 (eval $ac_try) 2>&5
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); }; }; then
30614 wx_cv_var_timezone
=_timezone
30617 echo "$as_me: failed program was:" >&5
30618 sed 's/^/| /' conftest.
$ac_ext >&5
30621 cat >conftest.
$ac_ext <<_ACEOF
30622 #line $LINENO "configure"
30625 cat confdefs.h
>>conftest.
$ac_ext
30626 cat >>conftest.
$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30642 rm -f conftest.
$ac_objext
30643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30644 (eval $ac_compile) 2>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } &&
30648 { ac_try
='test -s conftest.$ac_objext'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; }; then
30655 wx_cv_var_timezone
=__timezone
30658 echo "$as_me: failed program was:" >&5
30659 sed 's/^/| /' conftest.
$ac_ext >&5
30662 if test "$USE_DOS" = 0 ; then
30663 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30664 echo "$as_me: WARNING: no timezone variable" >&2;}
30669 rm -f conftest.
$ac_objext conftest.
$ac_ext
30673 rm -f conftest.
$ac_objext conftest.
$ac_ext
30677 rm -f conftest.
$ac_objext conftest.
$ac_ext
30681 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30682 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30684 if test "x$wx_cv_var_timezone" != x
; then
30685 cat >>confdefs.h
<<_ACEOF
30686 #define WX_TIMEZONE $wx_cv_var_timezone
30692 for ac_func
in localtime
30694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 echo "$as_me:$LINENO: checking for $ac_func" >&5
30696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30697 if eval "test \"\${$as_ac_var+set}\" = set"; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 cat >conftest.
$ac_ext <<_ACEOF
30701 #line $LINENO "configure"
30704 cat confdefs.h
>>conftest.
$ac_ext
30705 cat >>conftest.
$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707 /* System header to define __stub macros and hopefully few prototypes,
30708 which can conflict with char $ac_func (); below.
30709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30710 <limits.h> exists even on freestanding compilers. */
30712 # include <limits.h>
30714 # include <assert.h>
30716 /* Override any gcc2 internal prototype to avoid an error. */
30721 /* We use char because int might match the return type of a gcc2
30722 builtin and then its argument prototype would still apply. */
30724 /* The GNU C library defines this for functions which it implements
30725 to always fail with ENOSYS. Some functions are actually named
30726 something starting with __ and the normal name is an alias. */
30727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30730 char (*f) () = $ac_func;
30739 return f != $ac_func;
30744 rm -f conftest.
$ac_objext conftest
$ac_exeext
30745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30746 (eval $ac_link) 2>&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } &&
30750 { ac_try
='test -s conftest$ac_exeext'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 eval "$as_ac_var=yes"
30758 echo "$as_me: failed program was:" >&5
30759 sed 's/^/| /' conftest.
$ac_ext >&5
30761 eval "$as_ac_var=no"
30763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30767 if test `eval echo '${'$as_ac_var'}'` = yes; then
30768 cat >>confdefs.h
<<_ACEOF
30769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30776 if test "$ac_cv_func_localtime" = "yes"; then
30777 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30778 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30779 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30783 cat >conftest.
$ac_ext <<_ACEOF
30784 #line $LINENO "configure"
30787 cat confdefs.h
>>conftest.
$ac_ext
30788 cat >>conftest.
$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30804 rm -f conftest.
$ac_objext
30805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30806 (eval $ac_compile) 2>&5
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); } &&
30810 { ac_try
='test -s conftest.$ac_objext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30817 wx_cv_struct_tm_has_gmtoff
=yes
30820 echo "$as_me: failed program was:" >&5
30821 sed 's/^/| /' conftest.
$ac_ext >&5
30823 wx_cv_struct_tm_has_gmtoff
=no
30826 rm -f conftest.
$ac_objext conftest.
$ac_ext
30829 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30830 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30833 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30834 cat >>confdefs.h
<<\_ACEOF
30835 #define WX_GMTOFF_IN_TM 1
30842 for ac_func
in gettimeofday ftime
30844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30845 echo "$as_me:$LINENO: checking for $ac_func" >&5
30846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30847 if eval "test \"\${$as_ac_var+set}\" = set"; then
30848 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 cat >conftest.
$ac_ext <<_ACEOF
30851 #line $LINENO "configure"
30854 cat confdefs.h
>>conftest.
$ac_ext
30855 cat >>conftest.
$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30857 /* System header to define __stub macros and hopefully few prototypes,
30858 which can conflict with char $ac_func (); below.
30859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30860 <limits.h> exists even on freestanding compilers. */
30862 # include <limits.h>
30864 # include <assert.h>
30866 /* Override any gcc2 internal prototype to avoid an error. */
30871 /* We use char because int might match the return type of a gcc2
30872 builtin and then its argument prototype would still apply. */
30874 /* The GNU C library defines this for functions which it implements
30875 to always fail with ENOSYS. Some functions are actually named
30876 something starting with __ and the normal name is an alias. */
30877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30880 char (*f) () = $ac_func;
30889 return f != $ac_func;
30894 rm -f conftest.
$ac_objext conftest
$ac_exeext
30895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30896 (eval $ac_link) 2>&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); } &&
30900 { ac_try
='test -s conftest$ac_exeext'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; }; then
30906 eval "$as_ac_var=yes"
30908 echo "$as_me: failed program was:" >&5
30909 sed 's/^/| /' conftest.
$ac_ext >&5
30911 eval "$as_ac_var=no"
30913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30917 if test `eval echo '${'$as_ac_var'}'` = yes; then
30918 cat >>confdefs.h
<<_ACEOF
30919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30926 if test "$ac_cv_func_gettimeofday" = "yes"; then
30927 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30928 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30929 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 ac_cpp
='$CXXCPP $CPPFLAGS'
30937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30942 cat >conftest.
$ac_ext <<_ACEOF
30943 #line $LINENO "configure"
30946 cat confdefs.h
>>conftest.
$ac_ext
30947 cat >>conftest.
$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30950 #include <sys/time.h>
30951 #include <unistd.h>
30958 gettimeofday(&tv, NULL);
30964 rm -f conftest.
$ac_objext
30965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30966 (eval $ac_compile) 2>&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } &&
30970 { ac_try
='test -s conftest.$ac_objext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 wx_cv_func_gettimeofday_has_2_args
=yes
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.
$ac_ext >&5
30981 cat >conftest.
$ac_ext <<_ACEOF
30982 #line $LINENO "configure"
30985 cat confdefs.h
>>conftest.
$ac_ext
30986 cat >>conftest.
$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30989 #include <sys/time.h>
30990 #include <unistd.h>
31003 rm -f conftest.
$ac_objext
31004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31005 (eval $ac_compile) 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } &&
31009 { ac_try
='test -s conftest.$ac_objext'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; }; then
31015 wx_cv_func_gettimeofday_has_2_args
=no
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.
$ac_ext >&5
31021 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31022 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31023 wx_cv_func_gettimeofday_has_2_args
=unknown
31027 rm -f conftest.
$ac_objext conftest.
$ac_ext
31030 rm -f conftest.
$ac_objext conftest.
$ac_ext
31032 ac_cpp
='$CPP $CPPFLAGS'
31033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31039 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31040 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31042 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31043 cat >>confdefs.h
<<\_ACEOF
31044 #define WX_GETTIMEOFDAY_NO_TZ 1
31050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31054 if test "$wxUSE_SOCKETS" = "yes"; then
31055 if test "$wxUSE_MGL" = "1"; then
31056 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31057 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31060 if test "$wxUSE_COCOA" = "1"; then
31061 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31062 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31067 if test "$wxUSE_SOCKETS" = "yes"; then
31068 if test "$TOOLKIT" != "MSW"; then
31069 echo "$as_me:$LINENO: checking for socket" >&5
31070 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31071 if test "${ac_cv_func_socket+set}" = set; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31074 cat >conftest.
$ac_ext <<_ACEOF
31075 #line $LINENO "configure"
31078 cat confdefs.h
>>conftest.
$ac_ext
31079 cat >>conftest.
$ac_ext <<_ACEOF
31080 /* end confdefs.h. */
31081 /* System header to define __stub macros and hopefully few prototypes,
31082 which can conflict with char socket (); below.
31083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31084 <limits.h> exists even on freestanding compilers. */
31086 # include <limits.h>
31088 # include <assert.h>
31090 /* Override any gcc2 internal prototype to avoid an error. */
31095 /* We use char because int might match the return type of a gcc2
31096 builtin and then its argument prototype would still apply. */
31098 /* The GNU C library defines this for functions which it implements
31099 to always fail with ENOSYS. Some functions are actually named
31100 something starting with __ and the normal name is an alias. */
31101 #if defined (__stub_socket) || defined (__stub___socket)
31104 char (*f) () = socket;
31113 return f != socket;
31118 rm -f conftest.
$ac_objext conftest
$ac_exeext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31120 (eval $ac_link) 2>&5
31122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31123 (exit $ac_status); } &&
31124 { ac_try
='test -s conftest$ac_exeext'
31125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31126 (eval $ac_try) 2>&5
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); }; }; then
31130 ac_cv_func_socket
=yes
31132 echo "$as_me: failed program was:" >&5
31133 sed 's/^/| /' conftest.
$ac_ext >&5
31135 ac_cv_func_socket
=no
31137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31139 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31140 echo "${ECHO_T}$ac_cv_func_socket" >&6
31141 if test $ac_cv_func_socket = yes; then
31145 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31146 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31147 if test "${ac_cv_lib_socket_socket+set}" = set; then
31148 echo $ECHO_N "(cached) $ECHO_C" >&6
31150 ac_check_lib_save_LIBS
=$LIBS
31151 LIBS
="-lsocket $LIBS"
31152 cat >conftest.
$ac_ext <<_ACEOF
31153 #line $LINENO "configure"
31156 cat confdefs.h
>>conftest.
$ac_ext
31157 cat >>conftest.
$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31160 /* Override any gcc2 internal prototype to avoid an error. */
31164 /* We use char because int might match the return type of a gcc2
31165 builtin and then its argument prototype would still apply. */
31175 rm -f conftest.
$ac_objext conftest
$ac_exeext
31176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31177 (eval $ac_link) 2>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } &&
31181 { ac_try
='test -s conftest$ac_exeext'
31182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31183 (eval $ac_try) 2>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; }; then
31187 ac_cv_lib_socket_socket
=yes
31189 echo "$as_me: failed program was:" >&5
31190 sed 's/^/| /' conftest.
$ac_ext >&5
31192 ac_cv_lib_socket_socket
=no
31194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31195 LIBS
=$ac_check_lib_save_LIBS
31197 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31198 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31199 if test $ac_cv_lib_socket_socket = yes; then
31200 if test "$INET_LINK" != " -lsocket"; then
31201 INET_LINK
="$INET_LINK -lsocket"
31205 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31206 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31219 if test "$wxUSE_SOCKETS" = "yes" ; then
31220 if test "$TOOLKIT" != "MSW"; then
31221 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31222 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31223 if test "${wx_cv_type_getsockname3+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31227 cat >conftest.
$ac_ext <<_ACEOF
31228 #line $LINENO "configure"
31231 cat confdefs.h
>>conftest.
$ac_ext
31232 cat >>conftest.
$ac_ext <<_ACEOF
31233 /* end confdefs.h. */
31235 #include <sys/types.h>
31236 #include <sys/socket.h>
31243 getsockname(0, 0, &len);
31249 rm -f conftest.
$ac_objext
31250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31251 (eval $ac_compile) 2>&5
31253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254 (exit $ac_status); } &&
31255 { ac_try
='test -s conftest.$ac_objext'
31256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31257 (eval $ac_try) 2>&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; }; then
31261 wx_cv_type_getsockname3
=socklen_t
31263 echo "$as_me: failed program was:" >&5
31264 sed 's/^/| /' conftest.
$ac_ext >&5
31267 CFLAGS_OLD
="$CFLAGS"
31268 if test "$GCC" = yes ; then
31269 CFLAGS
="$CFLAGS -Werror"
31272 cat >conftest.
$ac_ext <<_ACEOF
31273 #line $LINENO "configure"
31276 cat confdefs.h
>>conftest.
$ac_ext
31277 cat >>conftest.
$ac_ext <<_ACEOF
31278 /* end confdefs.h. */
31280 #include <sys/types.h>
31281 #include <sys/socket.h>
31288 getsockname(0, 0, &len);
31294 rm -f conftest.
$ac_objext
31295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31296 (eval $ac_compile) 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } &&
31300 { ac_try
='test -s conftest.$ac_objext'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; }; then
31306 wx_cv_type_getsockname3
=size_t
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.
$ac_ext >&5
31311 cat >conftest.
$ac_ext <<_ACEOF
31312 #line $LINENO "configure"
31315 cat confdefs.h
>>conftest.
$ac_ext
31316 cat >>conftest.
$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31319 #include <sys/types.h>
31320 #include <sys/socket.h>
31327 getsockname(0, 0, &len);
31333 rm -f conftest.
$ac_objext
31334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31335 (eval $ac_compile) 2>&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); } &&
31339 { ac_try
='test -s conftest.$ac_objext'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; }; then
31345 wx_cv_type_getsockname3
=int
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.
$ac_ext >&5
31350 wx_cv_type_getsockname3
=unknown
31353 rm -f conftest.
$ac_objext conftest.
$ac_ext
31356 rm -f conftest.
$ac_objext conftest.
$ac_ext
31358 CFLAGS
="$CFLAGS_OLD"
31362 rm -f conftest.
$ac_objext conftest.
$ac_ext
31365 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31366 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31368 if test "$wx_cv_type_getsockname3" = "unknown"; then
31370 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31371 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31373 cat >>confdefs.h
<<_ACEOF
31374 #define SOCKLEN_T $wx_cv_type_getsockname3
31381 if test "$wxUSE_SOCKETS" = "yes" ; then
31382 cat >>confdefs.h
<<\_ACEOF
31383 #define wxUSE_SOCKETS 1
31386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31389 if test "$wxUSE_PROTOCOL" = "yes"; then
31390 if test "$wxUSE_SOCKETS" != "yes"; then
31391 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31392 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31397 if test "$wxUSE_PROTOCOL" = "yes"; then
31398 cat >>confdefs.h
<<\_ACEOF
31399 #define wxUSE_PROTOCOL 1
31403 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31404 cat >>confdefs.h
<<\_ACEOF
31405 #define wxUSE_PROTOCOL_HTTP 1
31409 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31410 cat >>confdefs.h
<<\_ACEOF
31411 #define wxUSE_PROTOCOL_FTP 1
31415 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31416 cat >>confdefs.h
<<\_ACEOF
31417 #define wxUSE_PROTOCOL_FILE 1
31422 if test "$wxUSE_FS_INET" = "yes"; then
31423 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31424 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31429 if test "$wxUSE_URL" = "yes"; then
31430 if test "$wxUSE_PROTOCOL" != "yes"; then
31431 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31432 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31435 if test "$wxUSE_URL" = "yes"; then
31436 cat >>confdefs.h
<<\_ACEOF
31437 #define wxUSE_URL 1
31443 if test "$wxUSE_FS_INET" = "yes"; then
31444 cat >>confdefs.h
<<\_ACEOF
31445 #define wxUSE_FS_INET 1
31451 if test "$wxUSE_GUI" = "yes"; then
31453 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31454 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31455 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31459 if test "$TOOLKIT" != "MSW"; then
31460 if test "$wxUSE_JOYSTICK" = "yes"; then
31462 for ac_header
in linux
/joystick.h
31464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31466 echo "$as_me:$LINENO: checking for $ac_header" >&5
31467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31469 echo $ECHO_N "(cached) $ECHO_C" >&6
31471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31474 # Is the header compilable?
31475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31477 cat >conftest.
$ac_ext <<_ACEOF
31478 #line $LINENO "configure"
31481 cat confdefs.h
>>conftest.
$ac_ext
31482 cat >>conftest.
$ac_ext <<_ACEOF
31483 /* end confdefs.h. */
31484 $ac_includes_default
31485 #include <$ac_header>
31487 rm -f conftest.
$ac_objext
31488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31489 (eval $ac_compile) 2>&5
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); } &&
31493 { ac_try
='test -s conftest.$ac_objext'
31494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31495 (eval $ac_try) 2>&5
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; }; then
31499 ac_header_compiler
=yes
31501 echo "$as_me: failed program was:" >&5
31502 sed 's/^/| /' conftest.
$ac_ext >&5
31504 ac_header_compiler
=no
31506 rm -f conftest.
$ac_objext conftest.
$ac_ext
31507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31508 echo "${ECHO_T}$ac_header_compiler" >&6
31510 # Is the header present?
31511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31513 cat >conftest.
$ac_ext <<_ACEOF
31514 #line $LINENO "configure"
31517 cat confdefs.h
>>conftest.
$ac_ext
31518 cat >>conftest.
$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520 #include <$ac_header>
31522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31525 grep -v '^ *+' conftest.er1
>conftest.err
31527 cat conftest.err
>&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); } >/dev
/null
; then
31530 if test -s conftest.err
; then
31531 ac_cpp_err
=$ac_c_preproc_warn_flag
31538 if test -z "$ac_cpp_err"; then
31539 ac_header_preproc
=yes
31541 echo "$as_me: failed program was:" >&5
31542 sed 's/^/| /' conftest.
$ac_ext >&5
31544 ac_header_preproc
=no
31546 rm -f conftest.err conftest.
$ac_ext
31547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31548 echo "${ECHO_T}$ac_header_preproc" >&6
31550 # So? What about this header?
31551 case $ac_header_compiler:$ac_header_preproc in
31553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31559 ## ------------------------------------ ##
31560 ## Report this to bug-autoconf@gnu.org. ##
31561 ## ------------------------------------ ##
31564 sed "s/^/$as_me: WARNING: /" >&2
31567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31575 ## ------------------------------------ ##
31576 ## Report this to bug-autoconf@gnu.org. ##
31577 ## ------------------------------------ ##
31580 sed "s/^/$as_me: WARNING: /" >&2
31583 echo "$as_me:$LINENO: checking for $ac_header" >&5
31584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31586 echo $ECHO_N "(cached) $ECHO_C" >&6
31588 eval "$as_ac_Header=$ac_header_preproc"
31590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31595 cat >>confdefs.h
<<_ACEOF
31596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31603 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31605 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31606 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31611 if test "$wxUSE_JOYSTICK" = "yes"; then
31612 cat >>confdefs.h
<<\_ACEOF
31613 #define wxUSE_JOYSTICK 1
31616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31621 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31625 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31626 if test "$USE_DARWIN" = 1; then
31630 for ac_func
in dlopen
31632 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31633 echo "$as_me:$LINENO: checking for $ac_func" >&5
31634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31635 if eval "test \"\${$as_ac_var+set}\" = set"; then
31636 echo $ECHO_N "(cached) $ECHO_C" >&6
31638 cat >conftest.
$ac_ext <<_ACEOF
31639 #line $LINENO "configure"
31642 cat confdefs.h
>>conftest.
$ac_ext
31643 cat >>conftest.
$ac_ext <<_ACEOF
31644 /* end confdefs.h. */
31645 /* System header to define __stub macros and hopefully few prototypes,
31646 which can conflict with char $ac_func (); below.
31647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31648 <limits.h> exists even on freestanding compilers. */
31650 # include <limits.h>
31652 # include <assert.h>
31654 /* Override any gcc2 internal prototype to avoid an error. */
31659 /* We use char because int might match the return type of a gcc2
31660 builtin and then its argument prototype would still apply. */
31662 /* The GNU C library defines this for functions which it implements
31663 to always fail with ENOSYS. Some functions are actually named
31664 something starting with __ and the normal name is an alias. */
31665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31668 char (*f) () = $ac_func;
31677 return f != $ac_func;
31682 rm -f conftest.
$ac_objext conftest
$ac_exeext
31683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31684 (eval $ac_link) 2>&5
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); } &&
31688 { ac_try
='test -s conftest$ac_exeext'
31689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690 (eval $ac_try) 2>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; }; then
31694 eval "$as_ac_var=yes"
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.
$ac_ext >&5
31699 eval "$as_ac_var=no"
31701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31705 if test `eval echo '${'$as_ac_var'}'` = yes; then
31706 cat >>confdefs.h
<<_ACEOF
31707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31710 cat >>confdefs.h
<<\_ACEOF
31711 #define HAVE_DLOPEN 1
31718 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31719 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31720 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 ac_check_lib_save_LIBS
=$LIBS
31725 cat >conftest.
$ac_ext <<_ACEOF
31726 #line $LINENO "configure"
31729 cat confdefs.h
>>conftest.
$ac_ext
31730 cat >>conftest.
$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31733 /* Override any gcc2 internal prototype to avoid an error. */
31737 /* We use char because int might match the return type of a gcc2
31738 builtin and then its argument prototype would still apply. */
31748 rm -f conftest.
$ac_objext conftest
$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750 (eval $ac_link) 2>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } &&
31754 { ac_try
='test -s conftest$ac_exeext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760 ac_cv_lib_dl_dlopen
=yes
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.
$ac_ext >&5
31765 ac_cv_lib_dl_dlopen
=no
31767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31768 LIBS
=$ac_check_lib_save_LIBS
31770 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31771 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31772 if test $ac_cv_lib_dl_dlopen = yes; then
31774 cat >>confdefs.h
<<\_ACEOF
31775 #define HAVE_DLOPEN 1
31779 DL_LINK
=" -ldl$DL_LINK"
31784 for ac_func
in shl_load
31786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31787 echo "$as_me:$LINENO: checking for $ac_func" >&5
31788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31789 if eval "test \"\${$as_ac_var+set}\" = set"; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 cat >conftest.
$ac_ext <<_ACEOF
31793 #line $LINENO "configure"
31796 cat confdefs.h
>>conftest.
$ac_ext
31797 cat >>conftest.
$ac_ext <<_ACEOF
31798 /* end confdefs.h. */
31799 /* System header to define __stub macros and hopefully few prototypes,
31800 which can conflict with char $ac_func (); below.
31801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31802 <limits.h> exists even on freestanding compilers. */
31804 # include <limits.h>
31806 # include <assert.h>
31808 /* Override any gcc2 internal prototype to avoid an error. */
31813 /* We use char because int might match the return type of a gcc2
31814 builtin and then its argument prototype would still apply. */
31816 /* The GNU C library defines this for functions which it implements
31817 to always fail with ENOSYS. Some functions are actually named
31818 something starting with __ and the normal name is an alias. */
31819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31822 char (*f) () = $ac_func;
31831 return f != $ac_func;
31836 rm -f conftest.
$ac_objext conftest
$ac_exeext
31837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31838 (eval $ac_link) 2>&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); } &&
31842 { ac_try
='test -s conftest$ac_exeext'
31843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31844 (eval $ac_try) 2>&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); }; }; then
31848 eval "$as_ac_var=yes"
31850 echo "$as_me: failed program was:" >&5
31851 sed 's/^/| /' conftest.
$ac_ext >&5
31853 eval "$as_ac_var=no"
31855 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31859 if test `eval echo '${'$as_ac_var'}'` = yes; then
31860 cat >>confdefs.h
<<_ACEOF
31861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31864 cat >>confdefs.h
<<\_ACEOF
31865 #define HAVE_SHL_LOAD 1
31872 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31873 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31874 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31875 echo $ECHO_N "(cached) $ECHO_C" >&6
31877 ac_check_lib_save_LIBS
=$LIBS
31878 LIBS
="-lshl_load $LIBS"
31879 cat >conftest.
$ac_ext <<_ACEOF
31880 #line $LINENO "configure"
31883 cat confdefs.h
>>conftest.
$ac_ext
31884 cat >>conftest.
$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31887 /* Override any gcc2 internal prototype to avoid an error. */
31891 /* We use char because int might match the return type of a gcc2
31892 builtin and then its argument prototype would still apply. */
31902 rm -f conftest.
$ac_objext conftest
$ac_exeext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31904 (eval $ac_link) 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } &&
31908 { ac_try
='test -s conftest$ac_exeext'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; }; then
31914 ac_cv_lib_shl_load_dld
=yes
31916 echo "$as_me: failed program was:" >&5
31917 sed 's/^/| /' conftest.
$ac_ext >&5
31919 ac_cv_lib_shl_load_dld
=no
31921 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31922 LIBS
=$ac_check_lib_save_LIBS
31924 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31925 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31926 if test $ac_cv_lib_shl_load_dld = yes; then
31929 DL_LINK
=" -ldld$DL_LINK"
31945 if test "$HAVE_DL_FUNCS" = 1; then
31947 for ac_func
in dlerror
31949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31950 echo "$as_me:$LINENO: checking for $ac_func" >&5
31951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31952 if eval "test \"\${$as_ac_var+set}\" = set"; then
31953 echo $ECHO_N "(cached) $ECHO_C" >&6
31955 cat >conftest.
$ac_ext <<_ACEOF
31956 #line $LINENO "configure"
31959 cat confdefs.h
>>conftest.
$ac_ext
31960 cat >>conftest.
$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31962 /* System header to define __stub macros and hopefully few prototypes,
31963 which can conflict with char $ac_func (); below.
31964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31965 <limits.h> exists even on freestanding compilers. */
31967 # include <limits.h>
31969 # include <assert.h>
31971 /* Override any gcc2 internal prototype to avoid an error. */
31976 /* We use char because int might match the return type of a gcc2
31977 builtin and then its argument prototype would still apply. */
31979 /* The GNU C library defines this for functions which it implements
31980 to always fail with ENOSYS. Some functions are actually named
31981 something starting with __ and the normal name is an alias. */
31982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31985 char (*f) () = $ac_func;
31994 return f != $ac_func;
31999 rm -f conftest.
$ac_objext conftest
$ac_exeext
32000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32001 (eval $ac_link) 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try
='test -s conftest$ac_exeext'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; }; then
32011 eval "$as_ac_var=yes"
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.
$ac_ext >&5
32016 eval "$as_ac_var=no"
32018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32022 if test `eval echo '${'$as_ac_var'}'` = yes; then
32023 cat >>confdefs.h
<<_ACEOF
32024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32026 cat >>confdefs.h
<<\_ACEOF
32027 #define HAVE_DLERROR 1
32032 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32033 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32034 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32035 echo $ECHO_N "(cached) $ECHO_C" >&6
32037 ac_check_lib_save_LIBS
=$LIBS
32039 cat >conftest.
$ac_ext <<_ACEOF
32040 #line $LINENO "configure"
32043 cat confdefs.h
>>conftest.
$ac_ext
32044 cat >>conftest.
$ac_ext <<_ACEOF
32045 /* end confdefs.h. */
32047 /* Override any gcc2 internal prototype to avoid an error. */
32051 /* We use char because int might match the return type of a gcc2
32052 builtin and then its argument prototype would still apply. */
32062 rm -f conftest.
$ac_objext conftest
$ac_exeext
32063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32064 (eval $ac_link) 2>&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); } &&
32068 { ac_try
='test -s conftest$ac_exeext'
32069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32070 (eval $ac_try) 2>&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; }; then
32074 ac_cv_lib_dl_dlerror
=yes
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.
$ac_ext >&5
32079 ac_cv_lib_dl_dlerror
=no
32081 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32082 LIBS
=$ac_check_lib_save_LIBS
32084 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32085 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32086 if test $ac_cv_lib_dl_dlerror = yes; then
32087 cat >>confdefs.h
<<\_ACEOF
32088 #define HAVE_DLERROR 1
32101 if test "$HAVE_DL_FUNCS" = 0; then
32102 if test "$HAVE_SHL_FUNCS" = 0; then
32103 if test "$USE_UNIX" = 1; then
32104 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32105 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32106 wxUSE_DYNAMIC_LOADER
=no
32107 wxUSE_DYNLIB_CLASS
=no
32109 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32110 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32117 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32118 cat >>confdefs.h
<<\_ACEOF
32119 #define wxUSE_DYNAMIC_LOADER 1
32123 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32124 cat >>confdefs.h
<<\_ACEOF
32125 #define wxUSE_DYNLIB_CLASS 1
32131 if test "$wxUSE_FONTMAP" = "yes" ; then
32132 cat >>confdefs.h
<<\_ACEOF
32133 #define wxUSE_FONTMAP 1
32138 if test "$wxUSE_UNICODE" = "yes" ; then
32139 cat >>confdefs.h
<<\_ACEOF
32140 #define wxUSE_UNICODE 1
32144 if test "$USE_WIN32" != 1; then
32145 wxUSE_UNICODE_MSLU
=no
32148 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32149 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32150 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32151 if test "${ac_cv_lib_unicows_main+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 ac_check_lib_save_LIBS
=$LIBS
32155 LIBS
="-lunicows $LIBS"
32156 cat >conftest.
$ac_ext <<_ACEOF
32157 #line $LINENO "configure"
32160 cat confdefs.h
>>conftest.
$ac_ext
32161 cat >>conftest.
$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32173 rm -f conftest.
$ac_objext conftest
$ac_exeext
32174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32175 (eval $ac_link) 2>&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } &&
32179 { ac_try
='test -s conftest$ac_exeext'
32180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32181 (eval $ac_try) 2>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); }; }; then
32185 ac_cv_lib_unicows_main
=yes
32187 echo "$as_me: failed program was:" >&5
32188 sed 's/^/| /' conftest.
$ac_ext >&5
32190 ac_cv_lib_unicows_main
=no
32192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32193 LIBS
=$ac_check_lib_save_LIBS
32195 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32196 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32197 if test $ac_cv_lib_unicows_main = yes; then
32199 cat >>confdefs.h
<<\_ACEOF
32200 #define wxUSE_UNICODE_MSLU 1
32206 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32207 Applications will only run on Windows NT/2000/XP!" >&5
32208 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32209 Applications will only run on Windows NT/2000/XP!" >&2;}
32210 wxUSE_UNICODE_MSLU
=no
32217 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32218 cat >>confdefs.h
<<\_ACEOF
32219 #define wxUSE_EXPERIMENTAL_PRINTF 1
32225 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32226 cat >>confdefs.h
<<\_ACEOF
32227 #define wxUSE_POSTSCRIPT 1
32232 cat >>confdefs.h
<<\_ACEOF
32233 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32237 cat >>confdefs.h
<<\_ACEOF
32238 #define wxUSE_NORMALIZED_PS_FONTS 1
32243 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32244 cat >>confdefs.h
<<\_ACEOF
32245 #define wxUSE_CONSTRAINTS 1
32248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32251 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32252 cat >>confdefs.h
<<\_ACEOF
32253 #define wxUSE_MDI_ARCHITECTURE 1
32256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32259 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32260 cat >>confdefs.h
<<\_ACEOF
32261 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32265 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32270 if test "$wxUSE_HELP" = "yes"; then
32271 cat >>confdefs.h
<<\_ACEOF
32272 #define wxUSE_HELP 1
32275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32277 if test "$wxUSE_MSW" = 1; then
32278 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32279 cat >>confdefs.h
<<\_ACEOF
32280 #define wxUSE_MS_HTML_HELP 1
32286 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32287 if test "$wxUSE_HTML" = "yes"; then
32288 cat >>confdefs.h
<<\_ACEOF
32289 #define wxUSE_WXHTML_HELP 1
32293 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32294 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32295 wxUSE_WXHTML_HELP
=no
32300 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32301 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32302 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32303 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32305 cat >>confdefs.h
<<\_ACEOF
32306 #define wxUSE_PRINTING_ARCHITECTURE 1
32310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32313 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32314 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32315 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32316 { (exit 1); exit 1; }; }
32320 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32321 -o "$wxUSE_CLIPBOARD" = "yes" \
32322 -o "$wxUSE_OLE" = "yes" \
32323 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32325 for ac_header
in ole2.h
32327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32329 echo "$as_me:$LINENO: checking for $ac_header" >&5
32330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32337 # Is the header compilable?
32338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32340 cat >conftest.
$ac_ext <<_ACEOF
32341 #line $LINENO "configure"
32344 cat confdefs.h
>>conftest.
$ac_ext
32345 cat >>conftest.
$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32347 $ac_includes_default
32348 #include <$ac_header>
32350 rm -f conftest.
$ac_objext
32351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32352 (eval $ac_compile) 2>&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); } &&
32356 { ac_try
='test -s conftest.$ac_objext'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; }; then
32362 ac_header_compiler
=yes
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.
$ac_ext >&5
32367 ac_header_compiler
=no
32369 rm -f conftest.
$ac_objext conftest.
$ac_ext
32370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32371 echo "${ECHO_T}$ac_header_compiler" >&6
32373 # Is the header present?
32374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32376 cat >conftest.
$ac_ext <<_ACEOF
32377 #line $LINENO "configure"
32380 cat confdefs.h
>>conftest.
$ac_ext
32381 cat >>conftest.
$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32383 #include <$ac_header>
32385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32388 grep -v '^ *+' conftest.er1
>conftest.err
32390 cat conftest.err
>&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); } >/dev
/null
; then
32393 if test -s conftest.err
; then
32394 ac_cpp_err
=$ac_c_preproc_warn_flag
32401 if test -z "$ac_cpp_err"; then
32402 ac_header_preproc
=yes
32404 echo "$as_me: failed program was:" >&5
32405 sed 's/^/| /' conftest.
$ac_ext >&5
32407 ac_header_preproc
=no
32409 rm -f conftest.err conftest.
$ac_ext
32410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32411 echo "${ECHO_T}$ac_header_preproc" >&6
32413 # So? What about this header?
32414 case $ac_header_compiler:$ac_header_preproc in
32416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32422 ## ------------------------------------ ##
32423 ## Report this to bug-autoconf@gnu.org. ##
32424 ## ------------------------------------ ##
32427 sed "s/^/$as_me: WARNING: /" >&2
32430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32438 ## ------------------------------------ ##
32439 ## Report this to bug-autoconf@gnu.org. ##
32440 ## ------------------------------------ ##
32443 sed "s/^/$as_me: WARNING: /" >&2
32446 echo "$as_me:$LINENO: checking for $ac_header" >&5
32447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32449 echo $ECHO_N "(cached) $ECHO_C" >&6
32451 eval "$as_ac_Header=$ac_header_preproc"
32453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32458 cat >>confdefs.h
<<_ACEOF
32459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32467 if test "$ac_cv_header_ole2_h" = "yes" ; then
32468 if test "$GCC" = yes ; then
32472 ac_cpp
='$CXXCPP $CPPFLAGS'
32473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32478 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32479 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32480 cat >conftest.
$ac_ext <<_ACEOF
32481 #line $LINENO "configure"
32484 cat confdefs.h
>>conftest.
$ac_ext
32485 cat >>conftest.
$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 #include <windows.h>
32497 rm -f conftest.
$ac_objext
32498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32499 (eval $ac_compile) 2>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } &&
32503 { ac_try
='test -s conftest.$ac_objext'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; }; then
32509 echo "$as_me:$LINENO: result: no" >&5
32510 echo "${ECHO_T}no" >&6
32512 echo "$as_me: failed program was:" >&5
32513 sed 's/^/| /' conftest.
$ac_ext >&5
32515 echo "$as_me:$LINENO: result: yes" >&5
32516 echo "${ECHO_T}yes" >&6
32517 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32519 rm -f conftest.
$ac_objext conftest.
$ac_ext
32521 ac_cpp
='$CPP $CPPFLAGS'
32522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32526 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32527 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32528 cat >>confdefs.h
<<\_ACEOF
32529 #define wxUSE_OLE 1
32535 cat >>confdefs.h
<<\_ACEOF
32536 #define wxUSE_DATAOBJ 1
32540 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32541 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32544 wxUSE_DRAG_AND_DROP
=no
32549 if test "$wxUSE_METAFILE" = "yes"; then
32550 cat >>confdefs.h
<<\_ACEOF
32551 #define wxUSE_METAFILE 1
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_ENH_METAFILE 1
32562 if test "$wxUSE_IPC" = "yes"; then
32563 if test "$wxUSE_SOCKETS" != "yes"; then
32564 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32565 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32568 cat >>confdefs.h
<<\_ACEOF
32569 #define wxUSE_IPC 1
32574 if test "$wxUSE_CLIPBOARD" = "yes"; then
32575 if test "$wxUSE_MGL" = 1; then
32576 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32577 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32581 if test "$wxUSE_CLIPBOARD" = "yes"; then
32582 cat >>confdefs.h
<<\_ACEOF
32583 #define wxUSE_CLIPBOARD 1
32587 cat >>confdefs.h
<<\_ACEOF
32588 #define wxUSE_DATAOBJ 1
32594 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32595 if test "$wxUSE_GTK" = 1; then
32596 if test "$WXGTK12" != 1; then
32597 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32598 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32599 wxUSE_DRAG_AND_DROP
=no
32603 if test "$wxUSE_MOTIF" = 1; then
32604 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32605 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32606 wxUSE_DRAG_AND_DROP
=no
32609 if test "$wxUSE_X11" = 1; then
32610 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32611 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32612 wxUSE_DRAG_AND_DROP
=no
32615 if test "$wxUSE_MGL" = 1; then
32616 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32617 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32618 wxUSE_DRAG_AND_DROP
=no
32621 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32622 cat >>confdefs.h
<<\_ACEOF
32623 #define wxUSE_DRAG_AND_DROP 1
32626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32631 if test "$wxUSE_SPLINES" = "yes" ; then
32632 cat >>confdefs.h
<<\_ACEOF
32633 #define wxUSE_SPLINES 1
32640 if test "$wxUSE_CONTROLS" = "yes"; then
32644 if test "$wxUSE_ACCEL" = "yes"; then
32645 cat >>confdefs.h
<<\_ACEOF
32646 #define wxUSE_ACCEL 1
32652 if test "$wxUSE_BUTTON" = "yes"; then
32653 cat >>confdefs.h
<<\_ACEOF
32654 #define wxUSE_BUTTON 1
32660 if test "$wxUSE_BMPBUTTON" = "yes"; then
32661 cat >>confdefs.h
<<\_ACEOF
32662 #define wxUSE_BMPBUTTON 1
32668 if test "$wxUSE_CALCTRL" = "yes"; then
32669 cat >>confdefs.h
<<\_ACEOF
32670 #define wxUSE_CALENDARCTRL 1
32674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32677 if test "$wxUSE_CARET" = "yes"; then
32678 cat >>confdefs.h
<<\_ACEOF
32679 #define wxUSE_CARET 1
32683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32686 if test "$wxUSE_COMBOBOX" = "yes"; then
32687 cat >>confdefs.h
<<\_ACEOF
32688 #define wxUSE_COMBOBOX 1
32694 if test "$wxUSE_CHOICE" = "yes"; then
32695 cat >>confdefs.h
<<\_ACEOF
32696 #define wxUSE_CHOICE 1
32702 if test "$wxUSE_CHECKBOX" = "yes"; then
32703 cat >>confdefs.h
<<\_ACEOF
32704 #define wxUSE_CHECKBOX 1
32710 if test "$wxUSE_CHECKLST" = "yes"; then
32711 cat >>confdefs.h
<<\_ACEOF
32712 #define wxUSE_CHECKLISTBOX 1
32716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32719 if test "$wxUSE_DISPLAY" = "yes"; then
32720 cat >>confdefs.h
<<\_ACEOF
32721 #define wxUSE_DISPLAY 1
32724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32727 if test "$wxUSE_GAUGE" = "yes"; then
32728 cat >>confdefs.h
<<\_ACEOF
32729 #define wxUSE_GAUGE 1
32735 if test "$wxUSE_GRID" = "yes"; then
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxUSE_GRID 1
32741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32744 if test "$wxUSE_IMAGLIST" = "yes"; then
32745 cat >>confdefs.h
<<\_ACEOF
32746 #define wxUSE_IMAGLIST 1
32751 if test "$wxUSE_LISTBOOK" = "yes"; then
32752 cat >>confdefs.h
<<\_ACEOF
32753 #define wxUSE_LISTBOOK 1
32759 if test "$wxUSE_LISTBOX" = "yes"; then
32760 cat >>confdefs.h
<<\_ACEOF
32761 #define wxUSE_LISTBOX 1
32767 if test "$wxUSE_LISTCTRL" = "yes"; then
32768 if test "$wxUSE_IMAGLIST" = "yes"; then
32769 cat >>confdefs.h
<<\_ACEOF
32770 #define wxUSE_LISTCTRL 1
32774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32776 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32777 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32781 if test "$wxUSE_NOTEBOOK" = "yes"; then
32782 cat >>confdefs.h
<<\_ACEOF
32783 #define wxUSE_NOTEBOOK 1
32787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32791 if test "$wxUSE_RADIOBOX" = "yes"; then
32792 cat >>confdefs.h
<<\_ACEOF
32793 #define wxUSE_RADIOBOX 1
32799 if test "$wxUSE_RADIOBTN" = "yes"; then
32800 cat >>confdefs.h
<<\_ACEOF
32801 #define wxUSE_RADIOBTN 1
32807 if test "$wxUSE_SASH" = "yes"; then
32808 cat >>confdefs.h
<<\_ACEOF
32809 #define wxUSE_SASH 1
32812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32815 if test "$wxUSE_SCROLLBAR" = "yes"; then
32816 cat >>confdefs.h
<<\_ACEOF
32817 #define wxUSE_SCROLLBAR 1
32821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32824 if test "$wxUSE_SLIDER" = "yes"; then
32825 cat >>confdefs.h
<<\_ACEOF
32826 #define wxUSE_SLIDER 1
32832 if test "$wxUSE_SPINBTN" = "yes"; then
32833 cat >>confdefs.h
<<\_ACEOF
32834 #define wxUSE_SPINBTN 1
32840 if test "$wxUSE_SPINCTRL" = "yes"; then
32841 cat >>confdefs.h
<<\_ACEOF
32842 #define wxUSE_SPINCTRL 1
32848 if test "$wxUSE_SPLITTER" = "yes"; then
32849 cat >>confdefs.h
<<\_ACEOF
32850 #define wxUSE_SPLITTER 1
32853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32856 if test "$wxUSE_STATBMP" = "yes"; then
32857 cat >>confdefs.h
<<\_ACEOF
32858 #define wxUSE_STATBMP 1
32864 if test "$wxUSE_STATBOX" = "yes"; then
32865 cat >>confdefs.h
<<\_ACEOF
32866 #define wxUSE_STATBOX 1
32872 if test "$wxUSE_STATTEXT" = "yes"; then
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define wxUSE_STATTEXT 1
32880 if test "$wxUSE_STATLINE" = "yes"; then
32881 cat >>confdefs.h
<<\_ACEOF
32882 #define wxUSE_STATLINE 1
32888 if test "$wxUSE_STATUSBAR" = "yes"; then
32889 cat >>confdefs.h
<<\_ACEOF
32890 #define wxUSE_STATUSBAR 1
32895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32898 if test "$wxUSE_TABDIALOG" = "yes"; then
32899 cat >>confdefs.h
<<\_ACEOF
32900 #define wxUSE_TAB_DIALOG 1
32903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32906 if test "$wxUSE_TEXTCTRL" = "yes"; then
32907 cat >>confdefs.h
<<\_ACEOF
32908 #define wxUSE_TEXTCTRL 1
32912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32915 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32916 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32917 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32918 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32921 if test "$wxUSE_UNIVERSAL" = "yes"; then
32922 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32923 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32927 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32928 cat >>confdefs.h
<<\_ACEOF
32929 #define wxUSE_TOGGLEBTN 1
32936 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32937 cat >>confdefs.h
<<\_ACEOF
32938 #define wxUSE_TOOLBAR_SIMPLE 1
32941 wxUSE_TOOLBAR
="yes"
32945 if test "$wxUSE_TOOLBAR" = "yes"; then
32946 cat >>confdefs.h
<<\_ACEOF
32947 #define wxUSE_TOOLBAR 1
32952 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32953 wxUSE_TOOLBAR_NATIVE
="yes"
32956 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define wxUSE_TOOLBAR_NATIVE 1
32964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32967 if test "$wxUSE_TOOLTIPS" = "yes"; then
32968 if test "$wxUSE_MOTIF" = 1; then
32969 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32970 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32972 if test "$wxUSE_UNIVERSAL" = "yes"; then
32973 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32974 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32976 cat >>confdefs.h
<<\_ACEOF
32977 #define wxUSE_TOOLTIPS 1
32984 if test "$wxUSE_TREECTRL" = "yes"; then
32985 if test "$wxUSE_IMAGLIST" = "yes"; then
32986 cat >>confdefs.h
<<\_ACEOF
32987 #define wxUSE_TREECTRL 1
32991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32993 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32994 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32998 if test "$wxUSE_POPUPWIN" = "yes"; then
32999 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33000 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33001 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33003 if test "$wxUSE_MOTIF" = 1; then
33004 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33005 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33007 if test "$wxUSE_PM" = 1; then
33008 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33009 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33011 cat >>confdefs.h
<<\_ACEOF
33012 #define wxUSE_POPUPWIN 1
33022 if test "$wxUSE_TIPWINDOW" = "yes"; then
33023 if test "$wxUSE_PM" = 1; then
33024 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33025 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33027 cat >>confdefs.h
<<\_ACEOF
33028 #define wxUSE_TIPWINDOW 1
33034 if test "$USES_CONTROLS" = 1; then
33035 cat >>confdefs.h
<<\_ACEOF
33036 #define wxUSE_CONTROLS 1
33043 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_DRAGIMAGE 1
33048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33051 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33052 cat >>confdefs.h
<<\_ACEOF
33053 #define wxUSE_ACCESSIBILITY 1
33056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33059 if test "$wxUSE_MENUS" = "yes"; then
33060 cat >>confdefs.h
<<\_ACEOF
33061 #define wxUSE_MENUS 1
33064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33067 if test "$wxUSE_METAFILE" = "yes"; then
33068 cat >>confdefs.h
<<\_ACEOF
33069 #define wxUSE_METAFILE 1
33074 if test "$wxUSE_MIMETYPE" = "yes"; then
33075 cat >>confdefs.h
<<\_ACEOF
33076 #define wxUSE_MIMETYPE 1
33081 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define wxUSE_SYSTEM_OPTIONS 1
33086 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33087 "$TOOLKIT" = "MOTIF"; then
33088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33093 if test "$wxUSE_MINIFRAME" = "yes"; then
33094 cat >>confdefs.h
<<\_ACEOF
33095 #define wxUSE_MINIFRAME 1
33098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33102 if test "$wxUSE_HTML" = "yes"; then
33103 cat >>confdefs.h
<<\_ACEOF
33104 #define wxUSE_HTML 1
33108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33111 if test "$wxUSE_VALIDATORS" = "yes"; then
33112 cat >>confdefs.h
<<\_ACEOF
33113 #define wxUSE_VALIDATORS 1
33116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33119 if test "$wxUSE_PALETTE" = "yes" ; then
33120 cat >>confdefs.h
<<\_ACEOF
33121 #define wxUSE_PALETTE 1
33126 if test "$wxUSE_IMAGE" = "yes" ; then
33127 cat >>confdefs.h
<<\_ACEOF
33128 #define wxUSE_IMAGE 1
33133 if test "$wxUSE_GIF" = "yes" ; then
33134 cat >>confdefs.h
<<\_ACEOF
33135 #define wxUSE_GIF 1
33140 if test "$wxUSE_PCX" = "yes" ; then
33141 cat >>confdefs.h
<<\_ACEOF
33142 #define wxUSE_PCX 1
33147 if test "$wxUSE_IFF" = "yes" ; then
33148 cat >>confdefs.h
<<\_ACEOF
33149 #define wxUSE_IFF 1
33154 if test "$wxUSE_PNM" = "yes" ; then
33155 cat >>confdefs.h
<<\_ACEOF
33156 #define wxUSE_PNM 1
33161 if test "$wxUSE_XPM" = "yes" ; then
33162 cat >>confdefs.h
<<\_ACEOF
33163 #define wxUSE_XPM 1
33168 if test "$wxUSE_ICO_CUR" = "yes" ; then
33169 cat >>confdefs.h
<<\_ACEOF
33170 #define wxUSE_ICO_CUR 1
33175 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33176 LIBS
=" -lunicows $LIBS"
33180 if test "$wxUSE_CHOICEDLG" = "yes"; then
33181 cat >>confdefs.h
<<\_ACEOF
33182 #define wxUSE_CHOICEDLG 1
33187 if test "$wxUSE_COLOURDLG" = "yes"; then
33188 cat >>confdefs.h
<<\_ACEOF
33189 #define wxUSE_COLOURDLG 1
33194 if test "$wxUSE_FILEDLG" = "yes"; then
33195 cat >>confdefs.h
<<\_ACEOF
33196 #define wxUSE_FILEDLG 1
33201 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33202 cat >>confdefs.h
<<\_ACEOF
33203 #define wxUSE_FINDREPLDLG 1
33208 if test "$wxUSE_FONTDLG" = "yes"; then
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define wxUSE_FONTDLG 1
33215 if test "$wxUSE_DIRDLG" = "yes"; then
33216 if test "$wxUSE_TREECTRL" != "yes"; then
33217 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33218 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33220 cat >>confdefs.h
<<\_ACEOF
33221 #define wxUSE_DIRDLG 1
33227 if test "$wxUSE_MSGDLG" = "yes"; then
33228 cat >>confdefs.h
<<\_ACEOF
33229 #define wxUSE_MSGDLG 1
33234 if test "$wxUSE_NUMBERDLG" = "yes"; then
33235 cat >>confdefs.h
<<\_ACEOF
33236 #define wxUSE_NUMBERDLG 1
33241 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33242 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33243 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33244 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33246 cat >>confdefs.h
<<\_ACEOF
33247 #define wxUSE_PROGRESSDLG 1
33253 if test "$wxUSE_SPLASH" = "yes"; then
33254 cat >>confdefs.h
<<\_ACEOF
33255 #define wxUSE_SPLASH 1
33260 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33261 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33262 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33263 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33265 cat >>confdefs.h
<<\_ACEOF
33266 #define wxUSE_STARTUP_TIPS 1
33272 if test "$wxUSE_TEXTDLG" = "yes"; then
33273 cat >>confdefs.h
<<\_ACEOF
33274 #define wxUSE_TEXTDLG 1
33279 if test "$wxUSE_WIZARDDLG" = "yes"; then
33280 cat >>confdefs.h
<<\_ACEOF
33281 #define wxUSE_WIZARDDLG 1
33284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33288 if test "$cross_compiling" = "yes"; then
33291 OSINFO
=`uname -s -r -m`
33292 OSINFO
="\"$OSINFO\""
33295 cat >>confdefs.h
<<_ACEOF
33296 #define WXWIN_OS_DESCRIPTION $OSINFO
33301 if test "x$prefix" != "xNONE"; then
33304 wxPREFIX
=$ac_default_prefix
33307 cat >>confdefs.h
<<_ACEOF
33308 #define wxINSTALL_PREFIX "$wxPREFIX"
33312 top_builddir_wxconfig
=`pwd`
33316 CORE_BASE_LIBS
="net base"
33317 CORE_GUI_LIBS
="adv core"
33319 if test "$wxUSE_XML" = "yes" ; then
33320 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33322 if test "$wxUSE_ODBC" != "no" ; then
33323 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33324 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33326 if test "$wxUSE_HTML" = "yes" ; then
33327 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33337 if test "$wxUSE_MAC" = 1 ; then
33338 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33340 if test "$wxUSE_COCOA" = 1 ; then
33341 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33345 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33352 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33353 echo "$as_me:$LINENO: checking for $ac_func" >&5
33354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33355 if eval "test \"\${$as_ac_var+set}\" = set"; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 cat >conftest.
$ac_ext <<_ACEOF
33359 #line $LINENO "configure"
33362 cat confdefs.h
>>conftest.
$ac_ext
33363 cat >>conftest.
$ac_ext <<_ACEOF
33364 /* end confdefs.h. */
33365 /* System header to define __stub macros and hopefully few prototypes,
33366 which can conflict with char $ac_func (); below.
33367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33368 <limits.h> exists even on freestanding compilers. */
33370 # include <limits.h>
33372 # include <assert.h>
33374 /* Override any gcc2 internal prototype to avoid an error. */
33379 /* We use char because int might match the return type of a gcc2
33380 builtin and then its argument prototype would still apply. */
33382 /* The GNU C library defines this for functions which it implements
33383 to always fail with ENOSYS. Some functions are actually named
33384 something starting with __ and the normal name is an alias. */
33385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33388 char (*f) () = $ac_func;
33397 return f != $ac_func;
33402 rm -f conftest.
$ac_objext conftest
$ac_exeext
33403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33404 (eval $ac_link) 2>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } &&
33408 { ac_try
='test -s conftest$ac_exeext'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 eval "$as_ac_var=yes"
33416 echo "$as_me: failed program was:" >&5
33417 sed 's/^/| /' conftest.
$ac_ext >&5
33419 eval "$as_ac_var=no"
33421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33425 if test `eval echo '${'$as_ac_var'}'` = yes; then
33426 cat >>confdefs.h
<<_ACEOF
33427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33434 for ac_func
in floor
33436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33437 echo "$as_me:$LINENO: checking for $ac_func" >&5
33438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33439 if eval "test \"\${$as_ac_var+set}\" = set"; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33442 cat >conftest.
$ac_ext <<_ACEOF
33443 #line $LINENO "configure"
33446 cat confdefs.h
>>conftest.
$ac_ext
33447 cat >>conftest.
$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 /* System header to define __stub macros and hopefully few prototypes,
33450 which can conflict with char $ac_func (); below.
33451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33452 <limits.h> exists even on freestanding compilers. */
33454 # include <limits.h>
33456 # include <assert.h>
33458 /* Override any gcc2 internal prototype to avoid an error. */
33463 /* We use char because int might match the return type of a gcc2
33464 builtin and then its argument prototype would still apply. */
33466 /* The GNU C library defines this for functions which it implements
33467 to always fail with ENOSYS. Some functions are actually named
33468 something starting with __ and the normal name is an alias. */
33469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33472 char (*f) () = $ac_func;
33481 return f != $ac_func;
33486 rm -f conftest.
$ac_objext conftest
$ac_exeext
33487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33488 (eval $ac_link) 2>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try
='test -s conftest$ac_exeext'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 eval "$as_ac_var=yes"
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.
$ac_ext >&5
33503 eval "$as_ac_var=no"
33505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33509 if test `eval echo '${'$as_ac_var'}'` = yes; then
33510 cat >>confdefs.h
<<_ACEOF
33511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33517 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33518 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33519 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33520 echo "$as_me:$LINENO: result: yes" >&5
33521 echo "${ECHO_T}yes" >&6
33523 echo "$as_me:$LINENO: result: no" >&5
33524 echo "${ECHO_T}no" >&6
33526 # use different functions to avoid configure caching
33532 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33533 echo "$as_me:$LINENO: checking for $ac_func" >&5
33534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33535 if eval "test \"\${$as_ac_var+set}\" = set"; then
33536 echo $ECHO_N "(cached) $ECHO_C" >&6
33538 cat >conftest.
$ac_ext <<_ACEOF
33539 #line $LINENO "configure"
33542 cat confdefs.h
>>conftest.
$ac_ext
33543 cat >>conftest.
$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 /* System header to define __stub macros and hopefully few prototypes,
33546 which can conflict with char $ac_func (); below.
33547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33548 <limits.h> exists even on freestanding compilers. */
33550 # include <limits.h>
33552 # include <assert.h>
33554 /* Override any gcc2 internal prototype to avoid an error. */
33559 /* We use char because int might match the return type of a gcc2
33560 builtin and then its argument prototype would still apply. */
33562 /* The GNU C library defines this for functions which it implements
33563 to always fail with ENOSYS. Some functions are actually named
33564 something starting with __ and the normal name is an alias. */
33565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33568 char (*f) () = $ac_func;
33577 return f != $ac_func;
33582 rm -f conftest.
$ac_objext conftest
$ac_exeext
33583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33584 (eval $ac_link) 2>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try
='test -s conftest$ac_exeext'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; }; then
33594 eval "$as_ac_var=yes"
33596 echo "$as_me: failed program was:" >&5
33597 sed 's/^/| /' conftest.
$ac_ext >&5
33599 eval "$as_ac_var=no"
33601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33605 if test `eval echo '${'$as_ac_var'}'` = yes; then
33606 cat >>confdefs.h
<<_ACEOF
33607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33614 for ac_func
in ceil
33616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33617 echo "$as_me:$LINENO: checking for $ac_func" >&5
33618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33619 if eval "test \"\${$as_ac_var+set}\" = set"; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33622 cat >conftest.
$ac_ext <<_ACEOF
33623 #line $LINENO "configure"
33626 cat confdefs.h
>>conftest.
$ac_ext
33627 cat >>conftest.
$ac_ext <<_ACEOF
33628 /* end confdefs.h. */
33629 /* System header to define __stub macros and hopefully few prototypes,
33630 which can conflict with char $ac_func (); below.
33631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33632 <limits.h> exists even on freestanding compilers. */
33634 # include <limits.h>
33636 # include <assert.h>
33638 /* Override any gcc2 internal prototype to avoid an error. */
33643 /* We use char because int might match the return type of a gcc2
33644 builtin and then its argument prototype would still apply. */
33646 /* The GNU C library defines this for functions which it implements
33647 to always fail with ENOSYS. Some functions are actually named
33648 something starting with __ and the normal name is an alias. */
33649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33652 char (*f) () = $ac_func;
33661 return f != $ac_func;
33666 rm -f conftest.
$ac_objext conftest
$ac_exeext
33667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33668 (eval $ac_link) 2>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try
='test -s conftest$ac_exeext'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }; then
33678 eval "$as_ac_var=yes"
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.
$ac_ext >&5
33683 eval "$as_ac_var=no"
33685 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33689 if test `eval echo '${'$as_ac_var'}'` = yes; then
33690 cat >>confdefs.h
<<_ACEOF
33691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33697 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33698 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33699 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33700 echo "$as_me:$LINENO: result: yes" >&5
33701 echo "${ECHO_T}yes" >&6
33703 echo "$as_me:$LINENO: result: no" >&5
33704 echo "${ECHO_T}no" >&6
33705 # not sure we should warn the user, crash, etc.
33709 if test "$wxUSE_GUI" = "yes"; then
33712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33713 drawing dynamic erase event exec font image \
33714 minimal propsize rotate shaped widgets render"
33716 if test "$wxUSE_MONOLITHIC" != "yes"; then
33717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33720 SAMPLES_SUBDIRS
="console"
33724 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33725 -I\${top_srcdir}/include \
33726 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33729 if test "$GXX" = yes ; then
33730 CXXWARNINGS
="-Wall"
33733 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33735 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33736 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33737 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33740 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33741 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33742 EXTRALIBS_XML
="$EXPAT_LINK"
33743 EXTRALIBS_ODBC
="$ODBC_LINK"
33744 if test "$wxUSE_GUI" = "yes"; then
33745 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33747 if test "$wxUSE_OPENGL" = "yes"; then
33748 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33751 LDFLAGS
="$LDFLAGS $PROFILE"
33753 if test "$wxUSE_GTK" = 1; then
33756 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33759 WXCONFIG_EXTRALIBS
="$LIBS"
33761 if test "$wxUSE_REGEX" = "builtin" ; then
33762 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33764 if test "$wxUSE_EXPAT" = "builtin" ; then
33765 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33767 if test "$wxUSE_ODBC" = "builtin" ; then
33768 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33770 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33771 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33773 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33774 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33776 if test "$wxUSE_LIBPNG" = "builtin" ; then
33777 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33779 if test "$wxUSE_ZLIB" = "builtin" ; then
33780 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33782 if test "$wxUSE_ODBC" = "builtin" ; then
33783 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33786 for i
in $wxconfig_3rdparty ; do
33787 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33791 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33805 if test $wxUSE_MONOLITHIC = "yes" ; then
33811 if test $wxUSE_ODBC != "no" ; then
33817 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33839 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33847 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33849 if test -n "$ac_tool_prefix"; then
33850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33851 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33852 echo "$as_me:$LINENO: checking for $ac_word" >&5
33853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33854 if test "${ac_cv_prog_RANLIB+set}" = set; then
33855 echo $ECHO_N "(cached) $ECHO_C" >&6
33857 if test -n "$RANLIB"; then
33858 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33861 for as_dir
in $PATH
33864 test -z "$as_dir" && as_dir
=.
33865 for ac_exec_ext
in '' $ac_executable_extensions; do
33866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33867 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33876 RANLIB
=$ac_cv_prog_RANLIB
33877 if test -n "$RANLIB"; then
33878 echo "$as_me:$LINENO: result: $RANLIB" >&5
33879 echo "${ECHO_T}$RANLIB" >&6
33881 echo "$as_me:$LINENO: result: no" >&5
33882 echo "${ECHO_T}no" >&6
33886 if test -z "$ac_cv_prog_RANLIB"; then
33887 ac_ct_RANLIB
=$RANLIB
33888 # Extract the first word of "ranlib", so it can be a program name with args.
33889 set dummy ranlib
; ac_word
=$2
33890 echo "$as_me:$LINENO: checking for $ac_word" >&5
33891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33893 echo $ECHO_N "(cached) $ECHO_C" >&6
33895 if test -n "$ac_ct_RANLIB"; then
33896 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33899 for as_dir
in $PATH
33902 test -z "$as_dir" && as_dir
=.
33903 for ac_exec_ext
in '' $ac_executable_extensions; do
33904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33905 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33912 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33915 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33916 if test -n "$ac_ct_RANLIB"; then
33917 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33918 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33920 echo "$as_me:$LINENO: result: no" >&5
33921 echo "${ECHO_T}no" >&6
33924 RANLIB
=$ac_ct_RANLIB
33926 RANLIB
="$ac_cv_prog_RANLIB"
33929 # Find a good install program. We prefer a C program (faster),
33930 # so one script is as good as another. But avoid the broken or
33931 # incompatible versions:
33932 # SysV /etc/install, /usr/sbin/install
33933 # SunOS /usr/etc/install
33934 # IRIX /sbin/install
33936 # AmigaOS /C/install, which installs bootblocks on floppy discs
33937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33940 # ./install, which can be erroneously created by make from ./install.sh.
33941 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33942 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33943 if test -z "$INSTALL"; then
33944 if test "${ac_cv_path_install+set}" = set; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33948 for as_dir
in $PATH
33951 test -z "$as_dir" && as_dir
=.
33952 # Account for people who put trailing slashes in PATH elements.
33954 .
/ | .
// | /cC
/* | \
33955 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33958 # OSF1 and SCO ODT 3.0 have their own names for install.
33959 # Don't use installbsd from OSF since it installs stuff as root
33961 for ac_prog
in ginstall scoinst
install; do
33962 for ac_exec_ext
in '' $ac_executable_extensions; do
33963 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33964 if test $ac_prog = install &&
33965 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33966 # AIX install. It has an incompatible calling convention.
33968 elif test $ac_prog = install &&
33969 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33970 # program-specific install script used by HP pwplus--don't use.
33973 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33985 if test "${ac_cv_path_install+set}" = set; then
33986 INSTALL
=$ac_cv_path_install
33988 # As a last resort, use the slow shell script. We don't cache a
33989 # path for INSTALL within a source directory, because that will
33990 # break other packages using the cache if that directory is
33991 # removed, or if the path is relative.
33992 INSTALL
=$ac_install_sh
33995 echo "$as_me:$LINENO: result: $INSTALL" >&5
33996 echo "${ECHO_T}$INSTALL" >&6
33998 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33999 # It thinks the first close brace ends the variable substitution.
34000 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34002 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34004 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34006 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34007 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34009 if test "$LN_S" = "ln -s"; then
34010 echo "$as_me:$LINENO: result: yes" >&5
34011 echo "${ECHO_T}yes" >&6
34013 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34014 echo "${ECHO_T}no, using $LN_S" >&6
34018 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34019 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34020 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34021 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 cat >conftest.
make <<\_ACEOF
34026 @
echo 'ac_maketemp="$(MAKE)"'
34028 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34029 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34030 if test -n "$ac_maketemp"; then
34031 eval ac_cv_prog_make_
${ac_make}_set
=yes
34033 eval ac_cv_prog_make_
${ac_make}_set
=no
34035 rm -f conftest.
make
34037 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34038 echo "$as_me:$LINENO: result: yes" >&5
34039 echo "${ECHO_T}yes" >&6
34042 echo "$as_me:$LINENO: result: no" >&5
34043 echo "${ECHO_T}no" >&6
34044 SET_MAKE
="MAKE=${MAKE-make}"
34049 if test "$build" != "$host" ; then
34051 STRIP
=$host_alias-strip
34053 # Extract the first word of "ar", so it can be a program name with args.
34054 set dummy
ar; ac_word
=$2
34055 echo "$as_me:$LINENO: checking for $ac_word" >&5
34056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34057 if test "${ac_cv_prog_AR+set}" = set; then
34058 echo $ECHO_N "(cached) $ECHO_C" >&6
34060 if test -n "$AR"; then
34061 ac_cv_prog_AR
="$AR" # Let the user override the test.
34063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34064 for as_dir
in $PATH
34067 test -z "$as_dir" && as_dir
=.
34068 for ac_exec_ext
in '' $ac_executable_extensions; do
34069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34077 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34081 if test -n "$AR"; then
34082 echo "$as_me:$LINENO: result: $AR" >&5
34083 echo "${ECHO_T}$AR" >&6
34085 echo "$as_me:$LINENO: result: no" >&5
34086 echo "${ECHO_T}no" >&6
34089 # Extract the first word of "strip", so it can be a program name with args.
34090 set dummy strip
; ac_word
=$2
34091 echo "$as_me:$LINENO: checking for $ac_word" >&5
34092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34093 if test "${ac_cv_prog_STRIP+set}" = set; then
34094 echo $ECHO_N "(cached) $ECHO_C" >&6
34096 if test -n "$STRIP"; then
34097 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34100 for as_dir
in $PATH
34103 test -z "$as_dir" && as_dir
=.
34104 for ac_exec_ext
in '' $ac_executable_extensions; do
34105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34106 ac_cv_prog_STRIP
="strip"
34107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34113 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34116 STRIP
=$ac_cv_prog_STRIP
34117 if test -n "$STRIP"; then
34118 echo "$as_me:$LINENO: result: $STRIP" >&5
34119 echo "${ECHO_T}$STRIP" >&6
34121 echo "$as_me:$LINENO: result: no" >&5
34122 echo "${ECHO_T}no" >&6
34129 INSTALL_DIR
="mkdir"
34131 *) INSTALL_DIR
="$INSTALL -d"
34138 *-*-cygwin* | *-*-mingw32* )
34139 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34145 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34146 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34147 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34148 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34152 egrep -s GNU
> /dev
/null
); then
34153 bakefile_cv_prog_makeisgnu
="yes"
34155 bakefile_cv_prog_makeisgnu
="no"
34159 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34160 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34162 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34178 *-*-cygwin* | *-*-mingw32* )
34184 *-pc-os2_emx | *-pc-os2-emx )
34187 powerpc
-*-darwin* )
34205 SO_SUFFIX_MODULE
="so"
34214 SO_SUFFIX_MODULE
="sl"
34218 SO_SUFFIX_MODULE
="a"
34220 *-*-cygwin* | *-*-mingw32* )
34222 SO_SUFFIX_MODULE
="dll"
34230 *-pc-os2_emx | *-pc-os2-emx )
34235 powerpc
-*-darwin* )
34237 SO_SUFFIX_MODULE
="bundle"
34249 SHARED_LD_CC
="\$(CC) -shared -o"
34250 SHARED_LD_CXX
="\$(CXX) -shared -o"
34252 if test "x$GCC" = "xyes"; then
34258 if test "x$GCC" = "xyes"; then
34259 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34260 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34262 LDFLAGS
="$LDFLAGS -L/usr/lib"
34264 SHARED_LD_CC
="${CC} -b -o"
34265 SHARED_LD_CXX
="${CXX} -b -o"
34271 if test "x$GCC" != "xyes"; then
34272 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34273 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34274 if test "${bakefile_cv_prog_icc+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34278 cat >conftest.
$ac_ext <<_ACEOF
34279 #line $LINENO "configure"
34282 cat confdefs.h
>>conftest.
$ac_ext
34283 cat >>conftest.
$ac_ext <<_ACEOF
34284 /* end confdefs.h. */
34290 #ifndef __INTEL_COMPILER
34298 rm -f conftest.
$ac_objext
34299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34300 (eval $ac_compile) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); } &&
34304 { ac_try
='test -s conftest.$ac_objext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 bakefile_cv_prog_icc
=yes
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.
$ac_ext >&5
34315 bakefile_cv_prog_icc
=no
34318 rm -f conftest.
$ac_objext conftest.
$ac_ext
34321 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34322 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34323 if test "$bakefile_cv_prog_icc" = "yes"; then
34330 if test "x$GCC" != xyes
; then
34331 SHARED_LD_CC
="${CC} -G -o"
34332 SHARED_LD_CXX
="${CXX} -G -o"
34338 CFLAGS
="$CFLAGS -fno-common"
34339 CXXFLAGS
="$CXXFLAGS -fno-common"
34342 cat <<EOF >shared-ld-sh
34344 #-----------------------------------------------------------------------------
34345 #-- Name: distrib/mac/shared-ld-sh
34346 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34347 #-- Author: Gilles Depeyrot
34348 #-- Copyright: (c) 2002 Gilles Depeyrot
34349 #-- Licence: any use permitted
34350 #-----------------------------------------------------------------------------
34355 linking_flag="-dynamiclib"
34357 while test \${#} -gt 0; do
34364 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34365 # collect these options and values
34366 args="\${args} \${1} \${2}"
34370 -l*|-L*|-flat_namespace)
34371 # collect these options
34372 args="\${args} \${1}"
34375 -dynamiclib|-bundle)
34376 linking_flag="\${1}"
34380 echo "shared-ld: unhandled option '\${1}'"
34384 *.o | *.a | *.dylib)
34385 # collect object files
34386 objects="\${objects} \${1}"
34390 echo "shared-ld: unhandled argument '\${1}'"
34399 # Link one module containing all the others
34401 if test \${verbose} = 1; then
34402 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34404 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34406 if test \${status} != 0; then
34411 # Link the shared library from the single module created
34413 if test \${verbose} = 1; then
34414 echo "cc \${linking_flag} master.\$\$.o \${args}"
34416 c++ \${linking_flag} master.\$\$.o \${args}
34418 if test \${status} != 0; then
34423 # Remove intermediate module
34425 rm -f master.\$\$.o
34429 chmod +x shared
-ld-sh
34431 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34432 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34433 SHARED_LD_CXX
="$SHARED_LD_CC"
34434 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34435 PIC_FLAG
="-dynamic -fPIC"
34439 if test "x$GCC" != "xyes"; then
34440 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34441 set dummy makeC
++SharedLib
; ac_word
=$2
34442 echo "$as_me:$LINENO: checking for $ac_word" >&5
34443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34444 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 if test -n "$AIX_CXX_LD"; then
34448 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34451 for as_dir
in $PATH
34454 test -z "$as_dir" && as_dir
=.
34455 for ac_exec_ext
in '' $ac_executable_extensions; do
34456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34457 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34464 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34467 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34468 if test -n "$AIX_CXX_LD"; then
34469 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34470 echo "${ECHO_T}$AIX_CXX_LD" >&6
34472 echo "$as_me:$LINENO: result: no" >&5
34473 echo "${ECHO_T}no" >&6
34476 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34477 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34482 SHARED_LD_CC
="${LD} -shared -o"
34483 SHARED_LD_CXX
="${LD} -shared -o"
34487 if test "x$GCC" != "xyes"; then
34492 *-*-cygwin* | *-*-mingw32* )
34496 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34500 *-pc-os2_emx | *-pc-os2-emx | \
34505 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34506 echo "$as_me: error: unknown system type $host." >&2;}
34507 { (exit 1); exit 1; }; }
34510 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34511 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34513 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34514 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34533 SONAME_FLAG
="-Wl,-soname,"
34561 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34562 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34565 if test "x$GCC" = "xyes"; then
34569 powerpc
-*-darwin* )
34570 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34573 DEPSFLAG_GCC
="-MMD"
34576 echo "$as_me:$LINENO: result: gcc" >&5
34577 echo "${ECHO_T}gcc" >&6
34579 echo "$as_me:$LINENO: result: none" >&5
34580 echo "${ECHO_T}none" >&6
34583 if test $DEPS_TRACKING = 1 ; then
34587 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34588 # script. It is used to track C/C++ files dependencies in portable way.
34590 # Permission is given to use this file in any way.
34594 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34598 if test \$DEPSMODE = gcc ; then
34599 \${*} \${DEPSFLAG_GCC}
34601 if test \${status} != 0 ; then
34604 # move created file to the location we want it in:
34605 while test \${#} -gt 0; do
34619 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34620 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34621 if test -f \$depfile ; then
34622 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34625 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34626 if test -f \$depfile ; then
34627 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34647 *-*-cygwin* | *-*-mingw32* )
34648 if test "$build" != "$host" ; then
34649 RESCOMP
=$host_alias-windres
34651 # Extract the first word of "windres", so it can be a program name with args.
34652 set dummy windres
; ac_word
=$2
34653 echo "$as_me:$LINENO: checking for $ac_word" >&5
34654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34655 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 if test -n "$RESCOMP"; then
34659 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34662 for as_dir
in $PATH
34665 test -z "$as_dir" && as_dir
=.
34666 for ac_exec_ext
in '' $ac_executable_extensions; do
34667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34668 ac_cv_prog_RESCOMP
="windres"
34669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34675 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34678 RESCOMP
=$ac_cv_prog_RESCOMP
34679 if test -n "$RESCOMP"; then
34680 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34681 echo "${ECHO_T}$RESCOMP" >&6
34683 echo "$as_me:$LINENO: result: no" >&5
34684 echo "${ECHO_T}no" >&6
34691 # Extract the first word of "Rez", so it can be a program name with args.
34692 set dummy Rez
; ac_word
=$2
34693 echo "$as_me:$LINENO: checking for $ac_word" >&5
34694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34695 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34696 echo $ECHO_N "(cached) $ECHO_C" >&6
34698 if test -n "$RESCOMP"; then
34699 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34702 for as_dir
in $PATH
34705 test -z "$as_dir" && as_dir
=.
34706 for ac_exec_ext
in '' $ac_executable_extensions; do
34707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34708 ac_cv_prog_RESCOMP
="Rez"
34709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34715 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34718 RESCOMP
=$ac_cv_prog_RESCOMP
34719 if test -n "$RESCOMP"; then
34720 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34721 echo "${ECHO_T}$RESCOMP" >&6
34723 echo "$as_me:$LINENO: result: no" >&5
34724 echo "${ECHO_T}no" >&6
34727 # Extract the first word of "SetFile", so it can be a program name with args.
34728 set dummy SetFile
; ac_word
=$2
34729 echo "$as_me:$LINENO: checking for $ac_word" >&5
34730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34731 if test "${ac_cv_prog_SETFILE+set}" = set; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34734 if test -n "$SETFILE"; then
34735 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34738 for as_dir
in $PATH
34741 test -z "$as_dir" && as_dir
=.
34742 for ac_exec_ext
in '' $ac_executable_extensions; do
34743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34744 ac_cv_prog_SETFILE
="SetFile"
34745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34751 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34754 SETFILE
=$ac_cv_prog_SETFILE
34755 if test -n "$SETFILE"; then
34756 echo "$as_me:$LINENO: result: $SETFILE" >&5
34757 echo "${ECHO_T}$SETFILE" >&6
34759 echo "$as_me:$LINENO: result: no" >&5
34760 echo "${ECHO_T}no" >&6
34775 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34776 if test "${enable_precomp_headers+set}" = set; then
34777 enableval
="$enable_precomp_headers"
34778 bk_use_pch
="$enableval"
34783 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34784 if test "x$GCC" = "xyes"; then
34785 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34786 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34787 cat >conftest.
$ac_ext <<_ACEOF
34788 #line $LINENO "configure"
34791 cat confdefs.h
>>conftest.
$ac_ext
34792 cat >>conftest.
$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34799 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34800 #error "no pch support"
34803 #error "no pch support"
34805 #if (__GNUC__ == 3) && \
34806 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34807 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34808 #error "no pch support"
34815 rm -f conftest.
$ac_objext
34816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34817 (eval $ac_compile) 2>&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); } &&
34821 { ac_try
='test -s conftest.$ac_objext'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; }; then
34828 echo "$as_me:$LINENO: result: yes" >&5
34829 echo "${ECHO_T}yes" >&6
34830 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.
$ac_ext >&5
34838 echo "$as_me:$LINENO: result: no" >&5
34839 echo "${ECHO_T}no" >&6
34842 rm -f conftest.
$ac_objext conftest.
$ac_ext
34843 if test $GCC_PCH = 1 ; then
34844 cat <<EOF >bk-make-pch
34847 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34848 # script. It is used to generated precompiled headers.
34850 # Permission is given to use this file in any way.
34859 while test \${#} -gt 0; do
34862 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34863 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34864 headerfile="\${incdir}/\${header}"
34868 compiler="\${compiler} \${1}"
34872 if test "x\${headerfile}" = "x" ; then
34873 echo "error: can't find header \${header} in include paths" >2
34875 if test -f \${outfile} ; then
34878 mkdir -p \`dirname \${outfile}\`
34880 depsfile=".deps/\`basename \${outfile}\`.d"
34882 # can do this because gcc is >= 3.4:
34883 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34887 chmod +x bk
-make-pch
34896 COND_BUILD_DEBUG
="#"
34897 if test "x$BUILD" = "xdebug" ; then
34898 COND_BUILD_DEBUG
=""
34901 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34902 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34903 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34906 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34907 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34908 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34911 COND_BUILD_RELEASE
="#"
34912 if test "x$BUILD" = "xrelease" ; then
34913 COND_BUILD_RELEASE
=""
34916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34917 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34918 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34921 COND_DEBUG_FLAG_1
="#"
34922 if test "x$DEBUG_FLAG" = "x1" ; then
34923 COND_DEBUG_FLAG_1
=""
34926 COND_DEBUG_INFO_0
="#"
34927 if test "x$DEBUG_INFO" = "x0" ; then
34928 COND_DEBUG_INFO_0
=""
34931 COND_DEBUG_INFO_1
="#"
34932 if test "x$DEBUG_INFO" = "x1" ; then
34933 COND_DEBUG_INFO_1
=""
34936 COND_DEPS_TRACKING_0
="#"
34937 if test "x$DEPS_TRACKING" = "x0" ; then
34938 COND_DEPS_TRACKING_0
=""
34941 COND_DEPS_TRACKING_1
="#"
34942 if test "x$DEPS_TRACKING" = "x1" ; then
34943 COND_DEPS_TRACKING_1
=""
34947 if test "x$GCC_PCH" = "x1" ; then
34951 COND_MONOLITHIC_0
="#"
34952 if test "x$MONOLITHIC" = "x0" ; then
34953 COND_MONOLITHIC_0
=""
34956 COND_MONOLITHIC_0_SHARED_0
="#"
34957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34958 COND_MONOLITHIC_0_SHARED_0
=""
34961 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34963 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34966 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
34967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34968 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
34971 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34973 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34976 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
34977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34978 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
34981 COND_MONOLITHIC_0_SHARED_1
="#"
34982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34983 COND_MONOLITHIC_0_SHARED_1
=""
34986 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34988 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34991 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
34992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
34996 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34998 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35001 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35003 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35006 COND_MONOLITHIC_1
="#"
35007 if test "x$MONOLITHIC" = "x1" ; then
35008 COND_MONOLITHIC_1
=""
35011 COND_MONOLITHIC_1_SHARED_0
="#"
35012 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35013 COND_MONOLITHIC_1_SHARED_0
=""
35016 COND_MONOLITHIC_1_SHARED_1
="#"
35017 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35018 COND_MONOLITHIC_1_SHARED_1
=""
35021 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35022 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35023 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35026 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35027 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35028 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35031 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35032 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35033 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35036 COND_PLATFORM_MACOSX_1
="#"
35037 if test "x$PLATFORM_MACOSX" = "x1" ; then
35038 COND_PLATFORM_MACOSX_1
=""
35041 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35043 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35046 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35048 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35051 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35053 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35056 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35058 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35061 COND_PLATFORM_MAC_1
="#"
35062 if test "x$PLATFORM_MAC" = "x1" ; then
35063 COND_PLATFORM_MAC_1
=""
35066 COND_PLATFORM_OS2_1
="#"
35067 if test "x$PLATFORM_OS2" = "x1" ; then
35068 COND_PLATFORM_OS2_1
=""
35071 COND_PLATFORM_UNIX_0
="#"
35072 if test "x$PLATFORM_UNIX" = "x0" ; then
35073 COND_PLATFORM_UNIX_0
=""
35076 COND_PLATFORM_UNIX_1
="#"
35077 if test "x$PLATFORM_UNIX" = "x1" ; then
35078 COND_PLATFORM_UNIX_1
=""
35081 COND_PLATFORM_WIN32_0
="#"
35082 if test "x$PLATFORM_WIN32" = "x0" ; then
35083 COND_PLATFORM_WIN32_0
=""
35086 COND_PLATFORM_WIN32_1
="#"
35087 if test "x$PLATFORM_WIN32" = "x1" ; then
35088 COND_PLATFORM_WIN32_1
=""
35092 if test "x$SHARED" = "x0" ; then
35096 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35097 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35101 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35102 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35106 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35107 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35111 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35112 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35116 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35117 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35118 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35121 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35122 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35123 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35126 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35127 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35128 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35131 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35132 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35133 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35137 if test "x$SHARED" = "x1" ; then
35141 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35142 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35143 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35146 COND_TOOLKIT_COCOA
="#"
35147 if test "x$TOOLKIT" = "xCOCOA" ; then
35148 COND_TOOLKIT_COCOA
=""
35151 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35152 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35153 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35156 COND_TOOLKIT_GTK
="#"
35157 if test "x$TOOLKIT" = "xGTK" ; then
35158 COND_TOOLKIT_GTK
=""
35161 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35162 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35163 COND_TOOLKIT_GTK_USE_GUI_1
=""
35166 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35167 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35168 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35171 COND_TOOLKIT_MAC
="#"
35172 if test "x$TOOLKIT" = "xMAC" ; then
35173 COND_TOOLKIT_MAC
=""
35176 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35177 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35178 COND_TOOLKIT_MAC_USE_GUI_1
=""
35181 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35182 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35183 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35186 COND_TOOLKIT_MGL
="#"
35187 if test "x$TOOLKIT" = "xMGL" ; then
35188 COND_TOOLKIT_MGL
=""
35191 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35192 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35193 COND_TOOLKIT_MGL_USE_GUI_1
=""
35196 COND_TOOLKIT_MOTIF
="#"
35197 if test "x$TOOLKIT" = "xMOTIF" ; then
35198 COND_TOOLKIT_MOTIF
=""
35201 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35202 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35203 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35206 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35207 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35208 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35211 COND_TOOLKIT_MSW
="#"
35212 if test "x$TOOLKIT" = "xMSW" ; then
35213 COND_TOOLKIT_MSW
=""
35216 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35217 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35218 COND_TOOLKIT_MSW_USE_GUI_1
=""
35221 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35222 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35223 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35226 COND_TOOLKIT_PM
="#"
35227 if test "x$TOOLKIT" = "xPM" ; then
35231 COND_TOOLKIT_PM_USE_GUI_1
="#"
35232 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35233 COND_TOOLKIT_PM_USE_GUI_1
=""
35236 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35237 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35238 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35241 COND_TOOLKIT_X11
="#"
35242 if test "x$TOOLKIT" = "xX11" ; then
35243 COND_TOOLKIT_X11
=""
35246 COND_TOOLKIT_X11_USE_GUI_1
="#"
35247 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35248 COND_TOOLKIT_X11_USE_GUI_1
=""
35252 if test "x$UNICODE" = "x1" ; then
35257 if test "x$USE_GUI" = "x0" ; then
35262 if test "x$USE_GUI" = "x1" ; then
35266 COND_USE_GUI_1_WXUNIV_0
="#"
35267 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35268 COND_USE_GUI_1_WXUNIV_0
=""
35271 COND_USE_GUI_1_WXUNIV_1
="#"
35272 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35273 COND_USE_GUI_1_WXUNIV_1
=""
35276 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35277 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35278 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35281 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35282 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35283 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35286 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35287 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35288 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35291 COND_USE_SOSYMLINKS_1
="#"
35292 if test "x$USE_SOSYMLINKS" = "x1" ; then
35293 COND_USE_SOSYMLINKS_1
=""
35296 COND_USE_SOVERLINUX_1
="#"
35297 if test "x$USE_SOVERLINUX" = "x1" ; then
35298 COND_USE_SOVERLINUX_1
=""
35301 COND_USE_SOVERSION_0
="#"
35302 if test "x$USE_SOVERSION" = "x0" ; then
35303 COND_USE_SOVERSION_0
=""
35306 COND_USE_SOVERSOLARIS_1
="#"
35307 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35308 COND_USE_SOVERSOLARIS_1
=""
35312 if test "x$WXUNIV" = "x1" ; then
35316 COND_WXUSE_EXPAT_BUILTIN
="#"
35317 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35318 COND_WXUSE_EXPAT_BUILTIN
=""
35321 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35322 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35323 COND_WXUSE_LIBJPEG_BUILTIN
=""
35326 COND_WXUSE_LIBPNG_BUILTIN
="#"
35327 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35328 COND_WXUSE_LIBPNG_BUILTIN
=""
35331 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35332 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35333 COND_WXUSE_LIBTIFF_BUILTIN
=""
35336 COND_WXUSE_ODBC_BUILTIN
="#"
35337 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35338 COND_WXUSE_ODBC_BUILTIN
=""
35341 COND_WXUSE_REGEX_BUILTIN
="#"
35342 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35343 COND_WXUSE_REGEX_BUILTIN
=""
35346 COND_WXUSE_ZLIB_BUILTIN
="#"
35347 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35348 COND_WXUSE_ZLIB_BUILTIN
=""
35355 if test $GCC_PCH = 1 ; then
35356 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35359 powerpc
-*-darwin* )
35360 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35365 powerpc
-*-darwin* )
35366 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35371 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35472 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35473 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35474 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35475 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 cat >conftest.
make <<\_ACEOF
35480 @
echo 'ac_maketemp="$(MAKE)"'
35482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35483 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35484 if test -n "$ac_maketemp"; then
35485 eval ac_cv_prog_make_
${ac_make}_set
=yes
35487 eval ac_cv_prog_make_
${ac_make}_set
=no
35489 rm -f conftest.
make
35491 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35492 echo "$as_me:$LINENO: result: yes" >&5
35493 echo "${ECHO_T}yes" >&6
35496 echo "$as_me:$LINENO: result: no" >&5
35497 echo "${ECHO_T}no" >&6
35498 SET_MAKE
="MAKE=${MAKE-make}"
35502 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35503 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35506 ac_config_headers
="$ac_config_headers setup.h"
35509 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35512 ac_config_commands
="$ac_config_commands default"
35516 if test "$wxUSE_GUI" = "yes"; then
35517 SUBDIRS
="samples demos utils contrib"
35518 else SUBDIRS
="samples utils"
35521 for subdir
in `echo $SUBDIRS`; do
35522 if test -d ${srcdir}/${subdir} ; then
35523 if test "$wxUSE_GUI" = "yes"; then
35524 if test ${subdir} = "samples"; then
35525 makefiles
="samples/Makefile.in $makefiles"
35526 for sample
in `echo $SAMPLES_SUBDIRS`; do
35527 if test -d $srcdir/samples
/$sample; then
35528 makefiles
="samples/$sample/Makefile.in $makefiles"
35531 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35533 else if test ${subdir} = "samples"; then
35534 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35535 else makefiles
="utils/HelpGen/Makefile.in \
35536 utils/HelpGen/src/Makefile.in"
35540 for mkin
in $makefiles ; do
35541 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35542 ac_config_files
="$ac_config_files $mk"
35549 cat >confcache
<<\_ACEOF
35550 # This file is a shell script that caches the results of configure
35551 # tests run on this system so they can be shared between configure
35552 # scripts and configure runs, see configure's option --config-cache.
35553 # It is not useful on other systems. If it contains results you don't
35554 # want to keep, you may remove or edit it.
35556 # config.status only pays attention to the cache file if you give it
35557 # the --recheck option to rerun configure.
35559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35561 # following values.
35565 # The following way of writing the cache mishandles newlines in values,
35566 # but we know of no workaround that is simple, portable, and efficient.
35567 # So, don't put newlines in cache variables' values.
35568 # Ultrix sh set writes to stderr and can't be redirected directly,
35569 # and sets the high bit in the cache file unless we assign to the vars.
35572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35574 # `set' does not quote correctly, so add quotes (double-quote
35575 # substitution turns \\\\ into \\, and sed turns \\ into \).
35578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35581 # `set' quotes correctly as required by POSIX, so do not add quotes.
35583 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35592 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35594 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35595 if test -w $cache_file; then
35596 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35597 cat confcache
>$cache_file
35599 echo "not updating unwritable cache $cache_file"
35604 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35605 # Let make expand exec_prefix.
35606 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35610 # trailing colons and then remove the whole line if VPATH becomes empty
35611 # (actually we leave an empty line to preserve line numbers).
35612 if test "x$srcdir" = x.
; then
35613 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35614 s/:*\$(srcdir):*/:/;
35615 s/:*\${srcdir}:*/:/;
35617 s/^\([^=]*=[ ]*\):*/\1/;
35623 DEFS
=-DHAVE_CONFIG_H
35627 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35628 # 1. Remove the extension, and $U if already installed.
35629 ac_i
=`echo "$ac_i" |
35630 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35632 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35633 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35635 LIBOBJS
=$ac_libobjs
35637 LTLIBOBJS
=$ac_ltlibobjs
35641 : ${CONFIG_STATUS=./config.status}
35642 ac_clean_files_save
=$ac_clean_files
35643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35646 cat >$CONFIG_STATUS <<_ACEOF
35648 # Generated by $as_me.
35649 # Run this file to recreate the current configuration.
35650 # Compiler output produced by configure, useful for debugging
35651 # configure, is in config.log if it exists.
35654 ac_cs_recheck=false
35656 SHELL=\${CONFIG_SHELL-$SHELL}
35659 cat >>$CONFIG_STATUS <<\_ACEOF
35660 ## --------------------- ##
35661 ## M4sh Initialization. ##
35662 ## --------------------- ##
35664 # Be Bourne compatible
35665 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35668 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35669 # is contrary to our usage. Disable this feature.
35670 alias -g '${1+"$@"}'='"$@"'
35671 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35675 # Support unset when possible.
35676 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35683 # Work around bugs in pre-3.0 UWIN ksh.
35684 $as_unset ENV MAIL MAILPATH
35691 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35692 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35693 LC_TELEPHONE LC_TIME
35695 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35696 eval $as_var=C
; export $as_var
35702 # Required to use basename.
35703 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35709 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35710 as_basename
=basename
35716 # Name of the executable.
35717 as_me
=`$as_basename "$0" ||
35718 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35719 X"$0" : 'X\(//\)$' \| \
35720 X"$0" : 'X\(/\)$' \| \
35721 . : '\(.\)' 2>/dev/null ||
35723 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35724 /^X\/\(\/\/\)$/{ s//\1/; q; }
35725 /^X\/\(\/\).*/{ s//\1/; q; }
35729 # PATH needs CR, and LINENO needs CR and PATH.
35730 # Avoid depending upon Character Ranges.
35731 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35732 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35733 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35734 as_cr_digits
='0123456789'
35735 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35737 # The user is always right.
35738 if test "${PATH_SEPARATOR+set}" != set; then
35739 echo "#! /bin/sh" >conf$$.sh
35740 echo "exit 0" >>conf$$.sh
35742 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35751 as_lineno_1
=$LINENO
35752 as_lineno_2
=$LINENO
35753 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35754 test "x$as_lineno_1" != "x$as_lineno_2" &&
35755 test "x$as_lineno_3" = "x$as_lineno_2" || {
35756 # Find who we are. Look in the path if we contain no path at all
35759 *[\\/]* ) as_myself
=$0 ;;
35760 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35761 for as_dir
in $PATH
35764 test -z "$as_dir" && as_dir
=.
35765 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35770 # We did not find ourselves, most probably we were run as `sh COMMAND'
35771 # in which case we are not to be found in the path.
35772 if test "x$as_myself" = x
; then
35775 if test ! -f "$as_myself"; then
35776 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35777 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35778 { (exit 1); exit 1; }; }
35780 case $CONFIG_SHELL in
35782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35783 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35786 test -z "$as_dir" && as_dir
=.
35787 for as_base
in sh bash ksh sh5
; do
35790 if ("$as_dir/$as_base" -c '
35791 as_lineno_1=$LINENO
35792 as_lineno_2=$LINENO
35793 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35794 test "x$as_lineno_1" != "x$as_lineno_2" &&
35795 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35796 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35797 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35798 CONFIG_SHELL
=$as_dir/$as_base
35799 export CONFIG_SHELL
35800 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35808 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35809 # uniformly replaced by the line number. The first 'sed' inserts a
35810 # line-number line before each line; the second 'sed' does the real
35811 # work. The second script uses 'N' to pair each line-number line
35812 # with the numbered line, and appends trailing '-' during
35813 # substitution so that $LINENO is not a special case at line end.
35814 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35815 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35816 sed '=' <$as_myself |
35821 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35824 s,^['$as_cr_digits']*\n,,
35825 ' >$as_me.lineno
&&
35826 chmod +x
$as_me.lineno
||
35827 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35828 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35829 { (exit 1); exit 1; }; }
35831 # Don't try to exec as it changes $[0], causing all sort of problems
35832 # (the dirname of $[0] is not the place where we might find the
35833 # original and so on. Autoconf is especially sensible to this).
35835 # Exit status is that of the last command.
35840 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35841 *c
*,-n*) ECHO_N
= ECHO_C
='
35843 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35844 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35847 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35853 rm -f conf$$ conf$$.exe conf$$.
file
35855 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35856 # We could just check for DJGPP; but this test a) works b) is more generic
35857 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35858 if test -f conf$$.exe
; then
35859 # Don't use ln at all; we don't have any links
35864 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35869 rm -f conf$$ conf$$.exe conf$$.
file
35871 if mkdir -p .
2>/dev
/null
; then
35877 as_executable_p
="test -f"
35879 # Sed expression to map a string onto a valid CPP name.
35880 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35882 # Sed expression to map a string onto a valid variable name.
35883 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35887 # We need space, tab and new line, in precisely that order.
35897 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35898 # report actual input values of CONFIG_FILES etc. instead of their
35899 # values after options handling. Logging --version etc. is OK.
35903 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35904 ## Running $as_me. ##
35909 This file was extended by wxWindows $as_me 2.5.0, which was
35910 generated by GNU Autoconf 2.57. Invocation command line was
35912 CONFIG_FILES = $CONFIG_FILES
35913 CONFIG_HEADERS = $CONFIG_HEADERS
35914 CONFIG_LINKS = $CONFIG_LINKS
35915 CONFIG_COMMANDS = $CONFIG_COMMANDS
35919 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35923 # Files that config.status was made for.
35924 if test -n "$ac_config_files"; then
35925 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35928 if test -n "$ac_config_headers"; then
35929 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35932 if test -n "$ac_config_links"; then
35933 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35936 if test -n "$ac_config_commands"; then
35937 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35940 cat >>$CONFIG_STATUS <<\_ACEOF
35943 \`$as_me' instantiates files from templates according to the
35944 current configuration.
35946 Usage: $0 [OPTIONS] [FILE]...
35948 -h, --help print this help, then exit
35949 -V, --version print version number, then exit
35950 -q, --quiet do not print progress messages
35951 -d, --debug don't remove temporary files
35952 --recheck update $as_me by reconfiguring in the same conditions
35953 --file=FILE[:TEMPLATE]
35954 instantiate the configuration file FILE
35955 --header=FILE[:TEMPLATE]
35956 instantiate the configuration header FILE
35958 Configuration files:
35961 Configuration headers:
35964 Configuration commands:
35967 Report bugs to <bug-autoconf@gnu.org>."
35970 cat >>$CONFIG_STATUS <<_ACEOF
35972 wxWindows config.status 2.5.0
35973 configured by $0, generated by GNU Autoconf 2.57,
35974 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35976 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35977 Free Software Foundation, Inc.
35978 This config.status script is free software; the Free Software Foundation
35979 gives unlimited permission to copy, distribute and modify it."
35984 cat >>$CONFIG_STATUS <<\_ACEOF
35985 # If no file are specified by the user, then we need to provide default
35986 # value. By we need to know if files were specified by the user.
35992 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35993 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36001 *) # This is not an option, so the user has probably given explicit
36004 ac_need_defaults
=false
;;
36008 # Handling of the options.
36010 cat >>$CONFIG_STATUS <<\_ACEOF
36011 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36013 --version | --vers* | -V )
36014 echo "$ac_cs_version"; exit 0 ;;
36016 # Conflict between --help and --header
36017 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36018 Try \`$0 --help' for more information." >&5
36019 echo "$as_me: error: ambiguous option: $1
36020 Try \`$0 --help' for more information." >&2;}
36021 { (exit 1); exit 1; }; };;
36022 --help | --hel | -h )
36023 echo "$ac_cs_usage"; exit 0 ;;
36024 --debug | --d* | -d )
36026 --file | --fil | --fi | --f )
36028 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36029 ac_need_defaults
=false
;;
36030 --header | --heade | --head | --hea )
36032 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36033 ac_need_defaults
=false
;;
36034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36035 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36038 # This is an error.
36039 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36040 Try \`$0 --help' for more information." >&5
36041 echo "$as_me: error: unrecognized option: $1
36042 Try \`$0 --help' for more information." >&2;}
36043 { (exit 1); exit 1; }; } ;;
36045 *) ac_config_targets
="$ac_config_targets $1" ;;
36051 ac_configure_extra_args
=
36053 if $ac_cs_silent; then
36055 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36059 cat >>$CONFIG_STATUS <<_ACEOF
36060 if \$ac_cs_recheck; then
36061 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36062 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36067 cat >>$CONFIG_STATUS <<_ACEOF
36069 # INIT-COMMANDS section.
36073 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36082 cat >>$CONFIG_STATUS <<\_ACEOF
36083 for ac_config_target
in $ac_config_targets
36085 case "$ac_config_target" in
36086 # Handling of arguments.
36087 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36088 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36089 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36090 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36091 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36092 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36093 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36094 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36095 { (exit 1); exit 1; }; };;
36099 # If the user did not use the arguments to specify the items to instantiate,
36100 # then the envvar interface is used. Set only those that are not.
36101 # We use the long form for the default assignment because of an extremely
36102 # bizarre bug on SunOS 4.1.3.
36103 if $ac_need_defaults; then
36104 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36105 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36106 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36109 # Have a temporary directory for convenience. Make it in the build tree
36110 # simply because there is no reason to put it here, and in addition,
36111 # creating and moving files from /tmp can sometimes cause problems.
36112 # Create a temporary directory, and hook for its removal unless debugging.
36115 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36116 trap '{ (exit 1); exit 1; }' 1 2 13 15
36119 # Create a (secure) tmp directory for tmp files.
36122 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36123 test -n "$tmp" && test -d "$tmp"
36126 tmp
=.
/confstat$$
-$RANDOM
36127 (umask 077 && mkdir $tmp)
36130 echo "$me: cannot create a temporary directory in ." >&2
36131 { (exit 1); exit 1; }
36136 cat >>$CONFIG_STATUS <<_ACEOF
36139 # CONFIG_FILES section.
36142 # No need to generate the scripts if there are no CONFIG_FILES.
36143 # This happens for instance when ./config.status config.h
36144 if test -n "\$CONFIG_FILES"; then
36145 # Protect against being on the right side of a sed subst in config.status.
36146 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36147 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36148 s,@SHELL@,$SHELL,;t t
36149 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36150 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36151 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36152 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36153 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36154 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36155 s,@exec_prefix@,$exec_prefix,;t t
36156 s,@prefix@,$prefix,;t t
36157 s,@program_transform_name@,$program_transform_name,;t t
36158 s,@bindir@,$bindir,;t t
36159 s,@sbindir@,$sbindir,;t t
36160 s,@libexecdir@,$libexecdir,;t t
36161 s,@datadir@,$datadir,;t t
36162 s,@sysconfdir@,$sysconfdir,;t t
36163 s,@sharedstatedir@,$sharedstatedir,;t t
36164 s,@localstatedir@,$localstatedir,;t t
36165 s,@libdir@,$libdir,;t t
36166 s,@includedir@,$includedir,;t t
36167 s,@oldincludedir@,$oldincludedir,;t t
36168 s,@infodir@,$infodir,;t t
36169 s,@mandir@,$mandir,;t t
36170 s,@build_alias@,$build_alias,;t t
36171 s,@host_alias@,$host_alias,;t t
36172 s,@target_alias@,$target_alias,;t t
36173 s,@DEFS@,$DEFS,;t t
36174 s,@ECHO_C@,$ECHO_C,;t t
36175 s,@ECHO_N@,$ECHO_N,;t t
36176 s,@ECHO_T@,$ECHO_T,;t t
36177 s,@LIBS@,$LIBS,;t t
36178 s,@build@,$build,;t t
36179 s,@build_cpu@,$build_cpu,;t t
36180 s,@build_vendor@,$build_vendor,;t t
36181 s,@build_os@,$build_os,;t t
36182 s,@host@,$host,;t t
36183 s,@host_cpu@,$host_cpu,;t t
36184 s,@host_vendor@,$host_vendor,;t t
36185 s,@host_os@,$host_os,;t t
36186 s,@target@,$target,;t t
36187 s,@target_cpu@,$target_cpu,;t t
36188 s,@target_vendor@,$target_vendor,;t t
36189 s,@target_os@,$target_os,;t t
36191 s,@CFLAGS@,$CFLAGS,;t t
36192 s,@LDFLAGS@,$LDFLAGS,;t t
36193 s,@CPPFLAGS@,$CPPFLAGS,;t t
36194 s,@ac_ct_CC@,$ac_ct_CC,;t t
36195 s,@EXEEXT@,$EXEEXT,;t t
36196 s,@OBJEXT@,$OBJEXT,;t t
36198 s,@EGREP@,$EGREP,;t t
36200 s,@CXXFLAGS@,$CXXFLAGS,;t t
36201 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36202 s,@RANLIB@,$RANLIB,;t t
36203 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36205 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36206 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36207 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36208 s,@STRIP@,$STRIP,;t t
36209 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36210 s,@LN_S@,$LN_S,;t t
36211 s,@CXXCPP@,$CXXCPP,;t t
36212 s,@subdirs@,$subdirs,;t t
36213 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36214 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36215 s,@GTK_LIBS@,$GTK_LIBS,;t t
36216 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36217 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36218 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36219 s,@X_CFLAGS@,$X_CFLAGS,;t t
36220 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36221 s,@X_LIBS@,$X_LIBS,;t t
36222 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36223 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36224 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36225 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36226 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36227 s,@RESCOMP@,$RESCOMP,;t t
36228 s,@DEREZ@,$DEREZ,;t t
36229 s,@SETFILE@,$SETFILE,;t t
36230 s,@LIBICONV@,$LIBICONV,;t t
36231 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36232 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36233 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36234 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36235 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36236 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36237 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36238 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36239 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36240 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36241 s,@VENDOR@,$VENDOR,;t t
36242 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36243 s,@WXUNIV@,$WXUNIV,;t t
36244 s,@MONOLITHIC@,$MONOLITHIC,;t t
36245 s,@EXTRALIBS@,$EXTRALIBS,;t t
36246 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36247 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36248 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36249 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36250 s,@UNICODE@,$UNICODE,;t t
36251 s,@BUILD@,$BUILD,;t t
36252 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36253 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36254 s,@SHARED@,$SHARED,;t t
36255 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36256 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36257 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36258 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36259 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36260 s,@SET_MAKE@,$SET_MAKE,;t t
36261 s,@MAKE_SET@,$MAKE_SET,;t t
36262 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36263 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36264 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36265 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36266 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36267 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36268 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36269 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36270 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36271 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36272 s,@LIBPREFIX@,$LIBPREFIX,;t t
36273 s,@DLLPREFIX@,$DLLPREFIX,;t t
36274 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36275 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36276 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36277 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36278 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36279 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36280 s,@PIC_FLAG@,$PIC_FLAG,;t t
36281 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36282 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36283 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36284 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36285 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36286 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36287 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36288 s,@GCC_PCH@,$GCC_PCH,;t t
36289 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36290 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36291 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36292 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36293 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36294 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36295 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36296 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36297 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36298 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36299 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36300 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36301 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36302 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36303 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
36304 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36305 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36306 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36307 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36308 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
36309 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36310 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36311 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36312 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36313 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36314 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36315 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36316 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36317 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36318 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36319 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36320 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36321 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36322 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36323 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36324 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36325 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36326 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36327 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36328 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36329 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36330 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36331 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36332 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36333 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36334 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36335 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36336 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36337 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36338 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36339 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36340 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36341 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36342 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36343 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36344 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36345 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36346 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36347 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36348 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36349 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36350 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36351 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36352 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36353 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36354 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36355 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36356 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36357 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36358 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36359 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36360 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36361 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36362 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36363 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36364 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36365 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36366 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36367 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36368 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36369 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36370 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36371 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36372 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36373 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36374 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36375 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36376 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36377 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36378 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36379 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36380 s,@PATH_IFS@,$PATH_IFS,;t t
36381 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36382 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36383 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36384 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36385 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36386 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36387 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36388 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36389 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36390 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36391 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36392 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36393 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36394 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36395 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36396 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36397 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36398 s,@WX_ALL@,$WX_ALL,;t t
36399 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36400 s,@SHARED_LD@,$SHARED_LD,;t t
36401 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36402 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36403 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36404 s,@USE_GUI@,$USE_GUI,;t t
36405 s,@AFMINSTALL@,$AFMINSTALL,;t t
36406 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36407 s,@TOOLKIT@,$TOOLKIT,;t t
36408 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36409 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36410 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36411 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36412 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36413 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36414 s,@cross_compiling@,$cross_compiling,;t t
36415 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36416 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36417 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36418 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36419 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36420 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36421 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36422 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36423 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36424 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36425 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36426 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36427 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36428 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36429 s,@GUIDIST@,$GUIDIST,;t t
36430 s,@PORT_FILES@,$PORT_FILES,;t t
36431 s,@DISTDIR@,$DISTDIR,;t t
36432 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36433 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36434 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36435 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36436 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36437 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36438 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36439 s,@RESFLAGS@,$RESFLAGS,;t t
36440 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36441 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36442 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36443 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36444 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36445 s,@MACRESCOMP@,$MACRESCOMP,;t t
36446 s,@MACSETFILE@,$MACSETFILE,;t t
36447 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36449 s,@DLLTOOL@,$DLLTOOL,;t t
36453 s,@MAKEINFO@,$MAKEINFO,;t t
36454 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36455 s,@LIBOBJS@,$LIBOBJS,;t t
36456 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36461 cat >>$CONFIG_STATUS <<\_ACEOF
36462 # Split the substitutions into bite-sized pieces for seds with
36463 # small command number limits, like on Digital OSF/1 and HP-UX.
36464 ac_max_sed_lines
=48
36465 ac_sed_frag
=1 # Number of current file.
36466 ac_beg
=1 # First line for current file.
36467 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36470 while $ac_more_lines; do
36471 if test $ac_beg -gt 1; then
36472 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36474 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36476 if test ! -s $tmp/subs.frag
; then
36477 ac_more_lines
=false
36479 # The purpose of the label and of the branching condition is to
36480 # speed up the sed processing (if there are no `@' at all, there
36481 # is no need to browse any of the substitutions).
36482 # These are the two extra sed commands mentioned above.
36484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36485 if test -z "$ac_sed_cmds"; then
36486 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36488 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36490 ac_sed_frag
=`expr $ac_sed_frag + 1`
36492 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36495 if test -z "$ac_sed_cmds"; then
36498 fi # test -n "$CONFIG_FILES"
36501 cat >>$CONFIG_STATUS <<\_ACEOF
36502 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36503 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36505 - | *:- | *:-:* ) # input from stdin
36507 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36508 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36509 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36510 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36511 * ) ac_file_in
=$ac_file.
in ;;
36514 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36515 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36517 X"$ac_file" : 'X\(//\)[^/]' \| \
36518 X"$ac_file" : 'X\(//\)$' \| \
36519 X"$ac_file" : 'X\(/\)' \| \
36520 . : '\(.\)' 2>/dev/null ||
36522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36524 /^X\(\/\/\)$/{ s//\1/; q; }
36525 /^X\(\/\).*/{ s//\1/; q; }
36527 { if $as_mkdir_p; then
36532 while test ! -d "$as_dir"; do
36533 as_dirs
="$as_dir $as_dirs"
36534 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36536 X"$as_dir" : 'X\(//\)[^/]' \| \
36537 X"$as_dir" : 'X\(//\)$' \| \
36538 X"$as_dir" : 'X\(/\)' \| \
36539 . : '\(.\)' 2>/dev/null ||
36541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36543 /^X\(\/\/\)$/{ s//\1/; q; }
36544 /^X\(\/\).*/{ s//\1/; q; }
36547 test ! -n "$as_dirs" || mkdir $as_dirs
36548 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36549 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36550 { (exit 1); exit 1; }; }; }
36554 if test "$ac_dir" != .
; then
36555 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36556 # A "../" for each directory in $ac_dir_suffix.
36557 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36559 ac_dir_suffix
= ac_top_builddir
=
36563 .
) # No --srcdir option. We are building in place.
36565 if test -z "$ac_top_builddir"; then
36568 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36570 [\\/]* | ?
:[\\/]* ) # Absolute path.
36571 ac_srcdir
=$srcdir$ac_dir_suffix;
36572 ac_top_srcdir
=$srcdir ;;
36573 *) # Relative path.
36574 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36575 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36577 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36579 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36580 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36581 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36582 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36586 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36587 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36590 if test x
"$ac_file" != x
-; then
36591 { echo "$as_me:$LINENO: creating $ac_file" >&5
36592 echo "$as_me: creating $ac_file" >&6;}
36595 # Let's still pretend it is `configure' which instantiates (i.e., don't
36596 # use $as_me), people would be surprised to read:
36597 # /* config.h. Generated by config.status. */
36598 if test x
"$ac_file" = x
-; then
36601 configure_input
="$ac_file. "
36603 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36604 sed 's,.*/,,'` by configure."
36606 # First look for the input files in the build tree, otherwise in the
36608 ac_file_inputs
=`IFS=:
36609 for f in $ac_file_in; do
36611 -) echo $tmp/stdin ;;
36613 # Absolute (can't be DOS-style, as IFS=:)
36614 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36615 echo "$as_me: error: cannot find input file: $f" >&2;}
36616 { (exit 1); exit 1; }; }
36619 if test -f "$f"; then
36622 elif test -f "$srcdir/$f"; then
36627 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36628 echo "$as_me: error: cannot find input file: $f" >&2;}
36629 { (exit 1); exit 1; }; }
36632 done` || { (exit 1); exit 1; }
36634 cat >>$CONFIG_STATUS <<_ACEOF
36638 cat >>$CONFIG_STATUS <<\_ACEOF
36640 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36641 s
,@configure_input@
,$configure_input,;t t
36642 s
,@srcdir@
,$ac_srcdir,;t t
36643 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36644 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36645 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36646 s
,@builddir@
,$ac_builddir,;t t
36647 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36648 s
,@top_builddir@
,$ac_top_builddir,;t t
36649 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36650 s
,@INSTALL@
,$ac_INSTALL,;t t
36651 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36653 if test x"$ac_file" != x-; then
36654 mv $tmp/out $ac_file
36662 cat >>$CONFIG_STATUS <<\_ACEOF
36665 # CONFIG_HEADER section.
36668 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36669 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36671 # ac_d sets the value in "#define NAME VALUE" lines.
36672 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36673 ac_dB
='[ ].*$,\1#\2'
36676 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36677 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36678 ac_uB
='$,\1#\2define\3'
36682 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36683 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36685 - | *:- | *:-:* ) # input from stdin
36687 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36688 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36689 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36690 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36691 * ) ac_file_in
=$ac_file.
in ;;
36694 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36695 echo "$as_me: creating $ac_file" >&6;}
36697 # First look for the input files in the build tree, otherwise in the
36699 ac_file_inputs
=`IFS=:
36700 for f in $ac_file_in; do
36702 -) echo $tmp/stdin ;;
36704 # Absolute (can't be DOS-style, as IFS=:)
36705 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36706 echo "$as_me: error: cannot find input file: $f" >&2;}
36707 { (exit 1); exit 1; }; }
36710 if test -f "$f"; then
36713 elif test -f "$srcdir/$f"; then
36718 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36719 echo "$as_me: error: cannot find input file: $f" >&2;}
36720 { (exit 1); exit 1; }; }
36723 done` || { (exit 1); exit 1; }
36724 # Remove the trailing spaces.
36725 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36729 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36730 # `conftest.undefs', that substitutes the proper values into
36731 # config.h.in to produce config.h. The first handles `#define'
36732 # templates, and the second `#undef' templates.
36733 # And first: Protect against being on the right side of a sed subst in
36734 # config.status. Protect against being in an unquoted here document
36735 # in config.status.
36736 rm -f conftest.defines conftest.undefs
36737 # Using a here document instead of a string reduces the quoting nightmare.
36738 # Putting comments in sed scripts is not portable.
36740 # `end' is used to avoid that the second main sed command (meant for
36741 # 0-ary CPP macros) applies to n-ary macro definitions.
36742 # See the Autoconf documentation for `clear'.
36743 cat >confdef2sed.
sed <<\_ACEOF
36748 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36750 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36753 # If some macros were called several times there might be several times
36754 # the same #defines, which is useless. Nevertheless, we may not want to
36755 # sort them, since we want the *last* AC-DEFINE to be honored.
36756 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36757 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36758 rm -f confdef2sed.sed
36760 # This sed command replaces #undef with comments. This is necessary, for
36761 # example, in the case of _POSIX_SOURCE, which is predefined and required
36762 # on some systems where configure will not decide to define it.
36763 cat >>conftest.undefs <<\_ACEOF
36764 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36767 # Break up conftest.defines because some shells have a limit on the size
36768 # of here documents, and old seds have small limits too (100 cmds).
36769 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36770 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36771 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36772 echo ' :' >>$CONFIG_STATUS
36773 rm -f conftest.tail
36774 while grep . conftest.defines >/dev/null
36776 # Write a limited-size here document to $tmp/defines.sed.
36777 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36778 # Speed up: don't consider the non `#define' lines.
36779 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36780 # Work around the forget-to-reset-the-flag bug.
36781 echo 't clr' >>$CONFIG_STATUS
36782 echo ': clr' >>$CONFIG_STATUS
36783 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36785 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36787 mv $tmp/out $tmp/in
36789 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36790 rm -f conftest.defines
36791 mv conftest.
tail conftest.defines
36793 rm -f conftest.defines
36794 echo ' fi # grep' >>$CONFIG_STATUS
36795 echo >>$CONFIG_STATUS
36797 # Break up conftest.undefs because some shells have a limit on the size
36798 # of here documents, and old seds have small limits too (100 cmds).
36799 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36800 rm -f conftest.
tail
36801 while grep . conftest.undefs
>/dev
/null
36803 # Write a limited-size here document to $tmp/undefs.sed.
36804 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36805 # Speed up: don't consider the non
`#undef'
36806 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36807 # Work around the forget-to-reset-the-flag bug.
36808 echo 't clr' >>$CONFIG_STATUS
36809 echo ': clr' >>$CONFIG_STATUS
36810 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36812 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36814 mv $tmp/out $tmp/in
36816 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36817 rm -f conftest.undefs
36818 mv conftest.tail conftest.undefs
36820 rm -f conftest.undefs
36822 cat >>$CONFIG_STATUS <<\_ACEOF
36823 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36824 # use $as_me), people would be surprised to read:
36825 # /* config.h. Generated by config.status. */
36826 if test x
"$ac_file" = x
-; then
36827 echo "/* Generated by configure. */" >$tmp/config.h
36829 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36831 cat $tmp/in >>$tmp/config.h
36833 if test x
"$ac_file" != x
-; then
36834 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36835 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36836 echo "$as_me: $ac_file is unchanged" >&6;}
36838 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36840 X"$ac_file" : 'X\(//\)[^/]' \| \
36841 X"$ac_file" : 'X\(//\)$' \| \
36842 X"$ac_file" : 'X\(/\)' \| \
36843 . : '\(.\)' 2>/dev/null ||
36845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36847 /^X\(\/\/\)$/{ s//\1/; q; }
36848 /^X\(\/\).*/{ s//\1/; q; }
36850 { if $as_mkdir_p; then
36855 while test ! -d "$as_dir"; do
36856 as_dirs
="$as_dir $as_dirs"
36857 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36859 X"$as_dir" : 'X\(//\)[^/]' \| \
36860 X"$as_dir" : 'X\(//\)$' \| \
36861 X"$as_dir" : 'X\(/\)' \| \
36862 . : '\(.\)' 2>/dev/null ||
36864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36866 /^X\(\/\/\)$/{ s//\1/; q; }
36867 /^X\(\/\).*/{ s//\1/; q; }
36870 test ! -n "$as_dirs" || mkdir $as_dirs
36871 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36872 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36873 { (exit 1); exit 1; }; }; }
36876 mv $tmp/config.h
$ac_file
36880 rm -f $tmp/config.h
36884 cat >>$CONFIG_STATUS <<\_ACEOF
36887 # CONFIG_COMMANDS section.
36889 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36890 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36891 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36892 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36893 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36894 X"$ac_dest" : 'X\(//\)[^/]' \| \
36895 X"$ac_dest" : 'X\(//\)$' \| \
36896 X"$ac_dest" : 'X\(/\)' \| \
36897 . : '\(.\)' 2>/dev/null ||
36899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36901 /^X\(\/\/\)$/{ s//\1/; q; }
36902 /^X\(\/\).*/{ s//\1/; q; }
36906 if test "$ac_dir" != .
; then
36907 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36908 # A "../" for each directory in $ac_dir_suffix.
36909 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36911 ac_dir_suffix
= ac_top_builddir
=
36915 .
) # No --srcdir option. We are building in place.
36917 if test -z "$ac_top_builddir"; then
36920 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36922 [\\/]* | ?
:[\\/]* ) # Absolute path.
36923 ac_srcdir
=$srcdir$ac_dir_suffix;
36924 ac_top_srcdir
=$srcdir ;;
36925 *) # Relative path.
36926 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36927 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36929 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36931 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36932 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36933 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36934 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36937 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36938 echo "$as_me: executing $ac_dest commands" >&6;}
36941 if test ! -h wx
-config; then
36943 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36944 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36947 if test ! -d lib
; then
36950 if test ! -d lib
/wx
; then
36953 if test ! -d lib
/wx
/include
; then
36954 mkdir lib
/wx
/include
36956 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36957 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36959 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36960 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36962 if test -f setup.h
; then
36963 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36970 cat >>$CONFIG_STATUS <<\_ACEOF
36972 { (exit 0); exit 0; }
36974 chmod +x
$CONFIG_STATUS
36975 ac_clean_files
=$ac_clean_files_save
36978 # configure is writing to config.log, and then calls config.status.
36979 # config.status does its own redirection, appending to config.log.
36980 # Unfortunately, on DOS this fails, as config.log is still kept open
36981 # by configure, so config.status won't be able to write to it; its
36982 # output is simply discarded. So we exec the FD to /dev/null,
36983 # effectively closing config.log, so it can be properly (re)opened and
36984 # appended to by config.status. When coming back to configure, we
36985 # need to make the FD available again.
36986 if test "$no_create" != yes; then
36988 ac_config_status_args
=
36989 test "$silent" = yes &&
36990 ac_config_status_args
="$ac_config_status_args --quiet"
36992 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36994 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36995 # would make configure fail if this is the last instruction.
36996 $ac_cs_success || { (exit 1); exit 1; }
37000 # CONFIG_SUBDIRS section.
37002 if test "$no_recursion" != yes; then
37004 # Remove --cache-file and --srcdir arguments so they do not pile up.
37005 ac_sub_configure_args
=
37007 for ac_arg
in $ac_configure_args; do
37008 if test -n "$ac_prev"; then
37013 -cache-file | --cache-file | --cache-fil | --cache-fi \
37014 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37015 ac_prev
=cache_file
;;
37016 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37017 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37020 --config-cache | -C)
37022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37026 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37028 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37030 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37034 # Always prepend --prefix to ensure using the same prefix
37035 # in subdir configurations.
37036 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37039 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37041 # Do not complain, so a configure script can configure whichever
37042 # parts of a large source tree are present.
37043 test -d $srcdir/$ac_dir || continue
37045 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37046 echo "$as_me: configuring in $ac_dir" >&6;}
37047 { if $as_mkdir_p; then
37052 while test ! -d "$as_dir"; do
37053 as_dirs
="$as_dir $as_dirs"
37054 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37056 X"$as_dir" : 'X\(//\)[^/]' \| \
37057 X"$as_dir" : 'X\(//\)$' \| \
37058 X"$as_dir" : 'X\(/\)' \| \
37059 . : '\(.\)' 2>/dev/null ||
37061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37062 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37063 /^X\(\/\/\)$/{ s//\1/; q; }
37064 /^X\(\/\).*/{ s//\1/; q; }
37067 test ! -n "$as_dirs" || mkdir $as_dirs
37068 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37069 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37070 { (exit 1); exit 1; }; }; }
37074 if test "$ac_dir" != .
; then
37075 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37076 # A "../" for each directory in $ac_dir_suffix.
37077 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37079 ac_dir_suffix
= ac_top_builddir
=
37083 .
) # No --srcdir option. We are building in place.
37085 if test -z "$ac_top_builddir"; then
37088 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37090 [\\/]* | ?
:[\\/]* ) # Absolute path.
37091 ac_srcdir
=$srcdir$ac_dir_suffix;
37092 ac_top_srcdir
=$srcdir ;;
37093 *) # Relative path.
37094 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37095 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37097 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37099 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37100 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37101 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37102 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37107 # Check for guested configure; otherwise get Cygnus style configure.
37108 if test -f $ac_srcdir/configure.gnu
; then
37109 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37110 elif test -f $ac_srcdir/configure
; then
37111 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37112 elif test -f $ac_srcdir/configure.
in; then
37113 ac_sub_configure
=$ac_configure
37115 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37116 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37120 # The recursion is here.
37121 if test -n "$ac_sub_configure"; then
37122 # Make the cache file name correct relative to the subdirectory.
37123 case $cache_file in
37124 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37125 *) # Relative path.
37126 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37129 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37130 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37131 # The eval makes quoting arguments work.
37132 eval $ac_sub_configure $ac_sub_configure_args \
37133 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37134 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37135 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37136 { (exit 1); exit 1; }; }
37145 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37147 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37148 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37150 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37151 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37152 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37154 echo " What level of wxWindows compatibility should be enabled?"
37155 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37156 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37158 echo " Which libraries should wxWindows use?"
37159 echo " jpeg ${wxUSE_LIBJPEG-none}"
37160 echo " png ${wxUSE_LIBPNG-none}"
37161 echo " regex ${wxUSE_REGEX}"
37162 echo " tiff ${wxUSE_LIBTIFF-none}"
37163 echo " zlib ${wxUSE_ZLIB}"
37164 echo " odbc ${wxUSE_ODBC}"
37165 echo " expat ${wxUSE_EXPAT}"