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.1.
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.1'
273 PACKAGE_STRING
='wxWindows 2.5.1'
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_HTML 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 ac_ct_AR ac_ct_STRIP NM ac_ct_NM 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_GUI_1 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_UNIX_1_USE_GUI_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_EXCEPTIONS_0 COND_USE_EXCEPTIONS_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_ODBC_1 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 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.1 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.1:";;
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 (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n
'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even
if compiler can
1036 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1037 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1039 --with-motif use Motif
/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS
-Windows
1044 --with-pm use OS
/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1048 --with-libpng use libpng
(PNG image format
)
1049 --with-libjpeg use libjpeg
(JPEG
file format
)
1050 --with-libtiff use libtiff
(TIFF
file format
)
1051 --with-libxpm use libxpm
(XPM
file format
)
1052 --with-libmspack use libmspack
(CHM
help files loading
)
1053 --with-opengl use OpenGL
(or Mesa
)
1054 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1055 --with-regex enable support
for wxRegEx class
1056 --with-zlib use zlib
for LZW compression
1057 --with-odbc use the IODBC and wxODBC classes
1058 --with-expat enable XML support using expat parser
1059 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1060 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1061 --with-x use the X Window System
1062 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1064 Some influential environment variables
:
1065 CC C compiler
command
1066 CFLAGS C compiler flags
1067 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1068 nonstandard directory
<lib dir
>
1069 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1070 headers
in a nonstandard directory
<include dir
>
1072 CXX C
++ compiler
command
1073 CXXFLAGS C
++ compiler flags
1074 CXXCPP C
++ preprocessor
1076 Use these variables to override the choices made by
`configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1079 Report bugs to <wx-dev@lists.wxwindows.org>.
1083 if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1090 if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1095 ac_dir_suffix= ac_top_builddir=
1099 .) # No --srcdir option. We are building in place.
1101 if test -z "$ac_top_builddir"; then
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1113 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1115 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1116 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1117 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1118 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1131 $ac_configure --help
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1142 wxWindows configure 2.5.1
1143 generated by GNU Autoconf 2.57
1145 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1146 Free Software Foundation, Inc.
1147 This configure script is free software; the Free Software Foundation
1148 gives unlimited permission to copy, distribute and modify it.
1154 This file contains any messages produced by compilers while
1155 running configure, to aid debugging if configure makes a mistake.
1157 It was created by wxWindows $as_me 2.5.1, which was
1158 generated by GNU Autoconf 2.57. Invocation command line was
1169 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1170 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1171 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1172 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1173 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1175 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1176 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1178 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1179 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1180 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1181 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1182 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1183 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1184 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1208 # Keep a trace of the command line.
1209 # Strip out --no-create and --no-recursion so they do not pile up.
1210 # Strip out --silent because we don't want to record it for future runs.
1211 # Also quote any args containing shell meta-characters.
1212 # Make two passes to allow for proper duplicate-argument suppression.
1217 ac_must_keep_next=false
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1246 -* ) ac_must_keep_next=true ;;
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1259 # When interrupted or exit'd, cleanup temporary files, and complete
1260 # config.log. We remove comments because anyway the quotes in there
1261 # would cause problems or look ugly.
1262 # WARNING: Be sure not to use single quotes in there, as some shells,
1263 # such as our DU 5.0 friend, will then `close
' the trap.
1264 trap 'exit_status
=$?
1265 # Save into config.log some information that might help in debugging.
1270 ## ---------------- ##
1271 ## Cache variables. ##
1272 ## ---------------- ##
1275 # The following way of writing the cache mishandles newlines in values,
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1293 ## ----------------- ##
1294 ## Output variables. ##
1295 ## ----------------- ##
1298 for ac_var
in $ac_subst_vars
1300 eval ac_val
=$
`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1305 if test -n "$ac_subst_files"; then
1312 for ac_var
in $ac_subst_files
1314 eval ac_val
=$
`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1320 if test -s confdefs.h
; then
1327 sed "/^$/d" confdefs.h
| sort
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1334 rm -f core core.
* *.core
&&
1335 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1338 for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1344 rm -rf conftest* confdefs.h
1345 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348 # Predefined preprocessor variables.
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_NAME "$PACKAGE_NAME"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_STRING "$PACKAGE_STRING"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1375 # Let the site file select an alternate cache file if it wants to.
1376 # Prefer explicitly selected file to automatically selected ones.
1377 if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1384 for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387 echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's
/^
/| /' "$ac_site_file" >&5
1393 if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398 echo "$as_me: loading cache $cache_file" >&6;}
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406 echo "$as_me: creating cache $cache_file" >&6;}
1410 # Check that the precious variables saved in the cache have kept the same
1412 ac_cache_corrupted=false
1413 for ac_var in `(set) 2>&1 |
1414 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1423 ac_cache_corrupted=: ;;
1425 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1432 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1433 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1434 echo "$as_me: former value: $ac_old_val" >&2;}
1435 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1436 echo "$as_me: current value: $ac_new_val" >&2;}
1437 ac_cache_corrupted=:
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453 if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1455 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1456 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1457 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1458 { (exit 1); exit 1; }; }
1462 ac_cpp='$CPP $CPPFLAGS'
1463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1464 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1497 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1498 if test -f $ac_dir/install-sh; then
1500 ac_install_sh="$ac_aux_dir/install-sh -c"
1502 elif test -f $ac_dir/install.sh; then
1504 ac_install_sh="$ac_aux_dir/install.sh -c"
1506 elif test -f $ac_dir/shtool; then
1508 ac_install_sh="$ac_aux_dir/shtool install -c"
1512 if test -z "$ac_aux_dir"; then
1513 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1514 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 { (exit 1); exit 1; }; }
1517 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1518 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1519 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1521 # Make sure we can run config.sub.
1522 $ac_config_sub sun4 >/dev/null 2>&1 ||
1523 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1524 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1525 { (exit 1); exit 1; }; }
1527 echo "$as_me:$LINENO: checking build system type" >&5
1528 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1529 if test "${ac_cv_build+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 ac_cv_build_alias=$build_alias
1533 test -z "$ac_cv_build_alias" &&
1534 ac_cv_build_alias=`$ac_config_guess`
1535 test -z "$ac_cv_build_alias" &&
1536 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1537 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1538 { (exit 1); exit 1; }; }
1539 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1541 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1545 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1546 echo "${ECHO_T}$ac_cv_build" >&6
1548 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1549 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1550 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1553 echo "$as_me:$LINENO: checking host system type" >&5
1554 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1555 if test "${ac_cv_host+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 ac_cv_host_alias=$host_alias
1559 test -z "$ac_cv_host_alias" &&
1560 ac_cv_host_alias=$ac_cv_build_alias
1561 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1568 echo "${ECHO_T}$ac_cv_host" >&6
1570 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1571 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1572 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1575 echo "$as_me:$LINENO: checking target system type" >&5
1576 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1577 if test "${ac_cv_target+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_target_alias=$target_alias
1581 test "x$ac_cv_target_alias" = "x" &&
1582 ac_cv_target_alias=$ac_cv_host_alias
1583 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1590 echo "${ECHO_T}$ac_cv_target" >&6
1591 target=$ac_cv_target
1592 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1593 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1594 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1597 # The aliases save the names the user supplied, while $host etc.
1598 # will get canonicalized.
1599 test -n "$target_alias" &&
1600 test "$program_prefix$program_suffix$program_transform_name" = \
1602 program_prefix=${target_alias}-
1606 WX_MAJOR_VERSION_NUMBER=2
1607 WX_MINOR_VERSION_NUMBER=5
1610 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1611 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1613 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1629 USE_BSD= USE_DARWIN= USE_FREEBSD=
1635 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1641 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1643 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1645 DEFAULT_wxUSE_COCOA=0
1649 DEFAULT_wxUSE_MICROWIN=0
1650 DEFAULT_wxUSE_MOTIF=0
1655 DEFAULT_DEFAULT_wxUSE_COCOA=0
1656 DEFAULT_DEFAULT_wxUSE_GTK=0
1657 DEFAULT_DEFAULT_wxUSE_MAC=0
1658 DEFAULT_DEFAULT_wxUSE_MGL=0
1659 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1660 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1661 DEFAULT_DEFAULT_wxUSE_MSW=0
1662 DEFAULT_DEFAULT_wxUSE_PM=0
1663 DEFAULT_DEFAULT_wxUSE_X11=0
1668 SAMPLES_RPATH_POSTLINK=
1673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1674 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1676 cat >>confdefs.h <<\_ACEOF
1683 cat >>confdefs.h <<\_ACEOF
1688 if test "x$TMP" = "xalpha"; then
1690 cat >>confdefs.h <<\_ACEOF
1695 DEFAULT_DEFAULT_wxUSE_GTK=1
1699 cat >>confdefs.h <<\_ACEOF
1704 if test "x$TMP" = "xalpha"; then
1706 cat >>confdefs.h <<\_ACEOF
1711 DEFAULT_DEFAULT_wxUSE_GTK=1
1713 *-*-irix5* | *-*-irix6* )
1716 cat >>confdefs.h <<\_ACEOF
1720 cat >>confdefs.h <<\_ACEOF
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1730 cat >>confdefs.h <<\_ACEOF
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __SOLARIS__ 1
1738 cat >>confdefs.h <<\_ACEOF
1742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 cat >>confdefs.h <<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __FREEBSD__ 1
1770 cat >>confdefs.h <<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __OPENBSD__ 1
1783 cat >>confdefs.h <<\_ACEOF
1787 DEFAULT_DEFAULT_wxUSE_GTK=1
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __NETBSD__ 1
1796 cat >>confdefs.h <<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_GTK=1
1805 cat >>confdefs.h <<\_ACEOF
1809 cat >>confdefs.h <<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1819 cat >>confdefs.h <<\_ACEOF
1823 cat >>confdefs.h <<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1832 cat >>confdefs.h <<\_ACEOF
1836 cat >>confdefs.h <<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 cat >>confdefs.h <<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __UNIXWARE__ 1
1872 *-*-cygwin* | *-*-mingw32* )
1876 DEFAULT_DEFAULT_wxUSE_MSW=1
1882 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MGL=1
1888 LIBS="$LIBS -lstdc++"
1891 *-pc-os2_emx | *-pc-os2-emx )
1892 cat >>confdefs.h <<\_ACEOF
1897 cat >>confdefs.h <<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_PM=1
1904 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1905 ac_executable_extensions=".exe"
1906 export ac_executable_extensions
1910 for ac_dir in $PATH; do
1912 if test -z "$ac_TEMP_PATH"; then
1913 ac_TEMP_PATH="$ac_dir"
1915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1918 export PATH="$ac_TEMP_PATH"
1926 cat >>confdefs.h <<\_ACEOF
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __DARWIN__ 1
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __POWERPC__ 1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define TARGET_CARBON 1
1942 DEFAULT_DEFAULT_wxUSE_MAC=1
1947 cat >>confdefs.h <<\_ACEOF
1954 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1955 echo "$as_me: error: unknown system type ${host}." >&2;}
1956 { (exit 1); exit 1; }; }
1962 wx_arg_cache_file="configarg.cache"
1963 echo "loading argument cache $wx_arg_cache_file"
1964 rm -f ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}.tmp
1966 touch ${wx_arg_cache_file}
1970 if test $DEBUG_CONFIGURE = 1; then
1971 DEFAULT_wxUSE_UNIVERSAL=no
1972 DEFAULT_wxUSE_STL=no
1974 DEFAULT_wxUSE_NANOX=no
1976 DEFAULT_wxUSE_THREADS=yes
1978 DEFAULT_wxUSE_SHARED=yes
1979 DEFAULT_wxUSE_OPTIMISE=no
1980 DEFAULT_wxUSE_PROFILE=no
1981 DEFAULT_wxUSE_NO_DEPS=no
1982 DEFAULT_wxUSE_NO_RTTI=no
1983 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1984 DEFAULT_wxUSE_PERMISSIVE=no
1985 DEFAULT_wxUSE_DEBUG_FLAG=yes
1986 DEFAULT_wxUSE_DEBUG_INFO=yes
1987 DEFAULT_wxUSE_DEBUG_GDB=yes
1988 DEFAULT_wxUSE_MEM_TRACING=no
1989 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1990 DEFAULT_wxUSE_DMALLOC=no
1991 DEFAULT_wxUSE_APPLE_IEEE=no
1993 DEFAULT_wxUSE_EXCEPTIONS=no
1994 DEFAULT_wxUSE_LOG=yes
1995 DEFAULT_wxUSE_LOGWINDOW=no
1996 DEFAULT_wxUSE_LOGGUI=no
1997 DEFAULT_wxUSE_LOGDIALOG=no
1999 DEFAULT_wxUSE_GUI=yes
2000 DEFAULT_wxUSE_CONTROLS=no
2002 DEFAULT_wxUSE_REGEX=no
2003 DEFAULT_wxUSE_XML=no
2004 DEFAULT_wxUSE_EXPAT=no
2005 DEFAULT_wxUSE_ZLIB=no
2006 DEFAULT_wxUSE_LIBPNG=no
2007 DEFAULT_wxUSE_LIBJPEG=no
2008 DEFAULT_wxUSE_LIBTIFF=no
2009 DEFAULT_wxUSE_LIBXPM=no
2010 DEFAULT_wxUSE_ODBC=no
2011 DEFAULT_wxUSE_OPENGL=no
2013 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2014 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2015 DEFAULT_wxUSE_STD_IOSTREAM=no
2016 DEFAULT_wxUSE_CMDLINE_PARSER=no
2017 DEFAULT_wxUSE_DATETIME=no
2018 DEFAULT_wxUSE_TIMER=no
2019 DEFAULT_wxUSE_STOPWATCH=no
2020 DEFAULT_wxUSE_FILE=no
2021 DEFAULT_wxUSE_FFILE=no
2022 DEFAULT_wxUSE_TEXTBUFFER=no
2023 DEFAULT_wxUSE_TEXTFILE=no
2024 DEFAULT_wxUSE_WAVE=no
2025 DEFAULT_wxUSE_INTL=no
2026 DEFAULT_wxUSE_CONFIG=no
2027 DEFAULT_wxUSE_FONTMAP=no
2028 DEFAULT_wxUSE_STREAMS=no
2029 DEFAULT_wxUSE_SOCKETS=no
2030 DEFAULT_wxUSE_OLE=no
2031 DEFAULT_wxUSE_DATAOBJ=no
2032 DEFAULT_wxUSE_DIALUP_MANAGER=no
2033 DEFAULT_wxUSE_JOYSTICK=no
2034 DEFAULT_wxUSE_DYNLIB_CLASS=no
2035 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2036 DEFAULT_wxUSE_LONGLONG=no
2037 DEFAULT_wxUSE_GEOMETRY=no
2039 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2040 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2041 DEFAULT_wxUSE_POSTSCRIPT=no
2043 DEFAULT_wxUSE_CLIPBOARD=no
2044 DEFAULT_wxUSE_TOOLTIPS=no
2045 DEFAULT_wxUSE_DRAG_AND_DROP=no
2046 DEFAULT_wxUSE_DRAGIMAGE=no
2047 DEFAULT_wxUSE_SPLINES=no
2049 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2050 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2051 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2053 DEFAULT_wxUSE_RESOURCES=no
2054 DEFAULT_wxUSE_CONSTRAINTS=no
2055 DEFAULT_wxUSE_IPC=no
2056 DEFAULT_wxUSE_HELP=no
2057 DEFAULT_wxUSE_MS_HTML_HELP=no
2058 DEFAULT_wxUSE_WXHTML_HELP=no
2059 DEFAULT_wxUSE_TREELAYOUT=no
2060 DEFAULT_wxUSE_METAFILE=no
2061 DEFAULT_wxUSE_MIMETYPE=no
2062 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2063 DEFAULT_wxUSE_PROTOCOL=no
2064 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2065 DEFAULT_wxUSE_PROTOCOL_FTP=no
2066 DEFAULT_wxUSE_PROTOCOL_FILE=no
2067 DEFAULT_wxUSE_URL=no
2069 DEFAULT_wxUSE_COMMONDLGS=no
2070 DEFAULT_wxUSE_CHOICEDLG=no
2071 DEFAULT_wxUSE_COLOURDLG=no
2072 DEFAULT_wxUSE_DIRDLG=no
2073 DEFAULT_wxUSE_FILEDLG=no
2074 DEFAULT_wxUSE_FINDREPLDLG=no
2075 DEFAULT_wxUSE_FONTDLG=no
2076 DEFAULT_wxUSE_MSGDLG=no
2077 DEFAULT_wxUSE_NUMBERDLG=no
2078 DEFAULT_wxUSE_TEXTDLG=no
2079 DEFAULT_wxUSE_SPLASH=no
2080 DEFAULT_wxUSE_STARTUP_TIPS=no
2081 DEFAULT_wxUSE_PROGRESSDLG=no
2082 DEFAULT_wxUSE_WIZARDDLG=no
2084 DEFAULT_wxUSE_MENUS=no
2085 DEFAULT_wxUSE_MINIFRAME=no
2086 DEFAULT_wxUSE_HTML=no
2087 DEFAULT_wxUSE_FILESYSTEM=no
2088 DEFAULT_wxUSE_FS_INET=no
2089 DEFAULT_wxUSE_FS_ZIP=no
2090 DEFAULT_wxUSE_BUSYINFO=no
2091 DEFAULT_wxUSE_ZIPSTREAM=no
2092 DEFAULT_wxUSE_GZSTREAM=no
2093 DEFAULT_wxUSE_VALIDATORS=no
2095 DEFAULT_wxUSE_ACCEL=no
2096 DEFAULT_wxUSE_BUTTON=no
2097 DEFAULT_wxUSE_BMPBUTTON=no
2098 DEFAULT_wxUSE_CALCTRL=no
2099 DEFAULT_wxUSE_CARET=no
2100 DEFAULT_wxUSE_CHECKBOX=no
2101 DEFAULT_wxUSE_CHECKLST=no
2102 DEFAULT_wxUSE_CHOICE=no
2103 DEFAULT_wxUSE_COMBOBOX=no
2104 DEFAULT_wxUSE_DISPLAY=no
2105 DEFAULT_wxUSE_GAUGE=no
2106 DEFAULT_wxUSE_GRID=no
2107 DEFAULT_wxUSE_IMAGLIST=no
2108 DEFAULT_wxUSE_LISTBOOK=no
2109 DEFAULT_wxUSE_LISTBOX=no
2110 DEFAULT_wxUSE_LISTCTRL=no
2111 DEFAULT_wxUSE_NOTEBOOK=no
2112 DEFAULT_wxUSE_RADIOBOX=no
2113 DEFAULT_wxUSE_RADIOBTN=no
2114 DEFAULT_wxUSE_SASH=no
2115 DEFAULT_wxUSE_SCROLLBAR=no
2116 DEFAULT_wxUSE_SLIDER=no
2117 DEFAULT_wxUSE_SPINBTN=no
2118 DEFAULT_wxUSE_SPINCTRL=no
2119 DEFAULT_wxUSE_SPLITTER=no
2120 DEFAULT_wxUSE_STATBMP=no
2121 DEFAULT_wxUSE_STATBOX=no
2122 DEFAULT_wxUSE_STATLINE=no
2123 DEFAULT_wxUSE_STATTEXT=no
2124 DEFAULT_wxUSE_STATUSBAR=yes
2125 DEFAULT_wxUSE_TABDIALOG=no
2126 DEFAULT_wxUSE_TEXTCTRL=no
2127 DEFAULT_wxUSE_TOGGLEBTN=no
2128 DEFAULT_wxUSE_TOOLBAR=no
2129 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2130 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2131 DEFAULT_wxUSE_TREECTRL=no
2132 DEFAULT_wxUSE_POPUPWIN=no
2133 DEFAULT_wxUSE_TIPWINDOW=no
2135 DEFAULT_wxUSE_UNICODE=no
2136 DEFAULT_wxUSE_UNICODE_MSLU=no
2137 DEFAULT_wxUSE_WCSRTOMBS=no
2139 DEFAULT_wxUSE_PALETTE=no
2140 DEFAULT_wxUSE_IMAGE=no
2141 DEFAULT_wxUSE_GIF=no
2142 DEFAULT_wxUSE_PCX=no
2143 DEFAULT_wxUSE_PNM=no
2144 DEFAULT_wxUSE_IFF=no
2145 DEFAULT_wxUSE_XPM=no
2146 DEFAULT_wxUSE_ICO_CUR=no
2147 DEFAULT_wxUSE_ACCESSIBILITY=no
2149 DEFAULT_wxUSE_MONOLITHIC=no
2150 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2152 DEFAULT_wxUSE_UNIVERSAL=no
2153 DEFAULT_wxUSE_STL=no
2155 DEFAULT_wxUSE_NANOX=no
2157 DEFAULT_wxUSE_THREADS=yes
2159 DEFAULT_wxUSE_SHARED=yes
2160 DEFAULT_wxUSE_OPTIMISE=yes
2161 DEFAULT_wxUSE_PROFILE=no
2162 DEFAULT_wxUSE_NO_DEPS=no
2163 DEFAULT_wxUSE_NO_RTTI=no
2164 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2165 DEFAULT_wxUSE_PERMISSIVE=no
2166 DEFAULT_wxUSE_DEBUG_FLAG=no
2167 DEFAULT_wxUSE_DEBUG_INFO=no
2168 DEFAULT_wxUSE_DEBUG_GDB=no
2169 DEFAULT_wxUSE_MEM_TRACING=no
2170 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2171 DEFAULT_wxUSE_DMALLOC=no
2172 DEFAULT_wxUSE_APPLE_IEEE=yes
2174 DEFAULT_wxUSE_EXCEPTIONS=yes
2175 DEFAULT_wxUSE_LOG=yes
2176 DEFAULT_wxUSE_LOGWINDOW=yes
2177 DEFAULT_wxUSE_LOGGUI=yes
2178 DEFAULT_wxUSE_LOGDIALOG=yes
2180 DEFAULT_wxUSE_GUI=yes
2182 DEFAULT_wxUSE_REGEX=yes
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=yes
2185 DEFAULT_wxUSE_ZLIB=yes
2186 DEFAULT_wxUSE_LIBPNG=yes
2187 DEFAULT_wxUSE_LIBJPEG=yes
2188 DEFAULT_wxUSE_LIBTIFF=yes
2189 DEFAULT_wxUSE_LIBXPM=yes
2190 DEFAULT_wxUSE_LIBMSPACK=yes
2191 DEFAULT_wxUSE_ODBC=no
2192 DEFAULT_wxUSE_OPENGL=no
2194 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2195 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2196 DEFAULT_wxUSE_STD_IOSTREAM=no
2197 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2198 DEFAULT_wxUSE_DATETIME=yes
2199 DEFAULT_wxUSE_TIMER=yes
2200 DEFAULT_wxUSE_STOPWATCH=yes
2201 DEFAULT_wxUSE_FILE=yes
2202 DEFAULT_wxUSE_FFILE=yes
2203 DEFAULT_wxUSE_TEXTBUFFER=yes
2204 DEFAULT_wxUSE_TEXTFILE=yes
2205 DEFAULT_wxUSE_WAVE=no
2206 DEFAULT_wxUSE_INTL=yes
2207 DEFAULT_wxUSE_CONFIG=yes
2208 DEFAULT_wxUSE_FONTMAP=yes
2209 DEFAULT_wxUSE_STREAMS=yes
2210 DEFAULT_wxUSE_SOCKETS=yes
2211 DEFAULT_wxUSE_OLE=yes
2212 DEFAULT_wxUSE_DATAOBJ=yes
2213 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2214 DEFAULT_wxUSE_JOYSTICK=yes
2215 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2216 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2217 DEFAULT_wxUSE_LONGLONG=yes
2218 DEFAULT_wxUSE_GEOMETRY=yes
2220 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2222 DEFAULT_wxUSE_POSTSCRIPT=yes
2224 DEFAULT_wxUSE_CLIPBOARD=yes
2225 DEFAULT_wxUSE_TOOLTIPS=yes
2226 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2227 DEFAULT_wxUSE_DRAGIMAGE=yes
2228 DEFAULT_wxUSE_SPLINES=yes
2230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2234 DEFAULT_wxUSE_RESOURCES=no
2235 DEFAULT_wxUSE_CONSTRAINTS=yes
2236 DEFAULT_wxUSE_IPC=yes
2237 DEFAULT_wxUSE_HELP=yes
2238 DEFAULT_wxUSE_MS_HTML_HELP=yes
2239 DEFAULT_wxUSE_WXHTML_HELP=yes
2240 DEFAULT_wxUSE_TREELAYOUT=yes
2241 DEFAULT_wxUSE_METAFILE=yes
2242 DEFAULT_wxUSE_MIMETYPE=yes
2243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2244 DEFAULT_wxUSE_PROTOCOL=yes
2245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2248 DEFAULT_wxUSE_URL=yes
2250 DEFAULT_wxUSE_COMMONDLGS=yes
2251 DEFAULT_wxUSE_CHOICEDLG=yes
2252 DEFAULT_wxUSE_COLOURDLG=yes
2253 DEFAULT_wxUSE_DIRDLG=yes
2254 DEFAULT_wxUSE_FILEDLG=yes
2255 DEFAULT_wxUSE_FINDREPLDLG=yes
2256 DEFAULT_wxUSE_FONTDLG=yes
2257 DEFAULT_wxUSE_MSGDLG=yes
2258 DEFAULT_wxUSE_NUMBERDLG=yes
2259 DEFAULT_wxUSE_TEXTDLG=yes
2260 DEFAULT_wxUSE_SPLASH=yes
2261 DEFAULT_wxUSE_STARTUP_TIPS=yes
2262 DEFAULT_wxUSE_PROGRESSDLG=yes
2263 DEFAULT_wxUSE_WIZARDDLG=yes
2265 DEFAULT_wxUSE_MENUS=yes
2266 DEFAULT_wxUSE_MINIFRAME=yes
2267 DEFAULT_wxUSE_HTML=yes
2268 DEFAULT_wxUSE_FILESYSTEM=yes
2269 DEFAULT_wxUSE_FS_INET=yes
2270 DEFAULT_wxUSE_FS_ZIP=yes
2271 DEFAULT_wxUSE_BUSYINFO=yes
2272 DEFAULT_wxUSE_ZIPSTREAM=yes
2273 DEFAULT_wxUSE_GZSTREAM=yes
2274 DEFAULT_wxUSE_VALIDATORS=yes
2276 DEFAULT_wxUSE_ACCEL=yes
2277 DEFAULT_wxUSE_BUTTON=yes
2278 DEFAULT_wxUSE_BMPBUTTON=yes
2279 DEFAULT_wxUSE_CALCTRL=yes
2280 DEFAULT_wxUSE_CARET=yes
2281 DEFAULT_wxUSE_CHECKBOX=yes
2282 DEFAULT_wxUSE_CHECKLST=yes
2283 DEFAULT_wxUSE_CHOICE=yes
2284 DEFAULT_wxUSE_COMBOBOX=yes
2285 DEFAULT_wxUSE_DISPLAY=no
2286 DEFAULT_wxUSE_GAUGE=yes
2287 DEFAULT_wxUSE_GRID=yes
2288 DEFAULT_wxUSE_IMAGLIST=yes
2289 DEFAULT_wxUSE_LISTBOOK=yes
2290 DEFAULT_wxUSE_LISTBOX=yes
2291 DEFAULT_wxUSE_LISTCTRL=yes
2292 DEFAULT_wxUSE_NOTEBOOK=yes
2293 DEFAULT_wxUSE_RADIOBOX=yes
2294 DEFAULT_wxUSE_RADIOBTN=yes
2295 DEFAULT_wxUSE_SASH=yes
2296 DEFAULT_wxUSE_SCROLLBAR=yes
2297 DEFAULT_wxUSE_SLIDER=yes
2298 DEFAULT_wxUSE_SPINBTN=yes
2299 DEFAULT_wxUSE_SPINCTRL=yes
2300 DEFAULT_wxUSE_SPLITTER=yes
2301 DEFAULT_wxUSE_STATBMP=yes
2302 DEFAULT_wxUSE_STATBOX=yes
2303 DEFAULT_wxUSE_STATLINE=yes
2304 DEFAULT_wxUSE_STATTEXT=yes
2305 DEFAULT_wxUSE_STATUSBAR=yes
2306 DEFAULT_wxUSE_TABDIALOG=no
2307 DEFAULT_wxUSE_TEXTCTRL=yes
2308 DEFAULT_wxUSE_TOGGLEBTN=yes
2309 DEFAULT_wxUSE_TOOLBAR=yes
2310 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2312 DEFAULT_wxUSE_TREECTRL=yes
2313 DEFAULT_wxUSE_POPUPWIN=yes
2314 DEFAULT_wxUSE_TIPWINDOW=yes
2316 DEFAULT_wxUSE_UNICODE=no
2317 DEFAULT_wxUSE_UNICODE_MSLU=yes
2318 DEFAULT_wxUSE_WCSRTOMBS=no
2320 DEFAULT_wxUSE_PALETTE=yes
2321 DEFAULT_wxUSE_IMAGE=yes
2322 DEFAULT_wxUSE_GIF=yes
2323 DEFAULT_wxUSE_PCX=yes
2324 DEFAULT_wxUSE_IFF=no
2325 DEFAULT_wxUSE_PNM=yes
2326 DEFAULT_wxUSE_XPM=yes
2327 DEFAULT_wxUSE_ICO_CUR=yes
2328 DEFAULT_wxUSE_ACCESSIBILITY=no
2330 DEFAULT_wxUSE_MONOLITHIC=no
2331 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2336 for toolkit in `echo $ALL_TOOLKITS`; do
2337 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2338 if test "x$LINE" != "x" ; then
2339 has_toolkit_in_cache=1
2340 eval "DEFAULT_$LINE"
2341 eval "CACHE_$toolkit=1"
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2349 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2351 # Check whether --enable-gui or --disable-gui was given.
2352 if test "${enable_gui+set}" = set; then
2353 enableval="$enable_gui"
2355 if test "$enableval" = yes; then
2356 ac_cv_use_gui='wxUSE_GUI
=yes'
2358 ac_cv_use_gui='wxUSE_GUI
=no
'
2363 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2370 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2374 eval "$ac_cv_use_gui"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2379 if test "$wxUSE_GUI" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2392 # Check whether --enable-monolithic or --disable-monolithic was given.
2393 if test "${enable_monolithic+set}" = set; then
2394 enableval="$enable_monolithic"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2399 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2404 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2415 eval "$ac_cv_use_monolithic"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_MONOLITHIC" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 if test "$wxUSE_GUI" = "yes"; then
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2436 # Check whether --enable-universal or --disable-universal was given.
2437 if test "${enable_universal+set}" = set; then
2438 enableval="$enable_universal"
2440 if test "$enableval" = yes; then
2441 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2443 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2448 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2459 eval "$ac_cv_use_universal"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_UNIVERSAL" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2473 # Check whether --with-gtk or --without-gtk was given.
2474 if test "${with_gtk+set}" = set; then
2476 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2479 # Check whether --with-motif or --without-motif was given.
2480 if test "${with_motif+set}" = set; then
2481 withval="$with_motif"
2482 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2485 # Check whether --with-mac or --without-mac was given.
2486 if test "${with_mac+set}" = set; then
2488 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2491 # Check whether --with-cocoa or --without-cocoa was given.
2492 if test "${with_cocoa+set}" = set; then
2493 withval="$with_cocoa"
2494 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2497 # Check whether --with-wine or --without-wine was given.
2498 if test "${with_wine+set}" = set; then
2499 withval="$with_wine"
2500 wxUSE_WINE="$withval" CACHE_WINE=1
2503 # Check whether --with-msw or --without-msw was given.
2504 if test "${with_msw+set}" = set; then
2506 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2509 # Check whether --with-pm or --without-pm was given.
2510 if test "${with_pm+set}" = set; then
2512 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2515 # Check whether --with-mgl or --without-mgl was given.
2516 if test "${with_mgl+set}" = set; then
2518 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2521 # Check whether --with-microwin or --without-microwin was given.
2522 if test "${with_microwin+set}" = set; then
2523 withval="$with_microwin"
2524 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2527 # Check whether --with-x11 or --without-x11 was given.
2528 if test "${with_x11+set}" = set; then
2530 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2535 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2537 # Check whether --enable-nanox or --disable-nanox was given.
2538 if test "${enable_nanox+set}" = set; then
2539 enableval="$enable_nanox"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2544 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2549 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2560 eval "$ac_cv_use_nanox"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_NANOX" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2577 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2579 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2580 if test "${enable_gtk2+set}" = set; then
2581 enableval="$enable_gtk2"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2586 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2591 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2602 eval "$ac_cv_use_gtk2"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_GTK2" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609 echo "${ECHO_T}yes" >&6
2611 echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6
2617 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2618 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2621 # Check whether --with-libpng or --without-libpng was given.
2622 if test "${with_libpng+set}" = set; then
2623 withval="$with_libpng"
2625 if test "$withval" = yes; then
2626 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2627 elif test "$withval" = no; then
2628 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2629 elif test "$withval" = sys; then
2630 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2631 elif test "$withval" = builtin; then
2632 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2641 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2648 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2652 eval "$ac_cv_use_libpng"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2657 if test "$wxUSE_LIBPNG" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6
2660 elif test "$wxUSE_LIBPNG" = no; then
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2663 elif test "$wxUSE_LIBPNG" = sys; then
2664 echo "$as_me:$LINENO: result: system version" >&5
2665 echo "${ECHO_T}system version" >&6
2666 elif test "$wxUSE_LIBPNG" = builtin; then
2667 echo "$as_me:$LINENO: result: builtin version" >&5
2668 echo "${ECHO_T}builtin version" >&6
2670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2671 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2672 { (exit 1); exit 1; }; }
2676 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2677 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2680 # Check whether --with-libjpeg or --without-libjpeg was given.
2681 if test "${with_libjpeg+set}" = set; then
2682 withval="$with_libjpeg"
2684 if test "$withval" = yes; then
2685 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2686 elif test "$withval" = no; then
2687 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2688 elif test "$withval" = sys; then
2689 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2690 elif test "$withval" = builtin; then
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2700 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2711 eval "$ac_cv_use_libjpeg"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_LIBJPEG" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2719 elif test "$wxUSE_LIBJPEG" = no; then
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 elif test "$wxUSE_LIBJPEG" = sys; then
2723 echo "$as_me:$LINENO: result: system version" >&5
2724 echo "${ECHO_T}system version" >&6
2725 elif test "$wxUSE_LIBJPEG" = builtin; then
2726 echo "$as_me:$LINENO: result: builtin version" >&5
2727 echo "${ECHO_T}builtin version" >&6
2729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2731 { (exit 1); exit 1; }; }
2735 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2736 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2739 # Check whether --with-libtiff or --without-libtiff was given.
2740 if test "${with_libtiff+set}" = set; then
2741 withval="$with_libtiff"
2743 if test "$withval" = yes; then
2744 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2745 elif test "$withval" = no; then
2746 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2747 elif test "$withval" = sys; then
2748 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2749 elif test "$withval" = builtin; then
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2759 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2770 eval "$ac_cv_use_libtiff"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_LIBTIFF" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 elif test "$wxUSE_LIBTIFF" = no; then
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 elif test "$wxUSE_LIBTIFF" = sys; then
2782 echo "$as_me:$LINENO: result: system version" >&5
2783 echo "${ECHO_T}system version" >&6
2784 elif test "$wxUSE_LIBTIFF" = builtin; then
2785 echo "$as_me:$LINENO: result: builtin version" >&5
2786 echo "${ECHO_T}builtin version" >&6
2788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2790 { (exit 1); exit 1; }; }
2794 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2798 # Check whether --with-libxpm or --without-libxpm was given.
2799 if test "${with_libxpm+set}" = set; then
2800 withval="$with_libxpm"
2802 if test "$withval" = yes; then
2803 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2804 elif test "$withval" = no; then
2805 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2806 elif test "$withval" = sys; then
2807 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2808 elif test "$withval" = builtin; then
2809 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2818 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
2829 eval "$ac_cv_use_libxpm"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_LIBXPM" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2837 elif test "$wxUSE_LIBXPM" = no; then
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2840 elif test "$wxUSE_LIBXPM" = sys; then
2841 echo "$as_me:$LINENO: result: system version" >&5
2842 echo "${ECHO_T}system version" >&6
2843 elif test "$wxUSE_LIBXPM" = builtin; then
2844 echo "$as_me:$LINENO: result: builtin version" >&5
2845 echo "${ECHO_T}builtin version" >&6
2847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2849 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2854 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2857 # Check whether --with-libmspack or --without-libmspack was given.
2858 if test "${with_libmspack+set}" = set; then
2859 withval="$with_libmspack"
2861 if test "$withval" = yes; then
2862 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
2864 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
2869 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
2880 eval "$ac_cv_use_libmspack"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_LIBMSPACK" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2894 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2895 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2898 # Check whether --with-opengl or --without-opengl was given.
2899 if test "${with_opengl+set}" = set; then
2900 withval="$with_opengl"
2902 if test "$withval" = yes; then
2903 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2905 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2910 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2921 eval "$ac_cv_use_opengl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_OPENGL" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2938 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2939 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2942 # Check whether --with-dmalloc or --without-dmalloc was given.
2943 if test "${with_dmalloc+set}" = set; then
2944 withval="$with_dmalloc"
2946 if test "$withval" = yes; then
2947 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2949 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2954 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2965 eval "$ac_cv_use_dmalloc"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_DMALLOC" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2979 echo "$as_me:$LINENO: checking for --with-regex" >&5
2980 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2983 # Check whether --with-regex or --without-regex was given.
2984 if test "${with_regex+set}" = set; then
2985 withval="$with_regex"
2987 if test "$withval" = yes; then
2988 ac_cv_use_regex='wxUSE_REGEX
=yes'
2989 elif test "$withval" = no; then
2990 ac_cv_use_regex='wxUSE_REGEX
=no
'
2991 elif test "$withval" = sys; then
2992 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
3003 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3014 eval "$ac_cv_use_regex"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_REGEX" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_REGEX" = no; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_REGEX" = sys; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027 echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_REGEX" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030 echo "${ECHO_T}builtin version" >&6
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3038 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3039 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3042 # Check whether --with-zlib or --without-zlib was given.
3043 if test "${with_zlib+set}" = set; then
3044 withval="$with_zlib"
3046 if test "$withval" = yes; then
3047 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3048 elif test "$withval" = no; then
3049 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3050 elif test "$withval" = sys; then
3051 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3056 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3062 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3073 eval "$ac_cv_use_zlib"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_ZLIB" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_ZLIB" = no; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_ZLIB" = sys; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086 echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_ZLIB" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089 echo "${ECHO_T}builtin version" >&6
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3097 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3098 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3101 # Check whether --with-odbc or --without-odbc was given.
3102 if test "${with_odbc+set}" = set; then
3103 withval="$with_odbc"
3105 if test "$withval" = yes; then
3106 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3107 elif test "$withval" = no; then
3108 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3109 elif test "$withval" = sys; then
3110 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3115 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3121 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3132 eval "$ac_cv_use_odbc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_ODBC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_ODBC" = no; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_ODBC" = sys; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145 echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_ODBC" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148 echo "${ECHO_T}builtin version" >&6
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3156 echo "$as_me:$LINENO: checking for --with-expat" >&5
3157 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3160 # Check whether --with-expat or --without-expat was given.
3161 if test "${with_expat+set}" = set; then
3162 withval="$with_expat"
3164 if test "$withval" = yes; then
3165 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3166 elif test "$withval" = no; then
3167 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3168 elif test "$withval" = sys; then
3169 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3174 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3180 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3191 eval "$ac_cv_use_expat"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_EXPAT" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_EXPAT" = no; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_EXPAT" = sys; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204 echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_EXPAT" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207 echo "${ECHO_T}builtin version" >&6
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3219 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3221 # Check whether --enable-shared or --disable-shared was given.
3222 if test "${enable_shared+set}" = set; then
3223 enableval="$enable_shared"
3225 if test "$enableval" = yes; then
3226 ac_cv_use_shared='wxUSE_SHARED
=yes'
3228 ac_cv_use_shared='wxUSE_SHARED
=no
'
3233 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3240 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3244 eval "$ac_cv_use_shared"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3249 if test "$wxUSE_SHARED" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251 echo "${ECHO_T}yes" >&6
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3262 # Check whether --enable-optimise or --disable-optimise was given.
3263 if test "${enable_optimise+set}" = set; then
3264 enableval="$enable_optimise"
3266 if test "$enableval" = yes; then
3267 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3269 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3274 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3285 eval "$ac_cv_use_optimise"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_OPTIMISE" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3303 # Check whether --enable-debug or --disable-debug was given.
3304 if test "${enable_debug+set}" = set; then
3305 enableval="$enable_debug"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3310 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3315 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3326 eval "$ac_cv_use_debug"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3331 if test "$wxUSE_DEBUG" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3342 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3344 # Check whether --enable-stl or --disable-stl was given.
3345 if test "${enable_stl+set}" = set; then
3346 enableval="$enable_stl"
3348 if test "$enableval" = yes; then
3349 ac_cv_use_stl='wxUSE_STL
=yes'
3351 ac_cv_use_stl='wxUSE_STL
=no
'
3356 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3363 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3367 eval "$ac_cv_use_stl"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3372 if test "$wxUSE_STL" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3376 echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6
3381 if test "$wxUSE_DEBUG" = "yes"; then
3382 DEFAULT_wxUSE_DEBUG_FLAG=yes
3383 DEFAULT_wxUSE_DEBUG_INFO=yes
3385 elif test "$wxUSE_DEBUG" = "no"; then
3386 DEFAULT_wxUSE_DEBUG_FLAG=no
3387 DEFAULT_wxUSE_DEBUG_INFO=no
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3396 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3397 if test "${enable_debug_flag+set}" = set; then
3398 enableval="$enable_debug_flag"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3403 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3408 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3419 eval "$ac_cv_use_debug_flag"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_DEBUG_FLAG" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3437 # Check whether --enable-debug_info or --disable-debug_info was given.
3438 if test "${enable_debug_info+set}" = set; then
3439 enableval="$enable_debug_info"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3444 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3449 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3460 eval "$ac_cv_use_debug_info"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_DEBUG_INFO" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3478 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3479 if test "${enable_debug_gdb+set}" = set; then
3480 enableval="$enable_debug_gdb"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3485 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3490 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3501 eval "$ac_cv_use_debug_gdb"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_DEBUG_GDB" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3519 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3520 if test "${enable_debug_cntxt+set}" = set; then
3521 enableval="$enable_debug_cntxt"
3523 if test "$enableval" = yes; then
3524 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3526 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3531 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3538 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3542 eval "$ac_cv_use_debug_cntxt"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3547 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3560 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3561 if test "${enable_mem_tracing+set}" = set; then
3562 enableval="$enable_mem_tracing"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3567 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3572 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3583 eval "$ac_cv_use_mem_tracing"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_MEM_TRACING" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3599 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3601 # Check whether --enable-profile or --disable-profile was given.
3602 if test "${enable_profile+set}" = set; then
3603 enableval="$enable_profile"
3605 if test "$enableval" = yes; then
3606 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3608 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3613 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3620 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3624 eval "$ac_cv_use_profile"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_PROFILE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3640 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3642 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3643 if test "${enable_no_rtti+set}" = set; then
3644 enableval="$enable_no_rtti"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3649 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3654 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3665 eval "$ac_cv_use_no_rtti"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3670 if test "$wxUSE_NO_RTTI" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3683 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3684 if test "${enable_no_exceptions+set}" = set; then
3685 enableval="$enable_no_exceptions"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3690 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3695 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3706 eval "$ac_cv_use_no_exceptions"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3724 # Check whether --enable-permissive or --disable-permissive was given.
3725 if test "${enable_permissive+set}" = set; then
3726 enableval="$enable_permissive"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3731 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3736 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3747 eval "$ac_cv_use_permissive"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_PERMISSIVE" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3765 # Check whether --enable-no_deps or --disable-no_deps was given.
3766 if test "${enable_no_deps+set}" = set; then
3767 enableval="$enable_no_deps"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3772 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3777 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3788 eval "$ac_cv_use_no_deps"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_NO_DEPS" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3807 # Check whether --enable-compat22 or --disable-compat22 was given.
3808 if test "${enable_compat22+set}" = set; then
3809 enableval="$enable_compat22"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3814 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3819 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3830 eval "$ac_cv_use_compat22"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3835 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3844 enablestring=disable
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3848 # Check whether --enable-compat24 or --disable-compat24 was given.
3849 if test "${enable_compat24+set}" = set; then
3850 enableval="$enable_compat24"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3855 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3860 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3871 eval "$ac_cv_use_compat24"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3876 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3885 # Check whether --enable-rpath or --disable-rpath was given.
3886 if test "${enable_rpath+set}" = set; then
3887 enableval="$enable_rpath"
3888 wxRPATH_DIR="$enableval"
3891 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3892 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3902 # Check whether --enable-intl or --disable-intl was given.
3903 if test "${enable_intl+set}" = set; then
3904 enableval="$enable_intl"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_intl='wxUSE_INTL
=yes'
3909 ac_cv_use_intl='wxUSE_INTL
=no
'
3914 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3925 eval "$ac_cv_use_intl"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_INTL" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932 echo "${ECHO_T}yes" >&6
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3941 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3943 # Check whether --enable-config or --disable-config was given.
3944 if test "${enable_config+set}" = set; then
3945 enableval="$enable_config"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_config='wxUSE_CONFIG
=yes'
3950 ac_cv_use_config='wxUSE_CONFIG
=no
'
3955 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3966 eval "$ac_cv_use_config"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_CONFIG" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3985 # Check whether --enable-protocols or --disable-protocols was given.
3986 if test "${enable_protocols+set}" = set; then
3987 enableval="$enable_protocols"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3992 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3997 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4008 eval "$ac_cv_use_protocols"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_PROTOCOL" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4026 # Check whether --enable-ftp or --disable-ftp was given.
4027 if test "${enable_ftp+set}" = set; then
4028 enableval="$enable_ftp"
4030 if test "$enableval" = yes; then
4031 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4033 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4038 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4045 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4049 eval "$ac_cv_use_ftp"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4067 # Check whether --enable-http or --disable-http was given.
4068 if test "${enable_http+set}" = set; then
4069 enableval="$enable_http"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4074 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4079 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4090 eval "$ac_cv_use_http"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4108 # Check whether --enable-fileproto or --disable-fileproto was given.
4109 if test "${enable_fileproto+set}" = set; then
4110 enableval="$enable_fileproto"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4115 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4120 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4131 eval "$ac_cv_use_fileproto"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4149 # Check whether --enable-sockets or --disable-sockets was given.
4150 if test "${enable_sockets+set}" = set; then
4151 enableval="$enable_sockets"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4156 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4161 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4172 eval "$ac_cv_use_sockets"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_SOCKETS" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4190 # Check whether --enable-ole or --disable-ole was given.
4191 if test "${enable_ole+set}" = set; then
4192 enableval="$enable_ole"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_ole='wxUSE_OLE
=yes'
4197 ac_cv_use_ole='wxUSE_OLE
=no
'
4202 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4213 eval "$ac_cv_use_ole"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_OLE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4231 # Check whether --enable-dataobj or --disable-dataobj was given.
4232 if test "${enable_dataobj+set}" = set; then
4233 enableval="$enable_dataobj"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4238 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4243 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4254 eval "$ac_cv_use_dataobj"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_DATAOBJ" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4273 # Check whether --enable-ipc or --disable-ipc was given.
4274 if test "${enable_ipc+set}" = set; then
4275 enableval="$enable_ipc"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_ipc='wxUSE_IPC
=yes'
4280 ac_cv_use_ipc='wxUSE_IPC
=no
'
4285 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4296 eval "$ac_cv_use_ipc"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_IPC" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4315 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4316 if test "${enable_apple_ieee+set}" = set; then
4317 enableval="$enable_apple_ieee"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4322 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4327 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4338 eval "$ac_cv_use_apple_ieee"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_APPLE_IEEE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4356 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4357 if test "${enable_catch_segvs+set}" = set; then
4358 enableval="$enable_catch_segvs"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4363 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4368 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4379 eval "$ac_cv_use_catch_segvs"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4397 # Check whether --enable-cmdline or --disable-cmdline was given.
4398 if test "${enable_cmdline+set}" = set; then
4399 enableval="$enable_cmdline"
4401 if test "$enableval" = yes; then
4402 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4404 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4409 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4416 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4420 eval "$ac_cv_use_cmdline"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427 echo "${ECHO_T}yes" >&6
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4438 # Check whether --enable-datetime or --disable-datetime was given.
4439 if test "${enable_datetime+set}" = set; then
4440 enableval="$enable_datetime"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4445 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4450 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4461 eval "$ac_cv_use_datetime"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_DATETIME" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4479 # Check whether --enable-dialupman or --disable-dialupman was given.
4480 if test "${enable_dialupman+set}" = set; then
4481 enableval="$enable_dialupman"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4491 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4502 eval "$ac_cv_use_dialupman"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4518 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4520 # Check whether --enable-dynlib or --disable-dynlib was given.
4521 if test "${enable_dynlib+set}" = set; then
4522 enableval="$enable_dynlib"
4524 if test "$enableval" = yes; then
4525 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4532 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4539 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4543 eval "$ac_cv_use_dynlib"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4561 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4562 if test "${enable_dynamicloader+set}" = set; then
4563 enableval="$enable_dynamicloader"
4565 if test "$enableval" = yes; then
4566 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4573 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4580 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4584 eval "$ac_cv_use_dynamicloader"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4589 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4602 # Check whether --enable-exceptions or --disable-exceptions was given.
4603 if test "${enable_exceptions+set}" = set; then
4604 enableval="$enable_exceptions"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
4609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
4614 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
4625 eval "$ac_cv_use_exceptions"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_EXCEPTIONS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4643 # Check whether --enable-ffile or --disable-ffile was given.
4644 if test "${enable_ffile+set}" = set; then
4645 enableval="$enable_ffile"
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4650 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4655 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4662 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4666 eval "$ac_cv_use_ffile"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4671 if test "$wxUSE_FFILE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673 echo "${ECHO_T}yes" >&6
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4684 # Check whether --enable-file or --disable-file was given.
4685 if test "${enable_file+set}" = set; then
4686 enableval="$enable_file"
4688 if test "$enableval" = yes; then
4689 ac_cv_use_file='wxUSE_FILE
=yes'
4691 ac_cv_use_file='wxUSE_FILE
=no
'
4696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4703 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4707 eval "$ac_cv_use_file"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_FILE" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6
4716 echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4723 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4725 # Check whether --enable-filesystem or --disable-filesystem was given.
4726 if test "${enable_filesystem+set}" = set; then
4727 enableval="$enable_filesystem"
4729 if test "$enableval" = yes; then
4730 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4732 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4737 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4744 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4748 eval "$ac_cv_use_filesystem"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_FILESYSTEM" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755 echo "${ECHO_T}yes" >&6
4757 echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4766 # Check whether --enable-fontmap or --disable-fontmap was given.
4767 if test "${enable_fontmap+set}" = set; then
4768 enableval="$enable_fontmap"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4773 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4778 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4789 eval "$ac_cv_use_fontmap"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_FONTMAP" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4807 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4808 if test "${enable_fs_inet+set}" = set; then
4809 enableval="$enable_fs_inet"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4814 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4819 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4830 eval "$ac_cv_use_fs_inet"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4835 if test "$wxUSE_FS_INET" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4848 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4849 if test "${enable_fs_zip+set}" = set; then
4850 enableval="$enable_fs_zip"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4855 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4860 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4871 eval "$ac_cv_use_fs_zip"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_FS_ZIP" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6
4880 echo "$as_me:$LINENO: result: no" >&5
4881 echo "${ECHO_T}no" >&6
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4889 # Check whether --enable-geometry or --disable-geometry was given.
4890 if test "${enable_geometry+set}" = set; then
4891 enableval="$enable_geometry"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4896 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4901 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4912 eval "$ac_cv_use_geometry"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_GEOMETRY" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4921 echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4930 # Check whether --enable-log or --disable-log was given.
4931 if test "${enable_log+set}" = set; then
4932 enableval="$enable_log"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_log='wxUSE_LOG
=yes'
4937 ac_cv_use_log='wxUSE_LOG
=no
'
4942 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4953 eval "$ac_cv_use_log"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_LOG" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960 echo "${ECHO_T}yes" >&6
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4971 # Check whether --enable-longlong or --disable-longlong was given.
4972 if test "${enable_longlong+set}" = set; then
4973 enableval="$enable_longlong"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4978 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4983 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4994 eval "$ac_cv_use_longlong"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_LONGLONG" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5012 # Check whether --enable-mimetype or --disable-mimetype was given.
5013 if test "${enable_mimetype+set}" = set; then
5014 enableval="$enable_mimetype"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5019 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5024 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5035 eval "$ac_cv_use_mimetype"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_MIMETYPE" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5053 # Check whether --enable-mslu or --disable-mslu was given.
5054 if test "${enable_mslu+set}" = set; then
5055 enableval="$enable_mslu"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5065 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5076 eval "$ac_cv_use_mslu"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_UNICODE_MSLU" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5094 # Check whether --enable-snglinst or --disable-snglinst was given.
5095 if test "${enable_snglinst+set}" = set; then
5096 enableval="$enable_snglinst"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5101 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5106 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5117 eval "$ac_cv_use_snglinst"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5135 # Check whether --enable-streams or --disable-streams was given.
5136 if test "${enable_streams+set}" = set; then
5137 enableval="$enable_streams"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5142 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5158 eval "$ac_cv_use_streams"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_STREAMS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5176 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5177 if test "${enable_std_iostreams+set}" = set; then
5178 enableval="$enable_std_iostreams"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5183 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5188 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5199 eval "$ac_cv_use_std_iostreams"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_STD_IOSTREAM" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5217 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5218 if test "${enable_stopwatch+set}" = set; then
5219 enableval="$enable_stopwatch"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5224 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5229 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5240 eval "$ac_cv_use_stopwatch"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_STOPWATCH" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5258 # Check whether --enable-system_options or --disable-system_options was given.
5259 if test "${enable_system_options+set}" = set; then
5260 enableval="$enable_system_options"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5281 eval "$ac_cv_use_system_options"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5299 # Check whether --enable-textbuf or --disable-textbuf was given.
5300 if test "${enable_textbuf+set}" = set; then
5301 enableval="$enable_textbuf"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5306 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5311 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5322 eval "$ac_cv_use_textbuf"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_TEXTBUFFER" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5340 # Check whether --enable-textfile or --disable-textfile was given.
5341 if test "${enable_textfile+set}" = set; then
5342 enableval="$enable_textfile"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5347 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5352 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5363 eval "$ac_cv_use_textfile"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_TEXTFILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5381 # Check whether --enable-timer or --disable-timer was given.
5382 if test "${enable_timer+set}" = set; then
5383 enableval="$enable_timer"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_timer='wxUSE_TIMER
=yes'
5388 ac_cv_use_timer='wxUSE_TIMER
=no
'
5393 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5404 eval "$ac_cv_use_timer"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_TIMER" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5422 # Check whether --enable-unicode or --disable-unicode was given.
5423 if test "${enable_unicode+set}" = set; then
5424 enableval="$enable_unicode"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5429 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5434 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5445 eval "$ac_cv_use_unicode"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_UNICODE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5463 # Check whether --enable-wave or --disable-wave was given.
5464 if test "${enable_wave+set}" = set; then
5465 enableval="$enable_wave"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_wave='wxUSE_WAVE
=yes'
5470 ac_cv_use_wave='wxUSE_WAVE
=no
'
5475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
5486 eval "$ac_cv_use_wave"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_WAVE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5504 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5505 if test "${enable_wxprintfv+set}" = set; then
5506 enableval="$enable_wxprintfv"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5511 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5516 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5527 eval "$ac_cv_use_wxprintfv"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5545 # Check whether --enable-zipstream or --disable-zipstream was given.
5546 if test "${enable_zipstream+set}" = set; then
5547 enableval="$enable_zipstream"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5568 eval "$ac_cv_use_zipstream"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_ZIPSTREAM" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5586 # Check whether --enable-gzstream or --disable-gzstream was given.
5587 if test "${enable_gzstream+set}" = set; then
5588 enableval="$enable_gzstream"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_gzstream='wxUSE_GZSTREAM
=yes'
5593 ac_cv_use_gzstream='wxUSE_GZSTREAM
=no
'
5598 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_gzstream='wxUSE_GZSTREAM
='$DEFAULT_wxUSE_GZSTREAM
5609 eval "$ac_cv_use_gzstream"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_GZSTREAM" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5628 # Check whether --enable-url or --disable-url was given.
5629 if test "${enable_url+set}" = set; then
5630 enableval="$enable_url"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_url='wxUSE_URL
=yes'
5635 ac_cv_use_url='wxUSE_URL
=no
'
5640 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5651 eval "$ac_cv_use_url"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_URL" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5669 # Check whether --enable-protocol or --disable-protocol was given.
5670 if test "${enable_protocol+set}" = set; then
5671 enableval="$enable_protocol"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5676 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5692 eval "$ac_cv_use_protocol"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_PROTOCOL" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5711 if test "${enable_protocol_http+set}" = set; then
5712 enableval="$enable_protocol_http"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5733 eval "$ac_cv_use_protocol_http"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5752 if test "${enable_protocol_ftp+set}" = set; then
5753 enableval="$enable_protocol_ftp"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5774 eval "$ac_cv_use_protocol_ftp"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5793 if test "${enable_protocol_file+set}" = set; then
5794 enableval="$enable_protocol_file"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5815 eval "$ac_cv_use_protocol_file"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5836 # Check whether --enable-threads or --disable-threads was given.
5837 if test "${enable_threads+set}" = set; then
5838 enableval="$enable_threads"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_threads='wxUSE_THREADS
=yes'
5843 ac_cv_use_threads='wxUSE_THREADS
=no
'
5848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5859 eval "$ac_cv_use_threads"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5864 if test "$wxUSE_THREADS" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5873 if test "$wxUSE_GUI" = "yes"; then
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5881 # Check whether --enable-docview or --disable-docview was given.
5882 if test "${enable_docview+set}" = set; then
5883 enableval="$enable_docview"
5885 if test "$enableval" = yes; then
5886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5904 eval "$ac_cv_use_docview"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5922 # Check whether --enable-help or --disable-help was given.
5923 if test "${enable_help+set}" = set; then
5924 enableval="$enable_help"
5926 if test "$enableval" = yes; then
5927 ac_cv_use_help='wxUSE_HELP
=yes'
5929 ac_cv_use_help='wxUSE_HELP
=no
'
5934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5945 eval "$ac_cv_use_help"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5950 if test "$wxUSE_HELP" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5964 if test "${enable_mshtmlhelp+set}" = set; then
5965 enableval="$enable_mshtmlhelp"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5986 eval "$ac_cv_use_mshtmlhelp"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5991 if test "$wxUSE_MS_HTML_HELP" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6004 # Check whether --enable-html or --disable-html was given.
6005 if test "${enable_html+set}" = set; then
6006 enableval="$enable_html"
6008 if test "$enableval" = yes; then
6009 ac_cv_use_html='wxUSE_HTML
=yes'
6011 ac_cv_use_html='wxUSE_HTML
=no
'
6016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6027 eval "$ac_cv_use_html"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6032 if test "$wxUSE_HTML" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6046 if test "${enable_htmlhelp+set}" = set; then
6047 enableval="$enable_htmlhelp"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6068 eval "$ac_cv_use_htmlhelp"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_WXHTML_HELP" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6086 # Check whether --enable-constraints or --disable-constraints was given.
6087 if test "${enable_constraints+set}" = set; then
6088 enableval="$enable_constraints"
6090 if test "$enableval" = yes; then
6091 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6093 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6098 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6105 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6109 eval "$ac_cv_use_constraints"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6114 if test "$wxUSE_CONSTRAINTS" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6
6118 echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6127 # Check whether --enable-printarch or --disable-printarch was given.
6128 if test "${enable_printarch+set}" = set; then
6129 enableval="$enable_printarch"
6131 if test "$enableval" = yes; then
6132 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6134 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6139 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6146 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6150 eval "$ac_cv_use_printarch"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6168 # Check whether --enable-mdi or --disable-mdi was given.
6169 if test "${enable_mdi+set}" = set; then
6170 enableval="$enable_mdi"
6172 if test "$enableval" = yes; then
6173 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6175 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6187 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6191 eval "$ac_cv_use_mdi"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6197 echo "$as_me:$LINENO: result: yes" >&5
6198 echo "${ECHO_T}yes" >&6
6200 echo "$as_me:$LINENO: result: no" >&5
6201 echo "${ECHO_T}no" >&6
6206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6209 # Check whether --enable-loggui or --disable-loggui was given.
6210 if test "${enable_loggui+set}" = set; then
6211 enableval="$enable_loggui"
6213 if test "$enableval" = yes; then
6214 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6216 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6228 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6232 eval "$ac_cv_use_loggui"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6237 if test "$wxUSE_LOGGUI" = yes; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6
6241 echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6250 # Check whether --enable-logwin or --disable-logwin was given.
6251 if test "${enable_logwin+set}" = set; then
6252 enableval="$enable_logwin"
6254 if test "$enableval" = yes; then
6255 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6257 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6269 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6273 eval "$ac_cv_use_logwin"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6278 if test "$wxUSE_LOGWINDOW" = yes; then
6279 echo "$as_me:$LINENO: result: yes" >&5
6280 echo "${ECHO_T}yes" >&6
6282 echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6
6288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6291 # Check whether --enable-logdialog or --disable-logdialog was given.
6292 if test "${enable_logdialog+set}" = set; then
6293 enableval="$enable_logdialog"
6295 if test "$enableval" = yes; then
6296 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6298 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6310 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6314 eval "$ac_cv_use_logdialog"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6319 if test "$wxUSE_LOGDIALOG" = yes; then
6320 echo "$as_me:$LINENO: result: yes" >&5
6321 echo "${ECHO_T}yes" >&6
6323 echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6333 # Check whether --enable-postscript or --disable-postscript was given.
6334 if test "${enable_postscript+set}" = set; then
6335 enableval="$enable_postscript"
6337 if test "$enableval" = yes; then
6338 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6340 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6345 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6352 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6356 eval "$ac_cv_use_postscript"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_POSTSCRIPT" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6377 # Check whether --enable-prologio or --disable-prologio was given.
6378 if test "${enable_prologio+set}" = set; then
6379 enableval="$enable_prologio"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6384 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6389 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6400 eval "$ac_cv_use_prologio"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_PROLOGIO" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6418 # Check whether --enable-resources or --disable-resources was given.
6419 if test "${enable_resources+set}" = set; then
6420 enableval="$enable_resources"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6425 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6430 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6441 eval "$ac_cv_use_resources"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_RESOURCES" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6461 # Check whether --enable-clipboard or --disable-clipboard was given.
6462 if test "${enable_clipboard+set}" = set; then
6463 enableval="$enable_clipboard"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6468 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6473 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6484 eval "$ac_cv_use_clipboard"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_CLIPBOARD" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6502 # Check whether --enable-dnd or --disable-dnd was given.
6503 if test "${enable_dnd+set}" = set; then
6504 enableval="$enable_dnd"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6509 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6514 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6525 eval "$ac_cv_use_dnd"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6543 # Check whether --enable-metafile or --disable-metafile was given.
6544 if test "${enable_metafile+set}" = set; then
6545 enableval="$enable_metafile"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6550 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6555 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6566 eval "$ac_cv_use_metafile"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_METAFILE" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6587 # Check whether --enable-controls or --disable-controls was given.
6588 if test "${enable_controls+set}" = set; then
6589 enableval="$enable_controls"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6594 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6599 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6610 eval "$ac_cv_use_controls"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_CONTROLS" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6624 if test "$wxUSE_CONTROLS" = "yes"; then
6625 DEFAULT_wxUSE_ACCEL=yes
6626 DEFAULT_wxUSE_BMPBUTTON=yes
6627 DEFAULT_wxUSE_BUTTON=yes
6628 DEFAULT_wxUSE_CALCTRL=no
6629 DEFAULT_wxUSE_CARET=yes
6630 DEFAULT_wxUSE_COMBOBOX=yes
6631 DEFAULT_wxUSE_CHECKBOX=yes
6632 DEFAULT_wxUSE_CHECKLISTBOX=yes
6633 DEFAULT_wxUSE_CHOICE=yes
6634 DEFAULT_wxUSE_GAUGE=yes
6635 DEFAULT_wxUSE_GRID=yes
6636 DEFAULT_wxUSE_IMAGLIST=yes
6637 DEFAULT_wxUSE_LISTBOOK=yes
6638 DEFAULT_wxUSE_LISTBOX=yes
6639 DEFAULT_wxUSE_LISTCTRL=yes
6640 DEFAULT_wxUSE_NOTEBOOK=yes
6641 DEFAULT_wxUSE_RADIOBOX=yes
6642 DEFAULT_wxUSE_RADIOBTN=yes
6643 DEFAULT_wxUSE_SASH=yes
6644 DEFAULT_wxUSE_SCROLLBAR=yes
6645 DEFAULT_wxUSE_SLIDER=yes
6646 DEFAULT_wxUSE_SPINBTN=yes
6647 DEFAULT_wxUSE_SPINCTRL=yes
6648 DEFAULT_wxUSE_SPLITTER=yes
6649 DEFAULT_wxUSE_STATBMP=yes
6650 DEFAULT_wxUSE_STATBOX=yes
6651 DEFAULT_wxUSE_STATLINE=yes
6652 DEFAULT_wxUSE_STATUSBAR=yes
6653 DEFAULT_wxUSE_TAB_DIALOG=yes
6654 DEFAULT_wxUSE_TOGGLEBTN=yes
6655 DEFAULT_wxUSE_TOOLBAR=yes
6656 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6657 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6658 DEFAULT_wxUSE_TOOLTIPS=yes
6659 DEFAULT_wxUSE_TREECTRL=yes
6660 DEFAULT_wxUSE_POPUPWIN=yes
6661 DEFAULT_wxUSE_TIPWINDOW=yes
6662 elif test "$wxUSE_CONTROLS" = "no"; then
6663 DEFAULT_wxUSE_ACCEL=no
6664 DEFAULT_wxUSE_BMPBUTTON=no
6665 DEFAULT_wxUSE_BUTTON=no
6666 DEFAULT_wxUSE_CALCTRL=no
6667 DEFAULT_wxUSE_CARET=no
6668 DEFAULT_wxUSE_COMBOBOX=no
6669 DEFAULT_wxUSE_CHECKBOX=no
6670 DEFAULT_wxUSE_CHECKLISTBOX=no
6671 DEFAULT_wxUSE_CHOICE=no
6672 DEFAULT_wxUSE_GAUGE=no
6673 DEFAULT_wxUSE_GRID=no
6674 DEFAULT_wxUSE_IMAGLIST=no
6675 DEFAULT_wxUSE_LISTBOOK=no
6676 DEFAULT_wxUSE_LISTBOX=no
6677 DEFAULT_wxUSE_LISTCTRL=no
6678 DEFAULT_wxUSE_NOTEBOOK=no
6679 DEFAULT_wxUSE_RADIOBOX=no
6680 DEFAULT_wxUSE_RADIOBTN=no
6681 DEFAULT_wxUSE_SASH=no
6682 DEFAULT_wxUSE_SCROLLBAR=no
6683 DEFAULT_wxUSE_SLIDER=no
6684 DEFAULT_wxUSE_SPINBTN=no
6685 DEFAULT_wxUSE_SPINCTRL=no
6686 DEFAULT_wxUSE_SPLITTER=no
6687 DEFAULT_wxUSE_STATBMP=no
6688 DEFAULT_wxUSE_STATBOX=no
6689 DEFAULT_wxUSE_STATLINE=no
6690 DEFAULT_wxUSE_STATUSBAR=no
6691 DEFAULT_wxUSE_TAB_DIALOG=no
6692 DEFAULT_wxUSE_TOGGLEBTN=no
6693 DEFAULT_wxUSE_TOOLBAR=no
6694 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6695 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6696 DEFAULT_wxUSE_TOOLTIPS=no
6697 DEFAULT_wxUSE_TREECTRL=no
6698 DEFAULT_wxUSE_POPUPWIN=no
6699 DEFAULT_wxUSE_TIPWINDOW=no
6702 ## FIXME: This is a blatant hack
6703 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6704 wxUSE_PRINTING_ARCHITECTURE=no
6705 wxUSE_DRAG_AND_DROP=no
6706 # Generic notebook requires tab dialog
6707 DEFAULT_wxUSE_TABDIALOG=yes
6708 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6709 DEFAULT_wxUSE_SCROLLBAR=no
6710 DEFAULT_wxUSE_TOOLTIPS=no
6711 DEFAULT_wxUSE_DRAGIMAGE=no
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6719 # Check whether --enable-accel or --disable-accel was given.
6720 if test "${enable_accel+set}" = set; then
6721 enableval="$enable_accel"
6723 if test "$enableval" = yes; then
6724 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6726 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6731 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6742 eval "$ac_cv_use_accel"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_ACCEL" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6760 # Check whether --enable-button or --disable-button was given.
6761 if test "${enable_button+set}" = set; then
6762 enableval="$enable_button"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_button='wxUSE_BUTTON
=yes'
6767 ac_cv_use_button='wxUSE_BUTTON
=no
'
6772 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6783 eval "$ac_cv_use_button"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_BUTTON" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6801 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6802 if test "${enable_bmpbutton+set}" = set; then
6803 enableval="$enable_bmpbutton"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6808 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6813 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6824 eval "$ac_cv_use_bmpbutton"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6829 if test "$wxUSE_BMPBUTTON" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6842 # Check whether --enable-calendar or --disable-calendar was given.
6843 if test "${enable_calendar+set}" = set; then
6844 enableval="$enable_calendar"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6849 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6854 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6865 eval "$ac_cv_use_calendar"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6870 if test "$wxUSE_CALCTRL" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6883 # Check whether --enable-caret or --disable-caret was given.
6884 if test "${enable_caret+set}" = set; then
6885 enableval="$enable_caret"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_caret='wxUSE_CARET
=yes'
6890 ac_cv_use_caret='wxUSE_CARET
=no
'
6895 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6906 eval "$ac_cv_use_caret"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_CARET" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6924 # Check whether --enable-checkbox or --disable-checkbox was given.
6925 if test "${enable_checkbox+set}" = set; then
6926 enableval="$enable_checkbox"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6931 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6936 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6947 eval "$ac_cv_use_checkbox"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_CHECKBOX" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6965 # Check whether --enable-checklst or --disable-checklst was given.
6966 if test "${enable_checklst+set}" = set; then
6967 enableval="$enable_checklst"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6972 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6977 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6988 eval "$ac_cv_use_checklst"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_CHECKLST" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995 echo "${ECHO_T}yes" >&6
6997 echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7004 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7006 # Check whether --enable-choice or --disable-choice was given.
7007 if test "${enable_choice+set}" = set; then
7008 enableval="$enable_choice"
7010 if test "$enableval" = yes; then
7011 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7013 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7018 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7029 eval "$ac_cv_use_choice"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7034 if test "$wxUSE_CHOICE" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036 echo "${ECHO_T}yes" >&6
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7047 # Check whether --enable-combobox or --disable-combobox was given.
7048 if test "${enable_combobox+set}" = set; then
7049 enableval="$enable_combobox"
7051 if test "$enableval" = yes; then
7052 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7054 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7059 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7070 eval "$ac_cv_use_combobox"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7075 if test "$wxUSE_COMBOBOX" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077 echo "${ECHO_T}yes" >&6
7079 echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7088 # Check whether --enable-display or --disable-display was given.
7089 if test "${enable_display+set}" = set; then
7090 enableval="$enable_display"
7092 if test "$enableval" = yes; then
7093 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7095 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7100 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7111 eval "$ac_cv_use_display"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7116 if test "$wxUSE_DISPLAY" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118 echo "${ECHO_T}yes" >&6
7120 echo "$as_me:$LINENO: result: no" >&5
7121 echo "${ECHO_T}no" >&6
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7129 # Check whether --enable-gauge or --disable-gauge was given.
7130 if test "${enable_gauge+set}" = set; then
7131 enableval="$enable_gauge"
7133 if test "$enableval" = yes; then
7134 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7136 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7141 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7152 eval "$ac_cv_use_gauge"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7157 if test "$wxUSE_GAUGE" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7170 # Check whether --enable-grid or --disable-grid was given.
7171 if test "${enable_grid+set}" = set; then
7172 enableval="$enable_grid"
7174 if test "$enableval" = yes; then
7175 ac_cv_use_grid='wxUSE_GRID
=yes'
7177 ac_cv_use_grid='wxUSE_GRID
=no
'
7182 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7193 eval "$ac_cv_use_grid"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7198 if test "$wxUSE_GRID" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200 echo "${ECHO_T}yes" >&6
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7211 # Check whether --enable-imaglist or --disable-imaglist was given.
7212 if test "${enable_imaglist+set}" = set; then
7213 enableval="$enable_imaglist"
7215 if test "$enableval" = yes; then
7216 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7218 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7223 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7230 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7234 eval "$ac_cv_use_imaglist"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7239 if test "$wxUSE_IMAGLIST" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241 echo "${ECHO_T}yes" >&6
7243 echo "$as_me:$LINENO: result: no" >&5
7244 echo "${ECHO_T}no" >&6
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7252 # Check whether --enable-listbook or --disable-listbook was given.
7253 if test "${enable_listbook+set}" = set; then
7254 enableval="$enable_listbook"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7259 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7264 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7275 eval "$ac_cv_use_listbook"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7280 if test "$wxUSE_LISTBOOK" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282 echo "${ECHO_T}yes" >&6
7284 echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7293 # Check whether --enable-listbox or --disable-listbox was given.
7294 if test "${enable_listbox+set}" = set; then
7295 enableval="$enable_listbox"
7297 if test "$enableval" = yes; then
7298 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7300 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7305 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7316 eval "$ac_cv_use_listbox"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_LISTBOX" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7334 # Check whether --enable-listctrl or --disable-listctrl was given.
7335 if test "${enable_listctrl+set}" = set; then
7336 enableval="$enable_listctrl"
7338 if test "$enableval" = yes; then
7339 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7341 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7346 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7353 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7357 eval "$ac_cv_use_listctrl"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7362 if test "$wxUSE_LISTCTRL" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364 echo "${ECHO_T}yes" >&6
7366 echo "$as_me:$LINENO: result: no" >&5
7367 echo "${ECHO_T}no" >&6
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7373 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7375 # Check whether --enable-notebook or --disable-notebook was given.
7376 if test "${enable_notebook+set}" = set; then
7377 enableval="$enable_notebook"
7379 if test "$enableval" = yes; then
7380 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7382 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7387 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7394 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7398 eval "$ac_cv_use_notebook"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7403 if test "$wxUSE_NOTEBOOK" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405 echo "${ECHO_T}yes" >&6
7407 echo "$as_me:$LINENO: result: no" >&5
7408 echo "${ECHO_T}no" >&6
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7416 # Check whether --enable-radiobox or --disable-radiobox was given.
7417 if test "${enable_radiobox+set}" = set; then
7418 enableval="$enable_radiobox"
7420 if test "$enableval" = yes; then
7421 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7423 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7428 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7435 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7439 eval "$ac_cv_use_radiobox"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7444 if test "$wxUSE_RADIOBOX" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446 echo "${ECHO_T}yes" >&6
7448 echo "$as_me:$LINENO: result: no" >&5
7449 echo "${ECHO_T}no" >&6
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7455 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7457 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7458 if test "${enable_radiobtn+set}" = set; then
7459 enableval="$enable_radiobtn"
7461 if test "$enableval" = yes; then
7462 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7464 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7469 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7476 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7480 eval "$ac_cv_use_radiobtn"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7485 if test "$wxUSE_RADIOBTN" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487 echo "${ECHO_T}yes" >&6
7489 echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7498 # Check whether --enable-sash or --disable-sash was given.
7499 if test "${enable_sash+set}" = set; then
7500 enableval="$enable_sash"
7502 if test "$enableval" = yes; then
7503 ac_cv_use_sash='wxUSE_SASH
=yes'
7505 ac_cv_use_sash='wxUSE_SASH
=no
'
7510 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7517 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7521 eval "$ac_cv_use_sash"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7526 if test "$wxUSE_SASH" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528 echo "${ECHO_T}yes" >&6
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7539 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7540 if test "${enable_scrollbar+set}" = set; then
7541 enableval="$enable_scrollbar"
7543 if test "$enableval" = yes; then
7544 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7546 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7551 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7558 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7562 eval "$ac_cv_use_scrollbar"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7567 if test "$wxUSE_SCROLLBAR" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569 echo "${ECHO_T}yes" >&6
7571 echo "$as_me:$LINENO: result: no" >&5
7572 echo "${ECHO_T}no" >&6
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7580 # Check whether --enable-slider or --disable-slider was given.
7581 if test "${enable_slider+set}" = set; then
7582 enableval="$enable_slider"
7584 if test "$enableval" = yes; then
7585 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7587 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7592 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7599 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7603 eval "$ac_cv_use_slider"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7608 if test "$wxUSE_SLIDER" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7621 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7622 if test "${enable_spinbtn+set}" = set; then
7623 enableval="$enable_spinbtn"
7625 if test "$enableval" = yes; then
7626 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7628 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7633 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7640 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7644 eval "$ac_cv_use_spinbtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7649 if test "$wxUSE_SPINBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7662 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7663 if test "${enable_spinctrl+set}" = set; then
7664 enableval="$enable_spinctrl"
7666 if test "$enableval" = yes; then
7667 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7669 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7674 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x ; then
7676 eval "DEFAULT_$LINE"
7681 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7685 eval "$ac_cv_use_spinctrl"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7690 if test "$wxUSE_SPINCTRL" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692 echo "${ECHO_T}yes" >&6
7694 echo "$as_me:$LINENO: result: no" >&5
7695 echo "${ECHO_T}no" >&6
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7703 # Check whether --enable-splitter or --disable-splitter was given.
7704 if test "${enable_splitter+set}" = set; then
7705 enableval="$enable_splitter"
7707 if test "$enableval" = yes; then
7708 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7710 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7715 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7722 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7726 eval "$ac_cv_use_splitter"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7731 if test "$wxUSE_SPLITTER" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733 echo "${ECHO_T}yes" >&6
7735 echo "$as_me:$LINENO: result: no" >&5
7736 echo "${ECHO_T}no" >&6
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7744 # Check whether --enable-statbmp or --disable-statbmp was given.
7745 if test "${enable_statbmp+set}" = set; then
7746 enableval="$enable_statbmp"
7748 if test "$enableval" = yes; then
7749 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7751 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7756 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7763 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7767 eval "$ac_cv_use_statbmp"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7772 if test "$wxUSE_STATBMP" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774 echo "${ECHO_T}yes" >&6
7776 echo "$as_me:$LINENO: result: no" >&5
7777 echo "${ECHO_T}no" >&6
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7785 # Check whether --enable-statbox or --disable-statbox was given.
7786 if test "${enable_statbox+set}" = set; then
7787 enableval="$enable_statbox"
7789 if test "$enableval" = yes; then
7790 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7792 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7797 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7804 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7808 eval "$ac_cv_use_statbox"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7813 if test "$wxUSE_STATBOX" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6
7817 echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7826 # Check whether --enable-statline or --disable-statline was given.
7827 if test "${enable_statline+set}" = set; then
7828 enableval="$enable_statline"
7830 if test "$enableval" = yes; then
7831 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7833 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7838 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7845 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7849 eval "$ac_cv_use_statline"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7854 if test "$wxUSE_STATLINE" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6
7858 echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7867 # Check whether --enable-stattext or --disable-stattext was given.
7868 if test "${enable_stattext+set}" = set; then
7869 enableval="$enable_stattext"
7871 if test "$enableval" = yes; then
7872 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7874 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7879 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7886 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7890 eval "$ac_cv_use_stattext"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7895 if test "$wxUSE_STATTEXT" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6
7899 echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7908 # Check whether --enable-statusbar or --disable-statusbar was given.
7909 if test "${enable_statusbar+set}" = set; then
7910 enableval="$enable_statusbar"
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7915 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7920 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7927 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7931 eval "$ac_cv_use_statusbar"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7936 if test "$wxUSE_STATUSBAR" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7949 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7950 if test "${enable_tabdialog+set}" = set; then
7951 enableval="$enable_tabdialog"
7953 if test "$enableval" = yes; then
7954 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7956 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7961 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7972 eval "$ac_cv_use_tabdialog"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7977 if test "$wxUSE_TABDIALOG" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6
7981 echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7990 # Check whether --enable-textctrl or --disable-textctrl was given.
7991 if test "${enable_textctrl+set}" = set; then
7992 enableval="$enable_textctrl"
7994 if test "$enableval" = yes; then
7995 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7997 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8002 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8009 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8013 eval "$ac_cv_use_textctrl"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8018 if test "$wxUSE_TEXTCTRL" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6
8022 echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8031 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8032 if test "${enable_togglebtn+set}" = set; then
8033 enableval="$enable_togglebtn"
8035 if test "$enableval" = yes; then
8036 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8038 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8043 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8054 eval "$ac_cv_use_togglebtn"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8059 if test "$wxUSE_TOGGLEBTN" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8072 # Check whether --enable-toolbar or --disable-toolbar was given.
8073 if test "${enable_toolbar+set}" = set; then
8074 enableval="$enable_toolbar"
8076 if test "$enableval" = yes; then
8077 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8079 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8084 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8091 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8095 eval "$ac_cv_use_toolbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8100 if test "$wxUSE_TOOLBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6
8104 echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8113 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8114 if test "${enable_tbarnative+set}" = set; then
8115 enableval="$enable_tbarnative"
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8120 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8125 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8132 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8136 eval "$ac_cv_use_tbarnative"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8141 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8154 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8155 if test "${enable_tbarsmpl+set}" = set; then
8156 enableval="$enable_tbarsmpl"
8158 if test "$enableval" = yes; then
8159 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8161 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8166 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8173 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8177 eval "$ac_cv_use_tbarsmpl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8182 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6
8186 echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8195 # Check whether --enable-treectrl or --disable-treectrl was given.
8196 if test "${enable_treectrl+set}" = set; then
8197 enableval="$enable_treectrl"
8199 if test "$enableval" = yes; then
8200 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8202 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8207 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8214 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8218 eval "$ac_cv_use_treectrl"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8223 if test "$wxUSE_TREECTRL" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6
8227 echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8236 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8237 if test "${enable_tipwindow+set}" = set; then
8238 enableval="$enable_tipwindow"
8240 if test "$enableval" = yes; then
8241 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8243 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8248 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8255 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8259 eval "$ac_cv_use_tipwindow"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8264 if test "$wxUSE_TIPWINDOW" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6
8268 echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8277 # Check whether --enable-popupwin or --disable-popupwin was given.
8278 if test "${enable_popupwin+set}" = set; then
8279 enableval="$enable_popupwin"
8281 if test "$enableval" = yes; then
8282 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8284 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8289 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8300 eval "$ac_cv_use_popupwin"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8305 if test "$wxUSE_POPUPWIN" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6
8309 echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8320 # Check whether --enable-commondlg or --disable-commondlg was given.
8321 if test "${enable_commondlg+set}" = set; then
8322 enableval="$enable_commondlg"
8324 if test "$enableval" = yes; then
8325 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8327 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8332 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8339 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8343 eval "$ac_cv_use_commondlg"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8348 if test "$wxUSE_COMMONDLGS" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8362 if test "${enable_choicedlg+set}" = set; then
8363 enableval="$enable_choicedlg"
8365 if test "$enableval" = yes; then
8366 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8368 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8373 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8384 eval "$ac_cv_use_choicedlg"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8389 if test "$wxUSE_CHOICEDLG" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8402 # Check whether --enable-coldlg or --disable-coldlg was given.
8403 if test "${enable_coldlg+set}" = set; then
8404 enableval="$enable_coldlg"
8406 if test "$enableval" = yes; then
8407 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8409 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8414 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8421 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8425 eval "$ac_cv_use_coldlg"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8430 if test "$wxUSE_COLOURDLG" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8443 # Check whether --enable-filedlg or --disable-filedlg was given.
8444 if test "${enable_filedlg+set}" = set; then
8445 enableval="$enable_filedlg"
8447 if test "$enableval" = yes; then
8448 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8450 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8455 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8462 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8466 eval "$ac_cv_use_filedlg"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8471 if test "$wxUSE_FILEDLG" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8484 # Check whether --enable-finddlg or --disable-finddlg was given.
8485 if test "${enable_finddlg+set}" = set; then
8486 enableval="$enable_finddlg"
8488 if test "$enableval" = yes; then
8489 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8491 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8496 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8507 eval "$ac_cv_use_finddlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8512 if test "$wxUSE_FINDREPLDLG" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8525 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8526 if test "${enable_fontdlg+set}" = set; then
8527 enableval="$enable_fontdlg"
8529 if test "$enableval" = yes; then
8530 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8532 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8537 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8544 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8548 eval "$ac_cv_use_fontdlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8553 if test "$wxUSE_FONTDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8566 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8567 if test "${enable_dirdlg+set}" = set; then
8568 enableval="$enable_dirdlg"
8570 if test "$enableval" = yes; then
8571 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8573 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8578 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8585 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8589 eval "$ac_cv_use_dirdlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8594 if test "$wxUSE_DIRDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8607 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8608 if test "${enable_msgdlg+set}" = set; then
8609 enableval="$enable_msgdlg"
8611 if test "$enableval" = yes; then
8612 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8614 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8619 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8626 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8630 eval "$ac_cv_use_msgdlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_MSGDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8648 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8649 if test "${enable_numberdlg+set}" = set; then
8650 enableval="$enable_numberdlg"
8652 if test "$enableval" = yes; then
8653 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8655 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8660 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8671 eval "$ac_cv_use_numberdlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_NUMBERDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8689 # Check whether --enable-splash or --disable-splash was given.
8690 if test "${enable_splash+set}" = set; then
8691 enableval="$enable_splash"
8693 if test "$enableval" = yes; then
8694 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8696 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8701 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8708 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8712 eval "$ac_cv_use_splash"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_SPLASH" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8730 # Check whether --enable-textdlg or --disable-textdlg was given.
8731 if test "${enable_textdlg+set}" = set; then
8732 enableval="$enable_textdlg"
8734 if test "$enableval" = yes; then
8735 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8737 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8742 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8749 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8753 eval "$ac_cv_use_textdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8758 if test "$wxUSE_TEXTDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8771 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8772 if test "${enable_tipdlg+set}" = set; then
8773 enableval="$enable_tipdlg"
8775 if test "$enableval" = yes; then
8776 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8778 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8783 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8794 eval "$ac_cv_use_tipdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8799 if test "$wxUSE_STARTUP_TIPS" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8812 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8813 if test "${enable_progressdlg+set}" = set; then
8814 enableval="$enable_progressdlg"
8816 if test "$enableval" = yes; then
8817 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8819 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8824 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8835 eval "$ac_cv_use_progressdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8840 if test "$wxUSE_PROGRESSDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8853 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8854 if test "${enable_wizarddlg+set}" = set; then
8855 enableval="$enable_wizarddlg"
8857 if test "$enableval" = yes; then
8858 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8860 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8865 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8876 eval "$ac_cv_use_wizarddlg"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8881 if test "$wxUSE_WIZARDDLG" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8896 # Check whether --enable-menus or --disable-menus was given.
8897 if test "${enable_menus+set}" = set; then
8898 enableval="$enable_menus"
8900 if test "$enableval" = yes; then
8901 ac_cv_use_menus='wxUSE_MENUS
=yes'
8903 ac_cv_use_menus='wxUSE_MENUS
=no
'
8908 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8915 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8919 eval "$ac_cv_use_menus"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_MENUS" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8937 # Check whether --enable-miniframe or --disable-miniframe was given.
8938 if test "${enable_miniframe+set}" = set; then
8939 enableval="$enable_miniframe"
8941 if test "$enableval" = yes; then
8942 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8944 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8949 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8956 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8960 eval "$ac_cv_use_miniframe"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_MINIFRAME" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8978 # Check whether --enable-tooltips or --disable-tooltips was given.
8979 if test "${enable_tooltips+set}" = set; then
8980 enableval="$enable_tooltips"
8982 if test "$enableval" = yes; then
8983 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8985 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8990 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8997 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9001 eval "$ac_cv_use_tooltips"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_TOOLTIPS" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9019 # Check whether --enable-splines or --disable-splines was given.
9020 if test "${enable_splines+set}" = set; then
9021 enableval="$enable_splines"
9023 if test "$enableval" = yes; then
9024 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9026 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9031 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9038 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9042 eval "$ac_cv_use_splines"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_SPLINES" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9060 # Check whether --enable-validators or --disable-validators was given.
9061 if test "${enable_validators+set}" = set; then
9062 enableval="$enable_validators"
9064 if test "$enableval" = yes; then
9065 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9067 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9072 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9079 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9083 eval "$ac_cv_use_validators"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_VALIDATORS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9101 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9102 if test "${enable_busyinfo+set}" = set; then
9103 enableval="$enable_busyinfo"
9105 if test "$enableval" = yes; then
9106 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9108 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9113 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9120 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9124 eval "$ac_cv_use_busyinfo"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_BUSYINFO" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9142 # Check whether --enable-joystick or --disable-joystick was given.
9143 if test "${enable_joystick+set}" = set; then
9144 enableval="$enable_joystick"
9146 if test "$enableval" = yes; then
9147 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9149 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9154 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9161 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9165 eval "$ac_cv_use_joystick"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_JOYSTICK" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9183 # Check whether --enable-metafile or --disable-metafile was given.
9184 if test "${enable_metafile+set}" = set; then
9185 enableval="$enable_metafile"
9187 if test "$enableval" = yes; then
9188 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9190 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9195 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9202 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9206 eval "$ac_cv_use_metafile"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_METAFILE" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9224 # Check whether --enable-dragimage or --disable-dragimage was given.
9225 if test "${enable_dragimage+set}" = set; then
9226 enableval="$enable_dragimage"
9228 if test "$enableval" = yes; then
9229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9231 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9236 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9243 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9247 eval "$ac_cv_use_dragimage"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_DRAGIMAGE" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9265 # Check whether --enable-accessibility or --disable-accessibility was given.
9266 if test "${enable_accessibility+set}" = set; then
9267 enableval="$enable_accessibility"
9269 if test "$enableval" = yes; then
9270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9272 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9277 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9284 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9288 eval "$ac_cv_use_accessibility"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_ACCESSIBILITY" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9308 # Check whether --enable-palette or --disable-palette was given.
9309 if test "${enable_palette+set}" = set; then
9310 enableval="$enable_palette"
9312 if test "$enableval" = yes; then
9313 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9315 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9320 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x ; then
9322 eval "DEFAULT_$LINE"
9327 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9331 eval "$ac_cv_use_palette"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9336 if test "$wxUSE_PALETTE" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9340 echo "$as_me:$LINENO: result: no" >&5
9341 echo "${ECHO_T}no" >&6
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9349 # Check whether --enable-image or --disable-image was given.
9350 if test "${enable_image+set}" = set; then
9351 enableval="$enable_image"
9353 if test "$enableval" = yes; then
9354 ac_cv_use_image='wxUSE_IMAGE
=yes'
9356 ac_cv_use_image='wxUSE_IMAGE
=no
'
9361 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x ; then
9363 eval "DEFAULT_$LINE"
9368 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9372 eval "$ac_cv_use_image"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9377 if test "$wxUSE_IMAGE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379 echo "${ECHO_T}yes" >&6
9381 echo "$as_me:$LINENO: result: no" >&5
9382 echo "${ECHO_T}no" >&6
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9390 # Check whether --enable-gif or --disable-gif was given.
9391 if test "${enable_gif+set}" = set; then
9392 enableval="$enable_gif"
9394 if test "$enableval" = yes; then
9395 ac_cv_use_gif='wxUSE_GIF
=yes'
9397 ac_cv_use_gif='wxUSE_GIF
=no
'
9402 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x ; then
9404 eval "DEFAULT_$LINE"
9409 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9413 eval "$ac_cv_use_gif"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9418 if test "$wxUSE_GIF" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420 echo "${ECHO_T}yes" >&6
9422 echo "$as_me:$LINENO: result: no" >&5
9423 echo "${ECHO_T}no" >&6
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9431 # Check whether --enable-pcx or --disable-pcx was given.
9432 if test "${enable_pcx+set}" = set; then
9433 enableval="$enable_pcx"
9435 if test "$enableval" = yes; then
9436 ac_cv_use_pcx='wxUSE_PCX
=yes'
9438 ac_cv_use_pcx='wxUSE_PCX
=no
'
9443 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x ; then
9445 eval "DEFAULT_$LINE"
9450 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9454 eval "$ac_cv_use_pcx"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9459 if test "$wxUSE_PCX" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461 echo "${ECHO_T}yes" >&6
9463 echo "$as_me:$LINENO: result: no" >&5
9464 echo "${ECHO_T}no" >&6
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9470 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9472 # Check whether --enable-iff or --disable-iff was given.
9473 if test "${enable_iff+set}" = set; then
9474 enableval="$enable_iff"
9476 if test "$enableval" = yes; then
9477 ac_cv_use_iff='wxUSE_IFF
=yes'
9479 ac_cv_use_iff='wxUSE_IFF
=no
'
9484 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x ; then
9486 eval "DEFAULT_$LINE"
9491 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9495 eval "$ac_cv_use_iff"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9500 if test "$wxUSE_IFF" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502 echo "${ECHO_T}yes" >&6
9504 echo "$as_me:$LINENO: result: no" >&5
9505 echo "${ECHO_T}no" >&6
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9513 # Check whether --enable-pnm or --disable-pnm was given.
9514 if test "${enable_pnm+set}" = set; then
9515 enableval="$enable_pnm"
9517 if test "$enableval" = yes; then
9518 ac_cv_use_pnm='wxUSE_PNM
=yes'
9520 ac_cv_use_pnm='wxUSE_PNM
=no
'
9525 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x ; then
9527 eval "DEFAULT_$LINE"
9532 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9536 eval "$ac_cv_use_pnm"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9541 if test "$wxUSE_PNM" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9545 echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9554 # Check whether --enable-xpm or --disable-xpm was given.
9555 if test "${enable_xpm+set}" = set; then
9556 enableval="$enable_xpm"
9558 if test "$enableval" = yes; then
9559 ac_cv_use_xpm='wxUSE_XPM
=yes'
9561 ac_cv_use_xpm='wxUSE_XPM
=no
'
9566 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x ; then
9568 eval "DEFAULT_$LINE"
9573 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9577 eval "$ac_cv_use_xpm"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9582 if test "$wxUSE_XPM" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584 echo "${ECHO_T}yes" >&6
9586 echo "$as_me:$LINENO: result: no" >&5
9587 echo "${ECHO_T}no" >&6
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9595 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9596 if test "${enable_ico_cur+set}" = set; then
9597 enableval="$enable_ico_cur"
9599 if test "$enableval" = yes; then
9600 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9602 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9607 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x ; then
9609 eval "DEFAULT_$LINE"
9614 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9618 eval "$ac_cv_use_ico_cur"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9623 if test "$wxUSE_ICO_CUR" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625 echo "${ECHO_T}yes" >&6
9627 echo "$as_me:$LINENO: result: no" >&5
9628 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9640 # Check whether --enable-official_build or --disable-official_build was given.
9641 if test "${enable_official_build+set}" = set; then
9642 enableval="$enable_official_build"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9647 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9652 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9663 eval "$ac_cv_use_official_build"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9676 # Check whether --enable-vendor or --disable-vendor was given.
9677 if test "${enable_vendor+set}" = set; then
9678 enableval="$enable_vendor"
9681 if test "x$VENDOR" = "x"; then
9686 *-pc-os2_emx | *-pc-os2-emx )
9696 echo "saving argument cache $wx_arg_cache_file"
9697 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9701 echo "$as_me:$LINENO: checking for toolkit" >&5
9702 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9704 # In Wine, we need to default to MSW, not GTK or MOTIF
9705 if test "$wxUSE_WINE" = "yes"; then
9706 DEFAULT_DEFAULT_wxUSE_GTK=0
9707 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9708 DEFAULT_DEFAULT_wxUSE_MSW=1
9711 if test "$wxUSE_GUI" = "yes"; then
9713 if test "$USE_BEOS" = 1; then
9714 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9715 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9716 { (exit 1); exit 1; }; }
9719 if test "$TOOLKIT_GIVEN" = 1; then
9720 for toolkit in `echo $ALL_TOOLKITS`; do
9722 eval "value=\$${var}"
9723 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9726 for toolkit in `echo $ALL_TOOLKITS`; do
9727 if test "$has_toolkit_in_cache" != 1; then
9728 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9730 var=DEFAULT_wxUSE_$toolkit
9732 eval "wxUSE_$toolkit=\$${var}"
9736 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9737 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9738 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9745 case "$NUM_TOOLKITS" in
9749 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9750 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9751 { (exit 1); exit 1; }; }
9754 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9755 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9756 { (exit 1); exit 1; }; }
9759 for toolkit in `echo $ALL_TOOLKITS`; do
9761 eval "value=\$${var}"
9762 if test "x$value" != x; then
9763 cache_var=CACHE_$toolkit
9764 eval "cache=\$${cache_var}"
9765 if test "$cache" = 1; then
9766 echo "$var=$value" >> ${wx_arg_cache_file}
9768 if test "$value" = 1; then
9769 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9770 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9771 echo "${ECHO_T}$toolkit_echo" >&6
9776 if test "x$host_alias" != "x"; then
9777 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9778 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9780 echo "$as_me:$LINENO: result: base only" >&5
9781 echo "${ECHO_T}base only" >&6
9789 if test "$wxUSE_MSW" = 1 ; then
9800 if test "$wxUSE_WINE" = "yes"; then
9807 if test "$wants_win32" = 1 ; then
9810 cat >>confdefs.h <<\_ACEOF
9814 cat >>confdefs.h <<\_ACEOF
9818 cat >>confdefs.h <<\_ACEOF
9819 #define __WINDOWS__ 1
9822 cat >>confdefs.h <<\_ACEOF
9823 #define __GNUWIN32__ 1
9826 cat >>confdefs.h <<\_ACEOF
9830 cat >>confdefs.h <<\_ACEOF
9831 #define WINVER 0x0400
9835 if test "$doesnt_want_win32" = 1 ; then
9840 if test "$USE_UNIX" = 1 ; then
9842 cat >>confdefs.h <<\_ACEOF
9849 cat >confcache <<\_ACEOF
9850 # This file is a shell script that caches the results of configure
9851 # tests run on this system so they can be shared between configure
9852 # scripts and configure runs, see configure's option
--config-cache.
9853 # It is not useful on other systems. If it contains results you don't
9854 # want to keep, you may remove or edit it.
9856 # config.status only pays attention to the cache file if you give it
9857 # the --recheck option to rerun configure.
9859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9865 # The following way of writing the cache mishandles newlines in values,
9866 # but we know of no workaround that is simple, portable, and efficient.
9867 # So, don't put newlines in cache variables' values.
9868 # Ultrix sh set writes to stderr and can't be redirected directly,
9869 # and sets the high bit in the cache file unless we assign to the vars.
9872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9874 # `set' does not quote correctly, so add quotes (double-quote
9875 # substitution turns \\\\ into \\, and sed turns \\ into \).
9878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9881 # `set' quotes correctly as required by POSIX, so do not add quotes.
9883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9894 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9895 if test -w $cache_file; then
9896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9897 cat confcache
>$cache_file
9899 echo "not updating unwritable cache $cache_file"
9904 if test "$build" != "$host" ; then
9905 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9909 RANLIB
=$host_alias-ranlib
9910 DLLTOOL
=$host_alias-dlltool
9911 RESCOMP
=$host_alias-windres
9914 STRIP
=$host_alias-strip
9916 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9917 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9918 { (exit 1); exit 1; }; }
9924 ac_cpp
='$CPP $CPPFLAGS'
9925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9928 if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9931 echo "$as_me:$LINENO: checking for $ac_word" >&5
9932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933 if test "${ac_cv_prog_CC+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 if test -n "$CC"; then
9937 ac_cv_prog_CC
="$CC" # Let the user override the test.
9939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir
=.
9944 for ac_exec_ext
in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9956 if test -n "$CC"; then
9957 echo "$as_me:$LINENO: result: $CC" >&5
9958 echo "${ECHO_T}$CC" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9965 if test -z "$ac_cv_prog_CC"; then
9967 # Extract the first word of "gcc", so it can be a program name with args.
9968 set dummy gcc
; ac_word
=$2
9969 echo "$as_me:$LINENO: checking for $ac_word" >&5
9970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 if test -n "$ac_ct_CC"; then
9975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9981 test -z "$as_dir" && as_dir
=.
9982 for ac_exec_ext
in '' $ac_executable_extensions; do
9983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9984 ac_cv_prog_ac_ct_CC
="gcc"
9985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9994 if test -n "$ac_ct_CC"; then
9995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9996 echo "${ECHO_T}$ac_ct_CC" >&6
9998 echo "$as_me:$LINENO: result: no" >&5
9999 echo "${ECHO_T}no" >&6
10004 CC
="$ac_cv_prog_CC"
10007 if test -z "$CC"; then
10008 if test -n "$ac_tool_prefix"; then
10009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10010 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10011 echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013 if test "${ac_cv_prog_CC+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 if test -n "$CC"; then
10017 ac_cv_prog_CC
="$CC" # Let the user override the test.
10019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10020 for as_dir
in $PATH
10023 test -z "$as_dir" && as_dir
=.
10024 for ac_exec_ext
in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10036 if test -n "$CC"; then
10037 echo "$as_me:$LINENO: result: $CC" >&5
10038 echo "${ECHO_T}$CC" >&6
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10045 if test -z "$ac_cv_prog_CC"; then
10047 # Extract the first word of "cc", so it can be a program name with args.
10048 set dummy cc
; ac_word
=$2
10049 echo "$as_me:$LINENO: checking for $ac_word" >&5
10050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 if test -n "$ac_ct_CC"; then
10055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10058 for as_dir
in $PATH
10061 test -z "$as_dir" && as_dir
=.
10062 for ac_exec_ext
in '' $ac_executable_extensions; do
10063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 ac_cv_prog_ac_ct_CC
="cc"
10065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10074 if test -n "$ac_ct_CC"; then
10075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10076 echo "${ECHO_T}$ac_ct_CC" >&6
10078 echo "$as_me:$LINENO: result: no" >&5
10079 echo "${ECHO_T}no" >&6
10084 CC
="$ac_cv_prog_CC"
10088 if test -z "$CC"; then
10089 # Extract the first word of "cc", so it can be a program name with args.
10090 set dummy cc
; ac_word
=$2
10091 echo "$as_me:$LINENO: checking for $ac_word" >&5
10092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10093 if test "${ac_cv_prog_CC+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 if test -n "$CC"; then
10097 ac_cv_prog_CC
="$CC" # Let the user override the test.
10099 ac_prog_rejected
=no
10100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10101 for as_dir
in $PATH
10104 test -z "$as_dir" && as_dir
=.
10105 for ac_exec_ext
in '' $ac_executable_extensions; do
10106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10108 ac_prog_rejected
=yes
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10118 if test $ac_prog_rejected = yes; then
10119 # We found a bogon in the path, so make sure we never use it.
10120 set dummy
$ac_cv_prog_CC
10122 if test $# != 0; then
10123 # We chose a different compiler from the bogus one.
10124 # However, it has the same basename, so the bogon will be chosen
10125 # first if we set CC to just the basename; use the full file name.
10127 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10133 if test -n "$CC"; then
10134 echo "$as_me:$LINENO: result: $CC" >&5
10135 echo "${ECHO_T}$CC" >&6
10137 echo "$as_me:$LINENO: result: no" >&5
10138 echo "${ECHO_T}no" >&6
10142 if test -z "$CC"; then
10143 if test -n "$ac_tool_prefix"; then
10146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10147 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10148 echo "$as_me:$LINENO: checking for $ac_word" >&5
10149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150 if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC
="$CC" # Let the user override the test.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in $PATH
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175 echo "${ECHO_T}$CC" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10181 test -n "$CC" && break
10184 if test -z "$CC"; then
10188 # Extract the first word of "$ac_prog", so it can be a program name with args.
10189 set dummy
$ac_prog; ac_word
=$2
10190 echo "$as_me:$LINENO: checking for $ac_word" >&5
10191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 if test -n "$ac_ct_CC"; then
10196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10199 for as_dir
in $PATH
10202 test -z "$as_dir" && as_dir
=.
10203 for ac_exec_ext
in '' $ac_executable_extensions; do
10204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10205 ac_cv_prog_ac_ct_CC
="$ac_prog"
10206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10215 if test -n "$ac_ct_CC"; then
10216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10217 echo "${ECHO_T}$ac_ct_CC" >&6
10219 echo "$as_me:$LINENO: result: no" >&5
10220 echo "${ECHO_T}no" >&6
10223 test -n "$ac_ct_CC" && break
10232 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10233 See \`config.log' for more details." >&5
10234 echo "$as_me: error: no acceptable C compiler found in \$PATH
10235 See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10238 # Provide some information about the compiler.
10239 echo "$as_me:$LINENO:" \
10240 "checking for C compiler version" >&5
10241 ac_compiler
=`set X $ac_compile; echo $2`
10242 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10243 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }
10247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10248 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }
10252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10253 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }
10258 cat >conftest.
$ac_ext <<_ACEOF
10259 #line $LINENO "configure"
10262 cat confdefs.h
>>conftest.
$ac_ext
10263 cat >>conftest.
$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10274 ac_clean_files_save
=$ac_clean_files
10275 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10276 # Try to create an executable without -o first, disregard a.out.
10277 # It will help us diagnose broken compilers, and finding out an intuition
10279 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10280 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10281 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10282 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10283 (eval $ac_link_default) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; then
10287 # Find the output, starting from the most likely. This scheme is
10288 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10291 # Be careful to initialize this variable, since it used to be cached.
10292 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10294 # b.out is created by i960 compilers.
10295 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10297 test -f "$ac_file" || continue
10299 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10302 # This is the source file.
10305 # We found the default executable, but exeext='' is most
10309 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10310 # FIXME: I believe we export ac_cv_exeext for Libtool,
10311 # but it would be cool to find out if it's true. Does anybody
10312 # maintain Libtool? --akim.
10313 export ac_cv_exeext
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.
$ac_ext >&5
10323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10324 See \`config.log' for more details." >&5
10325 echo "$as_me: error: C compiler cannot create executables
10326 See \`config.log' for more details." >&2;}
10327 { (exit 77); exit 77; }; }
10330 ac_exeext
=$ac_cv_exeext
10331 echo "$as_me:$LINENO: result: $ac_file" >&5
10332 echo "${ECHO_T}$ac_file" >&6
10334 # Check the compiler produces executables we can run. If not, either
10335 # the compiler is broken, or we cross compile.
10336 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10337 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10338 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10339 # If not cross compiling, check that we can run a simple program.
10340 if test "$cross_compiling" != yes; then
10341 if { ac_try
='./$ac_file'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10349 if test "$cross_compiling" = maybe
; then
10350 cross_compiling
=yes
10352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10353 If you meant to cross compile, use \`--host'.
10354 See \`config.log' for more details." >&5
10355 echo "$as_me: error: cannot run C compiled programs.
10356 If you meant to cross compile, use \`--host'.
10357 See \`config.log' for more details." >&2;}
10358 { (exit 1); exit 1; }; }
10362 echo "$as_me:$LINENO: result: yes" >&5
10363 echo "${ECHO_T}yes" >&6
10365 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10366 ac_clean_files
=$ac_clean_files_save
10367 # Check the compiler produces executables we can run. If not, either
10368 # the compiler is broken, or we cross compile.
10369 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10370 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10371 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10372 echo "${ECHO_T}$cross_compiling" >&6
10374 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10375 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; then
10381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10382 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10383 # work properly (i.e., refer to `conftest.exe'), while it won't with
10385 for ac_file
in conftest.exe conftest conftest.
*; do
10386 test -f "$ac_file" || continue
10388 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10389 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10390 export ac_cv_exeext
10396 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10397 See \`config.log' for more details." >&5
10398 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10399 See \`config.log' for more details." >&2;}
10400 { (exit 1); exit 1; }; }
10403 rm -f conftest
$ac_cv_exeext
10404 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10405 echo "${ECHO_T}$ac_cv_exeext" >&6
10407 rm -f conftest.
$ac_ext
10408 EXEEXT
=$ac_cv_exeext
10410 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10411 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10412 if test "${ac_cv_objext+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 cat >conftest.
$ac_ext <<_ACEOF
10416 #line $LINENO "configure"
10419 cat confdefs.h
>>conftest.
$ac_ext
10420 cat >>conftest.
$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10431 rm -f conftest.o conftest.obj
10432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10439 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10440 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10449 See \`config.log' for more details." >&5
10450 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10451 See \`config.log' for more details." >&2;}
10452 { (exit 1); exit 1; }; }
10455 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10457 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10458 echo "${ECHO_T}$ac_cv_objext" >&6
10459 OBJEXT
=$ac_cv_objext
10461 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10462 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10463 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 cat >conftest.
$ac_ext <<_ACEOF
10467 #line $LINENO "configure"
10470 cat confdefs.h
>>conftest.
$ac_ext
10471 cat >>conftest.
$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10485 rm -f conftest.
$ac_objext
10486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try
='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 ac_compiler_gnu
=yes
10499 echo "$as_me: failed program was:" >&5
10500 sed 's/^/| /' conftest.
$ac_ext >&5
10504 rm -f conftest.
$ac_objext conftest.
$ac_ext
10505 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10508 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10509 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10510 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10511 ac_test_CFLAGS
=${CFLAGS+set}
10512 ac_save_CFLAGS
=$CFLAGS
10514 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10515 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10516 if test "${ac_cv_prog_cc_g+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 cat >conftest.
$ac_ext <<_ACEOF
10520 #line $LINENO "configure"
10523 cat confdefs.h
>>conftest.
$ac_ext
10524 cat >>conftest.
$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10535 rm -f conftest.
$ac_objext
10536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537 (eval $ac_compile) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try
='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_prog_cc_g
=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.
$ac_ext >&5
10554 rm -f conftest.
$ac_objext conftest.
$ac_ext
10556 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10557 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10558 if test "$ac_test_CFLAGS" = set; then
10559 CFLAGS
=$ac_save_CFLAGS
10560 elif test $ac_cv_prog_cc_g = yes; then
10561 if test "$GCC" = yes; then
10567 if test "$GCC" = yes; then
10573 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10574 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10575 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 ac_cv_prog_cc_stdc
=no
10580 cat >conftest.
$ac_ext <<_ACEOF
10581 #line $LINENO "configure"
10584 cat confdefs.h
>>conftest.
$ac_ext
10585 cat >>conftest.
$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10587 #include <stdarg.h>
10589 #include <sys/types.h>
10590 #include <sys/stat.h>
10591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10592 struct buf { int x; };
10593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10594 static char *e (p, i)
10600 static char *f (char * (*g) (char **, int), char **p, ...)
10605 s = g (p, va_arg (v,int));
10609 int test (int i, double x);
10610 struct s1 {int (*f) (int a);};
10611 struct s2 {int (*f) (double a);};
10612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10623 # Don't try gcc -ansi; that turns off useful extensions and
10624 # breaks some systems' header files.
10625 # AIX -qlanglvl=ansi
10626 # Ultrix and OSF/1 -std1
10627 # HP-UX 10.20 and later -Ae
10628 # HP-UX older versions -Aa -D_HPUX_SOURCE
10629 # SVR4 -Xc -D__EXTENSIONS__
10630 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10632 CC
="$ac_save_CC $ac_arg"
10633 rm -f conftest.
$ac_objext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try
='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_prog_cc_stdc
=$ac_arg
10648 echo "$as_me: failed program was:" >&5
10649 sed 's/^/| /' conftest.
$ac_ext >&5
10652 rm -f conftest.
$ac_objext
10654 rm -f conftest.
$ac_ext conftest.
$ac_objext
10659 case "x$ac_cv_prog_cc_stdc" in
10661 echo "$as_me:$LINENO: result: none needed" >&5
10662 echo "${ECHO_T}none needed" >&6 ;;
10664 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10665 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10666 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10669 # Some people use a C++ compiler to compile C. Since we use `exit',
10670 # in C++ we need to declare it. In case someone uses the same compiler
10671 # for both compiling C and C++ we need to have the C++ compiler decide
10672 # the declaration of exit, since it's the most demanding environment.
10673 cat >conftest.
$ac_ext <<_ACEOF
10674 #ifndef __cplusplus
10678 rm -f conftest.
$ac_objext
10679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try
='test -s conftest.$ac_objext'
10685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686 (eval $ac_try) 2>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; }; then
10690 for ac_declaration
in \
10692 '#include <stdlib.h>' \
10693 'extern "C" void std::exit (int) throw (); using std::exit;' \
10694 'extern "C" void std::exit (int); using std::exit;' \
10695 'extern "C" void exit (int) throw ();' \
10696 'extern "C" void exit (int);' \
10699 cat >conftest.
$ac_ext <<_ACEOF
10700 #line $LINENO "configure"
10703 cat confdefs.h
>>conftest.
$ac_ext
10704 cat >>conftest.
$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10706 #include <stdlib.h>
10716 rm -f conftest.
$ac_objext
10717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10718 (eval $ac_compile) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } &&
10722 { ac_try
='test -s conftest.$ac_objext'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then
10730 echo "$as_me: failed program was:" >&5
10731 sed 's/^/| /' conftest.
$ac_ext >&5
10735 rm -f conftest.
$ac_objext conftest.
$ac_ext
10736 cat >conftest.
$ac_ext <<_ACEOF
10737 #line $LINENO "configure"
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10752 rm -f conftest.
$ac_objext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10754 (eval $ac_compile) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try
='test -s conftest.$ac_objext'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; }; then
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.
$ac_ext >&5
10770 rm -f conftest.
$ac_objext conftest.
$ac_ext
10773 if test -n "$ac_declaration"; then
10774 echo '#ifdef __cplusplus' >>confdefs.h
10775 echo $ac_declaration >>confdefs.h
10776 echo '#endif' >>confdefs.h
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10784 rm -f conftest.
$ac_objext conftest.
$ac_ext
10786 ac_cpp
='$CPP $CPPFLAGS'
10787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10794 ac_cpp
='$CPP $CPPFLAGS'
10795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10798 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10799 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10800 # On Suns, sometimes $CPP names a directory.
10801 if test -n "$CPP" && test -d "$CPP"; then
10804 if test -z "$CPP"; then
10805 if test "${ac_cv_prog_CPP+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 # Double quotes because CPP needs to be expanded
10809 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10811 ac_preproc_ok
=false
10812 for ac_c_preproc_warn_flag
in '' yes
10814 # Use a header file that comes with gcc, so configuring glibc
10815 # with a fresh cross-compiler works.
10816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10817 # <limits.h> exists even on freestanding compilers.
10818 # On the NeXT, cc -E runs the code through the compiler's parser,
10819 # not just through cpp. "Syntax error" is here to catch this case.
10820 cat >conftest.
$ac_ext <<_ACEOF
10821 #line $LINENO "configure"
10824 cat confdefs.h
>>conftest.
$ac_ext
10825 cat >>conftest.
$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10828 # include <limits.h>
10830 # include <assert.h>
10834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10837 grep -v '^ *+' conftest.er1
>conftest.err
10839 cat conftest.err
>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } >/dev
/null
; then
10842 if test -s conftest.err
; then
10843 ac_cpp_err
=$ac_c_preproc_warn_flag
10850 if test -z "$ac_cpp_err"; then
10853 echo "$as_me: failed program was:" >&5
10854 sed 's/^/| /' conftest.
$ac_ext >&5
10856 # Broken: fails on valid input.
10859 rm -f conftest.err conftest.
$ac_ext
10861 # OK, works on sane cases. Now check whether non-existent headers
10862 # can be detected and how.
10863 cat >conftest.
$ac_ext <<_ACEOF
10864 #line $LINENO "configure"
10867 cat confdefs.h
>>conftest.
$ac_ext
10868 cat >>conftest.
$ac_ext <<_ACEOF
10869 /* end confdefs.h. */
10870 #include <ac_nonexistent.h>
10872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10873 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10875 grep -v '^ *+' conftest.er1
>conftest.err
10877 cat conftest.err
>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } >/dev
/null
; then
10880 if test -s conftest.err
; then
10881 ac_cpp_err
=$ac_c_preproc_warn_flag
10888 if test -z "$ac_cpp_err"; then
10889 # Broken: success on invalid input.
10892 echo "$as_me: failed program was:" >&5
10893 sed 's/^/| /' conftest.
$ac_ext >&5
10895 # Passes both tests.
10899 rm -f conftest.err conftest.
$ac_ext
10902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10903 rm -f conftest.err conftest.
$ac_ext
10904 if $ac_preproc_ok; then
10909 ac_cv_prog_CPP
=$CPP
10912 CPP
=$ac_cv_prog_CPP
10914 ac_cv_prog_CPP
=$CPP
10916 echo "$as_me:$LINENO: result: $CPP" >&5
10917 echo "${ECHO_T}$CPP" >&6
10918 ac_preproc_ok
=false
10919 for ac_c_preproc_warn_flag
in '' yes
10921 # Use a header file that comes with gcc, so configuring glibc
10922 # with a fresh cross-compiler works.
10923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10924 # <limits.h> exists even on freestanding compilers.
10925 # On the NeXT, cc -E runs the code through the compiler's parser,
10926 # not just through cpp. "Syntax error" is here to catch this case.
10927 cat >conftest.
$ac_ext <<_ACEOF
10928 #line $LINENO "configure"
10931 cat confdefs.h
>>conftest.
$ac_ext
10932 cat >>conftest.
$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10935 # include <limits.h>
10937 # include <assert.h>
10941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10944 grep -v '^ *+' conftest.er1
>conftest.err
10946 cat conftest.err
>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } >/dev
/null
; then
10949 if test -s conftest.err
; then
10950 ac_cpp_err
=$ac_c_preproc_warn_flag
10957 if test -z "$ac_cpp_err"; then
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.
$ac_ext >&5
10963 # Broken: fails on valid input.
10966 rm -f conftest.err conftest.
$ac_ext
10968 # OK, works on sane cases. Now check whether non-existent headers
10969 # can be detected and how.
10970 cat >conftest.
$ac_ext <<_ACEOF
10971 #line $LINENO "configure"
10974 cat confdefs.h
>>conftest.
$ac_ext
10975 cat >>conftest.
$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 #include <ac_nonexistent.h>
10979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10982 grep -v '^ *+' conftest.er1
>conftest.err
10984 cat conftest.err
>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } >/dev
/null
; then
10987 if test -s conftest.err
; then
10988 ac_cpp_err
=$ac_c_preproc_warn_flag
10995 if test -z "$ac_cpp_err"; then
10996 # Broken: success on invalid input.
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.
$ac_ext >&5
11002 # Passes both tests.
11006 rm -f conftest.err conftest.
$ac_ext
11009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11010 rm -f conftest.err conftest.
$ac_ext
11011 if $ac_preproc_ok; then
11014 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11015 See \`config.log' for more details." >&5
11016 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11017 See \`config.log' for more details." >&2;}
11018 { (exit 1); exit 1; }; }
11022 ac_cpp
='$CPP $CPPFLAGS'
11023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11028 echo "$as_me:$LINENO: checking for egrep" >&5
11029 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11030 if test "${ac_cv_prog_egrep+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11034 then ac_cv_prog_egrep
='grep -E'
11035 else ac_cv_prog_egrep
='egrep'
11038 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11039 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11040 EGREP
=$ac_cv_prog_egrep
11043 if test $ac_cv_c_compiler_gnu = yes; then
11044 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11045 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11046 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 ac_pattern
="Autoconf.*'x'"
11050 cat >conftest.
$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11054 cat confdefs.h
>>conftest.
$ac_ext
11055 cat >>conftest.
$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11061 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11062 ac_cv_prog_gcc_traditional
=yes
11064 ac_cv_prog_gcc_traditional
=no
11069 if test $ac_cv_prog_gcc_traditional = no
; then
11070 cat >conftest.
$ac_ext <<_ACEOF
11071 #line $LINENO "configure"
11074 cat confdefs.h
>>conftest.
$ac_ext
11075 cat >>conftest.
$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11077 #include <termio.h>
11080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11081 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11082 ac_cv_prog_gcc_traditional
=yes
11088 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11089 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11090 if test $ac_cv_prog_gcc_traditional = yes; then
11091 CC
="$CC -traditional"
11099 ac_cpp
='$CXXCPP $CPPFLAGS'
11100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11105 CXXFLAGS
=${CXXFLAGS:=}
11107 ac_cpp
='$CXXCPP $CPPFLAGS'
11108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11111 if test -n "$ac_tool_prefix"; then
11112 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11115 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11116 echo "$as_me:$LINENO: checking for $ac_word" >&5
11117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11118 if test "${ac_cv_prog_CXX+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 if test -n "$CXX"; then
11122 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11125 for as_dir
in $PATH
11128 test -z "$as_dir" && as_dir
=.
11129 for ac_exec_ext
in '' $ac_executable_extensions; do
11130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11131 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11140 CXX
=$ac_cv_prog_CXX
11141 if test -n "$CXX"; then
11142 echo "$as_me:$LINENO: result: $CXX" >&5
11143 echo "${ECHO_T}$CXX" >&6
11145 echo "$as_me:$LINENO: result: no" >&5
11146 echo "${ECHO_T}no" >&6
11149 test -n "$CXX" && break
11152 if test -z "$CXX"; then
11154 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11156 # Extract the first word of "$ac_prog", so it can be a program name with args.
11157 set dummy
$ac_prog; ac_word
=$2
11158 echo "$as_me:$LINENO: checking for $ac_word" >&5
11159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11160 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11163 if test -n "$ac_ct_CXX"; then
11164 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11167 for as_dir
in $PATH
11170 test -z "$as_dir" && as_dir
=.
11171 for ac_exec_ext
in '' $ac_executable_extensions; do
11172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11182 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11183 if test -n "$ac_ct_CXX"; then
11184 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11185 echo "${ECHO_T}$ac_ct_CXX" >&6
11187 echo "$as_me:$LINENO: result: no" >&5
11188 echo "${ECHO_T}no" >&6
11191 test -n "$ac_ct_CXX" && break
11193 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11199 # Provide some information about the compiler.
11200 echo "$as_me:$LINENO:" \
11201 "checking for C++ compiler version" >&5
11202 ac_compiler
=`set X $ac_compile; echo $2`
11203 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11204 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }
11208 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11209 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }
11213 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11214 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }
11219 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11220 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11221 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
11243 rm -f conftest.
$ac_objext
11244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11245 (eval $ac_compile) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } &&
11249 { ac_try
='test -s conftest.$ac_objext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 ac_compiler_gnu
=yes
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.
$ac_ext >&5
11262 rm -f conftest.
$ac_objext conftest.
$ac_ext
11263 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11266 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11267 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11268 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11269 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11270 ac_save_CXXFLAGS
=$CXXFLAGS
11272 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11273 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11274 if test "${ac_cv_prog_cxx_g+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 cat >conftest.
$ac_ext <<_ACEOF
11278 #line $LINENO "configure"
11281 cat confdefs.h
>>conftest.
$ac_ext
11282 cat >>conftest.
$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11293 rm -f conftest.
$ac_objext
11294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11295 (eval $ac_compile) 2>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } &&
11299 { ac_try
='test -s conftest.$ac_objext'
11300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11301 (eval $ac_try) 2>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }; }; then
11305 ac_cv_prog_cxx_g
=yes
11307 echo "$as_me: failed program was:" >&5
11308 sed 's/^/| /' conftest.
$ac_ext >&5
11310 ac_cv_prog_cxx_g
=no
11312 rm -f conftest.
$ac_objext conftest.
$ac_ext
11314 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11315 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11316 if test "$ac_test_CXXFLAGS" = set; then
11317 CXXFLAGS
=$ac_save_CXXFLAGS
11318 elif test $ac_cv_prog_cxx_g = yes; then
11319 if test "$GXX" = yes; then
11325 if test "$GXX" = yes; then
11331 for ac_declaration
in \
11333 '#include <stdlib.h>' \
11334 'extern "C" void std::exit (int) throw (); using std::exit;' \
11335 'extern "C" void std::exit (int); using std::exit;' \
11336 'extern "C" void exit (int) throw ();' \
11337 'extern "C" void exit (int);' \
11340 cat >conftest.
$ac_ext <<_ACEOF
11341 #line $LINENO "configure"
11344 cat confdefs.h
>>conftest.
$ac_ext
11345 cat >>conftest.
$ac_ext <<_ACEOF
11346 /* end confdefs.h. */
11347 #include <stdlib.h>
11357 rm -f conftest.
$ac_objext
11358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11359 (eval $ac_compile) 2>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } &&
11363 { ac_try
='test -s conftest.$ac_objext'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; }; then
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.
$ac_ext >&5
11376 rm -f conftest.
$ac_objext conftest.
$ac_ext
11377 cat >conftest.
$ac_ext <<_ACEOF
11378 #line $LINENO "configure"
11381 cat confdefs.h
>>conftest.
$ac_ext
11382 cat >>conftest.
$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11393 rm -f conftest.
$ac_objext
11394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11395 (eval $ac_compile) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } &&
11399 { ac_try
='test -s conftest.$ac_objext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.
$ac_ext >&5
11411 rm -f conftest.
$ac_objext conftest.
$ac_ext
11414 if test -n "$ac_declaration"; then
11415 echo '#ifdef __cplusplus' >>confdefs.h
11416 echo $ac_declaration >>confdefs.h
11417 echo '#endif' >>confdefs.h
11421 ac_cpp
='$CXXCPP $CPPFLAGS'
11422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11428 ac_cpp
='$CPP $CPPFLAGS'
11429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11434 if test -n "$ac_tool_prefix"; then
11435 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11436 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11437 echo "$as_me:$LINENO: checking for $ac_word" >&5
11438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11439 if test "${ac_cv_prog_RANLIB+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 if test -n "$RANLIB"; then
11443 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11446 for as_dir
in $PATH
11449 test -z "$as_dir" && as_dir
=.
11450 for ac_exec_ext
in '' $ac_executable_extensions; do
11451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11452 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11461 RANLIB
=$ac_cv_prog_RANLIB
11462 if test -n "$RANLIB"; then
11463 echo "$as_me:$LINENO: result: $RANLIB" >&5
11464 echo "${ECHO_T}$RANLIB" >&6
11466 echo "$as_me:$LINENO: result: no" >&5
11467 echo "${ECHO_T}no" >&6
11471 if test -z "$ac_cv_prog_RANLIB"; then
11472 ac_ct_RANLIB
=$RANLIB
11473 # Extract the first word of "ranlib", so it can be a program name with args.
11474 set dummy ranlib
; ac_word
=$2
11475 echo "$as_me:$LINENO: checking for $ac_word" >&5
11476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 if test -n "$ac_ct_RANLIB"; then
11481 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11484 for as_dir
in $PATH
11487 test -z "$as_dir" && as_dir
=.
11488 for ac_exec_ext
in '' $ac_executable_extensions; do
11489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11490 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11497 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11500 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11501 if test -n "$ac_ct_RANLIB"; then
11502 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11503 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11505 echo "$as_me:$LINENO: result: no" >&5
11506 echo "${ECHO_T}no" >&6
11509 RANLIB
=$ac_ct_RANLIB
11511 RANLIB
="$ac_cv_prog_RANLIB"
11515 # Extract the first word of "ar", so it can be a program name with args.
11516 set dummy
ar; ac_word
=$2
11517 echo "$as_me:$LINENO: checking for $ac_word" >&5
11518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11519 if test "${ac_cv_prog_AR+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 if test -n "$AR"; then
11523 ac_cv_prog_AR
="$AR" # Let the user override the test.
11525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11526 for as_dir
in $PATH
11529 test -z "$as_dir" && as_dir
=.
11530 for ac_exec_ext
in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11542 if test -n "$AR"; then
11543 echo "$as_me:$LINENO: result: $AR" >&5
11544 echo "${ECHO_T}$AR" >&6
11546 echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6
11550 if test "x$AR" = "x" ; then
11551 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11552 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11553 { (exit 1); exit 1; }; }
11556 # Find a good install program. We prefer a C program (faster),
11557 # so one script is as good as another. But avoid the broken or
11558 # incompatible versions:
11559 # SysV /etc/install, /usr/sbin/install
11560 # SunOS /usr/etc/install
11561 # IRIX /sbin/install
11563 # AmigaOS /C/install, which installs bootblocks on floppy discs
11564 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11565 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11566 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11567 # ./install, which can be erroneously created by make from ./install.sh.
11568 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11569 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11570 if test -z "$INSTALL"; then
11571 if test "${ac_cv_path_install+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11575 for as_dir
in $PATH
11578 test -z "$as_dir" && as_dir
=.
11579 # Account for people who put trailing slashes in PATH elements.
11581 .
/ | .
// | /cC
/* | \
11582 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11585 # OSF1 and SCO ODT 3.0 have their own names for install.
11586 # Don't use installbsd from OSF since it installs stuff as root
11588 for ac_prog
in ginstall scoinst
install; do
11589 for ac_exec_ext
in '' $ac_executable_extensions; do
11590 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11591 if test $ac_prog = install &&
11592 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11593 # AIX install. It has an incompatible calling convention.
11595 elif test $ac_prog = install &&
11596 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11597 # program-specific install script used by HP pwplus--don't use.
11600 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11612 if test "${ac_cv_path_install+set}" = set; then
11613 INSTALL
=$ac_cv_path_install
11615 # As a last resort, use the slow shell script. We don't cache a
11616 # path for INSTALL within a source directory, because that will
11617 # break other packages using the cache if that directory is
11618 # removed, or if the path is relative.
11619 INSTALL
=$ac_install_sh
11622 echo "$as_me:$LINENO: result: $INSTALL" >&5
11623 echo "${ECHO_T}$INSTALL" >&6
11625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11626 # It thinks the first close brace ends the variable substitution.
11627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11631 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11637 ?
:* ) # Drive letter, considered as absolute.
11640 INSTALL
=`pwd`/${INSTALL} ;;
11645 INSTALL_DIR
="mkdir"
11648 *) INSTALL_DIR
="$INSTALL -d"
11655 powerpc
-*-darwin* )
11656 INSTALL_PROGRAM
="cp -fp"
11657 INSTALL_DATA
="cp -fp"
11663 # Extract the first word of "strip", so it can be a program name with args.
11664 set dummy strip
; ac_word
=$2
11665 echo "$as_me:$LINENO: checking for $ac_word" >&5
11666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11667 if test "${ac_cv_prog_STRIP+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 if test -n "$STRIP"; then
11671 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11674 for as_dir
in $PATH
11677 test -z "$as_dir" && as_dir
=.
11678 for ac_exec_ext
in '' $ac_executable_extensions; do
11679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 ac_cv_prog_STRIP
="strip"
11681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11687 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11690 STRIP
=$ac_cv_prog_STRIP
11691 if test -n "$STRIP"; then
11692 echo "$as_me:$LINENO: result: $STRIP" >&5
11693 echo "${ECHO_T}$STRIP" >&6
11695 echo "$as_me:$LINENO: result: no" >&5
11696 echo "${ECHO_T}no" >&6
11700 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11701 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11702 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11707 egrep -s GNU
> /dev
/null
); then
11708 wx_cv_prog_makeisgnu
="yes"
11710 wx_cv_prog_makeisgnu
="no"
11714 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11715 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11717 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11725 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11726 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11727 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11728 if test "${wx_cv_prog_makevpath+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 cat - << EOF > confMake
11738 if test ! -d sub
; then
11741 echo dummy
> sub
/file
11742 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11744 rm -f sub
/file check final_file confMake
11746 if test "$RESULT" = 0; then
11747 wx_cv_prog_makevpath
="yes"
11749 wx_cv_prog_makevpath
="no"
11753 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11754 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11756 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11757 { { echo "$as_me:$LINENO: error:
11758 You need a make-utility that is able to use the variable
11760 If your version of make does not support VPATH correctly,
11761 please install GNU-make (possibly as gmake), and start
11762 configure with the following command:
11763 export MAKE=gmake; ./configure for sh-type shells
11764 setenv MAKE gmake; ./configure for csh-type shells
11765 Also please do remember to use gmake in this case every time
11766 you are trying to compile.
11768 echo "$as_me: error:
11769 You need a make-utility that is able to use the variable
11771 If your version of make does not support VPATH correctly,
11772 please install GNU-make (possibly as gmake), and start
11773 configure with the following command:
11774 export MAKE=gmake; ./configure for sh-type shells
11775 setenv MAKE gmake; ./configure for csh-type shells
11776 Also please do remember to use gmake in this case every time
11777 you are trying to compile.
11779 { (exit 1); exit 1; }; }
11781 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11782 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11784 if test "$LN_S" = "ln -s"; then
11785 echo "$as_me:$LINENO: result: yes" >&5
11786 echo "${ECHO_T}yes" >&6
11788 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11789 echo "${ECHO_T}no, using $LN_S" >&6
11794 *-pc-os2_emx | *-pc-os2-emx )
11795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11796 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11797 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11798 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 ac_check_lib_save_LIBS
=$LIBS
11802 LIBS
="-lcExt $LIBS"
11803 cat >conftest.
$ac_ext <<_ACEOF
11804 #line $LINENO "configure"
11807 cat confdefs.h
>>conftest.
$ac_ext
11808 cat >>conftest.
$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11811 /* Override any gcc2 internal prototype to avoid an error. */
11815 /* We use char because int might match the return type of a gcc2
11816 builtin and then its argument prototype would still apply. */
11826 rm -f conftest.
$ac_objext conftest
$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try
='test -s conftest$ac_exeext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_cv_lib_cExt_drand48
=yes
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11843 ac_cv_lib_cExt_drand48
=no
11845 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11846 LIBS
=$ac_check_lib_save_LIBS
11848 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11849 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11850 if test $ac_cv_lib_cExt_drand48 = yes; then
11851 LIBS
="$LIBS -lcExt"
11855 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11857 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11858 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11859 if test "${wx_cv_gcc3+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 cat >conftest.
$ac_ext <<_ACEOF
11864 #line $LINENO "configure"
11867 cat confdefs.h
>>conftest.
$ac_ext
11868 cat >>conftest.
$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11883 rm -f conftest.
$ac_objext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try
='test -s conftest.$ac_objext'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; }; then
11899 echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.
$ac_ext >&5
11907 rm -f conftest.
$ac_objext conftest.
$ac_ext
11910 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11911 echo "${ECHO_T}$wx_cv_gcc3" >&6
11912 if test "$wx_cv_gcc3" = "no"; then
11913 LIBS
="$LIBS -lstdcpp"
11915 LIBS
="$LIBS -lstdcxx"
11921 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11922 echo "$as_me:$LINENO: checking for strings.h" >&5
11923 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11924 if test "${ac_cv_header_strings_h+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 ac_cv_header_strings_h
=no
11929 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11930 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11931 if test "$ac_cv_header_strings_h" = "no"; then
11932 echo "$as_me:$LINENO: result: forced no into cache" >&5
11933 echo "${ECHO_T}forced no into cache" >&6
11935 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11936 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11939 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11940 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11941 if test "${ac_cv_header_stdc+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 cat >conftest.
$ac_ext <<_ACEOF
11945 #line $LINENO "configure"
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <stdlib.h>
11952 #include <stdarg.h>
11953 #include <string.h>
11964 rm -f conftest.
$ac_objext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966 (eval $ac_compile) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try
='test -s conftest.$ac_objext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 ac_cv_header_stdc
=yes
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.
$ac_ext >&5
11981 ac_cv_header_stdc
=no
11983 rm -f conftest.
$ac_objext conftest.
$ac_ext
11985 if test $ac_cv_header_stdc = yes; then
11986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11987 cat >conftest.
$ac_ext <<_ACEOF
11988 #line $LINENO "configure"
11991 cat confdefs.h
>>conftest.
$ac_ext
11992 cat >>conftest.
$ac_ext <<_ACEOF
11993 /* end confdefs.h. */
11994 #include <string.h>
11997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11998 $EGREP "memchr" >/dev
/null
2>&1; then
12001 ac_cv_header_stdc
=no
12007 if test $ac_cv_header_stdc = yes; then
12008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12009 cat >conftest.
$ac_ext <<_ACEOF
12010 #line $LINENO "configure"
12013 cat confdefs.h
>>conftest.
$ac_ext
12014 cat >>conftest.
$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12016 #include <stdlib.h>
12019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12020 $EGREP "free" >/dev
/null
2>&1; then
12023 ac_cv_header_stdc
=no
12029 if test $ac_cv_header_stdc = yes; then
12030 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12031 if test "$cross_compiling" = yes; then
12034 cat >conftest.
$ac_ext <<_ACEOF
12035 #line $LINENO "configure"
12038 cat confdefs.h
>>conftest.
$ac_ext
12039 cat >>conftest.
$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12042 #if ((' ' & 0x0FF) == 0x020)
12043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12046 # define ISLOWER(c) \
12047 (('a' <= (c) && (c) <= 'i') \
12048 || ('j' <= (c) && (c) <= 'r') \
12049 || ('s' <= (c) && (c) <= 'z'))
12050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12058 for (i = 0; i < 256; i++)
12059 if (XOR (islower (i), ISLOWER (i))
12060 || toupper (i) != TOUPPER (i))
12065 rm -f conftest
$ac_exeext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12067 (eval $ac_link) 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12078 echo "$as_me: program exited with status $ac_status" >&5
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.
$ac_ext >&5
12082 ( exit $ac_status )
12083 ac_cv_header_stdc
=no
12085 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12089 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12090 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12091 if test $ac_cv_header_stdc = yes; then
12093 cat >>confdefs.h
<<\_ACEOF
12094 #define STDC_HEADERS 1
12099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12109 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12110 inttypes.h stdint.h unistd.h
12112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12113 echo "$as_me:$LINENO: checking for $ac_header" >&5
12114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 cat >conftest.
$ac_ext <<_ACEOF
12119 #line $LINENO "configure"
12122 cat confdefs.h
>>conftest.
$ac_ext
12123 cat >>conftest.
$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12125 $ac_includes_default
12127 #include <$ac_header>
12129 rm -f conftest.
$ac_objext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try
='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 eval "$as_ac_Header=yes"
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.
$ac_ext >&5
12146 eval "$as_ac_Header=no"
12148 rm -f conftest.
$ac_objext conftest.
$ac_ext
12150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12153 cat >>confdefs.h
<<_ACEOF
12154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12163 for ac_header
in strings.h
12165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12167 echo "$as_me:$LINENO: checking for $ac_header" >&5
12168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12175 # Is the header compilable?
12176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12178 cat >conftest.
$ac_ext <<_ACEOF
12179 #line $LINENO "configure"
12182 cat confdefs.h
>>conftest.
$ac_ext
12183 cat >>conftest.
$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185 $ac_includes_default
12186 #include <$ac_header>
12188 rm -f conftest.
$ac_objext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12190 (eval $ac_compile) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } &&
12194 { ac_try
='test -s conftest.$ac_objext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_header_compiler
=yes
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.
$ac_ext >&5
12205 ac_header_compiler
=no
12207 rm -f conftest.
$ac_objext conftest.
$ac_ext
12208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12209 echo "${ECHO_T}$ac_header_compiler" >&6
12211 # Is the header present?
12212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12214 cat >conftest.
$ac_ext <<_ACEOF
12215 #line $LINENO "configure"
12218 cat confdefs.h
>>conftest.
$ac_ext
12219 cat >>conftest.
$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12221 #include <$ac_header>
12223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12226 grep -v '^ *+' conftest.er1
>conftest.err
12228 cat conftest.err
>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } >/dev
/null
; then
12231 if test -s conftest.err
; then
12232 ac_cpp_err
=$ac_c_preproc_warn_flag
12239 if test -z "$ac_cpp_err"; then
12240 ac_header_preproc
=yes
12242 echo "$as_me: failed program was:" >&5
12243 sed 's/^/| /' conftest.
$ac_ext >&5
12245 ac_header_preproc
=no
12247 rm -f conftest.err conftest.
$ac_ext
12248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12249 echo "${ECHO_T}$ac_header_preproc" >&6
12251 # So? What about this header?
12252 case $ac_header_compiler:$ac_header_preproc in
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12260 ## ------------------------------------ ##
12261 ## Report this to bug-autoconf@gnu.org. ##
12262 ## ------------------------------------ ##
12265 sed "s/^/$as_me: WARNING: /" >&2
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12276 ## ------------------------------------ ##
12277 ## Report this to bug-autoconf@gnu.org. ##
12278 ## ------------------------------------ ##
12281 sed "s/^/$as_me: WARNING: /" >&2
12284 echo "$as_me:$LINENO: checking for $ac_header" >&5
12285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 eval "$as_ac_Header=$ac_header_preproc"
12291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12296 cat >>confdefs.h
<<_ACEOF
12297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12306 for ac_header
in stdlib.h
12308 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12310 echo "$as_me:$LINENO: checking for $ac_header" >&5
12311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12318 # Is the header compilable?
12319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12321 cat >conftest.
$ac_ext <<_ACEOF
12322 #line $LINENO "configure"
12325 cat confdefs.h
>>conftest.
$ac_ext
12326 cat >>conftest.
$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12328 $ac_includes_default
12329 #include <$ac_header>
12331 rm -f conftest.
$ac_objext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12333 (eval $ac_compile) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try
='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_header_compiler
=yes
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.
$ac_ext >&5
12348 ac_header_compiler
=no
12350 rm -f conftest.
$ac_objext conftest.
$ac_ext
12351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12352 echo "${ECHO_T}$ac_header_compiler" >&6
12354 # Is the header present?
12355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12357 cat >conftest.
$ac_ext <<_ACEOF
12358 #line $LINENO "configure"
12361 cat confdefs.h
>>conftest.
$ac_ext
12362 cat >>conftest.
$ac_ext <<_ACEOF
12363 /* end confdefs.h. */
12364 #include <$ac_header>
12366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12369 grep -v '^ *+' conftest.er1
>conftest.err
12371 cat conftest.err
>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } >/dev
/null
; then
12374 if test -s conftest.err
; then
12375 ac_cpp_err
=$ac_c_preproc_warn_flag
12382 if test -z "$ac_cpp_err"; then
12383 ac_header_preproc
=yes
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.
$ac_ext >&5
12388 ac_header_preproc
=no
12390 rm -f conftest.err conftest.
$ac_ext
12391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12392 echo "${ECHO_T}$ac_header_preproc" >&6
12394 # So? What about this header?
12395 case $ac_header_compiler:$ac_header_preproc in
12397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12403 ## ------------------------------------ ##
12404 ## Report this to bug-autoconf@gnu.org. ##
12405 ## ------------------------------------ ##
12408 sed "s/^/$as_me: WARNING: /" >&2
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12419 ## ------------------------------------ ##
12420 ## Report this to bug-autoconf@gnu.org. ##
12421 ## ------------------------------------ ##
12424 sed "s/^/$as_me: WARNING: /" >&2
12427 echo "$as_me:$LINENO: checking for $ac_header" >&5
12428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 eval "$as_ac_Header=$ac_header_preproc"
12434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12439 cat >>confdefs.h
<<_ACEOF
12440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12448 for ac_header
in malloc.h
12450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12452 echo "$as_me:$LINENO: checking for $ac_header" >&5
12453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12455 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12460 # Is the header compilable?
12461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12463 cat >conftest.
$ac_ext <<_ACEOF
12464 #line $LINENO "configure"
12467 cat confdefs.h
>>conftest.
$ac_ext
12468 cat >>conftest.
$ac_ext <<_ACEOF
12469 /* end confdefs.h. */
12470 $ac_includes_default
12471 #include <$ac_header>
12473 rm -f conftest.
$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try
='test -s conftest.$ac_objext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 ac_header_compiler
=yes
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12490 ac_header_compiler
=no
12492 rm -f conftest.
$ac_objext conftest.
$ac_ext
12493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12494 echo "${ECHO_T}$ac_header_compiler" >&6
12496 # Is the header present?
12497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12499 cat >conftest.
$ac_ext <<_ACEOF
12500 #line $LINENO "configure"
12503 cat confdefs.h
>>conftest.
$ac_ext
12504 cat >>conftest.
$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12506 #include <$ac_header>
12508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12511 grep -v '^ *+' conftest.er1
>conftest.err
12513 cat conftest.err
>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } >/dev
/null
; then
12516 if test -s conftest.err
; then
12517 ac_cpp_err
=$ac_c_preproc_warn_flag
12524 if test -z "$ac_cpp_err"; then
12525 ac_header_preproc
=yes
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.
$ac_ext >&5
12530 ac_header_preproc
=no
12532 rm -f conftest.err conftest.
$ac_ext
12533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12534 echo "${ECHO_T}$ac_header_preproc" >&6
12536 # So? What about this header?
12537 case $ac_header_compiler:$ac_header_preproc in
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12545 ## ------------------------------------ ##
12546 ## Report this to bug-autoconf@gnu.org. ##
12547 ## ------------------------------------ ##
12550 sed "s/^/$as_me: WARNING: /" >&2
12553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12561 ## ------------------------------------ ##
12562 ## Report this to bug-autoconf@gnu.org. ##
12563 ## ------------------------------------ ##
12566 sed "s/^/$as_me: WARNING: /" >&2
12569 echo "$as_me:$LINENO: checking for $ac_header" >&5
12570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 eval "$as_ac_Header=$ac_header_preproc"
12576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12581 cat >>confdefs.h
<<_ACEOF
12582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12590 for ac_header
in unistd.h
12592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12594 echo "$as_me:$LINENO: checking for $ac_header" >&5
12595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12602 # Is the header compilable?
12603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12605 cat >conftest.
$ac_ext <<_ACEOF
12606 #line $LINENO "configure"
12609 cat confdefs.h
>>conftest.
$ac_ext
12610 cat >>conftest.
$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 $ac_includes_default
12613 #include <$ac_header>
12615 rm -f conftest.
$ac_objext
12616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); } &&
12621 { ac_try
='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_header_compiler
=yes
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.
$ac_ext >&5
12632 ac_header_compiler
=no
12634 rm -f conftest.
$ac_objext conftest.
$ac_ext
12635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12636 echo "${ECHO_T}$ac_header_compiler" >&6
12638 # Is the header present?
12639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12641 cat >conftest.
$ac_ext <<_ACEOF
12642 #line $LINENO "configure"
12645 cat confdefs.h
>>conftest.
$ac_ext
12646 cat >>conftest.
$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 #include <$ac_header>
12650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12651 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12653 grep -v '^ *+' conftest.er1
>conftest.err
12655 cat conftest.err
>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } >/dev
/null
; then
12658 if test -s conftest.err
; then
12659 ac_cpp_err
=$ac_c_preproc_warn_flag
12666 if test -z "$ac_cpp_err"; then
12667 ac_header_preproc
=yes
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.
$ac_ext >&5
12672 ac_header_preproc
=no
12674 rm -f conftest.err conftest.
$ac_ext
12675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12676 echo "${ECHO_T}$ac_header_preproc" >&6
12678 # So? What about this header?
12679 case $ac_header_compiler:$ac_header_preproc in
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12687 ## ------------------------------------ ##
12688 ## Report this to bug-autoconf@gnu.org. ##
12689 ## ------------------------------------ ##
12692 sed "s/^/$as_me: WARNING: /" >&2
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12703 ## ------------------------------------ ##
12704 ## Report this to bug-autoconf@gnu.org. ##
12705 ## ------------------------------------ ##
12708 sed "s/^/$as_me: WARNING: /" >&2
12711 echo "$as_me:$LINENO: checking for $ac_header" >&5
12712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12716 eval "$as_ac_Header=$ac_header_preproc"
12718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12723 cat >>confdefs.h
<<_ACEOF
12724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12732 for ac_header
in wchar.h
12734 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12736 echo "$as_me:$LINENO: checking for $ac_header" >&5
12737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12744 # Is the header compilable?
12745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12747 cat >conftest.
$ac_ext <<_ACEOF
12748 #line $LINENO "configure"
12751 cat confdefs.h
>>conftest.
$ac_ext
12752 cat >>conftest.
$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 $ac_includes_default
12755 #include <$ac_header>
12757 rm -f conftest.
$ac_objext
12758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try
='test -s conftest.$ac_objext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 ac_header_compiler
=yes
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.
$ac_ext >&5
12774 ac_header_compiler
=no
12776 rm -f conftest.
$ac_objext conftest.
$ac_ext
12777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12778 echo "${ECHO_T}$ac_header_compiler" >&6
12780 # Is the header present?
12781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12783 cat >conftest.
$ac_ext <<_ACEOF
12784 #line $LINENO "configure"
12787 cat confdefs.h
>>conftest.
$ac_ext
12788 cat >>conftest.
$ac_ext <<_ACEOF
12789 /* end confdefs.h. */
12790 #include <$ac_header>
12792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12795 grep -v '^ *+' conftest.er1
>conftest.err
12797 cat conftest.err
>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } >/dev
/null
; then
12800 if test -s conftest.err
; then
12801 ac_cpp_err
=$ac_c_preproc_warn_flag
12808 if test -z "$ac_cpp_err"; then
12809 ac_header_preproc
=yes
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.
$ac_ext >&5
12814 ac_header_preproc
=no
12816 rm -f conftest.err conftest.
$ac_ext
12817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12818 echo "${ECHO_T}$ac_header_preproc" >&6
12820 # So? What about this header?
12821 case $ac_header_compiler:$ac_header_preproc in
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12829 ## ------------------------------------ ##
12830 ## Report this to bug-autoconf@gnu.org. ##
12831 ## ------------------------------------ ##
12834 sed "s/^/$as_me: WARNING: /" >&2
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12845 ## ------------------------------------ ##
12846 ## Report this to bug-autoconf@gnu.org. ##
12847 ## ------------------------------------ ##
12850 sed "s/^/$as_me: WARNING: /" >&2
12853 echo "$as_me:$LINENO: checking for $ac_header" >&5
12854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12856 echo $ECHO_N "(cached) $ECHO_C" >&6
12858 eval "$as_ac_Header=$ac_header_preproc"
12860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12865 cat >>confdefs.h
<<_ACEOF
12866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12874 if test "$ac_cv_header_wchar_h" != "yes"; then
12876 for ac_header
in wcstr.h
12878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12880 echo "$as_me:$LINENO: checking for $ac_header" >&5
12881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12888 # Is the header compilable?
12889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12891 cat >conftest.
$ac_ext <<_ACEOF
12892 #line $LINENO "configure"
12895 cat confdefs.h
>>conftest.
$ac_ext
12896 cat >>conftest.
$ac_ext <<_ACEOF
12897 /* end confdefs.h. */
12898 $ac_includes_default
12899 #include <$ac_header>
12901 rm -f conftest.
$ac_objext
12902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 (eval $ac_compile) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); } &&
12907 { ac_try
='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 ac_header_compiler
=yes
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.
$ac_ext >&5
12918 ac_header_compiler
=no
12920 rm -f conftest.
$ac_objext conftest.
$ac_ext
12921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12922 echo "${ECHO_T}$ac_header_compiler" >&6
12924 # Is the header present?
12925 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12927 cat >conftest.
$ac_ext <<_ACEOF
12928 #line $LINENO "configure"
12931 cat confdefs.h
>>conftest.
$ac_ext
12932 cat >>conftest.
$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 #include <$ac_header>
12936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12939 grep -v '^ *+' conftest.er1
>conftest.err
12941 cat conftest.err
>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } >/dev
/null
; then
12944 if test -s conftest.err
; then
12945 ac_cpp_err
=$ac_c_preproc_warn_flag
12952 if test -z "$ac_cpp_err"; then
12953 ac_header_preproc
=yes
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.
$ac_ext >&5
12958 ac_header_preproc
=no
12960 rm -f conftest.err conftest.
$ac_ext
12961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12962 echo "${ECHO_T}$ac_header_preproc" >&6
12964 # So? What about this header?
12965 case $ac_header_compiler:$ac_header_preproc in
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12973 ## ------------------------------------ ##
12974 ## Report this to bug-autoconf@gnu.org. ##
12975 ## ------------------------------------ ##
12978 sed "s/^/$as_me: WARNING: /" >&2
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12989 ## ------------------------------------ ##
12990 ## Report this to bug-autoconf@gnu.org. ##
12991 ## ------------------------------------ ##
12994 sed "s/^/$as_me: WARNING: /" >&2
12997 echo "$as_me:$LINENO: checking for $ac_header" >&5
12998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 eval "$as_ac_Header=$ac_header_preproc"
13004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13009 cat >>confdefs.h
<<_ACEOF
13010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13020 for ac_header
in fnmatch.h
13022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13024 echo "$as_me:$LINENO: checking for $ac_header" >&5
13025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13032 # Is the header compilable?
13033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13035 cat >conftest.
$ac_ext <<_ACEOF
13036 #line $LINENO "configure"
13039 cat confdefs.h
>>conftest.
$ac_ext
13040 cat >>conftest.
$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 $ac_includes_default
13043 #include <$ac_header>
13045 rm -f conftest.
$ac_objext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try
='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_header_compiler
=yes
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.
$ac_ext >&5
13062 ac_header_compiler
=no
13064 rm -f conftest.
$ac_objext conftest.
$ac_ext
13065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13066 echo "${ECHO_T}$ac_header_compiler" >&6
13068 # Is the header present?
13069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13071 cat >conftest.
$ac_ext <<_ACEOF
13072 #line $LINENO "configure"
13075 cat confdefs.h
>>conftest.
$ac_ext
13076 cat >>conftest.
$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 #include <$ac_header>
13080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13083 grep -v '^ *+' conftest.er1
>conftest.err
13085 cat conftest.err
>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); } >/dev
/null
; then
13088 if test -s conftest.err
; then
13089 ac_cpp_err
=$ac_c_preproc_warn_flag
13096 if test -z "$ac_cpp_err"; then
13097 ac_header_preproc
=yes
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.
$ac_ext >&5
13102 ac_header_preproc
=no
13104 rm -f conftest.err conftest.
$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13106 echo "${ECHO_T}$ac_header_preproc" >&6
13108 # So? What about this header?
13109 case $ac_header_compiler:$ac_header_preproc in
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13117 ## ------------------------------------ ##
13118 ## Report this to bug-autoconf@gnu.org. ##
13119 ## ------------------------------------ ##
13122 sed "s/^/$as_me: WARNING: /" >&2
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13133 ## ------------------------------------ ##
13134 ## Report this to bug-autoconf@gnu.org. ##
13135 ## ------------------------------------ ##
13138 sed "s/^/$as_me: WARNING: /" >&2
13141 echo "$as_me:$LINENO: checking for $ac_header" >&5
13142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 eval "$as_ac_Header=$ac_header_preproc"
13148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13153 cat >>confdefs.h
<<_ACEOF
13154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13162 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13164 for ac_func
in fnmatch
13166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13167 echo "$as_me:$LINENO: checking for $ac_func" >&5
13168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13169 if eval "test \"\${$as_ac_var+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 cat >conftest.
$ac_ext <<_ACEOF
13173 #line $LINENO "configure"
13176 cat confdefs.h
>>conftest.
$ac_ext
13177 cat >>conftest.
$ac_ext <<_ACEOF
13178 /* end confdefs.h. */
13179 /* System header to define __stub macros and hopefully few prototypes,
13180 which can conflict with char $ac_func (); below.
13181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13182 <limits.h> exists even on freestanding compilers. */
13184 # include <limits.h>
13186 # include <assert.h>
13188 /* Override any gcc2 internal prototype to avoid an error. */
13193 /* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13196 /* The GNU C library defines this for functions which it implements
13197 to always fail with ENOSYS. Some functions are actually named
13198 something starting with __ and the normal name is an alias. */
13199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13202 char (*f) () = $ac_func;
13211 return f != $ac_func;
13216 rm -f conftest.
$ac_objext conftest
$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); } &&
13222 { ac_try
='test -s conftest$ac_exeext'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 eval "$as_ac_var=yes"
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.
$ac_ext >&5
13233 eval "$as_ac_var=no"
13235 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13239 if test `eval echo '${'$as_ac_var'}'` = yes; then
13240 cat >>confdefs.h
<<_ACEOF
13241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13250 for ac_header
in langinfo.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
13393 *-pc-os2_emx | *-pc-os2-emx )
13394 if test $ac_cv_header_langinfo_h = "yes"; then
13395 LIBS
="$LIBS -lintl"
13400 if test "$wxUSE_GUI" = "yes"; then
13401 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13403 for ac_header
in X
11/Xlib.h
13405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13415 # Is the header compilable?
13416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13418 cat >conftest.
$ac_ext <<_ACEOF
13419 #line $LINENO "configure"
13422 cat confdefs.h
>>conftest.
$ac_ext
13423 cat >>conftest.
$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 $ac_includes_default
13426 #include <$ac_header>
13428 rm -f conftest.
$ac_objext
13429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13430 (eval $ac_compile) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } &&
13434 { ac_try
='test -s conftest.$ac_objext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 ac_header_compiler
=yes
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.
$ac_ext >&5
13445 ac_header_compiler
=no
13447 rm -f conftest.
$ac_objext conftest.
$ac_ext
13448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13449 echo "${ECHO_T}$ac_header_compiler" >&6
13451 # Is the header present?
13452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13454 cat >conftest.
$ac_ext <<_ACEOF
13455 #line $LINENO "configure"
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 #include <$ac_header>
13463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13466 grep -v '^ *+' conftest.er1
>conftest.err
13468 cat conftest.err
>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } >/dev
/null
; then
13471 if test -s conftest.err
; then
13472 ac_cpp_err
=$ac_c_preproc_warn_flag
13479 if test -z "$ac_cpp_err"; then
13480 ac_header_preproc
=yes
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 ac_header_preproc
=no
13487 rm -f conftest.err conftest.
$ac_ext
13488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13489 echo "${ECHO_T}$ac_header_preproc" >&6
13491 # So? What about this header?
13492 case $ac_header_compiler:$ac_header_preproc in
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13500 ## ------------------------------------ ##
13501 ## Report this to bug-autoconf@gnu.org. ##
13502 ## ------------------------------------ ##
13505 sed "s/^/$as_me: WARNING: /" >&2
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13516 ## ------------------------------------ ##
13517 ## Report this to bug-autoconf@gnu.org. ##
13518 ## ------------------------------------ ##
13521 sed "s/^/$as_me: WARNING: /" >&2
13524 echo "$as_me:$LINENO: checking for $ac_header" >&5
13525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 eval "$as_ac_Header=$ac_header_preproc"
13531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13536 cat >>confdefs.h
<<_ACEOF
13537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13545 for ac_header
in X
11/XKBlib.h
13547 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13548 echo "$as_me:$LINENO: checking for $ac_header" >&5
13549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 cat >conftest.
$ac_ext <<_ACEOF
13554 #line $LINENO "configure"
13557 cat confdefs.h
>>conftest.
$ac_ext
13558 cat >>conftest.
$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13561 #if HAVE_X11_XLIB_H
13562 #include <X11/Xlib.h>
13566 #include <$ac_header>
13568 rm -f conftest.
$ac_objext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570 (eval $ac_compile) 2>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try
='test -s conftest.$ac_objext'
13575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13576 (eval $ac_try) 2>&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); }; }; then
13580 eval "$as_ac_Header=yes"
13582 echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.
$ac_ext >&5
13585 eval "$as_ac_Header=no"
13587 rm -f conftest.
$ac_objext conftest.
$ac_ext
13589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13592 cat >>confdefs.h
<<_ACEOF
13593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13604 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13605 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13606 if test "${ac_cv_c_const+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 cat >conftest.
$ac_ext <<_ACEOF
13610 #line $LINENO "configure"
13613 cat confdefs.h
>>conftest.
$ac_ext
13614 cat >>conftest.
$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13620 /* FIXME: Include the comments suggested by Paul. */
13621 #ifndef __cplusplus
13622 /* Ultrix mips cc rejects this. */
13623 typedef int charset[2];
13625 /* SunOS 4.1.1 cc rejects this. */
13626 char const *const *ccp;
13628 /* NEC SVR4.0.2 mips cc rejects this. */
13629 struct point {int x, y;};
13630 static struct point const zero = {0,0};
13631 /* AIX XL C 1.02.0.0 rejects this.
13632 It does not let you subtract one const X* pointer from another in
13633 an arm of an if-expression whose if-part is not a constant
13635 const char *g = "string";
13636 ccp = &g + (g ? g-g : 0);
13637 /* HPUX 7.0 cc rejects these. */
13640 ccp = (char const *const *) p;
13641 { /* SCO 3.2v4 cc rejects this. */
13643 char const *s = 0 ? (char *) 0 : (char const *) 0;
13647 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13648 int x[] = {25, 17};
13649 const int *foo = &x[0];
13652 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13653 typedef const int *iptr;
13657 { /* AIX XL C 1.02.0.0 rejects this saying
13658 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13659 struct s { int j; const int *ap[3]; };
13660 struct s *b; b->j = 5;
13662 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13663 const int foo = 10;
13671 rm -f conftest.
$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try
='test -s conftest.$ac_objext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.
$ac_ext >&5
13690 rm -f conftest.
$ac_objext conftest.
$ac_ext
13692 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13693 echo "${ECHO_T}$ac_cv_c_const" >&6
13694 if test $ac_cv_c_const = no
; then
13696 cat >>confdefs.h
<<\_ACEOF
13702 echo "$as_me:$LINENO: checking for inline" >&5
13703 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13704 if test "${ac_cv_c_inline+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 for ac_kw
in inline __inline__ __inline
; do
13709 cat >conftest.
$ac_ext <<_ACEOF
13710 #line $LINENO "configure"
13713 cat confdefs.h
>>conftest.
$ac_ext
13714 cat >>conftest.
$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 #ifndef __cplusplus
13718 static $ac_kw foo_t static_foo () {return 0; }
13719 $ac_kw foo_t foo () {return 0; }
13723 rm -f conftest.
$ac_objext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 (eval $ac_compile) 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try
='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_cv_c_inline
=$ac_kw; break
13737 echo "$as_me: failed program was:" >&5
13738 sed 's/^/| /' conftest.
$ac_ext >&5
13741 rm -f conftest.
$ac_objext conftest.
$ac_ext
13745 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13746 echo "${ECHO_T}$ac_cv_c_inline" >&6
13747 case $ac_cv_c_inline in
13750 cat >>confdefs.h
<<\_ACEOF
13754 *) cat >>confdefs.h
<<_ACEOF
13755 #define inline $ac_cv_c_inline
13761 echo "$as_me:$LINENO: checking for char" >&5
13762 echo $ECHO_N "checking for char... $ECHO_C" >&6
13763 if test "${ac_cv_type_char+set}" = set; then
13764 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 cat >conftest.
$ac_ext <<_ACEOF
13767 #line $LINENO "configure"
13770 cat confdefs.h
>>conftest.
$ac_ext
13771 cat >>conftest.
$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 $ac_includes_default
13785 rm -f conftest.
$ac_objext
13786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13787 (eval $ac_compile) 2>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } &&
13791 { ac_try
='test -s conftest.$ac_objext'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; }; then
13797 ac_cv_type_char
=yes
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.
$ac_ext >&5
13804 rm -f conftest.
$ac_objext conftest.
$ac_ext
13806 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13807 echo "${ECHO_T}$ac_cv_type_char" >&6
13809 echo "$as_me:$LINENO: checking size of char" >&5
13810 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13811 if test "${ac_cv_sizeof_char+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 if test "$ac_cv_type_char" = yes; then
13815 # The cast to unsigned long works around a bug in the HP C Compiler
13816 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13817 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13818 # This bug is HP SR number 8606223364.
13819 if test "$cross_compiling" = yes; then
13820 # Depending upon the size, compute the lo and hi bounds.
13821 cat >conftest.
$ac_ext <<_ACEOF
13822 #line $LINENO "configure"
13825 cat confdefs.h
>>conftest.
$ac_ext
13826 cat >>conftest.
$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13828 $ac_includes_default
13832 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13839 rm -f conftest.
$ac_objext
13840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13841 (eval $ac_compile) 2>&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); } &&
13845 { ac_try
='test -s conftest.$ac_objext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13853 cat >conftest.
$ac_ext <<_ACEOF
13854 #line $LINENO "configure"
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13864 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13871 rm -f conftest.
$ac_objext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13873 (eval $ac_compile) 2>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); } &&
13877 { ac_try
='test -s conftest.$ac_objext'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; }; then
13883 ac_hi
=$ac_mid; break
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.
$ac_ext >&5
13888 ac_lo
=`expr $ac_mid + 1`
13889 if test $ac_lo -le $ac_mid; then
13893 ac_mid
=`expr 2 '*' $ac_mid + 1`
13895 rm -f conftest.
$ac_objext conftest.
$ac_ext
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.
$ac_ext >&5
13901 cat >conftest.
$ac_ext <<_ACEOF
13902 #line $LINENO "configure"
13905 cat confdefs.h
>>conftest.
$ac_ext
13906 cat >>conftest.
$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 $ac_includes_default
13912 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13919 rm -f conftest.
$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } &&
13925 { ac_try
='test -s conftest.$ac_objext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13933 cat >conftest.
$ac_ext <<_ACEOF
13934 #line $LINENO "configure"
13937 cat confdefs.h
>>conftest.
$ac_ext
13938 cat >>conftest.
$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 $ac_includes_default
13944 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13951 rm -f conftest.
$ac_objext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try
='test -s conftest.$ac_objext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_lo
=$ac_mid; break
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.
$ac_ext >&5
13968 ac_hi
=`expr '(' $ac_mid ')' - 1`
13969 if test $ac_mid -le $ac_hi; then
13973 ac_mid
=`expr 2 '*' $ac_mid`
13975 rm -f conftest.
$ac_objext conftest.
$ac_ext
13978 echo "$as_me: failed program was:" >&5
13979 sed 's/^/| /' conftest.
$ac_ext >&5
13983 rm -f conftest.
$ac_objext conftest.
$ac_ext
13985 rm -f conftest.
$ac_objext conftest.
$ac_ext
13986 # Binary search between lo and hi bounds.
13987 while test "x$ac_lo" != "x$ac_hi"; do
13988 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13989 cat >conftest.
$ac_ext <<_ACEOF
13990 #line $LINENO "configure"
13993 cat confdefs.h
>>conftest.
$ac_ext
13994 cat >>conftest.
$ac_ext <<_ACEOF
13995 /* end confdefs.h. */
13996 $ac_includes_default
14000 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14007 rm -f conftest.
$ac_objext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14009 (eval $ac_compile) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try
='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.
$ac_ext >&5
14024 ac_lo
=`expr '(' $ac_mid ')' + 1`
14026 rm -f conftest.
$ac_objext conftest.
$ac_ext
14029 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14030 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14031 See \`config.log' for more details." >&5
14032 echo "$as_me: error: cannot compute sizeof (char), 77
14033 See \`config.log' for more details." >&2;}
14034 { (exit 1); exit 1; }; } ;;
14037 if test "$cross_compiling" = yes; then
14038 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14039 See \`config.log' for more details." >&5
14040 echo "$as_me: error: cannot run test program while cross compiling
14041 See \`config.log' for more details." >&2;}
14042 { (exit 1); exit 1; }; }
14044 cat >conftest.
$ac_ext <<_ACEOF
14045 #line $LINENO "configure"
14048 cat confdefs.h
>>conftest.
$ac_ext
14049 cat >>conftest.
$ac_ext <<_ACEOF
14050 /* end confdefs.h. */
14051 $ac_includes_default
14052 long longval () { return (long) (sizeof (char)); }
14053 unsigned long ulongval () { return (long) (sizeof (char)); }
14055 #include <stdlib.h>
14060 FILE *f = fopen ("conftest.val", "w");
14063 if (((long) (sizeof (char))) < 0)
14065 long i = longval ();
14066 if (i != ((long) (sizeof (char))))
14068 fprintf (f, "%ld\n", i);
14072 unsigned long i = ulongval ();
14073 if (i != ((long) (sizeof (char))))
14075 fprintf (f, "%lu\n", i);
14077 exit (ferror (f) || fclose (f) != 0);
14083 rm -f conftest
$ac_exeext
14084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14085 (eval $ac_link) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 ac_cv_sizeof_char
=`cat conftest.val`
14096 echo "$as_me: program exited with status $ac_status" >&5
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.
$ac_ext >&5
14100 ( exit $ac_status )
14101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14102 See \`config.log' for more details." >&5
14103 echo "$as_me: error: cannot compute sizeof (char), 77
14104 See \`config.log' for more details." >&2;}
14105 { (exit 1); exit 1; }; }
14107 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14112 ac_cv_sizeof_char
=0
14115 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14116 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14117 cat >>confdefs.h
<<_ACEOF
14118 #define SIZEOF_CHAR $ac_cv_sizeof_char
14122 echo "$as_me:$LINENO: checking for short" >&5
14123 echo $ECHO_N "checking for short... $ECHO_C" >&6
14124 if test "${ac_cv_type_short+set}" = set; then
14125 echo $ECHO_N "(cached) $ECHO_C" >&6
14127 cat >conftest.
$ac_ext <<_ACEOF
14128 #line $LINENO "configure"
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14140 if (sizeof (short))
14146 rm -f conftest.
$ac_objext
14147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14148 (eval $ac_compile) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try
='test -s conftest.$ac_objext'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; }; then
14158 ac_cv_type_short
=yes
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.
$ac_ext >&5
14163 ac_cv_type_short
=no
14165 rm -f conftest.
$ac_objext conftest.
$ac_ext
14167 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14168 echo "${ECHO_T}$ac_cv_type_short" >&6
14170 echo "$as_me:$LINENO: checking size of short" >&5
14171 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14172 if test "${ac_cv_sizeof_short+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 if test "$ac_cv_type_short" = yes; then
14176 # The cast to unsigned long works around a bug in the HP C Compiler
14177 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14178 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14179 # This bug is HP SR number 8606223364.
14180 if test "$cross_compiling" = yes; then
14181 # Depending upon the size, compute the lo and hi bounds.
14182 cat >conftest.
$ac_ext <<_ACEOF
14183 #line $LINENO "configure"
14186 cat confdefs.h
>>conftest.
$ac_ext
14187 cat >>conftest.
$ac_ext <<_ACEOF
14188 /* end confdefs.h. */
14189 $ac_includes_default
14193 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14200 rm -f conftest.
$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try
='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14214 cat >conftest.
$ac_ext <<_ACEOF
14215 #line $LINENO "configure"
14218 cat confdefs.h
>>conftest.
$ac_ext
14219 cat >>conftest.
$ac_ext <<_ACEOF
14220 /* end confdefs.h. */
14221 $ac_includes_default
14225 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14232 rm -f conftest.
$ac_objext
14233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234 (eval $ac_compile) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try
='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_hi
=$ac_mid; break
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.
$ac_ext >&5
14249 ac_lo
=`expr $ac_mid + 1`
14250 if test $ac_lo -le $ac_mid; then
14254 ac_mid
=`expr 2 '*' $ac_mid + 1`
14256 rm -f conftest.
$ac_objext conftest.
$ac_ext
14259 echo "$as_me: failed program was:" >&5
14260 sed 's/^/| /' conftest.
$ac_ext >&5
14262 cat >conftest.
$ac_ext <<_ACEOF
14263 #line $LINENO "configure"
14266 cat confdefs.h
>>conftest.
$ac_ext
14267 cat >>conftest.
$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14269 $ac_includes_default
14273 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14280 rm -f conftest.
$ac_objext
14281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282 (eval $ac_compile) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try
='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14294 cat >conftest.
$ac_ext <<_ACEOF
14295 #line $LINENO "configure"
14298 cat confdefs.h
>>conftest.
$ac_ext
14299 cat >>conftest.
$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14301 $ac_includes_default
14305 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14312 rm -f conftest.
$ac_objext
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } &&
14318 { ac_try
='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_lo
=$ac_mid; break
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.
$ac_ext >&5
14329 ac_hi
=`expr '(' $ac_mid ')' - 1`
14330 if test $ac_mid -le $ac_hi; then
14334 ac_mid
=`expr 2 '*' $ac_mid`
14336 rm -f conftest.
$ac_objext conftest.
$ac_ext
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.
$ac_ext >&5
14344 rm -f conftest.
$ac_objext conftest.
$ac_ext
14346 rm -f conftest.
$ac_objext conftest.
$ac_ext
14347 # Binary search between lo and hi bounds.
14348 while test "x$ac_lo" != "x$ac_hi"; do
14349 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14350 cat >conftest.
$ac_ext <<_ACEOF
14351 #line $LINENO "configure"
14354 cat confdefs.h
>>conftest.
$ac_ext
14355 cat >>conftest.
$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14357 $ac_includes_default
14361 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14368 rm -f conftest.
$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } &&
14374 { ac_try
='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.
$ac_ext >&5
14385 ac_lo
=`expr '(' $ac_mid ')' + 1`
14387 rm -f conftest.
$ac_objext conftest.
$ac_ext
14390 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14391 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14392 See \`config.log' for more details." >&5
14393 echo "$as_me: error: cannot compute sizeof (short), 77
14394 See \`config.log' for more details." >&2;}
14395 { (exit 1); exit 1; }; } ;;
14398 if test "$cross_compiling" = yes; then
14399 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14400 See \`config.log' for more details." >&5
14401 echo "$as_me: error: cannot run test program while cross compiling
14402 See \`config.log' for more details." >&2;}
14403 { (exit 1); exit 1; }; }
14405 cat >conftest.
$ac_ext <<_ACEOF
14406 #line $LINENO "configure"
14409 cat confdefs.h
>>conftest.
$ac_ext
14410 cat >>conftest.
$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14412 $ac_includes_default
14413 long longval () { return (long) (sizeof (short)); }
14414 unsigned long ulongval () { return (long) (sizeof (short)); }
14416 #include <stdlib.h>
14421 FILE *f = fopen ("conftest.val", "w");
14424 if (((long) (sizeof (short))) < 0)
14426 long i = longval ();
14427 if (i != ((long) (sizeof (short))))
14429 fprintf (f, "%ld\n", i);
14433 unsigned long i = ulongval ();
14434 if (i != ((long) (sizeof (short))))
14436 fprintf (f, "%lu\n", i);
14438 exit (ferror (f) || fclose (f) != 0);
14444 rm -f conftest
$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 ac_cv_sizeof_short
=`cat conftest.val`
14457 echo "$as_me: program exited with status $ac_status" >&5
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 ( exit $ac_status )
14462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot compute sizeof (short), 77
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14468 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14473 ac_cv_sizeof_short
=0
14476 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14477 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14478 cat >>confdefs.h
<<_ACEOF
14479 #define SIZEOF_SHORT $ac_cv_sizeof_short
14483 echo "$as_me:$LINENO: checking for void *" >&5
14484 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14485 if test "${ac_cv_type_void_p+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14488 cat >conftest.
$ac_ext <<_ACEOF
14489 #line $LINENO "configure"
14492 cat confdefs.h
>>conftest.
$ac_ext
14493 cat >>conftest.
$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14501 if (sizeof (void *))
14507 rm -f conftest.
$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } &&
14513 { ac_try
='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 ac_cv_type_void_p
=yes
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.
$ac_ext >&5
14524 ac_cv_type_void_p
=no
14526 rm -f conftest.
$ac_objext conftest.
$ac_ext
14528 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14529 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14531 echo "$as_me:$LINENO: checking size of void *" >&5
14532 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14533 if test "${ac_cv_sizeof_void_p+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14536 if test "$ac_cv_type_void_p" = yes; then
14537 # The cast to unsigned long works around a bug in the HP C Compiler
14538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14540 # This bug is HP SR number 8606223364.
14541 if test "$cross_compiling" = yes; then
14542 # Depending upon the size, compute the lo and hi bounds.
14543 cat >conftest.
$ac_ext <<_ACEOF
14544 #line $LINENO "configure"
14547 cat confdefs.h
>>conftest.
$ac_ext
14548 cat >>conftest.
$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 $ac_includes_default
14554 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14561 rm -f conftest.
$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14575 cat >conftest.
$ac_ext <<_ACEOF
14576 #line $LINENO "configure"
14579 cat confdefs.h
>>conftest.
$ac_ext
14580 cat >>conftest.
$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 $ac_includes_default
14586 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14593 rm -f conftest.
$ac_objext
14594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14595 (eval $ac_compile) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try
='test -s conftest.$ac_objext'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; }; then
14605 ac_hi
=$ac_mid; break
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.
$ac_ext >&5
14610 ac_lo
=`expr $ac_mid + 1`
14611 if test $ac_lo -le $ac_mid; then
14615 ac_mid
=`expr 2 '*' $ac_mid + 1`
14617 rm -f conftest.
$ac_objext conftest.
$ac_ext
14620 echo "$as_me: failed program was:" >&5
14621 sed 's/^/| /' conftest.
$ac_ext >&5
14623 cat >conftest.
$ac_ext <<_ACEOF
14624 #line $LINENO "configure"
14627 cat confdefs.h
>>conftest.
$ac_ext
14628 cat >>conftest.
$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630 $ac_includes_default
14634 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14641 rm -f conftest.
$ac_objext
14642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14643 (eval $ac_compile) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try
='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14655 cat >conftest.
$ac_ext <<_ACEOF
14656 #line $LINENO "configure"
14659 cat confdefs.h
>>conftest.
$ac_ext
14660 cat >>conftest.
$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 $ac_includes_default
14666 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14673 rm -f conftest.
$ac_objext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14675 (eval $ac_compile) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try
='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 ac_lo
=$ac_mid; break
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.
$ac_ext >&5
14690 ac_hi
=`expr '(' $ac_mid ')' - 1`
14691 if test $ac_mid -le $ac_hi; then
14695 ac_mid
=`expr 2 '*' $ac_mid`
14697 rm -f conftest.
$ac_objext conftest.
$ac_ext
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.
$ac_ext >&5
14705 rm -f conftest.
$ac_objext conftest.
$ac_ext
14707 rm -f conftest.
$ac_objext conftest.
$ac_ext
14708 # Binary search between lo and hi bounds.
14709 while test "x$ac_lo" != "x$ac_hi"; do
14710 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14711 cat >conftest.
$ac_ext <<_ACEOF
14712 #line $LINENO "configure"
14715 cat confdefs.h
>>conftest.
$ac_ext
14716 cat >>conftest.
$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 $ac_includes_default
14722 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14729 rm -f conftest.
$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } &&
14735 { ac_try
='test -s conftest.$ac_objext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14746 ac_lo
=`expr '(' $ac_mid ')' + 1`
14748 rm -f conftest.
$ac_objext conftest.
$ac_ext
14751 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14752 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14753 See \`config.log' for more details." >&5
14754 echo "$as_me: error: cannot compute sizeof (void *), 77
14755 See \`config.log' for more details." >&2;}
14756 { (exit 1); exit 1; }; } ;;
14759 if test "$cross_compiling" = yes; then
14760 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14761 See \`config.log' for more details." >&5
14762 echo "$as_me: error: cannot run test program while cross compiling
14763 See \`config.log' for more details." >&2;}
14764 { (exit 1); exit 1; }; }
14766 cat >conftest.
$ac_ext <<_ACEOF
14767 #line $LINENO "configure"
14770 cat confdefs.h
>>conftest.
$ac_ext
14771 cat >>conftest.
$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 $ac_includes_default
14774 long longval () { return (long) (sizeof (void *)); }
14775 unsigned long ulongval () { return (long) (sizeof (void *)); }
14777 #include <stdlib.h>
14782 FILE *f = fopen ("conftest.val", "w");
14785 if (((long) (sizeof (void *))) < 0)
14787 long i = longval ();
14788 if (i != ((long) (sizeof (void *))))
14790 fprintf (f, "%ld\n", i);
14794 unsigned long i = ulongval ();
14795 if (i != ((long) (sizeof (void *))))
14797 fprintf (f, "%lu\n", i);
14799 exit (ferror (f) || fclose (f) != 0);
14805 rm -f conftest
$ac_exeext
14806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14807 (eval $ac_link) 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_sizeof_void_p
=`cat conftest.val`
14818 echo "$as_me: program exited with status $ac_status" >&5
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.
$ac_ext >&5
14822 ( exit $ac_status )
14823 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14824 See \`config.log' for more details." >&5
14825 echo "$as_me: error: cannot compute sizeof (void *), 77
14826 See \`config.log' for more details." >&2;}
14827 { (exit 1); exit 1; }; }
14829 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14834 ac_cv_sizeof_void_p
=0
14837 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14838 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14839 cat >>confdefs.h
<<_ACEOF
14840 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14844 echo "$as_me:$LINENO: checking for int" >&5
14845 echo $ECHO_N "checking for int... $ECHO_C" >&6
14846 if test "${ac_cv_type_int+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 cat >conftest.
$ac_ext <<_ACEOF
14850 #line $LINENO "configure"
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14868 rm -f conftest.
$ac_objext
14869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } &&
14874 { ac_try
='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.
$ac_ext >&5
14887 rm -f conftest.
$ac_objext conftest.
$ac_ext
14889 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14890 echo "${ECHO_T}$ac_cv_type_int" >&6
14892 echo "$as_me:$LINENO: checking size of int" >&5
14893 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14894 if test "${ac_cv_sizeof_int+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 if test "$ac_cv_type_int" = yes; then
14898 # The cast to unsigned long works around a bug in the HP C Compiler
14899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14901 # This bug is HP SR number 8606223364.
14902 if test "$cross_compiling" = yes; then
14903 # Depending upon the size, compute the lo and hi bounds.
14904 cat >conftest.
$ac_ext <<_ACEOF
14905 #line $LINENO "configure"
14908 cat confdefs.h
>>conftest.
$ac_ext
14909 cat >>conftest.
$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 $ac_includes_default
14915 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14922 rm -f conftest.
$ac_objext
14923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14924 (eval $ac_compile) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14936 cat >conftest.
$ac_ext <<_ACEOF
14937 #line $LINENO "configure"
14940 cat confdefs.h
>>conftest.
$ac_ext
14941 cat >>conftest.
$ac_ext <<_ACEOF
14942 /* end confdefs.h. */
14943 $ac_includes_default
14947 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14954 rm -f conftest.
$ac_objext
14955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -s conftest.$ac_objext'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 ac_hi
=$ac_mid; break
14968 echo "$as_me: failed program was:" >&5
14969 sed 's/^/| /' conftest.
$ac_ext >&5
14971 ac_lo
=`expr $ac_mid + 1`
14972 if test $ac_lo -le $ac_mid; then
14976 ac_mid
=`expr 2 '*' $ac_mid + 1`
14978 rm -f conftest.
$ac_objext conftest.
$ac_ext
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.
$ac_ext >&5
14984 cat >conftest.
$ac_ext <<_ACEOF
14985 #line $LINENO "configure"
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14995 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15002 rm -f conftest.
$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try
='test -s conftest.$ac_objext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15016 cat >conftest.
$ac_ext <<_ACEOF
15017 #line $LINENO "configure"
15020 cat confdefs.h
>>conftest.
$ac_ext
15021 cat >>conftest.
$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 $ac_includes_default
15027 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15034 rm -f conftest.
$ac_objext
15035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15036 (eval $ac_compile) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } &&
15040 { ac_try
='test -s conftest.$ac_objext'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_lo
=$ac_mid; break
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.
$ac_ext >&5
15051 ac_hi
=`expr '(' $ac_mid ')' - 1`
15052 if test $ac_mid -le $ac_hi; then
15056 ac_mid
=`expr 2 '*' $ac_mid`
15058 rm -f conftest.
$ac_objext conftest.
$ac_ext
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.
$ac_ext >&5
15066 rm -f conftest.
$ac_objext conftest.
$ac_ext
15068 rm -f conftest.
$ac_objext conftest.
$ac_ext
15069 # Binary search between lo and hi bounds.
15070 while test "x$ac_lo" != "x$ac_hi"; do
15071 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15072 cat >conftest.
$ac_ext <<_ACEOF
15073 #line $LINENO "configure"
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 $ac_includes_default
15083 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15090 rm -f conftest.
$ac_objext
15091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15092 (eval $ac_compile) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try
='test -s conftest.$ac_objext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.
$ac_ext >&5
15107 ac_lo
=`expr '(' $ac_mid ')' + 1`
15109 rm -f conftest.
$ac_objext conftest.
$ac_ext
15112 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15113 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15114 See \`config.log' for more details." >&5
15115 echo "$as_me: error: cannot compute sizeof (int), 77
15116 See \`config.log' for more details." >&2;}
15117 { (exit 1); exit 1; }; } ;;
15120 if test "$cross_compiling" = yes; then
15121 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15122 See \`config.log' for more details." >&5
15123 echo "$as_me: error: cannot run test program while cross compiling
15124 See \`config.log' for more details." >&2;}
15125 { (exit 1); exit 1; }; }
15127 cat >conftest.
$ac_ext <<_ACEOF
15128 #line $LINENO "configure"
15131 cat confdefs.h
>>conftest.
$ac_ext
15132 cat >>conftest.
$ac_ext <<_ACEOF
15133 /* end confdefs.h. */
15134 $ac_includes_default
15135 long longval () { return (long) (sizeof (int)); }
15136 unsigned long ulongval () { return (long) (sizeof (int)); }
15138 #include <stdlib.h>
15143 FILE *f = fopen ("conftest.val", "w");
15146 if (((long) (sizeof (int))) < 0)
15148 long i = longval ();
15149 if (i != ((long) (sizeof (int))))
15151 fprintf (f, "%ld\n", i);
15155 unsigned long i = ulongval ();
15156 if (i != ((long) (sizeof (int))))
15158 fprintf (f, "%lu\n", i);
15160 exit (ferror (f) || fclose (f) != 0);
15166 rm -f conftest
$ac_exeext
15167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15168 (eval $ac_link) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_cv_sizeof_int
=`cat conftest.val`
15179 echo "$as_me: program exited with status $ac_status" >&5
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.
$ac_ext >&5
15183 ( exit $ac_status )
15184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15185 See \`config.log' for more details." >&5
15186 echo "$as_me: error: cannot compute sizeof (int), 77
15187 See \`config.log' for more details." >&2;}
15188 { (exit 1); exit 1; }; }
15190 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15199 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15200 cat >>confdefs.h
<<_ACEOF
15201 #define SIZEOF_INT $ac_cv_sizeof_int
15205 echo "$as_me:$LINENO: checking for long" >&5
15206 echo $ECHO_N "checking for long... $ECHO_C" >&6
15207 if test "${ac_cv_type_long+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15210 cat >conftest.
$ac_ext <<_ACEOF
15211 #line $LINENO "configure"
15214 cat confdefs.h
>>conftest.
$ac_ext
15215 cat >>conftest.
$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15217 $ac_includes_default
15229 rm -f conftest.
$ac_objext
15230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15231 (eval $ac_compile) 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try
='test -s conftest.$ac_objext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_cv_type_long
=yes
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.
$ac_ext >&5
15248 rm -f conftest.
$ac_objext conftest.
$ac_ext
15250 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15251 echo "${ECHO_T}$ac_cv_type_long" >&6
15253 echo "$as_me:$LINENO: checking size of long" >&5
15254 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15255 if test "${ac_cv_sizeof_long+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 if test "$ac_cv_type_long" = yes; then
15259 # The cast to unsigned long works around a bug in the HP C Compiler
15260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15262 # This bug is HP SR number 8606223364.
15263 if test "$cross_compiling" = yes; then
15264 # Depending upon the size, compute the lo and hi bounds.
15265 cat >conftest.
$ac_ext <<_ACEOF
15266 #line $LINENO "configure"
15269 cat confdefs.h
>>conftest.
$ac_ext
15270 cat >>conftest.
$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 $ac_includes_default
15276 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15283 rm -f conftest.
$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try
='test -s conftest.$ac_objext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15297 cat >conftest.
$ac_ext <<_ACEOF
15298 #line $LINENO "configure"
15301 cat confdefs.h
>>conftest.
$ac_ext
15302 cat >>conftest.
$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 $ac_includes_default
15308 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15315 rm -f conftest.
$ac_objext
15316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15317 (eval $ac_compile) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_hi
=$ac_mid; break
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.
$ac_ext >&5
15332 ac_lo
=`expr $ac_mid + 1`
15333 if test $ac_lo -le $ac_mid; then
15337 ac_mid
=`expr 2 '*' $ac_mid + 1`
15339 rm -f conftest.
$ac_objext conftest.
$ac_ext
15342 echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.
$ac_ext >&5
15345 cat >conftest.
$ac_ext <<_ACEOF
15346 #line $LINENO "configure"
15349 cat confdefs.h
>>conftest.
$ac_ext
15350 cat >>conftest.
$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15356 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15363 rm -f conftest.
$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } &&
15369 { ac_try
='test -s conftest.$ac_objext'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; }; then
15377 cat >conftest.
$ac_ext <<_ACEOF
15378 #line $LINENO "configure"
15381 cat confdefs.h
>>conftest.
$ac_ext
15382 cat >>conftest.
$ac_ext <<_ACEOF
15383 /* end confdefs.h. */
15384 $ac_includes_default
15388 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15395 rm -f conftest.
$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } &&
15401 { ac_try
='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_lo
=$ac_mid; break
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 ac_hi
=`expr '(' $ac_mid ')' - 1`
15413 if test $ac_mid -le $ac_hi; then
15417 ac_mid
=`expr 2 '*' $ac_mid`
15419 rm -f conftest.
$ac_objext conftest.
$ac_ext
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15427 rm -f conftest.
$ac_objext conftest.
$ac_ext
15429 rm -f conftest.
$ac_objext conftest.
$ac_ext
15430 # Binary search between lo and hi bounds.
15431 while test "x$ac_lo" != "x$ac_hi"; do
15432 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15433 cat >conftest.
$ac_ext <<_ACEOF
15434 #line $LINENO "configure"
15437 cat confdefs.h
>>conftest.
$ac_ext
15438 cat >>conftest.
$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 $ac_includes_default
15444 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15451 rm -f conftest.
$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.
$ac_ext >&5
15468 ac_lo
=`expr '(' $ac_mid ')' + 1`
15470 rm -f conftest.
$ac_objext conftest.
$ac_ext
15473 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15474 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15475 See \`config.log' for more details." >&5
15476 echo "$as_me: error: cannot compute sizeof (long), 77
15477 See \`config.log' for more details." >&2;}
15478 { (exit 1); exit 1; }; } ;;
15481 if test "$cross_compiling" = yes; then
15482 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15483 See \`config.log' for more details." >&5
15484 echo "$as_me: error: cannot run test program while cross compiling
15485 See \`config.log' for more details." >&2;}
15486 { (exit 1); exit 1; }; }
15488 cat >conftest.
$ac_ext <<_ACEOF
15489 #line $LINENO "configure"
15492 cat confdefs.h
>>conftest.
$ac_ext
15493 cat >>conftest.
$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495 $ac_includes_default
15496 long longval () { return (long) (sizeof (long)); }
15497 unsigned long ulongval () { return (long) (sizeof (long)); }
15499 #include <stdlib.h>
15504 FILE *f = fopen ("conftest.val", "w");
15507 if (((long) (sizeof (long))) < 0)
15509 long i = longval ();
15510 if (i != ((long) (sizeof (long))))
15512 fprintf (f, "%ld\n", i);
15516 unsigned long i = ulongval ();
15517 if (i != ((long) (sizeof (long))))
15519 fprintf (f, "%lu\n", i);
15521 exit (ferror (f) || fclose (f) != 0);
15527 rm -f conftest
$ac_exeext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15529 (eval $ac_link) 2>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_long
=`cat conftest.val`
15540 echo "$as_me: program exited with status $ac_status" >&5
15541 echo "$as_me: failed program was:" >&5
15542 sed 's/^/| /' conftest.
$ac_ext >&5
15544 ( exit $ac_status )
15545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15546 See \`config.log' for more details." >&5
15547 echo "$as_me: error: cannot compute sizeof (long), 77
15548 See \`config.log' for more details." >&2;}
15549 { (exit 1); exit 1; }; }
15551 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15556 ac_cv_sizeof_long
=0
15559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15560 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15561 cat >>confdefs.h
<<_ACEOF
15562 #define SIZEOF_LONG $ac_cv_sizeof_long
15569 echo "$as_me:$LINENO: checking for long long" >&5
15570 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15571 if test "${ac_cv_type_long_long+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 cat >conftest.
$ac_ext <<_ACEOF
15575 #line $LINENO "configure"
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15585 if ((long long *) 0)
15587 if (sizeof (long long))
15593 rm -f conftest.
$ac_objext
15594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15595 (eval $ac_compile) 2>&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } &&
15599 { ac_try
='test -s conftest.$ac_objext'
15600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601 (eval $ac_try) 2>&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); }; }; then
15605 ac_cv_type_long_long
=yes
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.
$ac_ext >&5
15610 ac_cv_type_long_long
=no
15612 rm -f conftest.
$ac_objext conftest.
$ac_ext
15614 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15615 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15617 echo "$as_me:$LINENO: checking size of long long" >&5
15618 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15619 if test "${ac_cv_sizeof_long_long+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 if test "$ac_cv_type_long_long" = yes; then
15623 # The cast to unsigned long works around a bug in the HP C Compiler
15624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15626 # This bug is HP SR number 8606223364.
15627 if test "$cross_compiling" = yes; then
15628 # Depending upon the size, compute the lo and hi bounds.
15629 cat >conftest.
$ac_ext <<_ACEOF
15630 #line $LINENO "configure"
15633 cat confdefs.h
>>conftest.
$ac_ext
15634 cat >>conftest.
$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 $ac_includes_default
15640 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15647 rm -f conftest.
$ac_objext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try
='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15661 cat >conftest.
$ac_ext <<_ACEOF
15662 #line $LINENO "configure"
15665 cat confdefs.h
>>conftest.
$ac_ext
15666 cat >>conftest.
$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15672 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15679 rm -f conftest.
$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try
='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_hi
=$ac_mid; break
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.
$ac_ext >&5
15696 ac_lo
=`expr $ac_mid + 1`
15697 if test $ac_lo -le $ac_mid; then
15701 ac_mid
=`expr 2 '*' $ac_mid + 1`
15703 rm -f conftest.
$ac_objext conftest.
$ac_ext
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.
$ac_ext >&5
15709 cat >conftest.
$ac_ext <<_ACEOF
15710 #line $LINENO "configure"
15713 cat confdefs.h
>>conftest.
$ac_ext
15714 cat >>conftest.
$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716 $ac_includes_default
15720 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15727 rm -f conftest.
$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try
='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15741 cat >conftest.
$ac_ext <<_ACEOF
15742 #line $LINENO "configure"
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15752 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15759 rm -f conftest.
$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } &&
15765 { ac_try
='test -s conftest.$ac_objext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_lo
=$ac_mid; break
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.
$ac_ext >&5
15776 ac_hi
=`expr '(' $ac_mid ')' - 1`
15777 if test $ac_mid -le $ac_hi; then
15781 ac_mid
=`expr 2 '*' $ac_mid`
15783 rm -f conftest.
$ac_objext conftest.
$ac_ext
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.
$ac_ext >&5
15791 rm -f conftest.
$ac_objext conftest.
$ac_ext
15793 rm -f conftest.
$ac_objext conftest.
$ac_ext
15794 # Binary search between lo and hi bounds.
15795 while test "x$ac_lo" != "x$ac_hi"; do
15796 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15797 cat >conftest.
$ac_ext <<_ACEOF
15798 #line $LINENO "configure"
15801 cat confdefs.h
>>conftest.
$ac_ext
15802 cat >>conftest.
$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 $ac_includes_default
15808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15815 rm -f conftest.
$ac_objext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 (eval $ac_compile) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15832 ac_lo
=`expr '(' $ac_mid ')' + 1`
15834 rm -f conftest.
$ac_objext conftest.
$ac_ext
15837 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15838 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15839 See \`config.log' for more details." >&5
15840 echo "$as_me: error: cannot compute sizeof (long long), 77
15841 See \`config.log' for more details." >&2;}
15842 { (exit 1); exit 1; }; } ;;
15845 if test "$cross_compiling" = yes; then
15846 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15847 See \`config.log' for more details." >&5
15848 echo "$as_me: error: cannot run test program while cross compiling
15849 See \`config.log' for more details." >&2;}
15850 { (exit 1); exit 1; }; }
15852 cat >conftest.
$ac_ext <<_ACEOF
15853 #line $LINENO "configure"
15856 cat confdefs.h
>>conftest.
$ac_ext
15857 cat >>conftest.
$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 $ac_includes_default
15860 long longval () { return (long) (sizeof (long long)); }
15861 unsigned long ulongval () { return (long) (sizeof (long long)); }
15863 #include <stdlib.h>
15868 FILE *f = fopen ("conftest.val", "w");
15871 if (((long) (sizeof (long long))) < 0)
15873 long i = longval ();
15874 if (i != ((long) (sizeof (long long))))
15876 fprintf (f, "%ld\n", i);
15880 unsigned long i = ulongval ();
15881 if (i != ((long) (sizeof (long long))))
15883 fprintf (f, "%lu\n", i);
15885 exit (ferror (f) || fclose (f) != 0);
15891 rm -f conftest
$ac_exeext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15893 (eval $ac_link) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 ac_cv_sizeof_long_long
=`cat conftest.val`
15904 echo "$as_me: program exited with status $ac_status" >&5
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.
$ac_ext >&5
15908 ( exit $ac_status )
15909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15910 See \`config.log' for more details." >&5
15911 echo "$as_me: error: cannot compute sizeof (long long), 77
15912 See \`config.log' for more details." >&2;}
15913 { (exit 1); exit 1; }; }
15915 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15920 ac_cv_sizeof_long_long
=0
15923 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15924 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15925 cat >>confdefs.h
<<_ACEOF
15926 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15932 echo "$as_me:$LINENO: checking for long long" >&5
15933 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15934 if test "${ac_cv_type_long_long+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.
$ac_ext <<_ACEOF
15938 #line $LINENO "configure"
15941 cat confdefs.h
>>conftest.
$ac_ext
15942 cat >>conftest.
$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 $ac_includes_default
15948 if ((long long *) 0)
15950 if (sizeof (long long))
15956 rm -f conftest.
$ac_objext
15957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15958 (eval $ac_compile) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try
='test -s conftest.$ac_objext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 ac_cv_type_long_long
=yes
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.
$ac_ext >&5
15973 ac_cv_type_long_long
=no
15975 rm -f conftest.
$ac_objext conftest.
$ac_ext
15977 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15978 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15980 echo "$as_me:$LINENO: checking size of long long" >&5
15981 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15982 if test "${ac_cv_sizeof_long_long+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 if test "$ac_cv_type_long_long" = yes; then
15986 # The cast to unsigned long works around a bug in the HP C Compiler
15987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15989 # This bug is HP SR number 8606223364.
15990 if test "$cross_compiling" = yes; then
15991 # Depending upon the size, compute the lo and hi bounds.
15992 cat >conftest.
$ac_ext <<_ACEOF
15993 #line $LINENO "configure"
15996 cat confdefs.h
>>conftest.
$ac_ext
15997 cat >>conftest.
$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 $ac_includes_default
16003 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16010 rm -f conftest.
$ac_objext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try
='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16024 cat >conftest.
$ac_ext <<_ACEOF
16025 #line $LINENO "configure"
16028 cat confdefs.h
>>conftest.
$ac_ext
16029 cat >>conftest.
$ac_ext <<_ACEOF
16030 /* end confdefs.h. */
16031 $ac_includes_default
16035 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16042 rm -f conftest.
$ac_objext
16043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16044 (eval $ac_compile) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); } &&
16048 { ac_try
='test -s conftest.$ac_objext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 ac_hi
=$ac_mid; break
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16059 ac_lo
=`expr $ac_mid + 1`
16060 if test $ac_lo -le $ac_mid; then
16064 ac_mid
=`expr 2 '*' $ac_mid + 1`
16066 rm -f conftest.
$ac_objext conftest.
$ac_ext
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.
$ac_ext >&5
16072 cat >conftest.
$ac_ext <<_ACEOF
16073 #line $LINENO "configure"
16076 cat confdefs.h
>>conftest.
$ac_ext
16077 cat >>conftest.
$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16079 $ac_includes_default
16083 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16090 rm -f conftest.
$ac_objext
16091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16092 (eval $ac_compile) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try
='test -s conftest.$ac_objext'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; }; then
16104 cat >conftest.
$ac_ext <<_ACEOF
16105 #line $LINENO "configure"
16108 cat confdefs.h
>>conftest.
$ac_ext
16109 cat >>conftest.
$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 $ac_includes_default
16115 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16122 rm -f conftest.
$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -s conftest.$ac_objext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_lo
=$ac_mid; break
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16139 ac_hi
=`expr '(' $ac_mid ')' - 1`
16140 if test $ac_mid -le $ac_hi; then
16144 ac_mid
=`expr 2 '*' $ac_mid`
16146 rm -f conftest.
$ac_objext conftest.
$ac_ext
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.
$ac_ext >&5
16154 rm -f conftest.
$ac_objext conftest.
$ac_ext
16156 rm -f conftest.
$ac_objext conftest.
$ac_ext
16157 # Binary search between lo and hi bounds.
16158 while test "x$ac_lo" != "x$ac_hi"; do
16159 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16160 cat >conftest.
$ac_ext <<_ACEOF
16161 #line $LINENO "configure"
16164 cat confdefs.h
>>conftest.
$ac_ext
16165 cat >>conftest.
$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 $ac_includes_default
16171 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16178 rm -f conftest.
$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try
='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.
$ac_ext >&5
16195 ac_lo
=`expr '(' $ac_mid ')' + 1`
16197 rm -f conftest.
$ac_objext conftest.
$ac_ext
16200 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16201 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16202 See \`config.log' for more details." >&5
16203 echo "$as_me: error: cannot compute sizeof (long long), 77
16204 See \`config.log' for more details." >&2;}
16205 { (exit 1); exit 1; }; } ;;
16208 if test "$cross_compiling" = yes; then
16209 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16210 See \`config.log' for more details." >&5
16211 echo "$as_me: error: cannot run test program while cross compiling
16212 See \`config.log' for more details." >&2;}
16213 { (exit 1); exit 1; }; }
16215 cat >conftest.
$ac_ext <<_ACEOF
16216 #line $LINENO "configure"
16219 cat confdefs.h
>>conftest.
$ac_ext
16220 cat >>conftest.
$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16223 long longval () { return (long) (sizeof (long long)); }
16224 unsigned long ulongval () { return (long) (sizeof (long long)); }
16226 #include <stdlib.h>
16231 FILE *f = fopen ("conftest.val", "w");
16234 if (((long) (sizeof (long long))) < 0)
16236 long i = longval ();
16237 if (i != ((long) (sizeof (long long))))
16239 fprintf (f, "%ld\n", i);
16243 unsigned long i = ulongval ();
16244 if (i != ((long) (sizeof (long long))))
16246 fprintf (f, "%lu\n", i);
16248 exit (ferror (f) || fclose (f) != 0);
16254 rm -f conftest
$ac_exeext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16256 (eval $ac_link) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_sizeof_long_long
=`cat conftest.val`
16267 echo "$as_me: program exited with status $ac_status" >&5
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.
$ac_ext >&5
16271 ( exit $ac_status )
16272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16273 See \`config.log' for more details." >&5
16274 echo "$as_me: error: cannot compute sizeof (long long), 77
16275 See \`config.log' for more details." >&2;}
16276 { (exit 1); exit 1; }; }
16278 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16283 ac_cv_sizeof_long_long
=0
16286 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16287 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16288 cat >>confdefs.h
<<_ACEOF
16289 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16293 if test "$ac_cv_sizeof_long_long" != "0"; then
16294 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16298 echo "$as_me:$LINENO: checking for long long" >&5
16299 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16300 if test "${ac_cv_type_long_long+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 cat >conftest.
$ac_ext <<_ACEOF
16304 #line $LINENO "configure"
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 $ac_includes_default
16314 if ((long long *) 0)
16316 if (sizeof (long long))
16322 rm -f conftest.
$ac_objext
16323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16324 (eval $ac_compile) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } &&
16328 { ac_try
='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_type_long_long
=yes
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ac_cv_type_long_long
=no
16341 rm -f conftest.
$ac_objext conftest.
$ac_ext
16343 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16344 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16346 echo "$as_me:$LINENO: checking size of long long" >&5
16347 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16348 if test "${ac_cv_sizeof_long_long+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 if test "$ac_cv_type_long_long" = yes; then
16352 # The cast to unsigned long works around a bug in the HP C Compiler
16353 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16354 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16355 # This bug is HP SR number 8606223364.
16356 if test "$cross_compiling" = yes; then
16357 # Depending upon the size, compute the lo and hi bounds.
16358 cat >conftest.
$ac_ext <<_ACEOF
16359 #line $LINENO "configure"
16362 cat confdefs.h
>>conftest.
$ac_ext
16363 cat >>conftest.
$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16365 $ac_includes_default
16369 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16376 rm -f conftest.
$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try
='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16390 cat >conftest.
$ac_ext <<_ACEOF
16391 #line $LINENO "configure"
16394 cat confdefs.h
>>conftest.
$ac_ext
16395 cat >>conftest.
$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397 $ac_includes_default
16401 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16408 rm -f conftest.
$ac_objext
16409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16410 (eval $ac_compile) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } &&
16414 { ac_try
='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_hi
=$ac_mid; break
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.
$ac_ext >&5
16425 ac_lo
=`expr $ac_mid + 1`
16426 if test $ac_lo -le $ac_mid; then
16430 ac_mid
=`expr 2 '*' $ac_mid + 1`
16432 rm -f conftest.
$ac_objext conftest.
$ac_ext
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.
$ac_ext >&5
16438 cat >conftest.
$ac_ext <<_ACEOF
16439 #line $LINENO "configure"
16442 cat confdefs.h
>>conftest.
$ac_ext
16443 cat >>conftest.
$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 $ac_includes_default
16449 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16456 rm -f conftest.
$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try
='test -s conftest.$ac_objext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16470 cat >conftest.
$ac_ext <<_ACEOF
16471 #line $LINENO "configure"
16474 cat confdefs.h
>>conftest.
$ac_ext
16475 cat >>conftest.
$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 $ac_includes_default
16481 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16488 rm -f conftest.
$ac_objext
16489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try
='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16500 ac_lo
=$ac_mid; break
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.
$ac_ext >&5
16505 ac_hi
=`expr '(' $ac_mid ')' - 1`
16506 if test $ac_mid -le $ac_hi; then
16510 ac_mid
=`expr 2 '*' $ac_mid`
16512 rm -f conftest.
$ac_objext conftest.
$ac_ext
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.
$ac_ext >&5
16520 rm -f conftest.
$ac_objext conftest.
$ac_ext
16522 rm -f conftest.
$ac_objext conftest.
$ac_ext
16523 # Binary search between lo and hi bounds.
16524 while test "x$ac_lo" != "x$ac_hi"; do
16525 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16526 cat >conftest.
$ac_ext <<_ACEOF
16527 #line $LINENO "configure"
16530 cat confdefs.h
>>conftest.
$ac_ext
16531 cat >>conftest.
$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 $ac_includes_default
16537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16544 rm -f conftest.
$ac_objext
16545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try
='test -s conftest.$ac_objext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16561 ac_lo
=`expr '(' $ac_mid ')' + 1`
16563 rm -f conftest.
$ac_objext conftest.
$ac_ext
16566 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16567 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16568 See \`config.log' for more details." >&5
16569 echo "$as_me: error: cannot compute sizeof (long long), 77
16570 See \`config.log' for more details." >&2;}
16571 { (exit 1); exit 1; }; } ;;
16574 if test "$cross_compiling" = yes; then
16575 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16576 See \`config.log' for more details." >&5
16577 echo "$as_me: error: cannot run test program while cross compiling
16578 See \`config.log' for more details." >&2;}
16579 { (exit 1); exit 1; }; }
16581 cat >conftest.
$ac_ext <<_ACEOF
16582 #line $LINENO "configure"
16585 cat confdefs.h
>>conftest.
$ac_ext
16586 cat >>conftest.
$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588 $ac_includes_default
16589 long longval () { return (long) (sizeof (long long)); }
16590 unsigned long ulongval () { return (long) (sizeof (long long)); }
16592 #include <stdlib.h>
16597 FILE *f = fopen ("conftest.val", "w");
16600 if (((long) (sizeof (long long))) < 0)
16602 long i = longval ();
16603 if (i != ((long) (sizeof (long long))))
16605 fprintf (f, "%ld\n", i);
16609 unsigned long i = ulongval ();
16610 if (i != ((long) (sizeof (long long))))
16612 fprintf (f, "%lu\n", i);
16614 exit (ferror (f) || fclose (f) != 0);
16620 rm -f conftest
$ac_exeext
16621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16622 (eval $ac_link) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_sizeof_long_long
=`cat conftest.val`
16633 echo "$as_me: program exited with status $ac_status" >&5
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.
$ac_ext >&5
16637 ( exit $ac_status )
16638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16639 See \`config.log' for more details." >&5
16640 echo "$as_me: error: cannot compute sizeof (long long), 77
16641 See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; }
16644 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16649 ac_cv_sizeof_long_long
=0
16652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16653 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16654 cat >>confdefs.h
<<_ACEOF
16655 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16661 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16662 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16663 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 if test "$cross_compiling" = yes; then
16671 wx_cv_sizeof_wchar_t
=0
16674 wx_cv_sizeof_wchar_t
=4
16680 cat >conftest.
$ac_ext <<_ACEOF
16681 #line $LINENO "configure"
16684 cat confdefs.h
>>conftest.
$ac_ext
16685 cat >>conftest.
$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16688 /* DJGPP only has fake wchar_t: */
16690 # error "fake wchar_t"
16692 #ifdef HAVE_WCHAR_H
16694 # include <stddef.h>
16696 # include <wchar.h>
16698 #ifdef HAVE_STDLIB_H
16699 # include <stdlib.h>
16704 FILE *f=fopen("conftestval", "w");
16706 fprintf(f, "%i", sizeof(wchar_t));
16711 rm -f conftest
$ac_exeext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 wx_cv_sizeof_wchar_t
=`cat conftestval`
16724 echo "$as_me: program exited with status $ac_status" >&5
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.
$ac_ext >&5
16728 ( exit $ac_status )
16729 wx_cv_sizeof_wchar_t
=0
16731 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16735 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16736 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16738 cat >>confdefs.h
<<_ACEOF
16739 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16743 # Check whether --enable-largefile or --disable-largefile was given.
16744 if test "${enable_largefile+set}" = set; then
16745 enableval
="$enable_largefile"
16748 if test "$enable_largefile" != no
; then
16751 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16752 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16753 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 cat >conftest.
$ac_ext <<_ACEOF
16758 #line $LINENO "configure"
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 #define _FILE_OFFSET_BITS 64
16765 #include <sys/types.h>
16770 unsigned int field: sizeof(off_t) == 8;
16777 rm -f conftest.
$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try
='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sys_file_offset_bits
=64
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.
$ac_ext >&5
16794 ac_cv_sys_file_offset_bits
=no
16796 rm -f conftest.
$ac_objext conftest.
$ac_ext
16800 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16801 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16803 if test "$ac_cv_sys_file_offset_bits" != no
; then
16805 cat >>confdefs.h
<<_ACEOF
16806 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16811 if test "x$wx_largefile" != "xyes"; then
16813 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16814 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16815 if test "${ac_cv_sys_large_files+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 cat >conftest.
$ac_ext <<_ACEOF
16820 #line $LINENO "configure"
16823 cat confdefs.h
>>conftest.
$ac_ext
16824 cat >>conftest.
$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 #define _LARGE_FILES 1
16827 #include <sys/types.h>
16832 unsigned int field: sizeof(off_t) == 8;
16839 rm -f conftest.
$ac_objext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try
='test -s conftest.$ac_objext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 ac_cv_sys_large_files
=1
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.
$ac_ext >&5
16856 ac_cv_sys_large_files
=no
16858 rm -f conftest.
$ac_objext conftest.
$ac_ext
16862 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16863 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16865 if test "$ac_cv_sys_large_files" != no
; then
16867 cat >>confdefs.h
<<_ACEOF
16868 #define _LARGE_FILES $ac_cv_sys_large_files
16875 echo "$as_me:$LINENO: checking if large file support is available" >&5
16876 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16877 if test "x$wx_largefile" = "xyes"; then
16878 cat >>confdefs.h
<<\_ACEOF
16879 #define HAVE_LARGEFILE_SUPPORT 1
16883 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16884 echo "${ECHO_T}$wx_largefile" >&6
16888 if test "x$wx_largefile" = "xyes"; then
16889 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16890 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16892 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16894 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16897 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16898 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16899 if test "${ac_cv_c_bigendian+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 ac_cv_c_bigendian
=unknown
16903 # See if sys/param.h defines the BYTE_ORDER macro.
16904 cat >conftest.
$ac_ext <<_ACEOF
16905 #line $LINENO "configure"
16908 cat confdefs.h
>>conftest.
$ac_ext
16909 cat >>conftest.
$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 #include <sys/types.h>
16912 #include <sys/param.h>
16917 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16918 bogus endian macros
16924 rm -f conftest.
$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try
='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 # It does; now see whether it defined to BIG_ENDIAN or not.
16937 cat >conftest.
$ac_ext <<_ACEOF
16938 #line $LINENO "configure"
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 #include <sys/types.h>
16945 #include <sys/param.h>
16950 #if BYTE_ORDER != BIG_ENDIAN
16957 rm -f conftest.
$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -s conftest.$ac_objext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16969 ac_cv_c_bigendian
=yes
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.
$ac_ext >&5
16974 ac_cv_c_bigendian
=no
16976 rm -f conftest.
$ac_objext conftest.
$ac_ext
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16982 rm -f conftest.
$ac_objext conftest.
$ac_ext
16983 if test $ac_cv_c_bigendian = unknown
; then
16984 if test "$cross_compiling" = yes; then
16985 ac_cv_c_bigendian
=unknown
16987 cat >conftest.
$ac_ext <<_ACEOF
16988 #line $LINENO "configure"
16991 cat confdefs.h
>>conftest.
$ac_ext
16992 cat >>conftest.
$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16995 /* Are we little or big endian? From Harbison&Steele. */
16999 char c[sizeof (long)];
17002 exit (u.c[sizeof (long) - 1] == 1);
17005 rm -f conftest
$ac_exeext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17007 (eval $ac_link) 2>&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_c_bigendian
=no
17018 echo "$as_me: program exited with status $ac_status" >&5
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.
$ac_ext >&5
17022 ( exit $ac_status )
17023 ac_cv_c_bigendian
=yes
17025 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17029 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17030 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17031 if test $ac_cv_c_bigendian = unknown
; then
17032 { 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
17033 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;}
17035 if test $ac_cv_c_bigendian = yes; then
17036 cat >>confdefs.h
<<\_ACEOF
17037 #define WORDS_BIGENDIAN 1
17045 ac_cpp
='$CXXCPP $CPPFLAGS'
17046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17049 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17050 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17051 if test -z "$CXXCPP"; then
17052 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 # Double quotes because CXXCPP needs to be expanded
17056 for CXXCPP
in "$CXX -E" "/lib/cpp"
17058 ac_preproc_ok
=false
17059 for ac_cxx_preproc_warn_flag
in '' yes
17061 # Use a header file that comes with gcc, so configuring glibc
17062 # with a fresh cross-compiler works.
17063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17064 # <limits.h> exists even on freestanding compilers.
17065 # On the NeXT, cc -E runs the code through the compiler's parser,
17066 # not just through cpp. "Syntax error" is here to catch this case.
17067 cat >conftest.
$ac_ext <<_ACEOF
17068 #line $LINENO "configure"
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17075 # include <limits.h>
17077 # include <assert.h>
17081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17084 grep -v '^ *+' conftest.er1
>conftest.err
17086 cat conftest.err
>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } >/dev
/null
; then
17089 if test -s conftest.err
; then
17090 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17097 if test -z "$ac_cpp_err"; then
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.
$ac_ext >&5
17103 # Broken: fails on valid input.
17106 rm -f conftest.err conftest.
$ac_ext
17108 # OK, works on sane cases. Now check whether non-existent headers
17109 # can be detected and how.
17110 cat >conftest.
$ac_ext <<_ACEOF
17111 #line $LINENO "configure"
17114 cat confdefs.h
>>conftest.
$ac_ext
17115 cat >>conftest.
$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <ac_nonexistent.h>
17119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev
/null
; then
17127 if test -s conftest.err
; then
17128 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17135 if test -z "$ac_cpp_err"; then
17136 # Broken: success on invalid input.
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.
$ac_ext >&5
17142 # Passes both tests.
17146 rm -f conftest.err conftest.
$ac_ext
17149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17150 rm -f conftest.err conftest.
$ac_ext
17151 if $ac_preproc_ok; then
17156 ac_cv_prog_CXXCPP
=$CXXCPP
17159 CXXCPP
=$ac_cv_prog_CXXCPP
17161 ac_cv_prog_CXXCPP
=$CXXCPP
17163 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17164 echo "${ECHO_T}$CXXCPP" >&6
17165 ac_preproc_ok
=false
17166 for ac_cxx_preproc_warn_flag
in '' yes
17168 # Use a header file that comes with gcc, so configuring glibc
17169 # with a fresh cross-compiler works.
17170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171 # <limits.h> exists even on freestanding compilers.
17172 # On the NeXT, cc -E runs the code through the compiler's parser,
17173 # not just through cpp. "Syntax error" is here to catch this case.
17174 cat >conftest.
$ac_ext <<_ACEOF
17175 #line $LINENO "configure"
17178 cat confdefs.h
>>conftest.
$ac_ext
17179 cat >>conftest.
$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17182 # include <limits.h>
17184 # include <assert.h>
17188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17191 grep -v '^ *+' conftest.er1
>conftest.err
17193 cat conftest.err
>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } >/dev
/null
; then
17196 if test -s conftest.err
; then
17197 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17204 if test -z "$ac_cpp_err"; then
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.
$ac_ext >&5
17210 # Broken: fails on valid input.
17213 rm -f conftest.err conftest.
$ac_ext
17215 # OK, works on sane cases. Now check whether non-existent headers
17216 # can be detected and how.
17217 cat >conftest.
$ac_ext <<_ACEOF
17218 #line $LINENO "configure"
17221 cat confdefs.h
>>conftest.
$ac_ext
17222 cat >>conftest.
$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 #include <ac_nonexistent.h>
17226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17227 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17229 grep -v '^ *+' conftest.er1
>conftest.err
17231 cat conftest.err
>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } >/dev
/null
; then
17234 if test -s conftest.err
; then
17235 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17242 if test -z "$ac_cpp_err"; then
17243 # Broken: success on invalid input.
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.
$ac_ext >&5
17249 # Passes both tests.
17253 rm -f conftest.err conftest.
$ac_ext
17256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17257 rm -f conftest.err conftest.
$ac_ext
17258 if $ac_preproc_ok; then
17261 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17262 See \`config.log' for more details." >&5
17263 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17264 See \`config.log' for more details." >&2;}
17265 { (exit 1); exit 1; }; }
17269 ac_cpp
='$CXXCPP $CPPFLAGS'
17270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17276 if test "$cross_compiling" = "yes"; then
17277 cat >>confdefs.h
<<\_ACEOF
17278 #define wxUSE_IOSTREAMH 1
17285 ac_cpp
='$CXXCPP $CPPFLAGS'
17286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17292 for ac_header
in iostream
17294 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17296 echo "$as_me:$LINENO: checking for $ac_header" >&5
17297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17304 # Is the header compilable?
17305 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17306 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17307 cat >conftest.
$ac_ext <<_ACEOF
17308 #line $LINENO "configure"
17311 cat confdefs.h
>>conftest.
$ac_ext
17312 cat >>conftest.
$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314 $ac_includes_default
17315 #include <$ac_header>
17317 rm -f conftest.
$ac_objext
17318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17319 (eval $ac_compile) 2>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try
='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_header_compiler
=yes
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.
$ac_ext >&5
17334 ac_header_compiler
=no
17336 rm -f conftest.
$ac_objext conftest.
$ac_ext
17337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17338 echo "${ECHO_T}$ac_header_compiler" >&6
17340 # Is the header present?
17341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17343 cat >conftest.
$ac_ext <<_ACEOF
17344 #line $LINENO "configure"
17347 cat confdefs.h
>>conftest.
$ac_ext
17348 cat >>conftest.
$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 #include <$ac_header>
17352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17355 grep -v '^ *+' conftest.er1
>conftest.err
17357 cat conftest.err
>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } >/dev
/null
; then
17360 if test -s conftest.err
; then
17361 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17368 if test -z "$ac_cpp_err"; then
17369 ac_header_preproc
=yes
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.
$ac_ext >&5
17374 ac_header_preproc
=no
17376 rm -f conftest.err conftest.
$ac_ext
17377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17378 echo "${ECHO_T}$ac_header_preproc" >&6
17380 # So? What about this header?
17381 case $ac_header_compiler:$ac_header_preproc in
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17389 ## ------------------------------------ ##
17390 ## Report this to bug-autoconf@gnu.org. ##
17391 ## ------------------------------------ ##
17394 sed "s/^/$as_me: WARNING: /" >&2
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17405 ## ------------------------------------ ##
17406 ## Report this to bug-autoconf@gnu.org. ##
17407 ## ------------------------------------ ##
17410 sed "s/^/$as_me: WARNING: /" >&2
17413 echo "$as_me:$LINENO: checking for $ac_header" >&5
17414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 eval "$as_ac_Header=$ac_header_preproc"
17420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17425 cat >>confdefs.h
<<_ACEOF
17426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17434 if test "$ac_cv_header_iostream" = "yes" ; then
17437 cat >>confdefs.h
<<\_ACEOF
17438 #define wxUSE_IOSTREAMH 1
17444 ac_cpp
='$CPP $CPPFLAGS'
17445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17453 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17454 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17455 if test "${wx_cv_cpp_bool+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17462 ac_cpp
='$CXXCPP $CPPFLAGS'
17463 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17468 cat >conftest.
$ac_ext <<_ACEOF
17469 #line $LINENO "configure"
17472 cat confdefs.h
>>conftest.
$ac_ext
17473 cat >>conftest.
$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17489 rm -f conftest.
$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try
='test -s conftest.$ac_objext'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; }; then
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17513 rm -f conftest.
$ac_objext conftest.
$ac_ext
17516 ac_cpp
='$CPP $CPPFLAGS'
17517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17523 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17524 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17526 if test "$wx_cv_cpp_bool" = "yes"; then
17527 cat >>confdefs.h
<<\_ACEOF
17528 #define HAVE_BOOL 1
17535 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17536 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17537 if test "${wx_cv_explicit+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 ac_cpp
='$CXXCPP $CPPFLAGS'
17545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17550 cat >conftest.
$ac_ext <<_ACEOF
17551 #line $LINENO "configure"
17554 cat confdefs.h
>>conftest.
$ac_ext
17555 cat >>conftest.
$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17558 class Foo { public: explicit Foo(int) {} };
17570 rm -f conftest.
$ac_objext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17572 (eval $ac_compile) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try
='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17583 cat >conftest.
$ac_ext <<_ACEOF
17584 #line $LINENO "configure"
17587 cat confdefs.h
>>conftest.
$ac_ext
17588 cat >>conftest.
$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17591 class Foo { public: explicit Foo(int) {} };
17592 static void TakeFoo(const Foo& foo) { }
17605 rm -f conftest.
$ac_objext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try
='test -s conftest.$ac_objext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17625 rm -f conftest.
$ac_objext conftest.
$ac_ext
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.
$ac_ext >&5
17634 rm -f conftest.
$ac_objext conftest.
$ac_ext
17637 ac_cpp
='$CPP $CPPFLAGS'
17638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17644 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17645 echo "${ECHO_T}$wx_cv_explicit" >&6
17647 if test "$wx_cv_explicit" = "yes"; then
17648 cat >>confdefs.h
<<\_ACEOF
17649 #define HAVE_EXPLICIT 1
17655 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17656 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17657 if test "${ac_cv_cxx_const_cast+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 ac_cpp
='$CXXCPP $CPPFLAGS'
17664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17668 cat >conftest.
$ac_ext <<_ACEOF
17669 #line $LINENO "configure"
17672 cat confdefs.h
>>conftest.
$ac_ext
17673 cat >>conftest.
$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17679 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17684 rm -f conftest.
$ac_objext
17685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17686 (eval $ac_compile) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } &&
17690 { ac_try
='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_cxx_const_cast
=yes
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.
$ac_ext >&5
17701 ac_cv_cxx_const_cast
=no
17703 rm -f conftest.
$ac_objext conftest.
$ac_ext
17705 ac_cpp
='$CPP $CPPFLAGS'
17706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17712 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17713 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17714 if test "$ac_cv_cxx_const_cast" = yes; then
17716 cat >>confdefs.h
<<\_ACEOF
17717 #define HAVE_CONST_CAST
17723 if test "$wxUSE_STL" = "yes"; then
17725 ac_cpp
='$CXXCPP $CPPFLAGS'
17726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17731 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17732 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17733 cat >conftest.
$ac_ext <<_ACEOF
17734 #line $LINENO "configure"
17737 cat confdefs.h
>>conftest.
$ac_ext
17738 cat >>conftest.
$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17741 #include <functional>
17742 #include <algorithm>
17748 std::vector<int> moo;
17749 std::list<int> foo;
17750 std::vector<int>::iterator it =
17751 std::find_if(moo.begin(), moo.end(),
17752 std::bind2nd(std::less<int>(), 3));
17757 rm -f conftest.
$ac_objext
17758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try
='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 echo "$as_me:$LINENO: result: yes" >&5
17770 echo "${ECHO_T}yes" >&6
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.
$ac_ext >&5
17775 echo "$as_me:$LINENO: result: no" >&5
17776 echo "${ECHO_T}no" >&6
17777 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17778 echo "$as_me: error: Basic STL functionality missing" >&2;}
17779 { (exit 1); exit 1; }; }
17781 rm -f conftest.
$ac_objext conftest.
$ac_ext
17783 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17784 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17785 cat >conftest.
$ac_ext <<_ACEOF
17786 #line $LINENO "configure"
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17801 rm -f conftest.
$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try
='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17813 echo "$as_me:$LINENO: result: yes" >&5
17814 echo "${ECHO_T}yes" >&6
17815 cat >>confdefs.h
<<\_ACEOF
17816 #define HAVE_STD_WSTRING 1
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17823 echo "$as_me:$LINENO: result: no" >&5
17824 echo "${ECHO_T}no" >&6
17826 rm -f conftest.
$ac_objext conftest.
$ac_ext
17828 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17829 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17830 cat >conftest.
$ac_ext <<_ACEOF
17831 #line $LINENO "configure"
17834 cat confdefs.h
>>conftest.
$ac_ext
17835 cat >>conftest.
$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17841 std::string foo, bar;
17843 foo.compare(1, 1, bar);
17844 foo.compare(1, 1, bar, 1, 1);
17846 foo.compare(1, 1, "");
17847 foo.compare(1, 1, "", 2);
17852 rm -f conftest.
$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try
='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 echo "$as_me:$LINENO: result: yes" >&5
17865 echo "${ECHO_T}yes" >&6
17866 cat >>confdefs.h
<<\_ACEOF
17867 #define HAVE_STD_STRING_COMPARE 1
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.
$ac_ext >&5
17874 echo "$as_me:$LINENO: result: no" >&5
17875 echo "${ECHO_T}no" >&6
17877 rm -f conftest.
$ac_objext conftest.
$ac_ext
17880 ac_cpp
='$CPP $CPPFLAGS'
17881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17889 /usr/local/include \
17891 /usr/Motif-1.2/include \
17892 /usr/Motif-2.1/include \
17894 /usr/include/Motif1.2 \
17895 /opt/xpm/include/X11 \
17896 /opt/GBxpm/include/ \
17897 /opt/GBxpm/X11/include/ \
17899 /usr/Motif1.2/include \
17901 /usr/openwin/include \
17905 /usr/X11R6/include \
17906 /usr/X11R6.4/include \
17907 /usr/X11R5/include \
17908 /usr/X11R4/include \
17910 /usr/include/X11R6 \
17911 /usr/include/X11R5 \
17912 /usr/include/X11R4 \
17914 /usr/local/X11R6/include \
17915 /usr/local/X11R5/include \
17916 /usr/local/X11R4/include \
17918 /usr/local/include/X11R6 \
17919 /usr/local/include/X11R5 \
17920 /usr/local/include/X11R4 \
17924 /usr/local/X11/include \
17925 /usr/local/include/X11 \
17927 /usr/X386/include \
17928 /usr/x386/include \
17929 /usr/XFree86/include/X11 \
17931 X:/XFree86/include \
17932 X:/XFree86/include/X11 \
17935 /usr/local/include/gtk \
17936 /usr/include/glib \
17937 /usr/local/include/glib \
17940 /usr/local/include/qt \
17942 /usr/include/windows \
17943 /usr/include/wine \
17944 /usr/local/include/wine \
17946 /usr/unsupported/include \
17947 /usr/athena/include \
17948 /usr/local/x11r5/include \
17949 /usr/lpp/Xamples/include \
17951 /usr/openwin/share/include"
17953 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17956 cat >confcache
<<\_ACEOF
17957 # This file is a shell script that caches the results of configure
17958 # tests run on this system so they can be shared between configure
17959 # scripts and configure runs, see configure's option --config-cache.
17960 # It is not useful on other systems. If it contains results you don't
17961 # want to keep, you may remove or edit it.
17963 # config.status only pays attention to the cache file if you give it
17964 # the --recheck option to rerun configure.
17966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17968 # following values.
17972 # The following way of writing the cache mishandles newlines in values,
17973 # but we know of no workaround that is simple, portable, and efficient.
17974 # So, don't put newlines in cache variables' values.
17975 # Ultrix sh set writes to stderr and can't be redirected directly,
17976 # and sets the high bit in the cache file unless we assign to the vars.
17979 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17981 # `set' does not quote correctly, so add quotes (double-quote
17982 # substitution turns \\\\ into \\, and sed turns \\ into \).
17985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17988 # `set' quotes correctly as required by POSIX, so do not add quotes.
17990 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17999 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18001 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18002 if test -w $cache_file; then
18003 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18004 cat confcache
>$cache_file
18006 echo "not updating unwritable cache $cache_file"
18011 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18012 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18013 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18014 if test "${wx_cv_lib_glibc21+set}" = set; then
18015 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 cat >conftest.
$ac_ext <<_ACEOF
18019 #line $LINENO "configure"
18022 cat confdefs.h
>>conftest.
$ac_ext
18023 cat >>conftest.
$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 #include <features.h>
18030 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18031 #error not glibc2.1
18038 rm -f conftest.
$ac_objext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18040 (eval $ac_compile) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try
='test -s conftest.$ac_objext'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; }; then
18051 wx_cv_lib_glibc21
=yes
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.
$ac_ext >&5
18058 wx_cv_lib_glibc21
=no
18062 rm -f conftest.
$ac_objext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18066 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18067 if test "$wx_cv_lib_glibc21" = "yes"; then
18068 cat >>confdefs.h
<<\_ACEOF
18069 #define wxHAVE_GLIBC2 1
18075 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18076 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18077 cat >>confdefs.h
<<\_ACEOF
18078 #define _GNU_SOURCE 1
18087 if test "$wxUSE_REGEX" != "no"; then
18088 cat >>confdefs.h
<<\_ACEOF
18089 #define wxUSE_REGEX 1
18093 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18094 if test "${ac_cv_header_regex_h+set}" = set; then
18095 echo "$as_me:$LINENO: checking for regex.h" >&5
18096 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18097 if test "${ac_cv_header_regex_h+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18100 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18101 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18103 # Is the header compilable?
18104 echo "$as_me:$LINENO: checking regex.h usability" >&5
18105 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18106 cat >conftest.
$ac_ext <<_ACEOF
18107 #line $LINENO "configure"
18110 cat confdefs.h
>>conftest.
$ac_ext
18111 cat >>conftest.
$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 $ac_includes_default
18116 rm -f conftest.
$ac_objext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18118 (eval $ac_compile) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try
='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_header_compiler
=yes
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.
$ac_ext >&5
18133 ac_header_compiler
=no
18135 rm -f conftest.
$ac_objext conftest.
$ac_ext
18136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18137 echo "${ECHO_T}$ac_header_compiler" >&6
18139 # Is the header present?
18140 echo "$as_me:$LINENO: checking regex.h presence" >&5
18141 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18142 cat >conftest.
$ac_ext <<_ACEOF
18143 #line $LINENO "configure"
18146 cat confdefs.h
>>conftest.
$ac_ext
18147 cat >>conftest.
$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } >/dev
/null
; then
18159 if test -s conftest.err
; then
18160 ac_cpp_err
=$ac_c_preproc_warn_flag
18167 if test -z "$ac_cpp_err"; then
18168 ac_header_preproc
=yes
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.
$ac_ext >&5
18173 ac_header_preproc
=no
18175 rm -f conftest.err conftest.
$ac_ext
18176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18177 echo "${ECHO_T}$ac_header_preproc" >&6
18179 # So? What about this header?
18180 case $ac_header_compiler:$ac_header_preproc in
18182 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18183 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18184 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18185 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18188 ## ------------------------------------ ##
18189 ## Report this to bug-autoconf@gnu.org. ##
18190 ## ------------------------------------ ##
18193 sed "s/^/$as_me: WARNING: /" >&2
18196 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18197 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18198 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18199 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18200 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18201 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18204 ## ------------------------------------ ##
18205 ## Report this to bug-autoconf@gnu.org. ##
18206 ## ------------------------------------ ##
18209 sed "s/^/$as_me: WARNING: /" >&2
18212 echo "$as_me:$LINENO: checking for regex.h" >&5
18213 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18214 if test "${ac_cv_header_regex_h+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18217 ac_cv_header_regex_h
=$ac_header_preproc
18219 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18220 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18223 if test $ac_cv_header_regex_h = yes; then
18225 for ac_func
in regcomp
18227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18228 echo "$as_me:$LINENO: checking for $ac_func" >&5
18229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18230 if eval "test \"\${$as_ac_var+set}\" = set"; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 cat >conftest.
$ac_ext <<_ACEOF
18234 #line $LINENO "configure"
18237 cat confdefs.h
>>conftest.
$ac_ext
18238 cat >>conftest.
$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 /* System header to define __stub macros and hopefully few prototypes,
18241 which can conflict with char $ac_func (); below.
18242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18243 <limits.h> exists even on freestanding compilers. */
18245 # include <limits.h>
18247 # include <assert.h>
18249 /* Override any gcc2 internal prototype to avoid an error. */
18254 /* We use char because int might match the return type of a gcc2
18255 builtin and then its argument prototype would still apply. */
18257 /* The GNU C library defines this for functions which it implements
18258 to always fail with ENOSYS. Some functions are actually named
18259 something starting with __ and the normal name is an alias. */
18260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18263 char (*f) () = $ac_func;
18272 return f != $ac_func;
18277 rm -f conftest.
$ac_objext conftest
$ac_exeext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18279 (eval $ac_link) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } &&
18283 { ac_try
='test -s conftest$ac_exeext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 eval "$as_ac_var=yes"
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.
$ac_ext >&5
18294 eval "$as_ac_var=no"
18296 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18300 if test `eval echo '${'$as_ac_var'}'` = yes; then
18301 cat >>confdefs.h
<<_ACEOF
18302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18312 if test "x$ac_cv_func_regcomp" != "xyes"; then
18313 if test "$wxUSE_REGEX" = "sys" ; then
18314 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18315 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18316 { (exit 1); exit 1; }; }
18318 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18319 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18320 wxUSE_REGEX
=builtin
18327 if test "$wxUSE_REGEX" = "builtin" ; then
18328 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18335 if test "$wxUSE_ZLIB" != "no" ; then
18336 cat >>confdefs.h
<<\_ACEOF
18337 #define wxUSE_ZLIB 1
18341 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18342 if test "$USE_DARWIN" = 1; then
18343 system_zlib_h_ok
="yes"
18345 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18346 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18347 if test "${ac_cv_header_zlib_h+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 if test "$cross_compiling" = yes; then
18351 unset ac_cv_header_zlib_h
18354 cat >conftest.
$ac_ext <<_ACEOF
18355 #line $LINENO "configure"
18358 cat confdefs.h
>>conftest.
$ac_ext
18359 cat >>conftest.
$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18367 FILE *f=fopen("conftestval", "w");
18370 ZLIB_VERSION[0] == '1' &&
18371 (ZLIB_VERSION[2] > '1' ||
18372 (ZLIB_VERSION[2] == '1' &&
18373 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18378 rm -f conftest
$ac_exeext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18380 (eval $ac_link) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_cv_header_zlib_h
=`cat conftestval`
18391 echo "$as_me: program exited with status $ac_status" >&5
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.
$ac_ext >&5
18395 ( exit $ac_status )
18396 ac_cv_header_zlib_h
=no
18398 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18402 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18403 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18404 if test "${ac_cv_header_zlib_h+set}" = set; then
18405 echo "$as_me:$LINENO: checking for zlib.h" >&5
18406 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18407 if test "${ac_cv_header_zlib_h+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18411 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18413 # Is the header compilable?
18414 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18415 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18416 cat >conftest.
$ac_ext <<_ACEOF
18417 #line $LINENO "configure"
18420 cat confdefs.h
>>conftest.
$ac_ext
18421 cat >>conftest.
$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 $ac_includes_default
18426 rm -f conftest.
$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try
='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_header_compiler
=yes
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 ac_header_compiler
=no
18445 rm -f conftest.
$ac_objext conftest.
$ac_ext
18446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18447 echo "${ECHO_T}$ac_header_compiler" >&6
18449 # Is the header present?
18450 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18451 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18452 cat >conftest.
$ac_ext <<_ACEOF
18453 #line $LINENO "configure"
18456 cat confdefs.h
>>conftest.
$ac_ext
18457 cat >>conftest.
$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18464 grep -v '^ *+' conftest.er1
>conftest.err
18466 cat conftest.err
>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } >/dev
/null
; then
18469 if test -s conftest.err
; then
18470 ac_cpp_err
=$ac_c_preproc_warn_flag
18477 if test -z "$ac_cpp_err"; then
18478 ac_header_preproc
=yes
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.
$ac_ext >&5
18483 ac_header_preproc
=no
18485 rm -f conftest.err conftest.
$ac_ext
18486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18487 echo "${ECHO_T}$ac_header_preproc" >&6
18489 # So? What about this header?
18490 case $ac_header_compiler:$ac_header_preproc in
18492 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18493 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18494 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18495 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18498 ## ------------------------------------ ##
18499 ## Report this to bug-autoconf@gnu.org. ##
18500 ## ------------------------------------ ##
18503 sed "s/^/$as_me: WARNING: /" >&2
18506 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18507 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18509 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18510 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18511 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18514 ## ------------------------------------ ##
18515 ## Report this to bug-autoconf@gnu.org. ##
18516 ## ------------------------------------ ##
18519 sed "s/^/$as_me: WARNING: /" >&2
18522 echo "$as_me:$LINENO: checking for zlib.h" >&5
18523 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18524 if test "${ac_cv_header_zlib_h+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 ac_cv_header_zlib_h
=$ac_header_preproc
18529 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18536 system_zlib_h_ok
=$ac_cv_header_zlib_h
18539 if test "$system_zlib_h_ok" = "yes"; then
18540 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18541 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18542 if test "${ac_cv_lib_z_deflate+set}" = set; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 ac_check_lib_save_LIBS
=$LIBS
18547 cat >conftest.
$ac_ext <<_ACEOF
18548 #line $LINENO "configure"
18551 cat confdefs.h
>>conftest.
$ac_ext
18552 cat >>conftest.
$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18555 /* Override any gcc2 internal prototype to avoid an error. */
18559 /* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18570 rm -f conftest.
$ac_objext conftest
$ac_exeext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18572 (eval $ac_link) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try
='test -s conftest$ac_exeext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 ac_cv_lib_z_deflate
=yes
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.
$ac_ext >&5
18587 ac_cv_lib_z_deflate
=no
18589 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18590 LIBS
=$ac_check_lib_save_LIBS
18592 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18593 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18594 if test $ac_cv_lib_z_deflate = yes; then
18600 if test "x$ZLIB_LINK" = "x" ; then
18601 if test "$wxUSE_ZLIB" = "sys" ; then
18602 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18603 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18604 { (exit 1); exit 1; }; }
18606 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18607 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18615 if test "$wxUSE_ZLIB" = "builtin" ; then
18616 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18623 if test "$wxUSE_LIBPNG" != "no" ; then
18624 cat >>confdefs.h
<<\_ACEOF
18625 #define wxUSE_LIBPNG 1
18629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18631 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18637 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18638 wxUSE_LIBPNG
=builtin
18641 if test "$wxUSE_MGL" != 1 ; then
18642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18643 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18644 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18645 if test "${ac_cv_header_png_h+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 if test "$cross_compiling" = yes; then
18649 unset ac_cv_header_png_h
18652 cat >conftest.
$ac_ext <<_ACEOF
18653 #line $LINENO "configure"
18656 cat confdefs.h
>>conftest.
$ac_ext
18657 cat >>conftest.
$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18665 FILE *f=fopen("conftestval", "w");
18668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18673 rm -f conftest
$ac_exeext
18674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18675 (eval $ac_link) 2>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 ac_cv_header_png_h
=`cat conftestval`
18686 echo "$as_me: program exited with status $ac_status" >&5
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.
$ac_ext >&5
18690 ( exit $ac_status )
18691 ac_cv_header_png_h
=no
18693 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18697 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18698 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18699 if test "${ac_cv_header_png_h+set}" = set; then
18700 echo "$as_me:$LINENO: checking for png.h" >&5
18701 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18702 if test "${ac_cv_header_png_h+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18706 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18708 # Is the header compilable?
18709 echo "$as_me:$LINENO: checking png.h usability" >&5
18710 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18711 cat >conftest.
$ac_ext <<_ACEOF
18712 #line $LINENO "configure"
18715 cat confdefs.h
>>conftest.
$ac_ext
18716 cat >>conftest.
$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 $ac_includes_default
18721 rm -f conftest.
$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try
='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_header_compiler
=yes
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.
$ac_ext >&5
18738 ac_header_compiler
=no
18740 rm -f conftest.
$ac_objext conftest.
$ac_ext
18741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18742 echo "${ECHO_T}$ac_header_compiler" >&6
18744 # Is the header present?
18745 echo "$as_me:$LINENO: checking png.h presence" >&5
18746 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18747 cat >conftest.
$ac_ext <<_ACEOF
18748 #line $LINENO "configure"
18751 cat confdefs.h
>>conftest.
$ac_ext
18752 cat >>conftest.
$ac_ext <<_ACEOF
18753 /* end confdefs.h. */
18756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } >/dev
/null
; then
18764 if test -s conftest.err
; then
18765 ac_cpp_err
=$ac_c_preproc_warn_flag
18772 if test -z "$ac_cpp_err"; then
18773 ac_header_preproc
=yes
18775 echo "$as_me: failed program was:" >&5
18776 sed 's/^/| /' conftest.
$ac_ext >&5
18778 ac_header_preproc
=no
18780 rm -f conftest.err conftest.
$ac_ext
18781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18782 echo "${ECHO_T}$ac_header_preproc" >&6
18784 # So? What about this header?
18785 case $ac_header_compiler:$ac_header_preproc in
18787 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18788 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18789 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18790 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18793 ## ------------------------------------ ##
18794 ## Report this to bug-autoconf@gnu.org. ##
18795 ## ------------------------------------ ##
18798 sed "s/^/$as_me: WARNING: /" >&2
18801 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18802 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18804 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18806 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18809 ## ------------------------------------ ##
18810 ## Report this to bug-autoconf@gnu.org. ##
18811 ## ------------------------------------ ##
18814 sed "s/^/$as_me: WARNING: /" >&2
18817 echo "$as_me:$LINENO: checking for png.h" >&5
18818 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18819 if test "${ac_cv_header_png_h+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 ac_cv_header_png_h
=$ac_header_preproc
18824 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18825 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18831 if test "$ac_cv_header_png_h" = "yes"; then
18832 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18833 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18834 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 ac_check_lib_save_LIBS
=$LIBS
18838 LIBS
="-lpng -lz -lm $LIBS"
18839 cat >conftest.
$ac_ext <<_ACEOF
18840 #line $LINENO "configure"
18843 cat confdefs.h
>>conftest.
$ac_ext
18844 cat >>conftest.
$ac_ext <<_ACEOF
18845 /* end confdefs.h. */
18847 /* Override any gcc2 internal prototype to avoid an error. */
18851 /* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18853 char png_check_sig ();
18862 rm -f conftest.
$ac_objext conftest
$ac_exeext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18864 (eval $ac_link) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } &&
18868 { ac_try
='test -s conftest$ac_exeext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18874 ac_cv_lib_png_png_check_sig
=yes
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.
$ac_ext >&5
18879 ac_cv_lib_png_png_check_sig
=no
18881 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18882 LIBS
=$ac_check_lib_save_LIBS
18884 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18885 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18886 if test $ac_cv_lib_png_png_check_sig = yes; then
18892 if test "x$PNG_LINK" = "x" ; then
18893 if test "$wxUSE_LIBPNG" = "sys" ; then
18894 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18895 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18896 { (exit 1); exit 1; }; }
18898 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18899 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18900 wxUSE_LIBPNG
=builtin
18908 if test "$wxUSE_LIBPNG" = "builtin" ; then
18909 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18918 if test "$wxUSE_LIBJPEG" != "no" ; then
18919 cat >>confdefs.h
<<\_ACEOF
18920 #define wxUSE_LIBJPEG 1
18924 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18925 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18926 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18930 if test "$wxUSE_MGL" != 1 ; then
18931 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18932 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18933 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18934 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 cat >conftest.
$ac_ext <<_ACEOF
18938 #line $LINENO "configure"
18941 cat confdefs.h
>>conftest.
$ac_ext
18942 cat >>conftest.
$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18945 #undef HAVE_STDLIB_H
18947 #include <jpeglib.h>
18958 rm -f conftest.
$ac_objext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try
='test -s conftest.$ac_objext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 ac_cv_header_jpeglib_h
=yes
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.
$ac_ext >&5
18975 ac_cv_header_jpeglib_h
=no
18978 rm -f conftest.
$ac_objext conftest.
$ac_ext
18982 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18983 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18985 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18986 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18987 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18988 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 ac_check_lib_save_LIBS
=$LIBS
18992 LIBS
="-ljpeg $LIBS"
18993 cat >conftest.
$ac_ext <<_ACEOF
18994 #line $LINENO "configure"
18997 cat confdefs.h
>>conftest.
$ac_ext
18998 cat >>conftest.
$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19001 /* Override any gcc2 internal prototype to avoid an error. */
19005 /* We use char because int might match the return type of a gcc2
19006 builtin and then its argument prototype would still apply. */
19007 char jpeg_read_header ();
19011 jpeg_read_header ();
19016 rm -f conftest.
$ac_objext conftest
$ac_exeext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19018 (eval $ac_link) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try
='test -s conftest$ac_exeext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_lib_jpeg_jpeg_read_header
=yes
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.
$ac_ext >&5
19033 ac_cv_lib_jpeg_jpeg_read_header
=no
19035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19036 LIBS
=$ac_check_lib_save_LIBS
19038 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19039 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19040 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19041 JPEG_LINK
=" -ljpeg"
19046 if test "x$JPEG_LINK" = "x" ; then
19047 if test "$wxUSE_LIBJPEG" = "sys" ; then
19048 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19049 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19050 { (exit 1); exit 1; }; }
19052 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19053 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19054 wxUSE_LIBJPEG
=builtin
19062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19063 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19070 TIFF_PREREQ_LINKS
=-lm
19071 if test "$wxUSE_LIBTIFF" != "no" ; then
19072 cat >>confdefs.h
<<\_ACEOF
19073 #define wxUSE_LIBTIFF 1
19077 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19078 if test "$wxUSE_LIBJPEG" = "sys"; then
19079 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19081 if test "$wxUSE_ZLIB" = "sys"; then
19082 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19084 if test "${ac_cv_header_tiffio_h+set}" = set; then
19085 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19086 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19087 if test "${ac_cv_header_tiffio_h+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19091 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19093 # Is the header compilable?
19094 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19095 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19096 cat >conftest.
$ac_ext <<_ACEOF
19097 #line $LINENO "configure"
19100 cat confdefs.h
>>conftest.
$ac_ext
19101 cat >>conftest.
$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19103 $ac_includes_default
19104 #include <tiffio.h>
19106 rm -f conftest.
$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } &&
19112 { ac_try
='test -s conftest.$ac_objext'
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19114 (eval $ac_try) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; }; then
19118 ac_header_compiler
=yes
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.
$ac_ext >&5
19123 ac_header_compiler
=no
19125 rm -f conftest.
$ac_objext conftest.
$ac_ext
19126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19127 echo "${ECHO_T}$ac_header_compiler" >&6
19129 # Is the header present?
19130 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19131 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19132 cat >conftest.
$ac_ext <<_ACEOF
19133 #line $LINENO "configure"
19136 cat confdefs.h
>>conftest.
$ac_ext
19137 cat >>conftest.
$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <tiffio.h>
19141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } >/dev
/null
; then
19149 if test -s conftest.err
; then
19150 ac_cpp_err
=$ac_c_preproc_warn_flag
19157 if test -z "$ac_cpp_err"; then
19158 ac_header_preproc
=yes
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.
$ac_ext >&5
19163 ac_header_preproc
=no
19165 rm -f conftest.err conftest.
$ac_ext
19166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19167 echo "${ECHO_T}$ac_header_preproc" >&6
19169 # So? What about this header?
19170 case $ac_header_compiler:$ac_header_preproc in
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19173 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19174 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19175 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19178 ## ------------------------------------ ##
19179 ## Report this to bug-autoconf@gnu.org. ##
19180 ## ------------------------------------ ##
19183 sed "s/^/$as_me: WARNING: /" >&2
19186 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19187 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19189 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19190 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19191 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19194 ## ------------------------------------ ##
19195 ## Report this to bug-autoconf@gnu.org. ##
19196 ## ------------------------------------ ##
19199 sed "s/^/$as_me: WARNING: /" >&2
19202 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19203 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19204 if test "${ac_cv_header_tiffio_h+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19207 ac_cv_header_tiffio_h
=$ac_header_preproc
19209 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19210 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19213 if test $ac_cv_header_tiffio_h = yes; then
19215 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19216 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19217 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 ac_check_lib_save_LIBS
=$LIBS
19221 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19222 cat >conftest.
$ac_ext <<_ACEOF
19223 #line $LINENO "configure"
19226 cat confdefs.h
>>conftest.
$ac_ext
19227 cat >>conftest.
$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19230 /* Override any gcc2 internal prototype to avoid an error. */
19234 /* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19245 rm -f conftest.
$ac_objext conftest
$ac_exeext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19247 (eval $ac_link) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try
='test -s conftest$ac_exeext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_cv_lib_tiff_TIFFError
=yes
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.
$ac_ext >&5
19262 ac_cv_lib_tiff_TIFFError
=no
19264 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19265 LIBS
=$ac_check_lib_save_LIBS
19267 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19268 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19269 if test $ac_cv_lib_tiff_TIFFError = yes; then
19270 TIFF_LINK
=" -ltiff"
19279 if test "x$TIFF_LINK" = "x" ; then
19280 if test "$wxUSE_LIBTIFF" = "sys" ; then
19281 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19282 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19283 { (exit 1); exit 1; }; }
19285 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19286 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19287 wxUSE_LIBTIFF
=builtin
19294 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19295 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19300 if test "$wxUSE_EXPAT" != "no"; then
19302 cat >>confdefs.h
<<\_ACEOF
19303 #define wxUSE_EXPAT 1
19306 cat >>confdefs.h
<<\_ACEOF
19307 #define wxUSE_XML 1
19311 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19312 if test "${ac_cv_header_expat_h+set}" = set; then
19313 echo "$as_me:$LINENO: checking for expat.h" >&5
19314 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19315 if test "${ac_cv_header_expat_h+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19318 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19319 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19321 # Is the header compilable?
19322 echo "$as_me:$LINENO: checking expat.h usability" >&5
19323 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19324 cat >conftest.
$ac_ext <<_ACEOF
19325 #line $LINENO "configure"
19328 cat confdefs.h
>>conftest.
$ac_ext
19329 cat >>conftest.
$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 $ac_includes_default
19334 rm -f conftest.
$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_header_compiler
=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 ac_header_compiler
=no
19353 rm -f conftest.
$ac_objext conftest.
$ac_ext
19354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19355 echo "${ECHO_T}$ac_header_compiler" >&6
19357 # Is the header present?
19358 echo "$as_me:$LINENO: checking expat.h presence" >&5
19359 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19360 cat >conftest.
$ac_ext <<_ACEOF
19361 #line $LINENO "configure"
19364 cat confdefs.h
>>conftest.
$ac_ext
19365 cat >>conftest.
$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19372 grep -v '^ *+' conftest.er1
>conftest.err
19374 cat conftest.err
>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } >/dev
/null
; then
19377 if test -s conftest.err
; then
19378 ac_cpp_err
=$ac_c_preproc_warn_flag
19385 if test -z "$ac_cpp_err"; then
19386 ac_header_preproc
=yes
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.
$ac_ext >&5
19391 ac_header_preproc
=no
19393 rm -f conftest.err conftest.
$ac_ext
19394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19395 echo "${ECHO_T}$ac_header_preproc" >&6
19397 # So? What about this header?
19398 case $ac_header_compiler:$ac_header_preproc in
19400 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19401 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19402 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19403 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19406 ## ------------------------------------ ##
19407 ## Report this to bug-autoconf@gnu.org. ##
19408 ## ------------------------------------ ##
19411 sed "s/^/$as_me: WARNING: /" >&2
19414 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19415 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19416 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19417 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19418 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19419 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19422 ## ------------------------------------ ##
19423 ## Report this to bug-autoconf@gnu.org. ##
19424 ## ------------------------------------ ##
19427 sed "s/^/$as_me: WARNING: /" >&2
19430 echo "$as_me:$LINENO: checking for expat.h" >&5
19431 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19432 if test "${ac_cv_header_expat_h+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 ac_cv_header_expat_h
=$ac_header_preproc
19437 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19438 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19441 if test $ac_cv_header_expat_h = yes; then
19446 if test "x$found_expat_h" = "x1"; then
19447 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19448 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19449 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19450 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 ac_cpp
='$CXXCPP $CPPFLAGS'
19457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19461 cat >conftest.
$ac_ext <<_ACEOF
19462 #line $LINENO "configure"
19465 cat confdefs.h
>>conftest.
$ac_ext
19466 cat >>conftest.
$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19477 rm -f conftest.
$ac_objext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19479 (eval $ac_compile) 2>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try
='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 wx_cv_expat_is_not_broken
=yes
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.
$ac_ext >&5
19494 wx_cv_expat_is_not_broken
=no
19497 rm -f conftest.
$ac_objext conftest.
$ac_ext
19499 ac_cpp
='$CPP $CPPFLAGS'
19500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19507 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19508 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19509 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19510 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19511 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19512 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 ac_check_lib_save_LIBS
=$LIBS
19516 LIBS
="-lexpat $LIBS"
19517 cat >conftest.
$ac_ext <<_ACEOF
19518 #line $LINENO "configure"
19521 cat confdefs.h
>>conftest.
$ac_ext
19522 cat >>conftest.
$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19525 /* Override any gcc2 internal prototype to avoid an error. */
19529 /* We use char because int might match the return type of a gcc2
19530 builtin and then its argument prototype would still apply. */
19531 char XML_ParserCreate ();
19535 XML_ParserCreate ();
19540 rm -f conftest.
$ac_objext conftest
$ac_exeext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19542 (eval $ac_link) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try
='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_lib_expat_XML_ParserCreate
=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.
$ac_ext >&5
19557 ac_cv_lib_expat_XML_ParserCreate
=no
19559 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19560 LIBS
=$ac_check_lib_save_LIBS
19562 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19563 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19564 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19565 EXPAT_LINK
=" -lexpat"
19570 if test "x$EXPAT_LINK" = "x" ; then
19571 if test "$wxUSE_EXPAT" = "sys" ; then
19572 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19573 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19574 { (exit 1); exit 1; }; }
19576 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19577 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19578 wxUSE_EXPAT
=builtin
19584 if test "$wxUSE_EXPAT" = "builtin" ; then
19587 subdirs
="$subdirs src/expat"
19594 if test "$wxUSE_LIBMSPACK" != "no"; then
19596 if test "${ac_cv_header_mspack_h+set}" = set; then
19597 echo "$as_me:$LINENO: checking for mspack.h" >&5
19598 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19599 if test "${ac_cv_header_mspack_h+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19603 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19605 # Is the header compilable?
19606 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19607 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19608 cat >conftest.
$ac_ext <<_ACEOF
19609 #line $LINENO "configure"
19612 cat confdefs.h
>>conftest.
$ac_ext
19613 cat >>conftest.
$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 $ac_includes_default
19616 #include <mspack.h>
19618 rm -f conftest.
$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try
='test -s conftest.$ac_objext'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; }; then
19630 ac_header_compiler
=yes
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.
$ac_ext >&5
19635 ac_header_compiler
=no
19637 rm -f conftest.
$ac_objext conftest.
$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19639 echo "${ECHO_T}$ac_header_compiler" >&6
19641 # Is the header present?
19642 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19643 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19644 cat >conftest.
$ac_ext <<_ACEOF
19645 #line $LINENO "configure"
19648 cat confdefs.h
>>conftest.
$ac_ext
19649 cat >>conftest.
$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <mspack.h>
19653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19656 grep -v '^ *+' conftest.er1
>conftest.err
19658 cat conftest.err
>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } >/dev
/null
; then
19661 if test -s conftest.err
; then
19662 ac_cpp_err
=$ac_c_preproc_warn_flag
19669 if test -z "$ac_cpp_err"; then
19670 ac_header_preproc
=yes
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.
$ac_ext >&5
19675 ac_header_preproc
=no
19677 rm -f conftest.err conftest.
$ac_ext
19678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19679 echo "${ECHO_T}$ac_header_preproc" >&6
19681 # So? What about this header?
19682 case $ac_header_compiler:$ac_header_preproc in
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19685 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19686 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19687 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19690 ## ------------------------------------ ##
19691 ## Report this to bug-autoconf@gnu.org. ##
19692 ## ------------------------------------ ##
19695 sed "s/^/$as_me: WARNING: /" >&2
19698 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19699 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19701 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19703 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19706 ## ------------------------------------ ##
19707 ## Report this to bug-autoconf@gnu.org. ##
19708 ## ------------------------------------ ##
19711 sed "s/^/$as_me: WARNING: /" >&2
19714 echo "$as_me:$LINENO: checking for mspack.h" >&5
19715 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19716 if test "${ac_cv_header_mspack_h+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 ac_cv_header_mspack_h
=$ac_header_preproc
19721 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19722 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19725 if test $ac_cv_header_mspack_h = yes; then
19730 if test "x$found_mspack_h" = "x1"; then
19731 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19732 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19733 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 ac_check_lib_save_LIBS
=$LIBS
19737 LIBS
="-lmspack $LIBS"
19738 cat >conftest.
$ac_ext <<_ACEOF
19739 #line $LINENO "configure"
19742 cat confdefs.h
>>conftest.
$ac_ext
19743 cat >>conftest.
$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19746 /* Override any gcc2 internal prototype to avoid an error. */
19750 /* We use char because int might match the return type of a gcc2
19751 builtin and then its argument prototype would still apply. */
19752 char mspack_create_chm_decompressor ();
19756 mspack_create_chm_decompressor ();
19761 rm -f conftest.
$ac_objext conftest
$ac_exeext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19763 (eval $ac_link) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try
='test -s conftest$ac_exeext'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; }; then
19773 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.
$ac_ext >&5
19778 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
19780 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19781 LIBS
=$ac_check_lib_save_LIBS
19783 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19784 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19785 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19786 MSPACK_LINK
=" -lmspack"
19790 if test "x$MSPACK_LINK" = "x" ; then
19793 cat >>confdefs.h
<<\_ACEOF
19794 #define wxUSE_LIBMSPACK 1
19809 if test "$USE_WIN32" = 1 ; then
19811 for ac_header
in w32api.h
19813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19815 echo "$as_me:$LINENO: checking for $ac_header" >&5
19816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19823 # Is the header compilable?
19824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19826 cat >conftest.
$ac_ext <<_ACEOF
19827 #line $LINENO "configure"
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 $ac_includes_default
19834 #include <$ac_header>
19836 rm -f conftest.
$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try
='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_header_compiler
=yes
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.
$ac_ext >&5
19853 ac_header_compiler
=no
19855 rm -f conftest.
$ac_objext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19857 echo "${ECHO_T}$ac_header_compiler" >&6
19859 # Is the header present?
19860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19862 cat >conftest.
$ac_ext <<_ACEOF
19863 #line $LINENO "configure"
19866 cat confdefs.h
>>conftest.
$ac_ext
19867 cat >>conftest.
$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 #include <$ac_header>
19871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } >/dev
/null
; then
19879 if test -s conftest.err
; then
19880 ac_cpp_err
=$ac_c_preproc_warn_flag
19887 if test -z "$ac_cpp_err"; then
19888 ac_header_preproc
=yes
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_header_preproc
=no
19895 rm -f conftest.err conftest.
$ac_ext
19896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19897 echo "${ECHO_T}$ac_header_preproc" >&6
19899 # So? What about this header?
19900 case $ac_header_compiler:$ac_header_preproc in
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19908 ## ------------------------------------ ##
19909 ## Report this to bug-autoconf@gnu.org. ##
19910 ## ------------------------------------ ##
19913 sed "s/^/$as_me: WARNING: /" >&2
19916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19924 ## ------------------------------------ ##
19925 ## Report this to bug-autoconf@gnu.org. ##
19926 ## ------------------------------------ ##
19929 sed "s/^/$as_me: WARNING: /" >&2
19932 echo "$as_me:$LINENO: checking for $ac_header" >&5
19933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 eval "$as_ac_Header=$ac_header_preproc"
19939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19944 cat >>confdefs.h
<<_ACEOF
19945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19952 if test "${ac_cv_header_windows_h+set}" = set; then
19953 echo "$as_me:$LINENO: checking for windows.h" >&5
19954 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19955 if test "${ac_cv_header_windows_h+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19959 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19961 # Is the header compilable?
19962 echo "$as_me:$LINENO: checking windows.h usability" >&5
19963 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19964 cat >conftest.
$ac_ext <<_ACEOF
19965 #line $LINENO "configure"
19968 cat confdefs.h
>>conftest.
$ac_ext
19969 cat >>conftest.
$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 $ac_includes_default
19972 #include <windows.h>
19974 rm -f conftest.
$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try
='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_header_compiler
=yes
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19991 ac_header_compiler
=no
19993 rm -f conftest.
$ac_objext conftest.
$ac_ext
19994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19995 echo "${ECHO_T}$ac_header_compiler" >&6
19997 # Is the header present?
19998 echo "$as_me:$LINENO: checking windows.h presence" >&5
19999 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20000 cat >conftest.
$ac_ext <<_ACEOF
20001 #line $LINENO "configure"
20004 cat confdefs.h
>>conftest.
$ac_ext
20005 cat >>conftest.
$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 #include <windows.h>
20009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20012 grep -v '^ *+' conftest.er1
>conftest.err
20014 cat conftest.err
>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } >/dev
/null
; then
20017 if test -s conftest.err
; then
20018 ac_cpp_err
=$ac_c_preproc_warn_flag
20025 if test -z "$ac_cpp_err"; then
20026 ac_header_preproc
=yes
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.
$ac_ext >&5
20031 ac_header_preproc
=no
20033 rm -f conftest.err conftest.
$ac_ext
20034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20035 echo "${ECHO_T}$ac_header_preproc" >&6
20037 # So? What about this header?
20038 case $ac_header_compiler:$ac_header_preproc in
20040 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20041 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20042 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20043 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20046 ## ------------------------------------ ##
20047 ## Report this to bug-autoconf@gnu.org. ##
20048 ## ------------------------------------ ##
20051 sed "s/^/$as_me: WARNING: /" >&2
20054 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20055 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20057 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20058 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20059 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20062 ## ------------------------------------ ##
20063 ## Report this to bug-autoconf@gnu.org. ##
20064 ## ------------------------------------ ##
20067 sed "s/^/$as_me: WARNING: /" >&2
20070 echo "$as_me:$LINENO: checking for windows.h" >&5
20071 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20072 if test "${ac_cv_header_windows_h+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 ac_cv_header_windows_h
=$ac_header_preproc
20077 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20078 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20081 if test $ac_cv_header_windows_h = yes; then
20085 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20086 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20087 { (exit 1); exit 1; }; }
20093 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20095 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20096 LIBS
="$LIBS -loleacc"
20101 LIBS
="$LIBS -lkernel32 -luser32"
20102 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20105 if test "$wxUSE_ODBC" = "sys" ; then
20108 if test "$wxUSE_ODBC" = "yes" ; then
20109 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20110 cat >>confdefs.h
<<\_ACEOF
20111 #define wxUSE_ODBC 1
20116 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20117 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20119 WIN32INSTALL
=win32install
20122 if test "$wxUSE_GUI" = "yes"; then
20131 if test "$wxUSE_MSW" = 1 ; then
20137 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20141 if test "$wxUSE_GTK" = 1; then
20142 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20143 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20145 gtk_version_cached
=1
20146 if test "${wx_cv_lib_gtk+set}" = set; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 gtk_version_cached
=0
20151 echo "$as_me:$LINENO: result: " >&5
20152 echo "${ECHO_T}" >&6
20155 if test "$wxUSE_THREADS" = "yes"; then
20156 GTK_MODULES
=gthread
20160 if test "x$wxUSE_GTK2" = "xyes"; then
20161 # Check whether --enable-gtktest or --disable-gtktest was given.
20162 if test "${enable_gtktest+set}" = set; then
20163 enableval
="$enable_gtktest"
20169 pkg_config_args
=gtk
+-2.0
20170 for module
in .
$GTK_MODULES
20174 pkg_config_args
="$pkg_config_args gthread-2.0"
20181 # Extract the first word of "pkg-config", so it can be a program name with args.
20182 set dummy pkg
-config; ac_word
=$2
20183 echo "$as_me:$LINENO: checking for $ac_word" >&5
20184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20185 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 case $PKG_CONFIG in
20190 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20194 for as_dir
in $PATH
20197 test -z "$as_dir" && as_dir
=.
20198 for ac_exec_ext
in '' $ac_executable_extensions; do
20199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20200 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20207 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20211 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20213 if test -n "$PKG_CONFIG"; then
20214 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20215 echo "${ECHO_T}$PKG_CONFIG" >&6
20217 echo "$as_me:$LINENO: result: no" >&5
20218 echo "${ECHO_T}no" >&6
20222 if test x
$PKG_CONFIG != xno
; then
20223 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20226 echo *** pkg
-config too old
; version
0.7 or better required.
20234 min_gtk_version
=2.0.0
20235 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20236 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20238 if test x
$PKG_CONFIG != xno
; then
20239 ## don't try to run the test against uninstalled libtool libs
20240 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20241 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20245 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20252 if test x
"$no_gtk" = x
; then
20253 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20254 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20255 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20257 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20259 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20261 if test "x$enable_gtktest" = "xyes" ; then
20262 ac_save_CFLAGS
="$CFLAGS"
20263 ac_save_LIBS
="$LIBS"
20264 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20265 LIBS
="$GTK_LIBS $LIBS"
20267 if test "$cross_compiling" = yes; then
20268 echo $ac_n "cross compiling; assumed OK... $ac_c"
20270 cat >conftest.
$ac_ext <<_ACEOF
20271 #line $LINENO "configure"
20274 cat confdefs.h
>>conftest.
$ac_ext
20275 cat >>conftest.
$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20278 #include <gtk/gtk.h>
20280 #include <stdlib.h>
20285 int major, minor, micro;
20288 system ("touch conf.gtktest");
20290 /* HP/UX 9 (%@#!) writes to sscanf strings */
20291 tmp_version = g_strdup("$min_gtk_version");
20292 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20293 printf("%s, bad version string\n", "$min_gtk_version");
20297 if ((gtk_major_version != $gtk_config_major_version) ||
20298 (gtk_minor_version != $gtk_config_minor_version) ||
20299 (gtk_micro_version != $gtk_config_micro_version))
20301 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20302 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20303 gtk_major_version, gtk_minor_version, gtk_micro_version);
20304 printf ("*** was found! If pkg-config was correct, then it is best\n");
20305 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20306 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20307 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20308 printf("*** required on your system.\n");
20309 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20310 printf("*** to point to the correct configuration files\n");
20312 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20313 (gtk_minor_version != GTK_MINOR_VERSION) ||
20314 (gtk_micro_version != GTK_MICRO_VERSION))
20316 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20317 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20318 printf("*** library (version %d.%d.%d)\n",
20319 gtk_major_version, gtk_minor_version, gtk_micro_version);
20323 if ((gtk_major_version > major) ||
20324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20331 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20332 gtk_major_version, gtk_minor_version, gtk_micro_version);
20333 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20334 major, minor, micro);
20335 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20337 printf("*** If you have already installed a sufficiently new version, this error\n");
20338 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20339 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20340 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20341 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20342 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20343 printf("*** so that the correct libraries are found at run-time))\n");
20350 rm -f conftest
$ac_exeext
20351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20352 (eval $ac_link) 2>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20363 echo "$as_me: program exited with status $ac_status" >&5
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.
$ac_ext >&5
20367 ( exit $ac_status )
20370 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20372 CFLAGS
="$ac_save_CFLAGS"
20373 LIBS
="$ac_save_LIBS"
20376 if test "x$no_gtk" = x
; then
20377 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20378 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20381 echo "$as_me:$LINENO: result: no" >&5
20382 echo "${ECHO_T}no" >&6
20383 if test "$PKG_CONFIG" = "no" ; then
20384 echo "*** A new enough version of pkg-config was not found."
20385 echo "*** See http://pkgconfig.sourceforge.net"
20387 if test -f conf.gtktest
; then
20390 echo "*** Could not run GTK+ test program, checking why..."
20391 ac_save_CFLAGS
="$CFLAGS"
20392 ac_save_LIBS
="$LIBS"
20393 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20394 LIBS
="$LIBS $GTK_LIBS"
20395 cat >conftest.
$ac_ext <<_ACEOF
20396 #line $LINENO "configure"
20399 cat confdefs.h
>>conftest.
$ac_ext
20400 cat >>conftest.
$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20403 #include <gtk/gtk.h>
20409 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20414 rm -f conftest.
$ac_objext conftest
$ac_exeext
20415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20416 (eval $ac_link) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try
='test -s conftest$ac_exeext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 echo "*** The test program compiled, but did not run. This usually means"
20427 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20428 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20431 echo "*** is required on your system"
20433 echo "*** If you have an old version installed, it is best to remove it, although"
20434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.
$ac_ext >&5
20439 echo "*** The test program failed to compile or link. See the file config.log for the"
20440 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20443 CFLAGS
="$ac_save_CFLAGS"
20444 LIBS
="$ac_save_LIBS"
20457 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20458 if test "${with_gtk_prefix+set}" = set; then
20459 withval
="$with_gtk_prefix"
20460 gtk_config_prefix
="$withval"
20462 gtk_config_prefix
=""
20465 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20466 if test "${with_gtk_exec_prefix+set}" = set; then
20467 withval
="$with_gtk_exec_prefix"
20468 gtk_config_exec_prefix
="$withval"
20470 gtk_config_exec_prefix
=""
20472 # Check whether --enable-gtktest or --disable-gtktest was given.
20473 if test "${enable_gtktest+set}" = set; then
20474 enableval
="$enable_gtktest"
20480 for module
in .
$GTK_MODULES
20484 gtk_config_args
="$gtk_config_args gthread"
20489 if test x
$gtk_config_exec_prefix != x
; then
20490 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20491 if test x
${GTK_CONFIG+set} != xset
; then
20492 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20495 if test x
$gtk_config_prefix != x
; then
20496 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20497 if test x
${GTK_CONFIG+set} != xset
; then
20498 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20502 # Extract the first word of "gtk-config", so it can be a program name with args.
20503 set dummy gtk
-config; ac_word
=$2
20504 echo "$as_me:$LINENO: checking for $ac_word" >&5
20505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20506 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 case $GTK_CONFIG in
20511 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20515 for as_dir
in $PATH
20518 test -z "$as_dir" && as_dir
=.
20519 for ac_exec_ext
in '' $ac_executable_extensions; do
20520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20521 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20528 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20532 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20534 if test -n "$GTK_CONFIG"; then
20535 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20536 echo "${ECHO_T}$GTK_CONFIG" >&6
20538 echo "$as_me:$LINENO: result: no" >&5
20539 echo "${ECHO_T}no" >&6
20542 min_gtk_version
=1.2.7
20543 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20544 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20546 if test "$GTK_CONFIG" = "no" ; then
20549 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20550 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20551 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20553 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20555 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20557 if test "x$enable_gtktest" = "xyes" ; then
20558 ac_save_CFLAGS
="$CFLAGS"
20559 ac_save_LIBS
="$LIBS"
20560 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20561 LIBS
="$GTK_LIBS $LIBS"
20563 if test "$cross_compiling" = yes; then
20564 echo $ac_n "cross compiling; assumed OK... $ac_c"
20566 cat >conftest.
$ac_ext <<_ACEOF
20567 #line $LINENO "configure"
20570 cat confdefs.h
>>conftest.
$ac_ext
20571 cat >>conftest.
$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20574 #include <gtk/gtk.h>
20576 #include <stdlib.h>
20581 int major, minor, micro;
20584 system ("touch conf.gtktest");
20586 /* HP/UX 9 (%@#!) writes to sscanf strings */
20587 tmp_version = g_strdup("$min_gtk_version");
20588 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20589 printf("%s, bad version string\n", "$min_gtk_version");
20593 if ((gtk_major_version != $gtk_config_major_version) ||
20594 (gtk_minor_version != $gtk_config_minor_version) ||
20595 (gtk_micro_version != $gtk_config_micro_version))
20597 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20598 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20599 gtk_major_version, gtk_minor_version, gtk_micro_version);
20600 printf ("*** was found! If gtk-config was correct, then it is best\n");
20601 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20602 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20603 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20604 printf("*** required on your system.\n");
20605 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20606 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20607 printf("*** before re-running configure\n");
20609 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20610 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20611 (gtk_minor_version != GTK_MINOR_VERSION) ||
20612 (gtk_micro_version != GTK_MICRO_VERSION))
20614 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20615 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20616 printf("*** library (version %d.%d.%d)\n",
20617 gtk_major_version, gtk_minor_version, gtk_micro_version);
20619 #endif /* defined (GTK_MAJOR_VERSION) ... */
20622 if ((gtk_major_version > major) ||
20623 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20624 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20630 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20631 gtk_major_version, gtk_minor_version, gtk_micro_version);
20632 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20633 major, minor, micro);
20634 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20636 printf("*** If you have already installed a sufficiently new version, this error\n");
20637 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20638 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20639 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20640 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20641 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20642 printf("*** so that the correct libraries are found at run-time))\n");
20649 rm -f conftest
$ac_exeext
20650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20651 (eval $ac_link) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20662 echo "$as_me: program exited with status $ac_status" >&5
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.
$ac_ext >&5
20666 ( exit $ac_status )
20669 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20671 CFLAGS
="$ac_save_CFLAGS"
20672 LIBS
="$ac_save_LIBS"
20675 if test "x$no_gtk" = x
; then
20676 echo "$as_me:$LINENO: result: yes" >&5
20677 echo "${ECHO_T}yes" >&6
20678 wx_cv_lib_gtk
=1.2.7
20680 echo "$as_me:$LINENO: result: no" >&5
20681 echo "${ECHO_T}no" >&6
20682 if test "$GTK_CONFIG" = "no" ; then
20683 echo "*** The gtk-config script installed by GTK could not be found"
20684 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20685 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20686 echo "*** full path to gtk-config."
20688 if test -f conf.gtktest
; then
20691 echo "*** Could not run GTK test program, checking why..."
20692 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20693 LIBS
="$LIBS $GTK_LIBS"
20694 cat >conftest.
$ac_ext <<_ACEOF
20695 #line $LINENO "configure"
20698 cat confdefs.h
>>conftest.
$ac_ext
20699 cat >>conftest.
$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20702 #include <gtk/gtk.h>
20708 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20713 rm -f conftest.
$ac_objext conftest
$ac_exeext
20714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20715 (eval $ac_link) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } &&
20719 { ac_try
='test -s conftest$ac_exeext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 echo "*** The test program compiled, but did not run. This usually means"
20726 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20727 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20728 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20729 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20730 echo "*** is required on your system"
20732 echo "*** If you have an old version installed, it is best to remove it, although"
20733 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20735 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20736 echo "*** came with the system with the command"
20738 echo "*** rpm --erase --nodeps gtk gtk-devel"
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.
$ac_ext >&5
20743 echo "*** The test program failed to compile or link. See the file config.log for the"
20744 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20745 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20746 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20748 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20749 CFLAGS
="$ac_save_CFLAGS"
20750 LIBS
="$ac_save_LIBS"
20762 if test -z "$wx_cv_lib_gtk"; then
20764 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20765 if test "${with_gtk_prefix+set}" = set; then
20766 withval
="$with_gtk_prefix"
20767 gtk_config_prefix
="$withval"
20769 gtk_config_prefix
=""
20772 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20773 if test "${with_gtk_exec_prefix+set}" = set; then
20774 withval
="$with_gtk_exec_prefix"
20775 gtk_config_exec_prefix
="$withval"
20777 gtk_config_exec_prefix
=""
20779 # Check whether --enable-gtktest or --disable-gtktest was given.
20780 if test "${enable_gtktest+set}" = set; then
20781 enableval
="$enable_gtktest"
20787 for module
in .
$GTK_MODULES
20791 gtk_config_args
="$gtk_config_args gthread"
20796 if test x
$gtk_config_exec_prefix != x
; then
20797 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20798 if test x
${GTK_CONFIG+set} != xset
; then
20799 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20802 if test x
$gtk_config_prefix != x
; then
20803 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20804 if test x
${GTK_CONFIG+set} != xset
; then
20805 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20809 # Extract the first word of "gtk-config", so it can be a program name with args.
20810 set dummy gtk
-config; ac_word
=$2
20811 echo "$as_me:$LINENO: checking for $ac_word" >&5
20812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20813 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 case $GTK_CONFIG in
20818 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20822 for as_dir
in $PATH
20825 test -z "$as_dir" && as_dir
=.
20826 for ac_exec_ext
in '' $ac_executable_extensions; do
20827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20828 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20835 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20839 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20841 if test -n "$GTK_CONFIG"; then
20842 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20843 echo "${ECHO_T}$GTK_CONFIG" >&6
20845 echo "$as_me:$LINENO: result: no" >&5
20846 echo "${ECHO_T}no" >&6
20849 min_gtk_version
=1.2.3
20850 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20851 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20853 if test "$GTK_CONFIG" = "no" ; then
20856 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20857 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20858 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20860 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20862 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20864 if test "x$enable_gtktest" = "xyes" ; then
20865 ac_save_CFLAGS
="$CFLAGS"
20866 ac_save_LIBS
="$LIBS"
20867 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20868 LIBS
="$GTK_LIBS $LIBS"
20870 if test "$cross_compiling" = yes; then
20871 echo $ac_n "cross compiling; assumed OK... $ac_c"
20873 cat >conftest.
$ac_ext <<_ACEOF
20874 #line $LINENO "configure"
20877 cat confdefs.h
>>conftest.
$ac_ext
20878 cat >>conftest.
$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20881 #include <gtk/gtk.h>
20883 #include <stdlib.h>
20888 int major, minor, micro;
20891 system ("touch conf.gtktest");
20893 /* HP/UX 9 (%@#!) writes to sscanf strings */
20894 tmp_version = g_strdup("$min_gtk_version");
20895 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20896 printf("%s, bad version string\n", "$min_gtk_version");
20900 if ((gtk_major_version != $gtk_config_major_version) ||
20901 (gtk_minor_version != $gtk_config_minor_version) ||
20902 (gtk_micro_version != $gtk_config_micro_version))
20904 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20905 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20906 gtk_major_version, gtk_minor_version, gtk_micro_version);
20907 printf ("*** was found! If gtk-config was correct, then it is best\n");
20908 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20909 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20910 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20911 printf("*** required on your system.\n");
20912 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20913 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20914 printf("*** before re-running configure\n");
20916 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20917 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20918 (gtk_minor_version != GTK_MINOR_VERSION) ||
20919 (gtk_micro_version != GTK_MICRO_VERSION))
20921 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20922 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20923 printf("*** library (version %d.%d.%d)\n",
20924 gtk_major_version, gtk_minor_version, gtk_micro_version);
20926 #endif /* defined (GTK_MAJOR_VERSION) ... */
20929 if ((gtk_major_version > major) ||
20930 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20931 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20937 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20938 gtk_major_version, gtk_minor_version, gtk_micro_version);
20939 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20940 major, minor, micro);
20941 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20943 printf("*** If you have already installed a sufficiently new version, this error\n");
20944 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20945 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20946 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20947 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20948 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20949 printf("*** so that the correct libraries are found at run-time))\n");
20956 rm -f conftest
$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20969 echo "$as_me: program exited with status $ac_status" >&5
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.
$ac_ext >&5
20973 ( exit $ac_status )
20976 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20978 CFLAGS
="$ac_save_CFLAGS"
20979 LIBS
="$ac_save_LIBS"
20982 if test "x$no_gtk" = x
; then
20983 echo "$as_me:$LINENO: result: yes" >&5
20984 echo "${ECHO_T}yes" >&6
20985 wx_cv_lib_gtk
=1.2.3
20987 echo "$as_me:$LINENO: result: no" >&5
20988 echo "${ECHO_T}no" >&6
20989 if test "$GTK_CONFIG" = "no" ; then
20990 echo "*** The gtk-config script installed by GTK could not be found"
20991 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20992 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20993 echo "*** full path to gtk-config."
20995 if test -f conf.gtktest
; then
20998 echo "*** Could not run GTK test program, checking why..."
20999 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21000 LIBS
="$LIBS $GTK_LIBS"
21001 cat >conftest.
$ac_ext <<_ACEOF
21002 #line $LINENO "configure"
21005 cat confdefs.h
>>conftest.
$ac_ext
21006 cat >>conftest.
$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21009 #include <gtk/gtk.h>
21015 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21020 rm -f conftest.
$ac_objext conftest
$ac_exeext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } &&
21026 { ac_try
='test -s conftest$ac_exeext'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 echo "*** The test program compiled, but did not run. This usually means"
21033 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21034 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21037 echo "*** is required on your system"
21039 echo "*** If you have an old version installed, it is best to remove it, although"
21040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21042 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21043 echo "*** came with the system with the command"
21045 echo "*** rpm --erase --nodeps gtk gtk-devel"
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21050 echo "*** The test program failed to compile or link. See the file config.log for the"
21051 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21052 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21053 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21056 CFLAGS
="$ac_save_CFLAGS"
21057 LIBS
="$ac_save_LIBS"
21071 if test -z "$wx_cv_lib_gtk"; then
21074 wx_cv_cflags_gtk
=$GTK_CFLAGS
21075 wx_cv_libs_gtk
=$GTK_LIBS
21082 if test "$gtk_version_cached" = 1; then
21083 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21084 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21087 case "$wx_cv_lib_gtk" in
21096 *) { { echo "$as_me:$LINENO: error:
21097 Please check that gtk-config is in path, the directory
21098 where GTK+ libraries are installed (returned by
21099 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21100 equivalent variable and GTK+ is version 1.2.3 or above.
21102 echo "$as_me: error:
21103 Please check that gtk-config is in path, the directory
21104 where GTK+ libraries are installed (returned by
21105 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21106 equivalent variable and GTK+ is version 1.2.3 or above.
21108 { (exit 1); exit 1; }; }
21112 if test "$WXGTK20" = 1; then
21113 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21117 if test -z "$PKG_CONFIG"; then
21118 # Extract the first word of "pkg-config", so it can be a program name with args.
21119 set dummy pkg
-config; ac_word
=$2
21120 echo "$as_me:$LINENO: checking for $ac_word" >&5
21121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21122 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21123 echo $ECHO_N "(cached) $ECHO_C" >&6
21125 case $PKG_CONFIG in
21127 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21131 for as_dir
in $PATH
21134 test -z "$as_dir" && as_dir
=.
21135 for ac_exec_ext
in '' $ac_executable_extensions; do
21136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21137 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21144 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21148 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21150 if test -n "$PKG_CONFIG"; then
21151 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21152 echo "${ECHO_T}$PKG_CONFIG" >&6
21154 echo "$as_me:$LINENO: result: no" >&5
21155 echo "${ECHO_T}no" >&6
21160 if test "$PKG_CONFIG" = "no" ; then
21161 echo "*** The pkg-config script could not be found. Make sure it is"
21162 echo "*** in your path, or set the PKG_CONFIG environment variable"
21163 echo "*** to the full path to pkg-config."
21164 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21166 PKG_CONFIG_MIN_VERSION
=0.9.0
21167 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21168 echo "$as_me:$LINENO: checking for pangoft2" >&5
21169 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21171 if $PKG_CONFIG --exists "pangoft2" ; then
21172 echo "$as_me:$LINENO: result: yes" >&5
21173 echo "${ECHO_T}yes" >&6
21176 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21177 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21178 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21179 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21180 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21182 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21183 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21184 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21185 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21186 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21190 ## If we have a custom action on failure, don't print errors, but
21191 ## do set a variable so people can do so.
21192 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21199 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21200 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21204 if test $succeeded = yes; then
21206 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21207 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21211 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21212 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21213 wxUSE_PRINTING_ARCHITECTURE
="no"
21220 if test "$wxUSE_UNICODE" = "yes"; then
21221 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21222 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21227 if test "$USE_DARWIN" != 1; then
21229 for ac_func
in poll
21231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21232 echo "$as_me:$LINENO: checking for $ac_func" >&5
21233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21234 if eval "test \"\${$as_ac_var+set}\" = set"; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21237 cat >conftest.
$ac_ext <<_ACEOF
21238 #line $LINENO "configure"
21241 cat confdefs.h
>>conftest.
$ac_ext
21242 cat >>conftest.
$ac_ext <<_ACEOF
21243 /* end confdefs.h. */
21244 /* System header to define __stub macros and hopefully few prototypes,
21245 which can conflict with char $ac_func (); below.
21246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21247 <limits.h> exists even on freestanding compilers. */
21249 # include <limits.h>
21251 # include <assert.h>
21253 /* Override any gcc2 internal prototype to avoid an error. */
21258 /* We use char because int might match the return type of a gcc2
21259 builtin and then its argument prototype would still apply. */
21261 /* The GNU C library defines this for functions which it implements
21262 to always fail with ENOSYS. Some functions are actually named
21263 something starting with __ and the normal name is an alias. */
21264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21267 char (*f) () = $ac_func;
21276 return f != $ac_func;
21281 rm -f conftest.
$ac_objext conftest
$ac_exeext
21282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283 (eval $ac_link) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try
='test -s conftest$ac_exeext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 eval "$as_ac_var=yes"
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 eval "$as_ac_var=no"
21300 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21304 if test `eval echo '${'$as_ac_var'}'` = yes; then
21305 cat >>confdefs.h
<<_ACEOF
21306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21314 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21315 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21317 AFMINSTALL
=afminstall
21321 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21322 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21323 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 ac_check_lib_save_LIBS
=$LIBS
21328 cat >conftest.
$ac_ext <<_ACEOF
21329 #line $LINENO "configure"
21332 cat confdefs.h
>>conftest.
$ac_ext
21333 cat >>conftest.
$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21336 /* Override any gcc2 internal prototype to avoid an error. */
21340 /* We use char because int might match the return type of a gcc2
21341 builtin and then its argument prototype would still apply. */
21342 char gdk_im_open ();
21351 rm -f conftest.
$ac_objext conftest
$ac_exeext
21352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21353 (eval $ac_link) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try
='test -s conftest$ac_exeext'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_lib_gdk_gdk_im_open
=yes
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.
$ac_ext >&5
21368 ac_cv_lib_gdk_gdk_im_open
=no
21370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21371 LIBS
=$ac_check_lib_save_LIBS
21373 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21374 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21375 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21376 cat >>confdefs.h
<<\_ACEOF
21384 if test "$wxUSE_MGL" = 1; then
21385 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21386 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21387 if test "x$MGL_ROOT" = x
; then
21388 echo "$as_me:$LINENO: result: not found" >&5
21389 echo "${ECHO_T}not found" >&6
21390 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21391 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21392 { (exit 1); exit 1; }; }
21394 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21395 echo "${ECHO_T}$MGL_ROOT" >&6
21398 echo "$as_me:$LINENO: checking for libmgl location" >&5
21399 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21402 if test "x$wxUSE_SHARED" = xyes
; then
21403 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21405 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21409 mgl_os_candidates
="dos32/dj2"
21412 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21413 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21414 { (exit 1); exit 1; }; }
21420 for mgl_os_i
in $mgl_os_candidates ; do
21421 if test "x$mgl_os" = x
; then
21422 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21423 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21424 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21429 if test "x$mgl_lib_type" = x
; then
21430 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21431 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21432 mgl_lib_type
=release
21439 if test "x$mgl_os" = x
; then
21440 echo "$as_me:$LINENO: result: not found" >&5
21441 echo "${ECHO_T}not found" >&6
21442 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21443 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21444 { (exit 1); exit 1; }; }
21446 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21447 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21449 wxUSE_UNIVERSAL
="yes"
21451 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21452 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21454 AFMINSTALL
=afminstall
21459 if test "$wxUSE_MICROWIN" = 1; then
21460 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21461 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21462 if test "x$MICROWINDOWS" = x
; then
21463 echo "$as_me:$LINENO: result: not found" >&5
21464 echo "${ECHO_T}not found" >&6
21465 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21466 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21467 { (exit 1); exit 1; }; }
21469 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21470 echo "${ECHO_T}$MICROWINDOWS" >&6
21473 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21474 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21475 echo "${ECHO_T}MicroWindows' libraries found." >&6
21477 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21478 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21479 { (exit 1); exit 1; }; }
21482 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21483 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21485 wxUSE_UNIVERSAL
="yes"
21487 AFMINSTALL
=afminstall
21489 GUIDIST
=MICROWIN_DIST
21491 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21494 if test "$wxUSE_X11" = 1; then
21495 echo "$as_me:$LINENO: checking for X" >&5
21496 echo $ECHO_N "checking for X... $ECHO_C" >&6
21499 # Check whether --with-x or --without-x was given.
21500 if test "${with_x+set}" = set; then
21504 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21505 if test "x$with_x" = xno
; then
21506 # The user explicitly disabled X.
21509 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21510 # Both variables are already set.
21513 if test "${ac_cv_have_x+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 # One or both of the vars are not set, and there is no cached value.
21517 ac_x_includes
=no ac_x_libraries
=no
21518 rm -fr conftest.dir
21519 if mkdir conftest.dir
; then
21521 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21522 cat >Imakefile
<<'_ACEOF'
21524 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21526 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21528 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21529 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21530 for ac_extension
in a so sl
; do
21531 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21532 test -f $ac_im_libdir/libX11.
$ac_extension; then
21533 ac_im_usrlibdir
=$ac_im_libdir; break
21536 # Screen out bogus values from the imake configuration. They are
21537 # bogus both because they are the default anyway, and because
21538 # using them would break gcc on systems where it needs fixed includes.
21539 case $ac_im_incroot in
21541 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21543 case $ac_im_usrlibdir in
21544 /usr
/lib
| /lib
) ;;
21545 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21549 rm -fr conftest.dir
21552 # Standard set of common directories for X headers.
21553 # Check X11 before X11Rn because it is often a symlink to the current release.
21565 /usr/local/X11/include
21566 /usr/local/X11R6/include
21567 /usr/local/X11R5/include
21568 /usr/local/X11R4/include
21570 /usr/local/include/X11
21571 /usr/local/include/X11R6
21572 /usr/local/include/X11R5
21573 /usr/local/include/X11R4
21577 /usr/XFree86/include/X11
21581 /usr/unsupported/include
21582 /usr/athena/include
21583 /usr/local/x11r5/include
21584 /usr/lpp/Xamples/include
21586 /usr/openwin/include
21587 /usr/openwin/share/include'
21589 if test "$ac_x_includes" = no
; then
21590 # Guess where to find include files, by looking for Intrinsic.h.
21591 # First, try using that file with no special directory specified.
21592 cat >conftest.
$ac_ext <<_ACEOF
21593 #line $LINENO "configure"
21596 cat confdefs.h
>>conftest.
$ac_ext
21597 cat >>conftest.
$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #include <X11/Intrinsic.h>
21601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21602 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21604 grep -v '^ *+' conftest.er1
>conftest.err
21606 cat conftest.err
>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } >/dev
/null
; then
21609 if test -s conftest.err
; then
21610 ac_cpp_err
=$ac_c_preproc_warn_flag
21617 if test -z "$ac_cpp_err"; then
21618 # We can compile using X headers with no special include directory.
21621 echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.
$ac_ext >&5
21624 for ac_dir
in $ac_x_header_dirs; do
21625 if test -r "$ac_dir/X11/Intrinsic.h"; then
21626 ac_x_includes
=$ac_dir
21631 rm -f conftest.err conftest.
$ac_ext
21632 fi # $ac_x_includes = no
21634 if test "$ac_x_libraries" = no
; then
21635 # Check for the libraries.
21636 # See if we find them without any special options.
21637 # Don't add to $LIBS permanently.
21640 cat >conftest.
$ac_ext <<_ACEOF
21641 #line $LINENO "configure"
21644 cat confdefs.h
>>conftest.
$ac_ext
21645 cat >>conftest.
$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 #include <X11/Intrinsic.h>
21656 rm -f conftest.
$ac_objext conftest
$ac_exeext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658 (eval $ac_link) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try
='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21669 # We can link X programs with no special library path.
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21676 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21678 # Don't even attempt the hair of trying to link an X program!
21679 for ac_extension
in a so sl
; do
21680 if test -r $ac_dir/libXt.
$ac_extension; then
21681 ac_x_libraries
=$ac_dir
21687 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21688 fi # $ac_x_libraries = no
21690 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21691 # Didn't find X anywhere. Cache the known absence of X.
21692 ac_cv_have_x
="have_x=no"
21694 # Record where we found X for the cache.
21695 ac_cv_have_x
="have_x=yes \
21696 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21701 eval "$ac_cv_have_x"
21704 if test "$have_x" != yes; then
21705 echo "$as_me:$LINENO: result: $have_x" >&5
21706 echo "${ECHO_T}$have_x" >&6
21709 # If each of the values was on the command line, it overrides each guess.
21710 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21711 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21712 # Update the cache value to reflect the command line values.
21713 ac_cv_have_x
="have_x=yes \
21714 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21715 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21716 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21719 if test "$no_x" = yes; then
21720 # Not all programs may use this symbol, but it does not hurt to define it.
21722 cat >>confdefs.h
<<\_ACEOF
21723 #define X_DISPLAY_MISSING 1
21726 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21728 if test -n "$x_includes"; then
21729 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21732 # It would also be nice to do this for all -L options, not just this one.
21733 if test -n "$x_libraries"; then
21734 X_LIBS
="$X_LIBS -L$x_libraries"
21735 # For Solaris; some versions of Sun CC require a space after -R and
21736 # others require no space. Words are not sufficient . . . .
21737 case `(uname -sr) 2>/dev/null` in
21739 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21740 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21741 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21742 cat >conftest.
$ac_ext <<_ACEOF
21743 #line $LINENO "configure"
21746 cat confdefs.h
>>conftest.
$ac_ext
21747 cat >>conftest.
$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21758 rm -f conftest.
$ac_objext conftest
$ac_exeext
21759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21760 (eval $ac_link) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } &&
21764 { ac_try
='test -s conftest$ac_exeext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.
$ac_ext >&5
21777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21778 if test $ac_R_nospace = yes; then
21779 echo "$as_me:$LINENO: result: no" >&5
21780 echo "${ECHO_T}no" >&6
21781 X_LIBS
="$X_LIBS -R$x_libraries"
21783 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21784 cat >conftest.
$ac_ext <<_ACEOF
21785 #line $LINENO "configure"
21788 cat confdefs.h
>>conftest.
$ac_ext
21789 cat >>conftest.
$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21800 rm -f conftest.
$ac_objext conftest
$ac_exeext
21801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21802 (eval $ac_link) 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } &&
21806 { ac_try
='test -s conftest$ac_exeext'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21814 echo "$as_me: failed program was:" >&5
21815 sed 's/^/| /' conftest.
$ac_ext >&5
21819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21820 if test $ac_R_space = yes; then
21821 echo "$as_me:$LINENO: result: yes" >&5
21822 echo "${ECHO_T}yes" >&6
21823 X_LIBS
="$X_LIBS -R $x_libraries"
21825 echo "$as_me:$LINENO: result: neither works" >&5
21826 echo "${ECHO_T}neither works" >&6
21829 LIBS
=$ac_xsave_LIBS
21833 # Check for system-dependent libraries X programs must link with.
21834 # Do this before checking for the system-independent R6 libraries
21835 # (-lICE), since we may need -lsocket or whatever for X linking.
21837 if test "$ISC" = yes; then
21838 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21840 # Martyn Johnson says this is needed for Ultrix, if the X
21841 # libraries were built with DECnet support. And Karl Berry says
21842 # the Alpha needs dnet_stub (dnet does not exist).
21843 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21844 cat >conftest.
$ac_ext <<_ACEOF
21845 #line $LINENO "configure"
21848 cat confdefs.h
>>conftest.
$ac_ext
21849 cat >>conftest.
$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21852 /* Override any gcc2 internal prototype to avoid an error. */
21856 /* We use char because int might match the return type of a gcc2
21857 builtin and then its argument prototype would still apply. */
21858 char XOpenDisplay ();
21867 rm -f conftest.
$ac_objext conftest
$ac_exeext
21868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21869 (eval $ac_link) 2>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } &&
21873 { ac_try
='test -s conftest$ac_exeext'
21874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21875 (eval $ac_try) 2>&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }; }; then
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.
$ac_ext >&5
21884 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21885 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21886 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21889 ac_check_lib_save_LIBS
=$LIBS
21890 LIBS
="-ldnet $LIBS"
21891 cat >conftest.
$ac_ext <<_ACEOF
21892 #line $LINENO "configure"
21895 cat confdefs.h
>>conftest.
$ac_ext
21896 cat >>conftest.
$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21899 /* Override any gcc2 internal prototype to avoid an error. */
21903 /* We use char because int might match the return type of a gcc2
21904 builtin and then its argument prototype would still apply. */
21914 rm -f conftest.
$ac_objext conftest
$ac_exeext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916 (eval $ac_link) 2>&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); } &&
21920 { ac_try
='test -s conftest$ac_exeext'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_lib_dnet_dnet_ntoa
=yes
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.
$ac_ext >&5
21931 ac_cv_lib_dnet_dnet_ntoa
=no
21933 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21934 LIBS
=$ac_check_lib_save_LIBS
21936 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21937 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21938 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21939 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21942 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21943 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21944 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21945 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 ac_check_lib_save_LIBS
=$LIBS
21949 LIBS
="-ldnet_stub $LIBS"
21950 cat >conftest.
$ac_ext <<_ACEOF
21951 #line $LINENO "configure"
21954 cat confdefs.h
>>conftest.
$ac_ext
21955 cat >>conftest.
$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21958 /* Override any gcc2 internal prototype to avoid an error. */
21962 /* We use char because int might match the return type of a gcc2
21963 builtin and then its argument prototype would still apply. */
21973 rm -f conftest.
$ac_objext conftest
$ac_exeext
21974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21975 (eval $ac_link) 2>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try
='test -s conftest$ac_exeext'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; }; then
21985 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.
$ac_ext >&5
21990 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21992 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21993 LIBS
=$ac_check_lib_save_LIBS
21995 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21996 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21997 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22003 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22004 LIBS
="$ac_xsave_LIBS"
22006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22007 # to get the SysV transport functions.
22008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22010 # The nsl library prevents programs from opening the X display
22011 # on Irix 5.2, according to T.E. Dickey.
22012 # The functions gethostbyname, getservbyname, and inet_addr are
22013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22014 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22015 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22016 if test "${ac_cv_func_gethostbyname+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 cat >conftest.
$ac_ext <<_ACEOF
22020 #line $LINENO "configure"
22023 cat confdefs.h
>>conftest.
$ac_ext
22024 cat >>conftest.
$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 /* System header to define __stub macros and hopefully few prototypes,
22027 which can conflict with char gethostbyname (); below.
22028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22029 <limits.h> exists even on freestanding compilers. */
22031 # include <limits.h>
22033 # include <assert.h>
22035 /* Override any gcc2 internal prototype to avoid an error. */
22040 /* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22042 char gethostbyname ();
22043 /* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22049 char (*f) () = gethostbyname;
22058 return f != gethostbyname;
22063 rm -f conftest.
$ac_objext conftest
$ac_exeext
22064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22065 (eval $ac_link) 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try
='test -s conftest$ac_exeext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075 ac_cv_func_gethostbyname
=yes
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.
$ac_ext >&5
22080 ac_cv_func_gethostbyname
=no
22082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22084 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22085 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22087 if test $ac_cv_func_gethostbyname = no
; then
22088 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22089 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22090 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 ac_check_lib_save_LIBS
=$LIBS
22095 cat >conftest.
$ac_ext <<_ACEOF
22096 #line $LINENO "configure"
22099 cat confdefs.h
>>conftest.
$ac_ext
22100 cat >>conftest.
$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22103 /* Override any gcc2 internal prototype to avoid an error. */
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22109 char gethostbyname ();
22118 rm -f conftest.
$ac_objext conftest
$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try
='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_cv_lib_nsl_gethostbyname
=yes
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.
$ac_ext >&5
22135 ac_cv_lib_nsl_gethostbyname
=no
22137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22138 LIBS
=$ac_check_lib_save_LIBS
22140 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22141 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22142 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22146 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22147 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22148 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22149 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22150 echo $ECHO_N "(cached) $ECHO_C" >&6
22152 ac_check_lib_save_LIBS
=$LIBS
22154 cat >conftest.
$ac_ext <<_ACEOF
22155 #line $LINENO "configure"
22158 cat confdefs.h
>>conftest.
$ac_ext
22159 cat >>conftest.
$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22162 /* Override any gcc2 internal prototype to avoid an error. */
22166 /* We use char because int might match the return type of a gcc2
22167 builtin and then its argument prototype would still apply. */
22168 char gethostbyname ();
22177 rm -f conftest.
$ac_objext conftest
$ac_exeext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22179 (eval $ac_link) 2>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try
='test -s conftest$ac_exeext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_lib_bsd_gethostbyname
=yes
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.
$ac_ext >&5
22194 ac_cv_lib_bsd_gethostbyname
=no
22196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22197 LIBS
=$ac_check_lib_save_LIBS
22199 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22200 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22201 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22208 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22209 # socket/setsockopt and other routines are undefined under SCO ODT
22210 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22211 # on later versions), says Simon Leinen: it contains gethostby*
22212 # variants that don't use the name server (or something). -lsocket
22213 # must be given before -lnsl if both are needed. We assume that
22214 # if connect needs -lnsl, so does gethostbyname.
22215 echo "$as_me:$LINENO: checking for connect" >&5
22216 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22217 if test "${ac_cv_func_connect+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22220 cat >conftest.
$ac_ext <<_ACEOF
22221 #line $LINENO "configure"
22224 cat confdefs.h
>>conftest.
$ac_ext
22225 cat >>conftest.
$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22227 /* System header to define __stub macros and hopefully few prototypes,
22228 which can conflict with char connect (); below.
22229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22230 <limits.h> exists even on freestanding compilers. */
22232 # include <limits.h>
22234 # include <assert.h>
22236 /* Override any gcc2 internal prototype to avoid an error. */
22241 /* We use char because int might match the return type of a gcc2
22242 builtin and then its argument prototype would still apply. */
22244 /* The GNU C library defines this for functions which it implements
22245 to always fail with ENOSYS. Some functions are actually named
22246 something starting with __ and the normal name is an alias. */
22247 #if defined (__stub_connect) || defined (__stub___connect)
22250 char (*f) () = connect;
22259 return f != connect;
22264 rm -f conftest.
$ac_objext conftest
$ac_exeext
22265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22266 (eval $ac_link) 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try
='test -s conftest$ac_exeext'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; }; then
22276 ac_cv_func_connect
=yes
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.
$ac_ext >&5
22281 ac_cv_func_connect
=no
22283 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22285 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22286 echo "${ECHO_T}$ac_cv_func_connect" >&6
22288 if test $ac_cv_func_connect = no
; then
22289 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22290 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22291 if test "${ac_cv_lib_socket_connect+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 ac_check_lib_save_LIBS
=$LIBS
22295 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22296 cat >conftest.
$ac_ext <<_ACEOF
22297 #line $LINENO "configure"
22300 cat confdefs.h
>>conftest.
$ac_ext
22301 cat >>conftest.
$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22304 /* Override any gcc2 internal prototype to avoid an error. */
22308 /* We use char because int might match the return type of a gcc2
22309 builtin and then its argument prototype would still apply. */
22319 rm -f conftest.
$ac_objext conftest
$ac_exeext
22320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22321 (eval $ac_link) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } &&
22325 { ac_try
='test -s conftest$ac_exeext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_lib_socket_connect
=yes
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.
$ac_ext >&5
22336 ac_cv_lib_socket_connect
=no
22338 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22339 LIBS
=$ac_check_lib_save_LIBS
22341 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22342 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22343 if test $ac_cv_lib_socket_connect = yes; then
22344 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22349 # Guillermo Gomez says -lposix is necessary on A/UX.
22350 echo "$as_me:$LINENO: checking for remove" >&5
22351 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22352 if test "${ac_cv_func_remove+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 cat >conftest.
$ac_ext <<_ACEOF
22356 #line $LINENO "configure"
22359 cat confdefs.h
>>conftest.
$ac_ext
22360 cat >>conftest.
$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 /* System header to define __stub macros and hopefully few prototypes,
22363 which can conflict with char remove (); below.
22364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22365 <limits.h> exists even on freestanding compilers. */
22367 # include <limits.h>
22369 # include <assert.h>
22371 /* Override any gcc2 internal prototype to avoid an error. */
22376 /* We use char because int might match the return type of a gcc2
22377 builtin and then its argument prototype would still apply. */
22379 /* The GNU C library defines this for functions which it implements
22380 to always fail with ENOSYS. Some functions are actually named
22381 something starting with __ and the normal name is an alias. */
22382 #if defined (__stub_remove) || defined (__stub___remove)
22385 char (*f) () = remove;
22394 return f != remove;
22399 rm -f conftest.
$ac_objext conftest
$ac_exeext
22400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22401 (eval $ac_link) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } &&
22405 { ac_try
='test -s conftest$ac_exeext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 ac_cv_func_remove
=yes
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.
$ac_ext >&5
22416 ac_cv_func_remove
=no
22418 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22420 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22421 echo "${ECHO_T}$ac_cv_func_remove" >&6
22423 if test $ac_cv_func_remove = no
; then
22424 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22425 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22426 if test "${ac_cv_lib_posix_remove+set}" = set; then
22427 echo $ECHO_N "(cached) $ECHO_C" >&6
22429 ac_check_lib_save_LIBS
=$LIBS
22430 LIBS
="-lposix $LIBS"
22431 cat >conftest.
$ac_ext <<_ACEOF
22432 #line $LINENO "configure"
22435 cat confdefs.h
>>conftest.
$ac_ext
22436 cat >>conftest.
$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22439 /* Override any gcc2 internal prototype to avoid an error. */
22443 /* We use char because int might match the return type of a gcc2
22444 builtin and then its argument prototype would still apply. */
22454 rm -f conftest.
$ac_objext conftest
$ac_exeext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22456 (eval $ac_link) 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } &&
22460 { ac_try
='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_lib_posix_remove
=yes
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.
$ac_ext >&5
22471 ac_cv_lib_posix_remove
=no
22473 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22474 LIBS
=$ac_check_lib_save_LIBS
22476 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22477 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22478 if test $ac_cv_lib_posix_remove = yes; then
22479 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22484 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22485 echo "$as_me:$LINENO: checking for shmat" >&5
22486 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22487 if test "${ac_cv_func_shmat+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 cat >conftest.
$ac_ext <<_ACEOF
22491 #line $LINENO "configure"
22494 cat confdefs.h
>>conftest.
$ac_ext
22495 cat >>conftest.
$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 /* System header to define __stub macros and hopefully few prototypes,
22498 which can conflict with char shmat (); below.
22499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22500 <limits.h> exists even on freestanding compilers. */
22502 # include <limits.h>
22504 # include <assert.h>
22506 /* Override any gcc2 internal prototype to avoid an error. */
22511 /* We use char because int might match the return type of a gcc2
22512 builtin and then its argument prototype would still apply. */
22514 /* The GNU C library defines this for functions which it implements
22515 to always fail with ENOSYS. Some functions are actually named
22516 something starting with __ and the normal name is an alias. */
22517 #if defined (__stub_shmat) || defined (__stub___shmat)
22520 char (*f) () = shmat;
22534 rm -f conftest.
$ac_objext conftest
$ac_exeext
22535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22536 (eval $ac_link) 2>&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } &&
22540 { ac_try
='test -s conftest$ac_exeext'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; }; then
22546 ac_cv_func_shmat
=yes
22548 echo "$as_me: failed program was:" >&5
22549 sed 's/^/| /' conftest.
$ac_ext >&5
22551 ac_cv_func_shmat
=no
22553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22555 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22556 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22558 if test $ac_cv_func_shmat = no
; then
22559 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22560 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22561 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 ac_check_lib_save_LIBS
=$LIBS
22566 cat >conftest.
$ac_ext <<_ACEOF
22567 #line $LINENO "configure"
22570 cat confdefs.h
>>conftest.
$ac_ext
22571 cat >>conftest.
$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22574 /* Override any gcc2 internal prototype to avoid an error. */
22578 /* We use char because int might match the return type of a gcc2
22579 builtin and then its argument prototype would still apply. */
22589 rm -f conftest.
$ac_objext conftest
$ac_exeext
22590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22591 (eval $ac_link) 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } &&
22595 { ac_try
='test -s conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_lib_ipc_shmat
=yes
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.
$ac_ext >&5
22606 ac_cv_lib_ipc_shmat
=no
22608 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22609 LIBS
=$ac_check_lib_save_LIBS
22611 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22612 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22613 if test $ac_cv_lib_ipc_shmat = yes; then
22614 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22620 # Check for libraries that X11R6 Xt/Xaw programs need.
22621 ac_save_LDFLAGS
=$LDFLAGS
22622 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22623 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22624 # check for ICE first), but we must link in the order -lSM -lICE or
22625 # we get undefined symbols. So assume we have SM if we have ICE.
22626 # These have to be linked with before -lX11, unlike the other
22627 # libraries we check for below, so use a different variable.
22628 # John Interrante, Karl Berry
22629 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22630 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22631 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 ac_check_lib_save_LIBS
=$LIBS
22635 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22636 cat >conftest.
$ac_ext <<_ACEOF
22637 #line $LINENO "configure"
22640 cat confdefs.h
>>conftest.
$ac_ext
22641 cat >>conftest.
$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22644 /* Override any gcc2 internal prototype to avoid an error. */
22648 /* We use char because int might match the return type of a gcc2
22649 builtin and then its argument prototype would still apply. */
22650 char IceConnectionNumber ();
22654 IceConnectionNumber ();
22659 rm -f conftest.
$ac_objext conftest
$ac_exeext
22660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22661 (eval $ac_link) 2>&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try
='test -s conftest$ac_exeext'
22666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667 (eval $ac_try) 2>&5
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); }; }; then
22671 ac_cv_lib_ICE_IceConnectionNumber
=yes
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.
$ac_ext >&5
22676 ac_cv_lib_ICE_IceConnectionNumber
=no
22678 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22679 LIBS
=$ac_check_lib_save_LIBS
22681 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22682 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22683 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22684 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22687 LDFLAGS
=$ac_save_LDFLAGS
22692 if test "$no_x" = "yes"; then
22693 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22694 echo "$as_me: error: X11 not found" >&2;}
22695 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22698 GUI_TK_LIBRARY
="$X_LIBS"
22699 TOOLKIT_INCLUDE
="$X_CFLAGS"
22700 AFMINSTALL
=afminstall
22701 COMPILED_X_PROGRAM
=0
22703 if test "$wxUSE_NANOX" = "yes"; then
22704 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22705 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22706 if test "x$MICROWIN" = x
; then
22707 echo "$as_me:$LINENO: result: not found" >&5
22708 echo "${ECHO_T}not found" >&6
22709 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22710 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22711 { (exit 1); exit 1; }; }
22713 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22714 echo "${ECHO_T}$MICROWIN" >&6
22715 cat >>confdefs.h
<<\_ACEOF
22716 #define wxUSE_NANOX 1
22722 if test "$wxUSE_UNICODE" = "yes"; then
22726 if test -z "$PKG_CONFIG"; then
22727 # Extract the first word of "pkg-config", so it can be a program name with args.
22728 set dummy pkg
-config; ac_word
=$2
22729 echo "$as_me:$LINENO: checking for $ac_word" >&5
22730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22731 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 case $PKG_CONFIG in
22736 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22740 for as_dir
in $PATH
22743 test -z "$as_dir" && as_dir
=.
22744 for ac_exec_ext
in '' $ac_executable_extensions; do
22745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22746 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22753 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22757 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22759 if test -n "$PKG_CONFIG"; then
22760 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22761 echo "${ECHO_T}$PKG_CONFIG" >&6
22763 echo "$as_me:$LINENO: result: no" >&5
22764 echo "${ECHO_T}no" >&6
22769 if test "$PKG_CONFIG" = "no" ; then
22770 echo "*** The pkg-config script could not be found. Make sure it is"
22771 echo "*** in your path, or set the PKG_CONFIG environment variable"
22772 echo "*** to the full path to pkg-config."
22773 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22775 PKG_CONFIG_MIN_VERSION
=0.9.0
22776 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22777 echo "$as_me:$LINENO: checking for pangox" >&5
22778 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22780 if $PKG_CONFIG --exists "pangox" ; then
22781 echo "$as_me:$LINENO: result: yes" >&5
22782 echo "${ECHO_T}yes" >&6
22785 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22786 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22787 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22788 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22789 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22791 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22792 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22793 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22794 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22795 echo "${ECHO_T}$PANGOX_LIBS" >&6
22799 ## If we have a custom action on failure, don't print errors, but
22800 ## do set a variable so people can do so.
22801 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22808 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22809 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22813 if test $succeeded = yes; then
22815 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22816 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22820 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22821 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22822 { (exit 1); exit 1; }; }
22830 if test -z "$PKG_CONFIG"; then
22831 # Extract the first word of "pkg-config", so it can be a program name with args.
22832 set dummy pkg
-config; ac_word
=$2
22833 echo "$as_me:$LINENO: checking for $ac_word" >&5
22834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22835 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 case $PKG_CONFIG in
22840 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22844 for as_dir
in $PATH
22847 test -z "$as_dir" && as_dir
=.
22848 for ac_exec_ext
in '' $ac_executable_extensions; do
22849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22850 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22857 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22861 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22863 if test -n "$PKG_CONFIG"; then
22864 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22865 echo "${ECHO_T}$PKG_CONFIG" >&6
22867 echo "$as_me:$LINENO: result: no" >&5
22868 echo "${ECHO_T}no" >&6
22873 if test "$PKG_CONFIG" = "no" ; then
22874 echo "*** The pkg-config script could not be found. Make sure it is"
22875 echo "*** in your path, or set the PKG_CONFIG environment variable"
22876 echo "*** to the full path to pkg-config."
22877 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22879 PKG_CONFIG_MIN_VERSION
=0.9.0
22880 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22881 echo "$as_me:$LINENO: checking for pangoft2" >&5
22882 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22884 if $PKG_CONFIG --exists "pangoft2" ; then
22885 echo "$as_me:$LINENO: result: yes" >&5
22886 echo "${ECHO_T}yes" >&6
22889 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22890 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22891 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22892 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22893 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22895 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22896 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22897 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22898 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22899 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22903 ## If we have a custom action on failure, don't print errors, but
22904 ## do set a variable so people can do so.
22905 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22912 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22913 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22917 if test $succeeded = yes; then
22919 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22920 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22924 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22925 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22926 wxUSE_PRINTING_ARCHITECTURE
="no"
22934 if test -z "$PKG_CONFIG"; then
22935 # Extract the first word of "pkg-config", so it can be a program name with args.
22936 set dummy pkg
-config; ac_word
=$2
22937 echo "$as_me:$LINENO: checking for $ac_word" >&5
22938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22939 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22940 echo $ECHO_N "(cached) $ECHO_C" >&6
22942 case $PKG_CONFIG in
22944 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22948 for as_dir
in $PATH
22951 test -z "$as_dir" && as_dir
=.
22952 for ac_exec_ext
in '' $ac_executable_extensions; do
22953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22954 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22961 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22965 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22967 if test -n "$PKG_CONFIG"; then
22968 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22969 echo "${ECHO_T}$PKG_CONFIG" >&6
22971 echo "$as_me:$LINENO: result: no" >&5
22972 echo "${ECHO_T}no" >&6
22977 if test "$PKG_CONFIG" = "no" ; then
22978 echo "*** The pkg-config script could not be found. Make sure it is"
22979 echo "*** in your path, or set the PKG_CONFIG environment variable"
22980 echo "*** to the full path to pkg-config."
22981 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22983 PKG_CONFIG_MIN_VERSION
=0.9.0
22984 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22985 echo "$as_me:$LINENO: checking for pangoxft" >&5
22986 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22988 if $PKG_CONFIG --exists "pangoxft" ; then
22989 echo "$as_me:$LINENO: result: yes" >&5
22990 echo "${ECHO_T}yes" >&6
22993 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22994 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22995 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22996 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22997 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22999 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23000 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23001 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23002 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23003 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23007 ## If we have a custom action on failure, don't print errors, but
23008 ## do set a variable so people can do so.
23009 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23016 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23017 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23021 if test $succeeded = yes; then
23023 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23028 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23029 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23036 wxUSE_UNIVERSAL
="yes"
23038 if test "$wxUSE_NANOX" = "yes"; then
23039 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23040 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"
23041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23043 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
23046 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23051 if test "$wxUSE_MOTIF" = 1; then
23052 if test "$no_x" = yes; then
23053 # Not all programs may use this symbol, but it does not hurt to define it.
23055 cat >>confdefs.h
<<\_ACEOF
23056 #define X_DISPLAY_MISSING 1
23059 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23061 if test -n "$x_includes"; then
23062 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23065 # It would also be nice to do this for all -L options, not just this one.
23066 if test -n "$x_libraries"; then
23067 X_LIBS
="$X_LIBS -L$x_libraries"
23068 # For Solaris; some versions of Sun CC require a space after -R and
23069 # others require no space. Words are not sufficient . . . .
23070 case `(uname -sr) 2>/dev/null` in
23072 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23073 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23074 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23075 cat >conftest.
$ac_ext <<_ACEOF
23076 #line $LINENO "configure"
23079 cat confdefs.h
>>conftest.
$ac_ext
23080 cat >>conftest.
$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23091 rm -f conftest.
$ac_objext conftest
$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try
='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23111 if test $ac_R_nospace = yes; then
23112 echo "$as_me:$LINENO: result: no" >&5
23113 echo "${ECHO_T}no" >&6
23114 X_LIBS
="$X_LIBS -R$x_libraries"
23116 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23117 cat >conftest.
$ac_ext <<_ACEOF
23118 #line $LINENO "configure"
23121 cat confdefs.h
>>conftest.
$ac_ext
23122 cat >>conftest.
$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23133 rm -f conftest.
$ac_objext conftest
$ac_exeext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23135 (eval $ac_link) 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try
='test -s conftest$ac_exeext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.
$ac_ext >&5
23152 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23153 if test $ac_R_space = yes; then
23154 echo "$as_me:$LINENO: result: yes" >&5
23155 echo "${ECHO_T}yes" >&6
23156 X_LIBS
="$X_LIBS -R $x_libraries"
23158 echo "$as_me:$LINENO: result: neither works" >&5
23159 echo "${ECHO_T}neither works" >&6
23162 LIBS
=$ac_xsave_LIBS
23166 # Check for system-dependent libraries X programs must link with.
23167 # Do this before checking for the system-independent R6 libraries
23168 # (-lICE), since we may need -lsocket or whatever for X linking.
23170 if test "$ISC" = yes; then
23171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23173 # Martyn Johnson says this is needed for Ultrix, if the X
23174 # libraries were built with DECnet support. And Karl Berry says
23175 # the Alpha needs dnet_stub (dnet does not exist).
23176 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23177 cat >conftest.
$ac_ext <<_ACEOF
23178 #line $LINENO "configure"
23181 cat confdefs.h
>>conftest.
$ac_ext
23182 cat >>conftest.
$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23185 /* Override any gcc2 internal prototype to avoid an error. */
23189 /* We use char because int might match the return type of a gcc2
23190 builtin and then its argument prototype would still apply. */
23191 char XOpenDisplay ();
23200 rm -f conftest.
$ac_objext conftest
$ac_exeext
23201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23202 (eval $ac_link) 2>&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try
='test -s conftest$ac_exeext'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23214 echo "$as_me: failed program was:" >&5
23215 sed 's/^/| /' conftest.
$ac_ext >&5
23217 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23218 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23219 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 ac_check_lib_save_LIBS
=$LIBS
23223 LIBS
="-ldnet $LIBS"
23224 cat >conftest.
$ac_ext <<_ACEOF
23225 #line $LINENO "configure"
23228 cat confdefs.h
>>conftest.
$ac_ext
23229 cat >>conftest.
$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23232 /* Override any gcc2 internal prototype to avoid an error. */
23236 /* We use char because int might match the return type of a gcc2
23237 builtin and then its argument prototype would still apply. */
23247 rm -f conftest.
$ac_objext conftest
$ac_exeext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23249 (eval $ac_link) 2>&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } &&
23253 { ac_try
='test -s conftest$ac_exeext'
23254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23255 (eval $ac_try) 2>&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 ac_cv_lib_dnet_dnet_ntoa
=yes
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.
$ac_ext >&5
23264 ac_cv_lib_dnet_dnet_ntoa
=no
23266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23267 LIBS
=$ac_check_lib_save_LIBS
23269 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23270 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23271 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23275 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23276 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23277 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23278 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23281 ac_check_lib_save_LIBS
=$LIBS
23282 LIBS
="-ldnet_stub $LIBS"
23283 cat >conftest.
$ac_ext <<_ACEOF
23284 #line $LINENO "configure"
23287 cat confdefs.h
>>conftest.
$ac_ext
23288 cat >>conftest.
$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23291 /* Override any gcc2 internal prototype to avoid an error. */
23295 /* We use char because int might match the return type of a gcc2
23296 builtin and then its argument prototype would still apply. */
23306 rm -f conftest.
$ac_objext conftest
$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try
='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.
$ac_ext >&5
23323 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23325 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23326 LIBS
=$ac_check_lib_save_LIBS
23328 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23329 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23330 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23331 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23336 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23337 LIBS
="$ac_xsave_LIBS"
23339 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23340 # to get the SysV transport functions.
23341 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23343 # The nsl library prevents programs from opening the X display
23344 # on Irix 5.2, according to T.E. Dickey.
23345 # The functions gethostbyname, getservbyname, and inet_addr are
23346 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23347 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23348 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23349 if test "${ac_cv_func_gethostbyname+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23352 cat >conftest.
$ac_ext <<_ACEOF
23353 #line $LINENO "configure"
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 /* System header to define __stub macros and hopefully few prototypes,
23360 which can conflict with char gethostbyname (); below.
23361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23362 <limits.h> exists even on freestanding compilers. */
23364 # include <limits.h>
23366 # include <assert.h>
23368 /* Override any gcc2 internal prototype to avoid an error. */
23373 /* We use char because int might match the return type of a gcc2
23374 builtin and then its argument prototype would still apply. */
23375 char gethostbyname ();
23376 /* The GNU C library defines this for functions which it implements
23377 to always fail with ENOSYS. Some functions are actually named
23378 something starting with __ and the normal name is an alias. */
23379 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23382 char (*f) () = gethostbyname;
23391 return f != gethostbyname;
23396 rm -f conftest.
$ac_objext conftest
$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } &&
23402 { ac_try
='test -s conftest$ac_exeext'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; }; then
23408 ac_cv_func_gethostbyname
=yes
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.
$ac_ext >&5
23413 ac_cv_func_gethostbyname
=no
23415 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23417 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23418 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23420 if test $ac_cv_func_gethostbyname = no
; then
23421 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23422 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23423 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23424 echo $ECHO_N "(cached) $ECHO_C" >&6
23426 ac_check_lib_save_LIBS
=$LIBS
23428 cat >conftest.
$ac_ext <<_ACEOF
23429 #line $LINENO "configure"
23432 cat confdefs.h
>>conftest.
$ac_ext
23433 cat >>conftest.
$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23436 /* Override any gcc2 internal prototype to avoid an error. */
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23442 char gethostbyname ();
23451 rm -f conftest.
$ac_objext conftest
$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); } &&
23457 { ac_try
='test -s conftest$ac_exeext'
23458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23459 (eval $ac_try) 2>&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); }; }; then
23463 ac_cv_lib_nsl_gethostbyname
=yes
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.
$ac_ext >&5
23468 ac_cv_lib_nsl_gethostbyname
=no
23470 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23471 LIBS
=$ac_check_lib_save_LIBS
23473 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23474 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23475 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23479 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23480 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23481 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23482 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 ac_check_lib_save_LIBS
=$LIBS
23487 cat >conftest.
$ac_ext <<_ACEOF
23488 #line $LINENO "configure"
23491 cat confdefs.h
>>conftest.
$ac_ext
23492 cat >>conftest.
$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23495 /* Override any gcc2 internal prototype to avoid an error. */
23499 /* We use char because int might match the return type of a gcc2
23500 builtin and then its argument prototype would still apply. */
23501 char gethostbyname ();
23510 rm -f conftest.
$ac_objext conftest
$ac_exeext
23511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23512 (eval $ac_link) 2>&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } &&
23516 { ac_try
='test -s conftest$ac_exeext'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; }; then
23522 ac_cv_lib_bsd_gethostbyname
=yes
23524 echo "$as_me: failed program was:" >&5
23525 sed 's/^/| /' conftest.
$ac_ext >&5
23527 ac_cv_lib_bsd_gethostbyname
=no
23529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23530 LIBS
=$ac_check_lib_save_LIBS
23532 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23533 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23534 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23541 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23542 # socket/setsockopt and other routines are undefined under SCO ODT
23543 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23544 # on later versions), says Simon Leinen: it contains gethostby*
23545 # variants that don't use the name server (or something). -lsocket
23546 # must be given before -lnsl if both are needed. We assume that
23547 # if connect needs -lnsl, so does gethostbyname.
23548 echo "$as_me:$LINENO: checking for connect" >&5
23549 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23550 if test "${ac_cv_func_connect+set}" = set; then
23551 echo $ECHO_N "(cached) $ECHO_C" >&6
23553 cat >conftest.
$ac_ext <<_ACEOF
23554 #line $LINENO "configure"
23557 cat confdefs.h
>>conftest.
$ac_ext
23558 cat >>conftest.
$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 /* System header to define __stub macros and hopefully few prototypes,
23561 which can conflict with char connect (); below.
23562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23563 <limits.h> exists even on freestanding compilers. */
23565 # include <limits.h>
23567 # include <assert.h>
23569 /* Override any gcc2 internal prototype to avoid an error. */
23574 /* We use char because int might match the return type of a gcc2
23575 builtin and then its argument prototype would still apply. */
23577 /* The GNU C library defines this for functions which it implements
23578 to always fail with ENOSYS. Some functions are actually named
23579 something starting with __ and the normal name is an alias. */
23580 #if defined (__stub_connect) || defined (__stub___connect)
23583 char (*f) () = connect;
23592 return f != connect;
23597 rm -f conftest.
$ac_objext conftest
$ac_exeext
23598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23599 (eval $ac_link) 2>&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } &&
23603 { ac_try
='test -s conftest$ac_exeext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 ac_cv_func_connect
=yes
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.
$ac_ext >&5
23614 ac_cv_func_connect
=no
23616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23618 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23619 echo "${ECHO_T}$ac_cv_func_connect" >&6
23621 if test $ac_cv_func_connect = no
; then
23622 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23623 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23624 if test "${ac_cv_lib_socket_connect+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 ac_check_lib_save_LIBS
=$LIBS
23628 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23629 cat >conftest.
$ac_ext <<_ACEOF
23630 #line $LINENO "configure"
23633 cat confdefs.h
>>conftest.
$ac_ext
23634 cat >>conftest.
$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23637 /* Override any gcc2 internal prototype to avoid an error. */
23641 /* We use char because int might match the return type of a gcc2
23642 builtin and then its argument prototype would still apply. */
23652 rm -f conftest.
$ac_objext conftest
$ac_exeext
23653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23654 (eval $ac_link) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); } &&
23658 { ac_try
='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 ac_cv_lib_socket_connect
=yes
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23669 ac_cv_lib_socket_connect
=no
23671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23672 LIBS
=$ac_check_lib_save_LIBS
23674 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23675 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23676 if test $ac_cv_lib_socket_connect = yes; then
23677 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23682 # Guillermo Gomez says -lposix is necessary on A/UX.
23683 echo "$as_me:$LINENO: checking for remove" >&5
23684 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23685 if test "${ac_cv_func_remove+set}" = set; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 cat >conftest.
$ac_ext <<_ACEOF
23689 #line $LINENO "configure"
23692 cat confdefs.h
>>conftest.
$ac_ext
23693 cat >>conftest.
$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 /* System header to define __stub macros and hopefully few prototypes,
23696 which can conflict with char remove (); below.
23697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23698 <limits.h> exists even on freestanding compilers. */
23700 # include <limits.h>
23702 # include <assert.h>
23704 /* Override any gcc2 internal prototype to avoid an error. */
23709 /* We use char because int might match the return type of a gcc2
23710 builtin and then its argument prototype would still apply. */
23712 /* The GNU C library defines this for functions which it implements
23713 to always fail with ENOSYS. Some functions are actually named
23714 something starting with __ and the normal name is an alias. */
23715 #if defined (__stub_remove) || defined (__stub___remove)
23718 char (*f) () = remove;
23727 return f != remove;
23732 rm -f conftest.
$ac_objext conftest
$ac_exeext
23733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23734 (eval $ac_link) 2>&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } &&
23738 { ac_try
='test -s conftest$ac_exeext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 ac_cv_func_remove
=yes
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.
$ac_ext >&5
23749 ac_cv_func_remove
=no
23751 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23753 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23754 echo "${ECHO_T}$ac_cv_func_remove" >&6
23756 if test $ac_cv_func_remove = no
; then
23757 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23758 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23759 if test "${ac_cv_lib_posix_remove+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 ac_check_lib_save_LIBS
=$LIBS
23763 LIBS
="-lposix $LIBS"
23764 cat >conftest.
$ac_ext <<_ACEOF
23765 #line $LINENO "configure"
23768 cat confdefs.h
>>conftest.
$ac_ext
23769 cat >>conftest.
$ac_ext <<_ACEOF
23770 /* end confdefs.h. */
23772 /* Override any gcc2 internal prototype to avoid an error. */
23776 /* We use char because int might match the return type of a gcc2
23777 builtin and then its argument prototype would still apply. */
23787 rm -f conftest.
$ac_objext conftest
$ac_exeext
23788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23789 (eval $ac_link) 2>&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try
='test -s conftest$ac_exeext'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; }; then
23799 ac_cv_lib_posix_remove
=yes
23801 echo "$as_me: failed program was:" >&5
23802 sed 's/^/| /' conftest.
$ac_ext >&5
23804 ac_cv_lib_posix_remove
=no
23806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23807 LIBS
=$ac_check_lib_save_LIBS
23809 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23810 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23811 if test $ac_cv_lib_posix_remove = yes; then
23812 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23817 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23818 echo "$as_me:$LINENO: checking for shmat" >&5
23819 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23820 if test "${ac_cv_func_shmat+set}" = set; then
23821 echo $ECHO_N "(cached) $ECHO_C" >&6
23823 cat >conftest.
$ac_ext <<_ACEOF
23824 #line $LINENO "configure"
23827 cat confdefs.h
>>conftest.
$ac_ext
23828 cat >>conftest.
$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 /* System header to define __stub macros and hopefully few prototypes,
23831 which can conflict with char shmat (); below.
23832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23833 <limits.h> exists even on freestanding compilers. */
23835 # include <limits.h>
23837 # include <assert.h>
23839 /* Override any gcc2 internal prototype to avoid an error. */
23844 /* We use char because int might match the return type of a gcc2
23845 builtin and then its argument prototype would still apply. */
23847 /* The GNU C library defines this for functions which it implements
23848 to always fail with ENOSYS. Some functions are actually named
23849 something starting with __ and the normal name is an alias. */
23850 #if defined (__stub_shmat) || defined (__stub___shmat)
23853 char (*f) () = shmat;
23867 rm -f conftest.
$ac_objext conftest
$ac_exeext
23868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23869 (eval $ac_link) 2>&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try
='test -s conftest$ac_exeext'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 ac_cv_func_shmat
=yes
23881 echo "$as_me: failed program was:" >&5
23882 sed 's/^/| /' conftest.
$ac_ext >&5
23884 ac_cv_func_shmat
=no
23886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23888 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23889 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23891 if test $ac_cv_func_shmat = no
; then
23892 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23893 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23894 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 ac_check_lib_save_LIBS
=$LIBS
23899 cat >conftest.
$ac_ext <<_ACEOF
23900 #line $LINENO "configure"
23903 cat confdefs.h
>>conftest.
$ac_ext
23904 cat >>conftest.
$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23907 /* Override any gcc2 internal prototype to avoid an error. */
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23922 rm -f conftest.
$ac_objext conftest
$ac_exeext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try
='test -s conftest$ac_exeext'
23929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930 (eval $ac_try) 2>&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); }; }; then
23934 ac_cv_lib_ipc_shmat
=yes
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.
$ac_ext >&5
23939 ac_cv_lib_ipc_shmat
=no
23941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23942 LIBS
=$ac_check_lib_save_LIBS
23944 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23945 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23946 if test $ac_cv_lib_ipc_shmat = yes; then
23947 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23953 # Check for libraries that X11R6 Xt/Xaw programs need.
23954 ac_save_LDFLAGS
=$LDFLAGS
23955 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23956 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23957 # check for ICE first), but we must link in the order -lSM -lICE or
23958 # we get undefined symbols. So assume we have SM if we have ICE.
23959 # These have to be linked with before -lX11, unlike the other
23960 # libraries we check for below, so use a different variable.
23961 # John Interrante, Karl Berry
23962 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23963 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23964 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23965 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 ac_check_lib_save_LIBS
=$LIBS
23968 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23969 cat >conftest.
$ac_ext <<_ACEOF
23970 #line $LINENO "configure"
23973 cat confdefs.h
>>conftest.
$ac_ext
23974 cat >>conftest.
$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23977 /* Override any gcc2 internal prototype to avoid an error. */
23981 /* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23983 char IceConnectionNumber ();
23987 IceConnectionNumber ();
23992 rm -f conftest.
$ac_objext conftest
$ac_exeext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try
='test -s conftest$ac_exeext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 ac_cv_lib_ICE_IceConnectionNumber
=yes
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.
$ac_ext >&5
24009 ac_cv_lib_ICE_IceConnectionNumber
=no
24011 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24012 LIBS
=$ac_check_lib_save_LIBS
24014 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24015 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24016 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24017 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24020 LDFLAGS
=$ac_save_LDFLAGS
24025 if test "$no_x" = "yes"; then
24026 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24027 echo "$as_me: error: X11 not found" >&2;}
24028 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24031 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24032 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24033 AFMINSTALL
=afminstall
24034 COMPILED_X_PROGRAM
=0
24036 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24037 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24040 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24042 if test -f "$ac_dir/Xm/Xm.h"; then
24043 ac_find_includes
=$ac_dir
24048 if test "$ac_find_includes" != "" ; then
24049 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24050 echo "${ECHO_T}found in $ac_find_includes" >&6
24052 if test "x$ac_find_includes" = "x/usr/include"; then
24053 ac_path_to_include
=""
24055 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24057 if test $result = 0; then
24058 ac_path_to_include
=""
24060 ac_path_to_include
=" -I$ac_find_includes"
24064 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24066 cat >conftest.
$ac_ext <<_ACEOF
24067 #line $LINENO "configure"
24070 cat confdefs.h
>>conftest.
$ac_ext
24071 cat >>conftest.
$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24081 version = xmUseVersion;
24087 rm -f conftest.
$ac_objext
24088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24089 (eval $ac_compile) 2>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } &&
24093 { ac_try
='test -s conftest.$ac_objext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24100 echo "$as_me:$LINENO: result: found in default search path" >&5
24101 echo "${ECHO_T}found in default search path" >&6
24102 COMPILED_X_PROGRAM
=1
24105 echo "$as_me: failed program was:" >&5
24106 sed 's/^/| /' conftest.
$ac_ext >&5
24109 echo "$as_me:$LINENO: result: no" >&5
24110 echo "${ECHO_T}no" >&6
24111 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24112 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24113 { (exit 1); exit 1; }; }
24117 rm -f conftest.
$ac_objext conftest.
$ac_ext
24120 if test "$COMPILED_X_PROGRAM" = 0; then
24121 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24122 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24125 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24127 for ac_extension
in a so sl dylib
; do
24128 if test -f "$ac_dir/libXm.$ac_extension"; then
24129 ac_find_libraries
=$ac_dir
24135 if test "$ac_find_libraries" != "" ; then
24136 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24137 echo "${ECHO_T}found at $ac_find_libraries" >&6
24140 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24142 if test $result = 0; then
24145 ac_path_to_link
=" -L$ac_find_libraries"
24148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24150 save_CFLAGS
=$CFLAGS
24151 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24153 cat >conftest.
$ac_ext <<_ACEOF
24154 #line $LINENO "configure"
24157 cat confdefs.h
>>conftest.
$ac_ext
24158 cat >>conftest.
$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24168 version = xmUseVersion;
24174 rm -f conftest.
$ac_objext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24176 (eval $ac_compile) 2>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try
='test -s conftest.$ac_objext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24187 echo "$as_me:$LINENO: result: found in default search path" >&5
24188 echo "${ECHO_T}found in default search path" >&6
24189 COMPILED_X_PROGRAM
=1
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.
$ac_ext >&5
24196 echo "$as_me:$LINENO: result: no" >&5
24197 echo "${ECHO_T}no" >&6
24198 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24199 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24200 { (exit 1); exit 1; }; }
24204 rm -f conftest.
$ac_objext conftest.
$ac_ext
24206 CFLAGS
=$save_CFLAGS
24210 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24211 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24215 for libp
in "" " -lXp"; do
24216 if test "$libs_found" = "0"; then
24217 for libsm_ice
in "" " -lSM -lICE"; do
24218 if test "$libs_found" = "0"; then
24220 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24221 save_CFLAGS
=$CFLAGS
24222 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24224 cat >conftest.
$ac_ext <<_ACEOF
24225 #line $LINENO "configure"
24228 cat confdefs.h
>>conftest.
$ac_ext
24229 cat >>conftest.
$ac_ext <<_ACEOF
24230 /* end confdefs.h. */
24233 #include <Xm/List.h>
24239 XmString string = NULL;
24242 XmListAddItem(w, string, position);
24248 rm -f conftest.
$ac_objext conftest
$ac_exeext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24250 (eval $ac_link) 2>&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } &&
24254 { ac_try
='test -s conftest$ac_exeext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24262 libsm_ice_link
="$libsm_ice"
24263 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24264 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.
$ac_ext >&5
24274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24277 CFLAGS
=$save_CFLAGS
24283 if test "$libs_found" = "0"; then
24284 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24285 echo "${ECHO_T}can't find the right libraries" >&6
24286 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24287 echo "$as_me: error: can't link a simple motif program" >&2;}
24288 { (exit 1); exit 1; }; }
24291 save_CFLAGS
=$CFLAGS
24292 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24293 echo "$as_me:$LINENO: checking for Motif 2" >&5
24294 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24295 cat >conftest.
$ac_ext <<_ACEOF
24296 #line $LINENO "configure"
24299 cat confdefs.h
>>conftest.
$ac_ext
24300 cat >>conftest.
$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24309 #if XmVersion < 2000
24310 #error "Not Motif 2"
24317 rm -f conftest.
$ac_objext
24318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24319 (eval $ac_compile) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } &&
24323 { ac_try
='test -s conftest.$ac_objext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24330 cat >>confdefs.h
<<\_ACEOF
24331 #define __WXMOTIF20__ 1
24334 echo "$as_me:$LINENO: result: found" >&5
24335 echo "${ECHO_T}found" >&6
24338 echo "$as_me: failed program was:" >&5
24339 sed 's/^/| /' conftest.
$ac_ext >&5
24342 cat >>confdefs.h
<<\_ACEOF
24343 #define __WXMOTIF20__ 0
24346 echo "$as_me:$LINENO: result: not found" >&5
24347 echo "${ECHO_T}not found" >&6
24350 rm -f conftest.
$ac_objext conftest.
$ac_ext
24351 CFLAGS
=$save_CFLAGS
24353 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24354 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24359 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24360 if test "$wxUSE_LIBXPM" = "sys"; then
24361 echo "$as_me:$LINENO: checking for Xpm library" >&5
24362 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24365 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24367 for ac_extension
in a so sl dylib
; do
24368 if test -f "$ac_dir/libXpm.$ac_extension"; then
24369 ac_find_libraries
=$ac_dir
24375 if test "$ac_find_libraries" != "" ; then
24377 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24379 if test $result = 0; then
24382 ac_path_to_link
=" -L$ac_find_libraries"
24385 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24386 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24387 echo "${ECHO_T}found at $ac_find_libraries" >&6
24389 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24390 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24391 if test "${wx_cv_x11_xpm_h+set}" = set; then
24392 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 save_CFLAGS
=$CFLAGS
24396 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24398 cat >conftest.
$ac_ext <<_ACEOF
24399 #line $LINENO "configure"
24402 cat confdefs.h
>>conftest.
$ac_ext
24403 cat >>conftest.
$ac_ext <<_ACEOF
24404 /* end confdefs.h. */
24406 #include <X11/xpm.h>
24413 version = XpmLibraryVersion();
24419 rm -f conftest.
$ac_objext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try
='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 wx_cv_x11_xpm_h
=yes
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.
$ac_ext >&5
24439 rm -f conftest.
$ac_objext conftest.
$ac_ext
24441 CFLAGS
=$save_CFLAGS
24445 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24446 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24448 if test $wx_cv_x11_xpm_h = "yes"; then
24449 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
24450 cat >>confdefs.h
<<\_ACEOF
24451 #define wxHAVE_LIB_XPM 1
24455 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24456 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24462 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24463 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24464 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 ac_check_lib_save_LIBS
=$LIBS
24468 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24469 cat >conftest.
$ac_ext <<_ACEOF
24470 #line $LINENO "configure"
24473 cat confdefs.h
>>conftest.
$ac_ext
24474 cat >>conftest.
$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24477 /* Override any gcc2 internal prototype to avoid an error. */
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483 char XShapeQueryExtension ();
24487 XShapeQueryExtension ();
24492 rm -f conftest.
$ac_objext conftest
$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try
='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_Xext_XShapeQueryExtension
=yes
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.
$ac_ext >&5
24509 ac_cv_lib_Xext_XShapeQueryExtension
=no
24511 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24512 LIBS
=$ac_check_lib_save_LIBS
24514 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24515 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24516 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24518 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
24524 if test "$wxHAVE_XEXT_LIB" = 1; then
24525 save_CFLAGS
="$CFLAGS"
24526 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24528 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24529 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24530 cat >conftest.
$ac_ext <<_ACEOF
24531 #line $LINENO "configure"
24534 cat confdefs.h
>>conftest.
$ac_ext
24535 cat >>conftest.
$ac_ext <<_ACEOF
24536 /* end confdefs.h. */
24538 #include <X11/Xlib.h>
24539 #include <X11/extensions/shape.h>
24545 int dummy1, dummy2;
24546 XShapeQueryExtension((Display*)NULL,
24547 (int*)NULL, (int*)NULL);
24553 rm -f conftest.
$ac_objext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24555 (eval $ac_compile) 2>&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try
='test -s conftest.$ac_objext'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; }; then
24566 cat >>confdefs.h
<<\_ACEOF
24567 #define HAVE_XSHAPE 1
24570 echo "$as_me:$LINENO: result: found" >&5
24571 echo "${ECHO_T}found" >&6
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.
$ac_ext >&5
24578 echo "$as_me:$LINENO: result: not found" >&5
24579 echo "${ECHO_T}not found" >&6
24582 rm -f conftest.
$ac_objext conftest.
$ac_ext
24583 CFLAGS
="$save_CFLAGS"
24588 if test "$wxUSE_MAC" = 1; then
24589 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24590 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24591 if test "$GCC" = yes; then
24592 echo "$as_me:$LINENO: result: gcc" >&5
24593 echo "${ECHO_T}gcc" >&6
24594 CPPFLAGS_PASCAL
="-fpascal-strings"
24595 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24596 echo "$as_me:$LINENO: result: xlc" >&5
24597 echo "${ECHO_T}xlc" >&6
24598 CPPFLAGS_PASCAL
="-qmacpstr"
24600 echo "$as_me:$LINENO: result: none" >&5
24601 echo "${ECHO_T}none" >&6
24604 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24606 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24609 WXBASEPORT
="_carbon"
24612 if test "$wxUSE_COCOA" = 1; then
24613 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24618 if test "$wxUSE_PM" = 1; then
24623 if test "$TOOLKIT" = "PM" ; then
24626 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24629 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24631 if test "$wxUSE_UNIVERSAL" = "yes"; then
24632 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24634 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24635 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24637 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24638 if test "$wxUSE_X11" = 1; then
24639 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24641 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24643 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24646 ALL_OBJECTS
="\$(GUIOBJS)"
24647 ALL_SOURCES
="\$(ALL_SOURCES)"
24648 ALL_HEADERS
="\$(ALL_HEADERS)"
24651 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24653 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24654 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24657 if test "$wxUSE_HTML" = "yes"; then
24658 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24661 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24662 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24664 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24665 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24667 if test "$wxUSE_LIBPNG" = "builtin" ; then
24668 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24671 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24672 DISTDIR
="wx\$(TOOLKIT)"
24678 if test "$USE_WIN32" = 1 ; then
24679 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24680 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24684 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24685 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24688 ALL_SOURCES
="\$(ALL_SOURCES)"
24689 ALL_HEADERS
="\$(ALL_HEADERS)"
24691 PORT_FILES
="\${top_srcdir}/src/files.lst"
24693 GUIDIST
="BASE_DIST"
24703 if test "$TOOLKIT" != "MSW" ; then
24705 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24707 if test "${ac_cv_header_sql_h+set}" = set; then
24708 echo "$as_me:$LINENO: checking for sql.h" >&5
24709 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24710 if test "${ac_cv_header_sql_h+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24714 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24716 # Is the header compilable?
24717 echo "$as_me:$LINENO: checking sql.h usability" >&5
24718 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24719 cat >conftest.
$ac_ext <<_ACEOF
24720 #line $LINENO "configure"
24723 cat confdefs.h
>>conftest.
$ac_ext
24724 cat >>conftest.
$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 $ac_includes_default
24729 rm -f conftest.
$ac_objext
24730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24731 (eval $ac_compile) 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try
='test -s conftest.$ac_objext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_header_compiler
=yes
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.
$ac_ext >&5
24746 ac_header_compiler
=no
24748 rm -f conftest.
$ac_objext conftest.
$ac_ext
24749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24750 echo "${ECHO_T}$ac_header_compiler" >&6
24752 # Is the header present?
24753 echo "$as_me:$LINENO: checking sql.h presence" >&5
24754 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24755 cat >conftest.
$ac_ext <<_ACEOF
24756 #line $LINENO "configure"
24759 cat confdefs.h
>>conftest.
$ac_ext
24760 cat >>conftest.
$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24765 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24767 grep -v '^ *+' conftest.er1
>conftest.err
24769 cat conftest.err
>&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } >/dev
/null
; then
24772 if test -s conftest.err
; then
24773 ac_cpp_err
=$ac_c_preproc_warn_flag
24780 if test -z "$ac_cpp_err"; then
24781 ac_header_preproc
=yes
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.
$ac_ext >&5
24786 ac_header_preproc
=no
24788 rm -f conftest.err conftest.
$ac_ext
24789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24790 echo "${ECHO_T}$ac_header_preproc" >&6
24792 # So? What about this header?
24793 case $ac_header_compiler:$ac_header_preproc in
24795 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24796 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24797 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24798 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24801 ## ------------------------------------ ##
24802 ## Report this to bug-autoconf@gnu.org. ##
24803 ## ------------------------------------ ##
24806 sed "s/^/$as_me: WARNING: /" >&2
24809 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24810 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24811 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24812 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24813 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24814 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24817 ## ------------------------------------ ##
24818 ## Report this to bug-autoconf@gnu.org. ##
24819 ## ------------------------------------ ##
24822 sed "s/^/$as_me: WARNING: /" >&2
24825 echo "$as_me:$LINENO: checking for sql.h" >&5
24826 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24827 if test "${ac_cv_header_sql_h+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 ac_cv_header_sql_h
=$ac_header_preproc
24832 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24833 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24836 if test $ac_cv_header_sql_h = yes; then
24841 if test "x$found_sql_h" = "x1" ; then
24842 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24843 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24844 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 ac_check_lib_save_LIBS
=$LIBS
24848 LIBS
="-liodbc $LIBS"
24849 cat >conftest.
$ac_ext <<_ACEOF
24850 #line $LINENO "configure"
24853 cat confdefs.h
>>conftest.
$ac_ext
24854 cat >>conftest.
$ac_ext <<_ACEOF
24855 /* end confdefs.h. */
24857 /* Override any gcc2 internal prototype to avoid an error. */
24861 /* We use char because int might match the return type of a gcc2
24862 builtin and then its argument prototype would still apply. */
24863 char SQLAllocEnv ();
24872 rm -f conftest.
$ac_objext conftest
$ac_exeext
24873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24874 (eval $ac_link) 2>&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try
='test -s conftest$ac_exeext'
24879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24880 (eval $ac_try) 2>&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); }; }; then
24884 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24886 echo "$as_me: failed program was:" >&5
24887 sed 's/^/| /' conftest.
$ac_ext >&5
24889 ac_cv_lib_iodbc_SQLAllocEnv
=no
24891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24892 LIBS
=$ac_check_lib_save_LIBS
24894 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24895 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24896 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24897 ODBC_LINK
=" -liodbc"
24900 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24901 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24902 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 ac_check_lib_save_LIBS
=$LIBS
24906 LIBS
="-lunixodbc $LIBS"
24907 cat >conftest.
$ac_ext <<_ACEOF
24908 #line $LINENO "configure"
24911 cat confdefs.h
>>conftest.
$ac_ext
24912 cat >>conftest.
$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24915 /* Override any gcc2 internal prototype to avoid an error. */
24919 /* We use char because int might match the return type of a gcc2
24920 builtin and then its argument prototype would still apply. */
24921 char SQLAllocEnv ();
24930 rm -f conftest.
$ac_objext conftest
$ac_exeext
24931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24932 (eval $ac_link) 2>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } &&
24936 { ac_try
='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.
$ac_ext >&5
24947 ac_cv_lib_unixodbc_SQLAllocEnv
=no
24949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24950 LIBS
=$ac_check_lib_save_LIBS
24952 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24953 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24954 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24955 ODBC_LINK
=" -lunixodbc"
24958 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24959 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24960 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24963 ac_check_lib_save_LIBS
=$LIBS
24964 LIBS
="-lodbc $LIBS"
24965 cat >conftest.
$ac_ext <<_ACEOF
24966 #line $LINENO "configure"
24969 cat confdefs.h
>>conftest.
$ac_ext
24970 cat >>conftest.
$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24973 /* Override any gcc2 internal prototype to avoid an error. */
24977 /* We use char because int might match the return type of a gcc2
24978 builtin and then its argument prototype would still apply. */
24979 char SQLAllocEnv ();
24988 rm -f conftest.
$ac_objext conftest
$ac_exeext
24989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24990 (eval $ac_link) 2>&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try
='test -s conftest$ac_exeext'
24995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996 (eval $ac_try) 2>&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); }; }; then
25000 ac_cv_lib_odbc_SQLAllocEnv
=yes
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.
$ac_ext >&5
25005 ac_cv_lib_odbc_SQLAllocEnv
=no
25007 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25008 LIBS
=$ac_check_lib_save_LIBS
25010 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25011 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25012 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25013 ODBC_LINK
=" -lodbc"
25023 if test "x$ODBC_LINK" = "x" ; then
25024 if test "$wxUSE_ODBC" = "sys" ; then
25025 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25026 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25027 { (exit 1); exit 1; }; }
25029 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25030 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25037 if test "$wxUSE_ODBC" != "no" ; then
25038 cat >>confdefs.h
<<\_ACEOF
25039 #define wxUSE_ODBC 1
25042 if test "$wxUSE_ODBC" = "builtin" ; then
25043 cat >>confdefs.h
<<\_ACEOF
25044 #define wxUSE_BUILTIN_IODBC 1
25048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25050 WXODBCFLAG
="-D_IODBC_"
25054 if test "$wxUSE_REGEX" = "builtin" ; then
25055 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25057 if test "$wxUSE_ZLIB" = "builtin" ; then
25058 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25063 if test "$wxUSE_OPENGL" = "yes"; then
25064 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25065 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25066 elif test "$wxUSE_MSW" = 1; then
25067 OPENGL_LIBS
="-lopengl32 -lglu32"
25072 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25074 if test -f "$ac_dir/GL/gl.h"; then
25075 ac_find_includes
=$ac_dir
25080 if test "$ac_find_includes" != "" ; then
25081 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25082 echo "${ECHO_T}found in $ac_find_includes" >&6
25084 if test "x$ac_find_includes" = "x/usr/include"; then
25085 ac_path_to_include
=""
25087 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25089 if test $result = 0; then
25090 ac_path_to_include
=""
25092 ac_path_to_include
=" -I$ac_find_includes"
25096 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25099 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25100 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25101 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25102 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25103 echo $ECHO_N "(cached) $ECHO_C" >&6
25105 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25106 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25108 # Is the header compilable?
25109 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25110 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25111 cat >conftest.
$ac_ext <<_ACEOF
25112 #line $LINENO "configure"
25115 cat confdefs.h
>>conftest.
$ac_ext
25116 cat >>conftest.
$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25118 $ac_includes_default
25121 rm -f conftest.
$ac_objext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25123 (eval $ac_compile) 2>&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } &&
25127 { ac_try
='test -s conftest.$ac_objext'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; }; then
25133 ac_header_compiler
=yes
25135 echo "$as_me: failed program was:" >&5
25136 sed 's/^/| /' conftest.
$ac_ext >&5
25138 ac_header_compiler
=no
25140 rm -f conftest.
$ac_objext conftest.
$ac_ext
25141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25142 echo "${ECHO_T}$ac_header_compiler" >&6
25144 # Is the header present?
25145 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25146 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25147 cat >conftest.
$ac_ext <<_ACEOF
25148 #line $LINENO "configure"
25151 cat confdefs.h
>>conftest.
$ac_ext
25152 cat >>conftest.
$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25159 grep -v '^ *+' conftest.er1
>conftest.err
25161 cat conftest.err
>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } >/dev
/null
; then
25164 if test -s conftest.err
; then
25165 ac_cpp_err
=$ac_c_preproc_warn_flag
25172 if test -z "$ac_cpp_err"; then
25173 ac_header_preproc
=yes
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.
$ac_ext >&5
25178 ac_header_preproc
=no
25180 rm -f conftest.err conftest.
$ac_ext
25181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25182 echo "${ECHO_T}$ac_header_preproc" >&6
25184 # So? What about this header?
25185 case $ac_header_compiler:$ac_header_preproc in
25187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25188 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25189 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25190 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25193 ## ------------------------------------ ##
25194 ## Report this to bug-autoconf@gnu.org. ##
25195 ## ------------------------------------ ##
25198 sed "s/^/$as_me: WARNING: /" >&2
25201 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25202 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25204 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25205 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25206 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25209 ## ------------------------------------ ##
25210 ## Report this to bug-autoconf@gnu.org. ##
25211 ## ------------------------------------ ##
25214 sed "s/^/$as_me: WARNING: /" >&2
25217 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25218 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25219 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 ac_cv_header_GL_gl_h
=$ac_header_preproc
25224 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25225 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25228 if test $ac_cv_header_GL_gl_h = yes; then
25232 echo "$as_me:$LINENO: checking for -lGL" >&5
25233 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25236 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25238 for ac_extension
in a so sl dylib
; do
25239 if test -f "$ac_dir/libGL.$ac_extension"; then
25240 ac_find_libraries
=$ac_dir
25246 if test "$ac_find_libraries" != "" ; then
25248 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25250 if test $result = 0; then
25253 ac_path_to_link
=" -L$ac_find_libraries"
25256 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25257 LDFLAGS_GL
="$ac_path_to_link"
25262 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25264 for ac_extension
in a so sl dylib
; do
25265 if test -f "$ac_dir/libGLU.$ac_extension"; then
25266 ac_find_libraries
=$ac_dir
25272 if test "$ac_find_libraries" != "" ; then
25274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25276 if test $result = 0; then
25279 ac_path_to_link
=" -L$ac_find_libraries"
25282 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25283 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25284 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25288 OPENGL_LIBS
="-lGL -lGLU"
25289 echo "$as_me:$LINENO: result: yes" >&5
25290 echo "${ECHO_T}yes" >&6
25294 if test "$found_gl" != 1; then
25295 echo "$as_me:$LINENO: result: no" >&5
25296 echo "${ECHO_T}no" >&6
25297 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25298 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25301 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25303 for ac_extension
in a so sl dylib
; do
25304 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25305 ac_find_libraries
=$ac_dir
25311 if test "$ac_find_libraries" != "" ; then
25313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25315 if test $result = 0; then
25318 ac_path_to_link
=" -L$ac_find_libraries"
25321 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25322 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25323 echo "$as_me:$LINENO: result: yes" >&5
25324 echo "${ECHO_T}yes" >&6
25326 echo "$as_me:$LINENO: result: no" >&5
25327 echo "${ECHO_T}no" >&6
25335 if test "x$OPENGL_LIBS" = "x"; then
25336 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25337 echo "$as_me: error: OpenGL libraries not available" >&2;}
25338 { (exit 1); exit 1; }; }
25342 if test "$wxUSE_OPENGL" = "yes"; then
25344 cat >>confdefs.h
<<\_ACEOF
25345 #define wxUSE_OPENGL 1
25348 cat >>confdefs.h
<<\_ACEOF
25349 #define wxUSE_GLCANVAS 1
25352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25356 if test -z "$TOOLKIT_VPATH" ; then
25357 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25360 if test -n "$TOOLKIT" ; then
25361 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25365 lib_unicode_suffix
=
25366 if test "$wxUSE_UNICODE" = "yes"; then
25367 lib_unicode_suffix
=u
25373 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25379 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25383 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25385 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25386 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25388 if test "$cross_compiling" = "yes"; then
25389 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25390 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25391 HOST_SUFFIX
="-${host_alias}"
25394 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25395 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25396 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25397 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25399 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25400 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25402 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25403 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25404 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25405 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25408 *-*-cygwin* | *-*-mingw32* )
25409 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25410 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25415 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25416 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25418 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25419 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25420 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25421 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25423 if test "$wxUSE_MAC" = 1; then
25424 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25425 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25430 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25431 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25433 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25434 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25436 if test "$wxUSE_OPENGL" = "yes"; then
25437 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25438 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25443 if test "$wxUSE_SHARED" = "yes"; then
25445 *-pc-os2_emx | *-pc-os2-emx | \
25448 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25449 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25455 if test "$wxUSE_SHARED" = "yes"; then
25459 found_versioning
=no
25462 if test $found_versioning = no
; then
25463 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25464 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25465 if test "${wx_cv_version_script+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25469 echo "VER_1 { *; };" >conftest.sym
25470 echo "int main() { return 0; }" >conftest.cpp
25473 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25474 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; } ; then
25480 if test -s conftest.stderr
; then
25481 wx_cv_version_script
=no
25483 wx_cv_version_script
=yes
25486 wx_cv_version_script
=no
25488 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25491 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25492 echo "${ECHO_T}$wx_cv_version_script" >&6
25493 if test $wx_cv_version_script = yes ; then
25494 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25500 *-*-linux* | *-*-gnu* )
25501 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25505 if test "$GCC" = yes ; then
25506 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25508 saveLdflags
="$LDFLAGS"
25509 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25510 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25511 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25512 cat >conftest.
$ac_ext <<_ACEOF
25513 #line $LINENO "configure"
25516 cat confdefs.h
>>conftest.
$ac_ext
25517 cat >>conftest.
$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25528 rm -f conftest.
$ac_objext conftest
$ac_exeext
25529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25530 (eval $ac_link) 2>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try
='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25541 echo "$as_me:$LINENO: result: yes" >&5
25542 echo "${ECHO_T}yes" >&6
25543 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.
$ac_ext >&5
25550 echo "$as_me:$LINENO: result: no" >&5
25551 echo "${ECHO_T}no" >&6
25552 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25553 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25554 LDFLAGS
="$saveLdflags -Wl,-R,/"
25555 cat >conftest.
$ac_ext <<_ACEOF
25556 #line $LINENO "configure"
25559 cat confdefs.h
>>conftest.
$ac_ext
25560 cat >>conftest.
$ac_ext <<_ACEOF
25561 /* end confdefs.h. */
25571 rm -f conftest.
$ac_objext conftest
$ac_exeext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573 (eval $ac_link) 2>&5
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } &&
25577 { ac_try
='test -s conftest$ac_exeext'
25578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25579 (eval $ac_try) 2>&5
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; }; then
25584 echo "$as_me:$LINENO: result: yes" >&5
25585 echo "${ECHO_T}yes" >&6
25586 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25588 echo "$as_me: failed program was:" >&5
25589 sed 's/^/| /' conftest.
$ac_ext >&5
25592 echo "$as_me:$LINENO: result: no" >&5
25593 echo "${ECHO_T}no" >&6
25596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25599 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25600 LDFLAGS
="$saveLdflags"
25602 SHARED_LD
="${CXX} -G -o"
25604 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25608 powerpc
-*-darwin* )
25609 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25610 cat <<EOF >change-install-names
25612 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25613 inst_cmd="install_name_tool "
25614 for i in \${libnames} ; do
25615 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25619 chmod +x change
-install-names
25624 if test "x$WX_TARGET_LIBRARY" = "x"; then
25625 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25626 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25629 WX_TARGET_LIBRARY_TYPE
="so"
25630 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25633 if test "$wxUSE_SHARED" = "no"; then
25635 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25636 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25639 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25640 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25643 if test "$wxUSE_OPENGL" = "yes"; then
25644 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25645 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25647 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25650 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25651 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25653 WX_TARGET_LIBRARY_TYPE
="a"
25654 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25664 if test "$wxUSE_MAC" = 1; then
25665 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25666 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25667 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25668 # Extract the first word of "Rez", so it can be a program name with args.
25669 set dummy Rez
; ac_word
=$2
25670 echo "$as_me:$LINENO: checking for $ac_word" >&5
25671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25672 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 if test -n "$RESCOMP"; then
25676 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25679 for as_dir
in $PATH
25682 test -z "$as_dir" && as_dir
=.
25683 for ac_exec_ext
in '' $ac_executable_extensions; do
25684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25685 ac_cv_prog_RESCOMP
="Rez"
25686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25692 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25695 RESCOMP
=$ac_cv_prog_RESCOMP
25696 if test -n "$RESCOMP"; then
25697 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25698 echo "${ECHO_T}$RESCOMP" >&6
25700 echo "$as_me:$LINENO: result: no" >&5
25701 echo "${ECHO_T}no" >&6
25704 # Extract the first word of "DeRez", so it can be a program name with args.
25705 set dummy DeRez
; ac_word
=$2
25706 echo "$as_me:$LINENO: checking for $ac_word" >&5
25707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25708 if test "${ac_cv_prog_DEREZ+set}" = set; then
25709 echo $ECHO_N "(cached) $ECHO_C" >&6
25711 if test -n "$DEREZ"; then
25712 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25715 for as_dir
in $PATH
25718 test -z "$as_dir" && as_dir
=.
25719 for ac_exec_ext
in '' $ac_executable_extensions; do
25720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25721 ac_cv_prog_DEREZ
="DeRez"
25722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25728 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25731 DEREZ
=$ac_cv_prog_DEREZ
25732 if test -n "$DEREZ"; then
25733 echo "$as_me:$LINENO: result: $DEREZ" >&5
25734 echo "${ECHO_T}$DEREZ" >&6
25736 echo "$as_me:$LINENO: result: no" >&5
25737 echo "${ECHO_T}no" >&6
25740 # Extract the first word of "SetFile", so it can be a program name with args.
25741 set dummy SetFile
; ac_word
=$2
25742 echo "$as_me:$LINENO: checking for $ac_word" >&5
25743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25744 if test "${ac_cv_prog_SETFILE+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 if test -n "$SETFILE"; then
25748 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25751 for as_dir
in $PATH
25754 test -z "$as_dir" && as_dir
=.
25755 for ac_exec_ext
in '' $ac_executable_extensions; do
25756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25757 ac_cv_prog_SETFILE
="SetFile"
25758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25764 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25767 SETFILE
=$ac_cv_prog_SETFILE
25768 if test -n "$SETFILE"; then
25769 echo "$as_me:$LINENO: result: $SETFILE" >&5
25770 echo "${ECHO_T}$SETFILE" >&6
25772 echo "$as_me:$LINENO: result: no" >&5
25773 echo "${ECHO_T}no" >&6
25776 MACOSX_BUNDLE
="bundle"
25777 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25778 MACSETFILE
="\$(SETFILE)"
25779 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25780 elif test "$wxUSE_COCOA" = 1; then
25781 # Extract the first word of "Rez", so it can be a program name with args.
25782 set dummy Rez
; ac_word
=$2
25783 echo "$as_me:$LINENO: checking for $ac_word" >&5
25784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25785 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 if test -n "$RESCOMP"; then
25789 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25792 for as_dir
in $PATH
25795 test -z "$as_dir" && as_dir
=.
25796 for ac_exec_ext
in '' $ac_executable_extensions; do
25797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25798 ac_cv_prog_RESCOMP
="Rez"
25799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25805 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25808 RESCOMP
=$ac_cv_prog_RESCOMP
25809 if test -n "$RESCOMP"; then
25810 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25811 echo "${ECHO_T}$RESCOMP" >&6
25813 echo "$as_me:$LINENO: result: no" >&5
25814 echo "${ECHO_T}no" >&6
25817 # Extract the first word of "DeRez", so it can be a program name with args.
25818 set dummy DeRez
; ac_word
=$2
25819 echo "$as_me:$LINENO: checking for $ac_word" >&5
25820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25821 if test "${ac_cv_prog_DEREZ+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 if test -n "$DEREZ"; then
25825 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25828 for as_dir
in $PATH
25831 test -z "$as_dir" && as_dir
=.
25832 for ac_exec_ext
in '' $ac_executable_extensions; do
25833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25834 ac_cv_prog_DEREZ
="DeRez"
25835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25841 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25844 DEREZ
=$ac_cv_prog_DEREZ
25845 if test -n "$DEREZ"; then
25846 echo "$as_me:$LINENO: result: $DEREZ" >&5
25847 echo "${ECHO_T}$DEREZ" >&6
25849 echo "$as_me:$LINENO: result: no" >&5
25850 echo "${ECHO_T}no" >&6
25853 # Extract the first word of "SetFile", so it can be a program name with args.
25854 set dummy SetFile
; ac_word
=$2
25855 echo "$as_me:$LINENO: checking for $ac_word" >&5
25856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25857 if test "${ac_cv_prog_SETFILE+set}" = set; then
25858 echo $ECHO_N "(cached) $ECHO_C" >&6
25860 if test -n "$SETFILE"; then
25861 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25864 for as_dir
in $PATH
25867 test -z "$as_dir" && as_dir
=.
25868 for ac_exec_ext
in '' $ac_executable_extensions; do
25869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25870 ac_cv_prog_SETFILE
="SetFile"
25871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25877 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25880 SETFILE
=$ac_cv_prog_SETFILE
25881 if test -n "$SETFILE"; then
25882 echo "$as_me:$LINENO: result: $SETFILE" >&5
25883 echo "${ECHO_T}$SETFILE" >&6
25885 echo "$as_me:$LINENO: result: no" >&5
25886 echo "${ECHO_T}no" >&6
25889 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25890 MACSETFILE
="\$(SETFILE)"
25891 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25893 if test "$wxUSE_PM" = 1; then
25894 MACRESCOMP
="emxbind -ep"
25899 echo "$as_me:$LINENO: checking for mode_t" >&5
25900 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25901 if test "${ac_cv_type_mode_t+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 cat >conftest.
$ac_ext <<_ACEOF
25905 #line $LINENO "configure"
25908 cat confdefs.h
>>conftest.
$ac_ext
25909 cat >>conftest.
$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 $ac_includes_default
25917 if (sizeof (mode_t))
25923 rm -f conftest.
$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try
='test -s conftest.$ac_objext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 ac_cv_type_mode_t
=yes
25937 echo "$as_me: failed program was:" >&5
25938 sed 's/^/| /' conftest.
$ac_ext >&5
25940 ac_cv_type_mode_t
=no
25942 rm -f conftest.
$ac_objext conftest.
$ac_ext
25944 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25945 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25946 if test $ac_cv_type_mode_t = yes; then
25950 cat >>confdefs.h
<<_ACEOF
25956 echo "$as_me:$LINENO: checking for off_t" >&5
25957 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25958 if test "${ac_cv_type_off_t+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 cat >conftest.
$ac_ext <<_ACEOF
25962 #line $LINENO "configure"
25965 cat confdefs.h
>>conftest.
$ac_ext
25966 cat >>conftest.
$ac_ext <<_ACEOF
25967 /* end confdefs.h. */
25968 $ac_includes_default
25974 if (sizeof (off_t))
25980 rm -f conftest.
$ac_objext
25981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25982 (eval $ac_compile) 2>&5
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); } &&
25986 { ac_try
='test -s conftest.$ac_objext'
25987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25988 (eval $ac_try) 2>&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); }; }; then
25992 ac_cv_type_off_t
=yes
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.
$ac_ext >&5
25997 ac_cv_type_off_t
=no
25999 rm -f conftest.
$ac_objext conftest.
$ac_ext
26001 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26002 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26003 if test $ac_cv_type_off_t = yes; then
26007 cat >>confdefs.h
<<_ACEOF
26013 echo "$as_me:$LINENO: checking for pid_t" >&5
26014 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26015 if test "${ac_cv_type_pid_t+set}" = set; then
26016 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 cat >conftest.
$ac_ext <<_ACEOF
26019 #line $LINENO "configure"
26022 cat confdefs.h
>>conftest.
$ac_ext
26023 cat >>conftest.
$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26025 $ac_includes_default
26031 if (sizeof (pid_t))
26037 rm -f conftest.
$ac_objext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 ac_cv_type_pid_t
=yes
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.
$ac_ext >&5
26054 ac_cv_type_pid_t
=no
26056 rm -f conftest.
$ac_objext conftest.
$ac_ext
26058 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26059 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26060 if test $ac_cv_type_pid_t = yes; then
26064 cat >>confdefs.h
<<_ACEOF
26070 echo "$as_me:$LINENO: checking for size_t" >&5
26071 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26072 if test "${ac_cv_type_size_t+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 cat >conftest.
$ac_ext <<_ACEOF
26076 #line $LINENO "configure"
26079 cat confdefs.h
>>conftest.
$ac_ext
26080 cat >>conftest.
$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 $ac_includes_default
26088 if (sizeof (size_t))
26094 rm -f conftest.
$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try
='test -s conftest.$ac_objext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 ac_cv_type_size_t
=yes
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.
$ac_ext >&5
26111 ac_cv_type_size_t
=no
26113 rm -f conftest.
$ac_objext conftest.
$ac_ext
26115 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26116 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26117 if test $ac_cv_type_size_t = yes; then
26121 cat >>confdefs.h
<<_ACEOF
26122 #define size_t unsigned
26127 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26128 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26129 if test "${ac_cv_type_uid_t+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 cat >conftest.
$ac_ext <<_ACEOF
26133 #line $LINENO "configure"
26136 cat confdefs.h
>>conftest.
$ac_ext
26137 cat >>conftest.
$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26139 #include <sys/types.h>
26142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26143 $EGREP "uid_t" >/dev
/null
2>&1; then
26144 ac_cv_type_uid_t
=yes
26146 ac_cv_type_uid_t
=no
26151 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26152 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26153 if test $ac_cv_type_uid_t = no
; then
26155 cat >>confdefs.h
<<\_ACEOF
26160 cat >>confdefs.h
<<\_ACEOF
26170 ac_cpp
='$CXXCPP $CPPFLAGS'
26171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26175 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26176 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26177 if test "${wx_cv_size_t_is_uint+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 cat >conftest.
$ac_ext <<_ACEOF
26182 #line $LINENO "configure"
26185 cat confdefs.h
>>conftest.
$ac_ext
26186 cat >>conftest.
$ac_ext <<_ACEOF
26187 /* end confdefs.h. */
26188 #include <stddef.h>
26195 struct Foo { void foo(size_t); void foo(unsigned int); };
26203 rm -f conftest.
$ac_objext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26205 (eval $ac_compile) 2>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try
='test -s conftest.$ac_objext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 wx_cv_size_t_is_uint
=no
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.
$ac_ext >&5
26220 wx_cv_size_t_is_uint
=yes
26223 rm -f conftest.
$ac_objext conftest.
$ac_ext
26227 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26228 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26230 if test "$wx_cv_size_t_is_uint" = "yes"; then
26231 cat >>confdefs.h
<<\_ACEOF
26232 #define wxSIZE_T_IS_UINT 1
26236 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26237 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26238 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26241 cat >conftest.
$ac_ext <<_ACEOF
26242 #line $LINENO "configure"
26245 cat confdefs.h
>>conftest.
$ac_ext
26246 cat >>conftest.
$ac_ext <<_ACEOF
26247 /* end confdefs.h. */
26248 #include <stddef.h>
26255 struct Foo { void foo(size_t); void foo(unsigned long); };
26263 rm -f conftest.
$ac_objext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26265 (eval $ac_compile) 2>&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } &&
26269 { ac_try
='test -s conftest.$ac_objext'
26270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26271 (eval $ac_try) 2>&5
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); }; }; then
26275 wx_cv_size_t_is_ulong
=no
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.
$ac_ext >&5
26280 wx_cv_size_t_is_ulong
=yes
26283 rm -f conftest.
$ac_objext conftest.
$ac_ext
26286 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26287 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26289 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26290 cat >>confdefs.h
<<\_ACEOF
26291 #define wxSIZE_T_IS_ULONG 1
26298 ac_cpp
='$CPP $CPPFLAGS'
26299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26305 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26306 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26307 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26311 cat >conftest.
$ac_ext <<_ACEOF
26312 #line $LINENO "configure"
26315 cat confdefs.h
>>conftest.
$ac_ext
26316 cat >>conftest.
$ac_ext <<_ACEOF
26317 /* end confdefs.h. */
26331 rm -f conftest.
$ac_objext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26333 (eval $ac_compile) 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try
='test -s conftest.$ac_objext'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26344 wx_cv_struct_pw_gecos
=yes
26347 echo "$as_me: failed program was:" >&5
26348 sed 's/^/| /' conftest.
$ac_ext >&5
26351 wx_cv_struct_pw_gecos
=no
26355 rm -f conftest.
$ac_objext conftest.
$ac_ext
26359 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26360 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26362 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26363 cat >>confdefs.h
<<\_ACEOF
26364 #define HAVE_PW_GECOS 1
26370 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26371 cat >>confdefs.h
<<\_ACEOF
26372 #define wxUSE_WCHAR_T 1
26379 for ac_func
in wcslen
26381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26382 echo "$as_me:$LINENO: checking for $ac_func" >&5
26383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26384 if eval "test \"\${$as_ac_var+set}\" = set"; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 cat >conftest.
$ac_ext <<_ACEOF
26388 #line $LINENO "configure"
26391 cat confdefs.h
>>conftest.
$ac_ext
26392 cat >>conftest.
$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394 /* System header to define __stub macros and hopefully few prototypes,
26395 which can conflict with char $ac_func (); below.
26396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26397 <limits.h> exists even on freestanding compilers. */
26399 # include <limits.h>
26401 # include <assert.h>
26403 /* Override any gcc2 internal prototype to avoid an error. */
26408 /* We use char because int might match the return type of a gcc2
26409 builtin and then its argument prototype would still apply. */
26411 /* The GNU C library defines this for functions which it implements
26412 to always fail with ENOSYS. Some functions are actually named
26413 something starting with __ and the normal name is an alias. */
26414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26417 char (*f) () = $ac_func;
26426 return f != $ac_func;
26431 rm -f conftest.
$ac_objext conftest
$ac_exeext
26432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26433 (eval $ac_link) 2>&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } &&
26437 { ac_try
='test -s conftest$ac_exeext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 eval "$as_ac_var=yes"
26445 echo "$as_me: failed program was:" >&5
26446 sed 's/^/| /' conftest.
$ac_ext >&5
26448 eval "$as_ac_var=no"
26450 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26454 if test `eval echo '${'$as_ac_var'}'` = yes; then
26455 cat >>confdefs.h
<<_ACEOF
26456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26463 if test "$WCSLEN_FOUND" = 0; then
26464 if test "$TOOLKIT" = "MSW"; then
26465 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26466 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26467 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 ac_check_lib_save_LIBS
=$LIBS
26471 LIBS
="-lmsvcrt $LIBS"
26472 cat >conftest.
$ac_ext <<_ACEOF
26473 #line $LINENO "configure"
26476 cat confdefs.h
>>conftest.
$ac_ext
26477 cat >>conftest.
$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26480 /* Override any gcc2 internal prototype to avoid an error. */
26484 /* We use char because int might match the return type of a gcc2
26485 builtin and then its argument prototype would still apply. */
26495 rm -f conftest.
$ac_objext conftest
$ac_exeext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26497 (eval $ac_link) 2>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try
='test -s conftest$ac_exeext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 ac_cv_lib_msvcrt_wcslen
=yes
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.
$ac_ext >&5
26512 ac_cv_lib_msvcrt_wcslen
=no
26514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26515 LIBS
=$ac_check_lib_save_LIBS
26517 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26518 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26519 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26524 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26525 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26526 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 ac_check_lib_save_LIBS
=$LIBS
26531 cat >conftest.
$ac_ext <<_ACEOF
26532 #line $LINENO "configure"
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26539 /* Override any gcc2 internal prototype to avoid an error. */
26543 /* We use char because int might match the return type of a gcc2
26544 builtin and then its argument prototype would still apply. */
26554 rm -f conftest.
$ac_objext conftest
$ac_exeext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26556 (eval $ac_link) 2>&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } &&
26560 { ac_try
='test -s conftest$ac_exeext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 ac_cv_lib_w_wcslen
=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.
$ac_ext >&5
26571 ac_cv_lib_w_wcslen
=no
26573 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26574 LIBS
=$ac_check_lib_save_LIBS
26576 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26577 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26578 if test $ac_cv_lib_w_wcslen = yes; then
26588 if test "$WCSLEN_FOUND" = 1; then
26589 cat >>confdefs.h
<<\_ACEOF
26590 #define HAVE_WCSLEN 1
26596 for ac_func
in wcsrtombs
26598 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26599 echo "$as_me:$LINENO: checking for $ac_func" >&5
26600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26601 if eval "test \"\${$as_ac_var+set}\" = set"; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 cat >conftest.
$ac_ext <<_ACEOF
26605 #line $LINENO "configure"
26608 cat confdefs.h
>>conftest.
$ac_ext
26609 cat >>conftest.
$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611 /* System header to define __stub macros and hopefully few prototypes,
26612 which can conflict with char $ac_func (); below.
26613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26614 <limits.h> exists even on freestanding compilers. */
26616 # include <limits.h>
26618 # include <assert.h>
26620 /* Override any gcc2 internal prototype to avoid an error. */
26625 /* We use char because int might match the return type of a gcc2
26626 builtin and then its argument prototype would still apply. */
26628 /* The GNU C library defines this for functions which it implements
26629 to always fail with ENOSYS. Some functions are actually named
26630 something starting with __ and the normal name is an alias. */
26631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26634 char (*f) () = $ac_func;
26643 return f != $ac_func;
26648 rm -f conftest.
$ac_objext conftest
$ac_exeext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 (eval $ac_link) 2>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try
='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 eval "$as_ac_var=yes"
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.
$ac_ext >&5
26665 eval "$as_ac_var=no"
26667 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26671 if test `eval echo '${'$as_ac_var'}'` = yes; then
26672 cat >>confdefs.h
<<_ACEOF
26673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26680 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26681 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26687 ac_cpp
='$CXXCPP $CPPFLAGS'
26688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26694 for ac_func
in vsnprintf
26696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26697 echo "$as_me:$LINENO: checking for $ac_func" >&5
26698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26699 if eval "test \"\${$as_ac_var+set}\" = set"; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 cat >conftest.
$ac_ext <<_ACEOF
26703 #line $LINENO "configure"
26706 cat confdefs.h
>>conftest.
$ac_ext
26707 cat >>conftest.
$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709 /* System header to define __stub macros and hopefully few prototypes,
26710 which can conflict with char $ac_func (); below.
26711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26712 <limits.h> exists even on freestanding compilers. */
26714 # include <limits.h>
26716 # include <assert.h>
26718 /* Override any gcc2 internal prototype to avoid an error. */
26723 /* We use char because int might match the return type of a gcc2
26724 builtin and then its argument prototype would still apply. */
26726 /* The GNU C library defines this for functions which it implements
26727 to always fail with ENOSYS. Some functions are actually named
26728 something starting with __ and the normal name is an alias. */
26729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26732 char (*f) () = $ac_func;
26741 return f != $ac_func;
26746 rm -f conftest.
$ac_objext conftest
$ac_exeext
26747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26748 (eval $ac_link) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } &&
26752 { ac_try
='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 eval "$as_ac_var=yes"
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.
$ac_ext >&5
26763 eval "$as_ac_var=no"
26765 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26769 if test `eval echo '${'$as_ac_var'}'` = yes; then
26770 cat >>confdefs.h
<<_ACEOF
26771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26778 if test "$ac_cv_func_vsnprintf" = "yes"; then
26779 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26780 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26781 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 cat >conftest.
$ac_ext <<_ACEOF
26786 #line $LINENO "configure"
26789 cat confdefs.h
>>conftest.
$ac_ext
26790 cat >>conftest.
$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26794 #include <stdarg.h>
26802 vsnprintf(buf, 10u, "%s", ap);
26808 rm -f conftest.
$ac_objext
26809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26810 (eval $ac_compile) 2>&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); } &&
26814 { ac_try
='test -s conftest.$ac_objext'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; }; then
26820 wx_cv_func_vsnprintf_decl
=yes
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.
$ac_ext >&5
26825 wx_cv_func_vsnprintf_decl
=no
26828 rm -f conftest.
$ac_objext conftest.
$ac_ext
26832 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26833 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26835 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26836 cat >>confdefs.h
<<\_ACEOF
26837 #define HAVE_VSNPRINTF_DECL 1
26843 if test "$wxUSE_UNICODE" = yes; then
26847 for ac_func
in fputwc wprintf vswprintf
26849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26850 echo "$as_me:$LINENO: checking for $ac_func" >&5
26851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26852 if eval "test \"\${$as_ac_var+set}\" = set"; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 cat >conftest.
$ac_ext <<_ACEOF
26856 #line $LINENO "configure"
26859 cat confdefs.h
>>conftest.
$ac_ext
26860 cat >>conftest.
$ac_ext <<_ACEOF
26861 /* end confdefs.h. */
26862 /* System header to define __stub macros and hopefully few prototypes,
26863 which can conflict with char $ac_func (); below.
26864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26865 <limits.h> exists even on freestanding compilers. */
26867 # include <limits.h>
26869 # include <assert.h>
26871 /* Override any gcc2 internal prototype to avoid an error. */
26876 /* We use char because int might match the return type of a gcc2
26877 builtin and then its argument prototype would still apply. */
26879 /* The GNU C library defines this for functions which it implements
26880 to always fail with ENOSYS. Some functions are actually named
26881 something starting with __ and the normal name is an alias. */
26882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26885 char (*f) () = $ac_func;
26894 return f != $ac_func;
26899 rm -f conftest.
$ac_objext conftest
$ac_exeext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26901 (eval $ac_link) 2>&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try
='test -s conftest$ac_exeext'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; }; then
26911 eval "$as_ac_var=yes"
26913 echo "$as_me: failed program was:" >&5
26914 sed 's/^/| /' conftest.
$ac_ext >&5
26916 eval "$as_ac_var=no"
26918 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26922 if test `eval echo '${'$as_ac_var'}'` = yes; then
26923 cat >>confdefs.h
<<_ACEOF
26924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26931 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26932 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26933 cat >conftest.
$ac_ext <<_ACEOF
26934 #line $LINENO "configure"
26937 cat confdefs.h
>>conftest.
$ac_ext
26938 cat >>conftest.
$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26949 rm -f conftest.
$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try
='test -s conftest.$ac_objext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 echo "$as_me:$LINENO: result: yes" >&5
26962 echo "${ECHO_T}yes" >&6
26963 cat >>confdefs.h
<<\_ACEOF
26964 #define HAVE__VSNWPRINTF 1
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.
$ac_ext >&5
26971 echo "$as_me:$LINENO: result: no" >&5
26972 echo "${ECHO_T}no" >&6
26974 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26978 ac_cpp
='$CPP $CPPFLAGS'
26979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26986 if test "$TOOLKIT" != "MSW"; then
26992 ac_cpp
='$CXXCPP $CPPFLAGS'
26993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27000 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27001 if test "${with_libiconv_prefix+set}" = set; then
27002 withval
="$with_libiconv_prefix"
27004 for dir
in `echo "$withval" | tr : ' '`; do
27005 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27006 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27011 echo "$as_me:$LINENO: checking for iconv" >&5
27012 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27013 if test "${am_cv_func_iconv+set}" = set; then
27014 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 am_cv_func_iconv
="no, consider installing GNU libiconv"
27019 cat >conftest.
$ac_ext <<_ACEOF
27020 #line $LINENO "configure"
27023 cat confdefs.h
>>conftest.
$ac_ext
27024 cat >>conftest.
$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 #include <stdlib.h>
27031 iconv_t cd = iconv_open("","");
27032 iconv(cd,NULL,NULL,NULL,NULL);
27038 rm -f conftest.
$ac_objext conftest
$ac_exeext
27039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27040 (eval $ac_link) 2>&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); } &&
27044 { ac_try
='test -s conftest$ac_exeext'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 am_cv_func_iconv
=yes
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.
$ac_ext >&5
27056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27057 if test "$am_cv_func_iconv" != yes; then
27058 am_save_LIBS
="$LIBS"
27059 LIBS
="$LIBS -liconv"
27060 cat >conftest.
$ac_ext <<_ACEOF
27061 #line $LINENO "configure"
27064 cat confdefs.h
>>conftest.
$ac_ext
27065 cat >>conftest.
$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 #include <stdlib.h>
27072 iconv_t cd = iconv_open("","");
27073 iconv(cd,NULL,NULL,NULL,NULL);
27079 rm -f conftest.
$ac_objext conftest
$ac_exeext
27080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27081 (eval $ac_link) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); } &&
27085 { ac_try
='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 am_cv_lib_iconv
=yes
27092 am_cv_func_iconv
=yes
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.
$ac_ext >&5
27098 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27099 LIBS
="$am_save_LIBS"
27103 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27104 echo "${ECHO_T}$am_cv_func_iconv" >&6
27105 if test "$am_cv_func_iconv" = yes; then
27107 cat >>confdefs.h
<<\_ACEOF
27108 #define HAVE_ICONV 1
27111 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27112 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27113 if test "${wx_cv_func_iconv_const+set}" = set; then
27114 echo $ECHO_N "(cached) $ECHO_C" >&6
27116 cat >conftest.
$ac_ext <<_ACEOF
27117 #line $LINENO "configure"
27120 cat confdefs.h
>>conftest.
$ac_ext
27121 cat >>conftest.
$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27124 #include <stdlib.h>
27130 #if defined(__STDC__) || defined(__cplusplus)
27131 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27144 rm -f conftest.
$ac_objext
27145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27146 (eval $ac_compile) 2>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try
='test -s conftest.$ac_objext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27156 wx_cv_func_iconv_const
="no"
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.
$ac_ext >&5
27161 wx_cv_func_iconv_const
="yes"
27164 rm -f conftest.
$ac_objext conftest.
$ac_ext
27167 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27168 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27171 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27172 iconv_const
="const"
27176 cat >>confdefs.h
<<_ACEOF
27177 #define ICONV_CONST $iconv_const
27182 if test "$am_cv_lib_iconv" = yes; then
27187 LIBS
="$LIBICONV $LIBS"
27189 ac_cpp
='$CPP $CPPFLAGS'
27190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27195 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27197 for ac_func
in sigaction
27199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27200 echo "$as_me:$LINENO: checking for $ac_func" >&5
27201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27202 if eval "test \"\${$as_ac_var+set}\" = set"; then
27203 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 cat >conftest.
$ac_ext <<_ACEOF
27206 #line $LINENO "configure"
27209 cat confdefs.h
>>conftest.
$ac_ext
27210 cat >>conftest.
$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* System header to define __stub macros and hopefully few prototypes,
27213 which can conflict with char $ac_func (); below.
27214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27215 <limits.h> exists even on freestanding compilers. */
27217 # include <limits.h>
27219 # include <assert.h>
27221 /* Override any gcc2 internal prototype to avoid an error. */
27226 /* We use char because int might match the return type of a gcc2
27227 builtin and then its argument prototype would still apply. */
27229 /* The GNU C library defines this for functions which it implements
27230 to always fail with ENOSYS. Some functions are actually named
27231 something starting with __ and the normal name is an alias. */
27232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27235 char (*f) () = $ac_func;
27244 return f != $ac_func;
27249 rm -f conftest.
$ac_objext conftest
$ac_exeext
27250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27251 (eval $ac_link) 2>&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } &&
27255 { ac_try
='test -s conftest$ac_exeext'
27256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27257 (eval $ac_try) 2>&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); }; }; then
27261 eval "$as_ac_var=yes"
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.
$ac_ext >&5
27266 eval "$as_ac_var=no"
27268 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27272 if test `eval echo '${'$as_ac_var'}'` = yes; then
27273 cat >>confdefs.h
<<_ACEOF
27274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27281 if test "$ac_cv_func_sigaction" = "no"; then
27282 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27283 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27284 wxUSE_ON_FATAL_EXCEPTION
=no
27287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27291 ac_cpp
='$CXXCPP $CPPFLAGS'
27292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27297 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27298 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27299 if test "${wx_cv_type_sa_handler+set}" = set; then
27300 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. */
27310 #include <signal.h>
27315 extern void testSigHandler(int);
27317 struct sigaction sa;
27318 sa.sa_handler = testSigHandler;
27324 rm -f conftest.
$ac_objext
27325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27326 (eval $ac_compile) 2>&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } &&
27330 { ac_try
='test -s conftest.$ac_objext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27337 wx_cv_type_sa_handler
=int
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.
$ac_ext >&5
27344 wx_cv_type_sa_handler
=void
27347 rm -f conftest.
$ac_objext conftest.
$ac_ext
27350 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27351 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27354 ac_cpp
='$CPP $CPPFLAGS'
27355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27360 cat >>confdefs.h
<<_ACEOF
27361 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27369 for ac_func
in mkstemp mktemp
27371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27372 echo "$as_me:$LINENO: checking for $ac_func" >&5
27373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27374 if eval "test \"\${$as_ac_var+set}\" = set"; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27377 cat >conftest.
$ac_ext <<_ACEOF
27378 #line $LINENO "configure"
27381 cat confdefs.h
>>conftest.
$ac_ext
27382 cat >>conftest.
$ac_ext <<_ACEOF
27383 /* end confdefs.h. */
27384 /* System header to define __stub macros and hopefully few prototypes,
27385 which can conflict with char $ac_func (); below.
27386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27387 <limits.h> exists even on freestanding compilers. */
27389 # include <limits.h>
27391 # include <assert.h>
27393 /* Override any gcc2 internal prototype to avoid an error. */
27398 /* We use char because int might match the return type of a gcc2
27399 builtin and then its argument prototype would still apply. */
27401 /* The GNU C library defines this for functions which it implements
27402 to always fail with ENOSYS. Some functions are actually named
27403 something starting with __ and the normal name is an alias. */
27404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27407 char (*f) () = $ac_func;
27416 return f != $ac_func;
27421 rm -f conftest.
$ac_objext conftest
$ac_exeext
27422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27423 (eval $ac_link) 2>&5
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } &&
27427 { ac_try
='test -s conftest$ac_exeext'
27428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429 (eval $ac_try) 2>&5
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); }; }; then
27433 eval "$as_ac_var=yes"
27435 echo "$as_me: failed program was:" >&5
27436 sed 's/^/| /' conftest.
$ac_ext >&5
27438 eval "$as_ac_var=no"
27440 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27444 if test `eval echo '${'$as_ac_var'}'` = yes; then
27445 cat >>confdefs.h
<<_ACEOF
27446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27453 echo "$as_me:$LINENO: checking for statfs" >&5
27454 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27455 if test "${wx_cv_func_statfs+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27458 cat >conftest.
$ac_ext <<_ACEOF
27459 #line $LINENO "configure"
27462 cat confdefs.h
>>conftest.
$ac_ext
27463 cat >>conftest.
$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27466 #if defined(__BSD__)
27467 #include <sys/param.h>
27468 #include <sys/mount.h>
27470 #include <sys/vfs.h>
27488 rm -f conftest.
$ac_objext
27489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27490 (eval $ac_compile) 2>&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } &&
27494 { ac_try
='test -s conftest.$ac_objext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27501 wx_cv_func_statfs
=yes
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.
$ac_ext >&5
27508 wx_cv_func_statfs
=no
27512 rm -f conftest.
$ac_objext conftest.
$ac_ext
27515 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27516 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27518 if test "$wx_cv_func_statfs" = "yes"; then
27519 wx_cv_type_statvfs_t
="struct statfs"
27520 cat >>confdefs.h
<<\_ACEOF
27521 #define HAVE_STATFS 1
27525 echo "$as_me:$LINENO: checking for statvfs" >&5
27526 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27527 if test "${wx_cv_func_statvfs+set}" = set; then
27528 echo $ECHO_N "(cached) $ECHO_C" >&6
27530 cat >conftest.
$ac_ext <<_ACEOF
27531 #line $LINENO "configure"
27534 cat confdefs.h
>>conftest.
$ac_ext
27535 cat >>conftest.
$ac_ext <<_ACEOF
27536 /* end confdefs.h. */
27538 #include <stddef.h>
27539 #include <sys/statvfs.h>
27545 statvfs("/", NULL);
27551 rm -f conftest.
$ac_objext
27552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27553 (eval $ac_compile) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } &&
27557 { ac_try
='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27563 wx_cv_func_statvfs
=yes
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.
$ac_ext >&5
27568 wx_cv_func_statvfs
=no
27571 rm -f conftest.
$ac_objext conftest.
$ac_ext
27574 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27575 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27577 if test "$wx_cv_func_statvfs" = "yes"; then
27581 ac_cpp
='$CXXCPP $CPPFLAGS'
27582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27587 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27588 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27589 if test "${wx_cv_type_statvfs_t+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27592 cat >conftest.
$ac_ext <<_ACEOF
27593 #line $LINENO "configure"
27596 cat confdefs.h
>>conftest.
$ac_ext
27597 cat >>conftest.
$ac_ext <<_ACEOF
27598 /* end confdefs.h. */
27600 #include <sys/statvfs.h>
27617 rm -f conftest.
$ac_objext
27618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27619 (eval $ac_compile) 2>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } &&
27623 { ac_try
='test -s conftest.$ac_objext'
27624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27625 (eval $ac_try) 2>&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); }; }; then
27629 wx_cv_type_statvfs_t
=statvfs_t
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.
$ac_ext >&5
27635 cat >conftest.
$ac_ext <<_ACEOF
27636 #line $LINENO "configure"
27639 cat confdefs.h
>>conftest.
$ac_ext
27640 cat >>conftest.
$ac_ext <<_ACEOF
27641 /* end confdefs.h. */
27643 #include <sys/statvfs.h>
27660 rm -f conftest.
$ac_objext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27662 (eval $ac_compile) 2>&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } &&
27666 { ac_try
='test -s conftest.$ac_objext'
27667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27668 (eval $ac_try) 2>&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); }; }; then
27672 wx_cv_type_statvfs_t
="struct statvfs"
27674 echo "$as_me: failed program was:" >&5
27675 sed 's/^/| /' conftest.
$ac_ext >&5
27677 wx_cv_type_statvfs_t
="unknown"
27680 rm -f conftest.
$ac_objext conftest.
$ac_ext
27684 rm -f conftest.
$ac_objext conftest.
$ac_ext
27687 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27688 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27691 ac_cpp
='$CPP $CPPFLAGS'
27692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27697 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27698 cat >>confdefs.h
<<\_ACEOF
27699 #define HAVE_STATVFS 1
27704 wx_cv_type_statvfs_t
="unknown"
27708 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27709 cat >>confdefs.h
<<_ACEOF
27710 #define WX_STATFS_T $wx_cv_type_statvfs_t
27714 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27715 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27718 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27721 for ac_func
in fcntl flock
27723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27724 echo "$as_me:$LINENO: checking for $ac_func" >&5
27725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27726 if eval "test \"\${$as_ac_var+set}\" = set"; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27729 cat >conftest.
$ac_ext <<_ACEOF
27730 #line $LINENO "configure"
27733 cat confdefs.h
>>conftest.
$ac_ext
27734 cat >>conftest.
$ac_ext <<_ACEOF
27735 /* end confdefs.h. */
27736 /* System header to define __stub macros and hopefully few prototypes,
27737 which can conflict with char $ac_func (); below.
27738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27739 <limits.h> exists even on freestanding compilers. */
27741 # include <limits.h>
27743 # include <assert.h>
27745 /* Override any gcc2 internal prototype to avoid an error. */
27750 /* We use char because int might match the return type of a gcc2
27751 builtin and then its argument prototype would still apply. */
27753 /* The GNU C library defines this for functions which it implements
27754 to always fail with ENOSYS. Some functions are actually named
27755 something starting with __ and the normal name is an alias. */
27756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27759 char (*f) () = $ac_func;
27768 return f != $ac_func;
27773 rm -f conftest.
$ac_objext conftest
$ac_exeext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27775 (eval $ac_link) 2>&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try
='test -s conftest$ac_exeext'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; }; then
27785 eval "$as_ac_var=yes"
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.
$ac_ext >&5
27790 eval "$as_ac_var=no"
27792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27796 if test `eval echo '${'$as_ac_var'}'` = yes; then
27797 cat >>confdefs.h
<<_ACEOF
27798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27805 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27806 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27807 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27808 wxUSE_SNGLINST_CHECKER
=no
27813 for ac_func
in timegm
27815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816 echo "$as_me:$LINENO: checking for $ac_func" >&5
27817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27818 if eval "test \"\${$as_ac_var+set}\" = set"; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 cat >conftest.
$ac_ext <<_ACEOF
27822 #line $LINENO "configure"
27825 cat confdefs.h
>>conftest.
$ac_ext
27826 cat >>conftest.
$ac_ext <<_ACEOF
27827 /* end confdefs.h. */
27828 /* System header to define __stub macros and hopefully few prototypes,
27829 which can conflict with char $ac_func (); below.
27830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27831 <limits.h> exists even on freestanding compilers. */
27833 # include <limits.h>
27835 # include <assert.h>
27837 /* Override any gcc2 internal prototype to avoid an error. */
27842 /* We use char because int might match the return type of a gcc2
27843 builtin and then its argument prototype would still apply. */
27845 /* The GNU C library defines this for functions which it implements
27846 to always fail with ENOSYS. Some functions are actually named
27847 something starting with __ and the normal name is an alias. */
27848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27851 char (*f) () = $ac_func;
27860 return f != $ac_func;
27865 rm -f conftest.
$ac_objext conftest
$ac_exeext
27866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27867 (eval $ac_link) 2>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try
='test -s conftest$ac_exeext'
27872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27873 (eval $ac_try) 2>&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; }; then
27877 eval "$as_ac_var=yes"
27879 echo "$as_me: failed program was:" >&5
27880 sed 's/^/| /' conftest.
$ac_ext >&5
27882 eval "$as_ac_var=no"
27884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27888 if test `eval echo '${'$as_ac_var'}'` = yes; then
27889 cat >>confdefs.h
<<_ACEOF
27890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27899 for ac_func
in putenv setenv
27901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27902 echo "$as_me:$LINENO: checking for $ac_func" >&5
27903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27904 if eval "test \"\${$as_ac_var+set}\" = set"; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 cat >conftest.
$ac_ext <<_ACEOF
27908 #line $LINENO "configure"
27911 cat confdefs.h
>>conftest.
$ac_ext
27912 cat >>conftest.
$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914 /* System header to define __stub macros and hopefully few prototypes,
27915 which can conflict with char $ac_func (); below.
27916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27917 <limits.h> exists even on freestanding compilers. */
27919 # include <limits.h>
27921 # include <assert.h>
27923 /* Override any gcc2 internal prototype to avoid an error. */
27928 /* We use char because int might match the return type of a gcc2
27929 builtin and then its argument prototype would still apply. */
27931 /* The GNU C library defines this for functions which it implements
27932 to always fail with ENOSYS. Some functions are actually named
27933 something starting with __ and the normal name is an alias. */
27934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27937 char (*f) () = $ac_func;
27946 return f != $ac_func;
27951 rm -f conftest.
$ac_objext conftest
$ac_exeext
27952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27953 (eval $ac_link) 2>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try
='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 eval "$as_ac_var=yes"
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.
$ac_ext >&5
27968 eval "$as_ac_var=no"
27970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27974 if test `eval echo '${'$as_ac_var'}'` = yes; then
27975 cat >>confdefs.h
<<_ACEOF
27976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27983 HAVE_SOME_SLEEP_FUNC
=0
27984 if test "$USE_BEOS" = 1; then
27985 cat >>confdefs.h
<<\_ACEOF
27986 #define HAVE_SLEEP 1
27989 HAVE_SOME_SLEEP_FUNC
=1
27992 if test "$USE_DARWIN" = 1; then
27993 cat >>confdefs.h
<<\_ACEOF
27994 #define HAVE_USLEEP 1
27997 HAVE_SOME_SLEEP_FUNC
=1
28000 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28003 for ac_func
in nanosleep
28005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28006 echo "$as_me:$LINENO: checking for $ac_func" >&5
28007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28008 if eval "test \"\${$as_ac_var+set}\" = set"; then
28009 echo $ECHO_N "(cached) $ECHO_C" >&6
28011 cat >conftest.
$ac_ext <<_ACEOF
28012 #line $LINENO "configure"
28015 cat confdefs.h
>>conftest.
$ac_ext
28016 cat >>conftest.
$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28018 /* System header to define __stub macros and hopefully few prototypes,
28019 which can conflict with char $ac_func (); below.
28020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28021 <limits.h> exists even on freestanding compilers. */
28023 # include <limits.h>
28025 # include <assert.h>
28027 /* Override any gcc2 internal prototype to avoid an error. */
28032 /* We use char because int might match the return type of a gcc2
28033 builtin and then its argument prototype would still apply. */
28035 /* The GNU C library defines this for functions which it implements
28036 to always fail with ENOSYS. Some functions are actually named
28037 something starting with __ and the normal name is an alias. */
28038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28041 char (*f) () = $ac_func;
28050 return f != $ac_func;
28055 rm -f conftest.
$ac_objext conftest
$ac_exeext
28056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28057 (eval $ac_link) 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } &&
28061 { ac_try
='test -s conftest$ac_exeext'
28062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063 (eval $ac_try) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); }; }; then
28067 eval "$as_ac_var=yes"
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.
$ac_ext >&5
28072 eval "$as_ac_var=no"
28074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28078 if test `eval echo '${'$as_ac_var'}'` = yes; then
28079 cat >>confdefs.h
<<_ACEOF
28080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28082 cat >>confdefs.h
<<\_ACEOF
28083 #define HAVE_NANOSLEEP 1
28088 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28089 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28090 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 ac_check_lib_save_LIBS
=$LIBS
28094 LIBS
="-lposix4 $LIBS"
28095 cat >conftest.
$ac_ext <<_ACEOF
28096 #line $LINENO "configure"
28099 cat confdefs.h
>>conftest.
$ac_ext
28100 cat >>conftest.
$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28103 /* Override any gcc2 internal prototype to avoid an error. */
28107 /* We use char because int might match the return type of a gcc2
28108 builtin and then its argument prototype would still apply. */
28118 rm -f conftest.
$ac_objext conftest
$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try
='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 ac_cv_lib_posix4_nanosleep
=yes
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.
$ac_ext >&5
28135 ac_cv_lib_posix4_nanosleep
=no
28137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28138 LIBS
=$ac_check_lib_save_LIBS
28140 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28141 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28142 if test $ac_cv_lib_posix4_nanosleep = yes; then
28144 cat >>confdefs.h
<<\_ACEOF
28145 #define HAVE_NANOSLEEP 1
28148 POSIX4_LINK
=" -lposix4"
28153 for ac_func
in usleep
28155 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156 echo "$as_me:$LINENO: checking for $ac_func" >&5
28157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158 if eval "test \"\${$as_ac_var+set}\" = set"; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 cat >conftest.
$ac_ext <<_ACEOF
28162 #line $LINENO "configure"
28165 cat confdefs.h
>>conftest.
$ac_ext
28166 cat >>conftest.
$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168 /* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char $ac_func (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28173 # include <limits.h>
28175 # include <assert.h>
28177 /* Override any gcc2 internal prototype to avoid an error. */
28182 /* We use char because int might match the return type of a gcc2
28183 builtin and then its argument prototype would still apply. */
28185 /* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28191 char (*f) () = $ac_func;
28200 return f != $ac_func;
28205 rm -f conftest.
$ac_objext conftest
$ac_exeext
28206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28207 (eval $ac_link) 2>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try
='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 eval "$as_ac_var=yes"
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.
$ac_ext >&5
28222 eval "$as_ac_var=no"
28224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28228 if test `eval echo '${'$as_ac_var'}'` = yes; then
28229 cat >>confdefs.h
<<_ACEOF
28230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28232 cat >>confdefs.h
<<\_ACEOF
28233 #define HAVE_USLEEP 1
28237 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28238 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28256 for ac_func
in uname gethostname
28258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28259 echo "$as_me:$LINENO: checking for $ac_func" >&5
28260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28261 if eval "test \"\${$as_ac_var+set}\" = set"; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28264 cat >conftest.
$ac_ext <<_ACEOF
28265 #line $LINENO "configure"
28268 cat confdefs.h
>>conftest.
$ac_ext
28269 cat >>conftest.
$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28276 # include <limits.h>
28278 # include <assert.h>
28280 /* Override any gcc2 internal prototype to avoid an error. */
28285 /* We use char because int might match the return type of a gcc2
28286 builtin and then its argument prototype would still apply. */
28288 /* The GNU C library defines this for functions which it implements
28289 to always fail with ENOSYS. Some functions are actually named
28290 something starting with __ and the normal name is an alias. */
28291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28294 char (*f) () = $ac_func;
28303 return f != $ac_func;
28308 rm -f conftest.
$ac_objext conftest
$ac_exeext
28309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28310 (eval $ac_link) 2>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try
='test -s conftest$ac_exeext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 eval "$as_ac_var=yes"
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.
$ac_ext >&5
28325 eval "$as_ac_var=no"
28327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28331 if test `eval echo '${'$as_ac_var'}'` = yes; then
28332 cat >>confdefs.h
<<_ACEOF
28333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28343 ac_cpp
='$CXXCPP $CPPFLAGS'
28344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28350 for ac_func
in strtok_r
28352 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28353 echo "$as_me:$LINENO: checking for $ac_func" >&5
28354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28355 if eval "test \"\${$as_ac_var+set}\" = set"; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 cat >conftest.
$ac_ext <<_ACEOF
28359 #line $LINENO "configure"
28362 cat confdefs.h
>>conftest.
$ac_ext
28363 cat >>conftest.
$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28370 # include <limits.h>
28372 # include <assert.h>
28374 /* Override any gcc2 internal prototype to avoid an error. */
28379 /* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28382 /* The GNU C library defines this for functions which it implements
28383 to always fail with ENOSYS. Some functions are actually named
28384 something starting with __ and the normal name is an alias. */
28385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28388 char (*f) () = $ac_func;
28397 return f != $ac_func;
28402 rm -f conftest.
$ac_objext conftest
$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try
='test -s conftest$ac_exeext'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; }; then
28414 eval "$as_ac_var=yes"
28416 echo "$as_me: failed program was:" >&5
28417 sed 's/^/| /' conftest.
$ac_ext >&5
28419 eval "$as_ac_var=no"
28421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28425 if test `eval echo '${'$as_ac_var'}'` = yes; then
28426 cat >>confdefs.h
<<_ACEOF
28427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28435 ac_cpp
='$CPP $CPPFLAGS'
28436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28443 for ac_func
in inet_addr
28445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28446 echo "$as_me:$LINENO: checking for $ac_func" >&5
28447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28448 if eval "test \"\${$as_ac_var+set}\" = set"; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28451 cat >conftest.
$ac_ext <<_ACEOF
28452 #line $LINENO "configure"
28455 cat confdefs.h
>>conftest.
$ac_ext
28456 cat >>conftest.
$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 /* System header to define __stub macros and hopefully few prototypes,
28459 which can conflict with char $ac_func (); below.
28460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28461 <limits.h> exists even on freestanding compilers. */
28463 # include <limits.h>
28465 # include <assert.h>
28467 /* Override any gcc2 internal prototype to avoid an error. */
28472 /* We use char because int might match the return type of a gcc2
28473 builtin and then its argument prototype would still apply. */
28475 /* The GNU C library defines this for functions which it implements
28476 to always fail with ENOSYS. Some functions are actually named
28477 something starting with __ and the normal name is an alias. */
28478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28481 char (*f) () = $ac_func;
28490 return f != $ac_func;
28495 rm -f conftest.
$ac_objext conftest
$ac_exeext
28496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28497 (eval $ac_link) 2>&5
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); } &&
28501 { ac_try
='test -s conftest$ac_exeext'
28502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28503 (eval $ac_try) 2>&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 eval "$as_ac_var=yes"
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.
$ac_ext >&5
28512 eval "$as_ac_var=no"
28514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28518 if test `eval echo '${'$as_ac_var'}'` = yes; then
28519 cat >>confdefs.h
<<_ACEOF
28520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28522 cat >>confdefs.h
<<\_ACEOF
28523 #define HAVE_INET_ADDR 1
28528 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28529 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28530 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 ac_check_lib_save_LIBS
=$LIBS
28535 cat >conftest.
$ac_ext <<_ACEOF
28536 #line $LINENO "configure"
28539 cat confdefs.h
>>conftest.
$ac_ext
28540 cat >>conftest.
$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28543 /* Override any gcc2 internal prototype to avoid an error. */
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28558 rm -f conftest.
$ac_objext conftest
$ac_exeext
28559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28560 (eval $ac_link) 2>&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } &&
28564 { ac_try
='test -s conftest$ac_exeext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 ac_cv_lib_nsl_inet_addr
=yes
28572 echo "$as_me: failed program was:" >&5
28573 sed 's/^/| /' conftest.
$ac_ext >&5
28575 ac_cv_lib_nsl_inet_addr
=no
28577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28578 LIBS
=$ac_check_lib_save_LIBS
28580 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28581 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28582 if test $ac_cv_lib_nsl_inet_addr = yes; then
28586 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28587 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28588 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 ac_check_lib_save_LIBS
=$LIBS
28592 LIBS
="-lresolv $LIBS"
28593 cat >conftest.
$ac_ext <<_ACEOF
28594 #line $LINENO "configure"
28597 cat confdefs.h
>>conftest.
$ac_ext
28598 cat >>conftest.
$ac_ext <<_ACEOF
28599 /* end confdefs.h. */
28601 /* Override any gcc2 internal prototype to avoid an error. */
28605 /* We use char because int might match the return type of a gcc2
28606 builtin and then its argument prototype would still apply. */
28616 rm -f conftest.
$ac_objext conftest
$ac_exeext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618 (eval $ac_link) 2>&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try
='test -s conftest$ac_exeext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 ac_cv_lib_resolv_inet_addr
=yes
28630 echo "$as_me: failed program was:" >&5
28631 sed 's/^/| /' conftest.
$ac_ext >&5
28633 ac_cv_lib_resolv_inet_addr
=no
28635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28636 LIBS
=$ac_check_lib_save_LIBS
28638 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28639 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28640 if test $ac_cv_lib_resolv_inet_addr = yes; then
28644 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28645 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28646 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 ac_check_lib_save_LIBS
=$LIBS
28650 LIBS
="-lsocket $LIBS"
28651 cat >conftest.
$ac_ext <<_ACEOF
28652 #line $LINENO "configure"
28655 cat confdefs.h
>>conftest.
$ac_ext
28656 cat >>conftest.
$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28659 /* Override any gcc2 internal prototype to avoid an error. */
28663 /* We use char because int might match the return type of a gcc2
28664 builtin and then its argument prototype would still apply. */
28674 rm -f conftest.
$ac_objext conftest
$ac_exeext
28675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28676 (eval $ac_link) 2>&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try
='test -s conftest$ac_exeext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 ac_cv_lib_socket_inet_addr
=yes
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.
$ac_ext >&5
28691 ac_cv_lib_socket_inet_addr
=no
28693 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28694 LIBS
=$ac_check_lib_save_LIBS
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28697 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28698 if test $ac_cv_lib_socket_inet_addr = yes; then
28718 for ac_func
in inet_aton
28720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28721 echo "$as_me:$LINENO: checking for $ac_func" >&5
28722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28723 if eval "test \"\${$as_ac_var+set}\" = set"; then
28724 echo $ECHO_N "(cached) $ECHO_C" >&6
28726 cat >conftest.
$ac_ext <<_ACEOF
28727 #line $LINENO "configure"
28730 cat confdefs.h
>>conftest.
$ac_ext
28731 cat >>conftest.
$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 /* System header to define __stub macros and hopefully few prototypes,
28734 which can conflict with char $ac_func (); below.
28735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28736 <limits.h> exists even on freestanding compilers. */
28738 # include <limits.h>
28740 # include <assert.h>
28742 /* Override any gcc2 internal prototype to avoid an error. */
28747 /* We use char because int might match the return type of a gcc2
28748 builtin and then its argument prototype would still apply. */
28750 /* The GNU C library defines this for functions which it implements
28751 to always fail with ENOSYS. Some functions are actually named
28752 something starting with __ and the normal name is an alias. */
28753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28756 char (*f) () = $ac_func;
28765 return f != $ac_func;
28770 rm -f conftest.
$ac_objext conftest
$ac_exeext
28771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28772 (eval $ac_link) 2>&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } &&
28776 { ac_try
='test -s conftest$ac_exeext'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; }; then
28782 eval "$as_ac_var=yes"
28784 echo "$as_me: failed program was:" >&5
28785 sed 's/^/| /' conftest.
$ac_ext >&5
28787 eval "$as_ac_var=no"
28789 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28793 if test `eval echo '${'$as_ac_var'}'` = yes; then
28794 cat >>confdefs.h
<<_ACEOF
28795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28797 cat >>confdefs.h
<<\_ACEOF
28798 #define HAVE_INET_ATON 1
28803 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28804 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28805 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28806 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28809 ac_check_lib_save_LIBS
=$LIBS
28810 LIBS
="-l$INET_LINK $LIBS"
28811 cat >conftest.
$ac_ext <<_ACEOF
28812 #line $LINENO "configure"
28815 cat confdefs.h
>>conftest.
$ac_ext
28816 cat >>conftest.
$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28819 /* Override any gcc2 internal prototype to avoid an error. */
28823 /* We use char because int might match the return type of a gcc2
28824 builtin and then its argument prototype would still apply. */
28834 rm -f conftest.
$ac_objext conftest
$ac_exeext
28835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28836 (eval $ac_link) 2>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try
='test -s conftest$ac_exeext'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; }; then
28846 eval "$as_ac_Lib=yes"
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.
$ac_ext >&5
28851 eval "$as_ac_Lib=no"
28853 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28854 LIBS
=$ac_check_lib_save_LIBS
28856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28857 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28858 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28859 cat >>confdefs.h
<<\_ACEOF
28860 #define HAVE_INET_ATON 1
28870 if test "x$INET_LINK" != "x"; then
28871 cat >>confdefs.h
<<\_ACEOF
28872 #define HAVE_INET_ADDR 1
28875 INET_LINK
=" -l$INET_LINK"
28883 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28884 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28885 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28888 ac_check_lib_save_LIBS
=$LIBS
28890 cat >conftest.
$ac_ext <<_ACEOF
28891 #line $LINENO "configure"
28894 cat confdefs.h
>>conftest.
$ac_ext
28895 cat >>conftest.
$ac_ext <<_ACEOF
28896 /* end confdefs.h. */
28898 /* Override any gcc2 internal prototype to avoid an error. */
28902 /* We use char because int might match the return type of a gcc2
28903 builtin and then its argument prototype would still apply. */
28913 rm -f conftest.
$ac_objext conftest
$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try
='test -s conftest$ac_exeext'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; }; then
28925 ac_cv_lib_esd_esd_close
=yes
28927 echo "$as_me: failed program was:" >&5
28928 sed 's/^/| /' conftest.
$ac_ext >&5
28930 ac_cv_lib_esd_esd_close
=no
28932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28933 LIBS
=$ac_check_lib_save_LIBS
28935 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28936 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28937 if test $ac_cv_lib_esd_esd_close = yes; then
28940 for ac_header
in esd.h
28942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28944 echo "$as_me:$LINENO: checking for $ac_header" >&5
28945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28952 # Is the header compilable?
28953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28955 cat >conftest.
$ac_ext <<_ACEOF
28956 #line $LINENO "configure"
28959 cat confdefs.h
>>conftest.
$ac_ext
28960 cat >>conftest.
$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28962 $ac_includes_default
28963 #include <$ac_header>
28965 rm -f conftest.
$ac_objext
28966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28967 (eval $ac_compile) 2>&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try
='test -s conftest.$ac_objext'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; }; then
28977 ac_header_compiler
=yes
28979 echo "$as_me: failed program was:" >&5
28980 sed 's/^/| /' conftest.
$ac_ext >&5
28982 ac_header_compiler
=no
28984 rm -f conftest.
$ac_objext conftest.
$ac_ext
28985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28986 echo "${ECHO_T}$ac_header_compiler" >&6
28988 # Is the header present?
28989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28991 cat >conftest.
$ac_ext <<_ACEOF
28992 #line $LINENO "configure"
28995 cat confdefs.h
>>conftest.
$ac_ext
28996 cat >>conftest.
$ac_ext <<_ACEOF
28997 /* end confdefs.h. */
28998 #include <$ac_header>
29000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29003 grep -v '^ *+' conftest.er1
>conftest.err
29005 cat conftest.err
>&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } >/dev
/null
; then
29008 if test -s conftest.err
; then
29009 ac_cpp_err
=$ac_c_preproc_warn_flag
29016 if test -z "$ac_cpp_err"; then
29017 ac_header_preproc
=yes
29019 echo "$as_me: failed program was:" >&5
29020 sed 's/^/| /' conftest.
$ac_ext >&5
29022 ac_header_preproc
=no
29024 rm -f conftest.err conftest.
$ac_ext
29025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29026 echo "${ECHO_T}$ac_header_preproc" >&6
29028 # So? What about this header?
29029 case $ac_header_compiler:$ac_header_preproc in
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29037 ## ------------------------------------ ##
29038 ## Report this to bug-autoconf@gnu.org. ##
29039 ## ------------------------------------ ##
29042 sed "s/^/$as_me: WARNING: /" >&2
29045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29053 ## ------------------------------------ ##
29054 ## Report this to bug-autoconf@gnu.org. ##
29055 ## ------------------------------------ ##
29058 sed "s/^/$as_me: WARNING: /" >&2
29061 echo "$as_me:$LINENO: checking for $ac_header" >&5
29062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 eval "$as_ac_Header=$ac_header_preproc"
29068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29073 cat >>confdefs.h
<<_ACEOF
29074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29077 EXTRALIBS_ESD
="-lesd"
29088 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29089 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29090 cat >conftest.
$ac_ext <<_ACEOF
29091 #line $LINENO "configure"
29094 cat confdefs.h
>>conftest.
$ac_ext
29095 cat >>conftest.
$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29098 #include <linux/cdrom.h>
29101 #include <sys/cdio.h>
29107 struct cdrom_tocentry entry, old_entry;
29112 rm -f conftest.
$ac_objext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29114 (eval $ac_compile) 2>&5
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); } &&
29118 { ac_try
='test -s conftest.$ac_objext'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; }; then
29124 echo "$as_me:$LINENO: result: yes" >&5
29125 echo "${ECHO_T}yes" >&6
29126 cat >>confdefs.h
<<\_ACEOF
29127 #define HAVE_KNOWN_CDROM_INTERFACE 1
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.
$ac_ext >&5
29134 echo "$as_me:$LINENO: result: no" >&5
29135 echo "${ECHO_T}no" >&6
29137 rm -f conftest.
$ac_objext conftest.
$ac_ext
29140 cat >confcache
<<\_ACEOF
29141 # This file is a shell script that caches the results of configure
29142 # tests run on this system so they can be shared between configure
29143 # scripts and configure runs, see configure's option --config-cache.
29144 # It is not useful on other systems. If it contains results you don't
29145 # want to keep, you may remove or edit it.
29147 # config.status only pays attention to the cache file if you give it
29148 # the --recheck option to rerun configure.
29150 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29151 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29152 # following values.
29156 # The following way of writing the cache mishandles newlines in values,
29157 # but we know of no workaround that is simple, portable, and efficient.
29158 # So, don't put newlines in cache variables' values.
29159 # Ultrix sh set writes to stderr and can't be redirected directly,
29160 # and sets the high bit in the cache file unless we assign to the vars.
29163 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29165 # `set' does not quote correctly, so add quotes (double-quote
29166 # substitution turns \\\\ into \\, and sed turns \\ into \).
29169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29172 # `set' quotes correctly as required by POSIX, so do not add quotes.
29174 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29183 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29185 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29186 if test -w $cache_file; then
29187 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29188 cat confcache
>$cache_file
29190 echo "not updating unwritable cache $cache_file"
29197 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29203 if test "$wxUSE_THREADS" = "yes" ; then
29204 if test "$USE_BEOS" = 1; then
29205 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29206 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29211 if test "$wxUSE_THREADS" = "yes" ; then
29214 THREAD_OPTS
="-pthread"
29216 *-*-solaris2* | *-*-sunos4* )
29217 if test "x$GCC" = "xyes"; then
29218 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29220 THREAD_OPTS
="-mt $THREAD_OPTS"
29224 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29226 *-*-darwin* | *-*-cygwin* )
29230 THREAD_OPTS
="pthreads"
29233 if test "x$GCC" != "xyes"; then
29239 if test "x$GCC" = "xyes"; then
29245 if test "x$GCC" != "xyes"; then
29246 THREAD_OPTS
="-Ethread"
29251 THREAD_OPTS
="$THREAD_OPTS pthread none"
29254 for flag
in $THREAD_OPTS; do
29257 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29258 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29262 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29263 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29264 THREADS_CFLAGS
="$flag"
29268 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29269 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29270 THREADS_LINK
="-l$flag"
29275 save_CFLAGS
="$CFLAGS"
29276 LIBS
="$THREADS_LINK $LIBS"
29277 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29279 cat >conftest.
$ac_ext <<_ACEOF
29280 #line $LINENO "configure"
29283 cat confdefs.h
>>conftest.
$ac_ext
29284 cat >>conftest.
$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286 #include <pthread.h>
29290 pthread_create(0,0,0,0);
29295 rm -f conftest.
$ac_objext conftest
$ac_exeext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29297 (eval $ac_link) 2>&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try
='test -s conftest$ac_exeext'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; }; then
29309 echo "$as_me: failed program was:" >&5
29310 sed 's/^/| /' conftest.
$ac_ext >&5
29313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29316 CFLAGS
="$save_CFLAGS"
29318 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29319 echo "${ECHO_T}$THREADS_OK" >&6
29320 if test "x$THREADS_OK" = "xyes"; then
29328 if test "x$THREADS_OK" != "xyes"; then
29330 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29331 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29333 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29334 LIBS
="$THREADS_LINK $LIBS"
29336 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29337 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29341 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29342 flag
="-D_THREAD_SAFE"
29345 flag
="-D_THREAD_SAFE"
29348 flag
="-D_REENTRANT"
29349 if test "x$GCC" != "xyes"; then
29350 flag
="$flag -D_RWSTD_MULTI_THREAD"
29353 *solaris
* | alpha
*-osf*)
29354 flag
="-D_REENTRANT"
29357 echo "$as_me:$LINENO: result: ${flag}" >&5
29358 echo "${ECHO_T}${flag}" >&6
29359 if test "x$flag" != xno
; then
29360 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29363 if test "x$THREADS_CFLAGS" != "x"; then
29364 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29365 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29370 if test "$wxUSE_THREADS" = "yes" ; then
29372 for ac_func
in thr_setconcurrency
29374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29375 echo "$as_me:$LINENO: checking for $ac_func" >&5
29376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29377 if eval "test \"\${$as_ac_var+set}\" = set"; then
29378 echo $ECHO_N "(cached) $ECHO_C" >&6
29380 cat >conftest.
$ac_ext <<_ACEOF
29381 #line $LINENO "configure"
29384 cat confdefs.h
>>conftest.
$ac_ext
29385 cat >>conftest.
$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387 /* System header to define __stub macros and hopefully few prototypes,
29388 which can conflict with char $ac_func (); below.
29389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29390 <limits.h> exists even on freestanding compilers. */
29392 # include <limits.h>
29394 # include <assert.h>
29396 /* Override any gcc2 internal prototype to avoid an error. */
29401 /* We use char because int might match the return type of a gcc2
29402 builtin and then its argument prototype would still apply. */
29404 /* The GNU C library defines this for functions which it implements
29405 to always fail with ENOSYS. Some functions are actually named
29406 something starting with __ and the normal name is an alias. */
29407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29410 char (*f) () = $ac_func;
29419 return f != $ac_func;
29424 rm -f conftest.
$ac_objext conftest
$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } &&
29430 { ac_try
='test -s conftest$ac_exeext'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 eval "$as_ac_var=yes"
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.
$ac_ext >&5
29441 eval "$as_ac_var=no"
29443 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29447 if test `eval echo '${'$as_ac_var'}'` = yes; then
29448 cat >>confdefs.h
<<_ACEOF
29449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29457 for ac_header
in sched.h
29459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29461 echo "$as_me:$LINENO: checking for $ac_header" >&5
29462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29469 # Is the header compilable?
29470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29472 cat >conftest.
$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29476 cat confdefs.h
>>conftest.
$ac_ext
29477 cat >>conftest.
$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 $ac_includes_default
29480 #include <$ac_header>
29482 rm -f conftest.
$ac_objext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29484 (eval $ac_compile) 2>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try
='test -s conftest.$ac_objext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_header_compiler
=yes
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.
$ac_ext >&5
29499 ac_header_compiler
=no
29501 rm -f conftest.
$ac_objext conftest.
$ac_ext
29502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29503 echo "${ECHO_T}$ac_header_compiler" >&6
29505 # Is the header present?
29506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29508 cat >conftest.
$ac_ext <<_ACEOF
29509 #line $LINENO "configure"
29512 cat confdefs.h
>>conftest.
$ac_ext
29513 cat >>conftest.
$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515 #include <$ac_header>
29517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29520 grep -v '^ *+' conftest.er1
>conftest.err
29522 cat conftest.err
>&5
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); } >/dev
/null
; then
29525 if test -s conftest.err
; then
29526 ac_cpp_err
=$ac_c_preproc_warn_flag
29533 if test -z "$ac_cpp_err"; then
29534 ac_header_preproc
=yes
29536 echo "$as_me: failed program was:" >&5
29537 sed 's/^/| /' conftest.
$ac_ext >&5
29539 ac_header_preproc
=no
29541 rm -f conftest.err conftest.
$ac_ext
29542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29543 echo "${ECHO_T}$ac_header_preproc" >&6
29545 # So? What about this header?
29546 case $ac_header_compiler:$ac_header_preproc in
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29554 ## ------------------------------------ ##
29555 ## Report this to bug-autoconf@gnu.org. ##
29556 ## ------------------------------------ ##
29559 sed "s/^/$as_me: WARNING: /" >&2
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29570 ## ------------------------------------ ##
29571 ## Report this to bug-autoconf@gnu.org. ##
29572 ## ------------------------------------ ##
29575 sed "s/^/$as_me: WARNING: /" >&2
29578 echo "$as_me:$LINENO: checking for $ac_header" >&5
29579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29583 eval "$as_ac_Header=$ac_header_preproc"
29585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29590 cat >>confdefs.h
<<_ACEOF
29591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29598 if test "$ac_cv_header_sched_h" = "yes"; then
29599 echo "$as_me:$LINENO: checking for sched_yield" >&5
29600 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29601 if test "${ac_cv_func_sched_yield+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 cat >conftest.
$ac_ext <<_ACEOF
29605 #line $LINENO "configure"
29608 cat confdefs.h
>>conftest.
$ac_ext
29609 cat >>conftest.
$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611 /* System header to define __stub macros and hopefully few prototypes,
29612 which can conflict with char sched_yield (); below.
29613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29614 <limits.h> exists even on freestanding compilers. */
29616 # include <limits.h>
29618 # include <assert.h>
29620 /* Override any gcc2 internal prototype to avoid an error. */
29625 /* We use char because int might match the return type of a gcc2
29626 builtin and then its argument prototype would still apply. */
29627 char sched_yield ();
29628 /* The GNU C library defines this for functions which it implements
29629 to always fail with ENOSYS. Some functions are actually named
29630 something starting with __ and the normal name is an alias. */
29631 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29634 char (*f) () = sched_yield;
29643 return f != sched_yield;
29648 rm -f conftest.
$ac_objext conftest
$ac_exeext
29649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29650 (eval $ac_link) 2>&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } &&
29654 { ac_try
='test -s conftest$ac_exeext'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660 ac_cv_func_sched_yield
=yes
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.
$ac_ext >&5
29665 ac_cv_func_sched_yield
=no
29667 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29669 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29670 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29671 if test $ac_cv_func_sched_yield = yes; then
29672 cat >>confdefs.h
<<\_ACEOF
29673 #define HAVE_SCHED_YIELD 1
29678 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29679 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29680 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 ac_check_lib_save_LIBS
=$LIBS
29684 LIBS
="-lposix4 $LIBS"
29685 cat >conftest.
$ac_ext <<_ACEOF
29686 #line $LINENO "configure"
29689 cat confdefs.h
>>conftest.
$ac_ext
29690 cat >>conftest.
$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29693 /* Override any gcc2 internal prototype to avoid an error. */
29697 /* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29699 char sched_yield ();
29708 rm -f conftest.
$ac_objext conftest
$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); } &&
29714 { ac_try
='test -s conftest$ac_exeext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29720 ac_cv_lib_posix4_sched_yield
=yes
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.
$ac_ext >&5
29725 ac_cv_lib_posix4_sched_yield
=no
29727 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29728 LIBS
=$ac_check_lib_save_LIBS
29730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29731 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29732 if test $ac_cv_lib_posix4_sched_yield = yes; then
29733 cat >>confdefs.h
<<\_ACEOF
29734 #define HAVE_SCHED_YIELD 1
29736 POSIX4_LINK
=" -lposix4"
29738 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29739 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29750 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29751 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29752 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 cat >conftest.
$ac_ext <<_ACEOF
29756 #line $LINENO "configure"
29759 cat confdefs.h
>>conftest.
$ac_ext
29760 cat >>conftest.
$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762 /* System header to define __stub macros and hopefully few prototypes,
29763 which can conflict with char pthread_attr_getschedpolicy (); below.
29764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29765 <limits.h> exists even on freestanding compilers. */
29767 # include <limits.h>
29769 # include <assert.h>
29771 /* Override any gcc2 internal prototype to avoid an error. */
29776 /* We use char because int might match the return type of a gcc2
29777 builtin and then its argument prototype would still apply. */
29778 char pthread_attr_getschedpolicy ();
29779 /* The GNU C library defines this for functions which it implements
29780 to always fail with ENOSYS. Some functions are actually named
29781 something starting with __ and the normal name is an alias. */
29782 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29785 char (*f) () = pthread_attr_getschedpolicy;
29794 return f != pthread_attr_getschedpolicy;
29799 rm -f conftest.
$ac_objext conftest
$ac_exeext
29800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29801 (eval $ac_link) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); } &&
29805 { ac_try
='test -s conftest$ac_exeext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 ac_cv_func_pthread_attr_getschedpolicy
=yes
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.
$ac_ext >&5
29816 ac_cv_func_pthread_attr_getschedpolicy
=no
29818 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29820 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29821 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29822 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29823 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29824 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29825 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29826 echo $ECHO_N "(cached) $ECHO_C" >&6
29828 cat >conftest.
$ac_ext <<_ACEOF
29829 #line $LINENO "configure"
29832 cat confdefs.h
>>conftest.
$ac_ext
29833 cat >>conftest.
$ac_ext <<_ACEOF
29834 /* end confdefs.h. */
29835 /* System header to define __stub macros and hopefully few prototypes,
29836 which can conflict with char pthread_attr_setschedparam (); below.
29837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29838 <limits.h> exists even on freestanding compilers. */
29840 # include <limits.h>
29842 # include <assert.h>
29844 /* Override any gcc2 internal prototype to avoid an error. */
29849 /* We use char because int might match the return type of a gcc2
29850 builtin and then its argument prototype would still apply. */
29851 char pthread_attr_setschedparam ();
29852 /* The GNU C library defines this for functions which it implements
29853 to always fail with ENOSYS. Some functions are actually named
29854 something starting with __ and the normal name is an alias. */
29855 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29858 char (*f) () = pthread_attr_setschedparam;
29867 return f != pthread_attr_setschedparam;
29872 rm -f conftest.
$ac_objext conftest
$ac_exeext
29873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29874 (eval $ac_link) 2>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } &&
29878 { ac_try
='test -s conftest$ac_exeext'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; }; then
29884 ac_cv_func_pthread_attr_setschedparam
=yes
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.
$ac_ext >&5
29889 ac_cv_func_pthread_attr_setschedparam
=no
29891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29893 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29894 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29895 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29896 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29897 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29898 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29901 cat >conftest.
$ac_ext <<_ACEOF
29902 #line $LINENO "configure"
29905 cat confdefs.h
>>conftest.
$ac_ext
29906 cat >>conftest.
$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29908 /* System header to define __stub macros and hopefully few prototypes,
29909 which can conflict with char sched_get_priority_max (); below.
29910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29911 <limits.h> exists even on freestanding compilers. */
29913 # include <limits.h>
29915 # include <assert.h>
29917 /* Override any gcc2 internal prototype to avoid an error. */
29922 /* We use char because int might match the return type of a gcc2
29923 builtin and then its argument prototype would still apply. */
29924 char sched_get_priority_max ();
29925 /* The GNU C library defines this for functions which it implements
29926 to always fail with ENOSYS. Some functions are actually named
29927 something starting with __ and the normal name is an alias. */
29928 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29931 char (*f) () = sched_get_priority_max;
29940 return f != sched_get_priority_max;
29945 rm -f conftest.
$ac_objext conftest
$ac_exeext
29946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29947 (eval $ac_link) 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try
='test -s conftest$ac_exeext'
29952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953 (eval $ac_try) 2>&5
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); }; }; then
29957 ac_cv_func_sched_get_priority_max
=yes
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.
$ac_ext >&5
29962 ac_cv_func_sched_get_priority_max
=no
29964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29966 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29967 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29968 if test $ac_cv_func_sched_get_priority_max = yes; then
29971 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29972 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29973 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29974 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 ac_check_lib_save_LIBS
=$LIBS
29977 LIBS
="-lposix4 $LIBS"
29978 cat >conftest.
$ac_ext <<_ACEOF
29979 #line $LINENO "configure"
29982 cat confdefs.h
>>conftest.
$ac_ext
29983 cat >>conftest.
$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29986 /* Override any gcc2 internal prototype to avoid an error. */
29990 /* We use char because int might match the return type of a gcc2
29991 builtin and then its argument prototype would still apply. */
29992 char sched_get_priority_max ();
29996 sched_get_priority_max ();
30001 rm -f conftest.
$ac_objext conftest
$ac_exeext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30003 (eval $ac_link) 2>&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); } &&
30007 { ac_try
='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013 ac_cv_lib_posix4_sched_get_priority_max
=yes
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30018 ac_cv_lib_posix4_sched_get_priority_max
=no
30020 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30021 LIBS
=$ac_check_lib_save_LIBS
30023 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30024 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30025 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30028 POSIX4_LINK
=" -lposix4"
30042 if test "$HAVE_PRIOR_FUNCS" = 1; then
30043 cat >>confdefs.h
<<\_ACEOF
30044 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30048 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30049 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30052 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30053 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30054 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30055 echo $ECHO_N "(cached) $ECHO_C" >&6
30057 cat >conftest.
$ac_ext <<_ACEOF
30058 #line $LINENO "configure"
30061 cat confdefs.h
>>conftest.
$ac_ext
30062 cat >>conftest.
$ac_ext <<_ACEOF
30063 /* end confdefs.h. */
30064 /* System header to define __stub macros and hopefully few prototypes,
30065 which can conflict with char pthread_cancel (); below.
30066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30067 <limits.h> exists even on freestanding compilers. */
30069 # include <limits.h>
30071 # include <assert.h>
30073 /* Override any gcc2 internal prototype to avoid an error. */
30078 /* We use char because int might match the return type of a gcc2
30079 builtin and then its argument prototype would still apply. */
30080 char pthread_cancel ();
30081 /* The GNU C library defines this for functions which it implements
30082 to always fail with ENOSYS. Some functions are actually named
30083 something starting with __ and the normal name is an alias. */
30084 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30087 char (*f) () = pthread_cancel;
30096 return f != pthread_cancel;
30101 rm -f conftest.
$ac_objext conftest
$ac_exeext
30102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try
='test -s conftest$ac_exeext'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; }; then
30113 ac_cv_func_pthread_cancel
=yes
30115 echo "$as_me: failed program was:" >&5
30116 sed 's/^/| /' conftest.
$ac_ext >&5
30118 ac_cv_func_pthread_cancel
=no
30120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30122 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30123 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30124 if test $ac_cv_func_pthread_cancel = yes; then
30125 cat >>confdefs.h
<<\_ACEOF
30126 #define HAVE_PTHREAD_CANCEL 1
30130 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30131 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30137 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30138 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30139 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 cat >conftest.
$ac_ext <<_ACEOF
30144 #line $LINENO "configure"
30147 cat confdefs.h
>>conftest.
$ac_ext
30148 cat >>conftest.
$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 #include <pthread.h>
30155 pthread_mutexattr_t attr;
30156 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30162 rm -f conftest.
$ac_objext
30163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30164 (eval $ac_compile) 2>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try
='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30175 wx_cv_type_pthread_mutexattr_t
=yes
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.
$ac_ext >&5
30182 wx_cv_type_pthread_mutexattr_t
=no
30186 rm -f conftest.
$ac_objext conftest.
$ac_ext
30189 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30190 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30192 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30193 cat >>confdefs.h
<<\_ACEOF
30194 #define HAVE_PTHREAD_MUTEXATTR_T 1
30198 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30199 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30200 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30204 cat >conftest.
$ac_ext <<_ACEOF
30205 #line $LINENO "configure"
30208 cat confdefs.h
>>conftest.
$ac_ext
30209 cat >>conftest.
$ac_ext <<_ACEOF
30210 /* end confdefs.h. */
30211 #include <pthread.h>
30216 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30222 rm -f conftest.
$ac_objext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30224 (eval $ac_compile) 2>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try
='test -s conftest.$ac_objext'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; }; then
30235 wx_cv_type_pthread_rec_mutex_init
=yes
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.
$ac_ext >&5
30242 wx_cv_type_pthread_rec_mutex_init
=no
30246 rm -f conftest.
$ac_objext conftest.
$ac_ext
30249 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30250 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30251 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30252 cat >>confdefs.h
<<\_ACEOF
30253 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30257 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30258 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30264 if test "$wxUSE_THREADS" = "yes" ; then
30267 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30268 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30269 if test "${wx_cv_cflags_mthread+set}" = set; then
30270 echo $ECHO_N "(cached) $ECHO_C" >&6
30273 CFLAGS_OLD
="$CFLAGS"
30274 CFLAGS
="$CFLAGS -mthreads"
30275 cat >conftest.
$ac_ext <<_ACEOF
30276 #line $LINENO "configure"
30279 cat confdefs.h
>>conftest.
$ac_ext
30280 cat >>conftest.
$ac_ext <<_ACEOF
30281 /* end confdefs.h. */
30291 rm -f conftest.
$ac_objext
30292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30293 (eval $ac_compile) 2>&5
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } &&
30297 { ac_try
='test -s conftest.$ac_objext'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 wx_cv_cflags_mthread
=yes
30305 echo "$as_me: failed program was:" >&5
30306 sed 's/^/| /' conftest.
$ac_ext >&5
30308 wx_cv_cflags_mthread
=no
30311 rm -f conftest.
$ac_objext conftest.
$ac_ext
30315 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30316 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30318 if test "$wx_cv_cflags_mthread" = "yes"; then
30319 CXXFLAGS
="$CXXFLAGS -mthreads"
30320 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30321 LDFLAGS
="$LDFLAGS -mthreads"
30323 CFLAGS
="$CFLAGS_OLD"
30327 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30328 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30329 LDFLAGS
="$LDFLAGS -Zmt"
30335 if test "$wxUSE_THREADS" = "yes"; then
30336 cat >>confdefs.h
<<\_ACEOF
30337 #define wxUSE_THREADS 1
30341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30343 if test "$ac_cv_func_strtok_r" = "yes"; then
30344 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30345 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30346 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30347 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30348 echo "$as_me:$LINENO: result: yes" >&5
30349 echo "${ECHO_T}yes" >&6
30351 echo "$as_me:$LINENO: result: no" >&5
30352 echo "${ECHO_T}no" >&6
30357 if test "$WXGTK20" = 1 ; then
30358 cat >>confdefs.h
<<_ACEOF
30359 #define __WXGTK20__ $WXGTK20
30365 if test "$WXGTK12" = 1 ; then
30366 cat >>confdefs.h
<<_ACEOF
30367 #define __WXGTK12__ $WXGTK12
30372 if test "$WXGTK127" = 1 ; then
30373 cat >>confdefs.h
<<_ACEOF
30374 #define __WXGTK127__ $WXGTK127
30381 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30386 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30387 wxUSE_DEBUG_INFO
=yes
30391 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30392 cat >>confdefs.h
<<\_ACEOF
30396 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30398 if test "$wxUSE_GTK" = 1 ; then
30399 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30403 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30404 cat >>confdefs.h
<<\_ACEOF
30405 #define wxUSE_MEMORY_TRACING 1
30408 cat >>confdefs.h
<<\_ACEOF
30409 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30412 cat >>confdefs.h
<<\_ACEOF
30413 #define wxUSE_DEBUG_NEW_ALWAYS 1
30416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30419 if test "$wxUSE_DMALLOC" = "yes" ; then
30420 DMALLOC_LIBS
="-ldmalloc"
30424 if test "$wxUSE_PROFILE" = "yes" ; then
30429 CODE_GEN_FLAGS_CXX
=
30430 if test "$GCC" = "yes" ; then
30431 if test "$wxUSE_NO_RTTI" = "yes" ; then
30432 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30434 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30435 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30437 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30438 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30443 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30446 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30452 if test "$wxUSE_OPTIMISE" = "no" ; then
30453 if test "$GCC" = yes ; then
30457 if test "$GCC" = yes ; then
30461 i586
-*-*|i686
-*-* )
30462 OPTIMISE
="${OPTIMISE} "
30471 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30472 cat >>confdefs.h
<<\_ACEOF
30473 #define WXWIN_COMPATIBILITY_2_2 1
30477 WXWIN_COMPATIBILITY_2_4
="yes"
30480 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30481 cat >>confdefs.h
<<\_ACEOF
30482 #define WXWIN_COMPATIBILITY_2_4 1
30488 if test "$wxUSE_GUI" = "yes"; then
30489 cat >>confdefs.h
<<\_ACEOF
30490 #define wxUSE_GUI 1
30495 cat >>confdefs.h
<<\_ACEOF
30496 #define wxUSE_NOGUI 1
30502 if test "$wxUSE_UNIX" = "yes"; then
30503 cat >>confdefs.h
<<\_ACEOF
30504 #define wxUSE_UNIX 1
30510 if test "$wxUSE_STL" = "yes"; then
30511 cat >>confdefs.h
<<\_ACEOF
30512 #define wxUSE_STL 1
30517 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30518 cat >>confdefs.h
<<\_ACEOF
30519 #define wxUSE_APPLE_IEEE 1
30524 if test "$wxUSE_TIMER" = "yes"; then
30525 cat >>confdefs.h
<<\_ACEOF
30526 #define wxUSE_TIMER 1
30531 if test "$wxUSE_WAVE" = "yes"; then
30532 cat >>confdefs.h
<<\_ACEOF
30533 #define wxUSE_WAVE 1
30538 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30539 cat >>confdefs.h
<<\_ACEOF
30540 #define wxUSE_CMDLINE_PARSER 1
30545 if test "$wxUSE_STOPWATCH" = "yes"; then
30546 cat >>confdefs.h
<<\_ACEOF
30547 #define wxUSE_STOPWATCH 1
30552 if test "$wxUSE_DATETIME" = "yes"; then
30553 cat >>confdefs.h
<<\_ACEOF
30554 #define wxUSE_DATETIME 1
30559 if test "$wxUSE_FILE" = "yes"; then
30560 cat >>confdefs.h
<<\_ACEOF
30561 #define wxUSE_FILE 1
30566 if test "$wxUSE_FFILE" = "yes"; then
30567 cat >>confdefs.h
<<\_ACEOF
30568 #define wxUSE_FFILE 1
30573 if test "$wxUSE_FILESYSTEM" = "yes"; then
30574 cat >>confdefs.h
<<\_ACEOF
30575 #define wxUSE_FILESYSTEM 1
30580 if test "$wxUSE_FS_ZIP" = "yes"; then
30581 cat >>confdefs.h
<<\_ACEOF
30582 #define wxUSE_FS_ZIP 1
30587 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30588 cat >>confdefs.h
<<\_ACEOF
30589 #define wxUSE_ZIPSTREAM 1
30594 if test "$wxUSE_GZSTREAM" = "yes"; then
30595 cat >>confdefs.h
<<\_ACEOF
30596 #define wxUSE_GZSTREAM 1
30601 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30602 cat >>confdefs.h
<<\_ACEOF
30603 #define wxUSE_ON_FATAL_EXCEPTION 1
30608 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30609 cat >>confdefs.h
<<\_ACEOF
30610 #define wxUSE_SNGLINST_CHECKER 1
30615 if test "$wxUSE_BUSYINFO" = "yes"; then
30616 cat >>confdefs.h
<<\_ACEOF
30617 #define wxUSE_BUSYINFO 1
30622 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30623 cat >>confdefs.h
<<\_ACEOF
30624 #define wxUSE_STD_IOSTREAM 1
30629 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30630 cat >>confdefs.h
<<\_ACEOF
30631 #define wxUSE_TEXTBUFFER 1
30636 if test "$wxUSE_TEXTFILE" = "yes"; then
30637 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30638 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30639 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30641 cat >>confdefs.h
<<\_ACEOF
30642 #define wxUSE_TEXTFILE 1
30648 if test "$wxUSE_CONFIG" = "yes" ; then
30649 if test "$wxUSE_TEXTFILE" != "yes"; then
30650 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30651 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30653 cat >>confdefs.h
<<\_ACEOF
30654 #define wxUSE_CONFIG 1
30657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30661 if test "$wxUSE_INTL" = "yes" ; then
30662 if test "$wxUSE_FILE" != "yes"; then
30663 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30664 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30666 cat >>confdefs.h
<<\_ACEOF
30667 #define wxUSE_INTL 1
30670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30671 GUIDIST
="$GUIDIST INTL_DIST"
30675 if test "$wxUSE_LOG" = "yes"; then
30676 cat >>confdefs.h
<<\_ACEOF
30677 #define wxUSE_LOG 1
30681 if test "$wxUSE_LOGGUI" = "yes"; then
30682 cat >>confdefs.h
<<\_ACEOF
30683 #define wxUSE_LOGGUI 1
30688 if test "$wxUSE_LOGWINDOW" = "yes"; then
30689 cat >>confdefs.h
<<\_ACEOF
30690 #define wxUSE_LOGWINDOW 1
30695 if test "$wxUSE_LOGDIALOG" = "yes"; then
30696 cat >>confdefs.h
<<\_ACEOF
30697 #define wxUSE_LOG_DIALOG 1
30703 if test "$wxUSE_LONGLONG" = "yes"; then
30704 cat >>confdefs.h
<<\_ACEOF
30705 #define wxUSE_LONGLONG 1
30710 if test "$wxUSE_GEOMETRY" = "yes"; then
30711 cat >>confdefs.h
<<\_ACEOF
30712 #define wxUSE_GEOMETRY 1
30717 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30718 cat >>confdefs.h
<<\_ACEOF
30719 #define wxUSE_DIALUP_MANAGER 1
30722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30725 if test "$wxUSE_STREAMS" = "yes" ; then
30726 cat >>confdefs.h
<<\_ACEOF
30727 #define wxUSE_STREAMS 1
30733 if test "$wxUSE_DATETIME" = "yes"; then
30735 for ac_func
in strptime
30737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30738 echo "$as_me:$LINENO: checking for $ac_func" >&5
30739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30740 if eval "test \"\${$as_ac_var+set}\" = set"; then
30741 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 cat >conftest.
$ac_ext <<_ACEOF
30744 #line $LINENO "configure"
30747 cat confdefs.h
>>conftest.
$ac_ext
30748 cat >>conftest.
$ac_ext <<_ACEOF
30749 /* end confdefs.h. */
30750 /* System header to define __stub macros and hopefully few prototypes,
30751 which can conflict with char $ac_func (); below.
30752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30753 <limits.h> exists even on freestanding compilers. */
30755 # include <limits.h>
30757 # include <assert.h>
30759 /* Override any gcc2 internal prototype to avoid an error. */
30764 /* We use char because int might match the return type of a gcc2
30765 builtin and then its argument prototype would still apply. */
30767 /* The GNU C library defines this for functions which it implements
30768 to always fail with ENOSYS. Some functions are actually named
30769 something starting with __ and the normal name is an alias. */
30770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30773 char (*f) () = $ac_func;
30782 return f != $ac_func;
30787 rm -f conftest.
$ac_objext conftest
$ac_exeext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30789 (eval $ac_link) 2>&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } &&
30793 { ac_try
='test -s conftest$ac_exeext'
30794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30795 (eval $ac_try) 2>&5
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); }; }; then
30799 eval "$as_ac_var=yes"
30801 echo "$as_me: failed program was:" >&5
30802 sed 's/^/| /' conftest.
$ac_ext >&5
30804 eval "$as_ac_var=no"
30806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30810 if test `eval echo '${'$as_ac_var'}'` = yes; then
30811 cat >>confdefs.h
<<_ACEOF
30812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30819 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30820 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30821 if test "${wx_cv_var_timezone+set}" = set; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 cat >conftest.
$ac_ext <<_ACEOF
30826 #line $LINENO "configure"
30829 cat confdefs.h
>>conftest.
$ac_ext
30830 cat >>conftest.
$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30846 rm -f conftest.
$ac_objext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30848 (eval $ac_compile) 2>&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); } &&
30852 { ac_try
='test -s conftest.$ac_objext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30859 wx_cv_var_timezone
=timezone
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.
$ac_ext >&5
30866 cat >conftest.
$ac_ext <<_ACEOF
30867 #line $LINENO "configure"
30870 cat confdefs.h
>>conftest.
$ac_ext
30871 cat >>conftest.
$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30887 rm -f conftest.
$ac_objext
30888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30889 (eval $ac_compile) 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try
='test -s conftest.$ac_objext'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; }; then
30900 wx_cv_var_timezone
=_timezone
30903 echo "$as_me: failed program was:" >&5
30904 sed 's/^/| /' conftest.
$ac_ext >&5
30907 cat >conftest.
$ac_ext <<_ACEOF
30908 #line $LINENO "configure"
30911 cat confdefs.h
>>conftest.
$ac_ext
30912 cat >>conftest.
$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30928 rm -f conftest.
$ac_objext
30929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30930 (eval $ac_compile) 2>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } &&
30934 { ac_try
='test -s conftest.$ac_objext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30941 wx_cv_var_timezone
=__timezone
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.
$ac_ext >&5
30948 if test "$USE_DOS" = 0 ; then
30949 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30950 echo "$as_me: WARNING: no timezone variable" >&2;}
30955 rm -f conftest.
$ac_objext conftest.
$ac_ext
30959 rm -f conftest.
$ac_objext conftest.
$ac_ext
30963 rm -f conftest.
$ac_objext conftest.
$ac_ext
30967 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30968 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30970 if test "x$wx_cv_var_timezone" != x
; then
30971 cat >>confdefs.h
<<_ACEOF
30972 #define WX_TIMEZONE $wx_cv_var_timezone
30978 for ac_func
in localtime
30980 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30981 echo "$as_me:$LINENO: checking for $ac_func" >&5
30982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30983 if eval "test \"\${$as_ac_var+set}\" = set"; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 cat >conftest.
$ac_ext <<_ACEOF
30987 #line $LINENO "configure"
30990 cat confdefs.h
>>conftest.
$ac_ext
30991 cat >>conftest.
$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
30993 /* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char $ac_func (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30998 # include <limits.h>
31000 # include <assert.h>
31002 /* Override any gcc2 internal prototype to avoid an error. */
31007 /* We use char because int might match the return type of a gcc2
31008 builtin and then its argument prototype would still apply. */
31010 /* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31016 char (*f) () = $ac_func;
31025 return f != $ac_func;
31030 rm -f conftest.
$ac_objext conftest
$ac_exeext
31031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31032 (eval $ac_link) 2>&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try
='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 eval "$as_ac_var=yes"
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.
$ac_ext >&5
31047 eval "$as_ac_var=no"
31049 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31053 if test `eval echo '${'$as_ac_var'}'` = yes; then
31054 cat >>confdefs.h
<<_ACEOF
31055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31062 if test "$ac_cv_func_localtime" = "yes"; then
31063 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31064 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31065 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31069 cat >conftest.
$ac_ext <<_ACEOF
31070 #line $LINENO "configure"
31073 cat confdefs.h
>>conftest.
$ac_ext
31074 cat >>conftest.
$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31090 rm -f conftest.
$ac_objext
31091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31092 (eval $ac_compile) 2>&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } &&
31096 { ac_try
='test -s conftest.$ac_objext'
31097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31098 (eval $ac_try) 2>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; }; then
31103 wx_cv_struct_tm_has_gmtoff
=yes
31106 echo "$as_me: failed program was:" >&5
31107 sed 's/^/| /' conftest.
$ac_ext >&5
31109 wx_cv_struct_tm_has_gmtoff
=no
31112 rm -f conftest.
$ac_objext conftest.
$ac_ext
31115 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31116 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31119 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31120 cat >>confdefs.h
<<\_ACEOF
31121 #define WX_GMTOFF_IN_TM 1
31128 for ac_func
in gettimeofday ftime
31130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31131 echo "$as_me:$LINENO: checking for $ac_func" >&5
31132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31133 if eval "test \"\${$as_ac_var+set}\" = set"; then
31134 echo $ECHO_N "(cached) $ECHO_C" >&6
31136 cat >conftest.
$ac_ext <<_ACEOF
31137 #line $LINENO "configure"
31140 cat confdefs.h
>>conftest.
$ac_ext
31141 cat >>conftest.
$ac_ext <<_ACEOF
31142 /* end confdefs.h. */
31143 /* System header to define __stub macros and hopefully few prototypes,
31144 which can conflict with char $ac_func (); below.
31145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31146 <limits.h> exists even on freestanding compilers. */
31148 # include <limits.h>
31150 # include <assert.h>
31152 /* Override any gcc2 internal prototype to avoid an error. */
31157 /* We use char because int might match the return type of a gcc2
31158 builtin and then its argument prototype would still apply. */
31160 /* The GNU C library defines this for functions which it implements
31161 to always fail with ENOSYS. Some functions are actually named
31162 something starting with __ and the normal name is an alias. */
31163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31166 char (*f) () = $ac_func;
31175 return f != $ac_func;
31180 rm -f conftest.
$ac_objext conftest
$ac_exeext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182 (eval $ac_link) 2>&5
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } &&
31186 { ac_try
='test -s conftest$ac_exeext'
31187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31188 (eval $ac_try) 2>&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; }; then
31192 eval "$as_ac_var=yes"
31194 echo "$as_me: failed program was:" >&5
31195 sed 's/^/| /' conftest.
$ac_ext >&5
31197 eval "$as_ac_var=no"
31199 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31203 if test `eval echo '${'$as_ac_var'}'` = yes; then
31204 cat >>confdefs.h
<<_ACEOF
31205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31212 if test "$ac_cv_func_gettimeofday" = "yes"; then
31213 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31214 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31215 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31222 ac_cpp
='$CXXCPP $CPPFLAGS'
31223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31228 cat >conftest.
$ac_ext <<_ACEOF
31229 #line $LINENO "configure"
31232 cat confdefs.h
>>conftest.
$ac_ext
31233 cat >>conftest.
$ac_ext <<_ACEOF
31234 /* end confdefs.h. */
31236 #include <sys/time.h>
31237 #include <unistd.h>
31244 gettimeofday(&tv, NULL);
31250 rm -f conftest.
$ac_objext
31251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31252 (eval $ac_compile) 2>&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } &&
31256 { ac_try
='test -s conftest.$ac_objext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 wx_cv_func_gettimeofday_has_2_args
=yes
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.
$ac_ext >&5
31267 cat >conftest.
$ac_ext <<_ACEOF
31268 #line $LINENO "configure"
31271 cat confdefs.h
>>conftest.
$ac_ext
31272 cat >>conftest.
$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31275 #include <sys/time.h>
31276 #include <unistd.h>
31289 rm -f conftest.
$ac_objext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31291 (eval $ac_compile) 2>&5
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); } &&
31295 { ac_try
='test -s conftest.$ac_objext'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; }; then
31301 wx_cv_func_gettimeofday_has_2_args
=no
31303 echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.
$ac_ext >&5
31307 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31308 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31309 wx_cv_func_gettimeofday_has_2_args
=unknown
31313 rm -f conftest.
$ac_objext conftest.
$ac_ext
31316 rm -f conftest.
$ac_objext conftest.
$ac_ext
31318 ac_cpp
='$CPP $CPPFLAGS'
31319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31325 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31326 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31328 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31329 cat >>confdefs.h
<<\_ACEOF
31330 #define WX_GETTIMEOFDAY_NO_TZ 1
31336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31340 if test "$wxUSE_SOCKETS" = "yes"; then
31341 if test "$wxUSE_MGL" = "1"; then
31342 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31343 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31346 if test "$wxUSE_COCOA" = "1"; then
31347 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31348 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31353 if test "$wxUSE_SOCKETS" = "yes"; then
31354 if test "$TOOLKIT" != "MSW"; then
31355 echo "$as_me:$LINENO: checking for socket" >&5
31356 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31357 if test "${ac_cv_func_socket+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31360 cat >conftest.
$ac_ext <<_ACEOF
31361 #line $LINENO "configure"
31364 cat confdefs.h
>>conftest.
$ac_ext
31365 cat >>conftest.
$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31367 /* System header to define __stub macros and hopefully few prototypes,
31368 which can conflict with char socket (); below.
31369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31370 <limits.h> exists even on freestanding compilers. */
31372 # include <limits.h>
31374 # include <assert.h>
31376 /* Override any gcc2 internal prototype to avoid an error. */
31381 /* We use char because int might match the return type of a gcc2
31382 builtin and then its argument prototype would still apply. */
31384 /* The GNU C library defines this for functions which it implements
31385 to always fail with ENOSYS. Some functions are actually named
31386 something starting with __ and the normal name is an alias. */
31387 #if defined (__stub_socket) || defined (__stub___socket)
31390 char (*f) () = socket;
31399 return f != socket;
31404 rm -f conftest.
$ac_objext conftest
$ac_exeext
31405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31406 (eval $ac_link) 2>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } &&
31410 { ac_try
='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 ac_cv_func_socket
=yes
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.
$ac_ext >&5
31421 ac_cv_func_socket
=no
31423 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31425 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31426 echo "${ECHO_T}$ac_cv_func_socket" >&6
31427 if test $ac_cv_func_socket = yes; then
31431 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31432 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31433 if test "${ac_cv_lib_socket_socket+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31436 ac_check_lib_save_LIBS
=$LIBS
31437 LIBS
="-lsocket $LIBS"
31438 cat >conftest.
$ac_ext <<_ACEOF
31439 #line $LINENO "configure"
31442 cat confdefs.h
>>conftest.
$ac_ext
31443 cat >>conftest.
$ac_ext <<_ACEOF
31444 /* end confdefs.h. */
31446 /* Override any gcc2 internal prototype to avoid an error. */
31450 /* We use char because int might match the return type of a gcc2
31451 builtin and then its argument prototype would still apply. */
31461 rm -f conftest.
$ac_objext conftest
$ac_exeext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31463 (eval $ac_link) 2>&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); } &&
31467 { ac_try
='test -s conftest$ac_exeext'
31468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469 (eval $ac_try) 2>&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); }; }; then
31473 ac_cv_lib_socket_socket
=yes
31475 echo "$as_me: failed program was:" >&5
31476 sed 's/^/| /' conftest.
$ac_ext >&5
31478 ac_cv_lib_socket_socket
=no
31480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31481 LIBS
=$ac_check_lib_save_LIBS
31483 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31484 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31485 if test $ac_cv_lib_socket_socket = yes; then
31486 if test "$INET_LINK" != " -lsocket"; then
31487 INET_LINK
="$INET_LINK -lsocket"
31491 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31492 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31505 if test "$wxUSE_SOCKETS" = "yes" ; then
31506 if test "$TOOLKIT" != "MSW"; then
31507 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31508 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31509 if test "${wx_cv_type_getsockname3+set}" = set; then
31510 echo $ECHO_N "(cached) $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. */
31521 #include <sys/types.h>
31522 #include <sys/socket.h>
31529 getsockname(0, 0, &len);
31535 rm -f conftest.
$ac_objext
31536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31537 (eval $ac_compile) 2>&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); } &&
31541 { ac_try
='test -s conftest.$ac_objext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 wx_cv_type_getsockname3
=socklen_t
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.
$ac_ext >&5
31553 CFLAGS_OLD
="$CFLAGS"
31554 if test "$GCC" = yes ; then
31555 CFLAGS
="$CFLAGS -Werror"
31558 cat >conftest.
$ac_ext <<_ACEOF
31559 #line $LINENO "configure"
31562 cat confdefs.h
>>conftest.
$ac_ext
31563 cat >>conftest.
$ac_ext <<_ACEOF
31564 /* end confdefs.h. */
31566 #include <sys/types.h>
31567 #include <sys/socket.h>
31574 getsockname(0, 0, &len);
31580 rm -f conftest.
$ac_objext
31581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31582 (eval $ac_compile) 2>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } &&
31586 { ac_try
='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 wx_cv_type_getsockname3
=size_t
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.
$ac_ext >&5
31597 cat >conftest.
$ac_ext <<_ACEOF
31598 #line $LINENO "configure"
31601 cat confdefs.h
>>conftest.
$ac_ext
31602 cat >>conftest.
$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31605 #include <sys/types.h>
31606 #include <sys/socket.h>
31613 getsockname(0, 0, &len);
31619 rm -f conftest.
$ac_objext
31620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31621 (eval $ac_compile) 2>&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); } &&
31625 { ac_try
='test -s conftest.$ac_objext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 wx_cv_type_getsockname3
=int
31633 echo "$as_me: failed program was:" >&5
31634 sed 's/^/| /' conftest.
$ac_ext >&5
31636 wx_cv_type_getsockname3
=unknown
31639 rm -f conftest.
$ac_objext conftest.
$ac_ext
31642 rm -f conftest.
$ac_objext conftest.
$ac_ext
31644 CFLAGS
="$CFLAGS_OLD"
31648 rm -f conftest.
$ac_objext conftest.
$ac_ext
31651 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31652 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31654 if test "$wx_cv_type_getsockname3" = "unknown"; then
31656 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31657 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31659 cat >>confdefs.h
<<_ACEOF
31660 #define SOCKLEN_T $wx_cv_type_getsockname3
31667 if test "$wxUSE_SOCKETS" = "yes" ; then
31668 cat >>confdefs.h
<<\_ACEOF
31669 #define wxUSE_SOCKETS 1
31672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31675 if test "$wxUSE_PROTOCOL" = "yes"; then
31676 if test "$wxUSE_SOCKETS" != "yes"; then
31677 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31678 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31683 if test "$wxUSE_PROTOCOL" = "yes"; then
31684 cat >>confdefs.h
<<\_ACEOF
31685 #define wxUSE_PROTOCOL 1
31689 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31690 cat >>confdefs.h
<<\_ACEOF
31691 #define wxUSE_PROTOCOL_HTTP 1
31695 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31696 cat >>confdefs.h
<<\_ACEOF
31697 #define wxUSE_PROTOCOL_FTP 1
31701 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31702 cat >>confdefs.h
<<\_ACEOF
31703 #define wxUSE_PROTOCOL_FILE 1
31708 if test "$wxUSE_FS_INET" = "yes"; then
31709 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31710 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31715 if test "$wxUSE_URL" = "yes"; then
31716 if test "$wxUSE_PROTOCOL" != "yes"; then
31717 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31718 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31721 if test "$wxUSE_URL" = "yes"; then
31722 cat >>confdefs.h
<<\_ACEOF
31723 #define wxUSE_URL 1
31729 if test "$wxUSE_FS_INET" = "yes"; then
31730 cat >>confdefs.h
<<\_ACEOF
31731 #define wxUSE_FS_INET 1
31737 if test "$wxUSE_GUI" = "yes"; then
31739 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31740 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31741 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31745 if test "$TOOLKIT" != "MSW"; then
31746 if test "$wxUSE_JOYSTICK" = "yes"; then
31748 for ac_header
in linux
/joystick.h
31750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31752 echo "$as_me:$LINENO: checking for $ac_header" >&5
31753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31760 # Is the header compilable?
31761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31763 cat >conftest.
$ac_ext <<_ACEOF
31764 #line $LINENO "configure"
31767 cat confdefs.h
>>conftest.
$ac_ext
31768 cat >>conftest.
$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 $ac_includes_default
31771 #include <$ac_header>
31773 rm -f conftest.
$ac_objext
31774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31775 (eval $ac_compile) 2>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try
='test -s conftest.$ac_objext'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; }; then
31785 ac_header_compiler
=yes
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.
$ac_ext >&5
31790 ac_header_compiler
=no
31792 rm -f conftest.
$ac_objext conftest.
$ac_ext
31793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31794 echo "${ECHO_T}$ac_header_compiler" >&6
31796 # Is the header present?
31797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31799 cat >conftest.
$ac_ext <<_ACEOF
31800 #line $LINENO "configure"
31803 cat confdefs.h
>>conftest.
$ac_ext
31804 cat >>conftest.
$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 #include <$ac_header>
31808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31811 grep -v '^ *+' conftest.er1
>conftest.err
31813 cat conftest.err
>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } >/dev
/null
; then
31816 if test -s conftest.err
; then
31817 ac_cpp_err
=$ac_c_preproc_warn_flag
31824 if test -z "$ac_cpp_err"; then
31825 ac_header_preproc
=yes
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.
$ac_ext >&5
31830 ac_header_preproc
=no
31832 rm -f conftest.err conftest.
$ac_ext
31833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31834 echo "${ECHO_T}$ac_header_preproc" >&6
31836 # So? What about this header?
31837 case $ac_header_compiler:$ac_header_preproc in
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31845 ## ------------------------------------ ##
31846 ## Report this to bug-autoconf@gnu.org. ##
31847 ## ------------------------------------ ##
31850 sed "s/^/$as_me: WARNING: /" >&2
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31861 ## ------------------------------------ ##
31862 ## Report this to bug-autoconf@gnu.org. ##
31863 ## ------------------------------------ ##
31866 sed "s/^/$as_me: WARNING: /" >&2
31869 echo "$as_me:$LINENO: checking for $ac_header" >&5
31870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31872 echo $ECHO_N "(cached) $ECHO_C" >&6
31874 eval "$as_ac_Header=$ac_header_preproc"
31876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31881 cat >>confdefs.h
<<_ACEOF
31882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31889 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31891 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31892 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31897 if test "$wxUSE_JOYSTICK" = "yes"; then
31898 cat >>confdefs.h
<<\_ACEOF
31899 #define wxUSE_JOYSTICK 1
31902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31907 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31911 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31912 if test "$USE_DARWIN" = 1; then
31916 for ac_func
in dlopen
31918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31919 echo "$as_me:$LINENO: checking for $ac_func" >&5
31920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31921 if eval "test \"\${$as_ac_var+set}\" = set"; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 cat >conftest.
$ac_ext <<_ACEOF
31925 #line $LINENO "configure"
31928 cat confdefs.h
>>conftest.
$ac_ext
31929 cat >>conftest.
$ac_ext <<_ACEOF
31930 /* end confdefs.h. */
31931 /* System header to define __stub macros and hopefully few prototypes,
31932 which can conflict with char $ac_func (); below.
31933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31934 <limits.h> exists even on freestanding compilers. */
31936 # include <limits.h>
31938 # include <assert.h>
31940 /* Override any gcc2 internal prototype to avoid an error. */
31945 /* We use char because int might match the return type of a gcc2
31946 builtin and then its argument prototype would still apply. */
31948 /* The GNU C library defines this for functions which it implements
31949 to always fail with ENOSYS. Some functions are actually named
31950 something starting with __ and the normal name is an alias. */
31951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31954 char (*f) () = $ac_func;
31963 return f != $ac_func;
31968 rm -f conftest.
$ac_objext conftest
$ac_exeext
31969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31970 (eval $ac_link) 2>&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } &&
31974 { ac_try
='test -s conftest$ac_exeext'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; }; then
31980 eval "$as_ac_var=yes"
31982 echo "$as_me: failed program was:" >&5
31983 sed 's/^/| /' conftest.
$ac_ext >&5
31985 eval "$as_ac_var=no"
31987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31991 if test `eval echo '${'$as_ac_var'}'` = yes; then
31992 cat >>confdefs.h
<<_ACEOF
31993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31996 cat >>confdefs.h
<<\_ACEOF
31997 #define HAVE_DLOPEN 1
32004 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32005 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32006 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32009 ac_check_lib_save_LIBS
=$LIBS
32011 cat >conftest.
$ac_ext <<_ACEOF
32012 #line $LINENO "configure"
32015 cat confdefs.h
>>conftest.
$ac_ext
32016 cat >>conftest.
$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32019 /* Override any gcc2 internal prototype to avoid an error. */
32023 /* We use char because int might match the return type of a gcc2
32024 builtin and then its argument prototype would still apply. */
32034 rm -f conftest.
$ac_objext conftest
$ac_exeext
32035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32036 (eval $ac_link) 2>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try
='test -s conftest$ac_exeext'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; }; then
32046 ac_cv_lib_dl_dlopen
=yes
32048 echo "$as_me: failed program was:" >&5
32049 sed 's/^/| /' conftest.
$ac_ext >&5
32051 ac_cv_lib_dl_dlopen
=no
32053 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32054 LIBS
=$ac_check_lib_save_LIBS
32056 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32057 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32058 if test $ac_cv_lib_dl_dlopen = yes; then
32060 cat >>confdefs.h
<<\_ACEOF
32061 #define HAVE_DLOPEN 1
32065 DL_LINK
=" -ldl$DL_LINK"
32070 for ac_func
in shl_load
32072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32073 echo "$as_me:$LINENO: checking for $ac_func" >&5
32074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32075 if eval "test \"\${$as_ac_var+set}\" = set"; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32078 cat >conftest.
$ac_ext <<_ACEOF
32079 #line $LINENO "configure"
32082 cat confdefs.h
>>conftest.
$ac_ext
32083 cat >>conftest.
$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 /* System header to define __stub macros and hopefully few prototypes,
32086 which can conflict with char $ac_func (); below.
32087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32088 <limits.h> exists even on freestanding compilers. */
32090 # include <limits.h>
32092 # include <assert.h>
32094 /* Override any gcc2 internal prototype to avoid an error. */
32099 /* We use char because int might match the return type of a gcc2
32100 builtin and then its argument prototype would still apply. */
32102 /* The GNU C library defines this for functions which it implements
32103 to always fail with ENOSYS. Some functions are actually named
32104 something starting with __ and the normal name is an alias. */
32105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32108 char (*f) () = $ac_func;
32117 return f != $ac_func;
32122 rm -f conftest.
$ac_objext conftest
$ac_exeext
32123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } &&
32128 { ac_try
='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 eval "$as_ac_var=yes"
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.
$ac_ext >&5
32139 eval "$as_ac_var=no"
32141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32145 if test `eval echo '${'$as_ac_var'}'` = yes; then
32146 cat >>confdefs.h
<<_ACEOF
32147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32150 cat >>confdefs.h
<<\_ACEOF
32151 #define HAVE_SHL_LOAD 1
32158 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32159 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32160 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 ac_check_lib_save_LIBS
=$LIBS
32164 LIBS
="-lshl_load $LIBS"
32165 cat >conftest.
$ac_ext <<_ACEOF
32166 #line $LINENO "configure"
32169 cat confdefs.h
>>conftest.
$ac_ext
32170 cat >>conftest.
$ac_ext <<_ACEOF
32171 /* end confdefs.h. */
32173 /* Override any gcc2 internal prototype to avoid an error. */
32177 /* We use char because int might match the return type of a gcc2
32178 builtin and then its argument prototype would still apply. */
32188 rm -f conftest.
$ac_objext conftest
$ac_exeext
32189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32190 (eval $ac_link) 2>&5
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); } &&
32194 { ac_try
='test -s conftest$ac_exeext'
32195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32196 (eval $ac_try) 2>&5
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); }; }; then
32200 ac_cv_lib_shl_load_dld
=yes
32202 echo "$as_me: failed program was:" >&5
32203 sed 's/^/| /' conftest.
$ac_ext >&5
32205 ac_cv_lib_shl_load_dld
=no
32207 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32208 LIBS
=$ac_check_lib_save_LIBS
32210 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32211 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32212 if test $ac_cv_lib_shl_load_dld = yes; then
32215 DL_LINK
=" -ldld$DL_LINK"
32231 if test "$HAVE_DL_FUNCS" = 1; then
32233 for ac_func
in dlerror
32235 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32236 echo "$as_me:$LINENO: checking for $ac_func" >&5
32237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32238 if eval "test \"\${$as_ac_var+set}\" = set"; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32241 cat >conftest.
$ac_ext <<_ACEOF
32242 #line $LINENO "configure"
32245 cat confdefs.h
>>conftest.
$ac_ext
32246 cat >>conftest.
$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32248 /* System header to define __stub macros and hopefully few prototypes,
32249 which can conflict with char $ac_func (); below.
32250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32251 <limits.h> exists even on freestanding compilers. */
32253 # include <limits.h>
32255 # include <assert.h>
32257 /* Override any gcc2 internal prototype to avoid an error. */
32262 /* We use char because int might match the return type of a gcc2
32263 builtin and then its argument prototype would still apply. */
32265 /* The GNU C library defines this for functions which it implements
32266 to always fail with ENOSYS. Some functions are actually named
32267 something starting with __ and the normal name is an alias. */
32268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32271 char (*f) () = $ac_func;
32280 return f != $ac_func;
32285 rm -f conftest.
$ac_objext conftest
$ac_exeext
32286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32287 (eval $ac_link) 2>&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try
='test -s conftest$ac_exeext'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; }; then
32297 eval "$as_ac_var=yes"
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.
$ac_ext >&5
32302 eval "$as_ac_var=no"
32304 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32308 if test `eval echo '${'$as_ac_var'}'` = yes; then
32309 cat >>confdefs.h
<<_ACEOF
32310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32312 cat >>confdefs.h
<<\_ACEOF
32313 #define HAVE_DLERROR 1
32318 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32319 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32320 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 ac_check_lib_save_LIBS
=$LIBS
32325 cat >conftest.
$ac_ext <<_ACEOF
32326 #line $LINENO "configure"
32329 cat confdefs.h
>>conftest.
$ac_ext
32330 cat >>conftest.
$ac_ext <<_ACEOF
32331 /* end confdefs.h. */
32333 /* Override any gcc2 internal prototype to avoid an error. */
32337 /* We use char because int might match the return type of a gcc2
32338 builtin and then its argument prototype would still apply. */
32348 rm -f conftest.
$ac_objext conftest
$ac_exeext
32349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32350 (eval $ac_link) 2>&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try
='test -s conftest$ac_exeext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32360 ac_cv_lib_dl_dlerror
=yes
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.
$ac_ext >&5
32365 ac_cv_lib_dl_dlerror
=no
32367 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32368 LIBS
=$ac_check_lib_save_LIBS
32370 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32371 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32372 if test $ac_cv_lib_dl_dlerror = yes; then
32373 cat >>confdefs.h
<<\_ACEOF
32374 #define HAVE_DLERROR 1
32387 if test "$HAVE_DL_FUNCS" = 0; then
32388 if test "$HAVE_SHL_FUNCS" = 0; then
32389 if test "$USE_UNIX" = 1; then
32390 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32391 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32392 wxUSE_DYNAMIC_LOADER
=no
32393 wxUSE_DYNLIB_CLASS
=no
32395 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32396 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32403 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32404 cat >>confdefs.h
<<\_ACEOF
32405 #define wxUSE_DYNAMIC_LOADER 1
32409 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32410 cat >>confdefs.h
<<\_ACEOF
32411 #define wxUSE_DYNLIB_CLASS 1
32417 if test "$wxUSE_FONTMAP" = "yes" ; then
32418 cat >>confdefs.h
<<\_ACEOF
32419 #define wxUSE_FONTMAP 1
32424 if test "$wxUSE_UNICODE" = "yes" ; then
32425 cat >>confdefs.h
<<\_ACEOF
32426 #define wxUSE_UNICODE 1
32430 if test "$USE_WIN32" != 1; then
32431 wxUSE_UNICODE_MSLU
=no
32434 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32435 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32436 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32437 if test "${ac_cv_lib_unicows_main+set}" = set; then
32438 echo $ECHO_N "(cached) $ECHO_C" >&6
32440 ac_check_lib_save_LIBS
=$LIBS
32441 LIBS
="-lunicows $LIBS"
32442 cat >conftest.
$ac_ext <<_ACEOF
32443 #line $LINENO "configure"
32446 cat confdefs.h
>>conftest.
$ac_ext
32447 cat >>conftest.
$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32459 rm -f conftest.
$ac_objext conftest
$ac_exeext
32460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32461 (eval $ac_link) 2>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); } &&
32465 { ac_try
='test -s conftest$ac_exeext'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }; then
32471 ac_cv_lib_unicows_main
=yes
32473 echo "$as_me: failed program was:" >&5
32474 sed 's/^/| /' conftest.
$ac_ext >&5
32476 ac_cv_lib_unicows_main
=no
32478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32479 LIBS
=$ac_check_lib_save_LIBS
32481 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32482 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32483 if test $ac_cv_lib_unicows_main = yes; then
32485 cat >>confdefs.h
<<\_ACEOF
32486 #define wxUSE_UNICODE_MSLU 1
32492 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&5
32494 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32495 Applications will only run on Windows NT/2000/XP!" >&2;}
32496 wxUSE_UNICODE_MSLU
=no
32503 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32504 cat >>confdefs.h
<<\_ACEOF
32505 #define wxUSE_EXPERIMENTAL_PRINTF 1
32511 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32512 cat >>confdefs.h
<<\_ACEOF
32513 #define wxUSE_POSTSCRIPT 1
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32523 cat >>confdefs.h
<<\_ACEOF
32524 #define wxUSE_NORMALIZED_PS_FONTS 1
32529 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32530 cat >>confdefs.h
<<\_ACEOF
32531 #define wxUSE_CONSTRAINTS 1
32534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32537 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32538 cat >>confdefs.h
<<\_ACEOF
32539 #define wxUSE_MDI_ARCHITECTURE 1
32542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32545 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32546 cat >>confdefs.h
<<\_ACEOF
32547 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32551 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32556 if test "$wxUSE_HELP" = "yes"; then
32557 cat >>confdefs.h
<<\_ACEOF
32558 #define wxUSE_HELP 1
32561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32563 if test "$wxUSE_MSW" = 1; then
32564 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32565 cat >>confdefs.h
<<\_ACEOF
32566 #define wxUSE_MS_HTML_HELP 1
32572 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32573 if test "$wxUSE_HTML" = "yes"; then
32574 cat >>confdefs.h
<<\_ACEOF
32575 #define wxUSE_WXHTML_HELP 1
32579 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32580 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32581 wxUSE_WXHTML_HELP
=no
32586 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32587 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32588 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32589 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32591 cat >>confdefs.h
<<\_ACEOF
32592 #define wxUSE_PRINTING_ARCHITECTURE 1
32596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32599 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32600 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32601 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32602 { (exit 1); exit 1; }; }
32606 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32607 -o "$wxUSE_CLIPBOARD" = "yes" \
32608 -o "$wxUSE_OLE" = "yes" \
32609 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32611 for ac_header
in ole2.h
32613 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32615 echo "$as_me:$LINENO: checking for $ac_header" >&5
32616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32623 # Is the header compilable?
32624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32626 cat >conftest.
$ac_ext <<_ACEOF
32627 #line $LINENO "configure"
32630 cat confdefs.h
>>conftest.
$ac_ext
32631 cat >>conftest.
$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633 $ac_includes_default
32634 #include <$ac_header>
32636 rm -f conftest.
$ac_objext
32637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32638 (eval $ac_compile) 2>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } &&
32642 { ac_try
='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_header_compiler
=yes
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.
$ac_ext >&5
32653 ac_header_compiler
=no
32655 rm -f conftest.
$ac_objext conftest.
$ac_ext
32656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32657 echo "${ECHO_T}$ac_header_compiler" >&6
32659 # Is the header present?
32660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32662 cat >conftest.
$ac_ext <<_ACEOF
32663 #line $LINENO "configure"
32666 cat confdefs.h
>>conftest.
$ac_ext
32667 cat >>conftest.
$ac_ext <<_ACEOF
32668 /* end confdefs.h. */
32669 #include <$ac_header>
32671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32674 grep -v '^ *+' conftest.er1
>conftest.err
32676 cat conftest.err
>&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); } >/dev
/null
; then
32679 if test -s conftest.err
; then
32680 ac_cpp_err
=$ac_c_preproc_warn_flag
32687 if test -z "$ac_cpp_err"; then
32688 ac_header_preproc
=yes
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.
$ac_ext >&5
32693 ac_header_preproc
=no
32695 rm -f conftest.err conftest.
$ac_ext
32696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32697 echo "${ECHO_T}$ac_header_preproc" >&6
32699 # So? What about this header?
32700 case $ac_header_compiler:$ac_header_preproc in
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32708 ## ------------------------------------ ##
32709 ## Report this to bug-autoconf@gnu.org. ##
32710 ## ------------------------------------ ##
32713 sed "s/^/$as_me: WARNING: /" >&2
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32724 ## ------------------------------------ ##
32725 ## Report this to bug-autoconf@gnu.org. ##
32726 ## ------------------------------------ ##
32729 sed "s/^/$as_me: WARNING: /" >&2
32732 echo "$as_me:$LINENO: checking for $ac_header" >&5
32733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32737 eval "$as_ac_Header=$ac_header_preproc"
32739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32744 cat >>confdefs.h
<<_ACEOF
32745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32753 if test "$ac_cv_header_ole2_h" = "yes" ; then
32754 if test "$GCC" = yes ; then
32758 ac_cpp
='$CXXCPP $CPPFLAGS'
32759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32764 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32765 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32766 cat >conftest.
$ac_ext <<_ACEOF
32767 #line $LINENO "configure"
32770 cat confdefs.h
>>conftest.
$ac_ext
32771 cat >>conftest.
$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 #include <windows.h>
32783 rm -f conftest.
$ac_objext
32784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32785 (eval $ac_compile) 2>&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } &&
32789 { ac_try
='test -s conftest.$ac_objext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 echo "$as_me:$LINENO: result: no" >&5
32796 echo "${ECHO_T}no" >&6
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.
$ac_ext >&5
32801 echo "$as_me:$LINENO: result: yes" >&5
32802 echo "${ECHO_T}yes" >&6
32803 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32805 rm -f conftest.
$ac_objext conftest.
$ac_ext
32807 ac_cpp
='$CPP $CPPFLAGS'
32808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32812 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32813 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32814 cat >>confdefs.h
<<\_ACEOF
32815 #define wxUSE_OLE 1
32821 cat >>confdefs.h
<<\_ACEOF
32822 #define wxUSE_DATAOBJ 1
32826 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32827 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32830 wxUSE_DRAG_AND_DROP
=no
32835 if test "$wxUSE_METAFILE" = "yes"; then
32836 cat >>confdefs.h
<<\_ACEOF
32837 #define wxUSE_METAFILE 1
32841 cat >>confdefs.h
<<\_ACEOF
32842 #define wxUSE_ENH_METAFILE 1
32848 if test "$wxUSE_IPC" = "yes"; then
32849 if test "$wxUSE_SOCKETS" != "yes"; then
32850 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32851 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32854 cat >>confdefs.h
<<\_ACEOF
32855 #define wxUSE_IPC 1
32860 if test "$wxUSE_CLIPBOARD" = "yes"; then
32861 if test "$wxUSE_MGL" = 1; then
32862 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32863 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32867 if test "$wxUSE_CLIPBOARD" = "yes"; then
32868 cat >>confdefs.h
<<\_ACEOF
32869 #define wxUSE_CLIPBOARD 1
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define wxUSE_DATAOBJ 1
32880 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32881 if test "$wxUSE_GTK" = 1; then
32882 if test "$WXGTK12" != 1; then
32883 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32884 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32885 wxUSE_DRAG_AND_DROP
=no
32889 if test "$wxUSE_MOTIF" = 1; then
32890 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32891 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32892 wxUSE_DRAG_AND_DROP
=no
32895 if test "$wxUSE_X11" = 1; then
32896 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32897 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32898 wxUSE_DRAG_AND_DROP
=no
32901 if test "$wxUSE_MGL" = 1; then
32902 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32903 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32904 wxUSE_DRAG_AND_DROP
=no
32907 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32908 cat >>confdefs.h
<<\_ACEOF
32909 #define wxUSE_DRAG_AND_DROP 1
32912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32917 if test "$wxUSE_SPLINES" = "yes" ; then
32918 cat >>confdefs.h
<<\_ACEOF
32919 #define wxUSE_SPLINES 1
32926 if test "$wxUSE_CONTROLS" = "yes"; then
32930 if test "$wxUSE_ACCEL" = "yes"; then
32931 cat >>confdefs.h
<<\_ACEOF
32932 #define wxUSE_ACCEL 1
32938 if test "$wxUSE_BUTTON" = "yes"; then
32939 cat >>confdefs.h
<<\_ACEOF
32940 #define wxUSE_BUTTON 1
32946 if test "$wxUSE_BMPBUTTON" = "yes"; then
32947 cat >>confdefs.h
<<\_ACEOF
32948 #define wxUSE_BMPBUTTON 1
32954 if test "$wxUSE_CALCTRL" = "yes"; then
32955 cat >>confdefs.h
<<\_ACEOF
32956 #define wxUSE_CALENDARCTRL 1
32960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32963 if test "$wxUSE_CARET" = "yes"; then
32964 cat >>confdefs.h
<<\_ACEOF
32965 #define wxUSE_CARET 1
32969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32972 if test "$wxUSE_COMBOBOX" = "yes"; then
32973 cat >>confdefs.h
<<\_ACEOF
32974 #define wxUSE_COMBOBOX 1
32980 if test "$wxUSE_CHOICE" = "yes"; then
32981 cat >>confdefs.h
<<\_ACEOF
32982 #define wxUSE_CHOICE 1
32988 if test "$wxUSE_CHECKBOX" = "yes"; then
32989 cat >>confdefs.h
<<\_ACEOF
32990 #define wxUSE_CHECKBOX 1
32996 if test "$wxUSE_CHECKLST" = "yes"; then
32997 cat >>confdefs.h
<<\_ACEOF
32998 #define wxUSE_CHECKLISTBOX 1
33002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33005 if test "$wxUSE_DISPLAY" = "yes"; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define wxUSE_DISPLAY 1
33010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
33013 if test "$wxUSE_GAUGE" = "yes"; then
33014 cat >>confdefs.h
<<\_ACEOF
33015 #define wxUSE_GAUGE 1
33021 if test "$wxUSE_GRID" = "yes"; then
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define wxUSE_GRID 1
33027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
33030 if test "$wxUSE_IMAGLIST" = "yes"; then
33031 cat >>confdefs.h
<<\_ACEOF
33032 #define wxUSE_IMAGLIST 1
33037 if test "$wxUSE_LISTBOOK" = "yes"; then
33038 cat >>confdefs.h
<<\_ACEOF
33039 #define wxUSE_LISTBOOK 1
33045 if test "$wxUSE_LISTBOX" = "yes"; then
33046 cat >>confdefs.h
<<\_ACEOF
33047 #define wxUSE_LISTBOX 1
33053 if test "$wxUSE_LISTCTRL" = "yes"; then
33054 if test "$wxUSE_IMAGLIST" = "yes"; then
33055 cat >>confdefs.h
<<\_ACEOF
33056 #define wxUSE_LISTCTRL 1
33060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
33062 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33063 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33067 if test "$wxUSE_NOTEBOOK" = "yes"; then
33068 cat >>confdefs.h
<<\_ACEOF
33069 #define wxUSE_NOTEBOOK 1
33073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
33077 if test "$wxUSE_RADIOBOX" = "yes"; then
33078 cat >>confdefs.h
<<\_ACEOF
33079 #define wxUSE_RADIOBOX 1
33085 if test "$wxUSE_RADIOBTN" = "yes"; then
33086 cat >>confdefs.h
<<\_ACEOF
33087 #define wxUSE_RADIOBTN 1
33093 if test "$wxUSE_SASH" = "yes"; then
33094 cat >>confdefs.h
<<\_ACEOF
33095 #define wxUSE_SASH 1
33098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
33101 if test "$wxUSE_SCROLLBAR" = "yes"; then
33102 cat >>confdefs.h
<<\_ACEOF
33103 #define wxUSE_SCROLLBAR 1
33107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
33110 if test "$wxUSE_SLIDER" = "yes"; then
33111 cat >>confdefs.h
<<\_ACEOF
33112 #define wxUSE_SLIDER 1
33118 if test "$wxUSE_SPINBTN" = "yes"; then
33119 cat >>confdefs.h
<<\_ACEOF
33120 #define wxUSE_SPINBTN 1
33126 if test "$wxUSE_SPINCTRL" = "yes"; then
33127 cat >>confdefs.h
<<\_ACEOF
33128 #define wxUSE_SPINCTRL 1
33134 if test "$wxUSE_SPLITTER" = "yes"; then
33135 cat >>confdefs.h
<<\_ACEOF
33136 #define wxUSE_SPLITTER 1
33139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
33142 if test "$wxUSE_STATBMP" = "yes"; then
33143 cat >>confdefs.h
<<\_ACEOF
33144 #define wxUSE_STATBMP 1
33150 if test "$wxUSE_STATBOX" = "yes"; then
33151 cat >>confdefs.h
<<\_ACEOF
33152 #define wxUSE_STATBOX 1
33158 if test "$wxUSE_STATTEXT" = "yes"; then
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define wxUSE_STATTEXT 1
33166 if test "$wxUSE_STATLINE" = "yes"; then
33167 cat >>confdefs.h
<<\_ACEOF
33168 #define wxUSE_STATLINE 1
33174 if test "$wxUSE_STATUSBAR" = "yes"; then
33175 cat >>confdefs.h
<<\_ACEOF
33176 #define wxUSE_STATUSBAR 1
33181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33184 if test "$wxUSE_TABDIALOG" = "yes"; then
33185 cat >>confdefs.h
<<\_ACEOF
33186 #define wxUSE_TAB_DIALOG 1
33189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33192 if test "$wxUSE_TEXTCTRL" = "yes"; then
33193 cat >>confdefs.h
<<\_ACEOF
33194 #define wxUSE_TEXTCTRL 1
33198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33201 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33202 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33203 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33204 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33207 if test "$wxUSE_UNIVERSAL" = "yes"; then
33208 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33209 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33213 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33214 cat >>confdefs.h
<<\_ACEOF
33215 #define wxUSE_TOGGLEBTN 1
33222 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33223 cat >>confdefs.h
<<\_ACEOF
33224 #define wxUSE_TOOLBAR_SIMPLE 1
33227 wxUSE_TOOLBAR
="yes"
33231 if test "$wxUSE_TOOLBAR" = "yes"; then
33232 cat >>confdefs.h
<<\_ACEOF
33233 #define wxUSE_TOOLBAR 1
33238 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33239 wxUSE_TOOLBAR_NATIVE
="yes"
33242 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define wxUSE_TOOLBAR_NATIVE 1
33250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33253 if test "$wxUSE_TOOLTIPS" = "yes"; then
33254 if test "$wxUSE_MOTIF" = 1; then
33255 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33256 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33258 if test "$wxUSE_UNIVERSAL" = "yes"; then
33259 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33260 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33262 cat >>confdefs.h
<<\_ACEOF
33263 #define wxUSE_TOOLTIPS 1
33270 if test "$wxUSE_TREECTRL" = "yes"; then
33271 if test "$wxUSE_IMAGLIST" = "yes"; then
33272 cat >>confdefs.h
<<\_ACEOF
33273 #define wxUSE_TREECTRL 1
33277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33279 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33280 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33284 if test "$wxUSE_POPUPWIN" = "yes"; then
33285 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33286 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33287 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33289 if test "$wxUSE_PM" = 1; then
33290 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33291 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33293 cat >>confdefs.h
<<\_ACEOF
33294 #define wxUSE_POPUPWIN 1
33303 if test "$wxUSE_TIPWINDOW" = "yes"; then
33304 if test "$wxUSE_PM" = 1; then
33305 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33306 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33308 cat >>confdefs.h
<<\_ACEOF
33309 #define wxUSE_TIPWINDOW 1
33315 if test "$USES_CONTROLS" = 1; then
33316 cat >>confdefs.h
<<\_ACEOF
33317 #define wxUSE_CONTROLS 1
33323 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33324 cat >>confdefs.h
<<\_ACEOF
33325 #define wxUSE_ACCESSIBILITY 1
33328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33331 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33332 cat >>confdefs.h
<<\_ACEOF
33333 #define wxUSE_DRAGIMAGE 1
33336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33339 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33340 cat >>confdefs.h
<<\_ACEOF
33341 #define wxUSE_EXCEPTIONS 1
33347 if test "$wxUSE_HTML" = "yes"; then
33348 cat >>confdefs.h
<<\_ACEOF
33349 #define wxUSE_HTML 1
33353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33356 if test "$wxUSE_MENUS" = "yes"; then
33357 cat >>confdefs.h
<<\_ACEOF
33358 #define wxUSE_MENUS 1
33361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33364 if test "$wxUSE_METAFILE" = "yes"; then
33365 cat >>confdefs.h
<<\_ACEOF
33366 #define wxUSE_METAFILE 1
33371 if test "$wxUSE_MIMETYPE" = "yes"; then
33372 cat >>confdefs.h
<<\_ACEOF
33373 #define wxUSE_MIMETYPE 1
33378 if test "$wxUSE_MINIFRAME" = "yes"; then
33379 cat >>confdefs.h
<<\_ACEOF
33380 #define wxUSE_MINIFRAME 1
33383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33386 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33387 cat >>confdefs.h
<<\_ACEOF
33388 #define wxUSE_SYSTEM_OPTIONS 1
33391 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33392 "$TOOLKIT" = "MOTIF"; then
33393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33398 if test "$wxUSE_VALIDATORS" = "yes"; then
33399 cat >>confdefs.h
<<\_ACEOF
33400 #define wxUSE_VALIDATORS 1
33403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33406 if test "$wxUSE_PALETTE" = "yes" ; then
33407 cat >>confdefs.h
<<\_ACEOF
33408 #define wxUSE_PALETTE 1
33413 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33414 LIBS
=" -lunicows $LIBS"
33418 if test "$wxUSE_IMAGE" = "yes" ; then
33419 cat >>confdefs.h
<<\_ACEOF
33420 #define wxUSE_IMAGE 1
33424 if test "$wxUSE_GIF" = "yes" ; then
33425 cat >>confdefs.h
<<\_ACEOF
33426 #define wxUSE_GIF 1
33431 if test "$wxUSE_PCX" = "yes" ; then
33432 cat >>confdefs.h
<<\_ACEOF
33433 #define wxUSE_PCX 1
33438 if test "$wxUSE_IFF" = "yes" ; then
33439 cat >>confdefs.h
<<\_ACEOF
33440 #define wxUSE_IFF 1
33445 if test "$wxUSE_PNM" = "yes" ; then
33446 cat >>confdefs.h
<<\_ACEOF
33447 #define wxUSE_PNM 1
33452 if test "$wxUSE_XPM" = "yes" ; then
33453 cat >>confdefs.h
<<\_ACEOF
33454 #define wxUSE_XPM 1
33459 if test "$wxUSE_ICO_CUR" = "yes" ; then
33460 cat >>confdefs.h
<<\_ACEOF
33461 #define wxUSE_ICO_CUR 1
33468 if test "$wxUSE_CHOICEDLG" = "yes"; then
33469 cat >>confdefs.h
<<\_ACEOF
33470 #define wxUSE_CHOICEDLG 1
33475 if test "$wxUSE_COLOURDLG" = "yes"; then
33476 cat >>confdefs.h
<<\_ACEOF
33477 #define wxUSE_COLOURDLG 1
33482 if test "$wxUSE_FILEDLG" = "yes"; then
33483 cat >>confdefs.h
<<\_ACEOF
33484 #define wxUSE_FILEDLG 1
33489 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33490 cat >>confdefs.h
<<\_ACEOF
33491 #define wxUSE_FINDREPLDLG 1
33496 if test "$wxUSE_FONTDLG" = "yes"; then
33497 cat >>confdefs.h
<<\_ACEOF
33498 #define wxUSE_FONTDLG 1
33503 if test "$wxUSE_DIRDLG" = "yes"; then
33504 if test "$wxUSE_TREECTRL" != "yes"; then
33505 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33506 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33508 cat >>confdefs.h
<<\_ACEOF
33509 #define wxUSE_DIRDLG 1
33515 if test "$wxUSE_MSGDLG" = "yes"; then
33516 cat >>confdefs.h
<<\_ACEOF
33517 #define wxUSE_MSGDLG 1
33522 if test "$wxUSE_NUMBERDLG" = "yes"; then
33523 cat >>confdefs.h
<<\_ACEOF
33524 #define wxUSE_NUMBERDLG 1
33529 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33530 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33531 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33532 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33534 cat >>confdefs.h
<<\_ACEOF
33535 #define wxUSE_PROGRESSDLG 1
33541 if test "$wxUSE_SPLASH" = "yes"; then
33542 cat >>confdefs.h
<<\_ACEOF
33543 #define wxUSE_SPLASH 1
33548 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33549 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33550 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33551 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33553 cat >>confdefs.h
<<\_ACEOF
33554 #define wxUSE_STARTUP_TIPS 1
33560 if test "$wxUSE_TEXTDLG" = "yes"; then
33561 cat >>confdefs.h
<<\_ACEOF
33562 #define wxUSE_TEXTDLG 1
33567 if test "$wxUSE_WIZARDDLG" = "yes"; then
33568 cat >>confdefs.h
<<\_ACEOF
33569 #define wxUSE_WIZARDDLG 1
33572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33576 if test "$cross_compiling" = "yes"; then
33579 OSINFO
=`uname -s -r -m`
33580 OSINFO
="\"$OSINFO\""
33583 cat >>confdefs.h
<<_ACEOF
33584 #define WXWIN_OS_DESCRIPTION $OSINFO
33589 if test "x$prefix" != "xNONE"; then
33592 wxPREFIX
=$ac_default_prefix
33595 cat >>confdefs.h
<<_ACEOF
33596 #define wxINSTALL_PREFIX "$wxPREFIX"
33600 top_builddir_wxconfig
=`pwd`
33604 CORE_BASE_LIBS
="net base"
33605 CORE_GUI_LIBS
="adv core"
33607 if test "$wxUSE_XML" = "yes" ; then
33608 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33610 if test "$wxUSE_ODBC" != "no" ; then
33611 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33612 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33614 if test "$wxUSE_HTML" = "yes" ; then
33615 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33618 if test "$wxUSE_GUI" != "yes"; then
33629 if test "$wxUSE_MAC" = 1 ; then
33630 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33632 if test "$wxUSE_COCOA" = 1 ; then
33633 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33637 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33645 echo "$as_me:$LINENO: checking for $ac_func" >&5
33646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33647 if eval "test \"\${$as_ac_var+set}\" = set"; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 cat >conftest.
$ac_ext <<_ACEOF
33651 #line $LINENO "configure"
33654 cat confdefs.h
>>conftest.
$ac_ext
33655 cat >>conftest.
$ac_ext <<_ACEOF
33656 /* end confdefs.h. */
33657 /* System header to define __stub macros and hopefully few prototypes,
33658 which can conflict with char $ac_func (); below.
33659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33660 <limits.h> exists even on freestanding compilers. */
33662 # include <limits.h>
33664 # include <assert.h>
33666 /* Override any gcc2 internal prototype to avoid an error. */
33671 /* We use char because int might match the return type of a gcc2
33672 builtin and then its argument prototype would still apply. */
33674 /* The GNU C library defines this for functions which it implements
33675 to always fail with ENOSYS. Some functions are actually named
33676 something starting with __ and the normal name is an alias. */
33677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33680 char (*f) () = $ac_func;
33689 return f != $ac_func;
33694 rm -f conftest.
$ac_objext conftest
$ac_exeext
33695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33696 (eval $ac_link) 2>&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try
='test -s conftest$ac_exeext'
33701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702 (eval $ac_try) 2>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); }; }; then
33706 eval "$as_ac_var=yes"
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.
$ac_ext >&5
33711 eval "$as_ac_var=no"
33713 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33717 if test `eval echo '${'$as_ac_var'}'` = yes; then
33718 cat >>confdefs.h
<<_ACEOF
33719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33726 for ac_func
in floor
33728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33729 echo "$as_me:$LINENO: checking for $ac_func" >&5
33730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33731 if eval "test \"\${$as_ac_var+set}\" = set"; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 cat >conftest.
$ac_ext <<_ACEOF
33735 #line $LINENO "configure"
33738 cat confdefs.h
>>conftest.
$ac_ext
33739 cat >>conftest.
$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741 /* System header to define __stub macros and hopefully few prototypes,
33742 which can conflict with char $ac_func (); below.
33743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33744 <limits.h> exists even on freestanding compilers. */
33746 # include <limits.h>
33748 # include <assert.h>
33750 /* Override any gcc2 internal prototype to avoid an error. */
33755 /* We use char because int might match the return type of a gcc2
33756 builtin and then its argument prototype would still apply. */
33758 /* The GNU C library defines this for functions which it implements
33759 to always fail with ENOSYS. Some functions are actually named
33760 something starting with __ and the normal name is an alias. */
33761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33764 char (*f) () = $ac_func;
33773 return f != $ac_func;
33778 rm -f conftest.
$ac_objext conftest
$ac_exeext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33780 (eval $ac_link) 2>&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } &&
33784 { ac_try
='test -s conftest$ac_exeext'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; }; then
33790 eval "$as_ac_var=yes"
33792 echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.
$ac_ext >&5
33795 eval "$as_ac_var=no"
33797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33801 if test `eval echo '${'$as_ac_var'}'` = yes; then
33802 cat >>confdefs.h
<<_ACEOF
33803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33809 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33810 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33811 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33812 echo "$as_me:$LINENO: result: yes" >&5
33813 echo "${ECHO_T}yes" >&6
33815 echo "$as_me:$LINENO: result: no" >&5
33816 echo "${ECHO_T}no" >&6
33818 # use different functions to avoid configure caching
33824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33825 echo "$as_me:$LINENO: checking for $ac_func" >&5
33826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33827 if eval "test \"\${$as_ac_var+set}\" = set"; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 cat >conftest.
$ac_ext <<_ACEOF
33831 #line $LINENO "configure"
33834 cat confdefs.h
>>conftest.
$ac_ext
33835 cat >>conftest.
$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33837 /* System header to define __stub macros and hopefully few prototypes,
33838 which can conflict with char $ac_func (); below.
33839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33840 <limits.h> exists even on freestanding compilers. */
33842 # include <limits.h>
33844 # include <assert.h>
33846 /* Override any gcc2 internal prototype to avoid an error. */
33851 /* We use char because int might match the return type of a gcc2
33852 builtin and then its argument prototype would still apply. */
33854 /* The GNU C library defines this for functions which it implements
33855 to always fail with ENOSYS. Some functions are actually named
33856 something starting with __ and the normal name is an alias. */
33857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33860 char (*f) () = $ac_func;
33869 return f != $ac_func;
33874 rm -f conftest.
$ac_objext conftest
$ac_exeext
33875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33876 (eval $ac_link) 2>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try
='test -s conftest$ac_exeext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33886 eval "$as_ac_var=yes"
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.
$ac_ext >&5
33891 eval "$as_ac_var=no"
33893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33897 if test `eval echo '${'$as_ac_var'}'` = yes; then
33898 cat >>confdefs.h
<<_ACEOF
33899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33906 for ac_func
in ceil
33908 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33909 echo "$as_me:$LINENO: checking for $ac_func" >&5
33910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33911 if eval "test \"\${$as_ac_var+set}\" = set"; then
33912 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 cat >conftest.
$ac_ext <<_ACEOF
33915 #line $LINENO "configure"
33918 cat confdefs.h
>>conftest.
$ac_ext
33919 cat >>conftest.
$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 /* System header to define __stub macros and hopefully few prototypes,
33922 which can conflict with char $ac_func (); below.
33923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33924 <limits.h> exists even on freestanding compilers. */
33926 # include <limits.h>
33928 # include <assert.h>
33930 /* Override any gcc2 internal prototype to avoid an error. */
33935 /* We use char because int might match the return type of a gcc2
33936 builtin and then its argument prototype would still apply. */
33938 /* The GNU C library defines this for functions which it implements
33939 to always fail with ENOSYS. Some functions are actually named
33940 something starting with __ and the normal name is an alias. */
33941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33944 char (*f) () = $ac_func;
33953 return f != $ac_func;
33958 rm -f conftest.
$ac_objext conftest
$ac_exeext
33959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33960 (eval $ac_link) 2>&5
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); } &&
33964 { ac_try
='test -s conftest$ac_exeext'
33965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33966 (eval $ac_try) 2>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 eval "$as_ac_var=yes"
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.
$ac_ext >&5
33975 eval "$as_ac_var=no"
33977 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33981 if test `eval echo '${'$as_ac_var'}'` = yes; then
33982 cat >>confdefs.h
<<_ACEOF
33983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33989 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33990 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33991 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33992 echo "$as_me:$LINENO: result: yes" >&5
33993 echo "${ECHO_T}yes" >&6
33995 echo "$as_me:$LINENO: result: no" >&5
33996 echo "${ECHO_T}no" >&6
33997 # not sure we should warn the user, crash, etc.
34001 if test "$wxUSE_GUI" = "yes"; then
34004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34005 drawing dynamic erase event exec font image \
34006 minimal propsize rotate shaped widgets render"
34008 if test "$wxUSE_MONOLITHIC" != "yes"; then
34009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
34012 SAMPLES_SUBDIRS
="console"
34016 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34017 -I\${top_srcdir}/include \
34018 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34021 if test "$GXX" = yes ; then
34022 CXXWARNINGS
="-Wall"
34025 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34027 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34028 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34029 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34032 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34033 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34034 EXTRALIBS_XML
="$EXPAT_LINK"
34035 EXTRALIBS_HTML
="$MSPACK_LINK"
34036 EXTRALIBS_ODBC
="$ODBC_LINK"
34037 if test "$wxUSE_GUI" = "yes"; then
34038 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34040 if test "$wxUSE_OPENGL" = "yes"; then
34041 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
34044 LDFLAGS
="$LDFLAGS $PROFILE"
34046 if test "$wxUSE_GTK" = 1; then
34049 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
34052 WXCONFIG_EXTRALIBS
="$LIBS"
34054 if test "$wxUSE_REGEX" = "builtin" ; then
34055 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
34057 if test "$wxUSE_EXPAT" = "builtin" ; then
34058 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
34060 if test "$wxUSE_ODBC" = "builtin" ; then
34061 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34063 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34064 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
34066 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34067 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
34069 if test "$wxUSE_LIBPNG" = "builtin" ; then
34070 wxconfig_3rdparty
="$wxconfig_3rdparty png"
34072 if test "$wxUSE_ZLIB" = "builtin" ; then
34073 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
34075 if test "$wxUSE_ODBC" = "builtin" ; then
34076 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34079 for i
in $wxconfig_3rdparty ; do
34080 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34084 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34098 if test $wxUSE_MONOLITHIC = "yes" ; then
34104 if test $wxUSE_ODBC != "no" ; then
34110 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34133 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34141 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34143 if test -n "$ac_tool_prefix"; then
34144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34145 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
34146 echo "$as_me:$LINENO: checking for $ac_word" >&5
34147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34148 if test "${ac_cv_prog_RANLIB+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 if test -n "$RANLIB"; then
34152 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
34154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34155 for as_dir
in $PATH
34158 test -z "$as_dir" && as_dir
=.
34159 for ac_exec_ext
in '' $ac_executable_extensions; do
34160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34161 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34170 RANLIB
=$ac_cv_prog_RANLIB
34171 if test -n "$RANLIB"; then
34172 echo "$as_me:$LINENO: result: $RANLIB" >&5
34173 echo "${ECHO_T}$RANLIB" >&6
34175 echo "$as_me:$LINENO: result: no" >&5
34176 echo "${ECHO_T}no" >&6
34180 if test -z "$ac_cv_prog_RANLIB"; then
34181 ac_ct_RANLIB
=$RANLIB
34182 # Extract the first word of "ranlib", so it can be a program name with args.
34183 set dummy ranlib
; ac_word
=$2
34184 echo "$as_me:$LINENO: checking for $ac_word" >&5
34185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 if test -n "$ac_ct_RANLIB"; then
34190 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34193 for as_dir
in $PATH
34196 test -z "$as_dir" && as_dir
=.
34197 for ac_exec_ext
in '' $ac_executable_extensions; do
34198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34199 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34206 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34209 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34210 if test -n "$ac_ct_RANLIB"; then
34211 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34212 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34214 echo "$as_me:$LINENO: result: no" >&5
34215 echo "${ECHO_T}no" >&6
34218 RANLIB
=$ac_ct_RANLIB
34220 RANLIB
="$ac_cv_prog_RANLIB"
34223 # Find a good install program. We prefer a C program (faster),
34224 # so one script is as good as another. But avoid the broken or
34225 # incompatible versions:
34226 # SysV /etc/install, /usr/sbin/install
34227 # SunOS /usr/etc/install
34228 # IRIX /sbin/install
34230 # AmigaOS /C/install, which installs bootblocks on floppy discs
34231 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34232 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34233 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34234 # ./install, which can be erroneously created by make from ./install.sh.
34235 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34236 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34237 if test -z "$INSTALL"; then
34238 if test "${ac_cv_path_install+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34242 for as_dir
in $PATH
34245 test -z "$as_dir" && as_dir
=.
34246 # Account for people who put trailing slashes in PATH elements.
34248 .
/ | .
// | /cC
/* | \
34249 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34252 # OSF1 and SCO ODT 3.0 have their own names for install.
34253 # Don't use installbsd from OSF since it installs stuff as root
34255 for ac_prog
in ginstall scoinst
install; do
34256 for ac_exec_ext
in '' $ac_executable_extensions; do
34257 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34258 if test $ac_prog = install &&
34259 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34260 # AIX install. It has an incompatible calling convention.
34262 elif test $ac_prog = install &&
34263 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34264 # program-specific install script used by HP pwplus--don't use.
34267 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34279 if test "${ac_cv_path_install+set}" = set; then
34280 INSTALL
=$ac_cv_path_install
34282 # As a last resort, use the slow shell script. We don't cache a
34283 # path for INSTALL within a source directory, because that will
34284 # break other packages using the cache if that directory is
34285 # removed, or if the path is relative.
34286 INSTALL
=$ac_install_sh
34289 echo "$as_me:$LINENO: result: $INSTALL" >&5
34290 echo "${ECHO_T}$INSTALL" >&6
34292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34293 # It thinks the first close brace ends the variable substitution.
34294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34296 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34298 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34300 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34301 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34303 if test "$LN_S" = "ln -s"; then
34304 echo "$as_me:$LINENO: result: yes" >&5
34305 echo "${ECHO_T}yes" >&6
34307 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34308 echo "${ECHO_T}no, using $LN_S" >&6
34312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34313 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34314 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34315 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34318 cat >conftest.
make <<\_ACEOF
34320 @
echo 'ac_maketemp="$(MAKE)"'
34322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34323 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34324 if test -n "$ac_maketemp"; then
34325 eval ac_cv_prog_make_
${ac_make}_set
=yes
34327 eval ac_cv_prog_make_
${ac_make}_set
=no
34329 rm -f conftest.
make
34331 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34332 echo "$as_me:$LINENO: result: yes" >&5
34333 echo "${ECHO_T}yes" >&6
34336 echo "$as_me:$LINENO: result: no" >&5
34337 echo "${ECHO_T}no" >&6
34338 SET_MAKE
="MAKE=${MAKE-make}"
34343 if test -n "$ac_tool_prefix"; then
34344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34345 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34346 echo "$as_me:$LINENO: checking for $ac_word" >&5
34347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34348 if test "${ac_cv_prog_AR+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34351 if test -n "$AR"; then
34352 ac_cv_prog_AR
="$AR" # Let the user override the test.
34354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34355 for as_dir
in $PATH
34358 test -z "$as_dir" && as_dir
=.
34359 for ac_exec_ext
in '' $ac_executable_extensions; do
34360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34361 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34371 if test -n "$AR"; then
34372 echo "$as_me:$LINENO: result: $AR" >&5
34373 echo "${ECHO_T}$AR" >&6
34375 echo "$as_me:$LINENO: result: no" >&5
34376 echo "${ECHO_T}no" >&6
34380 if test -z "$ac_cv_prog_AR"; then
34382 # Extract the first word of "ar", so it can be a program name with args.
34383 set dummy
ar; ac_word
=$2
34384 echo "$as_me:$LINENO: checking for $ac_word" >&5
34385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34389 if test -n "$ac_ct_AR"; then
34390 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34393 for as_dir
in $PATH
34396 test -z "$as_dir" && as_dir
=.
34397 for ac_exec_ext
in '' $ac_executable_extensions; do
34398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34399 ac_cv_prog_ac_ct_AR
="ar"
34400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34406 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34409 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34410 if test -n "$ac_ct_AR"; then
34411 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34412 echo "${ECHO_T}$ac_ct_AR" >&6
34414 echo "$as_me:$LINENO: result: no" >&5
34415 echo "${ECHO_T}no" >&6
34420 AR
="$ac_cv_prog_AR"
34423 if test -n "$ac_tool_prefix"; then
34424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34425 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34426 echo "$as_me:$LINENO: checking for $ac_word" >&5
34427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34428 if test "${ac_cv_prog_STRIP+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 if test -n "$STRIP"; then
34432 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34435 for as_dir
in $PATH
34438 test -z "$as_dir" && as_dir
=.
34439 for ac_exec_ext
in '' $ac_executable_extensions; do
34440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34441 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
34442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34450 STRIP
=$ac_cv_prog_STRIP
34451 if test -n "$STRIP"; then
34452 echo "$as_me:$LINENO: result: $STRIP" >&5
34453 echo "${ECHO_T}$STRIP" >&6
34455 echo "$as_me:$LINENO: result: no" >&5
34456 echo "${ECHO_T}no" >&6
34460 if test -z "$ac_cv_prog_STRIP"; then
34462 # Extract the first word of "strip", so it can be a program name with args.
34463 set dummy strip
; ac_word
=$2
34464 echo "$as_me:$LINENO: checking for $ac_word" >&5
34465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34466 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34469 if test -n "$ac_ct_STRIP"; then
34470 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
34472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34473 for as_dir
in $PATH
34476 test -z "$as_dir" && as_dir
=.
34477 for ac_exec_ext
in '' $ac_executable_extensions; do
34478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34479 ac_cv_prog_ac_ct_STRIP
="strip"
34480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34486 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
34489 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
34490 if test -n "$ac_ct_STRIP"; then
34491 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34492 echo "${ECHO_T}$ac_ct_STRIP" >&6
34494 echo "$as_me:$LINENO: result: no" >&5
34495 echo "${ECHO_T}no" >&6
34500 STRIP
="$ac_cv_prog_STRIP"
34503 if test -n "$ac_tool_prefix"; then
34504 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34505 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
34506 echo "$as_me:$LINENO: checking for $ac_word" >&5
34507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34508 if test "${ac_cv_prog_NM+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34511 if test -n "$NM"; then
34512 ac_cv_prog_NM
="$NM" # Let the user override the test.
34514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34515 for as_dir
in $PATH
34518 test -z "$as_dir" && as_dir
=.
34519 for ac_exec_ext
in '' $ac_executable_extensions; do
34520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34521 ac_cv_prog_NM
="${ac_tool_prefix}nm"
34522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34531 if test -n "$NM"; then
34532 echo "$as_me:$LINENO: result: $NM" >&5
34533 echo "${ECHO_T}$NM" >&6
34535 echo "$as_me:$LINENO: result: no" >&5
34536 echo "${ECHO_T}no" >&6
34540 if test -z "$ac_cv_prog_NM"; then
34542 # Extract the first word of "nm", so it can be a program name with args.
34543 set dummy nm
; ac_word
=$2
34544 echo "$as_me:$LINENO: checking for $ac_word" >&5
34545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34546 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34549 if test -n "$ac_ct_NM"; then
34550 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
34552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34553 for as_dir
in $PATH
34556 test -z "$as_dir" && as_dir
=.
34557 for ac_exec_ext
in '' $ac_executable_extensions; do
34558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34559 ac_cv_prog_ac_ct_NM
="nm"
34560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34566 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
34569 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
34570 if test -n "$ac_ct_NM"; then
34571 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34572 echo "${ECHO_T}$ac_ct_NM" >&6
34574 echo "$as_me:$LINENO: result: no" >&5
34575 echo "${ECHO_T}no" >&6
34580 NM
="$ac_cv_prog_NM"
34586 INSTALL_DIR
="mkdir"
34588 *) INSTALL_DIR
="$INSTALL -d"
34595 *-*-cygwin* | *-*-mingw32* )
34596 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34602 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34603 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34604 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34609 egrep -s GNU
> /dev
/null
); then
34610 bakefile_cv_prog_makeisgnu
="yes"
34612 bakefile_cv_prog_makeisgnu
="no"
34616 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34617 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34619 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34635 *-*-cygwin* | *-*-mingw32* )
34641 *-pc-os2_emx | *-pc-os2-emx )
34644 powerpc
-*-darwin* )
34662 SO_SUFFIX_MODULE
="so"
34671 SO_SUFFIX_MODULE
="sl"
34675 SO_SUFFIX_MODULE
="a"
34677 *-*-cygwin* | *-*-mingw32* )
34679 SO_SUFFIX_MODULE
="dll"
34687 *-pc-os2_emx | *-pc-os2-emx )
34692 powerpc
-*-darwin* )
34694 SO_SUFFIX_MODULE
="bundle"
34706 SHARED_LD_CC
="\$(CC) -shared -o"
34707 SHARED_LD_CXX
="\$(CXX) -shared -o"
34709 if test "x$GCC" = "xyes"; then
34715 if test "x$GCC" = "xyes"; then
34716 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34717 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34719 LDFLAGS
="$LDFLAGS -L/usr/lib"
34721 SHARED_LD_CC
="${CC} -b -o"
34722 SHARED_LD_CXX
="${CXX} -b -o"
34728 if test "x$GCC" != "xyes"; then
34729 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34730 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34731 if test "${bakefile_cv_prog_icc+set}" = set; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34735 cat >conftest.
$ac_ext <<_ACEOF
34736 #line $LINENO "configure"
34739 cat confdefs.h
>>conftest.
$ac_ext
34740 cat >>conftest.
$ac_ext <<_ACEOF
34741 /* end confdefs.h. */
34747 #ifndef __INTEL_COMPILER
34755 rm -f conftest.
$ac_objext
34756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34757 (eval $ac_compile) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try
='test -s conftest.$ac_objext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 bakefile_cv_prog_icc
=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34772 bakefile_cv_prog_icc
=no
34775 rm -f conftest.
$ac_objext conftest.
$ac_ext
34778 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34779 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34780 if test "$bakefile_cv_prog_icc" = "yes"; then
34787 if test "x$GCC" != xyes
; then
34788 SHARED_LD_CC
="${CC} -G -o"
34789 SHARED_LD_CXX
="${CXX} -G -o"
34795 CFLAGS
="$CFLAGS -fno-common"
34796 CXXFLAGS
="$CXXFLAGS -fno-common"
34799 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34800 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34801 if test "${wx_cv_gcc31+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34805 cat >conftest.
$ac_ext <<_ACEOF
34806 #line $LINENO "configure"
34809 cat confdefs.h
>>conftest.
$ac_ext
34810 cat >>conftest.
$ac_ext <<_ACEOF
34811 /* end confdefs.h. */
34817 #if (__GNUC__ < 3) || \
34818 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34826 rm -f conftest.
$ac_objext
34827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34828 (eval $ac_compile) 2>&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } &&
34832 { ac_try
='test -s conftest.$ac_objext'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; }; then
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.
$ac_ext >&5
34850 rm -f conftest.
$ac_objext conftest.
$ac_ext
34853 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34854 echo "${ECHO_T}$wx_cv_gcc31" >&6
34855 if test "$wx_cv_gcc31" = "no"; then
34856 cat <<EOF >shared-ld-sh
34858 #-----------------------------------------------------------------------------
34859 #-- Name: distrib/mac/shared-ld-sh
34860 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34861 #-- Author: Gilles Depeyrot
34862 #-- Copyright: (c) 2002 Gilles Depeyrot
34863 #-- Licence: any use permitted
34864 #-----------------------------------------------------------------------------
34869 linking_flag="-dynamiclib"
34871 while test \${#} -gt 0; do
34878 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34879 # collect these options and values
34880 args="\${args} \${1} \${2}"
34884 -l*|-L*|-flat_namespace)
34885 # collect these options
34886 args="\${args} \${1}"
34889 -dynamiclib|-bundle)
34890 linking_flag="\${1}"
34894 echo "shared-ld: unhandled option '\${1}'"
34898 *.o | *.a | *.dylib)
34899 # collect object files
34900 objects="\${objects} \${1}"
34904 echo "shared-ld: unhandled argument '\${1}'"
34913 # Link one module containing all the others
34915 if test \${verbose} = 1; then
34916 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34918 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34920 if test \${status} != 0; then
34925 # Link the shared library from the single module created
34927 if test \${verbose} = 1; then
34928 echo "cc \${linking_flag} master.\$\$.o \${args}"
34930 c++ \${linking_flag} master.\$\$.o \${args}
34932 if test \${status} != 0; then
34937 # Remove intermediate module
34939 rm -f master.\$\$.o
34943 chmod +x shared
-ld-sh
34945 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34946 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34947 SHARED_LD_CXX
="$SHARED_LD_CC"
34948 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34950 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34951 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34952 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34953 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34956 PIC_FLAG
="-dynamic -fPIC"
34960 if test "x$GCC" != "xyes"; then
34961 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34962 set dummy makeC
++SharedLib
; ac_word
=$2
34963 echo "$as_me:$LINENO: checking for $ac_word" >&5
34964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34965 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34968 if test -n "$AIX_CXX_LD"; then
34969 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34972 for as_dir
in $PATH
34975 test -z "$as_dir" && as_dir
=.
34976 for ac_exec_ext
in '' $ac_executable_extensions; do
34977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34978 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34985 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34988 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34989 if test -n "$AIX_CXX_LD"; then
34990 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34991 echo "${ECHO_T}$AIX_CXX_LD" >&6
34993 echo "$as_me:$LINENO: result: no" >&5
34994 echo "${ECHO_T}no" >&6
34997 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34998 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
35003 SHARED_LD_CC
="${LD} -shared -o"
35004 SHARED_LD_CXX
="${LD} -shared -o"
35008 if test "x$GCC" != "xyes"; then
35013 *-*-cygwin* | *-*-mingw32* )
35017 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35021 *-pc-os2_emx | *-pc-os2-emx | \
35026 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35027 echo "$as_me: error: unknown system type $host." >&2;}
35028 { (exit 1); exit 1; }; }
35031 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35032 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
35034 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35035 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
35054 SONAME_FLAG
="-Wl,-soname,"
35082 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35083 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35086 if test "x$GCC" = "xyes"; then
35090 powerpc
-*-darwin* )
35091 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
35094 DEPSFLAG_GCC
="-MMD"
35097 echo "$as_me:$LINENO: result: gcc" >&5
35098 echo "${ECHO_T}gcc" >&6
35100 echo "$as_me:$LINENO: result: none" >&5
35101 echo "${ECHO_T}none" >&6
35104 if test $DEPS_TRACKING = 1 ; then
35108 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35109 # script. It is used to track C/C++ files dependencies in portable way.
35111 # Permission is given to use this file in any way.
35115 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35119 if test \$DEPSMODE = gcc ; then
35120 \${*} \${DEPSFLAG_GCC}
35122 if test \${status} != 0 ; then
35125 # move created file to the location we want it in:
35126 while test \${#} -gt 0; do
35140 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35141 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35142 if test -f \$depfile ; then
35143 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35146 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35147 if test -f \$depfile ; then
35148 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35168 *-*-cygwin* | *-*-mingw32* )
35169 if test "$build" != "$host" ; then
35170 RESCOMP
=$host_alias-windres
35172 # Extract the first word of "windres", so it can be a program name with args.
35173 set dummy windres
; ac_word
=$2
35174 echo "$as_me:$LINENO: checking for $ac_word" >&5
35175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35176 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35177 echo $ECHO_N "(cached) $ECHO_C" >&6
35179 if test -n "$RESCOMP"; then
35180 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35183 for as_dir
in $PATH
35186 test -z "$as_dir" && as_dir
=.
35187 for ac_exec_ext
in '' $ac_executable_extensions; do
35188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35189 ac_cv_prog_RESCOMP
="windres"
35190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35196 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
35199 RESCOMP
=$ac_cv_prog_RESCOMP
35200 if test -n "$RESCOMP"; then
35201 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35202 echo "${ECHO_T}$RESCOMP" >&6
35204 echo "$as_me:$LINENO: result: no" >&5
35205 echo "${ECHO_T}no" >&6
35212 # Extract the first word of "Rez", so it can be a program name with args.
35213 set dummy Rez
; ac_word
=$2
35214 echo "$as_me:$LINENO: checking for $ac_word" >&5
35215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35216 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35219 if test -n "$RESCOMP"; then
35220 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35223 for as_dir
in $PATH
35226 test -z "$as_dir" && as_dir
=.
35227 for ac_exec_ext
in '' $ac_executable_extensions; do
35228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35229 ac_cv_prog_RESCOMP
="Rez"
35230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35236 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35239 RESCOMP
=$ac_cv_prog_RESCOMP
35240 if test -n "$RESCOMP"; then
35241 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35242 echo "${ECHO_T}$RESCOMP" >&6
35244 echo "$as_me:$LINENO: result: no" >&5
35245 echo "${ECHO_T}no" >&6
35248 # Extract the first word of "SetFile", so it can be a program name with args.
35249 set dummy SetFile
; ac_word
=$2
35250 echo "$as_me:$LINENO: checking for $ac_word" >&5
35251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35252 if test "${ac_cv_prog_SETFILE+set}" = set; then
35253 echo $ECHO_N "(cached) $ECHO_C" >&6
35255 if test -n "$SETFILE"; then
35256 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35259 for as_dir
in $PATH
35262 test -z "$as_dir" && as_dir
=.
35263 for ac_exec_ext
in '' $ac_executable_extensions; do
35264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35265 ac_cv_prog_SETFILE
="SetFile"
35266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35272 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35275 SETFILE
=$ac_cv_prog_SETFILE
35276 if test -n "$SETFILE"; then
35277 echo "$as_me:$LINENO: result: $SETFILE" >&5
35278 echo "${ECHO_T}$SETFILE" >&6
35280 echo "$as_me:$LINENO: result: no" >&5
35281 echo "${ECHO_T}no" >&6
35294 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35295 if test "${enable_precomp_headers+set}" = set; then
35296 enableval
="$enable_precomp_headers"
35297 bk_use_pch
="$enableval"
35302 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35303 if test "x$GCC" = "xyes"; then
35304 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35305 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35306 cat >conftest.
$ac_ext <<_ACEOF
35307 #line $LINENO "configure"
35310 cat confdefs.h
>>conftest.
$ac_ext
35311 cat >>conftest.
$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35318 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35319 #error "no pch support"
35322 #error "no pch support"
35324 #if (__GNUC__ == 3) && \
35325 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35326 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35327 #error "no pch support"
35334 rm -f conftest.
$ac_objext
35335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35336 (eval $ac_compile) 2>&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try
='test -s conftest.$ac_objext'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; }; then
35347 echo "$as_me:$LINENO: result: yes" >&5
35348 echo "${ECHO_T}yes" >&6
35349 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35353 echo "$as_me: failed program was:" >&5
35354 sed 's/^/| /' conftest.
$ac_ext >&5
35357 echo "$as_me:$LINENO: result: no" >&5
35358 echo "${ECHO_T}no" >&6
35361 rm -f conftest.
$ac_objext conftest.
$ac_ext
35362 if test $GCC_PCH = 1 ; then
35363 cat <<EOF >bk-make-pch
35366 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35367 # script. It is used to generated precompiled headers.
35369 # Permission is given to use this file in any way.
35378 while test \${#} -gt 0; do
35381 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35382 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35383 headerfile="\${incdir}/\${header}"
35387 compiler="\${compiler} \${1}"
35391 if test "x\${headerfile}" = "x" ; then
35392 echo "error: can't find header \${header} in include paths" >2
35394 if test -f \${outfile} ; then
35397 mkdir -p \`dirname \${outfile}\`
35399 depsfile=".deps/\`basename \${outfile}\`.d"
35401 # can do this because gcc is >= 3.4:
35402 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35406 chmod +x bk
-make-pch
35415 COND_BUILD_DEBUG
="#"
35416 if test "x$BUILD" = "xdebug" ; then
35417 COND_BUILD_DEBUG
=""
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35421 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35422 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35427 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35430 COND_BUILD_RELEASE
="#"
35431 if test "x$BUILD" = "xrelease" ; then
35432 COND_BUILD_RELEASE
=""
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35436 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35437 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35440 COND_DEBUG_FLAG_1
="#"
35441 if test "x$DEBUG_FLAG" = "x1" ; then
35442 COND_DEBUG_FLAG_1
=""
35445 COND_DEBUG_INFO_0
="#"
35446 if test "x$DEBUG_INFO" = "x0" ; then
35447 COND_DEBUG_INFO_0
=""
35450 COND_DEBUG_INFO_1
="#"
35451 if test "x$DEBUG_INFO" = "x1" ; then
35452 COND_DEBUG_INFO_1
=""
35455 COND_DEPS_TRACKING_0
="#"
35456 if test "x$DEPS_TRACKING" = "x0" ; then
35457 COND_DEPS_TRACKING_0
=""
35460 COND_DEPS_TRACKING_1
="#"
35461 if test "x$DEPS_TRACKING" = "x1" ; then
35462 COND_DEPS_TRACKING_1
=""
35466 if test "x$GCC_PCH" = "x1" ; then
35470 COND_MONOLITHIC_0
="#"
35471 if test "x$MONOLITHIC" = "x0" ; then
35472 COND_MONOLITHIC_0
=""
35475 COND_MONOLITHIC_0_SHARED_0
="#"
35476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35477 COND_MONOLITHIC_0_SHARED_0
=""
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35492 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35497 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35500 COND_MONOLITHIC_0_SHARED_1
="#"
35501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35502 COND_MONOLITHIC_0_SHARED_1
=""
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35517 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35522 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35525 COND_MONOLITHIC_1
="#"
35526 if test "x$MONOLITHIC" = "x1" ; then
35527 COND_MONOLITHIC_1
=""
35530 COND_MONOLITHIC_1_SHARED_0
="#"
35531 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35532 COND_MONOLITHIC_1_SHARED_0
=""
35535 COND_MONOLITHIC_1_SHARED_1
="#"
35536 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35537 COND_MONOLITHIC_1_SHARED_1
=""
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35541 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35542 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35546 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35547 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35551 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35552 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35555 COND_PLATFORM_MACOSX_1
="#"
35556 if test "x$PLATFORM_MACOSX" = "x1" ; then
35557 COND_PLATFORM_MACOSX_1
=""
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35562 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35566 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35567 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35572 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
35576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35577 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35582 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35585 COND_PLATFORM_MAC_1
="#"
35586 if test "x$PLATFORM_MAC" = "x1" ; then
35587 COND_PLATFORM_MAC_1
=""
35590 COND_PLATFORM_OS2_1
="#"
35591 if test "x$PLATFORM_OS2" = "x1" ; then
35592 COND_PLATFORM_OS2_1
=""
35595 COND_PLATFORM_UNIX_0
="#"
35596 if test "x$PLATFORM_UNIX" = "x0" ; then
35597 COND_PLATFORM_UNIX_0
=""
35600 COND_PLATFORM_UNIX_1
="#"
35601 if test "x$PLATFORM_UNIX" = "x1" ; then
35602 COND_PLATFORM_UNIX_1
=""
35605 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
35606 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35607 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
35610 COND_PLATFORM_WIN32_0
="#"
35611 if test "x$PLATFORM_WIN32" = "x0" ; then
35612 COND_PLATFORM_WIN32_0
=""
35615 COND_PLATFORM_WIN32_1
="#"
35616 if test "x$PLATFORM_WIN32" = "x1" ; then
35617 COND_PLATFORM_WIN32_1
=""
35621 if test "x$SHARED" = "x0" ; then
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35627 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35631 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35632 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35636 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35637 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35641 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35642 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35646 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35647 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35651 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35652 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35656 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35657 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35661 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35662 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35666 if test "x$SHARED" = "x1" ; then
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35671 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35672 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35675 COND_TOOLKIT_COCOA
="#"
35676 if test "x$TOOLKIT" = "xCOCOA" ; then
35677 COND_TOOLKIT_COCOA
=""
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35681 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35682 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35685 COND_TOOLKIT_GTK
="#"
35686 if test "x$TOOLKIT" = "xGTK" ; then
35687 COND_TOOLKIT_GTK
=""
35690 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35691 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35692 COND_TOOLKIT_GTK_USE_GUI_1
=""
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35696 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35697 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35700 COND_TOOLKIT_MAC
="#"
35701 if test "x$TOOLKIT" = "xMAC" ; then
35702 COND_TOOLKIT_MAC
=""
35705 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35706 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35707 COND_TOOLKIT_MAC_USE_GUI_1
=""
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35711 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35712 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35715 COND_TOOLKIT_MGL
="#"
35716 if test "x$TOOLKIT" = "xMGL" ; then
35717 COND_TOOLKIT_MGL
=""
35720 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35721 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35722 COND_TOOLKIT_MGL_USE_GUI_1
=""
35725 COND_TOOLKIT_MOTIF
="#"
35726 if test "x$TOOLKIT" = "xMOTIF" ; then
35727 COND_TOOLKIT_MOTIF
=""
35730 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35731 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35732 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35736 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35737 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35740 COND_TOOLKIT_MSW
="#"
35741 if test "x$TOOLKIT" = "xMSW" ; then
35742 COND_TOOLKIT_MSW
=""
35745 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35746 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35747 COND_TOOLKIT_MSW_USE_GUI_1
=""
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35751 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35752 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35755 COND_TOOLKIT_PM
="#"
35756 if test "x$TOOLKIT" = "xPM" ; then
35760 COND_TOOLKIT_PM_USE_GUI_1
="#"
35761 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35762 COND_TOOLKIT_PM_USE_GUI_1
=""
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35766 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35767 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35770 COND_TOOLKIT_X11
="#"
35771 if test "x$TOOLKIT" = "xX11" ; then
35772 COND_TOOLKIT_X11
=""
35775 COND_TOOLKIT_X11_USE_GUI_1
="#"
35776 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35777 COND_TOOLKIT_X11_USE_GUI_1
=""
35781 if test "x$UNICODE" = "x1" ; then
35785 COND_USE_EXCEPTIONS_0
="#"
35786 if test "x$USE_EXCEPTIONS" = "x0" ; then
35787 COND_USE_EXCEPTIONS_0
=""
35790 COND_USE_EXCEPTIONS_1
="#"
35791 if test "x$USE_EXCEPTIONS" = "x1" ; then
35792 COND_USE_EXCEPTIONS_1
=""
35796 if test "x$USE_GUI" = "x0" ; then
35801 if test "x$USE_GUI" = "x1" ; then
35805 COND_USE_GUI_1_WXUNIV_0
="#"
35806 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35807 COND_USE_GUI_1_WXUNIV_0
=""
35810 COND_USE_GUI_1_WXUNIV_1
="#"
35811 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35812 COND_USE_GUI_1_WXUNIV_1
=""
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35816 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35817 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35821 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35822 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35826 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35827 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35830 COND_USE_ODBC_1
="#"
35831 if test "x$USE_ODBC" = "x1" ; then
35835 COND_USE_SOSYMLINKS_1
="#"
35836 if test "x$USE_SOSYMLINKS" = "x1" ; then
35837 COND_USE_SOSYMLINKS_1
=""
35840 COND_USE_SOVERLINUX_1
="#"
35841 if test "x$USE_SOVERLINUX" = "x1" ; then
35842 COND_USE_SOVERLINUX_1
=""
35845 COND_USE_SOVERSION_0
="#"
35846 if test "x$USE_SOVERSION" = "x0" ; then
35847 COND_USE_SOVERSION_0
=""
35850 COND_USE_SOVERSOLARIS_1
="#"
35851 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35852 COND_USE_SOVERSOLARIS_1
=""
35856 if test "x$WXUNIV" = "x1" ; then
35860 COND_WXUSE_EXPAT_BUILTIN
="#"
35861 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35862 COND_WXUSE_EXPAT_BUILTIN
=""
35865 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35866 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35867 COND_WXUSE_LIBJPEG_BUILTIN
=""
35870 COND_WXUSE_LIBPNG_BUILTIN
="#"
35871 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35872 COND_WXUSE_LIBPNG_BUILTIN
=""
35875 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35876 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35877 COND_WXUSE_LIBTIFF_BUILTIN
=""
35880 COND_WXUSE_ODBC_BUILTIN
="#"
35881 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35882 COND_WXUSE_ODBC_BUILTIN
=""
35885 COND_WXUSE_REGEX_BUILTIN
="#"
35886 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35887 COND_WXUSE_REGEX_BUILTIN
=""
35890 COND_WXUSE_ZLIB_BUILTIN
="#"
35891 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35892 COND_WXUSE_ZLIB_BUILTIN
=""
35899 if test $GCC_PCH = 1 ; then
35900 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35901 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35904 powerpc
-*-darwin* )
35905 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35906 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35912 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36013 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36014 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36015 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
36016 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36017 echo $ECHO_N "(cached) $ECHO_C" >&6
36019 cat >conftest.
make <<\_ACEOF
36021 @
echo 'ac_maketemp="$(MAKE)"'
36023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36024 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36025 if test -n "$ac_maketemp"; then
36026 eval ac_cv_prog_make_
${ac_make}_set
=yes
36028 eval ac_cv_prog_make_
${ac_make}_set
=no
36030 rm -f conftest.
make
36032 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36033 echo "$as_me:$LINENO: result: yes" >&5
36034 echo "${ECHO_T}yes" >&6
36037 echo "$as_me:$LINENO: result: no" >&5
36038 echo "${ECHO_T}no" >&6
36039 SET_MAKE
="MAKE=${MAKE-make}"
36043 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
36044 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
36047 ac_config_headers
="$ac_config_headers setup.h"
36050 ac_config_files
="$ac_config_files wx-config version-script Makefile"
36053 ac_config_commands
="$ac_config_commands default"
36057 if test "$wxUSE_GUI" = "yes"; then
36058 SUBDIRS
="samples demos utils contrib"
36059 else SUBDIRS
="samples utils"
36062 for subdir
in `echo $SUBDIRS`; do
36063 if test -d ${srcdir}/${subdir} ; then
36064 if test "$wxUSE_GUI" = "yes"; then
36065 if test ${subdir} = "samples"; then
36066 makefiles
="samples/Makefile.in $makefiles"
36067 for sample
in `echo $SAMPLES_SUBDIRS`; do
36068 if test -d $srcdir/samples
/$sample; then
36069 makefiles
="samples/$sample/Makefile.in $makefiles"
36072 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
36074 else if test ${subdir} = "samples"; then
36075 makefiles
="samples/Makefile.in samples/console/Makefile.in"
36076 else makefiles
="utils/HelpGen/Makefile.in \
36077 utils/HelpGen/src/Makefile.in \
36078 utils/tex2rtf/Makefile.in \
36079 utils/tex2rtf/src/Makefile.in"
36083 for mkin
in $makefiles ; do
36084 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36085 ac_config_files
="$ac_config_files $mk"
36092 cat >confcache
<<\_ACEOF
36093 # This file is a shell script that caches the results of configure
36094 # tests run on this system so they can be shared between configure
36095 # scripts and configure runs, see configure's option --config-cache.
36096 # It is not useful on other systems. If it contains results you don't
36097 # want to keep, you may remove or edit it.
36099 # config.status only pays attention to the cache file if you give it
36100 # the --recheck option to rerun configure.
36102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36104 # following values.
36108 # The following way of writing the cache mishandles newlines in values,
36109 # but we know of no workaround that is simple, portable, and efficient.
36110 # So, don't put newlines in cache variables' values.
36111 # Ultrix sh set writes to stderr and can't be redirected directly,
36112 # and sets the high bit in the cache file unless we assign to the vars.
36115 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36117 # `set' does not quote correctly, so add quotes (double-quote
36118 # substitution turns \\\\ into \\, and sed turns \\ into \).
36121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36124 # `set' quotes correctly as required by POSIX, so do not add quotes.
36126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36135 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36137 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36138 if test -w $cache_file; then
36139 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36140 cat confcache
>$cache_file
36142 echo "not updating unwritable cache $cache_file"
36147 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
36148 # Let make expand exec_prefix.
36149 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
36151 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36152 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36153 # trailing colons and then remove the whole line if VPATH becomes empty
36154 # (actually we leave an empty line to preserve line numbers).
36155 if test "x$srcdir" = x.
; then
36156 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36157 s/:*\$(srcdir):*/:/;
36158 s/:*\${srcdir}:*/:/;
36160 s/^\([^=]*=[ ]*\):*/\1/;
36166 DEFS
=-DHAVE_CONFIG_H
36170 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
36171 # 1. Remove the extension, and $U if already installed.
36172 ac_i
=`echo "$ac_i" |
36173 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36175 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
36176 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
36178 LIBOBJS
=$ac_libobjs
36180 LTLIBOBJS
=$ac_ltlibobjs
36184 : ${CONFIG_STATUS=./config.status}
36185 ac_clean_files_save
=$ac_clean_files
36186 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
36187 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36188 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36189 cat >$CONFIG_STATUS <<_ACEOF
36191 # Generated by $as_me.
36192 # Run this file to recreate the current configuration.
36193 # Compiler output produced by configure, useful for debugging
36194 # configure, is in config.log if it exists.
36197 ac_cs_recheck=false
36199 SHELL=\${CONFIG_SHELL-$SHELL}
36202 cat >>$CONFIG_STATUS <<\_ACEOF
36203 ## --------------------- ##
36204 ## M4sh Initialization. ##
36205 ## --------------------- ##
36207 # Be Bourne compatible
36208 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
36211 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36212 # is contrary to our usage. Disable this feature.
36213 alias -g '${1+"$@"}'='"$@"'
36214 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
36218 # Support unset when possible.
36219 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
36226 # Work around bugs in pre-3.0 UWIN ksh.
36227 $as_unset ENV MAIL MAILPATH
36234 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36235 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36236 LC_TELEPHONE LC_TIME
36238 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36239 eval $as_var=C
; export $as_var
36245 # Required to use basename.
36246 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36252 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36253 as_basename
=basename
36259 # Name of the executable.
36260 as_me
=`$as_basename "$0" ||
36261 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36262 X"$0" : 'X\(//\)$' \| \
36263 X"$0" : 'X\(/\)$' \| \
36264 . : '\(.\)' 2>/dev/null ||
36266 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36267 /^X\/\(\/\/\)$/{ s//\1/; q; }
36268 /^X\/\(\/\).*/{ s//\1/; q; }
36272 # PATH needs CR, and LINENO needs CR and PATH.
36273 # Avoid depending upon Character Ranges.
36274 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36275 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36276 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36277 as_cr_digits
='0123456789'
36278 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36280 # The user is always right.
36281 if test "${PATH_SEPARATOR+set}" != set; then
36282 echo "#! /bin/sh" >conf$$.sh
36283 echo "exit 0" >>conf$$.sh
36285 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36294 as_lineno_1
=$LINENO
36295 as_lineno_2
=$LINENO
36296 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36297 test "x$as_lineno_1" != "x$as_lineno_2" &&
36298 test "x$as_lineno_3" = "x$as_lineno_2" || {
36299 # Find who we are. Look in the path if we contain no path at all
36302 *[\\/]* ) as_myself
=$0 ;;
36303 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36304 for as_dir
in $PATH
36307 test -z "$as_dir" && as_dir
=.
36308 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36313 # We did not find ourselves, most probably we were run as `sh COMMAND'
36314 # in which case we are not to be found in the path.
36315 if test "x$as_myself" = x
; then
36318 if test ! -f "$as_myself"; then
36319 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36320 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36321 { (exit 1); exit 1; }; }
36323 case $CONFIG_SHELL in
36325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36326 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36329 test -z "$as_dir" && as_dir
=.
36330 for as_base
in sh bash ksh sh5
; do
36333 if ("$as_dir/$as_base" -c '
36334 as_lineno_1=$LINENO
36335 as_lineno_2=$LINENO
36336 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36337 test "x$as_lineno_1" != "x$as_lineno_2" &&
36338 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36339 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36340 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36341 CONFIG_SHELL
=$as_dir/$as_base
36342 export CONFIG_SHELL
36343 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36351 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36352 # uniformly replaced by the line number. The first 'sed' inserts a
36353 # line-number line before each line; the second 'sed' does the real
36354 # work. The second script uses 'N' to pair each line-number line
36355 # with the numbered line, and appends trailing '-' during
36356 # substitution so that $LINENO is not a special case at line end.
36357 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36358 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36359 sed '=' <$as_myself |
36364 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36367 s,^['$as_cr_digits']*\n,,
36368 ' >$as_me.lineno
&&
36369 chmod +x
$as_me.lineno
||
36370 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36371 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36372 { (exit 1); exit 1; }; }
36374 # Don't try to exec as it changes $[0], causing all sort of problems
36375 # (the dirname of $[0] is not the place where we might find the
36376 # original and so on. Autoconf is especially sensible to this).
36378 # Exit status is that of the last command.
36383 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36384 *c
*,-n*) ECHO_N
= ECHO_C
='
36386 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36387 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36390 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36396 rm -f conf$$ conf$$.exe conf$$.
file
36398 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36399 # We could just check for DJGPP; but this test a) works b) is more generic
36400 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36401 if test -f conf$$.exe
; then
36402 # Don't use ln at all; we don't have any links
36407 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36412 rm -f conf$$ conf$$.exe conf$$.
file
36414 if mkdir -p .
2>/dev
/null
; then
36420 as_executable_p
="test -f"
36422 # Sed expression to map a string onto a valid CPP name.
36423 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36425 # Sed expression to map a string onto a valid variable name.
36426 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36430 # We need space, tab and new line, in precisely that order.
36440 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36441 # report actual input values of CONFIG_FILES etc. instead of their
36442 # values after options handling. Logging --version etc. is OK.
36446 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36447 ## Running $as_me. ##
36452 This file was extended by wxWindows $as_me 2.5.1, which was
36453 generated by GNU Autoconf 2.57. Invocation command line was
36455 CONFIG_FILES = $CONFIG_FILES
36456 CONFIG_HEADERS = $CONFIG_HEADERS
36457 CONFIG_LINKS = $CONFIG_LINKS
36458 CONFIG_COMMANDS = $CONFIG_COMMANDS
36462 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36466 # Files that config.status was made for.
36467 if test -n "$ac_config_files"; then
36468 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36471 if test -n "$ac_config_headers"; then
36472 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36475 if test -n "$ac_config_links"; then
36476 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36479 if test -n "$ac_config_commands"; then
36480 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36483 cat >>$CONFIG_STATUS <<\_ACEOF
36486 \`$as_me' instantiates files from templates according to the
36487 current configuration.
36489 Usage: $0 [OPTIONS] [FILE]...
36491 -h, --help print this help, then exit
36492 -V, --version print version number, then exit
36493 -q, --quiet do not print progress messages
36494 -d, --debug don't remove temporary files
36495 --recheck update $as_me by reconfiguring in the same conditions
36496 --file=FILE[:TEMPLATE]
36497 instantiate the configuration file FILE
36498 --header=FILE[:TEMPLATE]
36499 instantiate the configuration header FILE
36501 Configuration files:
36504 Configuration headers:
36507 Configuration commands:
36510 Report bugs to <bug-autoconf@gnu.org>."
36513 cat >>$CONFIG_STATUS <<_ACEOF
36515 wxWindows config.status 2.5.1
36516 configured by $0, generated by GNU Autoconf 2.57,
36517 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36519 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36520 Free Software Foundation, Inc.
36521 This config.status script is free software; the Free Software Foundation
36522 gives unlimited permission to copy, distribute and modify it."
36527 cat >>$CONFIG_STATUS <<\_ACEOF
36528 # If no file are specified by the user, then we need to provide default
36529 # value. By we need to know if files were specified by the user.
36535 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36536 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36544 *) # This is not an option, so the user has probably given explicit
36547 ac_need_defaults
=false
;;
36551 # Handling of the options.
36553 cat >>$CONFIG_STATUS <<\_ACEOF
36554 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36556 --version | --vers* | -V )
36557 echo "$ac_cs_version"; exit 0 ;;
36559 # Conflict between --help and --header
36560 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36561 Try \`$0 --help' for more information." >&5
36562 echo "$as_me: error: ambiguous option: $1
36563 Try \`$0 --help' for more information." >&2;}
36564 { (exit 1); exit 1; }; };;
36565 --help | --hel | -h )
36566 echo "$ac_cs_usage"; exit 0 ;;
36567 --debug | --d* | -d )
36569 --file | --fil | --fi | --f )
36571 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36572 ac_need_defaults
=false
;;
36573 --header | --heade | --head | --hea )
36575 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36576 ac_need_defaults
=false
;;
36577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36578 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36581 # This is an error.
36582 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36583 Try \`$0 --help' for more information." >&5
36584 echo "$as_me: error: unrecognized option: $1
36585 Try \`$0 --help' for more information." >&2;}
36586 { (exit 1); exit 1; }; } ;;
36588 *) ac_config_targets
="$ac_config_targets $1" ;;
36594 ac_configure_extra_args
=
36596 if $ac_cs_silent; then
36598 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36602 cat >>$CONFIG_STATUS <<_ACEOF
36603 if \$ac_cs_recheck; then
36604 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36605 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36610 cat >>$CONFIG_STATUS <<_ACEOF
36612 # INIT-COMMANDS section.
36616 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36625 cat >>$CONFIG_STATUS <<\_ACEOF
36626 for ac_config_target
in $ac_config_targets
36628 case "$ac_config_target" in
36629 # Handling of arguments.
36630 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36631 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36632 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36633 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36634 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36635 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36638 { (exit 1); exit 1; }; };;
36642 # If the user did not use the arguments to specify the items to instantiate,
36643 # then the envvar interface is used. Set only those that are not.
36644 # We use the long form for the default assignment because of an extremely
36645 # bizarre bug on SunOS 4.1.3.
36646 if $ac_need_defaults; then
36647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36652 # Have a temporary directory for convenience. Make it in the build tree
36653 # simply because there is no reason to put it here, and in addition,
36654 # creating and moving files from /tmp can sometimes cause problems.
36655 # Create a temporary directory, and hook for its removal unless debugging.
36658 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36659 trap '{ (exit 1); exit 1; }' 1 2 13 15
36662 # Create a (secure) tmp directory for tmp files.
36665 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36666 test -n "$tmp" && test -d "$tmp"
36669 tmp
=.
/confstat$$
-$RANDOM
36670 (umask 077 && mkdir $tmp)
36673 echo "$me: cannot create a temporary directory in ." >&2
36674 { (exit 1); exit 1; }
36679 cat >>$CONFIG_STATUS <<_ACEOF
36682 # CONFIG_FILES section.
36685 # No need to generate the scripts if there are no CONFIG_FILES.
36686 # This happens for instance when ./config.status config.h
36687 if test -n "\$CONFIG_FILES"; then
36688 # Protect against being on the right side of a sed subst in config.status.
36689 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36690 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36691 s,@SHELL@,$SHELL,;t t
36692 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36693 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36694 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36695 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36696 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36697 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36698 s,@exec_prefix@,$exec_prefix,;t t
36699 s,@prefix@,$prefix,;t t
36700 s,@program_transform_name@,$program_transform_name,;t t
36701 s,@bindir@,$bindir,;t t
36702 s,@sbindir@,$sbindir,;t t
36703 s,@libexecdir@,$libexecdir,;t t
36704 s,@datadir@,$datadir,;t t
36705 s,@sysconfdir@,$sysconfdir,;t t
36706 s,@sharedstatedir@,$sharedstatedir,;t t
36707 s,@localstatedir@,$localstatedir,;t t
36708 s,@libdir@,$libdir,;t t
36709 s,@includedir@,$includedir,;t t
36710 s,@oldincludedir@,$oldincludedir,;t t
36711 s,@infodir@,$infodir,;t t
36712 s,@mandir@,$mandir,;t t
36713 s,@build_alias@,$build_alias,;t t
36714 s,@host_alias@,$host_alias,;t t
36715 s,@target_alias@,$target_alias,;t t
36716 s,@DEFS@,$DEFS,;t t
36717 s,@ECHO_C@,$ECHO_C,;t t
36718 s,@ECHO_N@,$ECHO_N,;t t
36719 s,@ECHO_T@,$ECHO_T,;t t
36720 s,@LIBS@,$LIBS,;t t
36721 s,@build@,$build,;t t
36722 s,@build_cpu@,$build_cpu,;t t
36723 s,@build_vendor@,$build_vendor,;t t
36724 s,@build_os@,$build_os,;t t
36725 s,@host@,$host,;t t
36726 s,@host_cpu@,$host_cpu,;t t
36727 s,@host_vendor@,$host_vendor,;t t
36728 s,@host_os@,$host_os,;t t
36729 s,@target@,$target,;t t
36730 s,@target_cpu@,$target_cpu,;t t
36731 s,@target_vendor@,$target_vendor,;t t
36732 s,@target_os@,$target_os,;t t
36734 s,@CFLAGS@,$CFLAGS,;t t
36735 s,@LDFLAGS@,$LDFLAGS,;t t
36736 s,@CPPFLAGS@,$CPPFLAGS,;t t
36737 s,@ac_ct_CC@,$ac_ct_CC,;t t
36738 s,@EXEEXT@,$EXEEXT,;t t
36739 s,@OBJEXT@,$OBJEXT,;t t
36741 s,@EGREP@,$EGREP,;t t
36743 s,@CXXFLAGS@,$CXXFLAGS,;t t
36744 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36745 s,@RANLIB@,$RANLIB,;t t
36746 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36748 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36749 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36750 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36751 s,@STRIP@,$STRIP,;t t
36752 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36753 s,@LN_S@,$LN_S,;t t
36754 s,@CXXCPP@,$CXXCPP,;t t
36755 s,@subdirs@,$subdirs,;t t
36756 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36757 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36758 s,@GTK_LIBS@,$GTK_LIBS,;t t
36759 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36760 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36761 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36762 s,@X_CFLAGS@,$X_CFLAGS,;t t
36763 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36764 s,@X_LIBS@,$X_LIBS,;t t
36765 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36766 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36767 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36768 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36769 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36770 s,@RESCOMP@,$RESCOMP,;t t
36771 s,@DEREZ@,$DEREZ,;t t
36772 s,@SETFILE@,$SETFILE,;t t
36773 s,@LIBICONV@,$LIBICONV,;t t
36774 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36775 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36776 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36777 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36778 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36779 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36780 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36781 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36782 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36783 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36784 s,@VENDOR@,$VENDOR,;t t
36785 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36786 s,@WXUNIV@,$WXUNIV,;t t
36787 s,@MONOLITHIC@,$MONOLITHIC,;t t
36788 s,@EXTRALIBS@,$EXTRALIBS,;t t
36789 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36790 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36791 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36792 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36793 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36794 s,@UNICODE@,$UNICODE,;t t
36795 s,@BUILD@,$BUILD,;t t
36796 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36797 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36798 s,@SHARED@,$SHARED,;t t
36799 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36800 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36801 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36802 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36803 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36804 s,@SET_MAKE@,$SET_MAKE,;t t
36805 s,@MAKE_SET@,$MAKE_SET,;t t
36806 s,@ac_ct_AR@,$ac_ct_AR,;t t
36807 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36809 s,@ac_ct_NM@,$ac_ct_NM,;t t
36810 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36811 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36812 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36813 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36814 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36815 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36816 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36817 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36818 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36819 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36820 s,@LIBPREFIX@,$LIBPREFIX,;t t
36821 s,@DLLPREFIX@,$DLLPREFIX,;t t
36822 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36823 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36824 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36825 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36826 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36827 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36828 s,@PIC_FLAG@,$PIC_FLAG,;t t
36829 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36830 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36831 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36832 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36833 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36834 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36835 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36836 s,@GCC_PCH@,$GCC_PCH,;t t
36837 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36838 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36839 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36840 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36841 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36842 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36843 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36844 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36845 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36846 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36847 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36848 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36849 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36850 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36851 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
36852 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36853 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36854 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36855 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36856 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
36857 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36858 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36859 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36860 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36861 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36862 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36863 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36864 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36865 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36866 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36869 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36870 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36871 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36872 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36873 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36874 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36875 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36876 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36877 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36878 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36879 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36880 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36881 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36882 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36883 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36884 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36885 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36886 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36887 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36888 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36889 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36890 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36891 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36892 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36893 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36894 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36895 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36896 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36897 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36898 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36899 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36900 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36901 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36902 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36903 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36904 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36905 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36906 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36907 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36908 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36909 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36910 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36911 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36912 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36913 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36914 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36915 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36916 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36917 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36918 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36919 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36920 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36921 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36922 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36923 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36924 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36925 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36926 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36927 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36928 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36929 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36930 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36931 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36932 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36933 s,@PATH_IFS@,$PATH_IFS,;t t
36934 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36935 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36936 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36937 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36938 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36939 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36940 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36941 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36942 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36943 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36944 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36945 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36946 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36947 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36948 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36949 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36950 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36951 s,@WX_ALL@,$WX_ALL,;t t
36952 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36953 s,@SHARED_LD@,$SHARED_LD,;t t
36954 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36955 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36956 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36957 s,@USE_GUI@,$USE_GUI,;t t
36958 s,@AFMINSTALL@,$AFMINSTALL,;t t
36959 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36960 s,@TOOLKIT@,$TOOLKIT,;t t
36961 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36962 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36963 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36964 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36965 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36966 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36967 s,@cross_compiling@,$cross_compiling,;t t
36968 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36969 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36970 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36971 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36972 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36973 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36974 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36975 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36976 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36977 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36978 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36979 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36980 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36981 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36982 s,@GUIDIST@,$GUIDIST,;t t
36983 s,@PORT_FILES@,$PORT_FILES,;t t
36984 s,@DISTDIR@,$DISTDIR,;t t
36985 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36986 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36987 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36988 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36989 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36990 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36991 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36992 s,@RESFLAGS@,$RESFLAGS,;t t
36993 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36994 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36995 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36996 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36997 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36998 s,@MACRESCOMP@,$MACRESCOMP,;t t
36999 s,@MACSETFILE@,$MACSETFILE,;t t
37000 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37002 s,@DLLTOOL@,$DLLTOOL,;t t
37005 s,@MAKEINFO@,$MAKEINFO,;t t
37006 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37007 s,@LIBOBJS@,$LIBOBJS,;t t
37008 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37013 cat >>$CONFIG_STATUS <<\_ACEOF
37014 # Split the substitutions into bite-sized pieces for seds with
37015 # small command number limits, like on Digital OSF/1 and HP-UX.
37016 ac_max_sed_lines
=48
37017 ac_sed_frag
=1 # Number of current file.
37018 ac_beg
=1 # First line for current file.
37019 ac_end
=$ac_max_sed_lines # Line after last line for current file.
37022 while $ac_more_lines; do
37023 if test $ac_beg -gt 1; then
37024 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37026 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37028 if test ! -s $tmp/subs.frag
; then
37029 ac_more_lines
=false
37031 # The purpose of the label and of the branching condition is to
37032 # speed up the sed processing (if there are no `@' at all, there
37033 # is no need to browse any of the substitutions).
37034 # These are the two extra sed commands mentioned above.
37036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
37037 if test -z "$ac_sed_cmds"; then
37038 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
37040 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37042 ac_sed_frag
=`expr $ac_sed_frag + 1`
37044 ac_end
=`expr $ac_end + $ac_max_sed_lines`
37047 if test -z "$ac_sed_cmds"; then
37050 fi # test -n "$CONFIG_FILES"
37053 cat >>$CONFIG_STATUS <<\_ACEOF
37054 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
37055 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37057 - | *:- | *:-:* ) # input from stdin
37059 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37060 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37061 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37062 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37063 * ) ac_file_in
=$ac_file.
in ;;
37066 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37067 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37069 X"$ac_file" : 'X\(//\)[^/]' \| \
37070 X"$ac_file" : 'X\(//\)$' \| \
37071 X"$ac_file" : 'X\(/\)' \| \
37072 . : '\(.\)' 2>/dev/null ||
37074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37076 /^X\(\/\/\)$/{ s//\1/; q; }
37077 /^X\(\/\).*/{ s//\1/; q; }
37079 { if $as_mkdir_p; then
37084 while test ! -d "$as_dir"; do
37085 as_dirs
="$as_dir $as_dirs"
37086 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37088 X"$as_dir" : 'X\(//\)[^/]' \| \
37089 X"$as_dir" : 'X\(//\)$' \| \
37090 X"$as_dir" : 'X\(/\)' \| \
37091 . : '\(.\)' 2>/dev/null ||
37093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37095 /^X\(\/\/\)$/{ s//\1/; q; }
37096 /^X\(\/\).*/{ s//\1/; q; }
37099 test ! -n "$as_dirs" || mkdir $as_dirs
37100 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37101 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37102 { (exit 1); exit 1; }; }; }
37106 if test "$ac_dir" != .
; then
37107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37108 # A "../" for each directory in $ac_dir_suffix.
37109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37111 ac_dir_suffix
= ac_top_builddir
=
37115 .
) # No --srcdir option. We are building in place.
37117 if test -z "$ac_top_builddir"; then
37120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37122 [\\/]* | ?
:[\\/]* ) # Absolute path.
37123 ac_srcdir
=$srcdir$ac_dir_suffix;
37124 ac_top_srcdir
=$srcdir ;;
37125 *) # Relative path.
37126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37129 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37131 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37132 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37133 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37134 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37138 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
37139 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
37142 if test x
"$ac_file" != x
-; then
37143 { echo "$as_me:$LINENO: creating $ac_file" >&5
37144 echo "$as_me: creating $ac_file" >&6;}
37147 # Let's still pretend it is `configure' which instantiates (i.e., don't
37148 # use $as_me), people would be surprised to read:
37149 # /* config.h. Generated by config.status. */
37150 if test x
"$ac_file" = x
-; then
37153 configure_input
="$ac_file. "
37155 configure_input
=$configure_input"Generated from `echo $ac_file_in |
37156 sed 's,.*/,,'` by configure."
37158 # First look for the input files in the build tree, otherwise in the
37160 ac_file_inputs
=`IFS=:
37161 for f in $ac_file_in; do
37163 -) echo $tmp/stdin ;;
37165 # Absolute (can't be DOS-style, as IFS=:)
37166 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37167 echo "$as_me: error: cannot find input file: $f" >&2;}
37168 { (exit 1); exit 1; }; }
37171 if test -f "$f"; then
37174 elif test -f "$srcdir/$f"; then
37179 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37180 echo "$as_me: error: cannot find input file: $f" >&2;}
37181 { (exit 1); exit 1; }; }
37184 done` || { (exit 1); exit 1; }
37186 cat >>$CONFIG_STATUS <<_ACEOF
37190 cat >>$CONFIG_STATUS <<\_ACEOF
37192 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
37193 s
,@configure_input@
,$configure_input,;t t
37194 s
,@srcdir@
,$ac_srcdir,;t t
37195 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
37196 s
,@top_srcdir@
,$ac_top_srcdir,;t t
37197 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
37198 s
,@builddir@
,$ac_builddir,;t t
37199 s
,@abs_builddir@
,$ac_abs_builddir,;t t
37200 s
,@top_builddir@
,$ac_top_builddir,;t t
37201 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
37202 s
,@INSTALL@
,$ac_INSTALL,;t t
37203 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37205 if test x"$ac_file" != x-; then
37206 mv $tmp/out $ac_file
37214 cat >>$CONFIG_STATUS <<\_ACEOF
37217 # CONFIG_HEADER section.
37220 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
37221 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37223 # ac_d sets the value in "#define NAME VALUE" lines.
37224 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37225 ac_dB
='[ ].*$,\1#\2'
37228 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37229 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37230 ac_uB
='$,\1#\2define\3'
37234 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
37235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37237 - | *:- | *:-:* ) # input from stdin
37239 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37240 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37241 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37242 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37243 * ) ac_file_in
=$ac_file.
in ;;
37246 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37247 echo "$as_me: creating $ac_file" >&6;}
37249 # First look for the input files in the build tree, otherwise in the
37251 ac_file_inputs
=`IFS=:
37252 for f in $ac_file_in; do
37254 -) echo $tmp/stdin ;;
37256 # Absolute (can't be DOS-style, as IFS=:)
37257 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37258 echo "$as_me: error: cannot find input file: $f" >&2;}
37259 { (exit 1); exit 1; }; }
37262 if test -f "$f"; then
37265 elif test -f "$srcdir/$f"; then
37270 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37271 echo "$as_me: error: cannot find input file: $f" >&2;}
37272 { (exit 1); exit 1; }; }
37275 done` || { (exit 1); exit 1; }
37276 # Remove the trailing spaces.
37277 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37281 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37282 # `conftest.undefs', that substitutes the proper values into
37283 # config.h.in to produce config.h. The first handles `#define'
37284 # templates, and the second `#undef' templates.
37285 # And first: Protect against being on the right side of a sed subst in
37286 # config.status. Protect against being in an unquoted here document
37287 # in config.status.
37288 rm -f conftest.defines conftest.undefs
37289 # Using a here document instead of a string reduces the quoting nightmare.
37290 # Putting comments in sed scripts is not portable.
37292 # `end' is used to avoid that the second main sed command (meant for
37293 # 0-ary CPP macros) applies to n-ary macro definitions.
37294 # See the Autoconf documentation for `clear'.
37295 cat >confdef2sed.
sed <<\_ACEOF
37300 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37302 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37305 # If some macros were called several times there might be several times
37306 # the same #defines, which is useless. Nevertheless, we may not want to
37307 # sort them, since we want the *last* AC-DEFINE to be honored.
37308 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37309 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37310 rm -f confdef2sed.sed
37312 # This sed command replaces #undef with comments. This is necessary, for
37313 # example, in the case of _POSIX_SOURCE, which is predefined and required
37314 # on some systems where configure will not decide to define it.
37315 cat >>conftest.undefs <<\_ACEOF
37316 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37319 # Break up conftest.defines because some shells have a limit on the size
37320 # of here documents, and old seds have small limits too (100 cmds).
37321 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37322 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37323 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37324 echo ' :' >>$CONFIG_STATUS
37325 rm -f conftest.tail
37326 while grep . conftest.defines >/dev/null
37328 # Write a limited-size here document to $tmp/defines.sed.
37329 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37330 # Speed up: don't consider the non `#define' lines.
37331 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37332 # Work around the forget-to-reset-the-flag bug.
37333 echo 't clr' >>$CONFIG_STATUS
37334 echo ': clr' >>$CONFIG_STATUS
37335 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37337 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37339 mv $tmp/out $tmp/in
37341 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37342 rm -f conftest.defines
37343 mv conftest.
tail conftest.defines
37345 rm -f conftest.defines
37346 echo ' fi # grep' >>$CONFIG_STATUS
37347 echo >>$CONFIG_STATUS
37349 # Break up conftest.undefs because some shells have a limit on the size
37350 # of here documents, and old seds have small limits too (100 cmds).
37351 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37352 rm -f conftest.
tail
37353 while grep . conftest.undefs
>/dev
/null
37355 # Write a limited-size here document to $tmp/undefs.sed.
37356 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37357 # Speed up: don't consider the non
`#undef'
37358 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37359 # Work around the forget-to-reset-the-flag bug.
37360 echo 't clr' >>$CONFIG_STATUS
37361 echo ': clr' >>$CONFIG_STATUS
37362 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37364 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37366 mv $tmp/out $tmp/in
37368 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37369 rm -f conftest.undefs
37370 mv conftest.tail conftest.undefs
37372 rm -f conftest.undefs
37374 cat >>$CONFIG_STATUS <<\_ACEOF
37375 # Let's still pretend it is `configure
' which instantiates (i.e., don't
37376 # use $as_me), people would be surprised to read:
37377 # /* config.h. Generated by config.status. */
37378 if test x
"$ac_file" = x
-; then
37379 echo "/* Generated by configure. */" >$tmp/config.h
37381 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37383 cat $tmp/in >>$tmp/config.h
37385 if test x
"$ac_file" != x
-; then
37386 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37387 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37388 echo "$as_me: $ac_file is unchanged" >&6;}
37390 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37392 X"$ac_file" : 'X\(//\)[^/]' \| \
37393 X"$ac_file" : 'X\(//\)$' \| \
37394 X"$ac_file" : 'X\(/\)' \| \
37395 . : '\(.\)' 2>/dev/null ||
37397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37399 /^X\(\/\/\)$/{ s//\1/; q; }
37400 /^X\(\/\).*/{ s//\1/; q; }
37402 { if $as_mkdir_p; then
37407 while test ! -d "$as_dir"; do
37408 as_dirs
="$as_dir $as_dirs"
37409 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37411 X"$as_dir" : 'X\(//\)[^/]' \| \
37412 X"$as_dir" : 'X\(//\)$' \| \
37413 X"$as_dir" : 'X\(/\)' \| \
37414 . : '\(.\)' 2>/dev/null ||
37416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37418 /^X\(\/\/\)$/{ s//\1/; q; }
37419 /^X\(\/\).*/{ s//\1/; q; }
37422 test ! -n "$as_dirs" || mkdir $as_dirs
37423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37425 { (exit 1); exit 1; }; }; }
37428 mv $tmp/config.h
$ac_file
37432 rm -f $tmp/config.h
37436 cat >>$CONFIG_STATUS <<\_ACEOF
37439 # CONFIG_COMMANDS section.
37441 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37442 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37443 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37444 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37445 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37446 X"$ac_dest" : 'X\(//\)[^/]' \| \
37447 X"$ac_dest" : 'X\(//\)$' \| \
37448 X"$ac_dest" : 'X\(/\)' \| \
37449 . : '\(.\)' 2>/dev/null ||
37451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37453 /^X\(\/\/\)$/{ s//\1/; q; }
37454 /^X\(\/\).*/{ s//\1/; q; }
37458 if test "$ac_dir" != .
; then
37459 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37460 # A "../" for each directory in $ac_dir_suffix.
37461 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37463 ac_dir_suffix
= ac_top_builddir
=
37467 .
) # No --srcdir option. We are building in place.
37469 if test -z "$ac_top_builddir"; then
37472 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37474 [\\/]* | ?
:[\\/]* ) # Absolute path.
37475 ac_srcdir
=$srcdir$ac_dir_suffix;
37476 ac_top_srcdir
=$srcdir ;;
37477 *) # Relative path.
37478 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37479 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37481 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37483 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37484 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37485 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37486 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37489 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37490 echo "$as_me: executing $ac_dest commands" >&6;}
37493 if test ! -h wx
-config; then
37495 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37496 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37499 if test ! -d lib
; then
37502 if test ! -d lib
/wx
; then
37505 if test ! -d lib
/wx
/include
; then
37506 mkdir lib
/wx
/include
37508 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37509 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37511 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37512 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37514 if test -f setup.h
; then
37515 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37522 cat >>$CONFIG_STATUS <<\_ACEOF
37524 { (exit 0); exit 0; }
37526 chmod +x
$CONFIG_STATUS
37527 ac_clean_files
=$ac_clean_files_save
37530 # configure is writing to config.log, and then calls config.status.
37531 # config.status does its own redirection, appending to config.log.
37532 # Unfortunately, on DOS this fails, as config.log is still kept open
37533 # by configure, so config.status won't be able to write to it; its
37534 # output is simply discarded. So we exec the FD to /dev/null,
37535 # effectively closing config.log, so it can be properly (re)opened and
37536 # appended to by config.status. When coming back to configure, we
37537 # need to make the FD available again.
37538 if test "$no_create" != yes; then
37540 ac_config_status_args
=
37541 test "$silent" = yes &&
37542 ac_config_status_args
="$ac_config_status_args --quiet"
37544 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37547 # would make configure fail if this is the last instruction.
37548 $ac_cs_success || { (exit 1); exit 1; }
37552 # CONFIG_SUBDIRS section.
37554 if test "$no_recursion" != yes; then
37556 # Remove --cache-file and --srcdir arguments so they do not pile up.
37557 ac_sub_configure_args
=
37559 for ac_arg
in $ac_configure_args; do
37560 if test -n "$ac_prev"; then
37565 -cache-file | --cache-file | --cache-fil | --cache-fi \
37566 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37567 ac_prev
=cache_file
;;
37568 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37569 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37572 --config-cache | -C)
37574 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37576 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37578 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37580 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37582 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37586 # Always prepend --prefix to ensure using the same prefix
37587 # in subdir configurations.
37588 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37591 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37593 # Do not complain, so a configure script can configure whichever
37594 # parts of a large source tree are present.
37595 test -d $srcdir/$ac_dir || continue
37597 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37598 echo "$as_me: configuring in $ac_dir" >&6;}
37599 { if $as_mkdir_p; then
37604 while test ! -d "$as_dir"; do
37605 as_dirs
="$as_dir $as_dirs"
37606 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37608 X"$as_dir" : 'X\(//\)[^/]' \| \
37609 X"$as_dir" : 'X\(//\)$' \| \
37610 X"$as_dir" : 'X\(/\)' \| \
37611 . : '\(.\)' 2>/dev/null ||
37613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37614 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37615 /^X\(\/\/\)$/{ s//\1/; q; }
37616 /^X\(\/\).*/{ s//\1/; q; }
37619 test ! -n "$as_dirs" || mkdir $as_dirs
37620 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37621 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37622 { (exit 1); exit 1; }; }; }
37626 if test "$ac_dir" != .
; then
37627 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37628 # A "../" for each directory in $ac_dir_suffix.
37629 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37631 ac_dir_suffix
= ac_top_builddir
=
37635 .
) # No --srcdir option. We are building in place.
37637 if test -z "$ac_top_builddir"; then
37640 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37642 [\\/]* | ?
:[\\/]* ) # Absolute path.
37643 ac_srcdir
=$srcdir$ac_dir_suffix;
37644 ac_top_srcdir
=$srcdir ;;
37645 *) # Relative path.
37646 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37647 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37649 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37651 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37652 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37653 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37654 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37659 # Check for guested configure; otherwise get Cygnus style configure.
37660 if test -f $ac_srcdir/configure.gnu
; then
37661 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37662 elif test -f $ac_srcdir/configure
; then
37663 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37664 elif test -f $ac_srcdir/configure.
in; then
37665 ac_sub_configure
=$ac_configure
37667 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37668 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37672 # The recursion is here.
37673 if test -n "$ac_sub_configure"; then
37674 # Make the cache file name correct relative to the subdirectory.
37675 case $cache_file in
37676 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37677 *) # Relative path.
37678 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37681 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37682 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37683 # The eval makes quoting arguments work.
37684 eval $ac_sub_configure $ac_sub_configure_args \
37685 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37686 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37687 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37688 { (exit 1); exit 1; }; }
37697 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37699 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37700 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37702 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37703 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37704 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37706 echo " What level of wxWindows compatibility should be enabled?"
37707 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37708 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37710 echo " Which libraries should wxWindows use?"
37711 echo " jpeg ${wxUSE_LIBJPEG-none}"
37712 echo " png ${wxUSE_LIBPNG-none}"
37713 echo " regex ${wxUSE_REGEX}"
37714 echo " tiff ${wxUSE_LIBTIFF-none}"
37715 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37716 echo " xpm ${wxUSE_LIBXPM-none}"
37718 echo " zlib ${wxUSE_ZLIB}"
37719 echo " odbc ${wxUSE_ODBC}"
37720 echo " expat ${wxUSE_EXPAT}"
37721 echo " libmspack ${wxUSE_LIBMSPACK}"