2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.0'
273 PACKAGE_STRING
='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE 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_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_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
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-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even
if compiler can
1035 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1036 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1038 --with-motif use Motif
/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS
-Windows
1043 --with-pm use OS
/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1047 --with-libpng use libpng
(PNG image format
)
1048 --with-libjpeg use libjpeg
(JPEG
file format
)
1049 --with-libtiff use libtiff
(TIFF
file format
)
1050 --with-opengl use OpenGL
(or Mesa
)
1051 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1052 --with-regex enable support
for wxRegEx class
1053 --with-zlib use zlib
for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1061 Some influential environment variables
:
1062 CC C compiler
command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1065 nonstandard directory
<lib dir
>
1066 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1067 headers
in a nonstandard directory
<include dir
>
1069 CXX C
++ compiler
command
1070 CXXFLAGS C
++ compiler flags
1071 CXXCPP C
++ preprocessor
1073 Use these variables to override the choices made by
`configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 ac_dir_suffix= ac_top_builddir=
1096 .) # No --srcdir option. We are building in place.
1098 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1166 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h
| sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core core.
* *.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh; then
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool; then
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1547 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1569 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1591 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix=${target_alias}-
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1641 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1664 SAMPLES_RPATH_POSTLINK=
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1672 cat >>confdefs.h <<\_ACEOF
1679 cat >>confdefs.h <<\_ACEOF
1684 if test "x$TMP" = "xalpha"; then
1686 cat >>confdefs.h <<\_ACEOF
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 cat >>confdefs.h <<\_ACEOF
1700 if test "x$TMP" = "xalpha"; then
1702 cat >>confdefs.h <<\_ACEOF
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1709 *-*-irix5* | *-*-irix6* )
1712 cat >>confdefs.h <<\_ACEOF
1716 cat >>confdefs.h <<\_ACEOF
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 cat >>confdefs.h <<\_ACEOF
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1734 cat >>confdefs.h <<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1745 cat >>confdefs.h <<\_ACEOF
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1766 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1792 cat >>confdefs.h <<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 cat >>confdefs.h <<\_ACEOF
1805 cat >>confdefs.h <<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1868 *-*-cygwin* | *-*-mingw32* )
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1878 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1900 cat >>confdefs.h <<\_ACEOF
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __DARWIN__ 1
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __POWERPC__ 1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define TARGET_CARBON 1
1916 DEFAULT_DEFAULT_wxUSE_MAC=1
1921 cat >>confdefs.h <<\_ACEOF
1928 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1929 echo "$as_me: error: unknown system type ${host}." >&2;}
1930 { (exit 1); exit 1; }; }
1936 wx_arg_cache_file="configarg.cache"
1937 echo "loading argument cache $wx_arg_cache_file"
1938 rm -f ${wx_arg_cache_file}.tmp
1939 touch ${wx_arg_cache_file}.tmp
1940 touch ${wx_arg_cache_file}
1944 if test $DEBUG_CONFIGURE = 1; then
1945 DEFAULT_wxUSE_UNIVERSAL=no
1946 DEFAULT_wxUSE_STL=no
1948 DEFAULT_wxUSE_NANOX=no
1950 DEFAULT_wxUSE_THREADS=yes
1952 DEFAULT_wxUSE_SHARED=yes
1953 DEFAULT_wxUSE_OPTIMISE=no
1954 DEFAULT_wxUSE_PROFILE=no
1955 DEFAULT_wxUSE_NO_DEPS=no
1956 DEFAULT_wxUSE_NO_RTTI=no
1957 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1958 DEFAULT_wxUSE_PERMISSIVE=no
1959 DEFAULT_wxUSE_DEBUG_FLAG=yes
1960 DEFAULT_wxUSE_DEBUG_INFO=yes
1961 DEFAULT_wxUSE_DEBUG_GDB=yes
1962 DEFAULT_wxUSE_MEM_TRACING=no
1963 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1964 DEFAULT_wxUSE_DMALLOC=no
1965 DEFAULT_wxUSE_APPLE_IEEE=no
1967 DEFAULT_wxUSE_LOG=yes
1968 DEFAULT_wxUSE_LOGWINDOW=no
1969 DEFAULT_wxUSE_LOGGUI=no
1970 DEFAULT_wxUSE_LOGDIALOG=no
1972 DEFAULT_wxUSE_GUI=yes
1973 DEFAULT_wxUSE_CONTROLS=no
1975 DEFAULT_wxUSE_REGEX=no
1976 DEFAULT_wxUSE_XML=no
1977 DEFAULT_wxUSE_EXPAT=no
1978 DEFAULT_wxUSE_ZLIB=no
1979 DEFAULT_wxUSE_LIBPNG=no
1980 DEFAULT_wxUSE_LIBJPEG=no
1981 DEFAULT_wxUSE_LIBTIFF=no
1982 DEFAULT_wxUSE_ODBC=no
1983 DEFAULT_wxUSE_OPENGL=no
1985 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1986 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1987 DEFAULT_wxUSE_STD_IOSTREAM=no
1988 DEFAULT_wxUSE_CMDLINE_PARSER=no
1989 DEFAULT_wxUSE_DATETIME=no
1990 DEFAULT_wxUSE_TIMER=no
1991 DEFAULT_wxUSE_STOPWATCH=no
1992 DEFAULT_wxUSE_FILE=no
1993 DEFAULT_wxUSE_FFILE=no
1994 DEFAULT_wxUSE_TEXTBUFFER=no
1995 DEFAULT_wxUSE_TEXTFILE=no
1996 DEFAULT_wxUSE_WAVE=no
1997 DEFAULT_wxUSE_INTL=no
1998 DEFAULT_wxUSE_CONFIG=no
1999 DEFAULT_wxUSE_FONTMAP=no
2000 DEFAULT_wxUSE_STREAMS=no
2001 DEFAULT_wxUSE_SOCKETS=no
2002 DEFAULT_wxUSE_OLE=no
2003 DEFAULT_wxUSE_DATAOBJ=no
2004 DEFAULT_wxUSE_DIALUP_MANAGER=no
2005 DEFAULT_wxUSE_JOYSTICK=no
2006 DEFAULT_wxUSE_DYNLIB_CLASS=no
2007 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2008 DEFAULT_wxUSE_LONGLONG=no
2009 DEFAULT_wxUSE_GEOMETRY=no
2011 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2012 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2013 DEFAULT_wxUSE_POSTSCRIPT=no
2015 DEFAULT_wxUSE_CLIPBOARD=no
2016 DEFAULT_wxUSE_TOOLTIPS=no
2017 DEFAULT_wxUSE_DRAG_AND_DROP=no
2018 DEFAULT_wxUSE_DRAGIMAGE=no
2019 DEFAULT_wxUSE_SPLINES=no
2021 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2022 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2023 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2025 DEFAULT_wxUSE_RESOURCES=no
2026 DEFAULT_wxUSE_CONSTRAINTS=no
2027 DEFAULT_wxUSE_IPC=no
2028 DEFAULT_wxUSE_HELP=no
2029 DEFAULT_wxUSE_MS_HTML_HELP=no
2030 DEFAULT_wxUSE_WXHTML_HELP=no
2031 DEFAULT_wxUSE_TREELAYOUT=no
2032 DEFAULT_wxUSE_METAFILE=no
2033 DEFAULT_wxUSE_MIMETYPE=no
2034 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2035 DEFAULT_wxUSE_PROTOCOL=no
2036 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2037 DEFAULT_wxUSE_PROTOCOL_FTP=no
2038 DEFAULT_wxUSE_PROTOCOL_FILE=no
2039 DEFAULT_wxUSE_URL=no
2041 DEFAULT_wxUSE_COMMONDLGS=no
2042 DEFAULT_wxUSE_CHOICEDLG=no
2043 DEFAULT_wxUSE_COLOURDLG=no
2044 DEFAULT_wxUSE_DIRDLG=no
2045 DEFAULT_wxUSE_FILEDLG=no
2046 DEFAULT_wxUSE_FINDREPLDLG=no
2047 DEFAULT_wxUSE_FONTDLG=no
2048 DEFAULT_wxUSE_MSGDLG=no
2049 DEFAULT_wxUSE_NUMBERDLG=no
2050 DEFAULT_wxUSE_TEXTDLG=no
2051 DEFAULT_wxUSE_SPLASH=no
2052 DEFAULT_wxUSE_STARTUP_TIPS=no
2053 DEFAULT_wxUSE_PROGRESSDLG=no
2054 DEFAULT_wxUSE_WIZARDDLG=no
2056 DEFAULT_wxUSE_MENUS=no
2057 DEFAULT_wxUSE_MINIFRAME=no
2058 DEFAULT_wxUSE_HTML=no
2059 DEFAULT_wxUSE_FILESYSTEM=no
2060 DEFAULT_wxUSE_FS_INET=no
2061 DEFAULT_wxUSE_FS_ZIP=no
2062 DEFAULT_wxUSE_BUSYINFO=no
2063 DEFAULT_wxUSE_ZIPSTREAM=no
2064 DEFAULT_wxUSE_VALIDATORS=no
2066 DEFAULT_wxUSE_ACCEL=no
2067 DEFAULT_wxUSE_BUTTON=no
2068 DEFAULT_wxUSE_BMPBUTTON=no
2069 DEFAULT_wxUSE_CALCTRL=no
2070 DEFAULT_wxUSE_CARET=no
2071 DEFAULT_wxUSE_CHECKBOX=no
2072 DEFAULT_wxUSE_CHECKLST=no
2073 DEFAULT_wxUSE_CHOICE=no
2074 DEFAULT_wxUSE_COMBOBOX=no
2075 DEFAULT_wxUSE_DISPLAY=no
2076 DEFAULT_wxUSE_GAUGE=no
2077 DEFAULT_wxUSE_GRID=no
2078 DEFAULT_wxUSE_IMAGLIST=no
2079 DEFAULT_wxUSE_LISTBOX=no
2080 DEFAULT_wxUSE_LISTCTRL=no
2081 DEFAULT_wxUSE_NOTEBOOK=no
2082 DEFAULT_wxUSE_RADIOBOX=no
2083 DEFAULT_wxUSE_RADIOBTN=no
2084 DEFAULT_wxUSE_SASH=no
2085 DEFAULT_wxUSE_SCROLLBAR=no
2086 DEFAULT_wxUSE_SLIDER=no
2087 DEFAULT_wxUSE_SPINBTN=no
2088 DEFAULT_wxUSE_SPINCTRL=no
2089 DEFAULT_wxUSE_SPLITTER=no
2090 DEFAULT_wxUSE_STATBMP=no
2091 DEFAULT_wxUSE_STATBOX=no
2092 DEFAULT_wxUSE_STATLINE=no
2093 DEFAULT_wxUSE_STATTEXT=no
2094 DEFAULT_wxUSE_STATUSBAR=yes
2095 DEFAULT_wxUSE_TABDIALOG=no
2096 DEFAULT_wxUSE_TEXTCTRL=no
2097 DEFAULT_wxUSE_TOGGLEBTN=no
2098 DEFAULT_wxUSE_TOOLBAR=no
2099 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2100 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2101 DEFAULT_wxUSE_TREECTRL=no
2102 DEFAULT_wxUSE_POPUPWIN=no
2103 DEFAULT_wxUSE_TIPWINDOW=no
2105 DEFAULT_wxUSE_UNICODE=no
2106 DEFAULT_wxUSE_UNICODE_MSLU=no
2107 DEFAULT_wxUSE_WCSRTOMBS=no
2109 DEFAULT_wxUSE_PALETTE=no
2110 DEFAULT_wxUSE_IMAGE=no
2111 DEFAULT_wxUSE_GIF=no
2112 DEFAULT_wxUSE_PCX=no
2113 DEFAULT_wxUSE_PNM=no
2114 DEFAULT_wxUSE_IFF=no
2115 DEFAULT_wxUSE_XPM=no
2116 DEFAULT_wxUSE_ICO_CUR=no
2117 DEFAULT_wxUSE_ACCESSIBILITY=no
2119 DEFAULT_wxUSE_MONOLITHIC=no
2120 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2122 DEFAULT_wxUSE_UNIVERSAL=no
2123 DEFAULT_wxUSE_STL=no
2125 DEFAULT_wxUSE_NANOX=no
2127 DEFAULT_wxUSE_THREADS=yes
2129 DEFAULT_wxUSE_SHARED=yes
2130 DEFAULT_wxUSE_OPTIMISE=yes
2131 DEFAULT_wxUSE_PROFILE=no
2132 DEFAULT_wxUSE_NO_DEPS=no
2133 DEFAULT_wxUSE_NO_RTTI=no
2134 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2135 DEFAULT_wxUSE_PERMISSIVE=no
2136 DEFAULT_wxUSE_DEBUG_FLAG=no
2137 DEFAULT_wxUSE_DEBUG_INFO=no
2138 DEFAULT_wxUSE_DEBUG_GDB=no
2139 DEFAULT_wxUSE_MEM_TRACING=no
2140 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2141 DEFAULT_wxUSE_DMALLOC=no
2142 DEFAULT_wxUSE_APPLE_IEEE=yes
2144 DEFAULT_wxUSE_LOG=yes
2145 DEFAULT_wxUSE_LOGWINDOW=yes
2146 DEFAULT_wxUSE_LOGGUI=yes
2147 DEFAULT_wxUSE_LOGDIALOG=yes
2149 DEFAULT_wxUSE_GUI=yes
2151 DEFAULT_wxUSE_REGEX=yes
2152 DEFAULT_wxUSE_XML=yes
2153 DEFAULT_wxUSE_EXPAT=yes
2154 DEFAULT_wxUSE_ZLIB=yes
2155 DEFAULT_wxUSE_LIBPNG=yes
2156 DEFAULT_wxUSE_LIBJPEG=yes
2157 DEFAULT_wxUSE_LIBTIFF=yes
2158 DEFAULT_wxUSE_ODBC=no
2159 DEFAULT_wxUSE_OPENGL=no
2161 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2162 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2163 DEFAULT_wxUSE_STD_IOSTREAM=no
2164 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2165 DEFAULT_wxUSE_DATETIME=yes
2166 DEFAULT_wxUSE_TIMER=yes
2167 DEFAULT_wxUSE_STOPWATCH=yes
2168 DEFAULT_wxUSE_FILE=yes
2169 DEFAULT_wxUSE_FFILE=yes
2170 DEFAULT_wxUSE_TEXTBUFFER=yes
2171 DEFAULT_wxUSE_TEXTFILE=yes
2172 DEFAULT_wxUSE_WAVE=no
2173 DEFAULT_wxUSE_INTL=yes
2174 DEFAULT_wxUSE_CONFIG=yes
2175 DEFAULT_wxUSE_FONTMAP=yes
2176 DEFAULT_wxUSE_STREAMS=yes
2177 DEFAULT_wxUSE_SOCKETS=yes
2178 DEFAULT_wxUSE_OLE=yes
2179 DEFAULT_wxUSE_DATAOBJ=yes
2180 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2181 DEFAULT_wxUSE_JOYSTICK=yes
2182 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2183 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2184 DEFAULT_wxUSE_LONGLONG=yes
2185 DEFAULT_wxUSE_GEOMETRY=yes
2187 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2188 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2189 DEFAULT_wxUSE_POSTSCRIPT=yes
2191 DEFAULT_wxUSE_CLIPBOARD=yes
2192 DEFAULT_wxUSE_TOOLTIPS=yes
2193 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2194 DEFAULT_wxUSE_DRAGIMAGE=yes
2195 DEFAULT_wxUSE_SPLINES=yes
2197 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2198 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2199 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2201 DEFAULT_wxUSE_RESOURCES=no
2202 DEFAULT_wxUSE_CONSTRAINTS=yes
2203 DEFAULT_wxUSE_IPC=yes
2204 DEFAULT_wxUSE_HELP=yes
2205 DEFAULT_wxUSE_MS_HTML_HELP=yes
2206 DEFAULT_wxUSE_WXHTML_HELP=yes
2207 DEFAULT_wxUSE_TREELAYOUT=yes
2208 DEFAULT_wxUSE_METAFILE=yes
2209 DEFAULT_wxUSE_MIMETYPE=yes
2210 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2211 DEFAULT_wxUSE_PROTOCOL=yes
2212 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2213 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2214 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2215 DEFAULT_wxUSE_URL=yes
2217 DEFAULT_wxUSE_COMMONDLGS=yes
2218 DEFAULT_wxUSE_CHOICEDLG=yes
2219 DEFAULT_wxUSE_COLOURDLG=yes
2220 DEFAULT_wxUSE_DIRDLG=yes
2221 DEFAULT_wxUSE_FILEDLG=yes
2222 DEFAULT_wxUSE_FINDREPLDLG=yes
2223 DEFAULT_wxUSE_FONTDLG=yes
2224 DEFAULT_wxUSE_MSGDLG=yes
2225 DEFAULT_wxUSE_NUMBERDLG=yes
2226 DEFAULT_wxUSE_TEXTDLG=yes
2227 DEFAULT_wxUSE_SPLASH=yes
2228 DEFAULT_wxUSE_STARTUP_TIPS=yes
2229 DEFAULT_wxUSE_PROGRESSDLG=yes
2230 DEFAULT_wxUSE_WIZARDDLG=yes
2232 DEFAULT_wxUSE_MENUS=yes
2233 DEFAULT_wxUSE_MINIFRAME=yes
2234 DEFAULT_wxUSE_HTML=yes
2235 DEFAULT_wxUSE_FILESYSTEM=yes
2236 DEFAULT_wxUSE_FS_INET=yes
2237 DEFAULT_wxUSE_FS_ZIP=yes
2238 DEFAULT_wxUSE_BUSYINFO=yes
2239 DEFAULT_wxUSE_ZIPSTREAM=yes
2240 DEFAULT_wxUSE_VALIDATORS=yes
2242 DEFAULT_wxUSE_ACCEL=yes
2243 DEFAULT_wxUSE_BUTTON=yes
2244 DEFAULT_wxUSE_BMPBUTTON=yes
2245 DEFAULT_wxUSE_CALCTRL=yes
2246 DEFAULT_wxUSE_CARET=yes
2247 DEFAULT_wxUSE_CHECKBOX=yes
2248 DEFAULT_wxUSE_CHECKLST=yes
2249 DEFAULT_wxUSE_CHOICE=yes
2250 DEFAULT_wxUSE_COMBOBOX=yes
2251 DEFAULT_wxUSE_DISPLAY=no
2252 DEFAULT_wxUSE_GAUGE=yes
2253 DEFAULT_wxUSE_GRID=yes
2254 DEFAULT_wxUSE_IMAGLIST=yes
2255 DEFAULT_wxUSE_LISTBOX=yes
2256 DEFAULT_wxUSE_LISTCTRL=yes
2257 DEFAULT_wxUSE_NOTEBOOK=yes
2258 DEFAULT_wxUSE_RADIOBOX=yes
2259 DEFAULT_wxUSE_RADIOBTN=yes
2260 DEFAULT_wxUSE_SASH=yes
2261 DEFAULT_wxUSE_SCROLLBAR=yes
2262 DEFAULT_wxUSE_SLIDER=yes
2263 DEFAULT_wxUSE_SPINBTN=yes
2264 DEFAULT_wxUSE_SPINCTRL=yes
2265 DEFAULT_wxUSE_SPLITTER=yes
2266 DEFAULT_wxUSE_STATBMP=yes
2267 DEFAULT_wxUSE_STATBOX=yes
2268 DEFAULT_wxUSE_STATLINE=yes
2269 DEFAULT_wxUSE_STATTEXT=yes
2270 DEFAULT_wxUSE_STATUSBAR=yes
2271 DEFAULT_wxUSE_TABDIALOG=no
2272 DEFAULT_wxUSE_TEXTCTRL=yes
2273 DEFAULT_wxUSE_TOGGLEBTN=yes
2274 DEFAULT_wxUSE_TOOLBAR=yes
2275 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2276 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2277 DEFAULT_wxUSE_TREECTRL=yes
2278 DEFAULT_wxUSE_POPUPWIN=yes
2279 DEFAULT_wxUSE_TIPWINDOW=yes
2281 DEFAULT_wxUSE_UNICODE=no
2282 DEFAULT_wxUSE_UNICODE_MSLU=yes
2283 DEFAULT_wxUSE_WCSRTOMBS=no
2285 DEFAULT_wxUSE_PALETTE=yes
2286 DEFAULT_wxUSE_IMAGE=yes
2287 DEFAULT_wxUSE_GIF=yes
2288 DEFAULT_wxUSE_PCX=yes
2289 DEFAULT_wxUSE_IFF=no
2290 DEFAULT_wxUSE_PNM=yes
2291 DEFAULT_wxUSE_XPM=yes
2292 DEFAULT_wxUSE_ICO_CUR=yes
2293 DEFAULT_wxUSE_ACCESSIBILITY=no
2295 DEFAULT_wxUSE_MONOLITHIC=no
2296 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2301 for toolkit in `echo $ALL_TOOLKITS`; do
2302 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2303 if test "x$LINE" != "x" ; then
2304 has_toolkit_in_cache=1
2305 eval "DEFAULT_$LINE"
2306 eval "CACHE_$toolkit=1"
2313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2314 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2316 # Check whether --enable-gui or --disable-gui was given.
2317 if test "${enable_gui+set}" = set; then
2318 enableval="$enable_gui"
2320 if test "$enableval" = yes; then
2321 ac_cv_use_gui='wxUSE_GUI
=yes'
2323 ac_cv_use_gui='wxUSE_GUI
=no
'
2328 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2329 if test "x$LINE" != x ; then
2330 eval "DEFAULT_$LINE"
2335 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2339 eval "$ac_cv_use_gui"
2340 if test "$no_cache" != 1; then
2341 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2344 if test "$wxUSE_GUI" = yes; then
2345 echo "$as_me:$LINENO: result: yes" >&5
2346 echo "${ECHO_T}yes" >&6
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2355 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2357 # Check whether --enable-monolithic or --disable-monolithic was given.
2358 if test "${enable_monolithic+set}" = set; then
2359 enableval="$enable_monolithic"
2361 if test "$enableval" = yes; then
2362 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2369 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2370 if test "x$LINE" != x ; then
2371 eval "DEFAULT_$LINE"
2376 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2380 eval "$ac_cv_use_monolithic"
2381 if test "$no_cache" != 1; then
2382 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2385 if test "$wxUSE_MONOLITHIC" = yes; then
2386 echo "$as_me:$LINENO: result: yes" >&5
2387 echo "${ECHO_T}yes" >&6
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2394 if test "$wxUSE_GUI" = "yes"; then
2398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2399 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2401 # Check whether --enable-universal or --disable-universal was given.
2402 if test "${enable_universal+set}" = set; then
2403 enableval="$enable_universal"
2405 if test "$enableval" = yes; then
2406 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2408 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2413 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x ; then
2415 eval "DEFAULT_$LINE"
2420 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2424 eval "$ac_cv_use_universal"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2429 if test "$wxUSE_UNIVERSAL" = yes; then
2430 echo "$as_me:$LINENO: result: yes" >&5
2431 echo "${ECHO_T}yes" >&6
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2438 # Check whether --with-gtk or --without-gtk was given.
2439 if test "${with_gtk+set}" = set; then
2441 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2444 # Check whether --with-motif or --without-motif was given.
2445 if test "${with_motif+set}" = set; then
2446 withval="$with_motif"
2447 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2450 # Check whether --with-mac or --without-mac was given.
2451 if test "${with_mac+set}" = set; then
2453 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2456 # Check whether --with-cocoa or --without-cocoa was given.
2457 if test "${with_cocoa+set}" = set; then
2458 withval="$with_cocoa"
2459 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2462 # Check whether --with-wine or --without-wine was given.
2463 if test "${with_wine+set}" = set; then
2464 withval="$with_wine"
2465 wxUSE_WINE="$withval" CACHE_WINE=1
2468 # Check whether --with-msw or --without-msw was given.
2469 if test "${with_msw+set}" = set; then
2471 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2474 # Check whether --with-pm or --without-pm was given.
2475 if test "${with_pm+set}" = set; then
2477 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2480 # Check whether --with-mgl or --without-mgl was given.
2481 if test "${with_mgl+set}" = set; then
2483 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2486 # Check whether --with-microwin or --without-microwin was given.
2487 if test "${with_microwin+set}" = set; then
2488 withval="$with_microwin"
2489 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2492 # Check whether --with-x11 or --without-x11 was given.
2493 if test "${with_x11+set}" = set; then
2495 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2500 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2502 # Check whether --enable-nanox or --disable-nanox was given.
2503 if test "${enable_nanox+set}" = set; then
2504 enableval="$enable_nanox"
2506 if test "$enableval" = yes; then
2507 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2509 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2514 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x ; then
2516 eval "DEFAULT_$LINE"
2521 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2525 eval "$ac_cv_use_nanox"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2530 if test "$wxUSE_NANOX" = yes; then
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2542 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2544 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2545 if test "${enable_gtk2+set}" = set; then
2546 enableval="$enable_gtk2"
2548 if test "$enableval" = yes; then
2549 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2551 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2556 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x ; then
2558 eval "DEFAULT_$LINE"
2563 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2567 eval "$ac_cv_use_gtk2"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2572 if test "$wxUSE_GTK2" = yes; then
2573 echo "$as_me:$LINENO: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2582 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2583 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2586 # Check whether --with-libpng or --without-libpng was given.
2587 if test "${with_libpng+set}" = set; then
2588 withval="$with_libpng"
2590 if test "$withval" = yes; then
2591 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2592 elif test "$withval" = no; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2594 elif test "$withval" = sys; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2596 elif test "$withval" = builtin; then
2597 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2601 { (exit 1); exit 1; }; }
2606 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2617 eval "$ac_cv_use_libpng"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2622 if test "$wxUSE_LIBPNG" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2625 elif test "$wxUSE_LIBPNG" = no; then
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2628 elif test "$wxUSE_LIBPNG" = sys; then
2629 echo "$as_me:$LINENO: result: system version" >&5
2630 echo "${ECHO_T}system version" >&6
2631 elif test "$wxUSE_LIBPNG" = builtin; then
2632 echo "$as_me:$LINENO: result: builtin version" >&5
2633 echo "${ECHO_T}builtin version" >&6
2635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2637 { (exit 1); exit 1; }; }
2641 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2645 # Check whether --with-libjpeg or --without-libjpeg was given.
2646 if test "${with_libjpeg+set}" = set; then
2647 withval="$with_libjpeg"
2649 if test "$withval" = yes; then
2650 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2651 elif test "$withval" = no; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2653 elif test "$withval" = sys; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2655 elif test "$withval" = builtin; then
2656 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2659 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2660 { (exit 1); exit 1; }; }
2665 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2676 eval "$ac_cv_use_libjpeg"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_LIBJPEG" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 elif test "$wxUSE_LIBJPEG" = no; then
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 elif test "$wxUSE_LIBJPEG" = sys; then
2688 echo "$as_me:$LINENO: result: system version" >&5
2689 echo "${ECHO_T}system version" >&6
2690 elif test "$wxUSE_LIBJPEG" = builtin; then
2691 echo "$as_me:$LINENO: result: builtin version" >&5
2692 echo "${ECHO_T}builtin version" >&6
2694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2695 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2696 { (exit 1); exit 1; }; }
2700 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2701 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2704 # Check whether --with-libtiff or --without-libtiff was given.
2705 if test "${with_libtiff+set}" = set; then
2706 withval="$with_libtiff"
2708 if test "$withval" = yes; then
2709 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2710 elif test "$withval" = no; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2712 elif test "$withval" = sys; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2714 elif test "$withval" = builtin; then
2715 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2717 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2718 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2719 { (exit 1); exit 1; }; }
2724 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2725 if test "x$LINE" != x ; then
2726 eval "DEFAULT_$LINE"
2731 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2735 eval "$ac_cv_use_libtiff"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2740 if test "$wxUSE_LIBTIFF" = yes; then
2741 echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6
2743 elif test "$wxUSE_LIBTIFF" = no; then
2744 echo "$as_me:$LINENO: result: no" >&5
2745 echo "${ECHO_T}no" >&6
2746 elif test "$wxUSE_LIBTIFF" = sys; then
2747 echo "$as_me:$LINENO: result: system version" >&5
2748 echo "${ECHO_T}system version" >&6
2749 elif test "$wxUSE_LIBTIFF" = builtin; then
2750 echo "$as_me:$LINENO: result: builtin version" >&5
2751 echo "${ECHO_T}builtin version" >&6
2753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2754 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2755 { (exit 1); exit 1; }; }
2759 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2760 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2763 # Check whether --with-opengl or --without-opengl was given.
2764 if test "${with_opengl+set}" = set; then
2765 withval="$with_opengl"
2767 if test "$withval" = yes; then
2768 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2770 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2775 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2786 eval "$ac_cv_use_opengl"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2791 if test "$wxUSE_OPENGL" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2803 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2804 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2807 # Check whether --with-dmalloc or --without-dmalloc was given.
2808 if test "${with_dmalloc+set}" = set; then
2809 withval="$with_dmalloc"
2811 if test "$withval" = yes; then
2812 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2819 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x ; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2830 eval "$ac_cv_use_dmalloc"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_DMALLOC" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2844 echo "$as_me:$LINENO: checking for --with-regex" >&5
2845 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2848 # Check whether --with-regex or --without-regex was given.
2849 if test "${with_regex+set}" = set; then
2850 withval="$with_regex"
2852 if test "$withval" = yes; then
2853 ac_cv_use_regex='wxUSE_REGEX
=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_regex='wxUSE_REGEX
=no
'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2868 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2879 eval "$ac_cv_use_regex"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_REGEX" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_REGEX" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_REGEX" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_REGEX" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2904 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2907 # Check whether --with-zlib or --without-zlib was given.
2908 if test "${with_zlib+set}" = set; then
2909 withval="$with_zlib"
2911 if test "$withval" = yes; then
2912 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2927 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2938 eval "$ac_cv_use_zlib"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_ZLIB" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_ZLIB" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_ZLIB" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_ZLIB" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2963 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2966 # Check whether --with-odbc or --without-odbc was given.
2967 if test "${with_odbc+set}" = set; then
2968 withval="$with_odbc"
2970 if test "$withval" = yes; then
2971 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2986 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2997 eval "$ac_cv_use_odbc"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_ODBC" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_ODBC" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_ODBC" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_ODBC" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3021 echo "$as_me:$LINENO: checking for --with-expat" >&5
3022 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3025 # Check whether --with-expat or --without-expat was given.
3026 if test "${with_expat+set}" = set; then
3027 withval="$with_expat"
3029 if test "$withval" = yes; then
3030 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3031 elif test "$withval" = no; then
3032 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3033 elif test "$withval" = sys; then
3034 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3035 elif test "$withval" = builtin; then
3036 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3045 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3052 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3056 eval "$ac_cv_use_expat"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3061 if test "$wxUSE_EXPAT" = yes; then
3062 echo "$as_me:$LINENO: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6
3064 elif test "$wxUSE_EXPAT" = no; then
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3067 elif test "$wxUSE_EXPAT" = sys; then
3068 echo "$as_me:$LINENO: result: system version" >&5
3069 echo "${ECHO_T}system version" >&6
3070 elif test "$wxUSE_EXPAT" = builtin; then
3071 echo "$as_me:$LINENO: result: builtin version" >&5
3072 echo "${ECHO_T}builtin version" >&6
3074 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3075 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3076 { (exit 1); exit 1; }; }
3083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3086 # Check whether --enable-shared or --disable-shared was given.
3087 if test "${enable_shared+set}" = set; then
3088 enableval="$enable_shared"
3090 if test "$enableval" = yes; then
3091 ac_cv_use_shared='wxUSE_SHARED
=yes'
3093 ac_cv_use_shared='wxUSE_SHARED
=no
'
3098 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3109 eval "$ac_cv_use_shared"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_SHARED" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3125 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3127 # Check whether --enable-optimise or --disable-optimise was given.
3128 if test "${enable_optimise+set}" = set; then
3129 enableval="$enable_optimise"
3131 if test "$enableval" = yes; then
3132 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3134 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3139 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3150 eval "$ac_cv_use_optimise"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_OPTIMISE" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3166 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3168 # Check whether --enable-debug or --disable-debug was given.
3169 if test "${enable_debug+set}" = set; then
3170 enableval="$enable_debug"
3172 if test "$enableval" = yes; then
3173 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3175 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3180 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3191 eval "$ac_cv_use_debug"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DEBUG" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3209 # Check whether --enable-stl or --disable-stl was given.
3210 if test "${enable_stl+set}" = set; then
3211 enableval="$enable_stl"
3213 if test "$enableval" = yes; then
3214 ac_cv_use_stl='wxUSE_STL
=yes'
3216 ac_cv_use_stl='wxUSE_STL
=no
'
3221 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x ; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3232 eval "$ac_cv_use_stl"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_STL" = yes; then
3238 echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3246 if test "$wxUSE_DEBUG" = "yes"; then
3247 DEFAULT_wxUSE_DEBUG_FLAG=yes
3248 DEFAULT_wxUSE_DEBUG_INFO=yes
3250 elif test "$wxUSE_DEBUG" = "no"; then
3251 DEFAULT_wxUSE_DEBUG_FLAG=no
3252 DEFAULT_wxUSE_DEBUG_INFO=no
3258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3261 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3262 if test "${enable_debug_flag+set}" = set; then
3263 enableval="$enable_debug_flag"
3265 if test "$enableval" = yes; then
3266 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3268 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3273 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3280 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3284 eval "$ac_cv_use_debug_flag"
3285 if test "$no_cache" != 1; then
3286 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3289 if test "$wxUSE_DEBUG_FLAG" = yes; then
3290 echo "$as_me:$LINENO: result: yes" >&5
3291 echo "${ECHO_T}yes" >&6
3293 echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6
3299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3300 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3302 # Check whether --enable-debug_info or --disable-debug_info was given.
3303 if test "${enable_debug_info+set}" = set; then
3304 enableval="$enable_debug_info"
3306 if test "$enableval" = yes; then
3307 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3309 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3314 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3315 if test "x$LINE" != x ; then
3316 eval "DEFAULT_$LINE"
3321 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3325 eval "$ac_cv_use_debug_info"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3330 if test "$wxUSE_DEBUG_INFO" = yes; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3343 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3344 if test "${enable_debug_gdb+set}" = set; then
3345 enableval="$enable_debug_gdb"
3347 if test "$enableval" = yes; then
3348 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3350 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3355 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3362 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3366 eval "$ac_cv_use_debug_gdb"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3371 if test "$wxUSE_DEBUG_GDB" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3382 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3384 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3385 if test "${enable_debug_cntxt+set}" = set; then
3386 enableval="$enable_debug_cntxt"
3388 if test "$enableval" = yes; then
3389 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3391 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3396 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x ; then
3398 eval "DEFAULT_$LINE"
3403 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3407 eval "$ac_cv_use_debug_cntxt"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3412 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3423 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3425 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3426 if test "${enable_mem_tracing+set}" = set; then
3427 enableval="$enable_mem_tracing"
3429 if test "$enableval" = yes; then
3430 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3432 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3437 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3438 if test "x$LINE" != x ; then
3439 eval "DEFAULT_$LINE"
3444 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3448 eval "$ac_cv_use_mem_tracing"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3453 if test "$wxUSE_MEM_TRACING" = yes; then
3454 echo "$as_me:$LINENO: result: yes" >&5
3455 echo "${ECHO_T}yes" >&6
3457 echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3466 # Check whether --enable-profile or --disable-profile was given.
3467 if test "${enable_profile+set}" = set; then
3468 enableval="$enable_profile"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3473 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3478 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3489 eval "$ac_cv_use_profile"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_PROFILE" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3507 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3508 if test "${enable_no_rtti+set}" = set; then
3509 enableval="$enable_no_rtti"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3514 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3519 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3530 eval "$ac_cv_use_no_rtti"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_NO_RTTI" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3548 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3549 if test "${enable_no_exceptions+set}" = set; then
3550 enableval="$enable_no_exceptions"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3555 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3560 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x ; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3571 eval "$ac_cv_use_no_exceptions"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3576 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3587 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3589 # Check whether --enable-permissive or --disable-permissive was given.
3590 if test "${enable_permissive+set}" = set; then
3591 enableval="$enable_permissive"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3596 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3601 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x ; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3612 eval "$ac_cv_use_permissive"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_PERMISSIVE" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3630 # Check whether --enable-no_deps or --disable-no_deps was given.
3631 if test "${enable_no_deps+set}" = set; then
3632 enableval="$enable_no_deps"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3637 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3642 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3653 eval "$ac_cv_use_no_deps"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_NO_DEPS" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3672 # Check whether --enable-compat20 or --disable-compat20 was given.
3673 if test "${enable_compat20+set}" = set; then
3674 enableval="$enable_compat20"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=yes'
3679 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=no
'
3684 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
='$DEFAULT_WXWIN_COMPATIBILITY_2
3695 eval "$ac_cv_use_compat20"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3700 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3713 # Check whether --enable-compat22 or --disable-compat22 was given.
3714 if test "${enable_compat22+set}" = set; then
3715 enableval="$enable_compat22"
3717 if test "$enableval" = yes; then
3718 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3720 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3725 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3736 eval "$ac_cv_use_compat22"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3741 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3750 enablestring=disable
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3754 # Check whether --enable-compat24 or --disable-compat24 was given.
3755 if test "${enable_compat24+set}" = set; then
3756 enableval="$enable_compat24"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3761 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3766 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x ; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3777 eval "$ac_cv_use_compat24"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3782 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3791 # Check whether --enable-rpath or --disable-rpath was given.
3792 if test "${enable_rpath+set}" = set; then
3793 enableval="$enable_rpath"
3794 wxRPATH_DIR="$enableval"
3797 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3798 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3808 # Check whether --enable-intl or --disable-intl was given.
3809 if test "${enable_intl+set}" = set; then
3810 enableval="$enable_intl"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_intl='wxUSE_INTL
=yes'
3815 ac_cv_use_intl='wxUSE_INTL
=no
'
3820 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3831 eval "$ac_cv_use_intl"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_INTL" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3849 # Check whether --enable-config or --disable-config was given.
3850 if test "${enable_config+set}" = set; then
3851 enableval="$enable_config"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_config='wxUSE_CONFIG
=yes'
3856 ac_cv_use_config='wxUSE_CONFIG
=no
'
3861 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3872 eval "$ac_cv_use_config"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_CONFIG" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3889 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3891 # Check whether --enable-protocols or --disable-protocols was given.
3892 if test "${enable_protocols+set}" = set; then
3893 enableval="$enable_protocols"
3895 if test "$enableval" = yes; then
3896 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3898 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3903 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x ; then
3905 eval "DEFAULT_$LINE"
3910 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3914 eval "$ac_cv_use_protocols"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3919 if test "$wxUSE_PROTOCOL" = yes; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3932 # Check whether --enable-ftp or --disable-ftp was given.
3933 if test "${enable_ftp+set}" = set; then
3934 enableval="$enable_ftp"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3939 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3944 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3955 eval "$ac_cv_use_ftp"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3973 # Check whether --enable-http or --disable-http was given.
3974 if test "${enable_http+set}" = set; then
3975 enableval="$enable_http"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3980 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3985 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3996 eval "$ac_cv_use_http"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4012 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4014 # Check whether --enable-fileproto or --disable-fileproto was given.
4015 if test "${enable_fileproto+set}" = set; then
4016 enableval="$enable_fileproto"
4018 if test "$enableval" = yes; then
4019 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4021 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4026 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x ; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4037 eval "$ac_cv_use_fileproto"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4042 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4043 echo "$as_me:$LINENO: result: yes" >&5
4044 echo "${ECHO_T}yes" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4053 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4055 # Check whether --enable-sockets or --disable-sockets was given.
4056 if test "${enable_sockets+set}" = set; then
4057 enableval="$enable_sockets"
4059 if test "$enableval" = yes; then
4060 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4062 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4067 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4074 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4078 eval "$ac_cv_use_sockets"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4083 if test "$wxUSE_SOCKETS" = yes; then
4084 echo "$as_me:$LINENO: result: yes" >&5
4085 echo "${ECHO_T}yes" >&6
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4094 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4096 # Check whether --enable-ole or --disable-ole was given.
4097 if test "${enable_ole+set}" = set; then
4098 enableval="$enable_ole"
4100 if test "$enableval" = yes; then
4101 ac_cv_use_ole='wxUSE_OLE
=yes'
4103 ac_cv_use_ole='wxUSE_OLE
=no
'
4108 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4109 if test "x$LINE" != x ; then
4110 eval "DEFAULT_$LINE"
4115 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4119 eval "$ac_cv_use_ole"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_OLE" = yes; then
4125 echo "$as_me:$LINENO: result: yes" >&5
4126 echo "${ECHO_T}yes" >&6
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4135 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4137 # Check whether --enable-dataobj or --disable-dataobj was given.
4138 if test "${enable_dataobj+set}" = set; then
4139 enableval="$enable_dataobj"
4141 if test "$enableval" = yes; then
4142 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4144 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4149 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4150 if test "x$LINE" != x ; then
4151 eval "DEFAULT_$LINE"
4156 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4160 eval "$ac_cv_use_dataobj"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4165 if test "$wxUSE_DATAOBJ" = yes; then
4166 echo "$as_me:$LINENO: result: yes" >&5
4167 echo "${ECHO_T}yes" >&6
4169 echo "$as_me:$LINENO: result: no" >&5
4170 echo "${ECHO_T}no" >&6
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4179 # Check whether --enable-ipc or --disable-ipc was given.
4180 if test "${enable_ipc+set}" = set; then
4181 enableval="$enable_ipc"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_ipc='wxUSE_IPC
=yes'
4186 ac_cv_use_ipc='wxUSE_IPC
=no
'
4191 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4202 eval "$ac_cv_use_ipc"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_IPC" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4219 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4221 # Check whether --enable-cmdline or --disable-cmdline was given.
4222 if test "${enable_cmdline+set}" = set; then
4223 enableval="$enable_cmdline"
4225 if test "$enableval" = yes; then
4226 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4233 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x ; then
4235 eval "DEFAULT_$LINE"
4240 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4244 eval "$ac_cv_use_cmdline"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4260 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4262 # Check whether --enable-datetime or --disable-datetime was given.
4263 if test "${enable_datetime+set}" = set; then
4264 enableval="$enable_datetime"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4269 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4274 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4285 eval "$ac_cv_use_datetime"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_DATETIME" = yes; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4301 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4303 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4304 if test "${enable_stopwatch+set}" = set; then
4305 enableval="$enable_stopwatch"
4307 if test "$enableval" = yes; then
4308 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4310 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4315 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x ; then
4317 eval "DEFAULT_$LINE"
4322 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4326 eval "$ac_cv_use_stopwatch"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_STOPWATCH" = yes; then
4332 echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6
4335 echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6
4341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4342 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4344 # Check whether --enable-dialupman or --disable-dialupman was given.
4345 if test "${enable_dialupman+set}" = set; then
4346 enableval="$enable_dialupman"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4356 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x ; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4367 eval "$ac_cv_use_dialupman"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4372 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4373 echo "$as_me:$LINENO: result: yes" >&5
4374 echo "${ECHO_T}yes" >&6
4376 echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6
4382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4383 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4385 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4386 if test "${enable_apple_ieee+set}" = set; then
4387 enableval="$enable_apple_ieee"
4389 if test "$enableval" = yes; then
4390 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4392 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4397 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x ; then
4399 eval "DEFAULT_$LINE"
4404 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4408 eval "$ac_cv_use_apple_ieee"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4413 if test "$wxUSE_APPLE_IEEE" = yes; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4417 echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6
4423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4426 # Check whether --enable-timer or --disable-timer was given.
4427 if test "${enable_timer+set}" = set; then
4428 enableval="$enable_timer"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_timer='wxUSE_TIMER
=yes'
4433 ac_cv_use_timer='wxUSE_TIMER
=no
'
4438 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x ; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4449 eval "$ac_cv_use_timer"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4454 if test "$wxUSE_TIMER" = yes; then
4455 echo "$as_me:$LINENO: result: yes" >&5
4456 echo "${ECHO_T}yes" >&6
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4467 # Check whether --enable-wave or --disable-wave was given.
4468 if test "${enable_wave+set}" = set; then
4469 enableval="$enable_wave"
4471 if test "$enableval" = yes; then
4472 ac_cv_use_wave='wxUSE_WAVE
=yes'
4474 ac_cv_use_wave='wxUSE_WAVE
=no
'
4479 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4480 if test "x$LINE" != x ; then
4481 eval "DEFAULT_$LINE"
4486 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4490 eval "$ac_cv_use_wave"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_WAVE" = yes; then
4496 echo "$as_me:$LINENO: result: yes" >&5
4497 echo "${ECHO_T}yes" >&6
4499 echo "$as_me:$LINENO: result: no" >&5
4500 echo "${ECHO_T}no" >&6
4505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4508 # Check whether --enable-fraction or --disable-fraction was given.
4509 if test "${enable_fraction+set}" = set; then
4510 enableval="$enable_fraction"
4512 if test "$enableval" = yes; then
4513 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4515 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4520 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x ; then
4522 eval "DEFAULT_$LINE"
4527 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4531 eval "$ac_cv_use_fraction"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4536 if test "$wxUSE_FRACTION" = yes; then
4537 echo "$as_me:$LINENO: result: yes" >&5
4538 echo "${ECHO_T}yes" >&6
4540 echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6
4546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4549 # Check whether --enable-dynlib or --disable-dynlib was given.
4550 if test "${enable_dynlib+set}" = set; then
4551 enableval="$enable_dynlib"
4553 if test "$enableval" = yes; then
4554 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4556 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4561 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4568 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4572 eval "$ac_cv_use_dynlib"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4577 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4590 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4591 if test "${enable_dynamicloader+set}" = set; then
4592 enableval="$enable_dynamicloader"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4597 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4602 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4613 eval "$ac_cv_use_dynamicloader"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4629 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4631 # Check whether --enable-longlong or --disable-longlong was given.
4632 if test "${enable_longlong+set}" = set; then
4633 enableval="$enable_longlong"
4635 if test "$enableval" = yes; then
4636 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4638 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4643 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4650 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4654 eval "$ac_cv_use_longlong"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_LONGLONG" = yes; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4672 # Check whether --enable-geometry or --disable-geometry was given.
4673 if test "${enable_geometry+set}" = set; then
4674 enableval="$enable_geometry"
4676 if test "$enableval" = yes; then
4677 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4679 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4684 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4695 eval "$ac_cv_use_geometry"
4696 if test "$no_cache" != 1; then
4697 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4700 if test "$wxUSE_GEOMETRY" = yes; then
4701 echo "$as_me:$LINENO: result: yes" >&5
4702 echo "${ECHO_T}yes" >&6
4704 echo "$as_me:$LINENO: result: no" >&5
4705 echo "${ECHO_T}no" >&6
4710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4713 # Check whether --enable-log or --disable-log was given.
4714 if test "${enable_log+set}" = set; then
4715 enableval="$enable_log"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_log='wxUSE_LOG
=yes'
4720 ac_cv_use_log='wxUSE_LOG
=no
'
4725 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x ; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4736 eval "$ac_cv_use_log"
4737 if test "$no_cache" != 1; then
4738 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4741 if test "$wxUSE_LOG" = yes; then
4742 echo "$as_me:$LINENO: result: yes" >&5
4743 echo "${ECHO_T}yes" >&6
4745 echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6
4751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4754 # Check whether --enable-streams or --disable-streams was given.
4755 if test "${enable_streams+set}" = set; then
4756 enableval="$enable_streams"
4758 if test "$enableval" = yes; then
4759 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4761 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4766 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4767 if test "x$LINE" != x ; then
4768 eval "DEFAULT_$LINE"
4773 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4777 eval "$ac_cv_use_streams"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4782 if test "$wxUSE_STREAMS" = yes; then
4783 echo "$as_me:$LINENO: result: yes" >&5
4784 echo "${ECHO_T}yes" >&6
4786 echo "$as_me:$LINENO: result: no" >&5
4787 echo "${ECHO_T}no" >&6
4792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4795 # Check whether --enable-file or --disable-file was given.
4796 if test "${enable_file+set}" = set; then
4797 enableval="$enable_file"
4799 if test "$enableval" = yes; then
4800 ac_cv_use_file='wxUSE_FILE
=yes'
4802 ac_cv_use_file='wxUSE_FILE
=no
'
4807 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4808 if test "x$LINE" != x ; then
4809 eval "DEFAULT_$LINE"
4814 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4818 eval "$ac_cv_use_file"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_FILE" = yes; then
4824 echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6
4827 echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6
4833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4836 # Check whether --enable-ffile or --disable-ffile was given.
4837 if test "${enable_ffile+set}" = set; then
4838 enableval="$enable_ffile"
4840 if test "$enableval" = yes; then
4841 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4843 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4848 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4849 if test "x$LINE" != x ; then
4850 eval "DEFAULT_$LINE"
4855 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4859 eval "$ac_cv_use_ffile"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4864 if test "$wxUSE_FFILE" = yes; then
4865 echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4877 # Check whether --enable-textbuf or --disable-textbuf was given.
4878 if test "${enable_textbuf+set}" = set; then
4879 enableval="$enable_textbuf"
4881 if test "$enableval" = yes; then
4882 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4884 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4889 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x ; then
4891 eval "DEFAULT_$LINE"
4896 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4900 eval "$ac_cv_use_textbuf"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4905 if test "$wxUSE_TEXTBUFFER" = yes; then
4906 echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4918 # Check whether --enable-textfile or --disable-textfile was given.
4919 if test "${enable_textfile+set}" = set; then
4920 enableval="$enable_textfile"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4925 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4930 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x ; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4941 eval "$ac_cv_use_textfile"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4946 if test "$wxUSE_TEXTFILE" = yes; then
4947 echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4959 # Check whether --enable-fontmap or --disable-fontmap was given.
4960 if test "${enable_fontmap+set}" = set; then
4961 enableval="$enable_fontmap"
4963 if test "$enableval" = yes; then
4964 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4966 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4971 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4972 if test "x$LINE" != x ; then
4973 eval "DEFAULT_$LINE"
4978 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4982 eval "$ac_cv_use_fontmap"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_FONTMAP" = yes; then
4988 echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6
4991 echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5000 # Check whether --enable-unicode or --disable-unicode was given.
5001 if test "${enable_unicode+set}" = set; then
5002 enableval="$enable_unicode"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5007 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5012 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5023 eval "$ac_cv_use_unicode"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_UNICODE" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5041 # Check whether --enable-mslu or --disable-mslu was given.
5042 if test "${enable_mslu+set}" = set; then
5043 enableval="$enable_mslu"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5048 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5053 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x ; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5064 eval "$ac_cv_use_mslu"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5069 if test "$wxUSE_UNICODE_MSLU" = yes; then
5070 echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6
5073 echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6
5079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5082 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5083 if test "${enable_wxprintfv+set}" = set; then
5084 enableval="$enable_wxprintfv"
5086 if test "$enableval" = yes; then
5087 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5089 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5094 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5095 if test "x$LINE" != x ; then
5096 eval "DEFAULT_$LINE"
5101 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5105 eval "$ac_cv_use_wxprintfv"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5111 echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6
5114 echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6
5120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5123 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5124 if test "${enable_std_iostreams+set}" = set; then
5125 enableval="$enable_std_iostreams"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5130 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5135 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x ; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5146 eval "$ac_cv_use_std_iostreams"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5151 if test "$wxUSE_STD_IOSTREAM" = yes; then
5152 echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6
5155 echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6
5161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5164 # Check whether --enable-filesystem or --disable-filesystem was given.
5165 if test "${enable_filesystem+set}" = set; then
5166 enableval="$enable_filesystem"
5168 if test "$enableval" = yes; then
5169 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5171 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5176 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x ; then
5178 eval "DEFAULT_$LINE"
5183 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5187 eval "$ac_cv_use_filesystem"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5192 if test "$wxUSE_FILESYSTEM" = yes; then
5193 echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6
5196 echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6
5202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5205 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5206 if test "${enable_fs_inet+set}" = set; then
5207 enableval="$enable_fs_inet"
5209 if test "$enableval" = yes; then
5210 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5212 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5217 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5218 if test "x$LINE" != x ; then
5219 eval "DEFAULT_$LINE"
5224 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5228 eval "$ac_cv_use_fs_inet"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5233 if test "$wxUSE_FS_INET" = yes; then
5234 echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6
5237 echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6
5243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5246 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5247 if test "${enable_fs_zip+set}" = set; then
5248 enableval="$enable_fs_zip"
5250 if test "$enableval" = yes; then
5251 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5253 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5258 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5259 if test "x$LINE" != x ; then
5260 eval "DEFAULT_$LINE"
5265 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5269 eval "$ac_cv_use_fs_zip"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_FS_ZIP" = yes; then
5275 echo "$as_me:$LINENO: result: yes" >&5
5276 echo "${ECHO_T}yes" >&6
5278 echo "$as_me:$LINENO: result: no" >&5
5279 echo "${ECHO_T}no" >&6
5284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5285 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5287 # Check whether --enable-zipstream or --disable-zipstream was given.
5288 if test "${enable_zipstream+set}" = set; then
5289 enableval="$enable_zipstream"
5291 if test "$enableval" = yes; then
5292 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5294 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5299 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5300 if test "x$LINE" != x ; then
5301 eval "DEFAULT_$LINE"
5306 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5310 eval "$ac_cv_use_zipstream"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5315 if test "$wxUSE_ZIPSTREAM" = yes; then
5316 echo "$as_me:$LINENO: result: yes" >&5
5317 echo "${ECHO_T}yes" >&6
5319 echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5329 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5330 if test "${enable_catch_segvs+set}" = set; then
5331 enableval="$enable_catch_segvs"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5336 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5341 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5352 eval "$ac_cv_use_catch_segvs"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5370 # Check whether --enable-snglinst or --disable-snglinst was given.
5371 if test "${enable_snglinst+set}" = set; then
5372 enableval="$enable_snglinst"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5377 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5382 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5393 eval "$ac_cv_use_snglinst"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5412 # Check whether --enable-mimetype or --disable-mimetype was given.
5413 if test "${enable_mimetype+set}" = set; then
5414 enableval="$enable_mimetype"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5419 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5424 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x ; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5435 eval "$ac_cv_use_mimetype"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_MIMETYPE" = yes; then
5441 echo "$as_me:$LINENO: result: yes" >&5
5442 echo "${ECHO_T}yes" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5453 # Check whether --enable-system_options or --disable-system_options was given.
5454 if test "${enable_system_options+set}" = set; then
5455 enableval="$enable_system_options"
5457 if test "$enableval" = yes; then
5458 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5460 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5465 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5466 if test "x$LINE" != x ; then
5467 eval "DEFAULT_$LINE"
5472 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5476 eval "$ac_cv_use_system_options"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5482 echo "$as_me:$LINENO: result: yes" >&5
5483 echo "${ECHO_T}yes" >&6
5485 echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5495 # Check whether --enable-url or --disable-url was given.
5496 if test "${enable_url+set}" = set; then
5497 enableval="$enable_url"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_url='wxUSE_URL
=yes'
5502 ac_cv_use_url='wxUSE_URL
=no
'
5507 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5518 eval "$ac_cv_use_url"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5523 if test "$wxUSE_URL" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5536 # Check whether --enable-protocol or --disable-protocol was given.
5537 if test "${enable_protocol+set}" = set; then
5538 enableval="$enable_protocol"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5543 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5548 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5559 eval "$ac_cv_use_protocol"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_PROTOCOL" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5577 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5578 if test "${enable_protocol_http+set}" = set; then
5579 enableval="$enable_protocol_http"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5584 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5589 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5600 eval "$ac_cv_use_protocol_http"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5605 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5618 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5619 if test "${enable_protocol_ftp+set}" = set; then
5620 enableval="$enable_protocol_ftp"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5625 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5630 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x ; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5641 eval "$ac_cv_use_protocol_ftp"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5646 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5659 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5660 if test "${enable_protocol_file+set}" = set; then
5661 enableval="$enable_protocol_file"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5666 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5671 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5682 eval "$ac_cv_use_protocol_file"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5687 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5703 # Check whether --enable-threads or --disable-threads was given.
5704 if test "${enable_threads+set}" = set; then
5705 enableval="$enable_threads"
5707 if test "$enableval" = yes; then
5708 ac_cv_use_threads='wxUSE_THREADS
=yes'
5710 ac_cv_use_threads='wxUSE_THREADS
=no
'
5715 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x ; then
5717 eval "DEFAULT_$LINE"
5722 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5726 eval "$ac_cv_use_threads"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5731 if test "$wxUSE_THREADS" = yes; then
5732 echo "$as_me:$LINENO: result: yes" >&5
5733 echo "${ECHO_T}yes" >&6
5735 echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6
5740 if test "$wxUSE_GUI" = "yes"; then
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5748 # Check whether --enable-docview or --disable-docview was given.
5749 if test "${enable_docview+set}" = set; then
5750 enableval="$enable_docview"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5755 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5760 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5771 eval "$ac_cv_use_docview"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5789 # Check whether --enable-help or --disable-help was given.
5790 if test "${enable_help+set}" = set; then
5791 enableval="$enable_help"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_help='wxUSE_HELP
=yes'
5796 ac_cv_use_help='wxUSE_HELP
=no
'
5801 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5812 eval "$ac_cv_use_help"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_HELP" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5830 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5831 if test "${enable_mshtmlhelp+set}" = set; then
5832 enableval="$enable_mshtmlhelp"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5837 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5842 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5853 eval "$ac_cv_use_mshtmlhelp"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_MS_HTML_HELP" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5871 # Check whether --enable-html or --disable-html was given.
5872 if test "${enable_html+set}" = set; then
5873 enableval="$enable_html"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_html='wxUSE_HTML
=yes'
5878 ac_cv_use_html='wxUSE_HTML
=no
'
5883 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5894 eval "$ac_cv_use_html"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_HTML" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5912 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5913 if test "${enable_htmlhelp+set}" = set; then
5914 enableval="$enable_htmlhelp"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5919 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5924 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5935 eval "$ac_cv_use_htmlhelp"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_WXHTML_HELP" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5953 # Check whether --enable-constraints or --disable-constraints was given.
5954 if test "${enable_constraints+set}" = set; then
5955 enableval="$enable_constraints"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5960 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5965 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5976 eval "$ac_cv_use_constraints"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_CONSTRAINTS" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5994 # Check whether --enable-printarch or --disable-printarch was given.
5995 if test "${enable_printarch+set}" = set; then
5996 enableval="$enable_printarch"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6001 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6006 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6017 eval "$ac_cv_use_printarch"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6035 # Check whether --enable-mdi or --disable-mdi was given.
6036 if test "${enable_mdi+set}" = set; then
6037 enableval="$enable_mdi"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6042 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6047 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6058 eval "$ac_cv_use_mdi"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6076 # Check whether --enable-loggui or --disable-loggui was given.
6077 if test "${enable_loggui+set}" = set; then
6078 enableval="$enable_loggui"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6083 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6088 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6099 eval "$ac_cv_use_loggui"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_LOGGUI" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6117 # Check whether --enable-logwin or --disable-logwin was given.
6118 if test "${enable_logwin+set}" = set; then
6119 enableval="$enable_logwin"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6124 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6129 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6140 eval "$ac_cv_use_logwin"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_LOGWINDOW" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6158 # Check whether --enable-logdialog or --disable-logdialog was given.
6159 if test "${enable_logdialog+set}" = set; then
6160 enableval="$enable_logdialog"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6165 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6170 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6181 eval "$ac_cv_use_logdialog"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_LOGDIALOG" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6200 # Check whether --enable-postscript or --disable-postscript was given.
6201 if test "${enable_postscript+set}" = set; then
6202 enableval="$enable_postscript"
6204 if test "$enableval" = yes; then
6205 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6207 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6212 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6223 eval "$ac_cv_use_postscript"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6228 if test "$wxUSE_POSTSCRIPT" = yes; then
6229 echo "$as_me:$LINENO: result: yes" >&5
6230 echo "${ECHO_T}yes" >&6
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6244 # Check whether --enable-prologio or --disable-prologio was given.
6245 if test "${enable_prologio+set}" = set; then
6246 enableval="$enable_prologio"
6248 if test "$enableval" = yes; then
6249 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6251 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6256 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6267 eval "$ac_cv_use_prologio"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_PROLOGIO" = yes; then
6273 echo "$as_me:$LINENO: result: yes" >&5
6274 echo "${ECHO_T}yes" >&6
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6285 # Check whether --enable-resources or --disable-resources was given.
6286 if test "${enable_resources+set}" = set; then
6287 enableval="$enable_resources"
6289 if test "$enableval" = yes; then
6290 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6292 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6297 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6304 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6308 eval "$ac_cv_use_resources"
6309 if test "$no_cache" != 1; then
6310 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6313 if test "$wxUSE_RESOURCES" = yes; then
6314 echo "$as_me:$LINENO: result: yes" >&5
6315 echo "${ECHO_T}yes" >&6
6317 echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6
6325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6328 # Check whether --enable-clipboard or --disable-clipboard was given.
6329 if test "${enable_clipboard+set}" = set; then
6330 enableval="$enable_clipboard"
6332 if test "$enableval" = yes; then
6333 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6335 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6340 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x ; then
6342 eval "DEFAULT_$LINE"
6347 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6351 eval "$ac_cv_use_clipboard"
6352 if test "$no_cache" != 1; then
6353 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6356 if test "$wxUSE_CLIPBOARD" = yes; then
6357 echo "$as_me:$LINENO: result: yes" >&5
6358 echo "${ECHO_T}yes" >&6
6360 echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6
6366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6369 # Check whether --enable-dnd or --disable-dnd was given.
6370 if test "${enable_dnd+set}" = set; then
6371 enableval="$enable_dnd"
6373 if test "$enableval" = yes; then
6374 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6376 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6381 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6382 if test "x$LINE" != x ; then
6383 eval "DEFAULT_$LINE"
6388 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6392 eval "$ac_cv_use_dnd"
6393 if test "$no_cache" != 1; then
6394 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6397 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6398 echo "$as_me:$LINENO: result: yes" >&5
6399 echo "${ECHO_T}yes" >&6
6401 echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6
6407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6410 # Check whether --enable-metafile or --disable-metafile was given.
6411 if test "${enable_metafile+set}" = set; then
6412 enableval="$enable_metafile"
6414 if test "$enableval" = yes; then
6415 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6417 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6422 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6423 if test "x$LINE" != x ; then
6424 eval "DEFAULT_$LINE"
6429 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6433 eval "$ac_cv_use_metafile"
6434 if test "$no_cache" != 1; then
6435 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6438 if test "$wxUSE_METAFILE" = yes; then
6439 echo "$as_me:$LINENO: result: yes" >&5
6440 echo "${ECHO_T}yes" >&6
6442 echo "$as_me:$LINENO: result: no" >&5
6443 echo "${ECHO_T}no" >&6
6451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6454 # Check whether --enable-controls or --disable-controls was given.
6455 if test "${enable_controls+set}" = set; then
6456 enableval="$enable_controls"
6458 if test "$enableval" = yes; then
6459 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6461 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6466 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x ; then
6468 eval "DEFAULT_$LINE"
6473 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6477 eval "$ac_cv_use_controls"
6478 if test "$no_cache" != 1; then
6479 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6482 if test "$wxUSE_CONTROLS" = yes; then
6483 echo "$as_me:$LINENO: result: yes" >&5
6484 echo "${ECHO_T}yes" >&6
6486 echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6
6491 if test "$wxUSE_CONTROLS" = "yes"; then
6492 DEFAULT_wxUSE_ACCEL=yes
6493 DEFAULT_wxUSE_BMPBUTTON=yes
6494 DEFAULT_wxUSE_BUTTON=yes
6495 DEFAULT_wxUSE_CALCTRL=no
6496 DEFAULT_wxUSE_CARET=yes
6497 DEFAULT_wxUSE_COMBOBOX=yes
6498 DEFAULT_wxUSE_CHECKBOX=yes
6499 DEFAULT_wxUSE_CHECKLISTBOX=yes
6500 DEFAULT_wxUSE_CHOICE=yes
6501 DEFAULT_wxUSE_GAUGE=yes
6502 DEFAULT_wxUSE_GRID=yes
6503 DEFAULT_wxUSE_IMAGLIST=yes
6504 DEFAULT_wxUSE_LISTBOX=yes
6505 DEFAULT_wxUSE_LISTCTRL=yes
6506 DEFAULT_wxUSE_NOTEBOOK=yes
6507 DEFAULT_wxUSE_RADIOBOX=yes
6508 DEFAULT_wxUSE_RADIOBTN=yes
6509 DEFAULT_wxUSE_SASH=yes
6510 DEFAULT_wxUSE_SCROLLBAR=yes
6511 DEFAULT_wxUSE_SLIDER=yes
6512 DEFAULT_wxUSE_SPINBTN=yes
6513 DEFAULT_wxUSE_SPINCTRL=yes
6514 DEFAULT_wxUSE_SPLITTER=yes
6515 DEFAULT_wxUSE_STATBMP=yes
6516 DEFAULT_wxUSE_STATBOX=yes
6517 DEFAULT_wxUSE_STATLINE=yes
6518 DEFAULT_wxUSE_STATUSBAR=yes
6519 DEFAULT_wxUSE_TAB_DIALOG=yes
6520 DEFAULT_wxUSE_TOGGLEBTN=yes
6521 DEFAULT_wxUSE_TOOLBAR=yes
6522 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6523 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6524 DEFAULT_wxUSE_TOOLTIPS=yes
6525 DEFAULT_wxUSE_TREECTRL=yes
6526 DEFAULT_wxUSE_POPUPWIN=yes
6527 DEFAULT_wxUSE_TIPWINDOW=yes
6528 elif test "$wxUSE_CONTROLS" = "no"; then
6529 DEFAULT_wxUSE_ACCEL=no
6530 DEFAULT_wxUSE_BMPBUTTON=no
6531 DEFAULT_wxUSE_BUTTON=no
6532 DEFAULT_wxUSE_CALCTRL=no
6533 DEFAULT_wxUSE_CARET=no
6534 DEFAULT_wxUSE_COMBOBOX=no
6535 DEFAULT_wxUSE_CHECKBOX=no
6536 DEFAULT_wxUSE_CHECKLISTBOX=no
6537 DEFAULT_wxUSE_CHOICE=no
6538 DEFAULT_wxUSE_GAUGE=no
6539 DEFAULT_wxUSE_GRID=no
6540 DEFAULT_wxUSE_IMAGLIST=no
6541 DEFAULT_wxUSE_LISTBOX=no
6542 DEFAULT_wxUSE_LISTCTRL=no
6543 DEFAULT_wxUSE_NOTEBOOK=no
6544 DEFAULT_wxUSE_RADIOBOX=no
6545 DEFAULT_wxUSE_RADIOBTN=no
6546 DEFAULT_wxUSE_SASH=no
6547 DEFAULT_wxUSE_SCROLLBAR=no
6548 DEFAULT_wxUSE_SLIDER=no
6549 DEFAULT_wxUSE_SPINBTN=no
6550 DEFAULT_wxUSE_SPINCTRL=no
6551 DEFAULT_wxUSE_SPLITTER=no
6552 DEFAULT_wxUSE_STATBMP=no
6553 DEFAULT_wxUSE_STATBOX=no
6554 DEFAULT_wxUSE_STATLINE=no
6555 DEFAULT_wxUSE_STATUSBAR=no
6556 DEFAULT_wxUSE_TAB_DIALOG=no
6557 DEFAULT_wxUSE_TOGGLEBTN=no
6558 DEFAULT_wxUSE_TOOLBAR=no
6559 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6560 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6561 DEFAULT_wxUSE_TOOLTIPS=no
6562 DEFAULT_wxUSE_TREECTRL=no
6563 DEFAULT_wxUSE_POPUPWIN=no
6564 DEFAULT_wxUSE_TIPWINDOW=no
6567 ## FIXME: This is a blatant hack
6568 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6569 wxUSE_PRINTING_ARCHITECTURE=no
6570 wxUSE_DRAG_AND_DROP=no
6571 # Generic notebook requires tab dialog
6572 DEFAULT_wxUSE_TABDIALOG=yes
6573 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6574 DEFAULT_wxUSE_SCROLLBAR=no
6575 DEFAULT_wxUSE_TOOLTIPS=no
6576 DEFAULT_wxUSE_DRAGIMAGE=no
6581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6582 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6584 # Check whether --enable-accel or --disable-accel was given.
6585 if test "${enable_accel+set}" = set; then
6586 enableval="$enable_accel"
6588 if test "$enableval" = yes; then
6589 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6591 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6596 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6597 if test "x$LINE" != x ; then
6598 eval "DEFAULT_$LINE"
6603 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6607 eval "$ac_cv_use_accel"
6608 if test "$no_cache" != 1; then
6609 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6612 if test "$wxUSE_ACCEL" = yes; then
6613 echo "$as_me:$LINENO: result: yes" >&5
6614 echo "${ECHO_T}yes" >&6
6616 echo "$as_me:$LINENO: result: no" >&5
6617 echo "${ECHO_T}no" >&6
6622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6625 # Check whether --enable-button or --disable-button was given.
6626 if test "${enable_button+set}" = set; then
6627 enableval="$enable_button"
6629 if test "$enableval" = yes; then
6630 ac_cv_use_button='wxUSE_BUTTON
=yes'
6632 ac_cv_use_button='wxUSE_BUTTON
=no
'
6637 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6638 if test "x$LINE" != x ; then
6639 eval "DEFAULT_$LINE"
6644 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6648 eval "$ac_cv_use_button"
6649 if test "$no_cache" != 1; then
6650 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6653 if test "$wxUSE_BUTTON" = yes; then
6654 echo "$as_me:$LINENO: result: yes" >&5
6655 echo "${ECHO_T}yes" >&6
6657 echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6
6663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6666 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6667 if test "${enable_bmpbutton+set}" = set; then
6668 enableval="$enable_bmpbutton"
6670 if test "$enableval" = yes; then
6671 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6673 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6678 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6685 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6689 eval "$ac_cv_use_bmpbutton"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6694 if test "$wxUSE_BMPBUTTON" = yes; then
6695 echo "$as_me:$LINENO: result: yes" >&5
6696 echo "${ECHO_T}yes" >&6
6698 echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6
6704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6705 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6707 # Check whether --enable-calendar or --disable-calendar was given.
6708 if test "${enable_calendar+set}" = set; then
6709 enableval="$enable_calendar"
6711 if test "$enableval" = yes; then
6712 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6714 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6719 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x ; then
6721 eval "DEFAULT_$LINE"
6726 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6730 eval "$ac_cv_use_calendar"
6731 if test "$no_cache" != 1; then
6732 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6735 if test "$wxUSE_CALCTRL" = yes; then
6736 echo "$as_me:$LINENO: result: yes" >&5
6737 echo "${ECHO_T}yes" >&6
6739 echo "$as_me:$LINENO: result: no" >&5
6740 echo "${ECHO_T}no" >&6
6745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6746 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6748 # Check whether --enable-caret or --disable-caret was given.
6749 if test "${enable_caret+set}" = set; then
6750 enableval="$enable_caret"
6752 if test "$enableval" = yes; then
6753 ac_cv_use_caret='wxUSE_CARET
=yes'
6755 ac_cv_use_caret='wxUSE_CARET
=no
'
6760 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x ; then
6762 eval "DEFAULT_$LINE"
6767 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6771 eval "$ac_cv_use_caret"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_CARET" = yes; then
6777 echo "$as_me:$LINENO: result: yes" >&5
6778 echo "${ECHO_T}yes" >&6
6780 echo "$as_me:$LINENO: result: no" >&5
6781 echo "${ECHO_T}no" >&6
6786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6789 # Check whether --enable-checkbox or --disable-checkbox was given.
6790 if test "${enable_checkbox+set}" = set; then
6791 enableval="$enable_checkbox"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6796 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6801 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x ; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6812 eval "$ac_cv_use_checkbox"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_CHECKBOX" = yes; then
6818 echo "$as_me:$LINENO: result: yes" >&5
6819 echo "${ECHO_T}yes" >&6
6821 echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6
6827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6830 # Check whether --enable-checklst or --disable-checklst was given.
6831 if test "${enable_checklst+set}" = set; then
6832 enableval="$enable_checklst"
6834 if test "$enableval" = yes; then
6835 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6837 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6842 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x ; then
6844 eval "DEFAULT_$LINE"
6849 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6853 eval "$ac_cv_use_checklst"
6854 if test "$no_cache" != 1; then
6855 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6858 if test "$wxUSE_CHECKLST" = yes; then
6859 echo "$as_me:$LINENO: result: yes" >&5
6860 echo "${ECHO_T}yes" >&6
6862 echo "$as_me:$LINENO: result: no" >&5
6863 echo "${ECHO_T}no" >&6
6868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6871 # Check whether --enable-choice or --disable-choice was given.
6872 if test "${enable_choice+set}" = set; then
6873 enableval="$enable_choice"
6875 if test "$enableval" = yes; then
6876 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6878 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6883 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6884 if test "x$LINE" != x ; then
6885 eval "DEFAULT_$LINE"
6890 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6894 eval "$ac_cv_use_choice"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6899 if test "$wxUSE_CHOICE" = yes; then
6900 echo "$as_me:$LINENO: result: yes" >&5
6901 echo "${ECHO_T}yes" >&6
6903 echo "$as_me:$LINENO: result: no" >&5
6904 echo "${ECHO_T}no" >&6
6909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6912 # Check whether --enable-combobox or --disable-combobox was given.
6913 if test "${enable_combobox+set}" = set; then
6914 enableval="$enable_combobox"
6916 if test "$enableval" = yes; then
6917 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6919 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6924 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6931 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6935 eval "$ac_cv_use_combobox"
6936 if test "$no_cache" != 1; then
6937 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6940 if test "$wxUSE_COMBOBOX" = yes; then
6941 echo "$as_me:$LINENO: result: yes" >&5
6942 echo "${ECHO_T}yes" >&6
6944 echo "$as_me:$LINENO: result: no" >&5
6945 echo "${ECHO_T}no" >&6
6950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6953 # Check whether --enable-display or --disable-display was given.
6954 if test "${enable_display+set}" = set; then
6955 enableval="$enable_display"
6957 if test "$enableval" = yes; then
6958 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6960 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6965 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6966 if test "x$LINE" != x ; then
6967 eval "DEFAULT_$LINE"
6972 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6976 eval "$ac_cv_use_display"
6977 if test "$no_cache" != 1; then
6978 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6981 if test "$wxUSE_DISPLAY" = yes; then
6982 echo "$as_me:$LINENO: result: yes" >&5
6983 echo "${ECHO_T}yes" >&6
6985 echo "$as_me:$LINENO: result: no" >&5
6986 echo "${ECHO_T}no" >&6
6991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6994 # Check whether --enable-gauge or --disable-gauge was given.
6995 if test "${enable_gauge+set}" = set; then
6996 enableval="$enable_gauge"
6998 if test "$enableval" = yes; then
6999 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7001 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7006 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7007 if test "x$LINE" != x ; then
7008 eval "DEFAULT_$LINE"
7013 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7017 eval "$ac_cv_use_gauge"
7018 if test "$no_cache" != 1; then
7019 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7022 if test "$wxUSE_GAUGE" = yes; then
7023 echo "$as_me:$LINENO: result: yes" >&5
7024 echo "${ECHO_T}yes" >&6
7026 echo "$as_me:$LINENO: result: no" >&5
7027 echo "${ECHO_T}no" >&6
7032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7035 # Check whether --enable-grid or --disable-grid was given.
7036 if test "${enable_grid+set}" = set; then
7037 enableval="$enable_grid"
7039 if test "$enableval" = yes; then
7040 ac_cv_use_grid='wxUSE_GRID
=yes'
7042 ac_cv_use_grid='wxUSE_GRID
=no
'
7047 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x ; then
7049 eval "DEFAULT_$LINE"
7054 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7058 eval "$ac_cv_use_grid"
7059 if test "$no_cache" != 1; then
7060 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7063 if test "$wxUSE_GRID" = yes; then
7064 echo "$as_me:$LINENO: result: yes" >&5
7065 echo "${ECHO_T}yes" >&6
7067 echo "$as_me:$LINENO: result: no" >&5
7068 echo "${ECHO_T}no" >&6
7073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7074 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7076 # Check whether --enable-imaglist or --disable-imaglist was given.
7077 if test "${enable_imaglist+set}" = set; then
7078 enableval="$enable_imaglist"
7080 if test "$enableval" = yes; then
7081 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7083 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7088 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7089 if test "x$LINE" != x ; then
7090 eval "DEFAULT_$LINE"
7095 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7099 eval "$ac_cv_use_imaglist"
7100 if test "$no_cache" != 1; then
7101 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7104 if test "$wxUSE_IMAGLIST" = yes; then
7105 echo "$as_me:$LINENO: result: yes" >&5
7106 echo "${ECHO_T}yes" >&6
7108 echo "$as_me:$LINENO: result: no" >&5
7109 echo "${ECHO_T}no" >&6
7114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7117 # Check whether --enable-listbox or --disable-listbox was given.
7118 if test "${enable_listbox+set}" = set; then
7119 enableval="$enable_listbox"
7121 if test "$enableval" = yes; then
7122 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7124 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7129 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x ; then
7131 eval "DEFAULT_$LINE"
7136 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7140 eval "$ac_cv_use_listbox"
7141 if test "$no_cache" != 1; then
7142 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7145 if test "$wxUSE_LISTBOX" = yes; then
7146 echo "$as_me:$LINENO: result: yes" >&5
7147 echo "${ECHO_T}yes" >&6
7149 echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6
7155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7158 # Check whether --enable-listctrl or --disable-listctrl was given.
7159 if test "${enable_listctrl+set}" = set; then
7160 enableval="$enable_listctrl"
7162 if test "$enableval" = yes; then
7163 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7165 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7170 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x ; then
7172 eval "DEFAULT_$LINE"
7177 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7181 eval "$ac_cv_use_listctrl"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7186 if test "$wxUSE_LISTCTRL" = yes; then
7187 echo "$as_me:$LINENO: result: yes" >&5
7188 echo "${ECHO_T}yes" >&6
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7199 # Check whether --enable-notebook or --disable-notebook was given.
7200 if test "${enable_notebook+set}" = set; then
7201 enableval="$enable_notebook"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7206 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7211 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7222 eval "$ac_cv_use_notebook"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_NOTEBOOK" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7240 # Check whether --enable-radiobox or --disable-radiobox was given.
7241 if test "${enable_radiobox+set}" = set; then
7242 enableval="$enable_radiobox"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7247 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7252 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7263 eval "$ac_cv_use_radiobox"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_RADIOBOX" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7279 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7281 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7282 if test "${enable_radiobtn+set}" = set; then
7283 enableval="$enable_radiobtn"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7288 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7293 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x ; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7304 eval "$ac_cv_use_radiobtn"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7309 if test "$wxUSE_RADIOBTN" = yes; then
7310 echo "$as_me:$LINENO: result: yes" >&5
7311 echo "${ECHO_T}yes" >&6
7313 echo "$as_me:$LINENO: result: no" >&5
7314 echo "${ECHO_T}no" >&6
7319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7320 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7322 # Check whether --enable-sash or --disable-sash was given.
7323 if test "${enable_sash+set}" = set; then
7324 enableval="$enable_sash"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_sash='wxUSE_SASH
=yes'
7329 ac_cv_use_sash='wxUSE_SASH
=no
'
7334 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x ; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7345 eval "$ac_cv_use_sash"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7350 if test "$wxUSE_SASH" = yes; then
7351 echo "$as_me:$LINENO: result: yes" >&5
7352 echo "${ECHO_T}yes" >&6
7354 echo "$as_me:$LINENO: result: no" >&5
7355 echo "${ECHO_T}no" >&6
7360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7361 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7363 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7364 if test "${enable_scrollbar+set}" = set; then
7365 enableval="$enable_scrollbar"
7367 if test "$enableval" = yes; then
7368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7370 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7375 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7382 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7386 eval "$ac_cv_use_scrollbar"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_SCROLLBAR" = yes; then
7392 echo "$as_me:$LINENO: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7395 echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7404 # Check whether --enable-slider or --disable-slider was given.
7405 if test "${enable_slider+set}" = set; then
7406 enableval="$enable_slider"
7408 if test "$enableval" = yes; then
7409 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7411 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7416 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x ; then
7418 eval "DEFAULT_$LINE"
7423 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7427 eval "$ac_cv_use_slider"
7428 if test "$no_cache" != 1; then
7429 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7432 if test "$wxUSE_SLIDER" = yes; then
7433 echo "$as_me:$LINENO: result: yes" >&5
7434 echo "${ECHO_T}yes" >&6
7436 echo "$as_me:$LINENO: result: no" >&5
7437 echo "${ECHO_T}no" >&6
7442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7445 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7446 if test "${enable_spinbtn+set}" = set; then
7447 enableval="$enable_spinbtn"
7449 if test "$enableval" = yes; then
7450 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7452 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7457 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x ; then
7459 eval "DEFAULT_$LINE"
7464 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7468 eval "$ac_cv_use_spinbtn"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7473 if test "$wxUSE_SPINBTN" = yes; then
7474 echo "$as_me:$LINENO: result: yes" >&5
7475 echo "${ECHO_T}yes" >&6
7477 echo "$as_me:$LINENO: result: no" >&5
7478 echo "${ECHO_T}no" >&6
7483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7486 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7487 if test "${enable_spinctrl+set}" = set; then
7488 enableval="$enable_spinctrl"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7493 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7498 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x ; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7509 eval "$ac_cv_use_spinctrl"
7510 if test "$no_cache" != 1; then
7511 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7514 if test "$wxUSE_SPINCTRL" = yes; then
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7527 # Check whether --enable-splitter or --disable-splitter was given.
7528 if test "${enable_splitter+set}" = set; then
7529 enableval="$enable_splitter"
7531 if test "$enableval" = yes; then
7532 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7534 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7539 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x ; then
7541 eval "DEFAULT_$LINE"
7546 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7550 eval "$ac_cv_use_splitter"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_SPLITTER" = yes; then
7556 echo "$as_me:$LINENO: result: yes" >&5
7557 echo "${ECHO_T}yes" >&6
7559 echo "$as_me:$LINENO: result: no" >&5
7560 echo "${ECHO_T}no" >&6
7565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7568 # Check whether --enable-statbmp or --disable-statbmp was given.
7569 if test "${enable_statbmp+set}" = set; then
7570 enableval="$enable_statbmp"
7572 if test "$enableval" = yes; then
7573 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7575 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7580 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x ; then
7582 eval "DEFAULT_$LINE"
7587 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7591 eval "$ac_cv_use_statbmp"
7592 if test "$no_cache" != 1; then
7593 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7596 if test "$wxUSE_STATBMP" = yes; then
7597 echo "$as_me:$LINENO: result: yes" >&5
7598 echo "${ECHO_T}yes" >&6
7600 echo "$as_me:$LINENO: result: no" >&5
7601 echo "${ECHO_T}no" >&6
7606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7607 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7609 # Check whether --enable-statbox or --disable-statbox was given.
7610 if test "${enable_statbox+set}" = set; then
7611 enableval="$enable_statbox"
7613 if test "$enableval" = yes; then
7614 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7616 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7621 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x ; then
7623 eval "DEFAULT_$LINE"
7628 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7632 eval "$ac_cv_use_statbox"
7633 if test "$no_cache" != 1; then
7634 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7637 if test "$wxUSE_STATBOX" = yes; then
7638 echo "$as_me:$LINENO: result: yes" >&5
7639 echo "${ECHO_T}yes" >&6
7641 echo "$as_me:$LINENO: result: no" >&5
7642 echo "${ECHO_T}no" >&6
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7650 # Check whether --enable-statline or --disable-statline was given.
7651 if test "${enable_statline+set}" = set; then
7652 enableval="$enable_statline"
7654 if test "$enableval" = yes; then
7655 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7657 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7662 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7669 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7673 eval "$ac_cv_use_statline"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_STATLINE" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7691 # Check whether --enable-stattext or --disable-stattext was given.
7692 if test "${enable_stattext+set}" = set; then
7693 enableval="$enable_stattext"
7695 if test "$enableval" = yes; then
7696 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7698 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7703 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x ; then
7705 eval "DEFAULT_$LINE"
7710 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7714 eval "$ac_cv_use_stattext"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7719 if test "$wxUSE_STATTEXT" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7732 # Check whether --enable-statusbar or --disable-statusbar was given.
7733 if test "${enable_statusbar+set}" = set; then
7734 enableval="$enable_statusbar"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7739 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7744 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x ; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7755 eval "$ac_cv_use_statusbar"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7760 if test "$wxUSE_STATUSBAR" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7773 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7774 if test "${enable_tabdialog+set}" = set; then
7775 enableval="$enable_tabdialog"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7780 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7785 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7796 eval "$ac_cv_use_tabdialog"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7801 if test "$wxUSE_TABDIALOG" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7814 # Check whether --enable-textctrl or --disable-textctrl was given.
7815 if test "${enable_textctrl+set}" = set; then
7816 enableval="$enable_textctrl"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7821 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7826 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7837 eval "$ac_cv_use_textctrl"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7842 if test "$wxUSE_TEXTCTRL" = yes; then
7843 echo "$as_me:$LINENO: result: yes" >&5
7844 echo "${ECHO_T}yes" >&6
7846 echo "$as_me:$LINENO: result: no" >&5
7847 echo "${ECHO_T}no" >&6
7852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7855 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7856 if test "${enable_togglebtn+set}" = set; then
7857 enableval="$enable_togglebtn"
7859 if test "$enableval" = yes; then
7860 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7862 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7867 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7874 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7878 eval "$ac_cv_use_togglebtn"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_TOGGLEBTN" = yes; then
7884 echo "$as_me:$LINENO: result: yes" >&5
7885 echo "${ECHO_T}yes" >&6
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7894 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7896 # Check whether --enable-toolbar or --disable-toolbar was given.
7897 if test "${enable_toolbar+set}" = set; then
7898 enableval="$enable_toolbar"
7900 if test "$enableval" = yes; then
7901 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7903 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7908 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7909 if test "x$LINE" != x ; then
7910 eval "DEFAULT_$LINE"
7915 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7919 eval "$ac_cv_use_toolbar"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7924 if test "$wxUSE_TOOLBAR" = yes; then
7925 echo "$as_me:$LINENO: result: yes" >&5
7926 echo "${ECHO_T}yes" >&6
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7935 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7937 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7938 if test "${enable_tbarnative+set}" = set; then
7939 enableval="$enable_tbarnative"
7941 if test "$enableval" = yes; then
7942 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7944 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7949 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7950 if test "x$LINE" != x ; then
7951 eval "DEFAULT_$LINE"
7956 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7960 eval "$ac_cv_use_tbarnative"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7965 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7966 echo "$as_me:$LINENO: result: yes" >&5
7967 echo "${ECHO_T}yes" >&6
7969 echo "$as_me:$LINENO: result: no" >&5
7970 echo "${ECHO_T}no" >&6
7975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7978 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7979 if test "${enable_tbarsmpl+set}" = set; then
7980 enableval="$enable_tbarsmpl"
7982 if test "$enableval" = yes; then
7983 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7985 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7990 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x ; then
7992 eval "DEFAULT_$LINE"
7997 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8001 eval "$ac_cv_use_tbarsmpl"
8002 if test "$no_cache" != 1; then
8003 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8006 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8019 # Check whether --enable-treectrl or --disable-treectrl was given.
8020 if test "${enable_treectrl+set}" = set; then
8021 enableval="$enable_treectrl"
8023 if test "$enableval" = yes; then
8024 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8026 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8031 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8038 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8042 eval "$ac_cv_use_treectrl"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8047 if test "$wxUSE_TREECTRL" = yes; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8051 echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8060 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8061 if test "${enable_tipwindow+set}" = set; then
8062 enableval="$enable_tipwindow"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8067 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8072 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x ; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8083 eval "$ac_cv_use_tipwindow"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8088 if test "$wxUSE_TIPWINDOW" = yes; then
8089 echo "$as_me:$LINENO: result: yes" >&5
8090 echo "${ECHO_T}yes" >&6
8092 echo "$as_me:$LINENO: result: no" >&5
8093 echo "${ECHO_T}no" >&6
8098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8101 # Check whether --enable-popupwin or --disable-popupwin was given.
8102 if test "${enable_popupwin+set}" = set; then
8103 enableval="$enable_popupwin"
8105 if test "$enableval" = yes; then
8106 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8108 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8113 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x ; then
8115 eval "DEFAULT_$LINE"
8120 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8124 eval "$ac_cv_use_popupwin"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_POPUPWIN" = yes; then
8130 echo "$as_me:$LINENO: result: yes" >&5
8131 echo "${ECHO_T}yes" >&6
8133 echo "$as_me:$LINENO: result: no" >&5
8134 echo "${ECHO_T}no" >&6
8141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8144 # Check whether --enable-commondlg or --disable-commondlg was given.
8145 if test "${enable_commondlg+set}" = set; then
8146 enableval="$enable_commondlg"
8148 if test "$enableval" = yes; then
8149 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8151 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8156 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8163 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8167 eval "$ac_cv_use_commondlg"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8172 if test "$wxUSE_COMMONDLGS" = yes; then
8173 echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6
8176 echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6
8182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8185 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8186 if test "${enable_choicedlg+set}" = set; then
8187 enableval="$enable_choicedlg"
8189 if test "$enableval" = yes; then
8190 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8192 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8197 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8204 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8208 eval "$ac_cv_use_choicedlg"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8213 if test "$wxUSE_CHOICEDLG" = yes; then
8214 echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6
8217 echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8226 # Check whether --enable-coldlg or --disable-coldlg was given.
8227 if test "${enable_coldlg+set}" = set; then
8228 enableval="$enable_coldlg"
8230 if test "$enableval" = yes; then
8231 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8233 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8238 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x ; then
8240 eval "DEFAULT_$LINE"
8245 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8249 eval "$ac_cv_use_coldlg"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8254 if test "$wxUSE_COLOURDLG" = yes; then
8255 echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6
8258 echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8267 # Check whether --enable-filedlg or --disable-filedlg was given.
8268 if test "${enable_filedlg+set}" = set; then
8269 enableval="$enable_filedlg"
8271 if test "$enableval" = yes; then
8272 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8274 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8279 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8286 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8290 eval "$ac_cv_use_filedlg"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8295 if test "$wxUSE_FILEDLG" = yes; then
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8308 # Check whether --enable-finddlg or --disable-finddlg was given.
8309 if test "${enable_finddlg+set}" = set; then
8310 enableval="$enable_finddlg"
8312 if test "$enableval" = yes; then
8313 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8315 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8320 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8327 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8331 eval "$ac_cv_use_finddlg"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8336 if test "$wxUSE_FINDREPLDLG" = yes; then
8337 echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6
8340 echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8349 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8350 if test "${enable_fontdlg+set}" = set; then
8351 enableval="$enable_fontdlg"
8353 if test "$enableval" = yes; then
8354 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8356 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8361 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8372 eval "$ac_cv_use_fontdlg"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8377 if test "$wxUSE_FONTDLG" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8390 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8391 if test "${enable_dirdlg+set}" = set; then
8392 enableval="$enable_dirdlg"
8394 if test "$enableval" = yes; then
8395 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8397 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8402 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8413 eval "$ac_cv_use_dirdlg"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8418 if test "$wxUSE_DIRDLG" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8431 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8432 if test "${enable_msgdlg+set}" = set; then
8433 enableval="$enable_msgdlg"
8435 if test "$enableval" = yes; then
8436 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8438 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8443 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8450 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8454 eval "$ac_cv_use_msgdlg"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8459 if test "$wxUSE_MSGDLG" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8472 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8473 if test "${enable_numberdlg+set}" = set; then
8474 enableval="$enable_numberdlg"
8476 if test "$enableval" = yes; then
8477 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8479 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8484 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x ; then
8486 eval "DEFAULT_$LINE"
8491 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8495 eval "$ac_cv_use_numberdlg"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8500 if test "$wxUSE_NUMBERDLG" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8513 # Check whether --enable-splash or --disable-splash was given.
8514 if test "${enable_splash+set}" = set; then
8515 enableval="$enable_splash"
8517 if test "$enableval" = yes; then
8518 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8520 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8525 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8536 eval "$ac_cv_use_splash"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8541 if test "$wxUSE_SPLASH" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8554 # Check whether --enable-textdlg or --disable-textdlg was given.
8555 if test "${enable_textdlg+set}" = set; then
8556 enableval="$enable_textdlg"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8561 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8566 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8577 eval "$ac_cv_use_textdlg"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8582 if test "$wxUSE_TEXTDLG" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8595 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8596 if test "${enable_tipdlg+set}" = set; then
8597 enableval="$enable_tipdlg"
8599 if test "$enableval" = yes; then
8600 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8602 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8607 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8618 eval "$ac_cv_use_tipdlg"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_STARTUP_TIPS" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8636 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8637 if test "${enable_progressdlg+set}" = set; then
8638 enableval="$enable_progressdlg"
8640 if test "$enableval" = yes; then
8641 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8643 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8648 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8659 eval "$ac_cv_use_progressdlg"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8664 if test "$wxUSE_PROGRESSDLG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8677 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8678 if test "${enable_wizarddlg+set}" = set; then
8679 enableval="$enable_wizarddlg"
8681 if test "$enableval" = yes; then
8682 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8684 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8689 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x ; then
8691 eval "DEFAULT_$LINE"
8696 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8700 eval "$ac_cv_use_wizarddlg"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8705 if test "$wxUSE_WIZARDDLG" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8720 # Check whether --enable-menus or --disable-menus was given.
8721 if test "${enable_menus+set}" = set; then
8722 enableval="$enable_menus"
8724 if test "$enableval" = yes; then
8725 ac_cv_use_menus='wxUSE_MENUS
=yes'
8727 ac_cv_use_menus='wxUSE_MENUS
=no
'
8732 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x ; then
8734 eval "DEFAULT_$LINE"
8739 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8743 eval "$ac_cv_use_menus"
8744 if test "$no_cache" != 1; then
8745 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8748 if test "$wxUSE_MENUS" = yes; then
8749 echo "$as_me:$LINENO: result: yes" >&5
8750 echo "${ECHO_T}yes" >&6
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8761 # Check whether --enable-miniframe or --disable-miniframe was given.
8762 if test "${enable_miniframe+set}" = set; then
8763 enableval="$enable_miniframe"
8765 if test "$enableval" = yes; then
8766 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8768 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8773 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8774 if test "x$LINE" != x ; then
8775 eval "DEFAULT_$LINE"
8780 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8784 eval "$ac_cv_use_miniframe"
8785 if test "$no_cache" != 1; then
8786 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8789 if test "$wxUSE_MINIFRAME" = yes; then
8790 echo "$as_me:$LINENO: result: yes" >&5
8791 echo "${ECHO_T}yes" >&6
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8802 # Check whether --enable-tooltips or --disable-tooltips was given.
8803 if test "${enable_tooltips+set}" = set; then
8804 enableval="$enable_tooltips"
8806 if test "$enableval" = yes; then
8807 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8809 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8814 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8815 if test "x$LINE" != x ; then
8816 eval "DEFAULT_$LINE"
8821 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8825 eval "$ac_cv_use_tooltips"
8826 if test "$no_cache" != 1; then
8827 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8830 if test "$wxUSE_TOOLTIPS" = yes; then
8831 echo "$as_me:$LINENO: result: yes" >&5
8832 echo "${ECHO_T}yes" >&6
8834 echo "$as_me:$LINENO: result: no" >&5
8835 echo "${ECHO_T}no" >&6
8840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8843 # Check whether --enable-splines or --disable-splines was given.
8844 if test "${enable_splines+set}" = set; then
8845 enableval="$enable_splines"
8847 if test "$enableval" = yes; then
8848 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8850 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8855 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8862 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8866 eval "$ac_cv_use_splines"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8871 if test "$wxUSE_SPLINES" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8884 # Check whether --enable-validators or --disable-validators was given.
8885 if test "${enable_validators+set}" = set; then
8886 enableval="$enable_validators"
8888 if test "$enableval" = yes; then
8889 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8891 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8896 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8903 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8907 eval "$ac_cv_use_validators"
8908 if test "$no_cache" != 1; then
8909 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8912 if test "$wxUSE_VALIDATORS" = yes; then
8913 echo "$as_me:$LINENO: result: yes" >&5
8914 echo "${ECHO_T}yes" >&6
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8925 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8926 if test "${enable_busyinfo+set}" = set; then
8927 enableval="$enable_busyinfo"
8929 if test "$enableval" = yes; then
8930 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8932 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8937 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8944 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8948 eval "$ac_cv_use_busyinfo"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8953 if test "$wxUSE_BUSYINFO" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8966 # Check whether --enable-joystick or --disable-joystick was given.
8967 if test "${enable_joystick+set}" = set; then
8968 enableval="$enable_joystick"
8970 if test "$enableval" = yes; then
8971 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8973 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8978 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8985 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8989 eval "$ac_cv_use_joystick"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8994 if test "$wxUSE_JOYSTICK" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9007 # Check whether --enable-metafile or --disable-metafile was given.
9008 if test "${enable_metafile+set}" = set; then
9009 enableval="$enable_metafile"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9014 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9019 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9030 eval "$ac_cv_use_metafile"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_METAFILE" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9048 # Check whether --enable-dragimage or --disable-dragimage was given.
9049 if test "${enable_dragimage+set}" = set; then
9050 enableval="$enable_dragimage"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9055 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9060 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9071 eval "$ac_cv_use_dragimage"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_DRAGIMAGE" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9089 # Check whether --enable-accessibility or --disable-accessibility was given.
9090 if test "${enable_accessibility+set}" = set; then
9091 enableval="$enable_accessibility"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9096 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9101 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9112 eval "$ac_cv_use_accessibility"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_ACCESSIBILITY" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9132 # Check whether --enable-palette or --disable-palette was given.
9133 if test "${enable_palette+set}" = set; then
9134 enableval="$enable_palette"
9136 if test "$enableval" = yes; then
9137 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9139 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9144 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9145 if test "x$LINE" != x ; then
9146 eval "DEFAULT_$LINE"
9151 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9155 eval "$ac_cv_use_palette"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9160 if test "$wxUSE_PALETTE" = yes; then
9161 echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6
9164 echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6
9170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9173 # Check whether --enable-image or --disable-image was given.
9174 if test "${enable_image+set}" = set; then
9175 enableval="$enable_image"
9177 if test "$enableval" = yes; then
9178 ac_cv_use_image='wxUSE_IMAGE
=yes'
9180 ac_cv_use_image='wxUSE_IMAGE
=no
'
9185 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9186 if test "x$LINE" != x ; then
9187 eval "DEFAULT_$LINE"
9192 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9196 eval "$ac_cv_use_image"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9201 if test "$wxUSE_IMAGE" = yes; then
9202 echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6
9205 echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6
9211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9214 # Check whether --enable-gif or --disable-gif was given.
9215 if test "${enable_gif+set}" = set; then
9216 enableval="$enable_gif"
9218 if test "$enableval" = yes; then
9219 ac_cv_use_gif='wxUSE_GIF
=yes'
9221 ac_cv_use_gif='wxUSE_GIF
=no
'
9226 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9227 if test "x$LINE" != x ; then
9228 eval "DEFAULT_$LINE"
9233 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9237 eval "$ac_cv_use_gif"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9242 if test "$wxUSE_GIF" = yes; then
9243 echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6
9246 echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6
9252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9255 # Check whether --enable-pcx or --disable-pcx was given.
9256 if test "${enable_pcx+set}" = set; then
9257 enableval="$enable_pcx"
9259 if test "$enableval" = yes; then
9260 ac_cv_use_pcx='wxUSE_PCX
=yes'
9262 ac_cv_use_pcx='wxUSE_PCX
=no
'
9267 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9268 if test "x$LINE" != x ; then
9269 eval "DEFAULT_$LINE"
9274 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9278 eval "$ac_cv_use_pcx"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9283 if test "$wxUSE_PCX" = yes; then
9284 echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6
9287 echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6
9293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9296 # Check whether --enable-iff or --disable-iff was given.
9297 if test "${enable_iff+set}" = set; then
9298 enableval="$enable_iff"
9300 if test "$enableval" = yes; then
9301 ac_cv_use_iff='wxUSE_IFF
=yes'
9303 ac_cv_use_iff='wxUSE_IFF
=no
'
9308 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9309 if test "x$LINE" != x ; then
9310 eval "DEFAULT_$LINE"
9315 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9319 eval "$ac_cv_use_iff"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9324 if test "$wxUSE_IFF" = yes; then
9325 echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6
9328 echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6
9334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9337 # Check whether --enable-pnm or --disable-pnm was given.
9338 if test "${enable_pnm+set}" = set; then
9339 enableval="$enable_pnm"
9341 if test "$enableval" = yes; then
9342 ac_cv_use_pnm='wxUSE_PNM
=yes'
9344 ac_cv_use_pnm='wxUSE_PNM
=no
'
9349 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9350 if test "x$LINE" != x ; then
9351 eval "DEFAULT_$LINE"
9356 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9360 eval "$ac_cv_use_pnm"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9365 if test "$wxUSE_PNM" = yes; then
9366 echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9369 echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6
9375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9378 # Check whether --enable-xpm or --disable-xpm was given.
9379 if test "${enable_xpm+set}" = set; then
9380 enableval="$enable_xpm"
9382 if test "$enableval" = yes; then
9383 ac_cv_use_xpm='wxUSE_XPM
=yes'
9385 ac_cv_use_xpm='wxUSE_XPM
=no
'
9390 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9391 if test "x$LINE" != x ; then
9392 eval "DEFAULT_$LINE"
9397 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9401 eval "$ac_cv_use_xpm"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9406 if test "$wxUSE_XPM" = yes; then
9407 echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6
9410 echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6
9416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9419 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9420 if test "${enable_ico_cur+set}" = set; then
9421 enableval="$enable_ico_cur"
9423 if test "$enableval" = yes; then
9424 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9426 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9431 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9432 if test "x$LINE" != x ; then
9433 eval "DEFAULT_$LINE"
9438 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9442 eval "$ac_cv_use_ico_cur"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9447 if test "$wxUSE_ICO_CUR" = yes; then
9448 echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6
9451 echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6
9461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9464 # Check whether --enable-official_build or --disable-official_build was given.
9465 if test "${enable_official_build+set}" = set; then
9466 enableval="$enable_official_build"
9468 if test "$enableval" = yes; then
9469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9471 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9476 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9477 if test "x$LINE" != x ; then
9478 eval "DEFAULT_$LINE"
9483 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9487 eval "$ac_cv_use_official_build"
9488 if test "$no_cache" != 1; then
9489 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9492 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9493 echo "$as_me:$LINENO: result: yes" >&5
9494 echo "${ECHO_T}yes" >&6
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9500 # Check whether --enable-vendor or --disable-vendor was given.
9501 if test "${enable_vendor+set}" = set; then
9502 enableval="$enable_vendor"
9505 if test "x$VENDOR" = "x"; then
9510 *-pc-os2_emx | *-pc-os2-emx )
9522 echo "saving argument cache $wx_arg_cache_file"
9523 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9527 echo "$as_me:$LINENO: checking for toolkit" >&5
9528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9530 # In Wine, we need to default to MSW, not GTK or MOTIF
9531 if test "$wxUSE_WINE" = "yes"; then
9532 DEFAULT_DEFAULT_wxUSE_GTK=0
9533 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9534 DEFAULT_DEFAULT_wxUSE_MSW=1
9537 if test "$wxUSE_GUI" = "yes"; then
9539 if test "$USE_BEOS" = 1; then
9540 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9541 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9542 { (exit 1); exit 1; }; }
9545 if test "$TOOLKIT_GIVEN" = 1; then
9546 for toolkit in `echo $ALL_TOOLKITS`; do
9548 eval "value=\$${var}"
9549 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9552 for toolkit in `echo $ALL_TOOLKITS`; do
9553 if test "$has_toolkit_in_cache" != 1; then
9554 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9556 var=DEFAULT_wxUSE_$toolkit
9558 eval "wxUSE_$toolkit=\$${var}"
9562 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9563 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9564 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9567 *-pc-os2_emx | *-pc-os2-emx )
9568 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9571 case "$NUM_TOOLKITS" in
9575 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9576 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9577 { (exit 1); exit 1; }; }
9580 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9581 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9582 { (exit 1); exit 1; }; }
9585 for toolkit in `echo $ALL_TOOLKITS`; do
9587 eval "value=\$${var}"
9588 if test "x$value" != x; then
9589 cache_var=CACHE_$toolkit
9590 eval "cache=\$${cache_var}"
9591 if test "$cache" = 1; then
9592 echo "$var=$value" >> ${wx_arg_cache_file}
9594 if test "$value" = 1; then
9595 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9596 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9597 echo "${ECHO_T}$toolkit_echo" >&6
9602 if test "x$host_alias" != "x"; then
9603 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9604 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9606 echo "$as_me:$LINENO: result: base only" >&5
9607 echo "${ECHO_T}base only" >&6
9615 if test "$wxUSE_MSW" = 1 ; then
9626 if test "$wxUSE_WINE" = "yes"; then
9633 if test "$wants_win32" = 1 ; then
9636 cat >>confdefs.h <<\_ACEOF
9640 cat >>confdefs.h <<\_ACEOF
9644 cat >>confdefs.h <<\_ACEOF
9645 #define __WINDOWS__ 1
9648 cat >>confdefs.h <<\_ACEOF
9649 #define __GNUWIN32__ 1
9652 cat >>confdefs.h <<\_ACEOF
9656 cat >>confdefs.h <<\_ACEOF
9657 #define WINVER 0x0400
9661 if test "$doesnt_want_win32" = 1 ; then
9666 if test "$USE_UNIX" = 1 ; then
9668 cat >>confdefs.h <<\_ACEOF
9675 cat >confcache <<\_ACEOF
9676 # This file is a shell script that caches the results of configure
9677 # tests run on this system so they can be shared between configure
9678 # scripts and configure runs, see configure's option
--config-cache.
9679 # It is not useful on other systems. If it contains results you don't
9680 # want to keep, you may remove or edit it.
9682 # config.status only pays attention to the cache file if you give it
9683 # the --recheck option to rerun configure.
9685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9691 # The following way of writing the cache mishandles newlines in values,
9692 # but we know of no workaround that is simple, portable, and efficient.
9693 # So, don't put newlines in cache variables' values.
9694 # Ultrix sh set writes to stderr and can't be redirected directly,
9695 # and sets the high bit in the cache file unless we assign to the vars.
9698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9700 # `set' does not quote correctly, so add quotes (double-quote
9701 # substitution turns \\\\ into \\, and sed turns \\ into \).
9704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9707 # `set' quotes correctly as required by POSIX, so do not add quotes.
9709 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9718 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9720 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9721 if test -w $cache_file; then
9722 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9723 cat confcache
>$cache_file
9725 echo "not updating unwritable cache $cache_file"
9730 if test "$build" != "$host" ; then
9731 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9735 RANLIB
=$host_alias-ranlib
9736 DLLTOOL
=$host_alias-dlltool
9737 RESCOMP
=$host_alias-windres
9740 STRIP
=$host_alias-strip
9742 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9743 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9744 { (exit 1); exit 1; }; }
9750 ac_cpp
='$CPP $CPPFLAGS'
9751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9754 if test -n "$ac_tool_prefix"; then
9755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9756 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9757 echo "$as_me:$LINENO: checking for $ac_word" >&5
9758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9759 if test "${ac_cv_prog_CC+set}" = set; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9762 if test -n "$CC"; then
9763 ac_cv_prog_CC
="$CC" # Let the user override the test.
9765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir
=.
9770 for ac_exec_ext
in '' $ac_executable_extensions; do
9771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9782 if test -n "$CC"; then
9783 echo "$as_me:$LINENO: result: $CC" >&5
9784 echo "${ECHO_T}$CC" >&6
9786 echo "$as_me:$LINENO: result: no" >&5
9787 echo "${ECHO_T}no" >&6
9791 if test -z "$ac_cv_prog_CC"; then
9793 # Extract the first word of "gcc", so it can be a program name with args.
9794 set dummy gcc
; ac_word
=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 if test -n "$ac_ct_CC"; then
9801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir
=.
9808 for ac_exec_ext
in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_ac_ct_CC
="gcc"
9811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9820 if test -n "$ac_ct_CC"; then
9821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9822 echo "${ECHO_T}$ac_ct_CC" >&6
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9833 if test -z "$CC"; then
9834 if test -n "$ac_tool_prefix"; then
9835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9837 echo "$as_me:$LINENO: checking for $ac_word" >&5
9838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9839 if test "${ac_cv_prog_CC+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 if test -n "$CC"; then
9843 ac_cv_prog_CC
="$CC" # Let the user override the test.
9845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9849 test -z "$as_dir" && as_dir
=.
9850 for ac_exec_ext
in '' $ac_executable_extensions; do
9851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9862 if test -n "$CC"; then
9863 echo "$as_me:$LINENO: result: $CC" >&5
9864 echo "${ECHO_T}$CC" >&6
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9871 if test -z "$ac_cv_prog_CC"; then
9873 # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc
; ac_word
=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 if test -n "$ac_ct_CC"; then
9881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9887 test -z "$as_dir" && as_dir
=.
9888 for ac_exec_ext
in '' $ac_executable_extensions; do
9889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_prog_ac_ct_CC
="cc"
9891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9900 if test -n "$ac_ct_CC"; then
9901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9902 echo "${ECHO_T}$ac_ct_CC" >&6
9904 echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6
9914 if test -z "$CC"; then
9915 # Extract the first word of "cc", so it can be a program name with args.
9916 set dummy cc
; ac_word
=$2
9917 echo "$as_me:$LINENO: checking for $ac_word" >&5
9918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919 if test "${ac_cv_prog_CC+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 if test -n "$CC"; then
9923 ac_cv_prog_CC
="$CC" # Let the user override the test.
9926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir
=.
9931 for ac_exec_ext
in '' $ac_executable_extensions; do
9932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9934 ac_prog_rejected
=yes
9938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9944 if test $ac_prog_rejected = yes; then
9945 # We found a bogon in the path, so make sure we never use it.
9946 set dummy
$ac_cv_prog_CC
9948 if test $# != 0; then
9949 # We chose a different compiler from the bogus one.
9950 # However, it has the same basename, so the bogon will be chosen
9951 # first if we set CC to just the basename; use the full file name.
9953 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9959 if test -n "$CC"; then
9960 echo "$as_me:$LINENO: result: $CC" >&5
9961 echo "${ECHO_T}$CC" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9968 if test -z "$CC"; then
9969 if test -n "$ac_tool_prefix"; then
9972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_CC+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 if test -n "$CC"; then
9980 ac_cv_prog_CC
="$CC" # Let the user override the test.
9982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir
=.
9987 for ac_exec_ext
in '' $ac_executable_extensions; do
9988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9999 if test -n "$CC"; then
10000 echo "$as_me:$LINENO: result: $CC" >&5
10001 echo "${ECHO_T}$CC" >&6
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10007 test -n "$CC" && break
10010 if test -z "$CC"; then
10014 # Extract the first word of "$ac_prog", so it can be a program name with args.
10015 set dummy
$ac_prog; ac_word
=$2
10016 echo "$as_me:$LINENO: checking for $ac_word" >&5
10017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10021 if test -n "$ac_ct_CC"; then
10022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10025 for as_dir
in $PATH
10028 test -z "$as_dir" && as_dir
=.
10029 for ac_exec_ext
in '' $ac_executable_extensions; do
10030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_ac_ct_CC
="$ac_prog"
10032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10041 if test -n "$ac_ct_CC"; then
10042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10043 echo "${ECHO_T}$ac_ct_CC" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10049 test -n "$ac_ct_CC" && break
10058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10059 See \`config.log' for more details." >&5
10060 echo "$as_me: error: no acceptable C compiler found in \$PATH
10061 See \`config.log' for more details." >&2;}
10062 { (exit 1); exit 1; }; }
10064 # Provide some information about the compiler.
10065 echo "$as_me:$LINENO:" \
10066 "checking for C compiler version" >&5
10067 ac_compiler
=`set X $ac_compile; echo $2`
10068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10069 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }
10073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10074 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }
10078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10079 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }
10084 cat >conftest.
$ac_ext <<_ACEOF
10085 #line $LINENO "configure"
10088 cat confdefs.h
>>conftest.
$ac_ext
10089 cat >>conftest.
$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10100 ac_clean_files_save
=$ac_clean_files
10101 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10102 # Try to create an executable without -o first, disregard a.out.
10103 # It will help us diagnose broken compilers, and finding out an intuition
10105 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10106 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10107 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10109 (eval $ac_link_default) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; then
10113 # Find the output, starting from the most likely. This scheme is
10114 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10117 # Be careful to initialize this variable, since it used to be cached.
10118 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10120 # b.out is created by i960 compilers.
10121 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10123 test -f "$ac_file" || continue
10125 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10128 # This is the source file.
10131 # We found the default executable, but exeext='' is most
10135 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10136 # FIXME: I believe we export ac_cv_exeext for Libtool,
10137 # but it would be cool to find out if it's true. Does anybody
10138 # maintain Libtool? --akim.
10139 export ac_cv_exeext
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.
$ac_ext >&5
10149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10150 See \`config.log' for more details." >&5
10151 echo "$as_me: error: C compiler cannot create executables
10152 See \`config.log' for more details." >&2;}
10153 { (exit 77); exit 77; }; }
10156 ac_exeext
=$ac_cv_exeext
10157 echo "$as_me:$LINENO: result: $ac_file" >&5
10158 echo "${ECHO_T}$ac_file" >&6
10160 # Check the compiler produces executables we can run. If not, either
10161 # the compiler is broken, or we cross compile.
10162 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10165 # If not cross compiling, check that we can run a simple program.
10166 if test "$cross_compiling" != yes; then
10167 if { ac_try
='./$ac_file'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10175 if test "$cross_compiling" = maybe
; then
10176 cross_compiling
=yes
10178 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10179 If you meant to cross compile, use \`--host'.
10180 See \`config.log' for more details." >&5
10181 echo "$as_me: error: cannot run C compiled programs.
10182 If you meant to cross compile, use \`--host'.
10183 See \`config.log' for more details." >&2;}
10184 { (exit 1); exit 1; }; }
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10192 ac_clean_files
=$ac_clean_files_save
10193 # Check the compiler produces executables we can run. If not, either
10194 # the compiler is broken, or we cross compile.
10195 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10196 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10197 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10198 echo "${ECHO_T}$cross_compiling" >&6
10200 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10201 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; then
10207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10209 # work properly (i.e., refer to `conftest.exe'), while it won't with
10211 for ac_file
in conftest.exe conftest conftest.
*; do
10212 test -f "$ac_file" || continue
10214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10215 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10216 export ac_cv_exeext
10222 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10223 See \`config.log' for more details." >&5
10224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10225 See \`config.log' for more details." >&2;}
10226 { (exit 1); exit 1; }; }
10229 rm -f conftest
$ac_cv_exeext
10230 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10231 echo "${ECHO_T}$ac_cv_exeext" >&6
10233 rm -f conftest.
$ac_ext
10234 EXEEXT
=$ac_cv_exeext
10236 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10238 if test "${ac_cv_objext+set}" = set; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 cat >conftest.
$ac_ext <<_ACEOF
10242 #line $LINENO "configure"
10245 cat confdefs.h
>>conftest.
$ac_ext
10246 cat >>conftest.
$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10257 rm -f conftest.o conftest.obj
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; then
10263 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10265 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10266 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.
$ac_ext >&5
10274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10275 See \`config.log' for more details." >&5
10276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10277 See \`config.log' for more details." >&2;}
10278 { (exit 1); exit 1; }; }
10281 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10284 echo "${ECHO_T}$ac_cv_objext" >&6
10285 OBJEXT
=$ac_cv_objext
10287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 cat >conftest.
$ac_ext <<_ACEOF
10293 #line $LINENO "configure"
10296 cat confdefs.h
>>conftest.
$ac_ext
10297 cat >>conftest.
$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10311 rm -f conftest.
$ac_objext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10313 (eval $ac_compile) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try
='test -s conftest.$ac_objext'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; }; then
10323 ac_compiler_gnu
=yes
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.
$ac_ext >&5
10330 rm -f conftest.
$ac_objext conftest.
$ac_ext
10331 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10336 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10337 ac_test_CFLAGS
=${CFLAGS+set}
10338 ac_save_CFLAGS
=$CFLAGS
10340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10342 if test "${ac_cv_prog_cc_g+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 cat >conftest.
$ac_ext <<_ACEOF
10346 #line $LINENO "configure"
10349 cat confdefs.h
>>conftest.
$ac_ext
10350 cat >>conftest.
$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10361 rm -f conftest.
$ac_objext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10363 (eval $ac_compile) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try
='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_cv_prog_cc_g
=yes
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.
$ac_ext >&5
10380 rm -f conftest.
$ac_objext conftest.
$ac_ext
10382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10384 if test "$ac_test_CFLAGS" = set; then
10385 CFLAGS
=$ac_save_CFLAGS
10386 elif test $ac_cv_prog_cc_g = yes; then
10387 if test "$GCC" = yes; then
10393 if test "$GCC" = yes; then
10399 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10400 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10401 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 ac_cv_prog_cc_stdc
=no
10406 cat >conftest.
$ac_ext <<_ACEOF
10407 #line $LINENO "configure"
10410 cat confdefs.h
>>conftest.
$ac_ext
10411 cat >>conftest.
$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10413 #include <stdarg.h>
10415 #include <sys/types.h>
10416 #include <sys/stat.h>
10417 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10418 struct buf { int x; };
10419 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10420 static char *e (p, i)
10426 static char *f (char * (*g) (char **, int), char **p, ...)
10431 s = g (p, va_arg (v,int));
10435 int test (int i, double x);
10436 struct s1 {int (*f) (int a);};
10437 struct s2 {int (*f) (double a);};
10438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10449 # Don't try gcc -ansi; that turns off useful extensions and
10450 # breaks some systems' header files.
10451 # AIX -qlanglvl=ansi
10452 # Ultrix and OSF/1 -std1
10453 # HP-UX 10.20 and later -Ae
10454 # HP-UX older versions -Aa -D_HPUX_SOURCE
10455 # SVR4 -Xc -D__EXTENSIONS__
10456 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10458 CC
="$ac_save_CC $ac_arg"
10459 rm -f conftest.
$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try
='test -s conftest.$ac_objext'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; }; then
10471 ac_cv_prog_cc_stdc
=$ac_arg
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10478 rm -f conftest.
$ac_objext
10480 rm -f conftest.
$ac_ext conftest.
$ac_objext
10485 case "x$ac_cv_prog_cc_stdc" in
10487 echo "$as_me:$LINENO: result: none needed" >&5
10488 echo "${ECHO_T}none needed" >&6 ;;
10490 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10491 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10492 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10495 # Some people use a C++ compiler to compile C. Since we use `exit',
10496 # in C++ we need to declare it. In case someone uses the same compiler
10497 # for both compiling C and C++ we need to have the C++ compiler decide
10498 # the declaration of exit, since it's the most demanding environment.
10499 cat >conftest.
$ac_ext <<_ACEOF
10500 #ifndef __cplusplus
10504 rm -f conftest.
$ac_objext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506 (eval $ac_compile) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try
='test -s conftest.$ac_objext'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 for ac_declaration
in \
10518 '#include <stdlib.h>' \
10519 'extern "C" void std::exit (int) throw (); using std::exit;' \
10520 'extern "C" void std::exit (int); using std::exit;' \
10521 'extern "C" void exit (int) throw ();' \
10522 'extern "C" void exit (int);' \
10525 cat >conftest.
$ac_ext <<_ACEOF
10526 #line $LINENO "configure"
10529 cat confdefs.h
>>conftest.
$ac_ext
10530 cat >>conftest.
$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10532 #include <stdlib.h>
10542 rm -f conftest.
$ac_objext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544 (eval $ac_compile) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try
='test -s conftest.$ac_objext'
10549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }; }; then
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.
$ac_ext >&5
10561 rm -f conftest.
$ac_objext conftest.
$ac_ext
10562 cat >conftest.
$ac_ext <<_ACEOF
10563 #line $LINENO "configure"
10566 cat confdefs.h
>>conftest.
$ac_ext
10567 cat >>conftest.
$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10578 rm -f conftest.
$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try
='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.
$ac_ext >&5
10596 rm -f conftest.
$ac_objext conftest.
$ac_ext
10599 if test -n "$ac_declaration"; then
10600 echo '#ifdef __cplusplus' >>confdefs.h
10601 echo $ac_declaration >>confdefs.h
10602 echo '#endif' >>confdefs.h
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.
$ac_ext >&5
10610 rm -f conftest.
$ac_objext conftest.
$ac_ext
10612 ac_cpp
='$CPP $CPPFLAGS'
10613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10620 ac_cpp
='$CPP $CPPFLAGS'
10621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10624 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10625 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10626 # On Suns, sometimes $CPP names a directory.
10627 if test -n "$CPP" && test -d "$CPP"; then
10630 if test -z "$CPP"; then
10631 if test "${ac_cv_prog_CPP+set}" = set; then
10632 echo $ECHO_N "(cached) $ECHO_C" >&6
10634 # Double quotes because CPP needs to be expanded
10635 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10637 ac_preproc_ok
=false
10638 for ac_c_preproc_warn_flag
in '' yes
10640 # Use a header file that comes with gcc, so configuring glibc
10641 # with a fresh cross-compiler works.
10642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10643 # <limits.h> exists even on freestanding compilers.
10644 # On the NeXT, cc -E runs the code through the compiler's parser,
10645 # not just through cpp. "Syntax error" is here to catch this case.
10646 cat >conftest.
$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10650 cat confdefs.h
>>conftest.
$ac_ext
10651 cat >>conftest.
$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10654 # include <limits.h>
10656 # include <assert.h>
10660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10663 grep -v '^ *+' conftest.er1
>conftest.err
10665 cat conftest.err
>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } >/dev
/null
; then
10668 if test -s conftest.err
; then
10669 ac_cpp_err
=$ac_c_preproc_warn_flag
10676 if test -z "$ac_cpp_err"; then
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.
$ac_ext >&5
10682 # Broken: fails on valid input.
10685 rm -f conftest.err conftest.
$ac_ext
10687 # OK, works on sane cases. Now check whether non-existent headers
10688 # can be detected and how.
10689 cat >conftest.
$ac_ext <<_ACEOF
10690 #line $LINENO "configure"
10693 cat confdefs.h
>>conftest.
$ac_ext
10694 cat >>conftest.
$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #include <ac_nonexistent.h>
10698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10701 grep -v '^ *+' conftest.er1
>conftest.err
10703 cat conftest.err
>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); } >/dev
/null
; then
10706 if test -s conftest.err
; then
10707 ac_cpp_err
=$ac_c_preproc_warn_flag
10714 if test -z "$ac_cpp_err"; then
10715 # Broken: success on invalid input.
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.
$ac_ext >&5
10721 # Passes both tests.
10725 rm -f conftest.err conftest.
$ac_ext
10728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10729 rm -f conftest.err conftest.
$ac_ext
10730 if $ac_preproc_ok; then
10735 ac_cv_prog_CPP
=$CPP
10738 CPP
=$ac_cv_prog_CPP
10740 ac_cv_prog_CPP
=$CPP
10742 echo "$as_me:$LINENO: result: $CPP" >&5
10743 echo "${ECHO_T}$CPP" >&6
10744 ac_preproc_ok
=false
10745 for ac_c_preproc_warn_flag
in '' yes
10747 # Use a header file that comes with gcc, so configuring glibc
10748 # with a fresh cross-compiler works.
10749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10750 # <limits.h> exists even on freestanding compilers.
10751 # On the NeXT, cc -E runs the code through the compiler's parser,
10752 # not just through cpp. "Syntax error" is here to catch this case.
10753 cat >conftest.
$ac_ext <<_ACEOF
10754 #line $LINENO "configure"
10757 cat confdefs.h
>>conftest.
$ac_ext
10758 cat >>conftest.
$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 # include <limits.h>
10763 # include <assert.h>
10767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10770 grep -v '^ *+' conftest.er1
>conftest.err
10772 cat conftest.err
>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } >/dev
/null
; then
10775 if test -s conftest.err
; then
10776 ac_cpp_err
=$ac_c_preproc_warn_flag
10783 if test -z "$ac_cpp_err"; then
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.
$ac_ext >&5
10789 # Broken: fails on valid input.
10792 rm -f conftest.err conftest.
$ac_ext
10794 # OK, works on sane cases. Now check whether non-existent headers
10795 # can be detected and how.
10796 cat >conftest.
$ac_ext <<_ACEOF
10797 #line $LINENO "configure"
10800 cat confdefs.h
>>conftest.
$ac_ext
10801 cat >>conftest.
$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <ac_nonexistent.h>
10805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10808 grep -v '^ *+' conftest.er1
>conftest.err
10810 cat conftest.err
>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } >/dev
/null
; then
10813 if test -s conftest.err
; then
10814 ac_cpp_err
=$ac_c_preproc_warn_flag
10821 if test -z "$ac_cpp_err"; then
10822 # Broken: success on invalid input.
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.
$ac_ext >&5
10828 # Passes both tests.
10832 rm -f conftest.err conftest.
$ac_ext
10835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10836 rm -f conftest.err conftest.
$ac_ext
10837 if $ac_preproc_ok; then
10840 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10841 See \`config.log' for more details." >&5
10842 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10843 See \`config.log' for more details." >&2;}
10844 { (exit 1); exit 1; }; }
10848 ac_cpp
='$CPP $CPPFLAGS'
10849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10854 echo "$as_me:$LINENO: checking for egrep" >&5
10855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10856 if test "${ac_cv_prog_egrep+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10860 then ac_cv_prog_egrep
='grep -E'
10861 else ac_cv_prog_egrep
='egrep'
10864 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10865 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10866 EGREP
=$ac_cv_prog_egrep
10869 if test $ac_cv_c_compiler_gnu = yes; then
10870 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10871 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10872 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 ac_pattern
="Autoconf.*'x'"
10876 cat >conftest.
$ac_ext <<_ACEOF
10877 #line $LINENO "configure"
10880 cat confdefs.h
>>conftest.
$ac_ext
10881 cat >>conftest.
$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10887 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10888 ac_cv_prog_gcc_traditional
=yes
10890 ac_cv_prog_gcc_traditional
=no
10895 if test $ac_cv_prog_gcc_traditional = no
; then
10896 cat >conftest.
$ac_ext <<_ACEOF
10897 #line $LINENO "configure"
10900 cat confdefs.h
>>conftest.
$ac_ext
10901 cat >>conftest.
$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 #include <termio.h>
10906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10907 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10908 ac_cv_prog_gcc_traditional
=yes
10914 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10915 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10916 if test $ac_cv_prog_gcc_traditional = yes; then
10917 CC
="$CC -traditional"
10925 ac_cpp
='$CXXCPP $CPPFLAGS'
10926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10931 CXXFLAGS
=${CXXFLAGS:=}
10933 ac_cpp
='$CXXCPP $CPPFLAGS'
10934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10937 if test -n "$ac_tool_prefix"; then
10938 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CXX+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 if test -n "$CXX"; then
10948 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10951 for as_dir
in $PATH
10954 test -z "$as_dir" && as_dir
=.
10955 for ac_exec_ext
in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 CXX
=$ac_cv_prog_CXX
10967 if test -n "$CXX"; then
10968 echo "$as_me:$LINENO: result: $CXX" >&5
10969 echo "${ECHO_T}$CXX" >&6
10971 echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10975 test -n "$CXX" && break
10978 if test -z "$CXX"; then
10980 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10982 # Extract the first word of "$ac_prog", so it can be a program name with args.
10983 set dummy
$ac_prog; ac_word
=$2
10984 echo "$as_me:$LINENO: checking for $ac_word" >&5
10985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10986 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 if test -n "$ac_ct_CXX"; then
10990 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10993 for as_dir
in $PATH
10996 test -z "$as_dir" && as_dir
=.
10997 for ac_exec_ext
in '' $ac_executable_extensions; do
10998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11008 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11009 if test -n "$ac_ct_CXX"; then
11010 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11011 echo "${ECHO_T}$ac_ct_CXX" >&6
11013 echo "$as_me:$LINENO: result: no" >&5
11014 echo "${ECHO_T}no" >&6
11017 test -n "$ac_ct_CXX" && break
11019 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11025 # Provide some information about the compiler.
11026 echo "$as_me:$LINENO:" \
11027 "checking for C++ compiler version" >&5
11028 ac_compiler
=`set X $ac_compile; echo $2`
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11030 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11035 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }
11039 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11040 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }
11045 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11046 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
11069 rm -f conftest.
$ac_objext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11071 (eval $ac_compile) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try
='test -s conftest.$ac_objext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_compiler_gnu
=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11088 rm -f conftest.
$ac_objext conftest.
$ac_ext
11089 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11092 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11093 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11094 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11095 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11096 ac_save_CXXFLAGS
=$CXXFLAGS
11098 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11099 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11100 if test "${ac_cv_prog_cxx_g+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 cat >conftest.
$ac_ext <<_ACEOF
11104 #line $LINENO "configure"
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11119 rm -f conftest.
$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } &&
11125 { ac_try
='test -s conftest.$ac_objext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_prog_cxx_g
=yes
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.
$ac_ext >&5
11136 ac_cv_prog_cxx_g
=no
11138 rm -f conftest.
$ac_objext conftest.
$ac_ext
11140 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11141 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11142 if test "$ac_test_CXXFLAGS" = set; then
11143 CXXFLAGS
=$ac_save_CXXFLAGS
11144 elif test $ac_cv_prog_cxx_g = yes; then
11145 if test "$GXX" = yes; then
11151 if test "$GXX" = yes; then
11157 for ac_declaration
in \
11159 '#include <stdlib.h>' \
11160 'extern "C" void std::exit (int) throw (); using std::exit;' \
11161 'extern "C" void std::exit (int); using std::exit;' \
11162 'extern "C" void exit (int) throw ();' \
11163 'extern "C" void exit (int);' \
11166 cat >conftest.
$ac_ext <<_ACEOF
11167 #line $LINENO "configure"
11170 cat confdefs.h
>>conftest.
$ac_ext
11171 cat >>conftest.
$ac_ext <<_ACEOF
11172 /* end confdefs.h. */
11173 #include <stdlib.h>
11183 rm -f conftest.
$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try
='test -s conftest.$ac_objext'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.
$ac_ext >&5
11202 rm -f conftest.
$ac_objext conftest.
$ac_ext
11203 cat >conftest.
$ac_ext <<_ACEOF
11204 #line $LINENO "configure"
11207 cat confdefs.h
>>conftest.
$ac_ext
11208 cat >>conftest.
$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11219 rm -f conftest.
$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try
='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.
$ac_ext >&5
11237 rm -f conftest.
$ac_objext conftest.
$ac_ext
11240 if test -n "$ac_declaration"; then
11241 echo '#ifdef __cplusplus' >>confdefs.h
11242 echo $ac_declaration >>confdefs.h
11243 echo '#endif' >>confdefs.h
11247 ac_cpp
='$CXXCPP $CPPFLAGS'
11248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11254 ac_cpp
='$CPP $CPPFLAGS'
11255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11260 if test -n "$ac_tool_prefix"; then
11261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11262 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_RANLIB+set}" = set; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 if test -n "$RANLIB"; then
11269 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11272 for as_dir
in $PATH
11275 test -z "$as_dir" && as_dir
=.
11276 for ac_exec_ext
in '' $ac_executable_extensions; do
11277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11278 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11287 RANLIB
=$ac_cv_prog_RANLIB
11288 if test -n "$RANLIB"; then
11289 echo "$as_me:$LINENO: result: $RANLIB" >&5
11290 echo "${ECHO_T}$RANLIB" >&6
11292 echo "$as_me:$LINENO: result: no" >&5
11293 echo "${ECHO_T}no" >&6
11297 if test -z "$ac_cv_prog_RANLIB"; then
11298 ac_ct_RANLIB
=$RANLIB
11299 # Extract the first word of "ranlib", so it can be a program name with args.
11300 set dummy ranlib
; ac_word
=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 if test -n "$ac_ct_RANLIB"; then
11307 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11310 for as_dir
in $PATH
11313 test -z "$as_dir" && as_dir
=.
11314 for ac_exec_ext
in '' $ac_executable_extensions; do
11315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11323 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11326 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11327 if test -n "$ac_ct_RANLIB"; then
11328 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11329 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11335 RANLIB
=$ac_ct_RANLIB
11337 RANLIB
="$ac_cv_prog_RANLIB"
11341 # Extract the first word of "ar", so it can be a program name with args.
11342 set dummy
ar; ac_word
=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_AR+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if test -n "$AR"; then
11349 ac_cv_prog_AR
="$AR" # Let the user override the test.
11351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11352 for as_dir
in $PATH
11355 test -z "$as_dir" && as_dir
=.
11356 for ac_exec_ext
in '' $ac_executable_extensions; do
11357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11368 if test -n "$AR"; then
11369 echo "$as_me:$LINENO: result: $AR" >&5
11370 echo "${ECHO_T}$AR" >&6
11372 echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11376 if test "x$AR" = "x" ; then
11377 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11378 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11379 { (exit 1); exit 1; }; }
11382 # Find a good install program. We prefer a C program (faster),
11383 # so one script is as good as another. But avoid the broken or
11384 # incompatible versions:
11385 # SysV /etc/install, /usr/sbin/install
11386 # SunOS /usr/etc/install
11387 # IRIX /sbin/install
11389 # AmigaOS /C/install, which installs bootblocks on floppy discs
11390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11393 # ./install, which can be erroneously created by make from ./install.sh.
11394 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11395 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11396 if test -z "$INSTALL"; then
11397 if test "${ac_cv_path_install+set}" = set; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11401 for as_dir
in $PATH
11404 test -z "$as_dir" && as_dir
=.
11405 # Account for people who put trailing slashes in PATH elements.
11407 .
/ | .
// | /cC
/* | \
11408 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11411 # OSF1 and SCO ODT 3.0 have their own names for install.
11412 # Don't use installbsd from OSF since it installs stuff as root
11414 for ac_prog
in ginstall scoinst
install; do
11415 for ac_exec_ext
in '' $ac_executable_extensions; do
11416 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11417 if test $ac_prog = install &&
11418 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11419 # AIX install. It has an incompatible calling convention.
11421 elif test $ac_prog = install &&
11422 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11423 # program-specific install script used by HP pwplus--don't use.
11426 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11438 if test "${ac_cv_path_install+set}" = set; then
11439 INSTALL
=$ac_cv_path_install
11441 # As a last resort, use the slow shell script. We don't cache a
11442 # path for INSTALL within a source directory, because that will
11443 # break other packages using the cache if that directory is
11444 # removed, or if the path is relative.
11445 INSTALL
=$ac_install_sh
11448 echo "$as_me:$LINENO: result: $INSTALL" >&5
11449 echo "${ECHO_T}$INSTALL" >&6
11451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11452 # It thinks the first close brace ends the variable substitution.
11453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11457 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11463 ?
:* ) # Drive letter, considered as absolute.
11466 INSTALL
=`pwd`/${INSTALL} ;;
11471 INSTALL_DIR
="mkdir"
11474 *) INSTALL_DIR
="$INSTALL -d"
11481 powerpc
-*-darwin* )
11482 INSTALL_PROGRAM
="cp -fp"
11483 INSTALL_DATA
="cp -fp"
11489 # Extract the first word of "strip", so it can be a program name with args.
11490 set dummy strip
; ac_word
=$2
11491 echo "$as_me:$LINENO: checking for $ac_word" >&5
11492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11493 if test "${ac_cv_prog_STRIP+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 if test -n "$STRIP"; then
11497 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11500 for as_dir
in $PATH
11503 test -z "$as_dir" && as_dir
=.
11504 for ac_exec_ext
in '' $ac_executable_extensions; do
11505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11506 ac_cv_prog_STRIP
="strip"
11507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11513 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11516 STRIP
=$ac_cv_prog_STRIP
11517 if test -n "$STRIP"; then
11518 echo "$as_me:$LINENO: result: $STRIP" >&5
11519 echo "${ECHO_T}$STRIP" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11526 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11527 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11528 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11533 egrep -s GNU
> /dev
/null
); then
11534 wx_cv_prog_makeisgnu
="yes"
11536 wx_cv_prog_makeisgnu
="no"
11540 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11541 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11543 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11551 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11552 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11553 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11554 if test "${wx_cv_prog_makevpath+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat - << EOF > confMake
11564 if test ! -d sub
; then
11567 echo dummy
> sub
/file
11568 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11570 rm -f sub
/file check final_file confMake
11572 if test "$RESULT" = 0; then
11573 wx_cv_prog_makevpath
="yes"
11575 wx_cv_prog_makevpath
="no"
11579 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11580 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11582 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11583 { { echo "$as_me:$LINENO: error:
11584 You need a make-utility that is able to use the variable
11586 If your version of make does not support VPATH correctly,
11587 please install GNU-make (possibly as gmake), and start
11588 configure with the following command:
11589 export MAKE=gmake; ./configure for sh-type shells
11590 setenv MAKE gmake; ./configure for csh-type shells
11591 Also please do remember to use gmake in this case every time
11592 you are trying to compile.
11594 echo "$as_me: error:
11595 You need a make-utility that is able to use the variable
11597 If your version of make does not support VPATH correctly,
11598 please install GNU-make (possibly as gmake), and start
11599 configure with the following command:
11600 export MAKE=gmake; ./configure for sh-type shells
11601 setenv MAKE gmake; ./configure for csh-type shells
11602 Also please do remember to use gmake in this case every time
11603 you are trying to compile.
11605 { (exit 1); exit 1; }; }
11607 for ac_prog
in 'bison -y' byacc
11609 # Extract the first word of "$ac_prog", so it can be a program name with args.
11610 set dummy
$ac_prog; ac_word
=$2
11611 echo "$as_me:$LINENO: checking for $ac_word" >&5
11612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11613 if test "${ac_cv_prog_YACC+set}" = set; then
11614 echo $ECHO_N "(cached) $ECHO_C" >&6
11616 if test -n "$YACC"; then
11617 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11620 for as_dir
in $PATH
11623 test -z "$as_dir" && as_dir
=.
11624 for ac_exec_ext
in '' $ac_executable_extensions; do
11625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11626 ac_cv_prog_YACC
="$ac_prog"
11627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11635 YACC
=$ac_cv_prog_YACC
11636 if test -n "$YACC"; then
11637 echo "$as_me:$LINENO: result: $YACC" >&5
11638 echo "${ECHO_T}$YACC" >&6
11640 echo "$as_me:$LINENO: result: no" >&5
11641 echo "${ECHO_T}no" >&6
11644 test -n "$YACC" && break
11646 test -n "$YACC" || YACC
="yacc"
11649 for ac_prog
in flex
lex
11651 # Extract the first word of "$ac_prog", so it can be a program name with args.
11652 set dummy
$ac_prog; ac_word
=$2
11653 echo "$as_me:$LINENO: checking for $ac_word" >&5
11654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11655 if test "${ac_cv_prog_LEX+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 if test -n "$LEX"; then
11659 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11662 for as_dir
in $PATH
11665 test -z "$as_dir" && as_dir
=.
11666 for ac_exec_ext
in '' $ac_executable_extensions; do
11667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11668 ac_cv_prog_LEX
="$ac_prog"
11669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11677 LEX
=$ac_cv_prog_LEX
11678 if test -n "$LEX"; then
11679 echo "$as_me:$LINENO: result: $LEX" >&5
11680 echo "${ECHO_T}$LEX" >&6
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11686 test -n "$LEX" && break
11688 test -n "$LEX" || LEX
=":"
11690 if test -z "$LEXLIB"
11692 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11693 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11694 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 ac_check_lib_save_LIBS
=$LIBS
11699 cat >conftest.
$ac_ext <<_ACEOF
11700 #line $LINENO "configure"
11703 cat confdefs.h
>>conftest.
$ac_ext
11704 cat >>conftest.
$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11707 /* Override any gcc2 internal prototype to avoid an error. */
11711 /* We use char because int might match the return type of a gcc2
11712 builtin and then its argument prototype would still apply. */
11722 rm -f conftest.
$ac_objext conftest
$ac_exeext
11723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11724 (eval $ac_link) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); } &&
11728 { ac_try
='test -s conftest$ac_exeext'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; }; then
11734 ac_cv_lib_fl_yywrap
=yes
11736 echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.
$ac_ext >&5
11739 ac_cv_lib_fl_yywrap
=no
11741 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11742 LIBS
=$ac_check_lib_save_LIBS
11744 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11745 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11746 if test $ac_cv_lib_fl_yywrap = yes; then
11749 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11750 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11751 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 ac_check_lib_save_LIBS
=$LIBS
11756 cat >conftest.
$ac_ext <<_ACEOF
11757 #line $LINENO "configure"
11760 cat confdefs.h
>>conftest.
$ac_ext
11761 cat >>conftest.
$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11764 /* Override any gcc2 internal prototype to avoid an error. */
11768 /* We use char because int might match the return type of a gcc2
11769 builtin and then its argument prototype would still apply. */
11779 rm -f conftest.
$ac_objext conftest
$ac_exeext
11780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11781 (eval $ac_link) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } &&
11785 { ac_try
='test -s conftest$ac_exeext'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; }; then
11791 ac_cv_lib_l_yywrap
=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11796 ac_cv_lib_l_yywrap
=no
11798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11799 LIBS
=$ac_check_lib_save_LIBS
11801 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11802 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11803 if test $ac_cv_lib_l_yywrap = yes; then
11811 if test "x$LEX" != "x:"; then
11812 echo "$as_me:$LINENO: checking lex output file root" >&5
11813 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11814 if test "${ac_cv_prog_lex_root+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 # The minimal lex program is just a single line: %%. But some broken lexes
11818 # (Solaris, I think it was) want two %% lines, so accommodate them.
11819 cat >conftest.l
<<_ACEOF
11823 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11824 (eval $LEX conftest.l
) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }
11828 if test -f lex.yy.c
; then
11829 ac_cv_prog_lex_root
=lex.yy
11830 elif test -f lexyy.c
; then
11831 ac_cv_prog_lex_root
=lexyy
11833 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11834 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11835 { (exit 1); exit 1; }; }
11838 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11839 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11841 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11843 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11844 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11845 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 # POSIX says lex can declare yytext either as a pointer or an array; the
11849 # default is implementation-dependent. Figure out which it is, since
11850 # not all implementations provide the %pointer and %array declarations.
11851 ac_cv_prog_lex_yytext_pointer
=no
11852 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11854 LIBS
="$LIBS $LEXLIB"
11855 cat >conftest.
$ac_ext <<_ACEOF
11856 `cat $LEX_OUTPUT_ROOT.c`
11858 rm -f conftest.
$ac_objext conftest
$ac_exeext
11859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11860 (eval $ac_link) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); } &&
11864 { ac_try
='test -s conftest$ac_exeext'
11865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866 (eval $ac_try) 2>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); }; }; then
11870 ac_cv_prog_lex_yytext_pointer
=yes
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.
$ac_ext >&5
11876 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11878 rm -f "${LEX_OUTPUT_ROOT}.c"
11881 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11882 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11883 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11885 cat >>confdefs.h
<<\_ACEOF
11886 #define YYTEXT_POINTER 1
11893 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11894 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11896 if test "$LN_S" = "ln -s"; then
11897 echo "$as_me:$LINENO: result: yes" >&5
11898 echo "${ECHO_T}yes" >&6
11900 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11901 echo "${ECHO_T}no, using $LN_S" >&6
11906 *-pc-os2_emx | *-pc-os2-emx )
11907 LIBS
="$LIBS -lstdcpp"
11908 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11909 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11910 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11911 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 ac_check_lib_save_LIBS
=$LIBS
11915 LIBS
="-lcExt $LIBS"
11916 cat >conftest.
$ac_ext <<_ACEOF
11917 #line $LINENO "configure"
11920 cat confdefs.h
>>conftest.
$ac_ext
11921 cat >>conftest.
$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11924 /* Override any gcc2 internal prototype to avoid an error. */
11928 /* We use char because int might match the return type of a gcc2
11929 builtin and then its argument prototype would still apply. */
11939 rm -f conftest.
$ac_objext conftest
$ac_exeext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11941 (eval $ac_link) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } &&
11945 { ac_try
='test -s conftest$ac_exeext'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; }; then
11951 ac_cv_lib_cExt_drand48
=yes
11953 echo "$as_me: failed program was:" >&5
11954 sed 's/^/| /' conftest.
$ac_ext >&5
11956 ac_cv_lib_cExt_drand48
=no
11958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11959 LIBS
=$ac_check_lib_save_LIBS
11961 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11962 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11963 if test $ac_cv_lib_cExt_drand48 = yes; then
11964 LIBS
="$LIBS -lcExt"
11968 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11974 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11975 echo "$as_me:$LINENO: checking for strings.h" >&5
11976 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11977 if test "${ac_cv_header_strings_h+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11980 ac_cv_header_strings_h
=no
11982 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11983 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11984 if test "$ac_cv_header_strings_h" = "no"; then
11985 echo "$as_me:$LINENO: result: forced no into cache" >&5
11986 echo "${ECHO_T}forced no into cache" >&6
11988 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11989 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11992 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11993 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11994 if test "${ac_cv_header_stdc+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 cat >conftest.
$ac_ext <<_ACEOF
11998 #line $LINENO "configure"
12001 cat confdefs.h
>>conftest.
$ac_ext
12002 cat >>conftest.
$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12004 #include <stdlib.h>
12005 #include <stdarg.h>
12006 #include <string.h>
12017 rm -f conftest.
$ac_objext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12019 (eval $ac_compile) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } &&
12023 { ac_try
='test -s conftest.$ac_objext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_header_stdc
=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12034 ac_cv_header_stdc
=no
12036 rm -f conftest.
$ac_objext conftest.
$ac_ext
12038 if test $ac_cv_header_stdc = yes; then
12039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12040 cat >conftest.
$ac_ext <<_ACEOF
12041 #line $LINENO "configure"
12044 cat confdefs.h
>>conftest.
$ac_ext
12045 cat >>conftest.
$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12047 #include <string.h>
12050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12051 $EGREP "memchr" >/dev
/null
2>&1; then
12054 ac_cv_header_stdc
=no
12060 if test $ac_cv_header_stdc = yes; then
12061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12062 cat >conftest.
$ac_ext <<_ACEOF
12063 #line $LINENO "configure"
12066 cat confdefs.h
>>conftest.
$ac_ext
12067 cat >>conftest.
$ac_ext <<_ACEOF
12068 /* end confdefs.h. */
12069 #include <stdlib.h>
12072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12073 $EGREP "free" >/dev
/null
2>&1; then
12076 ac_cv_header_stdc
=no
12082 if test $ac_cv_header_stdc = yes; then
12083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12084 if test "$cross_compiling" = yes; then
12087 cat >conftest.
$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 #if ((' ' & 0x0FF) == 0x020)
12096 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12097 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12099 # define ISLOWER(c) \
12100 (('a' <= (c) && (c) <= 'i') \
12101 || ('j' <= (c) && (c) <= 'r') \
12102 || ('s' <= (c) && (c) <= 'z'))
12103 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12106 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12111 for (i = 0; i < 256; i++)
12112 if (XOR (islower (i), ISLOWER (i))
12113 || toupper (i) != TOUPPER (i))
12118 rm -f conftest
$ac_exeext
12119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12120 (eval $ac_link) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12125 (eval $ac_try) 2>&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }; }; then
12131 echo "$as_me: program exited with status $ac_status" >&5
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.
$ac_ext >&5
12135 ( exit $ac_status )
12136 ac_cv_header_stdc
=no
12138 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12142 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12143 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12144 if test $ac_cv_header_stdc = yes; then
12146 cat >>confdefs.h
<<\_ACEOF
12147 #define STDC_HEADERS 1
12152 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12162 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12163 inttypes.h stdint.h unistd.h
12165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12166 echo "$as_me:$LINENO: checking for $ac_header" >&5
12167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 cat >conftest.
$ac_ext <<_ACEOF
12172 #line $LINENO "configure"
12175 cat confdefs.h
>>conftest.
$ac_ext
12176 cat >>conftest.
$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12178 $ac_includes_default
12180 #include <$ac_header>
12182 rm -f conftest.
$ac_objext
12183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12184 (eval $ac_compile) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try
='test -s conftest.$ac_objext'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 eval "$as_ac_Header=yes"
12196 echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.
$ac_ext >&5
12199 eval "$as_ac_Header=no"
12201 rm -f conftest.
$ac_objext conftest.
$ac_ext
12203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12206 cat >>confdefs.h
<<_ACEOF
12207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12216 for ac_header
in strings.h
12218 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12220 echo "$as_me:$LINENO: checking for $ac_header" >&5
12221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12228 # Is the header compilable?
12229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12231 cat >conftest.
$ac_ext <<_ACEOF
12232 #line $LINENO "configure"
12235 cat confdefs.h
>>conftest.
$ac_ext
12236 cat >>conftest.
$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12238 $ac_includes_default
12239 #include <$ac_header>
12241 rm -f conftest.
$ac_objext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } &&
12247 { ac_try
='test -s conftest.$ac_objext'
12248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12249 (eval $ac_try) 2>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); }; }; then
12253 ac_header_compiler
=yes
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.
$ac_ext >&5
12258 ac_header_compiler
=no
12260 rm -f conftest.
$ac_objext conftest.
$ac_ext
12261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12262 echo "${ECHO_T}$ac_header_compiler" >&6
12264 # Is the header present?
12265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12267 cat >conftest.
$ac_ext <<_ACEOF
12268 #line $LINENO "configure"
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12274 #include <$ac_header>
12276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12279 grep -v '^ *+' conftest.er1
>conftest.err
12281 cat conftest.err
>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); } >/dev
/null
; then
12284 if test -s conftest.err
; then
12285 ac_cpp_err
=$ac_c_preproc_warn_flag
12292 if test -z "$ac_cpp_err"; then
12293 ac_header_preproc
=yes
12295 echo "$as_me: failed program was:" >&5
12296 sed 's/^/| /' conftest.
$ac_ext >&5
12298 ac_header_preproc
=no
12300 rm -f conftest.err conftest.
$ac_ext
12301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12302 echo "${ECHO_T}$ac_header_preproc" >&6
12304 # So? What about this header?
12305 case $ac_header_compiler:$ac_header_preproc in
12307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12313 ## ------------------------------------ ##
12314 ## Report this to bug-autoconf@gnu.org. ##
12315 ## ------------------------------------ ##
12318 sed "s/^/$as_me: WARNING: /" >&2
12321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12329 ## ------------------------------------ ##
12330 ## Report this to bug-autoconf@gnu.org. ##
12331 ## ------------------------------------ ##
12334 sed "s/^/$as_me: WARNING: /" >&2
12337 echo "$as_me:$LINENO: checking for $ac_header" >&5
12338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 eval "$as_ac_Header=$ac_header_preproc"
12344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12349 cat >>confdefs.h
<<_ACEOF
12350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12359 for ac_header
in stdlib.h
12361 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12363 echo "$as_me:$LINENO: checking for $ac_header" >&5
12364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12371 # Is the header compilable?
12372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12374 cat >conftest.
$ac_ext <<_ACEOF
12375 #line $LINENO "configure"
12378 cat confdefs.h
>>conftest.
$ac_ext
12379 cat >>conftest.
$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12381 $ac_includes_default
12382 #include <$ac_header>
12384 rm -f conftest.
$ac_objext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12386 (eval $ac_compile) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } &&
12390 { ac_try
='test -s conftest.$ac_objext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_header_compiler
=yes
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.
$ac_ext >&5
12401 ac_header_compiler
=no
12403 rm -f conftest.
$ac_objext conftest.
$ac_ext
12404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12405 echo "${ECHO_T}$ac_header_compiler" >&6
12407 # Is the header present?
12408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12410 cat >conftest.
$ac_ext <<_ACEOF
12411 #line $LINENO "configure"
12414 cat confdefs.h
>>conftest.
$ac_ext
12415 cat >>conftest.
$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12417 #include <$ac_header>
12419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } >/dev
/null
; then
12427 if test -s conftest.err
; then
12428 ac_cpp_err
=$ac_c_preproc_warn_flag
12435 if test -z "$ac_cpp_err"; then
12436 ac_header_preproc
=yes
12438 echo "$as_me: failed program was:" >&5
12439 sed 's/^/| /' conftest.
$ac_ext >&5
12441 ac_header_preproc
=no
12443 rm -f conftest.err conftest.
$ac_ext
12444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12445 echo "${ECHO_T}$ac_header_preproc" >&6
12447 # So? What about this header?
12448 case $ac_header_compiler:$ac_header_preproc in
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12456 ## ------------------------------------ ##
12457 ## Report this to bug-autoconf@gnu.org. ##
12458 ## ------------------------------------ ##
12461 sed "s/^/$as_me: WARNING: /" >&2
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12472 ## ------------------------------------ ##
12473 ## Report this to bug-autoconf@gnu.org. ##
12474 ## ------------------------------------ ##
12477 sed "s/^/$as_me: WARNING: /" >&2
12480 echo "$as_me:$LINENO: checking for $ac_header" >&5
12481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 eval "$as_ac_Header=$ac_header_preproc"
12487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12492 cat >>confdefs.h
<<_ACEOF
12493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12501 for ac_header
in malloc.h
12503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12505 echo "$as_me:$LINENO: checking for $ac_header" >&5
12506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12513 # Is the header compilable?
12514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12516 cat >conftest.
$ac_ext <<_ACEOF
12517 #line $LINENO "configure"
12520 cat confdefs.h
>>conftest.
$ac_ext
12521 cat >>conftest.
$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 $ac_includes_default
12524 #include <$ac_header>
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); } &&
12532 { ac_try
='test -s conftest.$ac_objext'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; }; then
12538 ac_header_compiler
=yes
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.
$ac_ext >&5
12543 ac_header_compiler
=no
12545 rm -f conftest.
$ac_objext conftest.
$ac_ext
12546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12547 echo "${ECHO_T}$ac_header_compiler" >&6
12549 # Is the header present?
12550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12552 cat >conftest.
$ac_ext <<_ACEOF
12553 #line $LINENO "configure"
12556 cat confdefs.h
>>conftest.
$ac_ext
12557 cat >>conftest.
$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12559 #include <$ac_header>
12561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12564 grep -v '^ *+' conftest.er1
>conftest.err
12566 cat conftest.err
>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } >/dev
/null
; then
12569 if test -s conftest.err
; then
12570 ac_cpp_err
=$ac_c_preproc_warn_flag
12577 if test -z "$ac_cpp_err"; then
12578 ac_header_preproc
=yes
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.
$ac_ext >&5
12583 ac_header_preproc
=no
12585 rm -f conftest.err conftest.
$ac_ext
12586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12587 echo "${ECHO_T}$ac_header_preproc" >&6
12589 # So? What about this header?
12590 case $ac_header_compiler:$ac_header_preproc in
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12598 ## ------------------------------------ ##
12599 ## Report this to bug-autoconf@gnu.org. ##
12600 ## ------------------------------------ ##
12603 sed "s/^/$as_me: WARNING: /" >&2
12606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12614 ## ------------------------------------ ##
12615 ## Report this to bug-autoconf@gnu.org. ##
12616 ## ------------------------------------ ##
12619 sed "s/^/$as_me: WARNING: /" >&2
12622 echo "$as_me:$LINENO: checking for $ac_header" >&5
12623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12625 echo $ECHO_N "(cached) $ECHO_C" >&6
12627 eval "$as_ac_Header=$ac_header_preproc"
12629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12634 cat >>confdefs.h
<<_ACEOF
12635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12643 for ac_header
in unistd.h
12645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12647 echo "$as_me:$LINENO: checking for $ac_header" >&5
12648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12655 # Is the header compilable?
12656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12658 cat >conftest.
$ac_ext <<_ACEOF
12659 #line $LINENO "configure"
12662 cat confdefs.h
>>conftest.
$ac_ext
12663 cat >>conftest.
$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12665 $ac_includes_default
12666 #include <$ac_header>
12668 rm -f conftest.
$ac_objext
12669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12670 (eval $ac_compile) 2>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try
='test -s conftest.$ac_objext'
12675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676 (eval $ac_try) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }; }; then
12680 ac_header_compiler
=yes
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.
$ac_ext >&5
12685 ac_header_compiler
=no
12687 rm -f conftest.
$ac_objext conftest.
$ac_ext
12688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12689 echo "${ECHO_T}$ac_header_compiler" >&6
12691 # Is the header present?
12692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12694 cat >conftest.
$ac_ext <<_ACEOF
12695 #line $LINENO "configure"
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 #include <$ac_header>
12703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12706 grep -v '^ *+' conftest.er1
>conftest.err
12708 cat conftest.err
>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } >/dev
/null
; then
12711 if test -s conftest.err
; then
12712 ac_cpp_err
=$ac_c_preproc_warn_flag
12719 if test -z "$ac_cpp_err"; then
12720 ac_header_preproc
=yes
12722 echo "$as_me: failed program was:" >&5
12723 sed 's/^/| /' conftest.
$ac_ext >&5
12725 ac_header_preproc
=no
12727 rm -f conftest.err conftest.
$ac_ext
12728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12729 echo "${ECHO_T}$ac_header_preproc" >&6
12731 # So? What about this header?
12732 case $ac_header_compiler:$ac_header_preproc in
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12740 ## ------------------------------------ ##
12741 ## Report this to bug-autoconf@gnu.org. ##
12742 ## ------------------------------------ ##
12745 sed "s/^/$as_me: WARNING: /" >&2
12748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12756 ## ------------------------------------ ##
12757 ## Report this to bug-autoconf@gnu.org. ##
12758 ## ------------------------------------ ##
12761 sed "s/^/$as_me: WARNING: /" >&2
12764 echo "$as_me:$LINENO: checking for $ac_header" >&5
12765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 eval "$as_ac_Header=$ac_header_preproc"
12771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12776 cat >>confdefs.h
<<_ACEOF
12777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12785 for ac_header
in wchar.h
12787 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12789 echo "$as_me:$LINENO: checking for $ac_header" >&5
12790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12797 # Is the header compilable?
12798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12800 cat >conftest.
$ac_ext <<_ACEOF
12801 #line $LINENO "configure"
12804 cat confdefs.h
>>conftest.
$ac_ext
12805 cat >>conftest.
$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 $ac_includes_default
12808 #include <$ac_header>
12810 rm -f conftest.
$ac_objext
12811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12812 (eval $ac_compile) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); } &&
12816 { ac_try
='test -s conftest.$ac_objext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 ac_header_compiler
=yes
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.
$ac_ext >&5
12827 ac_header_compiler
=no
12829 rm -f conftest.
$ac_objext conftest.
$ac_ext
12830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12831 echo "${ECHO_T}$ac_header_compiler" >&6
12833 # Is the header present?
12834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12836 cat >conftest.
$ac_ext <<_ACEOF
12837 #line $LINENO "configure"
12840 cat confdefs.h
>>conftest.
$ac_ext
12841 cat >>conftest.
$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12843 #include <$ac_header>
12845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12848 grep -v '^ *+' conftest.er1
>conftest.err
12850 cat conftest.err
>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); } >/dev
/null
; then
12853 if test -s conftest.err
; then
12854 ac_cpp_err
=$ac_c_preproc_warn_flag
12861 if test -z "$ac_cpp_err"; then
12862 ac_header_preproc
=yes
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.
$ac_ext >&5
12867 ac_header_preproc
=no
12869 rm -f conftest.err conftest.
$ac_ext
12870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12871 echo "${ECHO_T}$ac_header_preproc" >&6
12873 # So? What about this header?
12874 case $ac_header_compiler:$ac_header_preproc in
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12882 ## ------------------------------------ ##
12883 ## Report this to bug-autoconf@gnu.org. ##
12884 ## ------------------------------------ ##
12887 sed "s/^/$as_me: WARNING: /" >&2
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12898 ## ------------------------------------ ##
12899 ## Report this to bug-autoconf@gnu.org. ##
12900 ## ------------------------------------ ##
12903 sed "s/^/$as_me: WARNING: /" >&2
12906 echo "$as_me:$LINENO: checking for $ac_header" >&5
12907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12909 echo $ECHO_N "(cached) $ECHO_C" >&6
12911 eval "$as_ac_Header=$ac_header_preproc"
12913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12918 cat >>confdefs.h
<<_ACEOF
12919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12927 if test "$ac_cv_header_wchar_h" != "yes"; then
12929 for ac_header
in wcstr.h
12931 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12933 echo "$as_me:$LINENO: checking for $ac_header" >&5
12934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12941 # Is the header compilable?
12942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12944 cat >conftest.
$ac_ext <<_ACEOF
12945 #line $LINENO "configure"
12948 cat confdefs.h
>>conftest.
$ac_ext
12949 cat >>conftest.
$ac_ext <<_ACEOF
12950 /* end confdefs.h. */
12951 $ac_includes_default
12952 #include <$ac_header>
12954 rm -f conftest.
$ac_objext
12955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12956 (eval $ac_compile) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } &&
12960 { ac_try
='test -s conftest.$ac_objext'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; }; then
12966 ac_header_compiler
=yes
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.
$ac_ext >&5
12971 ac_header_compiler
=no
12973 rm -f conftest.
$ac_objext conftest.
$ac_ext
12974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12975 echo "${ECHO_T}$ac_header_compiler" >&6
12977 # Is the header present?
12978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12980 cat >conftest.
$ac_ext <<_ACEOF
12981 #line $LINENO "configure"
12984 cat confdefs.h
>>conftest.
$ac_ext
12985 cat >>conftest.
$ac_ext <<_ACEOF
12986 /* end confdefs.h. */
12987 #include <$ac_header>
12989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12992 grep -v '^ *+' conftest.er1
>conftest.err
12994 cat conftest.err
>&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); } >/dev
/null
; then
12997 if test -s conftest.err
; then
12998 ac_cpp_err
=$ac_c_preproc_warn_flag
13005 if test -z "$ac_cpp_err"; then
13006 ac_header_preproc
=yes
13008 echo "$as_me: failed program was:" >&5
13009 sed 's/^/| /' conftest.
$ac_ext >&5
13011 ac_header_preproc
=no
13013 rm -f conftest.err conftest.
$ac_ext
13014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13015 echo "${ECHO_T}$ac_header_preproc" >&6
13017 # So? What about this header?
13018 case $ac_header_compiler:$ac_header_preproc in
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13026 ## ------------------------------------ ##
13027 ## Report this to bug-autoconf@gnu.org. ##
13028 ## ------------------------------------ ##
13031 sed "s/^/$as_me: WARNING: /" >&2
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13042 ## ------------------------------------ ##
13043 ## Report this to bug-autoconf@gnu.org. ##
13044 ## ------------------------------------ ##
13047 sed "s/^/$as_me: WARNING: /" >&2
13050 echo "$as_me:$LINENO: checking for $ac_header" >&5
13051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13053 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 eval "$as_ac_Header=$ac_header_preproc"
13057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13062 cat >>confdefs.h
<<_ACEOF
13063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13073 for ac_header
in fnmatch.h
13075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13077 echo "$as_me:$LINENO: checking for $ac_header" >&5
13078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13085 # Is the header compilable?
13086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13088 cat >conftest.
$ac_ext <<_ACEOF
13089 #line $LINENO "configure"
13092 cat confdefs.h
>>conftest.
$ac_ext
13093 cat >>conftest.
$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 $ac_includes_default
13096 #include <$ac_header>
13098 rm -f conftest.
$ac_objext
13099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13100 (eval $ac_compile) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); } &&
13104 { ac_try
='test -s conftest.$ac_objext'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; }; then
13110 ac_header_compiler
=yes
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.
$ac_ext >&5
13115 ac_header_compiler
=no
13117 rm -f conftest.
$ac_objext conftest.
$ac_ext
13118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13119 echo "${ECHO_T}$ac_header_compiler" >&6
13121 # Is the header present?
13122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13124 cat >conftest.
$ac_ext <<_ACEOF
13125 #line $LINENO "configure"
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <$ac_header>
13133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13136 grep -v '^ *+' conftest.er1
>conftest.err
13138 cat conftest.err
>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } >/dev
/null
; then
13141 if test -s conftest.err
; then
13142 ac_cpp_err
=$ac_c_preproc_warn_flag
13149 if test -z "$ac_cpp_err"; then
13150 ac_header_preproc
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_header_preproc
=no
13157 rm -f conftest.err conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13159 echo "${ECHO_T}$ac_header_preproc" >&6
13161 # So? What about this header?
13162 case $ac_header_compiler:$ac_header_preproc in
13164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13170 ## ------------------------------------ ##
13171 ## Report this to bug-autoconf@gnu.org. ##
13172 ## ------------------------------------ ##
13175 sed "s/^/$as_me: WARNING: /" >&2
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13186 ## ------------------------------------ ##
13187 ## Report this to bug-autoconf@gnu.org. ##
13188 ## ------------------------------------ ##
13191 sed "s/^/$as_me: WARNING: /" >&2
13194 echo "$as_me:$LINENO: checking for $ac_header" >&5
13195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 eval "$as_ac_Header=$ac_header_preproc"
13201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13206 cat >>confdefs.h
<<_ACEOF
13207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13215 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13217 for ac_func
in fnmatch
13219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13220 echo "$as_me:$LINENO: checking for $ac_func" >&5
13221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13222 if eval "test \"\${$as_ac_var+set}\" = set"; then
13223 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 cat >conftest.
$ac_ext <<_ACEOF
13226 #line $LINENO "configure"
13229 cat confdefs.h
>>conftest.
$ac_ext
13230 cat >>conftest.
$ac_ext <<_ACEOF
13231 /* end confdefs.h. */
13232 /* System header to define __stub macros and hopefully few prototypes,
13233 which can conflict with char $ac_func (); below.
13234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13235 <limits.h> exists even on freestanding compilers. */
13237 # include <limits.h>
13239 # include <assert.h>
13241 /* Override any gcc2 internal prototype to avoid an error. */
13246 /* We use char because int might match the return type of a gcc2
13247 builtin and then its argument prototype would still apply. */
13249 /* The GNU C library defines this for functions which it implements
13250 to always fail with ENOSYS. Some functions are actually named
13251 something starting with __ and the normal name is an alias. */
13252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13255 char (*f) () = $ac_func;
13264 return f != $ac_func;
13269 rm -f conftest.
$ac_objext conftest
$ac_exeext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13271 (eval $ac_link) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try
='test -s conftest$ac_exeext'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; }; then
13281 eval "$as_ac_var=yes"
13283 echo "$as_me: failed program was:" >&5
13284 sed 's/^/| /' conftest.
$ac_ext >&5
13286 eval "$as_ac_var=no"
13288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13292 if test `eval echo '${'$as_ac_var'}'` = yes; then
13293 cat >>confdefs.h
<<_ACEOF
13294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13303 for ac_header
in langinfo.h
13305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13307 echo "$as_me:$LINENO: checking for $ac_header" >&5
13308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13315 # Is the header compilable?
13316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13318 cat >conftest.
$ac_ext <<_ACEOF
13319 #line $LINENO "configure"
13322 cat confdefs.h
>>conftest.
$ac_ext
13323 cat >>conftest.
$ac_ext <<_ACEOF
13324 /* end confdefs.h. */
13325 $ac_includes_default
13326 #include <$ac_header>
13328 rm -f conftest.
$ac_objext
13329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13330 (eval $ac_compile) 2>&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); } &&
13334 { ac_try
='test -s conftest.$ac_objext'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13340 ac_header_compiler
=yes
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.
$ac_ext >&5
13345 ac_header_compiler
=no
13347 rm -f conftest.
$ac_objext conftest.
$ac_ext
13348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13349 echo "${ECHO_T}$ac_header_compiler" >&6
13351 # Is the header present?
13352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13354 cat >conftest.
$ac_ext <<_ACEOF
13355 #line $LINENO "configure"
13358 cat confdefs.h
>>conftest.
$ac_ext
13359 cat >>conftest.
$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361 #include <$ac_header>
13363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13366 grep -v '^ *+' conftest.er1
>conftest.err
13368 cat conftest.err
>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } >/dev
/null
; then
13371 if test -s conftest.err
; then
13372 ac_cpp_err
=$ac_c_preproc_warn_flag
13379 if test -z "$ac_cpp_err"; then
13380 ac_header_preproc
=yes
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 ac_header_preproc
=no
13387 rm -f conftest.err conftest.
$ac_ext
13388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13389 echo "${ECHO_T}$ac_header_preproc" >&6
13391 # So? What about this header?
13392 case $ac_header_compiler:$ac_header_preproc in
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13400 ## ------------------------------------ ##
13401 ## Report this to bug-autoconf@gnu.org. ##
13402 ## ------------------------------------ ##
13405 sed "s/^/$as_me: WARNING: /" >&2
13408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13416 ## ------------------------------------ ##
13417 ## Report this to bug-autoconf@gnu.org. ##
13418 ## ------------------------------------ ##
13421 sed "s/^/$as_me: WARNING: /" >&2
13424 echo "$as_me:$LINENO: checking for $ac_header" >&5
13425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13427 echo $ECHO_N "(cached) $ECHO_C" >&6
13429 eval "$as_ac_Header=$ac_header_preproc"
13431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13436 cat >>confdefs.h
<<_ACEOF
13437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13446 *-pc-os2_emx | *-pc-os2-emx )
13447 if test $ac_cv_header_langinfo_h = "yes"; then
13448 LIBS
="$LIBS -lintl"
13453 if test "$wxUSE_GUI" = "yes"; then
13454 if test "$wxUSE_UNIX" = "yes"; then
13456 for ac_header
in X
11/XKBlib.h
13458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13460 echo "$as_me:$LINENO: checking for $ac_header" >&5
13461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13468 # Is the header compilable?
13469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13471 cat >conftest.
$ac_ext <<_ACEOF
13472 #line $LINENO "configure"
13475 cat confdefs.h
>>conftest.
$ac_ext
13476 cat >>conftest.
$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478 $ac_includes_default
13479 #include <$ac_header>
13481 rm -f conftest.
$ac_objext
13482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13483 (eval $ac_compile) 2>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } &&
13487 { ac_try
='test -s conftest.$ac_objext'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; }; then
13493 ac_header_compiler
=yes
13495 echo "$as_me: failed program was:" >&5
13496 sed 's/^/| /' conftest.
$ac_ext >&5
13498 ac_header_compiler
=no
13500 rm -f conftest.
$ac_objext conftest.
$ac_ext
13501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13502 echo "${ECHO_T}$ac_header_compiler" >&6
13504 # Is the header present?
13505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13507 cat >conftest.
$ac_ext <<_ACEOF
13508 #line $LINENO "configure"
13511 cat confdefs.h
>>conftest.
$ac_ext
13512 cat >>conftest.
$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 #include <$ac_header>
13516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13519 grep -v '^ *+' conftest.er1
>conftest.err
13521 cat conftest.err
>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } >/dev
/null
; then
13524 if test -s conftest.err
; then
13525 ac_cpp_err
=$ac_c_preproc_warn_flag
13532 if test -z "$ac_cpp_err"; then
13533 ac_header_preproc
=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.
$ac_ext >&5
13538 ac_header_preproc
=no
13540 rm -f conftest.err conftest.
$ac_ext
13541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13542 echo "${ECHO_T}$ac_header_preproc" >&6
13544 # So? What about this header?
13545 case $ac_header_compiler:$ac_header_preproc in
13547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13553 ## ------------------------------------ ##
13554 ## Report this to bug-autoconf@gnu.org. ##
13555 ## ------------------------------------ ##
13558 sed "s/^/$as_me: WARNING: /" >&2
13561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13569 ## ------------------------------------ ##
13570 ## Report this to bug-autoconf@gnu.org. ##
13571 ## ------------------------------------ ##
13574 sed "s/^/$as_me: WARNING: /" >&2
13577 echo "$as_me:$LINENO: checking for $ac_header" >&5
13578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13582 eval "$as_ac_Header=$ac_header_preproc"
13584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13589 cat >>confdefs.h
<<_ACEOF
13590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13601 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13602 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13603 if test "${ac_cv_c_const+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 cat >conftest.
$ac_ext <<_ACEOF
13607 #line $LINENO "configure"
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13617 /* FIXME: Include the comments suggested by Paul. */
13618 #ifndef __cplusplus
13619 /* Ultrix mips cc rejects this. */
13620 typedef int charset[2];
13622 /* SunOS 4.1.1 cc rejects this. */
13623 char const *const *ccp;
13625 /* NEC SVR4.0.2 mips cc rejects this. */
13626 struct point {int x, y;};
13627 static struct point const zero = {0,0};
13628 /* AIX XL C 1.02.0.0 rejects this.
13629 It does not let you subtract one const X* pointer from another in
13630 an arm of an if-expression whose if-part is not a constant
13632 const char *g = "string";
13633 ccp = &g + (g ? g-g : 0);
13634 /* HPUX 7.0 cc rejects these. */
13637 ccp = (char const *const *) p;
13638 { /* SCO 3.2v4 cc rejects this. */
13640 char const *s = 0 ? (char *) 0 : (char const *) 0;
13644 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13645 int x[] = {25, 17};
13646 const int *foo = &x[0];
13649 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13650 typedef const int *iptr;
13654 { /* AIX XL C 1.02.0.0 rejects this saying
13655 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13656 struct s { int j; const int *ap[3]; };
13657 struct s *b; b->j = 5;
13659 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13660 const int foo = 10;
13668 rm -f conftest.
$ac_objext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try
='test -s conftest.$ac_objext'
13675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13676 (eval $ac_try) 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }; }; then
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.
$ac_ext >&5
13687 rm -f conftest.
$ac_objext conftest.
$ac_ext
13689 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13690 echo "${ECHO_T}$ac_cv_c_const" >&6
13691 if test $ac_cv_c_const = no
; then
13693 cat >>confdefs.h
<<\_ACEOF
13699 echo "$as_me:$LINENO: checking for inline" >&5
13700 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13701 if test "${ac_cv_c_inline+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13705 for ac_kw
in inline __inline__ __inline
; do
13706 cat >conftest.
$ac_ext <<_ACEOF
13707 #line $LINENO "configure"
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #ifndef __cplusplus
13715 static $ac_kw foo_t static_foo () {return 0; }
13716 $ac_kw foo_t foo () {return 0; }
13720 rm -f conftest.
$ac_objext
13721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13722 (eval $ac_compile) 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try
='test -s conftest.$ac_objext'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; }; then
13732 ac_cv_c_inline
=$ac_kw; break
13734 echo "$as_me: failed program was:" >&5
13735 sed 's/^/| /' conftest.
$ac_ext >&5
13738 rm -f conftest.
$ac_objext conftest.
$ac_ext
13742 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13743 echo "${ECHO_T}$ac_cv_c_inline" >&6
13744 case $ac_cv_c_inline in
13747 cat >>confdefs.h
<<\_ACEOF
13751 *) cat >>confdefs.h
<<_ACEOF
13752 #define inline $ac_cv_c_inline
13758 echo "$as_me:$LINENO: checking for char" >&5
13759 echo $ECHO_N "checking for char... $ECHO_C" >&6
13760 if test "${ac_cv_type_char+set}" = set; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 cat >conftest.
$ac_ext <<_ACEOF
13764 #line $LINENO "configure"
13767 cat confdefs.h
>>conftest.
$ac_ext
13768 cat >>conftest.
$ac_ext <<_ACEOF
13769 /* end confdefs.h. */
13770 $ac_includes_default
13782 rm -f conftest.
$ac_objext
13783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13784 (eval $ac_compile) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try
='test -s conftest.$ac_objext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 ac_cv_type_char
=yes
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.
$ac_ext >&5
13801 rm -f conftest.
$ac_objext conftest.
$ac_ext
13803 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13804 echo "${ECHO_T}$ac_cv_type_char" >&6
13806 echo "$as_me:$LINENO: checking size of char" >&5
13807 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13808 if test "${ac_cv_sizeof_char+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 if test "$ac_cv_type_char" = yes; then
13812 # The cast to unsigned long works around a bug in the HP C Compiler
13813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13815 # This bug is HP SR number 8606223364.
13816 if test "$cross_compiling" = yes; then
13817 # Depending upon the size, compute the lo and hi bounds.
13818 cat >conftest.
$ac_ext <<_ACEOF
13819 #line $LINENO "configure"
13822 cat confdefs.h
>>conftest.
$ac_ext
13823 cat >>conftest.
$ac_ext <<_ACEOF
13824 /* end confdefs.h. */
13825 $ac_includes_default
13829 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13836 rm -f conftest.
$ac_objext
13837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13838 (eval $ac_compile) 2>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try
='test -s conftest.$ac_objext'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13850 cat >conftest.
$ac_ext <<_ACEOF
13851 #line $LINENO "configure"
13854 cat confdefs.h
>>conftest.
$ac_ext
13855 cat >>conftest.
$ac_ext <<_ACEOF
13856 /* end confdefs.h. */
13857 $ac_includes_default
13861 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13868 rm -f conftest.
$ac_objext
13869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13870 (eval $ac_compile) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } &&
13874 { ac_try
='test -s conftest.$ac_objext'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13880 ac_hi
=$ac_mid; break
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 ac_lo
=`expr $ac_mid + 1`
13886 if test $ac_lo -le $ac_mid; then
13890 ac_mid
=`expr 2 '*' $ac_mid + 1`
13892 rm -f conftest.
$ac_objext conftest.
$ac_ext
13895 echo "$as_me: failed program was:" >&5
13896 sed 's/^/| /' conftest.
$ac_ext >&5
13898 cat >conftest.
$ac_ext <<_ACEOF
13899 #line $LINENO "configure"
13902 cat confdefs.h
>>conftest.
$ac_ext
13903 cat >>conftest.
$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 $ac_includes_default
13909 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13916 rm -f conftest.
$ac_objext
13917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13918 (eval $ac_compile) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } &&
13922 { ac_try
='test -s conftest.$ac_objext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13930 cat >conftest.
$ac_ext <<_ACEOF
13931 #line $LINENO "configure"
13934 cat confdefs.h
>>conftest.
$ac_ext
13935 cat >>conftest.
$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 $ac_includes_default
13941 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13948 rm -f conftest.
$ac_objext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13950 (eval $ac_compile) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } &&
13954 { ac_try
='test -s conftest.$ac_objext'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; }; then
13960 ac_lo
=$ac_mid; break
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.
$ac_ext >&5
13965 ac_hi
=`expr '(' $ac_mid ')' - 1`
13966 if test $ac_mid -le $ac_hi; then
13970 ac_mid
=`expr 2 '*' $ac_mid`
13972 rm -f conftest.
$ac_objext conftest.
$ac_ext
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.
$ac_ext >&5
13980 rm -f conftest.
$ac_objext conftest.
$ac_ext
13982 rm -f conftest.
$ac_objext conftest.
$ac_ext
13983 # Binary search between lo and hi bounds.
13984 while test "x$ac_lo" != "x$ac_hi"; do
13985 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13986 cat >conftest.
$ac_ext <<_ACEOF
13987 #line $LINENO "configure"
13990 cat confdefs.h
>>conftest.
$ac_ext
13991 cat >>conftest.
$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 $ac_includes_default
13997 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14004 rm -f conftest.
$ac_objext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14006 (eval $ac_compile) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } &&
14010 { ac_try
='test -s conftest.$ac_objext'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; }; then
14018 echo "$as_me: failed program was:" >&5
14019 sed 's/^/| /' conftest.
$ac_ext >&5
14021 ac_lo
=`expr '(' $ac_mid ')' + 1`
14023 rm -f conftest.
$ac_objext conftest.
$ac_ext
14026 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14027 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14028 See \`config.log' for more details." >&5
14029 echo "$as_me: error: cannot compute sizeof (char), 77
14030 See \`config.log' for more details." >&2;}
14031 { (exit 1); exit 1; }; } ;;
14034 if test "$cross_compiling" = yes; then
14035 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14036 See \`config.log' for more details." >&5
14037 echo "$as_me: error: cannot run test program while cross compiling
14038 See \`config.log' for more details." >&2;}
14039 { (exit 1); exit 1; }; }
14041 cat >conftest.
$ac_ext <<_ACEOF
14042 #line $LINENO "configure"
14045 cat confdefs.h
>>conftest.
$ac_ext
14046 cat >>conftest.
$ac_ext <<_ACEOF
14047 /* end confdefs.h. */
14048 $ac_includes_default
14049 long longval () { return (long) (sizeof (char)); }
14050 unsigned long ulongval () { return (long) (sizeof (char)); }
14052 #include <stdlib.h>
14057 FILE *f = fopen ("conftest.val", "w");
14060 if (((long) (sizeof (char))) < 0)
14062 long i = longval ();
14063 if (i != ((long) (sizeof (char))))
14065 fprintf (f, "%ld\n", i);
14069 unsigned long i = ulongval ();
14070 if (i != ((long) (sizeof (char))))
14072 fprintf (f, "%lu\n", i);
14074 exit (ferror (f) || fclose (f) != 0);
14080 rm -f conftest
$ac_exeext
14081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14082 (eval $ac_link) 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 ac_cv_sizeof_char
=`cat conftest.val`
14093 echo "$as_me: program exited with status $ac_status" >&5
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.
$ac_ext >&5
14097 ( exit $ac_status )
14098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14099 See \`config.log' for more details." >&5
14100 echo "$as_me: error: cannot compute sizeof (char), 77
14101 See \`config.log' for more details." >&2;}
14102 { (exit 1); exit 1; }; }
14104 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14109 ac_cv_sizeof_char
=0
14112 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14113 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14114 cat >>confdefs.h
<<_ACEOF
14115 #define SIZEOF_CHAR $ac_cv_sizeof_char
14119 echo "$as_me:$LINENO: checking for short" >&5
14120 echo $ECHO_N "checking for short... $ECHO_C" >&6
14121 if test "${ac_cv_type_short+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 cat >conftest.
$ac_ext <<_ACEOF
14125 #line $LINENO "configure"
14128 cat confdefs.h
>>conftest.
$ac_ext
14129 cat >>conftest.
$ac_ext <<_ACEOF
14130 /* end confdefs.h. */
14131 $ac_includes_default
14137 if (sizeof (short))
14143 rm -f conftest.
$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145 (eval $ac_compile) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); } &&
14149 { ac_try
='test -s conftest.$ac_objext'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; }; then
14155 ac_cv_type_short
=yes
14157 echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.
$ac_ext >&5
14160 ac_cv_type_short
=no
14162 rm -f conftest.
$ac_objext conftest.
$ac_ext
14164 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14165 echo "${ECHO_T}$ac_cv_type_short" >&6
14167 echo "$as_me:$LINENO: checking size of short" >&5
14168 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14169 if test "${ac_cv_sizeof_short+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 if test "$ac_cv_type_short" = yes; then
14173 # The cast to unsigned long works around a bug in the HP C Compiler
14174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14176 # This bug is HP SR number 8606223364.
14177 if test "$cross_compiling" = yes; then
14178 # Depending upon the size, compute the lo and hi bounds.
14179 cat >conftest.
$ac_ext <<_ACEOF
14180 #line $LINENO "configure"
14183 cat confdefs.h
>>conftest.
$ac_ext
14184 cat >>conftest.
$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 $ac_includes_default
14190 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14197 rm -f conftest.
$ac_objext
14198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14199 (eval $ac_compile) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); } &&
14203 { ac_try
='test -s conftest.$ac_objext'
14204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14205 (eval $ac_try) 2>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); }; }; then
14211 cat >conftest.
$ac_ext <<_ACEOF
14212 #line $LINENO "configure"
14215 cat confdefs.h
>>conftest.
$ac_ext
14216 cat >>conftest.
$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14218 $ac_includes_default
14222 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14229 rm -f conftest.
$ac_objext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14231 (eval $ac_compile) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } &&
14235 { ac_try
='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14241 ac_hi
=$ac_mid; break
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ac_lo
=`expr $ac_mid + 1`
14247 if test $ac_lo -le $ac_mid; then
14251 ac_mid
=`expr 2 '*' $ac_mid + 1`
14253 rm -f conftest.
$ac_objext conftest.
$ac_ext
14256 echo "$as_me: failed program was:" >&5
14257 sed 's/^/| /' conftest.
$ac_ext >&5
14259 cat >conftest.
$ac_ext <<_ACEOF
14260 #line $LINENO "configure"
14263 cat confdefs.h
>>conftest.
$ac_ext
14264 cat >>conftest.
$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14266 $ac_includes_default
14270 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14277 rm -f conftest.
$ac_objext
14278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14279 (eval $ac_compile) 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); } &&
14283 { ac_try
='test -s conftest.$ac_objext'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14291 cat >conftest.
$ac_ext <<_ACEOF
14292 #line $LINENO "configure"
14295 cat confdefs.h
>>conftest.
$ac_ext
14296 cat >>conftest.
$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14298 $ac_includes_default
14302 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14309 rm -f conftest.
$ac_objext
14310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14311 (eval $ac_compile) 2>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } &&
14315 { ac_try
='test -s conftest.$ac_objext'
14316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14317 (eval $ac_try) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); }; }; then
14321 ac_lo
=$ac_mid; break
14323 echo "$as_me: failed program was:" >&5
14324 sed 's/^/| /' conftest.
$ac_ext >&5
14326 ac_hi
=`expr '(' $ac_mid ')' - 1`
14327 if test $ac_mid -le $ac_hi; then
14331 ac_mid
=`expr 2 '*' $ac_mid`
14333 rm -f conftest.
$ac_objext conftest.
$ac_ext
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.
$ac_ext >&5
14341 rm -f conftest.
$ac_objext conftest.
$ac_ext
14343 rm -f conftest.
$ac_objext conftest.
$ac_ext
14344 # Binary search between lo and hi bounds.
14345 while test "x$ac_lo" != "x$ac_hi"; do
14346 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14347 cat >conftest.
$ac_ext <<_ACEOF
14348 #line $LINENO "configure"
14351 cat confdefs.h
>>conftest.
$ac_ext
14352 cat >>conftest.
$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14354 $ac_includes_default
14358 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14365 rm -f conftest.
$ac_objext
14366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14367 (eval $ac_compile) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try
='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.
$ac_ext >&5
14382 ac_lo
=`expr '(' $ac_mid ')' + 1`
14384 rm -f conftest.
$ac_objext conftest.
$ac_ext
14387 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14388 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14389 See \`config.log' for more details." >&5
14390 echo "$as_me: error: cannot compute sizeof (short), 77
14391 See \`config.log' for more details." >&2;}
14392 { (exit 1); exit 1; }; } ;;
14395 if test "$cross_compiling" = yes; then
14396 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14397 See \`config.log' for more details." >&5
14398 echo "$as_me: error: cannot run test program while cross compiling
14399 See \`config.log' for more details." >&2;}
14400 { (exit 1); exit 1; }; }
14402 cat >conftest.
$ac_ext <<_ACEOF
14403 #line $LINENO "configure"
14406 cat confdefs.h
>>conftest.
$ac_ext
14407 cat >>conftest.
$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14409 $ac_includes_default
14410 long longval () { return (long) (sizeof (short)); }
14411 unsigned long ulongval () { return (long) (sizeof (short)); }
14413 #include <stdlib.h>
14418 FILE *f = fopen ("conftest.val", "w");
14421 if (((long) (sizeof (short))) < 0)
14423 long i = longval ();
14424 if (i != ((long) (sizeof (short))))
14426 fprintf (f, "%ld\n", i);
14430 unsigned long i = ulongval ();
14431 if (i != ((long) (sizeof (short))))
14433 fprintf (f, "%lu\n", i);
14435 exit (ferror (f) || fclose (f) != 0);
14441 rm -f conftest
$ac_exeext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14443 (eval $ac_link) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14448 (eval $ac_try) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; }; then
14452 ac_cv_sizeof_short
=`cat conftest.val`
14454 echo "$as_me: program exited with status $ac_status" >&5
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.
$ac_ext >&5
14458 ( exit $ac_status )
14459 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14460 See \`config.log' for more details." >&5
14461 echo "$as_me: error: cannot compute sizeof (short), 77
14462 See \`config.log' for more details." >&2;}
14463 { (exit 1); exit 1; }; }
14465 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14470 ac_cv_sizeof_short
=0
14473 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14474 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14475 cat >>confdefs.h
<<_ACEOF
14476 #define SIZEOF_SHORT $ac_cv_sizeof_short
14480 echo "$as_me:$LINENO: checking for void *" >&5
14481 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14482 if test "${ac_cv_type_void_p+set}" = set; then
14483 echo $ECHO_N "(cached) $ECHO_C" >&6
14485 cat >conftest.
$ac_ext <<_ACEOF
14486 #line $LINENO "configure"
14489 cat confdefs.h
>>conftest.
$ac_ext
14490 cat >>conftest.
$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 $ac_includes_default
14498 if (sizeof (void *))
14504 rm -f conftest.
$ac_objext
14505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14506 (eval $ac_compile) 2>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try
='test -s conftest.$ac_objext'
14511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512 (eval $ac_try) 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14516 ac_cv_type_void_p
=yes
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.
$ac_ext >&5
14521 ac_cv_type_void_p
=no
14523 rm -f conftest.
$ac_objext conftest.
$ac_ext
14525 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14526 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14528 echo "$as_me:$LINENO: checking size of void *" >&5
14529 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14530 if test "${ac_cv_sizeof_void_p+set}" = set; then
14531 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 if test "$ac_cv_type_void_p" = yes; then
14534 # The cast to unsigned long works around a bug in the HP C Compiler
14535 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14536 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14537 # This bug is HP SR number 8606223364.
14538 if test "$cross_compiling" = yes; then
14539 # Depending upon the size, compute the lo and hi bounds.
14540 cat >conftest.
$ac_ext <<_ACEOF
14541 #line $LINENO "configure"
14544 cat confdefs.h
>>conftest.
$ac_ext
14545 cat >>conftest.
$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 $ac_includes_default
14551 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14558 rm -f conftest.
$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); } &&
14564 { ac_try
='test -s conftest.$ac_objext'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; }; then
14572 cat >conftest.
$ac_ext <<_ACEOF
14573 #line $LINENO "configure"
14576 cat confdefs.h
>>conftest.
$ac_ext
14577 cat >>conftest.
$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 $ac_includes_default
14583 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14590 rm -f conftest.
$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 ac_hi
=$ac_mid; break
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.
$ac_ext >&5
14607 ac_lo
=`expr $ac_mid + 1`
14608 if test $ac_lo -le $ac_mid; then
14612 ac_mid
=`expr 2 '*' $ac_mid + 1`
14614 rm -f conftest.
$ac_objext conftest.
$ac_ext
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.
$ac_ext >&5
14620 cat >conftest.
$ac_ext <<_ACEOF
14621 #line $LINENO "configure"
14624 cat confdefs.h
>>conftest.
$ac_ext
14625 cat >>conftest.
$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 $ac_includes_default
14631 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14638 rm -f conftest.
$ac_objext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14640 (eval $ac_compile) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try
='test -s conftest.$ac_objext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14652 cat >conftest.
$ac_ext <<_ACEOF
14653 #line $LINENO "configure"
14656 cat confdefs.h
>>conftest.
$ac_ext
14657 cat >>conftest.
$ac_ext <<_ACEOF
14658 /* end confdefs.h. */
14659 $ac_includes_default
14663 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14670 rm -f conftest.
$ac_objext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14672 (eval $ac_compile) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } &&
14676 { ac_try
='test -s conftest.$ac_objext'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14682 ac_lo
=$ac_mid; break
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.
$ac_ext >&5
14687 ac_hi
=`expr '(' $ac_mid ')' - 1`
14688 if test $ac_mid -le $ac_hi; then
14692 ac_mid
=`expr 2 '*' $ac_mid`
14694 rm -f conftest.
$ac_objext conftest.
$ac_ext
14697 echo "$as_me: failed program was:" >&5
14698 sed 's/^/| /' conftest.
$ac_ext >&5
14702 rm -f conftest.
$ac_objext conftest.
$ac_ext
14704 rm -f conftest.
$ac_objext conftest.
$ac_ext
14705 # Binary search between lo and hi bounds.
14706 while test "x$ac_lo" != "x$ac_hi"; do
14707 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14708 cat >conftest.
$ac_ext <<_ACEOF
14709 #line $LINENO "configure"
14712 cat confdefs.h
>>conftest.
$ac_ext
14713 cat >>conftest.
$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14715 $ac_includes_default
14719 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14726 rm -f conftest.
$ac_objext
14727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14728 (eval $ac_compile) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try
='test -s conftest.$ac_objext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.
$ac_ext >&5
14743 ac_lo
=`expr '(' $ac_mid ')' + 1`
14745 rm -f conftest.
$ac_objext conftest.
$ac_ext
14748 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14750 See \`config.log' for more details." >&5
14751 echo "$as_me: error: cannot compute sizeof (void *), 77
14752 See \`config.log' for more details." >&2;}
14753 { (exit 1); exit 1; }; } ;;
14756 if test "$cross_compiling" = yes; then
14757 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14758 See \`config.log' for more details." >&5
14759 echo "$as_me: error: cannot run test program while cross compiling
14760 See \`config.log' for more details." >&2;}
14761 { (exit 1); exit 1; }; }
14763 cat >conftest.
$ac_ext <<_ACEOF
14764 #line $LINENO "configure"
14767 cat confdefs.h
>>conftest.
$ac_ext
14768 cat >>conftest.
$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770 $ac_includes_default
14771 long longval () { return (long) (sizeof (void *)); }
14772 unsigned long ulongval () { return (long) (sizeof (void *)); }
14774 #include <stdlib.h>
14779 FILE *f = fopen ("conftest.val", "w");
14782 if (((long) (sizeof (void *))) < 0)
14784 long i = longval ();
14785 if (i != ((long) (sizeof (void *))))
14787 fprintf (f, "%ld\n", i);
14791 unsigned long i = ulongval ();
14792 if (i != ((long) (sizeof (void *))))
14794 fprintf (f, "%lu\n", i);
14796 exit (ferror (f) || fclose (f) != 0);
14802 rm -f conftest
$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 ac_cv_sizeof_void_p
=`cat conftest.val`
14815 echo "$as_me: program exited with status $ac_status" >&5
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 ( exit $ac_status )
14820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14821 See \`config.log' for more details." >&5
14822 echo "$as_me: error: cannot compute sizeof (void *), 77
14823 See \`config.log' for more details." >&2;}
14824 { (exit 1); exit 1; }; }
14826 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14831 ac_cv_sizeof_void_p
=0
14834 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14835 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14836 cat >>confdefs.h
<<_ACEOF
14837 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14841 echo "$as_me:$LINENO: checking for int" >&5
14842 echo $ECHO_N "checking for int... $ECHO_C" >&6
14843 if test "${ac_cv_type_int+set}" = set; then
14844 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 cat >conftest.
$ac_ext <<_ACEOF
14847 #line $LINENO "configure"
14850 cat confdefs.h
>>conftest.
$ac_ext
14851 cat >>conftest.
$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 $ac_includes_default
14865 rm -f conftest.
$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try
='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.
$ac_ext >&5
14884 rm -f conftest.
$ac_objext conftest.
$ac_ext
14886 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14887 echo "${ECHO_T}$ac_cv_type_int" >&6
14889 echo "$as_me:$LINENO: checking size of int" >&5
14890 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14891 if test "${ac_cv_sizeof_int+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14894 if test "$ac_cv_type_int" = yes; then
14895 # The cast to unsigned long works around a bug in the HP C Compiler
14896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14898 # This bug is HP SR number 8606223364.
14899 if test "$cross_compiling" = yes; then
14900 # Depending upon the size, compute the lo and hi bounds.
14901 cat >conftest.
$ac_ext <<_ACEOF
14902 #line $LINENO "configure"
14905 cat confdefs.h
>>conftest.
$ac_ext
14906 cat >>conftest.
$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 $ac_includes_default
14912 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14919 rm -f conftest.
$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try
='test -s conftest.$ac_objext'
14926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14927 (eval $ac_try) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; }; then
14933 cat >conftest.
$ac_ext <<_ACEOF
14934 #line $LINENO "configure"
14937 cat confdefs.h
>>conftest.
$ac_ext
14938 cat >>conftest.
$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14940 $ac_includes_default
14944 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14951 rm -f conftest.
$ac_objext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14953 (eval $ac_compile) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } &&
14957 { ac_try
='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_hi
=$ac_mid; break
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.
$ac_ext >&5
14968 ac_lo
=`expr $ac_mid + 1`
14969 if test $ac_lo -le $ac_mid; then
14973 ac_mid
=`expr 2 '*' $ac_mid + 1`
14975 rm -f conftest.
$ac_objext conftest.
$ac_ext
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14981 cat >conftest.
$ac_ext <<_ACEOF
14982 #line $LINENO "configure"
14985 cat confdefs.h
>>conftest.
$ac_ext
14986 cat >>conftest.
$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14988 $ac_includes_default
14992 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14999 rm -f conftest.
$ac_objext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15001 (eval $ac_compile) 2>&5
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); } &&
15005 { ac_try
='test -s conftest.$ac_objext'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; }; then
15013 cat >conftest.
$ac_ext <<_ACEOF
15014 #line $LINENO "configure"
15017 cat confdefs.h
>>conftest.
$ac_ext
15018 cat >>conftest.
$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15020 $ac_includes_default
15024 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15031 rm -f conftest.
$ac_objext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15033 (eval $ac_compile) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } &&
15037 { ac_try
='test -s conftest.$ac_objext'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 ac_lo
=$ac_mid; break
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.
$ac_ext >&5
15048 ac_hi
=`expr '(' $ac_mid ')' - 1`
15049 if test $ac_mid -le $ac_hi; then
15053 ac_mid
=`expr 2 '*' $ac_mid`
15055 rm -f conftest.
$ac_objext conftest.
$ac_ext
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.
$ac_ext >&5
15063 rm -f conftest.
$ac_objext conftest.
$ac_ext
15065 rm -f conftest.
$ac_objext conftest.
$ac_ext
15066 # Binary search between lo and hi bounds.
15067 while test "x$ac_lo" != "x$ac_hi"; do
15068 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15069 cat >conftest.
$ac_ext <<_ACEOF
15070 #line $LINENO "configure"
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15080 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15087 rm -f conftest.
$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } &&
15093 { ac_try
='test -s conftest.$ac_objext'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15101 echo "$as_me: failed program was:" >&5
15102 sed 's/^/| /' conftest.
$ac_ext >&5
15104 ac_lo
=`expr '(' $ac_mid ')' + 1`
15106 rm -f conftest.
$ac_objext conftest.
$ac_ext
15109 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15110 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15111 See \`config.log' for more details." >&5
15112 echo "$as_me: error: cannot compute sizeof (int), 77
15113 See \`config.log' for more details." >&2;}
15114 { (exit 1); exit 1; }; } ;;
15117 if test "$cross_compiling" = yes; then
15118 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15119 See \`config.log' for more details." >&5
15120 echo "$as_me: error: cannot run test program while cross compiling
15121 See \`config.log' for more details." >&2;}
15122 { (exit 1); exit 1; }; }
15124 cat >conftest.
$ac_ext <<_ACEOF
15125 #line $LINENO "configure"
15128 cat confdefs.h
>>conftest.
$ac_ext
15129 cat >>conftest.
$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15131 $ac_includes_default
15132 long longval () { return (long) (sizeof (int)); }
15133 unsigned long ulongval () { return (long) (sizeof (int)); }
15135 #include <stdlib.h>
15140 FILE *f = fopen ("conftest.val", "w");
15143 if (((long) (sizeof (int))) < 0)
15145 long i = longval ();
15146 if (i != ((long) (sizeof (int))))
15148 fprintf (f, "%ld\n", i);
15152 unsigned long i = ulongval ();
15153 if (i != ((long) (sizeof (int))))
15155 fprintf (f, "%lu\n", i);
15157 exit (ferror (f) || fclose (f) != 0);
15163 rm -f conftest
$ac_exeext
15164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15165 (eval $ac_link) 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_cv_sizeof_int
=`cat conftest.val`
15176 echo "$as_me: program exited with status $ac_status" >&5
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.
$ac_ext >&5
15180 ( exit $ac_status )
15181 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15182 See \`config.log' for more details." >&5
15183 echo "$as_me: error: cannot compute sizeof (int), 77
15184 See \`config.log' for more details." >&2;}
15185 { (exit 1); exit 1; }; }
15187 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15195 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15196 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15197 cat >>confdefs.h
<<_ACEOF
15198 #define SIZEOF_INT $ac_cv_sizeof_int
15202 echo "$as_me:$LINENO: checking for long" >&5
15203 echo $ECHO_N "checking for long... $ECHO_C" >&6
15204 if test "${ac_cv_type_long+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 cat >conftest.
$ac_ext <<_ACEOF
15208 #line $LINENO "configure"
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214 $ac_includes_default
15226 rm -f conftest.
$ac_objext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15228 (eval $ac_compile) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try
='test -s conftest.$ac_objext'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; }; then
15238 ac_cv_type_long
=yes
15240 echo "$as_me: failed program was:" >&5
15241 sed 's/^/| /' conftest.
$ac_ext >&5
15245 rm -f conftest.
$ac_objext conftest.
$ac_ext
15247 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15248 echo "${ECHO_T}$ac_cv_type_long" >&6
15250 echo "$as_me:$LINENO: checking size of long" >&5
15251 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15252 if test "${ac_cv_sizeof_long+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 if test "$ac_cv_type_long" = yes; then
15256 # The cast to unsigned long works around a bug in the HP C Compiler
15257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15259 # This bug is HP SR number 8606223364.
15260 if test "$cross_compiling" = yes; then
15261 # Depending upon the size, compute the lo and hi bounds.
15262 cat >conftest.
$ac_ext <<_ACEOF
15263 #line $LINENO "configure"
15266 cat confdefs.h
>>conftest.
$ac_ext
15267 cat >>conftest.
$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15269 $ac_includes_default
15273 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15280 rm -f conftest.
$ac_objext
15281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15282 (eval $ac_compile) 2>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } &&
15286 { ac_try
='test -s conftest.$ac_objext'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; }; then
15294 cat >conftest.
$ac_ext <<_ACEOF
15295 #line $LINENO "configure"
15298 cat confdefs.h
>>conftest.
$ac_ext
15299 cat >>conftest.
$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301 $ac_includes_default
15305 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15312 rm -f conftest.
$ac_objext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15314 (eval $ac_compile) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -s conftest.$ac_objext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15324 ac_hi
=$ac_mid; break
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 ac_lo
=`expr $ac_mid + 1`
15330 if test $ac_lo -le $ac_mid; then
15334 ac_mid
=`expr 2 '*' $ac_mid + 1`
15336 rm -f conftest.
$ac_objext conftest.
$ac_ext
15339 echo "$as_me: failed program was:" >&5
15340 sed 's/^/| /' conftest.
$ac_ext >&5
15342 cat >conftest.
$ac_ext <<_ACEOF
15343 #line $LINENO "configure"
15346 cat confdefs.h
>>conftest.
$ac_ext
15347 cat >>conftest.
$ac_ext <<_ACEOF
15348 /* end confdefs.h. */
15349 $ac_includes_default
15353 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15360 rm -f conftest.
$ac_objext
15361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15362 (eval $ac_compile) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } &&
15366 { ac_try
='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15374 cat >conftest.
$ac_ext <<_ACEOF
15375 #line $LINENO "configure"
15378 cat confdefs.h
>>conftest.
$ac_ext
15379 cat >>conftest.
$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381 $ac_includes_default
15385 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15392 rm -f conftest.
$ac_objext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15394 (eval $ac_compile) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try
='test -s conftest.$ac_objext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_lo
=$ac_mid; break
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.
$ac_ext >&5
15409 ac_hi
=`expr '(' $ac_mid ')' - 1`
15410 if test $ac_mid -le $ac_hi; then
15414 ac_mid
=`expr 2 '*' $ac_mid`
15416 rm -f conftest.
$ac_objext conftest.
$ac_ext
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.
$ac_ext >&5
15424 rm -f conftest.
$ac_objext conftest.
$ac_ext
15426 rm -f conftest.
$ac_objext conftest.
$ac_ext
15427 # Binary search between lo and hi bounds.
15428 while test "x$ac_lo" != "x$ac_hi"; do
15429 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15430 cat >conftest.
$ac_ext <<_ACEOF
15431 #line $LINENO "configure"
15434 cat confdefs.h
>>conftest.
$ac_ext
15435 cat >>conftest.
$ac_ext <<_ACEOF
15436 /* end confdefs.h. */
15437 $ac_includes_default
15441 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15448 rm -f conftest.
$ac_objext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15450 (eval $ac_compile) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } &&
15454 { ac_try
='test -s conftest.$ac_objext'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.
$ac_ext >&5
15465 ac_lo
=`expr '(' $ac_mid ')' + 1`
15467 rm -f conftest.
$ac_objext conftest.
$ac_ext
15470 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15471 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15472 See \`config.log' for more details." >&5
15473 echo "$as_me: error: cannot compute sizeof (long), 77
15474 See \`config.log' for more details." >&2;}
15475 { (exit 1); exit 1; }; } ;;
15478 if test "$cross_compiling" = yes; then
15479 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15480 See \`config.log' for more details." >&5
15481 echo "$as_me: error: cannot run test program while cross compiling
15482 See \`config.log' for more details." >&2;}
15483 { (exit 1); exit 1; }; }
15485 cat >conftest.
$ac_ext <<_ACEOF
15486 #line $LINENO "configure"
15489 cat confdefs.h
>>conftest.
$ac_ext
15490 cat >>conftest.
$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15492 $ac_includes_default
15493 long longval () { return (long) (sizeof (long)); }
15494 unsigned long ulongval () { return (long) (sizeof (long)); }
15496 #include <stdlib.h>
15501 FILE *f = fopen ("conftest.val", "w");
15504 if (((long) (sizeof (long))) < 0)
15506 long i = longval ();
15507 if (i != ((long) (sizeof (long))))
15509 fprintf (f, "%ld\n", i);
15513 unsigned long i = ulongval ();
15514 if (i != ((long) (sizeof (long))))
15516 fprintf (f, "%lu\n", i);
15518 exit (ferror (f) || fclose (f) != 0);
15524 rm -f conftest
$ac_exeext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15526 (eval $ac_link) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_cv_sizeof_long
=`cat conftest.val`
15537 echo "$as_me: program exited with status $ac_status" >&5
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.
$ac_ext >&5
15541 ( exit $ac_status )
15542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15543 See \`config.log' for more details." >&5
15544 echo "$as_me: error: cannot compute sizeof (long), 77
15545 See \`config.log' for more details." >&2;}
15546 { (exit 1); exit 1; }; }
15548 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15553 ac_cv_sizeof_long
=0
15556 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15557 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15558 cat >>confdefs.h
<<_ACEOF
15559 #define SIZEOF_LONG $ac_cv_sizeof_long
15566 echo "$as_me:$LINENO: checking for long long" >&5
15567 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15568 if test "${ac_cv_type_long_long+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 cat >conftest.
$ac_ext <<_ACEOF
15572 #line $LINENO "configure"
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 $ac_includes_default
15582 if ((long long *) 0)
15584 if (sizeof (long long))
15590 rm -f conftest.
$ac_objext
15591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15592 (eval $ac_compile) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -s conftest.$ac_objext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 ac_cv_type_long_long
=yes
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 ac_cv_type_long_long
=no
15609 rm -f conftest.
$ac_objext conftest.
$ac_ext
15611 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15612 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15614 echo "$as_me:$LINENO: checking size of long long" >&5
15615 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15616 if test "${ac_cv_sizeof_long_long+set}" = set; then
15617 echo $ECHO_N "(cached) $ECHO_C" >&6
15619 if test "$ac_cv_type_long_long" = yes; then
15620 # The cast to unsigned long works around a bug in the HP C Compiler
15621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15623 # This bug is HP SR number 8606223364.
15624 if test "$cross_compiling" = yes; then
15625 # Depending upon the size, compute the lo and hi bounds.
15626 cat >conftest.
$ac_ext <<_ACEOF
15627 #line $LINENO "configure"
15630 cat confdefs.h
>>conftest.
$ac_ext
15631 cat >>conftest.
$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15633 $ac_includes_default
15637 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15644 rm -f conftest.
$ac_objext
15645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15646 (eval $ac_compile) 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } &&
15650 { ac_try
='test -s conftest.$ac_objext'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; }; then
15658 cat >conftest.
$ac_ext <<_ACEOF
15659 #line $LINENO "configure"
15662 cat confdefs.h
>>conftest.
$ac_ext
15663 cat >>conftest.
$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 $ac_includes_default
15669 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15676 rm -f conftest.
$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } &&
15682 { ac_try
='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 ac_hi
=$ac_mid; break
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.
$ac_ext >&5
15693 ac_lo
=`expr $ac_mid + 1`
15694 if test $ac_lo -le $ac_mid; then
15698 ac_mid
=`expr 2 '*' $ac_mid + 1`
15700 rm -f conftest.
$ac_objext conftest.
$ac_ext
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.
$ac_ext >&5
15706 cat >conftest.
$ac_ext <<_ACEOF
15707 #line $LINENO "configure"
15710 cat confdefs.h
>>conftest.
$ac_ext
15711 cat >>conftest.
$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713 $ac_includes_default
15717 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15724 rm -f conftest.
$ac_objext
15725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15726 (eval $ac_compile) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15738 cat >conftest.
$ac_ext <<_ACEOF
15739 #line $LINENO "configure"
15742 cat confdefs.h
>>conftest.
$ac_ext
15743 cat >>conftest.
$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15745 $ac_includes_default
15749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15756 rm -f conftest.
$ac_objext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15758 (eval $ac_compile) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } &&
15762 { ac_try
='test -s conftest.$ac_objext'
15763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15764 (eval $ac_try) 2>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); }; }; then
15768 ac_lo
=$ac_mid; break
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.
$ac_ext >&5
15773 ac_hi
=`expr '(' $ac_mid ')' - 1`
15774 if test $ac_mid -le $ac_hi; then
15778 ac_mid
=`expr 2 '*' $ac_mid`
15780 rm -f conftest.
$ac_objext conftest.
$ac_ext
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.
$ac_ext >&5
15788 rm -f conftest.
$ac_objext conftest.
$ac_ext
15790 rm -f conftest.
$ac_objext conftest.
$ac_ext
15791 # Binary search between lo and hi bounds.
15792 while test "x$ac_lo" != "x$ac_hi"; do
15793 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15794 cat >conftest.
$ac_ext <<_ACEOF
15795 #line $LINENO "configure"
15798 cat confdefs.h
>>conftest.
$ac_ext
15799 cat >>conftest.
$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 $ac_includes_default
15805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_lo
=`expr '(' $ac_mid ')' + 1`
15831 rm -f conftest.
$ac_objext conftest.
$ac_ext
15834 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15836 See \`config.log' for more details." >&5
15837 echo "$as_me: error: cannot compute sizeof (long long), 77
15838 See \`config.log' for more details." >&2;}
15839 { (exit 1); exit 1; }; } ;;
15842 if test "$cross_compiling" = yes; then
15843 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15844 See \`config.log' for more details." >&5
15845 echo "$as_me: error: cannot run test program while cross compiling
15846 See \`config.log' for more details." >&2;}
15847 { (exit 1); exit 1; }; }
15849 cat >conftest.
$ac_ext <<_ACEOF
15850 #line $LINENO "configure"
15853 cat confdefs.h
>>conftest.
$ac_ext
15854 cat >>conftest.
$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15856 $ac_includes_default
15857 long longval () { return (long) (sizeof (long long)); }
15858 unsigned long ulongval () { return (long) (sizeof (long long)); }
15860 #include <stdlib.h>
15865 FILE *f = fopen ("conftest.val", "w");
15868 if (((long) (sizeof (long long))) < 0)
15870 long i = longval ();
15871 if (i != ((long) (sizeof (long long))))
15873 fprintf (f, "%ld\n", i);
15877 unsigned long i = ulongval ();
15878 if (i != ((long) (sizeof (long long))))
15880 fprintf (f, "%lu\n", i);
15882 exit (ferror (f) || fclose (f) != 0);
15888 rm -f conftest
$ac_exeext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15890 (eval $ac_link) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 ac_cv_sizeof_long_long
=`cat conftest.val`
15901 echo "$as_me: program exited with status $ac_status" >&5
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 ( exit $ac_status )
15906 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15907 See \`config.log' for more details." >&5
15908 echo "$as_me: error: cannot compute sizeof (long long), 77
15909 See \`config.log' for more details." >&2;}
15910 { (exit 1); exit 1; }; }
15912 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15917 ac_cv_sizeof_long_long
=0
15920 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15921 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15922 cat >>confdefs.h
<<_ACEOF
15923 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15929 echo "$as_me:$LINENO: checking for long long" >&5
15930 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15931 if test "${ac_cv_type_long_long+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 cat >conftest.
$ac_ext <<_ACEOF
15935 #line $LINENO "configure"
15938 cat confdefs.h
>>conftest.
$ac_ext
15939 cat >>conftest.
$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941 $ac_includes_default
15945 if ((long long *) 0)
15947 if (sizeof (long long))
15953 rm -f conftest.
$ac_objext
15954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15955 (eval $ac_compile) 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); } &&
15959 { ac_try
='test -s conftest.$ac_objext'
15960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15961 (eval $ac_try) 2>&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; }; then
15965 ac_cv_type_long_long
=yes
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.
$ac_ext >&5
15970 ac_cv_type_long_long
=no
15972 rm -f conftest.
$ac_objext conftest.
$ac_ext
15974 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15975 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15977 echo "$as_me:$LINENO: checking size of long long" >&5
15978 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15979 if test "${ac_cv_sizeof_long_long+set}" = set; then
15980 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 if test "$ac_cv_type_long_long" = yes; then
15983 # The cast to unsigned long works around a bug in the HP C Compiler
15984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15986 # This bug is HP SR number 8606223364.
15987 if test "$cross_compiling" = yes; then
15988 # Depending upon the size, compute the lo and hi bounds.
15989 cat >conftest.
$ac_ext <<_ACEOF
15990 #line $LINENO "configure"
15993 cat confdefs.h
>>conftest.
$ac_ext
15994 cat >>conftest.
$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15996 $ac_includes_default
16000 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16007 rm -f conftest.
$ac_objext
16008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16009 (eval $ac_compile) 2>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try
='test -s conftest.$ac_objext'
16014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015 (eval $ac_try) 2>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); }; }; then
16021 cat >conftest.
$ac_ext <<_ACEOF
16022 #line $LINENO "configure"
16025 cat confdefs.h
>>conftest.
$ac_ext
16026 cat >>conftest.
$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16028 $ac_includes_default
16032 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16039 rm -f conftest.
$ac_objext
16040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16041 (eval $ac_compile) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } &&
16045 { ac_try
='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16051 ac_hi
=$ac_mid; break
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.
$ac_ext >&5
16056 ac_lo
=`expr $ac_mid + 1`
16057 if test $ac_lo -le $ac_mid; then
16061 ac_mid
=`expr 2 '*' $ac_mid + 1`
16063 rm -f conftest.
$ac_objext conftest.
$ac_ext
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.
$ac_ext >&5
16069 cat >conftest.
$ac_ext <<_ACEOF
16070 #line $LINENO "configure"
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16080 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16087 rm -f conftest.
$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } &&
16093 { ac_try
='test -s conftest.$ac_objext'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; }; then
16101 cat >conftest.
$ac_ext <<_ACEOF
16102 #line $LINENO "configure"
16105 cat confdefs.h
>>conftest.
$ac_ext
16106 cat >>conftest.
$ac_ext <<_ACEOF
16107 /* end confdefs.h. */
16108 $ac_includes_default
16112 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try
='test -s conftest.$ac_objext'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; }; then
16131 ac_lo
=$ac_mid; break
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 ac_hi
=`expr '(' $ac_mid ')' - 1`
16137 if test $ac_mid -le $ac_hi; then
16141 ac_mid
=`expr 2 '*' $ac_mid`
16143 rm -f conftest.
$ac_objext conftest.
$ac_ext
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.
$ac_ext >&5
16151 rm -f conftest.
$ac_objext conftest.
$ac_ext
16153 rm -f conftest.
$ac_objext conftest.
$ac_ext
16154 # Binary search between lo and hi bounds.
16155 while test "x$ac_lo" != "x$ac_hi"; do
16156 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16157 cat >conftest.
$ac_ext <<_ACEOF
16158 #line $LINENO "configure"
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164 $ac_includes_default
16168 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16175 rm -f conftest.
$ac_objext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16177 (eval $ac_compile) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try
='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ac_lo
=`expr '(' $ac_mid ')' + 1`
16194 rm -f conftest.
$ac_objext conftest.
$ac_ext
16197 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16198 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16199 See \`config.log' for more details." >&5
16200 echo "$as_me: error: cannot compute sizeof (long long), 77
16201 See \`config.log' for more details." >&2;}
16202 { (exit 1); exit 1; }; } ;;
16205 if test "$cross_compiling" = yes; then
16206 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16207 See \`config.log' for more details." >&5
16208 echo "$as_me: error: cannot run test program while cross compiling
16209 See \`config.log' for more details." >&2;}
16210 { (exit 1); exit 1; }; }
16212 cat >conftest.
$ac_ext <<_ACEOF
16213 #line $LINENO "configure"
16216 cat confdefs.h
>>conftest.
$ac_ext
16217 cat >>conftest.
$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16220 long longval () { return (long) (sizeof (long long)); }
16221 unsigned long ulongval () { return (long) (sizeof (long long)); }
16223 #include <stdlib.h>
16228 FILE *f = fopen ("conftest.val", "w");
16231 if (((long) (sizeof (long long))) < 0)
16233 long i = longval ();
16234 if (i != ((long) (sizeof (long long))))
16236 fprintf (f, "%ld\n", i);
16240 unsigned long i = ulongval ();
16241 if (i != ((long) (sizeof (long long))))
16243 fprintf (f, "%lu\n", i);
16245 exit (ferror (f) || fclose (f) != 0);
16251 rm -f conftest
$ac_exeext
16252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16253 (eval $ac_link) 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; }; then
16262 ac_cv_sizeof_long_long
=`cat conftest.val`
16264 echo "$as_me: program exited with status $ac_status" >&5
16265 echo "$as_me: failed program was:" >&5
16266 sed 's/^/| /' conftest.
$ac_ext >&5
16268 ( exit $ac_status )
16269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16270 See \`config.log' for more details." >&5
16271 echo "$as_me: error: cannot compute sizeof (long long), 77
16272 See \`config.log' for more details." >&2;}
16273 { (exit 1); exit 1; }; }
16275 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16280 ac_cv_sizeof_long_long
=0
16283 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16284 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16285 cat >>confdefs.h
<<_ACEOF
16286 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16290 if test "$ac_cv_sizeof_long_long" != "0"; then
16291 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16295 echo "$as_me:$LINENO: checking for long long" >&5
16296 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16297 if test "${ac_cv_type_long_long+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 cat >conftest.
$ac_ext <<_ACEOF
16301 #line $LINENO "configure"
16304 cat confdefs.h
>>conftest.
$ac_ext
16305 cat >>conftest.
$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16307 $ac_includes_default
16311 if ((long long *) 0)
16313 if (sizeof (long long))
16319 rm -f conftest.
$ac_objext
16320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16321 (eval $ac_compile) 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } &&
16325 { ac_try
='test -s conftest.$ac_objext'
16326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16327 (eval $ac_try) 2>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }; }; then
16331 ac_cv_type_long_long
=yes
16333 echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.
$ac_ext >&5
16336 ac_cv_type_long_long
=no
16338 rm -f conftest.
$ac_objext conftest.
$ac_ext
16340 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16341 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16343 echo "$as_me:$LINENO: checking size of long long" >&5
16344 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16345 if test "${ac_cv_sizeof_long_long+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 if test "$ac_cv_type_long_long" = yes; then
16349 # The cast to unsigned long works around a bug in the HP C Compiler
16350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16352 # This bug is HP SR number 8606223364.
16353 if test "$cross_compiling" = yes; then
16354 # Depending upon the size, compute the lo and hi bounds.
16355 cat >conftest.
$ac_ext <<_ACEOF
16356 #line $LINENO "configure"
16359 cat confdefs.h
>>conftest.
$ac_ext
16360 cat >>conftest.
$ac_ext <<_ACEOF
16361 /* end confdefs.h. */
16362 $ac_includes_default
16366 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16373 rm -f conftest.
$ac_objext
16374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16375 (eval $ac_compile) 2>&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } &&
16379 { ac_try
='test -s conftest.$ac_objext'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; }; then
16387 cat >conftest.
$ac_ext <<_ACEOF
16388 #line $LINENO "configure"
16391 cat confdefs.h
>>conftest.
$ac_ext
16392 cat >>conftest.
$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16394 $ac_includes_default
16398 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16405 rm -f conftest.
$ac_objext
16406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407 (eval $ac_compile) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try
='test -s conftest.$ac_objext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 ac_hi
=$ac_mid; break
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.
$ac_ext >&5
16422 ac_lo
=`expr $ac_mid + 1`
16423 if test $ac_lo -le $ac_mid; then
16427 ac_mid
=`expr 2 '*' $ac_mid + 1`
16429 rm -f conftest.
$ac_objext conftest.
$ac_ext
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.
$ac_ext >&5
16435 cat >conftest.
$ac_ext <<_ACEOF
16436 #line $LINENO "configure"
16439 cat confdefs.h
>>conftest.
$ac_ext
16440 cat >>conftest.
$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442 $ac_includes_default
16446 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16453 rm -f conftest.
$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455 (eval $ac_compile) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); } &&
16459 { ac_try
='test -s conftest.$ac_objext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16467 cat >conftest.
$ac_ext <<_ACEOF
16468 #line $LINENO "configure"
16471 cat confdefs.h
>>conftest.
$ac_ext
16472 cat >>conftest.
$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16474 $ac_includes_default
16478 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16485 rm -f conftest.
$ac_objext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16487 (eval $ac_compile) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try
='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_lo
=$ac_mid; break
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 ac_hi
=`expr '(' $ac_mid ')' - 1`
16503 if test $ac_mid -le $ac_hi; then
16507 ac_mid
=`expr 2 '*' $ac_mid`
16509 rm -f conftest.
$ac_objext conftest.
$ac_ext
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.
$ac_ext >&5
16517 rm -f conftest.
$ac_objext conftest.
$ac_ext
16519 rm -f conftest.
$ac_objext conftest.
$ac_ext
16520 # Binary search between lo and hi bounds.
16521 while test "x$ac_lo" != "x$ac_hi"; do
16522 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16523 cat >conftest.
$ac_ext <<_ACEOF
16524 #line $LINENO "configure"
16527 cat confdefs.h
>>conftest.
$ac_ext
16528 cat >>conftest.
$ac_ext <<_ACEOF
16529 /* end confdefs.h. */
16530 $ac_includes_default
16534 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16541 rm -f conftest.
$ac_objext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16543 (eval $ac_compile) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } &&
16547 { ac_try
='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 ac_lo
=`expr '(' $ac_mid ')' + 1`
16560 rm -f conftest.
$ac_objext conftest.
$ac_ext
16563 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16564 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16565 See \`config.log' for more details." >&5
16566 echo "$as_me: error: cannot compute sizeof (long long), 77
16567 See \`config.log' for more details." >&2;}
16568 { (exit 1); exit 1; }; } ;;
16571 if test "$cross_compiling" = yes; then
16572 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16573 See \`config.log' for more details." >&5
16574 echo "$as_me: error: cannot run test program while cross compiling
16575 See \`config.log' for more details." >&2;}
16576 { (exit 1); exit 1; }; }
16578 cat >conftest.
$ac_ext <<_ACEOF
16579 #line $LINENO "configure"
16582 cat confdefs.h
>>conftest.
$ac_ext
16583 cat >>conftest.
$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 $ac_includes_default
16586 long longval () { return (long) (sizeof (long long)); }
16587 unsigned long ulongval () { return (long) (sizeof (long long)); }
16589 #include <stdlib.h>
16594 FILE *f = fopen ("conftest.val", "w");
16597 if (((long) (sizeof (long long))) < 0)
16599 long i = longval ();
16600 if (i != ((long) (sizeof (long long))))
16602 fprintf (f, "%ld\n", i);
16606 unsigned long i = ulongval ();
16607 if (i != ((long) (sizeof (long long))))
16609 fprintf (f, "%lu\n", i);
16611 exit (ferror (f) || fclose (f) != 0);
16617 rm -f conftest
$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619 (eval $ac_link) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16628 ac_cv_sizeof_long_long
=`cat conftest.val`
16630 echo "$as_me: program exited with status $ac_status" >&5
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.
$ac_ext >&5
16634 ( exit $ac_status )
16635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16636 See \`config.log' for more details." >&5
16637 echo "$as_me: error: cannot compute sizeof (long long), 77
16638 See \`config.log' for more details." >&2;}
16639 { (exit 1); exit 1; }; }
16641 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16646 ac_cv_sizeof_long_long
=0
16649 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16650 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16651 cat >>confdefs.h
<<_ACEOF
16652 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16658 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16659 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16660 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 if test "$cross_compiling" = yes; then
16668 wx_cv_sizeof_wchar_t
=0
16671 wx_cv_sizeof_wchar_t
=4
16677 cat >conftest.
$ac_ext <<_ACEOF
16678 #line $LINENO "configure"
16681 cat confdefs.h
>>conftest.
$ac_ext
16682 cat >>conftest.
$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16685 /* DJGPP only has fake wchar_t: */
16687 # error "fake wchar_t"
16689 #ifdef HAVE_WCHAR_H
16691 # include <stddef.h>
16693 # include <wchar.h>
16695 #ifdef HAVE_STDLIB_H
16696 # include <stdlib.h>
16701 FILE *f=fopen("conftestval", "w");
16703 fprintf(f, "%i", sizeof(wchar_t));
16708 rm -f conftest
$ac_exeext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16710 (eval $ac_link) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 wx_cv_sizeof_wchar_t
=`cat conftestval`
16721 echo "$as_me: program exited with status $ac_status" >&5
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ( exit $ac_status )
16726 wx_cv_sizeof_wchar_t
=0
16728 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16732 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16733 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16735 cat >>confdefs.h
<<_ACEOF
16736 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16740 # Check whether --enable-largefile or --disable-largefile was given.
16741 if test "${enable_largefile+set}" = set; then
16742 enableval
="$enable_largefile"
16745 if test "$enable_largefile" != no
; then
16748 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16749 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16750 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 cat >conftest.
$ac_ext <<_ACEOF
16755 #line $LINENO "configure"
16758 cat confdefs.h
>>conftest.
$ac_ext
16759 cat >>conftest.
$ac_ext <<_ACEOF
16760 /* end confdefs.h. */
16761 #define _FILE_OFFSET_BITS 64
16762 #include <sys/types.h>
16767 unsigned int field: sizeof(off_t) == 8;
16774 rm -f conftest.
$ac_objext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16776 (eval $ac_compile) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try
='test -s conftest.$ac_objext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16786 ac_cv_sys_file_offset_bits
=64
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16791 ac_cv_sys_file_offset_bits
=no
16793 rm -f conftest.
$ac_objext conftest.
$ac_ext
16797 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16798 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16800 if test "$ac_cv_sys_file_offset_bits" != no
; then
16802 cat >>confdefs.h
<<_ACEOF
16803 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16808 if test "x$wx_largefile" != "xyes"; then
16810 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16811 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16812 if test "${ac_cv_sys_large_files+set}" = set; then
16813 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 cat >conftest.
$ac_ext <<_ACEOF
16817 #line $LINENO "configure"
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #define _LARGE_FILES 1
16824 #include <sys/types.h>
16829 unsigned int field: sizeof(off_t) == 8;
16836 rm -f conftest.
$ac_objext
16837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16838 (eval $ac_compile) 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); } &&
16842 { ac_try
='test -s conftest.$ac_objext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_sys_large_files
=1
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.
$ac_ext >&5
16853 ac_cv_sys_large_files
=no
16855 rm -f conftest.
$ac_objext conftest.
$ac_ext
16859 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16860 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16862 if test "$ac_cv_sys_large_files" != no
; then
16864 cat >>confdefs.h
<<_ACEOF
16865 #define _LARGE_FILES $ac_cv_sys_large_files
16872 echo "$as_me:$LINENO: checking if large file support is available" >&5
16873 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16874 if test "x$wx_largefile" = "xyes"; then
16875 cat >>confdefs.h
<<\_ACEOF
16876 #define HAVE_LARGEFILE_SUPPORT 1
16880 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16881 echo "${ECHO_T}$wx_largefile" >&6
16885 if test "x$wx_largefile" = "xyes"; then
16886 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16887 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16889 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16891 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16894 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16895 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16896 if test "${ac_cv_c_bigendian+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 ac_cv_c_bigendian
=unknown
16900 # See if sys/param.h defines the BYTE_ORDER macro.
16901 cat >conftest.
$ac_ext <<_ACEOF
16902 #line $LINENO "configure"
16905 cat confdefs.h
>>conftest.
$ac_ext
16906 cat >>conftest.
$ac_ext <<_ACEOF
16907 /* end confdefs.h. */
16908 #include <sys/types.h>
16909 #include <sys/param.h>
16914 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16915 bogus endian macros
16921 rm -f conftest.
$ac_objext
16922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16923 (eval $ac_compile) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } &&
16927 { ac_try
='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 # It does; now see whether it defined to BIG_ENDIAN or not.
16934 cat >conftest.
$ac_ext <<_ACEOF
16935 #line $LINENO "configure"
16938 cat confdefs.h
>>conftest.
$ac_ext
16939 cat >>conftest.
$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16941 #include <sys/types.h>
16942 #include <sys/param.h>
16947 #if BYTE_ORDER != BIG_ENDIAN
16954 rm -f conftest.
$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } &&
16960 { ac_try
='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16966 ac_cv_c_bigendian
=yes
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 ac_cv_c_bigendian
=no
16973 rm -f conftest.
$ac_objext conftest.
$ac_ext
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.
$ac_ext >&5
16979 rm -f conftest.
$ac_objext conftest.
$ac_ext
16980 if test $ac_cv_c_bigendian = unknown
; then
16981 if test "$cross_compiling" = yes; then
16982 ac_cv_c_bigendian
=unknown
16984 cat >conftest.
$ac_ext <<_ACEOF
16985 #line $LINENO "configure"
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16992 /* Are we little or big endian? From Harbison&Steele. */
16996 char c[sizeof (long)];
16999 exit (u.c[sizeof (long) - 1] == 1);
17002 rm -f conftest
$ac_exeext
17003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17004 (eval $ac_link) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 ac_cv_c_bigendian
=no
17015 echo "$as_me: program exited with status $ac_status" >&5
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.
$ac_ext >&5
17019 ( exit $ac_status )
17020 ac_cv_c_bigendian
=yes
17022 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17026 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17027 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17028 if test $ac_cv_c_bigendian = unknown
; then
17029 { 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
17030 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;}
17032 if test $ac_cv_c_bigendian = yes; then
17033 cat >>confdefs.h
<<\_ACEOF
17034 #define WORDS_BIGENDIAN 1
17042 ac_cpp
='$CXXCPP $CPPFLAGS'
17043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17046 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17047 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17048 if test -z "$CXXCPP"; then
17049 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 # Double quotes because CXXCPP needs to be expanded
17053 for CXXCPP
in "$CXX -E" "/lib/cpp"
17055 ac_preproc_ok
=false
17056 for ac_cxx_preproc_warn_flag
in '' yes
17058 # Use a header file that comes with gcc, so configuring glibc
17059 # with a fresh cross-compiler works.
17060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17061 # <limits.h> exists even on freestanding compilers.
17062 # On the NeXT, cc -E runs the code through the compiler's parser,
17063 # not just through cpp. "Syntax error" is here to catch this case.
17064 cat >conftest.
$ac_ext <<_ACEOF
17065 #line $LINENO "configure"
17068 cat confdefs.h
>>conftest.
$ac_ext
17069 cat >>conftest.
$ac_ext <<_ACEOF
17070 /* end confdefs.h. */
17072 # include <limits.h>
17074 # include <assert.h>
17078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17079 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17081 grep -v '^ *+' conftest.er1
>conftest.err
17083 cat conftest.err
>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } >/dev
/null
; then
17086 if test -s conftest.err
; then
17087 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17094 if test -z "$ac_cpp_err"; then
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.
$ac_ext >&5
17100 # Broken: fails on valid input.
17103 rm -f conftest.err conftest.
$ac_ext
17105 # OK, works on sane cases. Now check whether non-existent headers
17106 # can be detected and how.
17107 cat >conftest.
$ac_ext <<_ACEOF
17108 #line $LINENO "configure"
17111 cat confdefs.h
>>conftest.
$ac_ext
17112 cat >>conftest.
$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 #include <ac_nonexistent.h>
17116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17117 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17119 grep -v '^ *+' conftest.er1
>conftest.err
17121 cat conftest.err
>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } >/dev
/null
; then
17124 if test -s conftest.err
; then
17125 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17132 if test -z "$ac_cpp_err"; then
17133 # Broken: success on invalid input.
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.
$ac_ext >&5
17139 # Passes both tests.
17143 rm -f conftest.err conftest.
$ac_ext
17146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17147 rm -f conftest.err conftest.
$ac_ext
17148 if $ac_preproc_ok; then
17153 ac_cv_prog_CXXCPP
=$CXXCPP
17156 CXXCPP
=$ac_cv_prog_CXXCPP
17158 ac_cv_prog_CXXCPP
=$CXXCPP
17160 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17161 echo "${ECHO_T}$CXXCPP" >&6
17162 ac_preproc_ok
=false
17163 for ac_cxx_preproc_warn_flag
in '' yes
17165 # Use a header file that comes with gcc, so configuring glibc
17166 # with a fresh cross-compiler works.
17167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17168 # <limits.h> exists even on freestanding compilers.
17169 # On the NeXT, cc -E runs the code through the compiler's parser,
17170 # not just through cpp. "Syntax error" is here to catch this case.
17171 cat >conftest.
$ac_ext <<_ACEOF
17172 #line $LINENO "configure"
17175 cat confdefs.h
>>conftest.
$ac_ext
17176 cat >>conftest.
$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17179 # include <limits.h>
17181 # include <assert.h>
17185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17188 grep -v '^ *+' conftest.er1
>conftest.err
17190 cat conftest.err
>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } >/dev
/null
; then
17193 if test -s conftest.err
; then
17194 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17201 if test -z "$ac_cpp_err"; then
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.
$ac_ext >&5
17207 # Broken: fails on valid input.
17210 rm -f conftest.err conftest.
$ac_ext
17212 # OK, works on sane cases. Now check whether non-existent headers
17213 # can be detected and how.
17214 cat >conftest.
$ac_ext <<_ACEOF
17215 #line $LINENO "configure"
17218 cat confdefs.h
>>conftest.
$ac_ext
17219 cat >>conftest.
$ac_ext <<_ACEOF
17220 /* end confdefs.h. */
17221 #include <ac_nonexistent.h>
17223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17226 grep -v '^ *+' conftest.er1
>conftest.err
17228 cat conftest.err
>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } >/dev
/null
; then
17231 if test -s conftest.err
; then
17232 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17239 if test -z "$ac_cpp_err"; then
17240 # Broken: success on invalid input.
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.
$ac_ext >&5
17246 # Passes both tests.
17250 rm -f conftest.err conftest.
$ac_ext
17253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17254 rm -f conftest.err conftest.
$ac_ext
17255 if $ac_preproc_ok; then
17258 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17259 See \`config.log' for more details." >&5
17260 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17261 See \`config.log' for more details." >&2;}
17262 { (exit 1); exit 1; }; }
17266 ac_cpp
='$CXXCPP $CPPFLAGS'
17267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17273 if test "$cross_compiling" = "yes"; then
17274 cat >>confdefs.h
<<\_ACEOF
17275 #define wxUSE_IOSTREAMH 1
17282 ac_cpp
='$CXXCPP $CPPFLAGS'
17283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17289 for ac_header
in iostream
17291 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17293 echo "$as_me:$LINENO: checking for $ac_header" >&5
17294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17301 # Is the header compilable?
17302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17304 cat >conftest.
$ac_ext <<_ACEOF
17305 #line $LINENO "configure"
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17312 #include <$ac_header>
17314 rm -f conftest.
$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316 (eval $ac_compile) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try
='test -s conftest.$ac_objext'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17326 ac_header_compiler
=yes
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.
$ac_ext >&5
17331 ac_header_compiler
=no
17333 rm -f conftest.
$ac_objext conftest.
$ac_ext
17334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17335 echo "${ECHO_T}$ac_header_compiler" >&6
17337 # Is the header present?
17338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17340 cat >conftest.
$ac_ext <<_ACEOF
17341 #line $LINENO "configure"
17344 cat confdefs.h
>>conftest.
$ac_ext
17345 cat >>conftest.
$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347 #include <$ac_header>
17349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17352 grep -v '^ *+' conftest.er1
>conftest.err
17354 cat conftest.err
>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } >/dev
/null
; then
17357 if test -s conftest.err
; then
17358 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17365 if test -z "$ac_cpp_err"; then
17366 ac_header_preproc
=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.
$ac_ext >&5
17371 ac_header_preproc
=no
17373 rm -f conftest.err conftest.
$ac_ext
17374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17375 echo "${ECHO_T}$ac_header_preproc" >&6
17377 # So? What about this header?
17378 case $ac_header_compiler:$ac_header_preproc in
17380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17386 ## ------------------------------------ ##
17387 ## Report this to bug-autoconf@gnu.org. ##
17388 ## ------------------------------------ ##
17391 sed "s/^/$as_me: WARNING: /" >&2
17394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17402 ## ------------------------------------ ##
17403 ## Report this to bug-autoconf@gnu.org. ##
17404 ## ------------------------------------ ##
17407 sed "s/^/$as_me: WARNING: /" >&2
17410 echo "$as_me:$LINENO: checking for $ac_header" >&5
17411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 eval "$as_ac_Header=$ac_header_preproc"
17417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17422 cat >>confdefs.h
<<_ACEOF
17423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17431 if test "$ac_cv_header_iostream" = "yes" ; then
17434 cat >>confdefs.h
<<\_ACEOF
17435 #define wxUSE_IOSTREAMH 1
17441 ac_cpp
='$CPP $CPPFLAGS'
17442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17450 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17451 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17452 if test "${wx_cv_cpp_bool+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17459 ac_cpp
='$CXXCPP $CPPFLAGS'
17460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17465 cat >conftest.
$ac_ext <<_ACEOF
17466 #line $LINENO "configure"
17469 cat confdefs.h
>>conftest.
$ac_ext
17470 cat >>conftest.
$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17486 rm -f conftest.
$ac_objext
17487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17488 (eval $ac_compile) 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); } &&
17492 { ac_try
='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.
$ac_ext >&5
17510 rm -f conftest.
$ac_objext conftest.
$ac_ext
17513 ac_cpp
='$CPP $CPPFLAGS'
17514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17520 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17521 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17523 if test "$wx_cv_cpp_bool" = "yes"; then
17524 cat >>confdefs.h
<<\_ACEOF
17525 #define HAVE_BOOL 1
17532 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17533 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17534 if test "${wx_cv_explicit+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 ac_cpp
='$CXXCPP $CPPFLAGS'
17542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17547 cat >conftest.
$ac_ext <<_ACEOF
17548 #line $LINENO "configure"
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17555 class Foo { public: explicit Foo(int) {} };
17567 rm -f conftest.
$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try
='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17580 cat >conftest.
$ac_ext <<_ACEOF
17581 #line $LINENO "configure"
17584 cat confdefs.h
>>conftest.
$ac_ext
17585 cat >>conftest.
$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17588 class Foo { public: explicit Foo(int) {} };
17589 static void TakeFoo(const Foo& foo) { }
17602 rm -f conftest.
$ac_objext
17603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17604 (eval $ac_compile) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try
='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.
$ac_ext >&5
17622 rm -f conftest.
$ac_objext conftest.
$ac_ext
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.
$ac_ext >&5
17631 rm -f conftest.
$ac_objext conftest.
$ac_ext
17634 ac_cpp
='$CPP $CPPFLAGS'
17635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17641 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17642 echo "${ECHO_T}$wx_cv_explicit" >&6
17644 if test "$wx_cv_explicit" = "yes"; then
17645 cat >>confdefs.h
<<\_ACEOF
17646 #define HAVE_EXPLICIT 1
17652 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17653 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17654 if test "${ac_cv_cxx_const_cast+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17660 ac_cpp
='$CXXCPP $CPPFLAGS'
17661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17665 cat >conftest.
$ac_ext <<_ACEOF
17666 #line $LINENO "configure"
17669 cat confdefs.h
>>conftest.
$ac_ext
17670 cat >>conftest.
$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17676 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17681 rm -f conftest.
$ac_objext
17682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17683 (eval $ac_compile) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try
='test -s conftest.$ac_objext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_cv_cxx_const_cast
=yes
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.
$ac_ext >&5
17698 ac_cv_cxx_const_cast
=no
17700 rm -f conftest.
$ac_objext conftest.
$ac_ext
17702 ac_cpp
='$CPP $CPPFLAGS'
17703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17709 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17710 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17711 if test "$ac_cv_cxx_const_cast" = yes; then
17713 cat >>confdefs.h
<<\_ACEOF
17714 #define HAVE_CONST_CAST
17720 if test "$wxUSE_STL" = "yes"; then
17722 ac_cpp
='$CXXCPP $CPPFLAGS'
17723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17728 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17729 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17730 cat >conftest.
$ac_ext <<_ACEOF
17731 #line $LINENO "configure"
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17738 #include <functional>
17739 #include <algorithm>
17745 std::vector<int> moo;
17746 std::list<int> foo;
17747 std::vector<int>::iterator it =
17748 std::find_if(moo.begin(), moo.end(),
17749 std::bind2nd(std::less<int>(), 3));
17754 rm -f conftest.
$ac_objext
17755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17756 (eval $ac_compile) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try
='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 echo "$as_me:$LINENO: result: yes" >&5
17767 echo "${ECHO_T}yes" >&6
17769 echo "$as_me: failed program was:" >&5
17770 sed 's/^/| /' conftest.
$ac_ext >&5
17772 echo "$as_me:$LINENO: result: no" >&5
17773 echo "${ECHO_T}no" >&6
17774 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17775 echo "$as_me: error: Basic STL functionality missing" >&2;}
17776 { (exit 1); exit 1; }; }
17778 rm -f conftest.
$ac_objext conftest.
$ac_ext
17780 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17781 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17782 cat >conftest.
$ac_ext <<_ACEOF
17783 #line $LINENO "configure"
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17798 rm -f conftest.
$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try
='test -s conftest.$ac_objext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 echo "$as_me:$LINENO: result: yes" >&5
17811 echo "${ECHO_T}yes" >&6
17812 cat >>confdefs.h
<<\_ACEOF
17813 #define HAVE_STD_WSTRING 1
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.
$ac_ext >&5
17820 echo "$as_me:$LINENO: result: no" >&5
17821 echo "${ECHO_T}no" >&6
17823 rm -f conftest.
$ac_objext conftest.
$ac_ext
17825 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17826 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17827 cat >conftest.
$ac_ext <<_ACEOF
17828 #line $LINENO "configure"
17831 cat confdefs.h
>>conftest.
$ac_ext
17832 cat >>conftest.
$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17838 std::string foo, bar;
17840 foo.compare(1, 1, bar);
17841 foo.compare(1, 1, bar, 1, 1);
17843 foo.compare(1, 1, "");
17844 foo.compare(1, 1, "", 2);
17849 rm -f conftest.
$ac_objext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17851 (eval $ac_compile) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try
='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 echo "$as_me:$LINENO: result: yes" >&5
17862 echo "${ECHO_T}yes" >&6
17863 cat >>confdefs.h
<<\_ACEOF
17864 #define HAVE_STD_STRING_COMPARE 1
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.
$ac_ext >&5
17871 echo "$as_me:$LINENO: result: no" >&5
17872 echo "${ECHO_T}no" >&6
17874 rm -f conftest.
$ac_objext conftest.
$ac_ext
17877 ac_cpp
='$CPP $CPPFLAGS'
17878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17886 /usr/local/include \
17888 /usr/Motif-1.2/include \
17889 /usr/Motif-2.1/include \
17891 /usr/include/Motif1.2 \
17892 /opt/xpm/include/X11 \
17893 /opt/GBxpm/include/ \
17894 /opt/GBxpm/X11/include/ \
17896 /usr/Motif1.2/include \
17898 /usr/openwin/include \
17902 /usr/X11R6/include \
17903 /usr/X11R6.4/include \
17904 /usr/X11R5/include \
17905 /usr/X11R4/include \
17907 /usr/include/X11R6 \
17908 /usr/include/X11R5 \
17909 /usr/include/X11R4 \
17911 /usr/local/X11R6/include \
17912 /usr/local/X11R5/include \
17913 /usr/local/X11R4/include \
17915 /usr/local/include/X11R6 \
17916 /usr/local/include/X11R5 \
17917 /usr/local/include/X11R4 \
17921 /usr/local/X11/include \
17922 /usr/local/include/X11 \
17924 /usr/X386/include \
17925 /usr/x386/include \
17926 /usr/XFree86/include/X11 \
17928 X:/XFree86/include \
17929 X:/XFree86/include/X11 \
17932 /usr/local/include/gtk \
17933 /usr/include/glib \
17934 /usr/local/include/glib \
17937 /usr/local/include/qt \
17939 /usr/include/windows \
17940 /usr/include/wine \
17941 /usr/local/include/wine \
17943 /usr/unsupported/include \
17944 /usr/athena/include \
17945 /usr/local/x11r5/include \
17946 /usr/lpp/Xamples/include \
17948 /usr/openwin/share/include"
17950 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17953 cat >confcache
<<\_ACEOF
17954 # This file is a shell script that caches the results of configure
17955 # tests run on this system so they can be shared between configure
17956 # scripts and configure runs, see configure's option --config-cache.
17957 # It is not useful on other systems. If it contains results you don't
17958 # want to keep, you may remove or edit it.
17960 # config.status only pays attention to the cache file if you give it
17961 # the --recheck option to rerun configure.
17963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17965 # following values.
17969 # The following way of writing the cache mishandles newlines in values,
17970 # but we know of no workaround that is simple, portable, and efficient.
17971 # So, don't put newlines in cache variables' values.
17972 # Ultrix sh set writes to stderr and can't be redirected directly,
17973 # and sets the high bit in the cache file unless we assign to the vars.
17976 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17978 # `set' does not quote correctly, so add quotes (double-quote
17979 # substitution turns \\\\ into \\, and sed turns \\ into \).
17982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17985 # `set' quotes correctly as required by POSIX, so do not add quotes.
17987 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17996 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17998 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17999 if test -w $cache_file; then
18000 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18001 cat confcache
>$cache_file
18003 echo "not updating unwritable cache $cache_file"
18008 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18009 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18010 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18011 if test "${wx_cv_lib_glibc21+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 cat >conftest.
$ac_ext <<_ACEOF
18016 #line $LINENO "configure"
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 #include <features.h>
18027 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18028 #error not glibc2.1
18035 rm -f conftest.
$ac_objext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try
='test -s conftest.$ac_objext'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18048 wx_cv_lib_glibc21
=yes
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18055 wx_cv_lib_glibc21
=no
18059 rm -f conftest.
$ac_objext conftest.
$ac_ext
18062 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18063 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18064 if test "$wx_cv_lib_glibc21" = "yes"; then
18065 cat >>confdefs.h
<<\_ACEOF
18066 #define wxHAVE_GLIBC2 1
18072 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18073 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18074 cat >>confdefs.h
<<\_ACEOF
18075 #define _GNU_SOURCE 1
18084 if test "$wxUSE_REGEX" != "no"; then
18085 cat >>confdefs.h
<<\_ACEOF
18086 #define wxUSE_REGEX 1
18090 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18091 if test "${ac_cv_header_regex_h+set}" = set; then
18092 echo "$as_me:$LINENO: checking for regex.h" >&5
18093 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18094 if test "${ac_cv_header_regex_h+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18098 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18100 # Is the header compilable?
18101 echo "$as_me:$LINENO: checking regex.h usability" >&5
18102 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18103 cat >conftest.
$ac_ext <<_ACEOF
18104 #line $LINENO "configure"
18107 cat confdefs.h
>>conftest.
$ac_ext
18108 cat >>conftest.
$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18110 $ac_includes_default
18113 rm -f conftest.
$ac_objext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 ac_header_compiler
=yes
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.
$ac_ext >&5
18130 ac_header_compiler
=no
18132 rm -f conftest.
$ac_objext conftest.
$ac_ext
18133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18134 echo "${ECHO_T}$ac_header_compiler" >&6
18136 # Is the header present?
18137 echo "$as_me:$LINENO: checking regex.h presence" >&5
18138 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18139 cat >conftest.
$ac_ext <<_ACEOF
18140 #line $LINENO "configure"
18143 cat confdefs.h
>>conftest.
$ac_ext
18144 cat >>conftest.
$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } >/dev
/null
; then
18156 if test -s conftest.err
; then
18157 ac_cpp_err
=$ac_c_preproc_warn_flag
18164 if test -z "$ac_cpp_err"; then
18165 ac_header_preproc
=yes
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.
$ac_ext >&5
18170 ac_header_preproc
=no
18172 rm -f conftest.err conftest.
$ac_ext
18173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18174 echo "${ECHO_T}$ac_header_preproc" >&6
18176 # So? What about this header?
18177 case $ac_header_compiler:$ac_header_preproc in
18179 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18180 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18181 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18182 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18185 ## ------------------------------------ ##
18186 ## Report this to bug-autoconf@gnu.org. ##
18187 ## ------------------------------------ ##
18190 sed "s/^/$as_me: WARNING: /" >&2
18193 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18194 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18195 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18196 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18197 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18198 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18201 ## ------------------------------------ ##
18202 ## Report this to bug-autoconf@gnu.org. ##
18203 ## ------------------------------------ ##
18206 sed "s/^/$as_me: WARNING: /" >&2
18209 echo "$as_me:$LINENO: checking for regex.h" >&5
18210 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18211 if test "${ac_cv_header_regex_h+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 ac_cv_header_regex_h
=$ac_header_preproc
18216 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18217 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18220 if test $ac_cv_header_regex_h = yes; then
18222 for ac_func
in regcomp
18224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18225 echo "$as_me:$LINENO: checking for $ac_func" >&5
18226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18227 if eval "test \"\${$as_ac_var+set}\" = set"; then
18228 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 cat >conftest.
$ac_ext <<_ACEOF
18231 #line $LINENO "configure"
18234 cat confdefs.h
>>conftest.
$ac_ext
18235 cat >>conftest.
$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237 /* System header to define __stub macros and hopefully few prototypes,
18238 which can conflict with char $ac_func (); below.
18239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18240 <limits.h> exists even on freestanding compilers. */
18242 # include <limits.h>
18244 # include <assert.h>
18246 /* Override any gcc2 internal prototype to avoid an error. */
18251 /* We use char because int might match the return type of a gcc2
18252 builtin and then its argument prototype would still apply. */
18254 /* The GNU C library defines this for functions which it implements
18255 to always fail with ENOSYS. Some functions are actually named
18256 something starting with __ and the normal name is an alias. */
18257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18260 char (*f) () = $ac_func;
18269 return f != $ac_func;
18274 rm -f conftest.
$ac_objext conftest
$ac_exeext
18275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18276 (eval $ac_link) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -s conftest$ac_exeext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 eval "$as_ac_var=yes"
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.
$ac_ext >&5
18291 eval "$as_ac_var=no"
18293 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18297 if test `eval echo '${'$as_ac_var'}'` = yes; then
18298 cat >>confdefs.h
<<_ACEOF
18299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18309 if test "x$ac_cv_func_regcomp" != "xyes"; then
18310 if test "$wxUSE_REGEX" = "sys" ; then
18311 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18312 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18313 { (exit 1); exit 1; }; }
18315 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18316 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18317 wxUSE_REGEX
=builtin
18324 if test "$wxUSE_REGEX" = "builtin" ; then
18325 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18332 if test "$wxUSE_ZLIB" != "no" ; then
18333 cat >>confdefs.h
<<\_ACEOF
18334 #define wxUSE_ZLIB 1
18338 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18339 if test "$USE_DARWIN" = 1; then
18340 system_zlib_h_ok
="yes"
18342 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18343 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18344 if test "${ac_cv_header_zlib_h+set}" = set; then
18345 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 if test "$cross_compiling" = yes; then
18348 unset ac_cv_header_zlib_h
18351 cat >conftest.
$ac_ext <<_ACEOF
18352 #line $LINENO "configure"
18355 cat confdefs.h
>>conftest.
$ac_ext
18356 cat >>conftest.
$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18364 FILE *f=fopen("conftestval", "w");
18367 ZLIB_VERSION[0] == '1' &&
18368 (ZLIB_VERSION[2] > '1' ||
18369 (ZLIB_VERSION[2] == '1' &&
18370 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18375 rm -f conftest
$ac_exeext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18377 (eval $ac_link) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 ac_cv_header_zlib_h
=`cat conftestval`
18388 echo "$as_me: program exited with status $ac_status" >&5
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.
$ac_ext >&5
18392 ( exit $ac_status )
18393 ac_cv_header_zlib_h
=no
18395 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18399 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18400 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18401 if test "${ac_cv_header_zlib_h+set}" = set; then
18402 echo "$as_me:$LINENO: checking for zlib.h" >&5
18403 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18404 if test "${ac_cv_header_zlib_h+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18407 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18408 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18410 # Is the header compilable?
18411 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18412 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18413 cat >conftest.
$ac_ext <<_ACEOF
18414 #line $LINENO "configure"
18417 cat confdefs.h
>>conftest.
$ac_ext
18418 cat >>conftest.
$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18420 $ac_includes_default
18423 rm -f conftest.
$ac_objext
18424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18425 (eval $ac_compile) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -s conftest.$ac_objext'
18430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431 (eval $ac_try) 2>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; }; then
18435 ac_header_compiler
=yes
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.
$ac_ext >&5
18440 ac_header_compiler
=no
18442 rm -f conftest.
$ac_objext conftest.
$ac_ext
18443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18444 echo "${ECHO_T}$ac_header_compiler" >&6
18446 # Is the header present?
18447 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18448 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18449 cat >conftest.
$ac_ext <<_ACEOF
18450 #line $LINENO "configure"
18453 cat confdefs.h
>>conftest.
$ac_ext
18454 cat >>conftest.
$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18461 grep -v '^ *+' conftest.er1
>conftest.err
18463 cat conftest.err
>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } >/dev
/null
; then
18466 if test -s conftest.err
; then
18467 ac_cpp_err
=$ac_c_preproc_warn_flag
18474 if test -z "$ac_cpp_err"; then
18475 ac_header_preproc
=yes
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.
$ac_ext >&5
18480 ac_header_preproc
=no
18482 rm -f conftest.err conftest.
$ac_ext
18483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18484 echo "${ECHO_T}$ac_header_preproc" >&6
18486 # So? What about this header?
18487 case $ac_header_compiler:$ac_header_preproc in
18489 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18490 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18491 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18492 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18495 ## ------------------------------------ ##
18496 ## Report this to bug-autoconf@gnu.org. ##
18497 ## ------------------------------------ ##
18500 sed "s/^/$as_me: WARNING: /" >&2
18503 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18504 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18505 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18506 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18507 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18508 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18511 ## ------------------------------------ ##
18512 ## Report this to bug-autoconf@gnu.org. ##
18513 ## ------------------------------------ ##
18516 sed "s/^/$as_me: WARNING: /" >&2
18519 echo "$as_me:$LINENO: checking for zlib.h" >&5
18520 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18521 if test "${ac_cv_header_zlib_h+set}" = set; then
18522 echo $ECHO_N "(cached) $ECHO_C" >&6
18524 ac_cv_header_zlib_h
=$ac_header_preproc
18526 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18527 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18533 system_zlib_h_ok
=$ac_cv_header_zlib_h
18536 if test "$system_zlib_h_ok" = "yes"; then
18537 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18538 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18539 if test "${ac_cv_lib_z_deflate+set}" = set; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6
18542 ac_check_lib_save_LIBS
=$LIBS
18544 cat >conftest.
$ac_ext <<_ACEOF
18545 #line $LINENO "configure"
18548 cat confdefs.h
>>conftest.
$ac_ext
18549 cat >>conftest.
$ac_ext <<_ACEOF
18550 /* end confdefs.h. */
18552 /* Override any gcc2 internal prototype to avoid an error. */
18556 /* We use char because int might match the return type of a gcc2
18557 builtin and then its argument prototype would still apply. */
18567 rm -f conftest.
$ac_objext conftest
$ac_exeext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18569 (eval $ac_link) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try
='test -s conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_lib_z_deflate
=yes
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.
$ac_ext >&5
18584 ac_cv_lib_z_deflate
=no
18586 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18587 LIBS
=$ac_check_lib_save_LIBS
18589 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18590 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18591 if test $ac_cv_lib_z_deflate = yes; then
18597 if test "x$ZLIB_LINK" = "x" ; then
18598 if test "$wxUSE_ZLIB" = "sys" ; then
18599 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18600 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18601 { (exit 1); exit 1; }; }
18603 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18604 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18612 if test "$wxUSE_ZLIB" = "builtin" ; then
18613 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18620 if test "$wxUSE_LIBPNG" != "no" ; then
18621 cat >>confdefs.h
<<\_ACEOF
18622 #define wxUSE_LIBPNG 1
18626 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18627 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18628 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18632 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18633 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18634 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18635 wxUSE_LIBPNG
=builtin
18638 if test "$wxUSE_MGL" != 1 ; then
18639 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18640 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18641 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18642 if test "${ac_cv_header_png_h+set}" = set; then
18643 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 if test "$cross_compiling" = yes; then
18646 unset ac_cv_header_png_h
18649 cat >conftest.
$ac_ext <<_ACEOF
18650 #line $LINENO "configure"
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18662 FILE *f=fopen("conftestval", "w");
18665 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18670 rm -f conftest
$ac_exeext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18672 (eval $ac_link) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_header_png_h
=`cat conftestval`
18683 echo "$as_me: program exited with status $ac_status" >&5
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.
$ac_ext >&5
18687 ( exit $ac_status )
18688 ac_cv_header_png_h
=no
18690 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18694 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18695 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18696 if test "${ac_cv_header_png_h+set}" = set; then
18697 echo "$as_me:$LINENO: checking for png.h" >&5
18698 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18699 if test "${ac_cv_header_png_h+set}" = set; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18703 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18705 # Is the header compilable?
18706 echo "$as_me:$LINENO: checking png.h usability" >&5
18707 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18708 cat >conftest.
$ac_ext <<_ACEOF
18709 #line $LINENO "configure"
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18718 rm -f conftest.
$ac_objext
18719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18720 (eval $ac_compile) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -s conftest.$ac_objext'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; }; then
18730 ac_header_compiler
=yes
18732 echo "$as_me: failed program was:" >&5
18733 sed 's/^/| /' conftest.
$ac_ext >&5
18735 ac_header_compiler
=no
18737 rm -f conftest.
$ac_objext conftest.
$ac_ext
18738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18739 echo "${ECHO_T}$ac_header_compiler" >&6
18741 # Is the header present?
18742 echo "$as_me:$LINENO: checking png.h presence" >&5
18743 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18744 cat >conftest.
$ac_ext <<_ACEOF
18745 #line $LINENO "configure"
18748 cat confdefs.h
>>conftest.
$ac_ext
18749 cat >>conftest.
$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18756 grep -v '^ *+' conftest.er1
>conftest.err
18758 cat conftest.err
>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } >/dev
/null
; then
18761 if test -s conftest.err
; then
18762 ac_cpp_err
=$ac_c_preproc_warn_flag
18769 if test -z "$ac_cpp_err"; then
18770 ac_header_preproc
=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 ac_header_preproc
=no
18777 rm -f conftest.err conftest.
$ac_ext
18778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18779 echo "${ECHO_T}$ac_header_preproc" >&6
18781 # So? What about this header?
18782 case $ac_header_compiler:$ac_header_preproc in
18784 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18785 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18786 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18787 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18790 ## ------------------------------------ ##
18791 ## Report this to bug-autoconf@gnu.org. ##
18792 ## ------------------------------------ ##
18795 sed "s/^/$as_me: WARNING: /" >&2
18798 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18799 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18800 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18801 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18802 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18803 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18806 ## ------------------------------------ ##
18807 ## Report this to bug-autoconf@gnu.org. ##
18808 ## ------------------------------------ ##
18811 sed "s/^/$as_me: WARNING: /" >&2
18814 echo "$as_me:$LINENO: checking for png.h" >&5
18815 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18816 if test "${ac_cv_header_png_h+set}" = set; then
18817 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 ac_cv_header_png_h
=$ac_header_preproc
18821 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18822 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18828 if test "$ac_cv_header_png_h" = "yes"; then
18829 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18830 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18831 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 ac_check_lib_save_LIBS
=$LIBS
18835 LIBS
="-lpng -lz -lm $LIBS"
18836 cat >conftest.
$ac_ext <<_ACEOF
18837 #line $LINENO "configure"
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18844 /* Override any gcc2 internal prototype to avoid an error. */
18848 /* We use char because int might match the return type of a gcc2
18849 builtin and then its argument prototype would still apply. */
18850 char png_check_sig ();
18859 rm -f conftest.
$ac_objext conftest
$ac_exeext
18860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18861 (eval $ac_link) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try
='test -s conftest$ac_exeext'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; }; then
18871 ac_cv_lib_png_png_check_sig
=yes
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.
$ac_ext >&5
18876 ac_cv_lib_png_png_check_sig
=no
18878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18879 LIBS
=$ac_check_lib_save_LIBS
18881 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18882 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18883 if test $ac_cv_lib_png_png_check_sig = yes; then
18889 if test "x$PNG_LINK" = "x" ; then
18890 if test "$wxUSE_LIBPNG" = "sys" ; then
18891 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18892 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18893 { (exit 1); exit 1; }; }
18895 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18896 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18897 wxUSE_LIBPNG
=builtin
18905 if test "$wxUSE_LIBPNG" = "builtin" ; then
18906 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18915 if test "$wxUSE_LIBJPEG" != "no" ; then
18916 cat >>confdefs.h
<<\_ACEOF
18917 #define wxUSE_LIBJPEG 1
18921 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18922 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18923 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18927 if test "$wxUSE_MGL" != 1 ; then
18928 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18929 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18930 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18931 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 cat >conftest.
$ac_ext <<_ACEOF
18935 #line $LINENO "configure"
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18942 #undef HAVE_STDLIB_H
18944 #include <jpeglib.h>
18955 rm -f conftest.
$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try
='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_header_jpeglib_h
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_header_jpeglib_h
=no
18975 rm -f conftest.
$ac_objext conftest.
$ac_ext
18979 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18980 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18982 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18983 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18984 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18985 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18986 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 ac_check_lib_save_LIBS
=$LIBS
18989 LIBS
="-ljpeg $LIBS"
18990 cat >conftest.
$ac_ext <<_ACEOF
18991 #line $LINENO "configure"
18994 cat confdefs.h
>>conftest.
$ac_ext
18995 cat >>conftest.
$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18998 /* Override any gcc2 internal prototype to avoid an error. */
19002 /* We use char because int might match the return type of a gcc2
19003 builtin and then its argument prototype would still apply. */
19004 char jpeg_read_header ();
19008 jpeg_read_header ();
19013 rm -f conftest.
$ac_objext conftest
$ac_exeext
19014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19015 (eval $ac_link) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } &&
19019 { ac_try
='test -s conftest$ac_exeext'
19020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19021 (eval $ac_try) 2>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); }; }; then
19025 ac_cv_lib_jpeg_jpeg_read_header
=yes
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.
$ac_ext >&5
19030 ac_cv_lib_jpeg_jpeg_read_header
=no
19032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19033 LIBS
=$ac_check_lib_save_LIBS
19035 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19036 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19037 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19038 JPEG_LINK
=" -ljpeg"
19043 if test "x$JPEG_LINK" = "x" ; then
19044 if test "$wxUSE_LIBJPEG" = "sys" ; then
19045 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19046 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19047 { (exit 1); exit 1; }; }
19049 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19050 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19051 wxUSE_LIBJPEG
=builtin
19059 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19060 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19067 TIFF_PREREQ_LINKS
=-lm
19068 if test "$wxUSE_LIBTIFF" != "no" ; then
19069 cat >>confdefs.h
<<\_ACEOF
19070 #define wxUSE_LIBTIFF 1
19074 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19075 if test "$wxUSE_LIBJPEG" = "sys"; then
19076 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19078 if test "$wxUSE_ZLIB" = "sys"; then
19079 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19081 if test "${ac_cv_header_tiffio_h+set}" = set; then
19082 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19083 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19084 if test "${ac_cv_header_tiffio_h+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19088 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19090 # Is the header compilable?
19091 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19092 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19093 cat >conftest.
$ac_ext <<_ACEOF
19094 #line $LINENO "configure"
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 #include <tiffio.h>
19103 rm -f conftest.
$ac_objext
19104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19105 (eval $ac_compile) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try
='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 ac_header_compiler
=yes
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.
$ac_ext >&5
19120 ac_header_compiler
=no
19122 rm -f conftest.
$ac_objext conftest.
$ac_ext
19123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19124 echo "${ECHO_T}$ac_header_compiler" >&6
19126 # Is the header present?
19127 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19128 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19129 cat >conftest.
$ac_ext <<_ACEOF
19130 #line $LINENO "configure"
19133 cat confdefs.h
>>conftest.
$ac_ext
19134 cat >>conftest.
$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 #include <tiffio.h>
19138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19141 grep -v '^ *+' conftest.er1
>conftest.err
19143 cat conftest.err
>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } >/dev
/null
; then
19146 if test -s conftest.err
; then
19147 ac_cpp_err
=$ac_c_preproc_warn_flag
19154 if test -z "$ac_cpp_err"; then
19155 ac_header_preproc
=yes
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.
$ac_ext >&5
19160 ac_header_preproc
=no
19162 rm -f conftest.err conftest.
$ac_ext
19163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19164 echo "${ECHO_T}$ac_header_preproc" >&6
19166 # So? What about this header?
19167 case $ac_header_compiler:$ac_header_preproc in
19169 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19170 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19171 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19172 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19175 ## ------------------------------------ ##
19176 ## Report this to bug-autoconf@gnu.org. ##
19177 ## ------------------------------------ ##
19180 sed "s/^/$as_me: WARNING: /" >&2
19183 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19184 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19185 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19186 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19187 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19188 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19191 ## ------------------------------------ ##
19192 ## Report this to bug-autoconf@gnu.org. ##
19193 ## ------------------------------------ ##
19196 sed "s/^/$as_me: WARNING: /" >&2
19199 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19200 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19201 if test "${ac_cv_header_tiffio_h+set}" = set; then
19202 echo $ECHO_N "(cached) $ECHO_C" >&6
19204 ac_cv_header_tiffio_h
=$ac_header_preproc
19206 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19207 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19210 if test $ac_cv_header_tiffio_h = yes; then
19211 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19212 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19213 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19214 echo $ECHO_N "(cached) $ECHO_C" >&6
19216 ac_check_lib_save_LIBS
=$LIBS
19217 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19218 cat >conftest.
$ac_ext <<_ACEOF
19219 #line $LINENO "configure"
19222 cat confdefs.h
>>conftest.
$ac_ext
19223 cat >>conftest.
$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19226 /* Override any gcc2 internal prototype to avoid an error. */
19230 /* We use char because int might match the return type of a gcc2
19231 builtin and then its argument prototype would still apply. */
19241 rm -f conftest.
$ac_objext conftest
$ac_exeext
19242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19243 (eval $ac_link) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); } &&
19247 { ac_try
='test -s conftest$ac_exeext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 ac_cv_lib_tiff_TIFFError
=yes
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.
$ac_ext >&5
19258 ac_cv_lib_tiff_TIFFError
=no
19260 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19261 LIBS
=$ac_check_lib_save_LIBS
19263 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19264 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19265 if test $ac_cv_lib_tiff_TIFFError = yes; then
19266 TIFF_LINK
=" -ltiff"
19274 if test "x$TIFF_LINK" = "x" ; then
19275 if test "$wxUSE_LIBTIFF" = "sys" ; then
19276 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19277 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19278 { (exit 1); exit 1; }; }
19280 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19281 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19282 wxUSE_LIBTIFF
=builtin
19289 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19290 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19295 if test "$wxUSE_EXPAT" != "no"; then
19297 cat >>confdefs.h
<<\_ACEOF
19298 #define wxUSE_EXPAT 1
19301 cat >>confdefs.h
<<\_ACEOF
19302 #define wxUSE_XML 1
19306 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19307 if test "${ac_cv_header_expat_h+set}" = set; then
19308 echo "$as_me:$LINENO: checking for expat.h" >&5
19309 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19310 if test "${ac_cv_header_expat_h+set}" = set; then
19311 echo $ECHO_N "(cached) $ECHO_C" >&6
19313 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19314 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19316 # Is the header compilable?
19317 echo "$as_me:$LINENO: checking expat.h usability" >&5
19318 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19319 cat >conftest.
$ac_ext <<_ACEOF
19320 #line $LINENO "configure"
19323 cat confdefs.h
>>conftest.
$ac_ext
19324 cat >>conftest.
$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19326 $ac_includes_default
19329 rm -f conftest.
$ac_objext
19330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19331 (eval $ac_compile) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try
='test -s conftest.$ac_objext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 ac_header_compiler
=yes
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.
$ac_ext >&5
19346 ac_header_compiler
=no
19348 rm -f conftest.
$ac_objext conftest.
$ac_ext
19349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19350 echo "${ECHO_T}$ac_header_compiler" >&6
19352 # Is the header present?
19353 echo "$as_me:$LINENO: checking expat.h presence" >&5
19354 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19355 cat >conftest.
$ac_ext <<_ACEOF
19356 #line $LINENO "configure"
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19367 grep -v '^ *+' conftest.er1
>conftest.err
19369 cat conftest.err
>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } >/dev
/null
; then
19372 if test -s conftest.err
; then
19373 ac_cpp_err
=$ac_c_preproc_warn_flag
19380 if test -z "$ac_cpp_err"; then
19381 ac_header_preproc
=yes
19383 echo "$as_me: failed program was:" >&5
19384 sed 's/^/| /' conftest.
$ac_ext >&5
19386 ac_header_preproc
=no
19388 rm -f conftest.err conftest.
$ac_ext
19389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19390 echo "${ECHO_T}$ac_header_preproc" >&6
19392 # So? What about this header?
19393 case $ac_header_compiler:$ac_header_preproc in
19395 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19396 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19397 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19398 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19401 ## ------------------------------------ ##
19402 ## Report this to bug-autoconf@gnu.org. ##
19403 ## ------------------------------------ ##
19406 sed "s/^/$as_me: WARNING: /" >&2
19409 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19410 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19411 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19412 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19413 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19414 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19417 ## ------------------------------------ ##
19418 ## Report this to bug-autoconf@gnu.org. ##
19419 ## ------------------------------------ ##
19422 sed "s/^/$as_me: WARNING: /" >&2
19425 echo "$as_me:$LINENO: checking for expat.h" >&5
19426 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19427 if test "${ac_cv_header_expat_h+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19430 ac_cv_header_expat_h
=$ac_header_preproc
19432 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19433 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19436 if test $ac_cv_header_expat_h = yes; then
19441 if test "x$found_expat_h" = "x1"; then
19442 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19443 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19444 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19445 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 ac_cpp
='$CXXCPP $CPPFLAGS'
19452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19456 cat >conftest.
$ac_ext <<_ACEOF
19457 #line $LINENO "configure"
19460 cat confdefs.h
>>conftest.
$ac_ext
19461 cat >>conftest.
$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19472 rm -f conftest.
$ac_objext
19473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19474 (eval $ac_compile) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } &&
19478 { ac_try
='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 wx_cv_expat_is_not_broken
=yes
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.
$ac_ext >&5
19489 wx_cv_expat_is_not_broken
=no
19492 rm -f conftest.
$ac_objext conftest.
$ac_ext
19494 ac_cpp
='$CPP $CPPFLAGS'
19495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19502 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19503 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19504 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19505 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19506 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19507 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 ac_check_lib_save_LIBS
=$LIBS
19511 LIBS
="-lexpat $LIBS"
19512 cat >conftest.
$ac_ext <<_ACEOF
19513 #line $LINENO "configure"
19516 cat confdefs.h
>>conftest.
$ac_ext
19517 cat >>conftest.
$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19520 /* Override any gcc2 internal prototype to avoid an error. */
19524 /* We use char because int might match the return type of a gcc2
19525 builtin and then its argument prototype would still apply. */
19526 char XML_ParserCreate ();
19530 XML_ParserCreate ();
19535 rm -f conftest.
$ac_objext conftest
$ac_exeext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19537 (eval $ac_link) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } &&
19541 { ac_try
='test -s conftest$ac_exeext'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; }; then
19547 ac_cv_lib_expat_XML_ParserCreate
=yes
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.
$ac_ext >&5
19552 ac_cv_lib_expat_XML_ParserCreate
=no
19554 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19555 LIBS
=$ac_check_lib_save_LIBS
19557 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19558 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19559 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19560 EXPAT_LINK
=" -lexpat"
19565 if test "x$EXPAT_LINK" = "x" ; then
19566 if test "$wxUSE_EXPAT" = "sys" ; then
19567 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19568 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19569 { (exit 1); exit 1; }; }
19571 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19572 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19573 wxUSE_EXPAT
=builtin
19579 if test "$wxUSE_EXPAT" = "builtin" ; then
19582 subdirs
="$subdirs src/expat"
19596 if test "$USE_WIN32" = 1 ; then
19598 for ac_header
in w32api.h
19600 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19602 echo "$as_me:$LINENO: checking for $ac_header" >&5
19603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19605 echo $ECHO_N "(cached) $ECHO_C" >&6
19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19610 # Is the header compilable?
19611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19613 cat >conftest.
$ac_ext <<_ACEOF
19614 #line $LINENO "configure"
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 $ac_includes_default
19621 #include <$ac_header>
19623 rm -f conftest.
$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try
='test -s conftest.$ac_objext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_header_compiler
=yes
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.
$ac_ext >&5
19640 ac_header_compiler
=no
19642 rm -f conftest.
$ac_objext conftest.
$ac_ext
19643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19644 echo "${ECHO_T}$ac_header_compiler" >&6
19646 # Is the header present?
19647 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19649 cat >conftest.
$ac_ext <<_ACEOF
19650 #line $LINENO "configure"
19653 cat confdefs.h
>>conftest.
$ac_ext
19654 cat >>conftest.
$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 #include <$ac_header>
19658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19659 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19661 grep -v '^ *+' conftest.er1
>conftest.err
19663 cat conftest.err
>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } >/dev
/null
; then
19666 if test -s conftest.err
; then
19667 ac_cpp_err
=$ac_c_preproc_warn_flag
19674 if test -z "$ac_cpp_err"; then
19675 ac_header_preproc
=yes
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.
$ac_ext >&5
19680 ac_header_preproc
=no
19682 rm -f conftest.err conftest.
$ac_ext
19683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19684 echo "${ECHO_T}$ac_header_preproc" >&6
19686 # So? What about this header?
19687 case $ac_header_compiler:$ac_header_preproc in
19689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19695 ## ------------------------------------ ##
19696 ## Report this to bug-autoconf@gnu.org. ##
19697 ## ------------------------------------ ##
19700 sed "s/^/$as_me: WARNING: /" >&2
19703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19711 ## ------------------------------------ ##
19712 ## Report this to bug-autoconf@gnu.org. ##
19713 ## ------------------------------------ ##
19716 sed "s/^/$as_me: WARNING: /" >&2
19719 echo "$as_me:$LINENO: checking for $ac_header" >&5
19720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19724 eval "$as_ac_Header=$ac_header_preproc"
19726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19731 cat >>confdefs.h
<<_ACEOF
19732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19739 if test "${ac_cv_header_windows_h+set}" = set; then
19740 echo "$as_me:$LINENO: checking for windows.h" >&5
19741 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19742 if test "${ac_cv_header_windows_h+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19746 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19748 # Is the header compilable?
19749 echo "$as_me:$LINENO: checking windows.h usability" >&5
19750 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19751 cat >conftest.
$ac_ext <<_ACEOF
19752 #line $LINENO "configure"
19755 cat confdefs.h
>>conftest.
$ac_ext
19756 cat >>conftest.
$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19758 $ac_includes_default
19759 #include <windows.h>
19761 rm -f conftest.
$ac_objext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19763 (eval $ac_compile) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try
='test -s conftest.$ac_objext'
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_header_compiler
=yes
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.
$ac_ext >&5
19778 ac_header_compiler
=no
19780 rm -f conftest.
$ac_objext conftest.
$ac_ext
19781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19782 echo "${ECHO_T}$ac_header_compiler" >&6
19784 # Is the header present?
19785 echo "$as_me:$LINENO: checking windows.h presence" >&5
19786 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19787 cat >conftest.
$ac_ext <<_ACEOF
19788 #line $LINENO "configure"
19791 cat confdefs.h
>>conftest.
$ac_ext
19792 cat >>conftest.
$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 #include <windows.h>
19796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19799 grep -v '^ *+' conftest.er1
>conftest.err
19801 cat conftest.err
>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } >/dev
/null
; then
19804 if test -s conftest.err
; then
19805 ac_cpp_err
=$ac_c_preproc_warn_flag
19812 if test -z "$ac_cpp_err"; then
19813 ac_header_preproc
=yes
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.
$ac_ext >&5
19818 ac_header_preproc
=no
19820 rm -f conftest.err conftest.
$ac_ext
19821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19822 echo "${ECHO_T}$ac_header_preproc" >&6
19824 # So? What about this header?
19825 case $ac_header_compiler:$ac_header_preproc in
19827 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19828 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19829 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19830 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19833 ## ------------------------------------ ##
19834 ## Report this to bug-autoconf@gnu.org. ##
19835 ## ------------------------------------ ##
19838 sed "s/^/$as_me: WARNING: /" >&2
19841 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19842 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19843 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19844 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19845 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19846 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19849 ## ------------------------------------ ##
19850 ## Report this to bug-autoconf@gnu.org. ##
19851 ## ------------------------------------ ##
19854 sed "s/^/$as_me: WARNING: /" >&2
19857 echo "$as_me:$LINENO: checking for windows.h" >&5
19858 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19859 if test "${ac_cv_header_windows_h+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19862 ac_cv_header_windows_h
=$ac_header_preproc
19864 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19865 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19868 if test $ac_cv_header_windows_h = yes; then
19872 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19873 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19874 { (exit 1); exit 1; }; }
19880 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19882 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19883 LIBS
="$LIBS -loleacc"
19888 LIBS
="$LIBS -lkernel32 -luser32"
19889 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19892 if test "$wxUSE_ODBC" = "sys" ; then
19895 if test "$wxUSE_ODBC" = "yes" ; then
19896 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19897 cat >>confdefs.h
<<\_ACEOF
19898 #define wxUSE_ODBC 1
19903 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19904 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19906 WIN32INSTALL
=win32install
19909 if test "$wxUSE_GUI" = "yes"; then
19918 if test "$wxUSE_MSW" = 1 ; then
19924 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19928 if test "$wxUSE_GTK" = 1; then
19929 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19930 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19932 gtk_version_cached
=1
19933 if test "${wx_cv_lib_gtk+set}" = set; then
19934 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 gtk_version_cached
=0
19938 echo "$as_me:$LINENO: result: " >&5
19939 echo "${ECHO_T}" >&6
19942 if test "$wxUSE_THREADS" = "yes"; then
19943 GTK_MODULES
=gthread
19947 if test "x$wxUSE_GTK2" = "xyes"; then
19948 # Check whether --enable-gtktest or --disable-gtktest was given.
19949 if test "${enable_gtktest+set}" = set; then
19950 enableval
="$enable_gtktest"
19956 pkg_config_args
=gtk
+-2.0
19957 for module
in .
$GTK_MODULES
19961 pkg_config_args
="$pkg_config_args gthread-2.0"
19968 # Extract the first word of "pkg-config", so it can be a program name with args.
19969 set dummy pkg
-config; ac_word
=$2
19970 echo "$as_me:$LINENO: checking for $ac_word" >&5
19971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19973 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 case $PKG_CONFIG in
19977 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19981 for as_dir
in $PATH
19984 test -z "$as_dir" && as_dir
=.
19985 for ac_exec_ext
in '' $ac_executable_extensions; do
19986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19987 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19994 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19998 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20000 if test -n "$PKG_CONFIG"; then
20001 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20002 echo "${ECHO_T}$PKG_CONFIG" >&6
20004 echo "$as_me:$LINENO: result: no" >&5
20005 echo "${ECHO_T}no" >&6
20009 if test x
$PKG_CONFIG != xno
; then
20010 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20013 echo *** pkg
-config too old
; version
0.7 or better required.
20021 min_gtk_version
=2.0.0
20022 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20023 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20025 if test x
$PKG_CONFIG != xno
; then
20026 ## don't try to run the test against uninstalled libtool libs
20027 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20028 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20032 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20039 if test x
"$no_gtk" = x
; then
20040 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20041 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20042 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20044 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20046 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20048 if test "x$enable_gtktest" = "xyes" ; then
20049 ac_save_CFLAGS
="$CFLAGS"
20050 ac_save_LIBS
="$LIBS"
20051 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20052 LIBS
="$GTK_LIBS $LIBS"
20054 if test "$cross_compiling" = yes; then
20055 echo $ac_n "cross compiling; assumed OK... $ac_c"
20057 cat >conftest.
$ac_ext <<_ACEOF
20058 #line $LINENO "configure"
20061 cat confdefs.h
>>conftest.
$ac_ext
20062 cat >>conftest.
$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20065 #include <gtk/gtk.h>
20067 #include <stdlib.h>
20072 int major, minor, micro;
20075 system ("touch conf.gtktest");
20077 /* HP/UX 9 (%@#!) writes to sscanf strings */
20078 tmp_version = g_strdup("$min_gtk_version");
20079 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20080 printf("%s, bad version string\n", "$min_gtk_version");
20084 if ((gtk_major_version != $gtk_config_major_version) ||
20085 (gtk_minor_version != $gtk_config_minor_version) ||
20086 (gtk_micro_version != $gtk_config_micro_version))
20088 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20089 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20090 gtk_major_version, gtk_minor_version, gtk_micro_version);
20091 printf ("*** was found! If pkg-config was correct, then it is best\n");
20092 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20093 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20094 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20095 printf("*** required on your system.\n");
20096 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20097 printf("*** to point to the correct configuration files\n");
20099 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20100 (gtk_minor_version != GTK_MINOR_VERSION) ||
20101 (gtk_micro_version != GTK_MICRO_VERSION))
20103 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20104 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20105 printf("*** library (version %d.%d.%d)\n",
20106 gtk_major_version, gtk_minor_version, gtk_micro_version);
20110 if ((gtk_major_version > major) ||
20111 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20112 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20118 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20119 gtk_major_version, gtk_minor_version, gtk_micro_version);
20120 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20121 major, minor, micro);
20122 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20124 printf("*** If you have already installed a sufficiently new version, this error\n");
20125 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20126 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20127 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20128 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20129 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20130 printf("*** so that the correct libraries are found at run-time))\n");
20137 rm -f conftest
$ac_exeext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20139 (eval $ac_link) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20150 echo "$as_me: program exited with status $ac_status" >&5
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.
$ac_ext >&5
20154 ( exit $ac_status )
20157 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20159 CFLAGS
="$ac_save_CFLAGS"
20160 LIBS
="$ac_save_LIBS"
20163 if test "x$no_gtk" = x
; then
20164 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20165 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20168 echo "$as_me:$LINENO: result: no" >&5
20169 echo "${ECHO_T}no" >&6
20170 if test "$PKG_CONFIG" = "no" ; then
20171 echo "*** A new enough version of pkg-config was not found."
20172 echo "*** See http://pkgconfig.sourceforge.net"
20174 if test -f conf.gtktest
; then
20177 echo "*** Could not run GTK+ test program, checking why..."
20178 ac_save_CFLAGS
="$CFLAGS"
20179 ac_save_LIBS
="$LIBS"
20180 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20181 LIBS
="$LIBS $GTK_LIBS"
20182 cat >conftest.
$ac_ext <<_ACEOF
20183 #line $LINENO "configure"
20186 cat confdefs.h
>>conftest.
$ac_ext
20187 cat >>conftest.
$ac_ext <<_ACEOF
20188 /* end confdefs.h. */
20190 #include <gtk/gtk.h>
20196 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20201 rm -f conftest.
$ac_objext conftest
$ac_exeext
20202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20203 (eval $ac_link) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } &&
20207 { ac_try
='test -s conftest$ac_exeext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 echo "*** The test program compiled, but did not run. This usually means"
20214 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20215 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20218 echo "*** is required on your system"
20220 echo "*** If you have an old version installed, it is best to remove it, although"
20221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.
$ac_ext >&5
20226 echo "*** The test program failed to compile or link. See the file config.log for the"
20227 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20230 CFLAGS
="$ac_save_CFLAGS"
20231 LIBS
="$ac_save_LIBS"
20244 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20245 if test "${with_gtk_prefix+set}" = set; then
20246 withval
="$with_gtk_prefix"
20247 gtk_config_prefix
="$withval"
20249 gtk_config_prefix
=""
20252 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20253 if test "${with_gtk_exec_prefix+set}" = set; then
20254 withval
="$with_gtk_exec_prefix"
20255 gtk_config_exec_prefix
="$withval"
20257 gtk_config_exec_prefix
=""
20259 # Check whether --enable-gtktest or --disable-gtktest was given.
20260 if test "${enable_gtktest+set}" = set; then
20261 enableval
="$enable_gtktest"
20267 for module
in .
$GTK_MODULES
20271 gtk_config_args
="$gtk_config_args gthread"
20276 if test x
$gtk_config_exec_prefix != x
; then
20277 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20278 if test x
${GTK_CONFIG+set} != xset
; then
20279 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20282 if test x
$gtk_config_prefix != x
; then
20283 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20284 if test x
${GTK_CONFIG+set} != xset
; then
20285 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20289 # Extract the first word of "gtk-config", so it can be a program name with args.
20290 set dummy gtk
-config; ac_word
=$2
20291 echo "$as_me:$LINENO: checking for $ac_word" >&5
20292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20293 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 case $GTK_CONFIG in
20298 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20302 for as_dir
in $PATH
20305 test -z "$as_dir" && as_dir
=.
20306 for ac_exec_ext
in '' $ac_executable_extensions; do
20307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20308 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20315 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20319 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20321 if test -n "$GTK_CONFIG"; then
20322 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20323 echo "${ECHO_T}$GTK_CONFIG" >&6
20325 echo "$as_me:$LINENO: result: no" >&5
20326 echo "${ECHO_T}no" >&6
20329 min_gtk_version
=1.2.7
20330 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20331 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20333 if test "$GTK_CONFIG" = "no" ; then
20336 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20337 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20338 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20339 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20340 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20341 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20342 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20344 if test "x$enable_gtktest" = "xyes" ; then
20345 ac_save_CFLAGS
="$CFLAGS"
20346 ac_save_LIBS
="$LIBS"
20347 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20348 LIBS
="$GTK_LIBS $LIBS"
20350 if test "$cross_compiling" = yes; then
20351 echo $ac_n "cross compiling; assumed OK... $ac_c"
20353 cat >conftest.
$ac_ext <<_ACEOF
20354 #line $LINENO "configure"
20357 cat confdefs.h
>>conftest.
$ac_ext
20358 cat >>conftest.
$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20361 #include <gtk/gtk.h>
20363 #include <stdlib.h>
20368 int major, minor, micro;
20371 system ("touch conf.gtktest");
20373 /* HP/UX 9 (%@#!) writes to sscanf strings */
20374 tmp_version = g_strdup("$min_gtk_version");
20375 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20376 printf("%s, bad version string\n", "$min_gtk_version");
20380 if ((gtk_major_version != $gtk_config_major_version) ||
20381 (gtk_minor_version != $gtk_config_minor_version) ||
20382 (gtk_micro_version != $gtk_config_micro_version))
20384 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20385 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20386 gtk_major_version, gtk_minor_version, gtk_micro_version);
20387 printf ("*** was found! If gtk-config was correct, then it is best\n");
20388 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20389 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20390 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20391 printf("*** required on your system.\n");
20392 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20393 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20394 printf("*** before re-running configure\n");
20396 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20397 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20398 (gtk_minor_version != GTK_MINOR_VERSION) ||
20399 (gtk_micro_version != GTK_MICRO_VERSION))
20401 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20402 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20403 printf("*** library (version %d.%d.%d)\n",
20404 gtk_major_version, gtk_minor_version, gtk_micro_version);
20406 #endif /* defined (GTK_MAJOR_VERSION) ... */
20409 if ((gtk_major_version > major) ||
20410 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20411 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20417 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20418 gtk_major_version, gtk_minor_version, gtk_micro_version);
20419 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20420 major, minor, micro);
20421 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20423 printf("*** If you have already installed a sufficiently new version, this error\n");
20424 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20425 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20426 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20427 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20428 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20429 printf("*** so that the correct libraries are found at run-time))\n");
20436 rm -f conftest
$ac_exeext
20437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20438 (eval $ac_link) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20449 echo "$as_me: program exited with status $ac_status" >&5
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ( exit $ac_status )
20456 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20458 CFLAGS
="$ac_save_CFLAGS"
20459 LIBS
="$ac_save_LIBS"
20462 if test "x$no_gtk" = x
; then
20463 echo "$as_me:$LINENO: result: yes" >&5
20464 echo "${ECHO_T}yes" >&6
20465 wx_cv_lib_gtk
=1.2.7
20467 echo "$as_me:$LINENO: result: no" >&5
20468 echo "${ECHO_T}no" >&6
20469 if test "$GTK_CONFIG" = "no" ; then
20470 echo "*** The gtk-config script installed by GTK could not be found"
20471 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20472 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20473 echo "*** full path to gtk-config."
20475 if test -f conf.gtktest
; then
20478 echo "*** Could not run GTK test program, checking why..."
20479 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20480 LIBS
="$LIBS $GTK_LIBS"
20481 cat >conftest.
$ac_ext <<_ACEOF
20482 #line $LINENO "configure"
20485 cat confdefs.h
>>conftest.
$ac_ext
20486 cat >>conftest.
$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20489 #include <gtk/gtk.h>
20495 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20500 rm -f conftest.
$ac_objext conftest
$ac_exeext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20502 (eval $ac_link) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try
='test -s conftest$ac_exeext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 echo "*** The test program compiled, but did not run. This usually means"
20513 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20514 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20515 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20516 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20517 echo "*** is required on your system"
20519 echo "*** If you have an old version installed, it is best to remove it, although"
20520 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20522 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20523 echo "*** came with the system with the command"
20525 echo "*** rpm --erase --nodeps gtk gtk-devel"
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.
$ac_ext >&5
20530 echo "*** The test program failed to compile or link. See the file config.log for the"
20531 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20532 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20533 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20536 CFLAGS
="$ac_save_CFLAGS"
20537 LIBS
="$ac_save_LIBS"
20549 if test -z "$wx_cv_lib_gtk"; then
20551 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20552 if test "${with_gtk_prefix+set}" = set; then
20553 withval
="$with_gtk_prefix"
20554 gtk_config_prefix
="$withval"
20556 gtk_config_prefix
=""
20559 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20560 if test "${with_gtk_exec_prefix+set}" = set; then
20561 withval
="$with_gtk_exec_prefix"
20562 gtk_config_exec_prefix
="$withval"
20564 gtk_config_exec_prefix
=""
20566 # Check whether --enable-gtktest or --disable-gtktest was given.
20567 if test "${enable_gtktest+set}" = set; then
20568 enableval
="$enable_gtktest"
20574 for module
in .
$GTK_MODULES
20578 gtk_config_args
="$gtk_config_args gthread"
20583 if test x
$gtk_config_exec_prefix != x
; then
20584 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20585 if test x
${GTK_CONFIG+set} != xset
; then
20586 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20589 if test x
$gtk_config_prefix != x
; then
20590 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20591 if test x
${GTK_CONFIG+set} != xset
; then
20592 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20596 # Extract the first word of "gtk-config", so it can be a program name with args.
20597 set dummy gtk
-config; ac_word
=$2
20598 echo "$as_me:$LINENO: checking for $ac_word" >&5
20599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20600 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 case $GTK_CONFIG in
20605 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20609 for as_dir
in $PATH
20612 test -z "$as_dir" && as_dir
=.
20613 for ac_exec_ext
in '' $ac_executable_extensions; do
20614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20615 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20622 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20626 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20628 if test -n "$GTK_CONFIG"; then
20629 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20630 echo "${ECHO_T}$GTK_CONFIG" >&6
20632 echo "$as_me:$LINENO: result: no" >&5
20633 echo "${ECHO_T}no" >&6
20636 min_gtk_version
=1.2.3
20637 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20638 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20640 if test "$GTK_CONFIG" = "no" ; then
20643 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20644 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20645 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20647 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20649 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20651 if test "x$enable_gtktest" = "xyes" ; then
20652 ac_save_CFLAGS
="$CFLAGS"
20653 ac_save_LIBS
="$LIBS"
20654 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20655 LIBS
="$GTK_LIBS $LIBS"
20657 if test "$cross_compiling" = yes; then
20658 echo $ac_n "cross compiling; assumed OK... $ac_c"
20660 cat >conftest.
$ac_ext <<_ACEOF
20661 #line $LINENO "configure"
20664 cat confdefs.h
>>conftest.
$ac_ext
20665 cat >>conftest.
$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20668 #include <gtk/gtk.h>
20670 #include <stdlib.h>
20675 int major, minor, micro;
20678 system ("touch conf.gtktest");
20680 /* HP/UX 9 (%@#!) writes to sscanf strings */
20681 tmp_version = g_strdup("$min_gtk_version");
20682 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20683 printf("%s, bad version string\n", "$min_gtk_version");
20687 if ((gtk_major_version != $gtk_config_major_version) ||
20688 (gtk_minor_version != $gtk_config_minor_version) ||
20689 (gtk_micro_version != $gtk_config_micro_version))
20691 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20692 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20693 gtk_major_version, gtk_minor_version, gtk_micro_version);
20694 printf ("*** was found! If gtk-config was correct, then it is best\n");
20695 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20696 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20697 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20698 printf("*** required on your system.\n");
20699 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20700 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20701 printf("*** before re-running configure\n");
20703 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20704 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20705 (gtk_minor_version != GTK_MINOR_VERSION) ||
20706 (gtk_micro_version != GTK_MICRO_VERSION))
20708 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20709 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20710 printf("*** library (version %d.%d.%d)\n",
20711 gtk_major_version, gtk_minor_version, gtk_micro_version);
20713 #endif /* defined (GTK_MAJOR_VERSION) ... */
20716 if ((gtk_major_version > major) ||
20717 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20718 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20724 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20725 gtk_major_version, gtk_minor_version, gtk_micro_version);
20726 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20727 major, minor, micro);
20728 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20730 printf("*** If you have already installed a sufficiently new version, this error\n");
20731 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20732 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20733 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20734 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20735 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20736 printf("*** so that the correct libraries are found at run-time))\n");
20743 rm -f conftest
$ac_exeext
20744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20745 (eval $ac_link) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20756 echo "$as_me: program exited with status $ac_status" >&5
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ( exit $ac_status )
20763 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20765 CFLAGS
="$ac_save_CFLAGS"
20766 LIBS
="$ac_save_LIBS"
20769 if test "x$no_gtk" = x
; then
20770 echo "$as_me:$LINENO: result: yes" >&5
20771 echo "${ECHO_T}yes" >&6
20772 wx_cv_lib_gtk
=1.2.3
20774 echo "$as_me:$LINENO: result: no" >&5
20775 echo "${ECHO_T}no" >&6
20776 if test "$GTK_CONFIG" = "no" ; then
20777 echo "*** The gtk-config script installed by GTK could not be found"
20778 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20779 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20780 echo "*** full path to gtk-config."
20782 if test -f conf.gtktest
; then
20785 echo "*** Could not run GTK test program, checking why..."
20786 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20787 LIBS
="$LIBS $GTK_LIBS"
20788 cat >conftest.
$ac_ext <<_ACEOF
20789 #line $LINENO "configure"
20792 cat confdefs.h
>>conftest.
$ac_ext
20793 cat >>conftest.
$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20796 #include <gtk/gtk.h>
20802 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20807 rm -f conftest.
$ac_objext conftest
$ac_exeext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20809 (eval $ac_link) 2>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try
='test -s conftest$ac_exeext'
20814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815 (eval $ac_try) 2>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; }; then
20819 echo "*** The test program compiled, but did not run. This usually means"
20820 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20821 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20822 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20823 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20824 echo "*** is required on your system"
20826 echo "*** If you have an old version installed, it is best to remove it, although"
20827 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20829 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20830 echo "*** came with the system with the command"
20832 echo "*** rpm --erase --nodeps gtk gtk-devel"
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.
$ac_ext >&5
20837 echo "*** The test program failed to compile or link. See the file config.log for the"
20838 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20839 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20840 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20842 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20843 CFLAGS
="$ac_save_CFLAGS"
20844 LIBS
="$ac_save_LIBS"
20858 if test -z "$wx_cv_lib_gtk"; then
20861 wx_cv_cflags_gtk
=$GTK_CFLAGS
20862 wx_cv_libs_gtk
=$GTK_LIBS
20869 if test "$gtk_version_cached" = 1; then
20870 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20871 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20874 case "$wx_cv_lib_gtk" in
20883 *) { { echo "$as_me:$LINENO: error:
20884 Please check that gtk-config is in path, the directory
20885 where GTK+ libraries are installed (returned by
20886 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20887 equivalent variable and GTK+ is version 1.2.3 or above.
20889 echo "$as_me: error:
20890 Please check that gtk-config is in path, the directory
20891 where GTK+ libraries are installed (returned by
20892 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20893 equivalent variable and GTK+ is version 1.2.3 or above.
20895 { (exit 1); exit 1; }; }
20899 if test "$WXGTK20" = 1; then
20900 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20904 if test -z "$PKG_CONFIG"; then
20905 # Extract the first word of "pkg-config", so it can be a program name with args.
20906 set dummy pkg
-config; ac_word
=$2
20907 echo "$as_me:$LINENO: checking for $ac_word" >&5
20908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20909 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20912 case $PKG_CONFIG in
20914 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20918 for as_dir
in $PATH
20921 test -z "$as_dir" && as_dir
=.
20922 for ac_exec_ext
in '' $ac_executable_extensions; do
20923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20924 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20931 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20935 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20937 if test -n "$PKG_CONFIG"; then
20938 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20939 echo "${ECHO_T}$PKG_CONFIG" >&6
20941 echo "$as_me:$LINENO: result: no" >&5
20942 echo "${ECHO_T}no" >&6
20947 if test "$PKG_CONFIG" = "no" ; then
20948 echo "*** The pkg-config script could not be found. Make sure it is"
20949 echo "*** in your path, or set the PKG_CONFIG environment variable"
20950 echo "*** to the full path to pkg-config."
20951 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20953 PKG_CONFIG_MIN_VERSION
=0.9.0
20954 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20955 echo "$as_me:$LINENO: checking for pangoft2" >&5
20956 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20958 if $PKG_CONFIG --exists "pangoft2" ; then
20959 echo "$as_me:$LINENO: result: yes" >&5
20960 echo "${ECHO_T}yes" >&6
20963 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20964 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20965 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20966 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20967 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20969 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20970 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20971 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20972 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20973 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20977 ## If we have a custom action on failure, don't print errors, but
20978 ## do set a variable so people can do so.
20979 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20986 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20987 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20991 if test $succeeded = yes; then
20993 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20994 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20998 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20999 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21000 wxUSE_PRINTING_ARCHITECTURE
="no"
21007 if test "$wxUSE_UNICODE" = "yes"; then
21008 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21009 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21014 if test "$USE_DARWIN" != 1; then
21016 for ac_func
in poll
21018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21019 echo "$as_me:$LINENO: checking for $ac_func" >&5
21020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21021 if eval "test \"\${$as_ac_var+set}\" = set"; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 cat >conftest.
$ac_ext <<_ACEOF
21025 #line $LINENO "configure"
21028 cat confdefs.h
>>conftest.
$ac_ext
21029 cat >>conftest.
$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 /* System header to define __stub macros and hopefully few prototypes,
21032 which can conflict with char $ac_func (); below.
21033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21034 <limits.h> exists even on freestanding compilers. */
21036 # include <limits.h>
21038 # include <assert.h>
21040 /* Override any gcc2 internal prototype to avoid an error. */
21045 /* We use char because int might match the return type of a gcc2
21046 builtin and then its argument prototype would still apply. */
21048 /* The GNU C library defines this for functions which it implements
21049 to always fail with ENOSYS. Some functions are actually named
21050 something starting with __ and the normal name is an alias. */
21051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21054 char (*f) () = $ac_func;
21063 return f != $ac_func;
21068 rm -f conftest.
$ac_objext conftest
$ac_exeext
21069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21070 (eval $ac_link) 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } &&
21074 { ac_try
='test -s conftest$ac_exeext'
21075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21076 (eval $ac_try) 2>&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); }; }; then
21080 eval "$as_ac_var=yes"
21082 echo "$as_me: failed program was:" >&5
21083 sed 's/^/| /' conftest.
$ac_ext >&5
21085 eval "$as_ac_var=no"
21087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21091 if test `eval echo '${'$as_ac_var'}'` = yes; then
21092 cat >>confdefs.h
<<_ACEOF
21093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21101 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21102 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21104 AFMINSTALL
=afminstall
21108 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21109 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21110 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21111 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 ac_check_lib_save_LIBS
=$LIBS
21115 cat >conftest.
$ac_ext <<_ACEOF
21116 #line $LINENO "configure"
21119 cat confdefs.h
>>conftest.
$ac_ext
21120 cat >>conftest.
$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21123 /* Override any gcc2 internal prototype to avoid an error. */
21127 /* We use char because int might match the return type of a gcc2
21128 builtin and then its argument prototype would still apply. */
21129 char gdk_im_open ();
21138 rm -f conftest.
$ac_objext conftest
$ac_exeext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21140 (eval $ac_link) 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } &&
21144 { ac_try
='test -s conftest$ac_exeext'
21145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146 (eval $ac_try) 2>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); }; }; then
21150 ac_cv_lib_gdk_gdk_im_open
=yes
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.
$ac_ext >&5
21155 ac_cv_lib_gdk_gdk_im_open
=no
21157 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21158 LIBS
=$ac_check_lib_save_LIBS
21160 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21161 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21162 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21163 cat >>confdefs.h
<<\_ACEOF
21171 if test "$wxUSE_MGL" = 1; then
21172 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21173 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21174 if test "x$MGL_ROOT" = x
; then
21175 echo "$as_me:$LINENO: result: not found" >&5
21176 echo "${ECHO_T}not found" >&6
21177 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21178 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21179 { (exit 1); exit 1; }; }
21181 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21182 echo "${ECHO_T}$MGL_ROOT" >&6
21185 echo "$as_me:$LINENO: checking for libmgl location" >&5
21186 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21189 if test "x$wxUSE_SHARED" = xyes
; then
21190 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
21192 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
21196 mgl_os_candidates
="dos32/dj2"
21199 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21200 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21201 { (exit 1); exit 1; }; }
21207 for mgl_os_i
in $mgl_os_candidates ; do
21208 if test "x$mgl_os" = x
; then
21209 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21210 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21211 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21216 if test "x$mgl_lib_type" = x
; then
21217 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21218 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21219 mgl_lib_type
=release
21226 if test "x$mgl_os" = x
; then
21227 echo "$as_me:$LINENO: result: not found" >&5
21228 echo "${ECHO_T}not found" >&6
21229 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21230 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21231 { (exit 1); exit 1; }; }
21233 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21234 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21236 wxUSE_UNIVERSAL
="yes"
21238 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21239 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21241 AFMINSTALL
=afminstall
21246 if test "$wxUSE_MICROWIN" = 1; then
21247 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21248 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21249 if test "x$MICROWINDOWS" = x
; then
21250 echo "$as_me:$LINENO: result: not found" >&5
21251 echo "${ECHO_T}not found" >&6
21252 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21253 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21254 { (exit 1); exit 1; }; }
21256 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21257 echo "${ECHO_T}$MICROWINDOWS" >&6
21260 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21261 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21262 echo "${ECHO_T}MicroWindows' libraries found." >&6
21264 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21265 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21266 { (exit 1); exit 1; }; }
21269 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21270 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21272 wxUSE_UNIVERSAL
="yes"
21274 AFMINSTALL
=afminstall
21276 GUIDIST
=MICROWIN_DIST
21278 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21281 if test "$wxUSE_X11" = 1; then
21282 echo "$as_me:$LINENO: checking for X" >&5
21283 echo $ECHO_N "checking for X... $ECHO_C" >&6
21286 # Check whether --with-x or --without-x was given.
21287 if test "${with_x+set}" = set; then
21291 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21292 if test "x$with_x" = xno
; then
21293 # The user explicitly disabled X.
21296 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21297 # Both variables are already set.
21300 if test "${ac_cv_have_x+set}" = set; then
21301 echo $ECHO_N "(cached) $ECHO_C" >&6
21303 # One or both of the vars are not set, and there is no cached value.
21304 ac_x_includes
=no ac_x_libraries
=no
21305 rm -fr conftest.dir
21306 if mkdir conftest.dir
; then
21308 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21309 cat >Imakefile
<<'_ACEOF'
21311 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21313 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21314 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21315 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21316 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21317 for ac_extension
in a so sl
; do
21318 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21319 test -f $ac_im_libdir/libX11.
$ac_extension; then
21320 ac_im_usrlibdir
=$ac_im_libdir; break
21323 # Screen out bogus values from the imake configuration. They are
21324 # bogus both because they are the default anyway, and because
21325 # using them would break gcc on systems where it needs fixed includes.
21326 case $ac_im_incroot in
21328 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21330 case $ac_im_usrlibdir in
21331 /usr
/lib
| /lib
) ;;
21332 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21336 rm -fr conftest.dir
21339 # Standard set of common directories for X headers.
21340 # Check X11 before X11Rn because it is often a symlink to the current release.
21352 /usr/local/X11/include
21353 /usr/local/X11R6/include
21354 /usr/local/X11R5/include
21355 /usr/local/X11R4/include
21357 /usr/local/include/X11
21358 /usr/local/include/X11R6
21359 /usr/local/include/X11R5
21360 /usr/local/include/X11R4
21364 /usr/XFree86/include/X11
21368 /usr/unsupported/include
21369 /usr/athena/include
21370 /usr/local/x11r5/include
21371 /usr/lpp/Xamples/include
21373 /usr/openwin/include
21374 /usr/openwin/share/include'
21376 if test "$ac_x_includes" = no
; then
21377 # Guess where to find include files, by looking for Intrinsic.h.
21378 # First, try using that file with no special directory specified.
21379 cat >conftest.
$ac_ext <<_ACEOF
21380 #line $LINENO "configure"
21383 cat confdefs.h
>>conftest.
$ac_ext
21384 cat >>conftest.
$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 #include <X11/Intrinsic.h>
21388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21391 grep -v '^ *+' conftest.er1
>conftest.err
21393 cat conftest.err
>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } >/dev
/null
; then
21396 if test -s conftest.err
; then
21397 ac_cpp_err
=$ac_c_preproc_warn_flag
21404 if test -z "$ac_cpp_err"; then
21405 # We can compile using X headers with no special include directory.
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.
$ac_ext >&5
21411 for ac_dir
in $ac_x_header_dirs; do
21412 if test -r "$ac_dir/X11/Intrinsic.h"; then
21413 ac_x_includes
=$ac_dir
21418 rm -f conftest.err conftest.
$ac_ext
21419 fi # $ac_x_includes = no
21421 if test "$ac_x_libraries" = no
; then
21422 # Check for the libraries.
21423 # See if we find them without any special options.
21424 # Don't add to $LIBS permanently.
21427 cat >conftest.
$ac_ext <<_ACEOF
21428 #line $LINENO "configure"
21431 cat confdefs.h
>>conftest.
$ac_ext
21432 cat >>conftest.
$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21434 #include <X11/Intrinsic.h>
21443 rm -f conftest.
$ac_objext conftest
$ac_exeext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try
='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21456 # We can link X programs with no special library path.
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.
$ac_ext >&5
21463 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21465 # Don't even attempt the hair of trying to link an X program!
21466 for ac_extension
in a so sl
; do
21467 if test -r $ac_dir/libXt.
$ac_extension; then
21468 ac_x_libraries
=$ac_dir
21474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21475 fi # $ac_x_libraries = no
21477 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21478 # Didn't find X anywhere. Cache the known absence of X.
21479 ac_cv_have_x
="have_x=no"
21481 # Record where we found X for the cache.
21482 ac_cv_have_x
="have_x=yes \
21483 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21488 eval "$ac_cv_have_x"
21491 if test "$have_x" != yes; then
21492 echo "$as_me:$LINENO: result: $have_x" >&5
21493 echo "${ECHO_T}$have_x" >&6
21496 # If each of the values was on the command line, it overrides each guess.
21497 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21498 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21499 # Update the cache value to reflect the command line values.
21500 ac_cv_have_x
="have_x=yes \
21501 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21502 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21503 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21506 if test "$no_x" = yes; then
21507 # Not all programs may use this symbol, but it does not hurt to define it.
21509 cat >>confdefs.h
<<\_ACEOF
21510 #define X_DISPLAY_MISSING 1
21513 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21515 if test -n "$x_includes"; then
21516 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21519 # It would also be nice to do this for all -L options, not just this one.
21520 if test -n "$x_libraries"; then
21521 X_LIBS
="$X_LIBS -L$x_libraries"
21522 # For Solaris; some versions of Sun CC require a space after -R and
21523 # others require no space. Words are not sufficient . . . .
21524 case `(uname -sr) 2>/dev/null` in
21526 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21527 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21528 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21529 cat >conftest.
$ac_ext <<_ACEOF
21530 #line $LINENO "configure"
21533 cat confdefs.h
>>conftest.
$ac_ext
21534 cat >>conftest.
$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21545 rm -f conftest.
$ac_objext conftest
$ac_exeext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21547 (eval $ac_link) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try
='test -s conftest$ac_exeext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21565 if test $ac_R_nospace = yes; then
21566 echo "$as_me:$LINENO: result: no" >&5
21567 echo "${ECHO_T}no" >&6
21568 X_LIBS
="$X_LIBS -R$x_libraries"
21570 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21571 cat >conftest.
$ac_ext <<_ACEOF
21572 #line $LINENO "configure"
21575 cat confdefs.h
>>conftest.
$ac_ext
21576 cat >>conftest.
$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21587 rm -f conftest.
$ac_objext conftest
$ac_exeext
21588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21589 (eval $ac_link) 2>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try
='test -s conftest$ac_exeext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.
$ac_ext >&5
21606 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21607 if test $ac_R_space = yes; then
21608 echo "$as_me:$LINENO: result: yes" >&5
21609 echo "${ECHO_T}yes" >&6
21610 X_LIBS
="$X_LIBS -R $x_libraries"
21612 echo "$as_me:$LINENO: result: neither works" >&5
21613 echo "${ECHO_T}neither works" >&6
21616 LIBS
=$ac_xsave_LIBS
21620 # Check for system-dependent libraries X programs must link with.
21621 # Do this before checking for the system-independent R6 libraries
21622 # (-lICE), since we may need -lsocket or whatever for X linking.
21624 if test "$ISC" = yes; then
21625 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21627 # Martyn Johnson says this is needed for Ultrix, if the X
21628 # libraries were built with DECnet support. And Karl Berry says
21629 # the Alpha needs dnet_stub (dnet does not exist).
21630 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21631 cat >conftest.
$ac_ext <<_ACEOF
21632 #line $LINENO "configure"
21635 cat confdefs.h
>>conftest.
$ac_ext
21636 cat >>conftest.
$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21639 /* Override any gcc2 internal prototype to avoid an error. */
21643 /* We use char because int might match the return type of a gcc2
21644 builtin and then its argument prototype would still apply. */
21645 char XOpenDisplay ();
21654 rm -f conftest.
$ac_objext conftest
$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try
='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.
$ac_ext >&5
21671 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21672 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21673 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21674 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 ac_check_lib_save_LIBS
=$LIBS
21677 LIBS
="-ldnet $LIBS"
21678 cat >conftest.
$ac_ext <<_ACEOF
21679 #line $LINENO "configure"
21682 cat confdefs.h
>>conftest.
$ac_ext
21683 cat >>conftest.
$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21686 /* Override any gcc2 internal prototype to avoid an error. */
21690 /* We use char because int might match the return type of a gcc2
21691 builtin and then its argument prototype would still apply. */
21701 rm -f conftest.
$ac_objext conftest
$ac_exeext
21702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21703 (eval $ac_link) 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } &&
21707 { ac_try
='test -s conftest$ac_exeext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_lib_dnet_dnet_ntoa
=yes
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.
$ac_ext >&5
21718 ac_cv_lib_dnet_dnet_ntoa
=no
21720 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21721 LIBS
=$ac_check_lib_save_LIBS
21723 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21724 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21725 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21726 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21729 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21730 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21731 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21732 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21733 echo $ECHO_N "(cached) $ECHO_C" >&6
21735 ac_check_lib_save_LIBS
=$LIBS
21736 LIBS
="-ldnet_stub $LIBS"
21737 cat >conftest.
$ac_ext <<_ACEOF
21738 #line $LINENO "configure"
21741 cat confdefs.h
>>conftest.
$ac_ext
21742 cat >>conftest.
$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21745 /* Override any gcc2 internal prototype to avoid an error. */
21749 /* We use char because int might match the return type of a gcc2
21750 builtin and then its argument prototype would still apply. */
21760 rm -f conftest.
$ac_objext conftest
$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762 (eval $ac_link) 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try
='test -s conftest$ac_exeext'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; }; then
21772 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21774 echo "$as_me: failed program was:" >&5
21775 sed 's/^/| /' conftest.
$ac_ext >&5
21777 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21779 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21780 LIBS
=$ac_check_lib_save_LIBS
21782 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21783 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21784 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21785 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21791 LIBS
="$ac_xsave_LIBS"
21793 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21794 # to get the SysV transport functions.
21795 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21797 # The nsl library prevents programs from opening the X display
21798 # on Irix 5.2, according to T.E. Dickey.
21799 # The functions gethostbyname, getservbyname, and inet_addr are
21800 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21801 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21802 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21803 if test "${ac_cv_func_gethostbyname+set}" = set; then
21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21806 cat >conftest.
$ac_ext <<_ACEOF
21807 #line $LINENO "configure"
21810 cat confdefs.h
>>conftest.
$ac_ext
21811 cat >>conftest.
$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 /* System header to define __stub macros and hopefully few prototypes,
21814 which can conflict with char gethostbyname (); below.
21815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21816 <limits.h> exists even on freestanding compilers. */
21818 # include <limits.h>
21820 # include <assert.h>
21822 /* Override any gcc2 internal prototype to avoid an error. */
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21829 char gethostbyname ();
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21836 char (*f) () = gethostbyname;
21845 return f != gethostbyname;
21850 rm -f conftest.
$ac_objext conftest
$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } &&
21856 { ac_try
='test -s conftest$ac_exeext'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; }; then
21862 ac_cv_func_gethostbyname
=yes
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21867 ac_cv_func_gethostbyname
=no
21869 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21871 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21872 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21874 if test $ac_cv_func_gethostbyname = no
; then
21875 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21876 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21877 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21878 echo $ECHO_N "(cached) $ECHO_C" >&6
21880 ac_check_lib_save_LIBS
=$LIBS
21882 cat >conftest.
$ac_ext <<_ACEOF
21883 #line $LINENO "configure"
21886 cat confdefs.h
>>conftest.
$ac_ext
21887 cat >>conftest.
$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21890 /* Override any gcc2 internal prototype to avoid an error. */
21894 /* We use char because int might match the return type of a gcc2
21895 builtin and then its argument prototype would still apply. */
21896 char gethostbyname ();
21905 rm -f conftest.
$ac_objext conftest
$ac_exeext
21906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21907 (eval $ac_link) 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } &&
21911 { ac_try
='test -s conftest$ac_exeext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_lib_nsl_gethostbyname
=yes
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.
$ac_ext >&5
21922 ac_cv_lib_nsl_gethostbyname
=no
21924 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21925 LIBS
=$ac_check_lib_save_LIBS
21927 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21928 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21929 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21930 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21933 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21934 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21935 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21936 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21937 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 ac_check_lib_save_LIBS
=$LIBS
21941 cat >conftest.
$ac_ext <<_ACEOF
21942 #line $LINENO "configure"
21945 cat confdefs.h
>>conftest.
$ac_ext
21946 cat >>conftest.
$ac_ext <<_ACEOF
21947 /* end confdefs.h. */
21949 /* Override any gcc2 internal prototype to avoid an error. */
21953 /* We use char because int might match the return type of a gcc2
21954 builtin and then its argument prototype would still apply. */
21955 char gethostbyname ();
21964 rm -f conftest.
$ac_objext conftest
$ac_exeext
21965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21966 (eval $ac_link) 2>&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } &&
21970 { ac_try
='test -s conftest$ac_exeext'
21971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21972 (eval $ac_try) 2>&5
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); }; }; then
21976 ac_cv_lib_bsd_gethostbyname
=yes
21978 echo "$as_me: failed program was:" >&5
21979 sed 's/^/| /' conftest.
$ac_ext >&5
21981 ac_cv_lib_bsd_gethostbyname
=no
21983 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21984 LIBS
=$ac_check_lib_save_LIBS
21986 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21987 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21988 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21989 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21995 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21996 # socket/setsockopt and other routines are undefined under SCO ODT
21997 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21998 # on later versions), says Simon Leinen: it contains gethostby*
21999 # variants that don't use the name server (or something). -lsocket
22000 # must be given before -lnsl if both are needed. We assume that
22001 # if connect needs -lnsl, so does gethostbyname.
22002 echo "$as_me:$LINENO: checking for connect" >&5
22003 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22004 if test "${ac_cv_func_connect+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 cat >conftest.
$ac_ext <<_ACEOF
22008 #line $LINENO "configure"
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 /* System header to define __stub macros and hopefully few prototypes,
22015 which can conflict with char connect (); below.
22016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22017 <limits.h> exists even on freestanding compilers. */
22019 # include <limits.h>
22021 # include <assert.h>
22023 /* Override any gcc2 internal prototype to avoid an error. */
22028 /* We use char because int might match the return type of a gcc2
22029 builtin and then its argument prototype would still apply. */
22031 /* The GNU C library defines this for functions which it implements
22032 to always fail with ENOSYS. Some functions are actually named
22033 something starting with __ and the normal name is an alias. */
22034 #if defined (__stub_connect) || defined (__stub___connect)
22037 char (*f) () = connect;
22046 return f != connect;
22051 rm -f conftest.
$ac_objext conftest
$ac_exeext
22052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22053 (eval $ac_link) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } &&
22057 { ac_try
='test -s conftest$ac_exeext'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; }; then
22063 ac_cv_func_connect
=yes
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.
$ac_ext >&5
22068 ac_cv_func_connect
=no
22070 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22072 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22073 echo "${ECHO_T}$ac_cv_func_connect" >&6
22075 if test $ac_cv_func_connect = no
; then
22076 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22077 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22078 if test "${ac_cv_lib_socket_connect+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22081 ac_check_lib_save_LIBS
=$LIBS
22082 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22083 cat >conftest.
$ac_ext <<_ACEOF
22084 #line $LINENO "configure"
22087 cat confdefs.h
>>conftest.
$ac_ext
22088 cat >>conftest.
$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22091 /* Override any gcc2 internal prototype to avoid an error. */
22095 /* We use char because int might match the return type of a gcc2
22096 builtin and then its argument prototype would still apply. */
22106 rm -f conftest.
$ac_objext conftest
$ac_exeext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22108 (eval $ac_link) 2>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try
='test -s conftest$ac_exeext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118 ac_cv_lib_socket_connect
=yes
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.
$ac_ext >&5
22123 ac_cv_lib_socket_connect
=no
22125 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22126 LIBS
=$ac_check_lib_save_LIBS
22128 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22129 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22130 if test $ac_cv_lib_socket_connect = yes; then
22131 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22136 # Guillermo Gomez says -lposix is necessary on A/UX.
22137 echo "$as_me:$LINENO: checking for remove" >&5
22138 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22139 if test "${ac_cv_func_remove+set}" = set; then
22140 echo $ECHO_N "(cached) $ECHO_C" >&6
22142 cat >conftest.
$ac_ext <<_ACEOF
22143 #line $LINENO "configure"
22146 cat confdefs.h
>>conftest.
$ac_ext
22147 cat >>conftest.
$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 /* System header to define __stub macros and hopefully few prototypes,
22150 which can conflict with char remove (); below.
22151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22152 <limits.h> exists even on freestanding compilers. */
22154 # include <limits.h>
22156 # include <assert.h>
22158 /* Override any gcc2 internal prototype to avoid an error. */
22163 /* We use char because int might match the return type of a gcc2
22164 builtin and then its argument prototype would still apply. */
22166 /* The GNU C library defines this for functions which it implements
22167 to always fail with ENOSYS. Some functions are actually named
22168 something starting with __ and the normal name is an alias. */
22169 #if defined (__stub_remove) || defined (__stub___remove)
22172 char (*f) () = remove;
22181 return f != remove;
22186 rm -f conftest.
$ac_objext conftest
$ac_exeext
22187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22188 (eval $ac_link) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } &&
22192 { ac_try
='test -s conftest$ac_exeext'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; }; then
22198 ac_cv_func_remove
=yes
22200 echo "$as_me: failed program was:" >&5
22201 sed 's/^/| /' conftest.
$ac_ext >&5
22203 ac_cv_func_remove
=no
22205 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22207 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22208 echo "${ECHO_T}$ac_cv_func_remove" >&6
22210 if test $ac_cv_func_remove = no
; then
22211 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22212 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22213 if test "${ac_cv_lib_posix_remove+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 ac_check_lib_save_LIBS
=$LIBS
22217 LIBS
="-lposix $LIBS"
22218 cat >conftest.
$ac_ext <<_ACEOF
22219 #line $LINENO "configure"
22222 cat confdefs.h
>>conftest.
$ac_ext
22223 cat >>conftest.
$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22226 /* Override any gcc2 internal prototype to avoid an error. */
22230 /* We use char because int might match the return type of a gcc2
22231 builtin and then its argument prototype would still apply. */
22241 rm -f conftest.
$ac_objext conftest
$ac_exeext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22243 (eval $ac_link) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try
='test -s conftest$ac_exeext'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; }; then
22253 ac_cv_lib_posix_remove
=yes
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.
$ac_ext >&5
22258 ac_cv_lib_posix_remove
=no
22260 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22261 LIBS
=$ac_check_lib_save_LIBS
22263 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22264 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22265 if test $ac_cv_lib_posix_remove = yes; then
22266 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22271 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22272 echo "$as_me:$LINENO: checking for shmat" >&5
22273 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22274 if test "${ac_cv_func_shmat+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 cat >conftest.
$ac_ext <<_ACEOF
22278 #line $LINENO "configure"
22281 cat confdefs.h
>>conftest.
$ac_ext
22282 cat >>conftest.
$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 /* System header to define __stub macros and hopefully few prototypes,
22285 which can conflict with char shmat (); below.
22286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22287 <limits.h> exists even on freestanding compilers. */
22289 # include <limits.h>
22291 # include <assert.h>
22293 /* Override any gcc2 internal prototype to avoid an error. */
22298 /* We use char because int might match the return type of a gcc2
22299 builtin and then its argument prototype would still apply. */
22301 /* The GNU C library defines this for functions which it implements
22302 to always fail with ENOSYS. Some functions are actually named
22303 something starting with __ and the normal name is an alias. */
22304 #if defined (__stub_shmat) || defined (__stub___shmat)
22307 char (*f) () = shmat;
22321 rm -f conftest.
$ac_objext conftest
$ac_exeext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22323 (eval $ac_link) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try
='test -s conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 ac_cv_func_shmat
=yes
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.
$ac_ext >&5
22338 ac_cv_func_shmat
=no
22340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22342 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22343 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22345 if test $ac_cv_func_shmat = no
; then
22346 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22347 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22348 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 ac_check_lib_save_LIBS
=$LIBS
22353 cat >conftest.
$ac_ext <<_ACEOF
22354 #line $LINENO "configure"
22357 cat confdefs.h
>>conftest.
$ac_ext
22358 cat >>conftest.
$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22361 /* Override any gcc2 internal prototype to avoid an error. */
22365 /* We use char because int might match the return type of a gcc2
22366 builtin and then its argument prototype would still apply. */
22376 rm -f conftest.
$ac_objext conftest
$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378 (eval $ac_link) 2>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } &&
22382 { ac_try
='test -s conftest$ac_exeext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_cv_lib_ipc_shmat
=yes
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.
$ac_ext >&5
22393 ac_cv_lib_ipc_shmat
=no
22395 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22396 LIBS
=$ac_check_lib_save_LIBS
22398 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22399 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22400 if test $ac_cv_lib_ipc_shmat = yes; then
22401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22407 # Check for libraries that X11R6 Xt/Xaw programs need.
22408 ac_save_LDFLAGS
=$LDFLAGS
22409 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22410 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22411 # check for ICE first), but we must link in the order -lSM -lICE or
22412 # we get undefined symbols. So assume we have SM if we have ICE.
22413 # These have to be linked with before -lX11, unlike the other
22414 # libraries we check for below, so use a different variable.
22415 # John Interrante, Karl Berry
22416 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22417 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22418 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 ac_check_lib_save_LIBS
=$LIBS
22422 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22423 cat >conftest.
$ac_ext <<_ACEOF
22424 #line $LINENO "configure"
22427 cat confdefs.h
>>conftest.
$ac_ext
22428 cat >>conftest.
$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22431 /* Override any gcc2 internal prototype to avoid an error. */
22435 /* We use char because int might match the return type of a gcc2
22436 builtin and then its argument prototype would still apply. */
22437 char IceConnectionNumber ();
22441 IceConnectionNumber ();
22446 rm -f conftest.
$ac_objext conftest
$ac_exeext
22447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22448 (eval $ac_link) 2>&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } &&
22452 { ac_try
='test -s conftest$ac_exeext'
22453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22454 (eval $ac_try) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); }; }; then
22458 ac_cv_lib_ICE_IceConnectionNumber
=yes
22460 echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.
$ac_ext >&5
22463 ac_cv_lib_ICE_IceConnectionNumber
=no
22465 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22466 LIBS
=$ac_check_lib_save_LIBS
22468 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22469 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22470 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22471 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22474 LDFLAGS
=$ac_save_LDFLAGS
22479 if test "$no_x" = "yes"; then
22480 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22481 echo "$as_me: error: X11 not found" >&2;}
22482 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22485 GUI_TK_LIBRARY
="$X_LIBS"
22486 TOOLKIT_INCLUDE
="$X_CFLAGS"
22487 AFMINSTALL
=afminstall
22488 COMPILED_X_PROGRAM
=0
22490 if test "$wxUSE_NANOX" = "yes"; then
22491 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22492 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22493 if test "x$MICROWIN" = x
; then
22494 echo "$as_me:$LINENO: result: not found" >&5
22495 echo "${ECHO_T}not found" >&6
22496 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22497 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22498 { (exit 1); exit 1; }; }
22500 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22501 echo "${ECHO_T}$MICROWIN" >&6
22502 cat >>confdefs.h
<<\_ACEOF
22503 #define wxUSE_NANOX 1
22510 echo "$as_me:$LINENO: checking for Xpm library" >&5
22511 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22514 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22516 for ac_extension
in a so sl dylib
; do
22517 if test -f "$ac_dir/libXpm.$ac_extension"; then
22518 ac_find_libraries
=$ac_dir
22524 if test "$ac_find_libraries" != "" ; then
22526 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22528 if test $result = 0; then
22531 ac_path_to_link
=" -L$ac_find_libraries"
22534 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22536 cat >>confdefs.h
<<\_ACEOF
22537 #define wxHAVE_LIB_XPM 1
22540 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22541 echo "${ECHO_T}found at $ac_find_libraries" >&6
22543 cat >conftest.
$ac_ext <<_ACEOF
22544 #line $LINENO "configure"
22547 cat confdefs.h
>>conftest.
$ac_ext
22548 cat >>conftest.
$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22551 #include <X11/xpm.h>
22558 version = XpmLibraryVersion();
22564 rm -f conftest.
$ac_objext
22565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22566 (eval $ac_compile) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try
='test -s conftest.$ac_objext'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; }; then
22578 cat >>confdefs.h
<<\_ACEOF
22579 #define wxHAVE_LIB_XPM 1
22582 echo "$as_me:$LINENO: result: found in default search path" >&5
22583 echo "${ECHO_T}found in default search path" >&6
22584 COMPILED_X_PROGRAM
=0
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.
$ac_ext >&5
22591 echo "$as_me:$LINENO: result: no" >&5
22592 echo "${ECHO_T}no" >&6
22593 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22594 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22598 rm -f conftest.
$ac_objext conftest.
$ac_ext
22601 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22602 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22603 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 ac_check_lib_save_LIBS
=$LIBS
22607 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22608 cat >conftest.
$ac_ext <<_ACEOF
22609 #line $LINENO "configure"
22612 cat confdefs.h
>>conftest.
$ac_ext
22613 cat >>conftest.
$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22616 /* Override any gcc2 internal prototype to avoid an error. */
22620 /* We use char because int might match the return type of a gcc2
22621 builtin and then its argument prototype would still apply. */
22622 char XShapeQueryExtension ();
22626 XShapeQueryExtension ();
22631 rm -f conftest.
$ac_objext conftest
$ac_exeext
22632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22633 (eval $ac_link) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } &&
22637 { ac_try
='test -s conftest$ac_exeext'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; }; then
22643 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22645 echo "$as_me: failed program was:" >&5
22646 sed 's/^/| /' conftest.
$ac_ext >&5
22648 ac_cv_lib_Xext_XShapeQueryExtension
=no
22650 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22651 LIBS
=$ac_check_lib_save_LIBS
22653 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22654 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22655 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22657 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22663 if test "$wxUSE_UNICODE" = "yes"; then
22667 if test -z "$PKG_CONFIG"; then
22668 # Extract the first word of "pkg-config", so it can be a program name with args.
22669 set dummy pkg
-config; ac_word
=$2
22670 echo "$as_me:$LINENO: checking for $ac_word" >&5
22671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22672 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 case $PKG_CONFIG in
22677 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22681 for as_dir
in $PATH
22684 test -z "$as_dir" && as_dir
=.
22685 for ac_exec_ext
in '' $ac_executable_extensions; do
22686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22687 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22694 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22698 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22700 if test -n "$PKG_CONFIG"; then
22701 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22702 echo "${ECHO_T}$PKG_CONFIG" >&6
22704 echo "$as_me:$LINENO: result: no" >&5
22705 echo "${ECHO_T}no" >&6
22710 if test "$PKG_CONFIG" = "no" ; then
22711 echo "*** The pkg-config script could not be found. Make sure it is"
22712 echo "*** in your path, or set the PKG_CONFIG environment variable"
22713 echo "*** to the full path to pkg-config."
22714 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22716 PKG_CONFIG_MIN_VERSION
=0.9.0
22717 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22718 echo "$as_me:$LINENO: checking for pangox" >&5
22719 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22721 if $PKG_CONFIG --exists "pangox" ; then
22722 echo "$as_me:$LINENO: result: yes" >&5
22723 echo "${ECHO_T}yes" >&6
22726 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22727 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22728 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22729 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22730 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22732 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22733 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22734 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22735 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22736 echo "${ECHO_T}$PANGOX_LIBS" >&6
22740 ## If we have a custom action on failure, don't print errors, but
22741 ## do set a variable so people can do so.
22742 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22749 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22750 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22754 if test $succeeded = yes; then
22756 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22757 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22761 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22762 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22763 { (exit 1); exit 1; }; }
22771 if test -z "$PKG_CONFIG"; then
22772 # Extract the first word of "pkg-config", so it can be a program name with args.
22773 set dummy pkg
-config; ac_word
=$2
22774 echo "$as_me:$LINENO: checking for $ac_word" >&5
22775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22776 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22777 echo $ECHO_N "(cached) $ECHO_C" >&6
22779 case $PKG_CONFIG in
22781 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22785 for as_dir
in $PATH
22788 test -z "$as_dir" && as_dir
=.
22789 for ac_exec_ext
in '' $ac_executable_extensions; do
22790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22791 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22798 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22802 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22804 if test -n "$PKG_CONFIG"; then
22805 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22806 echo "${ECHO_T}$PKG_CONFIG" >&6
22808 echo "$as_me:$LINENO: result: no" >&5
22809 echo "${ECHO_T}no" >&6
22814 if test "$PKG_CONFIG" = "no" ; then
22815 echo "*** The pkg-config script could not be found. Make sure it is"
22816 echo "*** in your path, or set the PKG_CONFIG environment variable"
22817 echo "*** to the full path to pkg-config."
22818 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22820 PKG_CONFIG_MIN_VERSION
=0.9.0
22821 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22822 echo "$as_me:$LINENO: checking for pangoft2" >&5
22823 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22825 if $PKG_CONFIG --exists "pangoft2" ; then
22826 echo "$as_me:$LINENO: result: yes" >&5
22827 echo "${ECHO_T}yes" >&6
22830 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22831 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22832 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22833 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22834 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22836 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22837 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22838 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22839 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22840 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22844 ## If we have a custom action on failure, don't print errors, but
22845 ## do set a variable so people can do so.
22846 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22853 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22854 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22858 if test $succeeded = yes; then
22860 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22861 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22865 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22866 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22867 wxUSE_PRINTING_ARCHITECTURE
="no"
22875 if test -z "$PKG_CONFIG"; then
22876 # Extract the first word of "pkg-config", so it can be a program name with args.
22877 set dummy pkg
-config; ac_word
=$2
22878 echo "$as_me:$LINENO: checking for $ac_word" >&5
22879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22880 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22881 echo $ECHO_N "(cached) $ECHO_C" >&6
22883 case $PKG_CONFIG in
22885 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22889 for as_dir
in $PATH
22892 test -z "$as_dir" && as_dir
=.
22893 for ac_exec_ext
in '' $ac_executable_extensions; do
22894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22895 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22902 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22906 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22908 if test -n "$PKG_CONFIG"; then
22909 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22910 echo "${ECHO_T}$PKG_CONFIG" >&6
22912 echo "$as_me:$LINENO: result: no" >&5
22913 echo "${ECHO_T}no" >&6
22918 if test "$PKG_CONFIG" = "no" ; then
22919 echo "*** The pkg-config script could not be found. Make sure it is"
22920 echo "*** in your path, or set the PKG_CONFIG environment variable"
22921 echo "*** to the full path to pkg-config."
22922 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22924 PKG_CONFIG_MIN_VERSION
=0.9.0
22925 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22926 echo "$as_me:$LINENO: checking for pangoxft" >&5
22927 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22929 if $PKG_CONFIG --exists "pangoxft" ; then
22930 echo "$as_me:$LINENO: result: yes" >&5
22931 echo "${ECHO_T}yes" >&6
22934 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22935 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22936 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22937 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22938 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22940 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22941 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22942 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22943 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22944 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22948 ## If we have a custom action on failure, don't print errors, but
22949 ## do set a variable so people can do so.
22950 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22957 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22958 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22962 if test $succeeded = yes; then
22964 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22969 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22970 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22977 wxUSE_UNIVERSAL
="yes"
22979 if test "$wxUSE_NANOX" = "yes"; then
22980 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22981 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"
22982 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22987 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22992 if test "$wxUSE_MOTIF" = 1; then
22993 if test "$no_x" = yes; then
22994 # Not all programs may use this symbol, but it does not hurt to define it.
22996 cat >>confdefs.h
<<\_ACEOF
22997 #define X_DISPLAY_MISSING 1
23000 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23002 if test -n "$x_includes"; then
23003 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23006 # It would also be nice to do this for all -L options, not just this one.
23007 if test -n "$x_libraries"; then
23008 X_LIBS
="$X_LIBS -L$x_libraries"
23009 # For Solaris; some versions of Sun CC require a space after -R and
23010 # others require no space. Words are not sufficient . . . .
23011 case `(uname -sr) 2>/dev/null` in
23013 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23014 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23015 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23016 cat >conftest.
$ac_ext <<_ACEOF
23017 #line $LINENO "configure"
23020 cat confdefs.h
>>conftest.
$ac_ext
23021 cat >>conftest.
$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23032 rm -f conftest.
$ac_objext conftest
$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } &&
23038 { ac_try
='test -s conftest$ac_exeext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.
$ac_ext >&5
23051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23052 if test $ac_R_nospace = yes; then
23053 echo "$as_me:$LINENO: result: no" >&5
23054 echo "${ECHO_T}no" >&6
23055 X_LIBS
="$X_LIBS -R$x_libraries"
23057 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23058 cat >conftest.
$ac_ext <<_ACEOF
23059 #line $LINENO "configure"
23062 cat confdefs.h
>>conftest.
$ac_ext
23063 cat >>conftest.
$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23074 rm -f conftest.
$ac_objext conftest
$ac_exeext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23076 (eval $ac_link) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try
='test -s conftest$ac_exeext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23093 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23094 if test $ac_R_space = yes; then
23095 echo "$as_me:$LINENO: result: yes" >&5
23096 echo "${ECHO_T}yes" >&6
23097 X_LIBS
="$X_LIBS -R $x_libraries"
23099 echo "$as_me:$LINENO: result: neither works" >&5
23100 echo "${ECHO_T}neither works" >&6
23103 LIBS
=$ac_xsave_LIBS
23107 # Check for system-dependent libraries X programs must link with.
23108 # Do this before checking for the system-independent R6 libraries
23109 # (-lICE), since we may need -lsocket or whatever for X linking.
23111 if test "$ISC" = yes; then
23112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23114 # Martyn Johnson says this is needed for Ultrix, if the X
23115 # libraries were built with DECnet support. And Karl Berry says
23116 # the Alpha needs dnet_stub (dnet does not exist).
23117 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23118 cat >conftest.
$ac_ext <<_ACEOF
23119 #line $LINENO "configure"
23122 cat confdefs.h
>>conftest.
$ac_ext
23123 cat >>conftest.
$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23126 /* Override any gcc2 internal prototype to avoid an error. */
23130 /* We use char because int might match the return type of a gcc2
23131 builtin and then its argument prototype would still apply. */
23132 char XOpenDisplay ();
23141 rm -f conftest.
$ac_objext conftest
$ac_exeext
23142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23143 (eval $ac_link) 2>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try
='test -s conftest$ac_exeext'
23148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 (eval $ac_try) 2>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); }; }; then
23155 echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.
$ac_ext >&5
23158 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23159 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23160 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23161 echo $ECHO_N "(cached) $ECHO_C" >&6
23163 ac_check_lib_save_LIBS
=$LIBS
23164 LIBS
="-ldnet $LIBS"
23165 cat >conftest.
$ac_ext <<_ACEOF
23166 #line $LINENO "configure"
23169 cat confdefs.h
>>conftest.
$ac_ext
23170 cat >>conftest.
$ac_ext <<_ACEOF
23171 /* end confdefs.h. */
23173 /* Override any gcc2 internal prototype to avoid an error. */
23177 /* We use char because int might match the return type of a gcc2
23178 builtin and then its argument prototype would still apply. */
23188 rm -f conftest.
$ac_objext conftest
$ac_exeext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23190 (eval $ac_link) 2>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } &&
23194 { ac_try
='test -s conftest$ac_exeext'
23195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196 (eval $ac_try) 2>&5
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; }; then
23200 ac_cv_lib_dnet_dnet_ntoa
=yes
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.
$ac_ext >&5
23205 ac_cv_lib_dnet_dnet_ntoa
=no
23207 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23208 LIBS
=$ac_check_lib_save_LIBS
23210 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23211 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23212 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23216 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23217 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23218 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23219 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 ac_check_lib_save_LIBS
=$LIBS
23223 LIBS
="-ldnet_stub $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_stub_dnet_ntoa
=yes
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.
$ac_ext >&5
23264 ac_cv_lib_dnet_stub_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_stub_dnet_ntoa" >&5
23270 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23271 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23278 LIBS
="$ac_xsave_LIBS"
23280 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23281 # to get the SysV transport functions.
23282 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23284 # The nsl library prevents programs from opening the X display
23285 # on Irix 5.2, according to T.E. Dickey.
23286 # The functions gethostbyname, getservbyname, and inet_addr are
23287 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23288 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23289 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23290 if test "${ac_cv_func_gethostbyname+set}" = set; then
23291 echo $ECHO_N "(cached) $ECHO_C" >&6
23293 cat >conftest.
$ac_ext <<_ACEOF
23294 #line $LINENO "configure"
23297 cat confdefs.h
>>conftest.
$ac_ext
23298 cat >>conftest.
$ac_ext <<_ACEOF
23299 /* end confdefs.h. */
23300 /* System header to define __stub macros and hopefully few prototypes,
23301 which can conflict with char gethostbyname (); below.
23302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23303 <limits.h> exists even on freestanding compilers. */
23305 # include <limits.h>
23307 # include <assert.h>
23309 /* Override any gcc2 internal prototype to avoid an error. */
23314 /* We use char because int might match the return type of a gcc2
23315 builtin and then its argument prototype would still apply. */
23316 char gethostbyname ();
23317 /* The GNU C library defines this for functions which it implements
23318 to always fail with ENOSYS. Some functions are actually named
23319 something starting with __ and the normal name is an alias. */
23320 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23323 char (*f) () = gethostbyname;
23332 return f != gethostbyname;
23337 rm -f conftest.
$ac_objext conftest
$ac_exeext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23339 (eval $ac_link) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); } &&
23343 { ac_try
='test -s conftest$ac_exeext'
23344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23345 (eval $ac_try) 2>&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); }; }; then
23349 ac_cv_func_gethostbyname
=yes
23351 echo "$as_me: failed program was:" >&5
23352 sed 's/^/| /' conftest.
$ac_ext >&5
23354 ac_cv_func_gethostbyname
=no
23356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23358 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23359 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23361 if test $ac_cv_func_gethostbyname = no
; then
23362 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23363 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23364 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 ac_check_lib_save_LIBS
=$LIBS
23369 cat >conftest.
$ac_ext <<_ACEOF
23370 #line $LINENO "configure"
23373 cat confdefs.h
>>conftest.
$ac_ext
23374 cat >>conftest.
$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23377 /* Override any gcc2 internal prototype to avoid an error. */
23381 /* We use char because int might match the return type of a gcc2
23382 builtin and then its argument prototype would still apply. */
23383 char gethostbyname ();
23392 rm -f conftest.
$ac_objext conftest
$ac_exeext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23394 (eval $ac_link) 2>&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); } &&
23398 { ac_try
='test -s conftest$ac_exeext'
23399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23400 (eval $ac_try) 2>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); }; }; then
23404 ac_cv_lib_nsl_gethostbyname
=yes
23406 echo "$as_me: failed program was:" >&5
23407 sed 's/^/| /' conftest.
$ac_ext >&5
23409 ac_cv_lib_nsl_gethostbyname
=no
23411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23412 LIBS
=$ac_check_lib_save_LIBS
23414 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23415 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23416 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23417 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23420 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23421 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23422 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23423 if test "${ac_cv_lib_bsd_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_bsd_gethostbyname
=yes
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.
$ac_ext >&5
23468 ac_cv_lib_bsd_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_bsd_gethostbyname" >&5
23474 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23475 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23482 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23483 # socket/setsockopt and other routines are undefined under SCO ODT
23484 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23485 # on later versions), says Simon Leinen: it contains gethostby*
23486 # variants that don't use the name server (or something). -lsocket
23487 # must be given before -lnsl if both are needed. We assume that
23488 # if connect needs -lnsl, so does gethostbyname.
23489 echo "$as_me:$LINENO: checking for connect" >&5
23490 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23491 if test "${ac_cv_func_connect+set}" = set; then
23492 echo $ECHO_N "(cached) $ECHO_C" >&6
23494 cat >conftest.
$ac_ext <<_ACEOF
23495 #line $LINENO "configure"
23498 cat confdefs.h
>>conftest.
$ac_ext
23499 cat >>conftest.
$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23501 /* System header to define __stub macros and hopefully few prototypes,
23502 which can conflict with char connect (); below.
23503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23504 <limits.h> exists even on freestanding compilers. */
23506 # include <limits.h>
23508 # include <assert.h>
23510 /* Override any gcc2 internal prototype to avoid an error. */
23515 /* We use char because int might match the return type of a gcc2
23516 builtin and then its argument prototype would still apply. */
23518 /* The GNU C library defines this for functions which it implements
23519 to always fail with ENOSYS. Some functions are actually named
23520 something starting with __ and the normal name is an alias. */
23521 #if defined (__stub_connect) || defined (__stub___connect)
23524 char (*f) () = connect;
23533 return f != connect;
23538 rm -f conftest.
$ac_objext conftest
$ac_exeext
23539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23540 (eval $ac_link) 2>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -s conftest$ac_exeext'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; }; then
23550 ac_cv_func_connect
=yes
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.
$ac_ext >&5
23555 ac_cv_func_connect
=no
23557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23559 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23560 echo "${ECHO_T}$ac_cv_func_connect" >&6
23562 if test $ac_cv_func_connect = no
; then
23563 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23564 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23565 if test "${ac_cv_lib_socket_connect+set}" = set; then
23566 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 ac_check_lib_save_LIBS
=$LIBS
23569 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23570 cat >conftest.
$ac_ext <<_ACEOF
23571 #line $LINENO "configure"
23574 cat confdefs.h
>>conftest.
$ac_ext
23575 cat >>conftest.
$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23578 /* Override any gcc2 internal prototype to avoid an error. */
23582 /* We use char because int might match the return type of a gcc2
23583 builtin and then its argument prototype would still apply. */
23593 rm -f conftest.
$ac_objext conftest
$ac_exeext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23595 (eval $ac_link) 2>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try
='test -s conftest$ac_exeext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 ac_cv_lib_socket_connect
=yes
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.
$ac_ext >&5
23610 ac_cv_lib_socket_connect
=no
23612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23613 LIBS
=$ac_check_lib_save_LIBS
23615 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23616 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23617 if test $ac_cv_lib_socket_connect = yes; then
23618 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23623 # Guillermo Gomez says -lposix is necessary on A/UX.
23624 echo "$as_me:$LINENO: checking for remove" >&5
23625 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23626 if test "${ac_cv_func_remove+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
23636 /* System header to define __stub macros and hopefully few prototypes,
23637 which can conflict with char remove (); below.
23638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23639 <limits.h> exists even on freestanding compilers. */
23641 # include <limits.h>
23643 # include <assert.h>
23645 /* Override any gcc2 internal prototype to avoid an error. */
23650 /* We use char because int might match the return type of a gcc2
23651 builtin and then its argument prototype would still apply. */
23653 /* The GNU C library defines this for functions which it implements
23654 to always fail with ENOSYS. Some functions are actually named
23655 something starting with __ and the normal name is an alias. */
23656 #if defined (__stub_remove) || defined (__stub___remove)
23659 char (*f) () = remove;
23668 return f != remove;
23673 rm -f conftest.
$ac_objext conftest
$ac_exeext
23674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23675 (eval $ac_link) 2>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } &&
23679 { ac_try
='test -s conftest$ac_exeext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_cv_func_remove
=yes
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.
$ac_ext >&5
23690 ac_cv_func_remove
=no
23692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23694 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23695 echo "${ECHO_T}$ac_cv_func_remove" >&6
23697 if test $ac_cv_func_remove = no
; then
23698 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23699 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23700 if test "${ac_cv_lib_posix_remove+set}" = set; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 ac_check_lib_save_LIBS
=$LIBS
23704 LIBS
="-lposix $LIBS"
23705 cat >conftest.
$ac_ext <<_ACEOF
23706 #line $LINENO "configure"
23709 cat confdefs.h
>>conftest.
$ac_ext
23710 cat >>conftest.
$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23713 /* Override any gcc2 internal prototype to avoid an error. */
23717 /* We use char because int might match the return type of a gcc2
23718 builtin and then its argument prototype would still apply. */
23728 rm -f conftest.
$ac_objext conftest
$ac_exeext
23729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23730 (eval $ac_link) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } &&
23734 { ac_try
='test -s conftest$ac_exeext'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; }; then
23740 ac_cv_lib_posix_remove
=yes
23742 echo "$as_me: failed program was:" >&5
23743 sed 's/^/| /' conftest.
$ac_ext >&5
23745 ac_cv_lib_posix_remove
=no
23747 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23748 LIBS
=$ac_check_lib_save_LIBS
23750 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23751 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23752 if test $ac_cv_lib_posix_remove = yes; then
23753 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23758 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23759 echo "$as_me:$LINENO: checking for shmat" >&5
23760 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23761 if test "${ac_cv_func_shmat+set}" = set; then
23762 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
23771 /* System header to define __stub macros and hopefully few prototypes,
23772 which can conflict with char shmat (); below.
23773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23774 <limits.h> exists even on freestanding compilers. */
23776 # include <limits.h>
23778 # include <assert.h>
23780 /* Override any gcc2 internal prototype to avoid an error. */
23785 /* We use char because int might match the return type of a gcc2
23786 builtin and then its argument prototype would still apply. */
23788 /* The GNU C library defines this for functions which it implements
23789 to always fail with ENOSYS. Some functions are actually named
23790 something starting with __ and the normal name is an alias. */
23791 #if defined (__stub_shmat) || defined (__stub___shmat)
23794 char (*f) () = shmat;
23808 rm -f conftest.
$ac_objext conftest
$ac_exeext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23810 (eval $ac_link) 2>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try
='test -s conftest$ac_exeext'
23815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23816 (eval $ac_try) 2>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; }; then
23820 ac_cv_func_shmat
=yes
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.
$ac_ext >&5
23825 ac_cv_func_shmat
=no
23827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23829 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23830 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23832 if test $ac_cv_func_shmat = no
; then
23833 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23834 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23835 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23838 ac_check_lib_save_LIBS
=$LIBS
23840 cat >conftest.
$ac_ext <<_ACEOF
23841 #line $LINENO "configure"
23844 cat confdefs.h
>>conftest.
$ac_ext
23845 cat >>conftest.
$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23848 /* Override any gcc2 internal prototype to avoid an error. */
23852 /* We use char because int might match the return type of a gcc2
23853 builtin and then its argument prototype would still apply. */
23863 rm -f conftest.
$ac_objext conftest
$ac_exeext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23865 (eval $ac_link) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } &&
23869 { ac_try
='test -s conftest$ac_exeext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 ac_cv_lib_ipc_shmat
=yes
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.
$ac_ext >&5
23880 ac_cv_lib_ipc_shmat
=no
23882 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23883 LIBS
=$ac_check_lib_save_LIBS
23885 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23886 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23887 if test $ac_cv_lib_ipc_shmat = yes; then
23888 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23894 # Check for libraries that X11R6 Xt/Xaw programs need.
23895 ac_save_LDFLAGS
=$LDFLAGS
23896 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23897 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23898 # check for ICE first), but we must link in the order -lSM -lICE or
23899 # we get undefined symbols. So assume we have SM if we have ICE.
23900 # These have to be linked with before -lX11, unlike the other
23901 # libraries we check for below, so use a different variable.
23902 # John Interrante, Karl Berry
23903 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23904 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23905 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23906 echo $ECHO_N "(cached) $ECHO_C" >&6
23908 ac_check_lib_save_LIBS
=$LIBS
23909 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23910 cat >conftest.
$ac_ext <<_ACEOF
23911 #line $LINENO "configure"
23914 cat confdefs.h
>>conftest.
$ac_ext
23915 cat >>conftest.
$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23918 /* Override any gcc2 internal prototype to avoid an error. */
23922 /* We use char because int might match the return type of a gcc2
23923 builtin and then its argument prototype would still apply. */
23924 char IceConnectionNumber ();
23928 IceConnectionNumber ();
23933 rm -f conftest.
$ac_objext conftest
$ac_exeext
23934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23935 (eval $ac_link) 2>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try
='test -s conftest$ac_exeext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 ac_cv_lib_ICE_IceConnectionNumber
=yes
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.
$ac_ext >&5
23950 ac_cv_lib_ICE_IceConnectionNumber
=no
23952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23953 LIBS
=$ac_check_lib_save_LIBS
23955 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23956 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23957 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23958 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23961 LDFLAGS
=$ac_save_LDFLAGS
23966 if test "$no_x" = "yes"; then
23967 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23968 echo "$as_me: error: X11 not found" >&2;}
23969 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23972 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23973 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23974 AFMINSTALL
=afminstall
23975 COMPILED_X_PROGRAM
=0
23977 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23978 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23981 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23983 if test -f "$ac_dir/Xm/Xm.h"; then
23984 ac_find_includes
=$ac_dir
23989 if test "$ac_find_includes" != "" ; then
23990 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23991 echo "${ECHO_T}found in $ac_find_includes" >&6
23993 if test "x$ac_find_includes" = "x/usr/include"; then
23994 ac_path_to_include
=""
23996 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23998 if test $result = 0; then
23999 ac_path_to_include
=""
24001 ac_path_to_include
=" -I$ac_find_includes"
24005 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24007 cat >conftest.
$ac_ext <<_ACEOF
24008 #line $LINENO "configure"
24011 cat confdefs.h
>>conftest.
$ac_ext
24012 cat >>conftest.
$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24022 version = xmUseVersion;
24028 rm -f conftest.
$ac_objext
24029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24030 (eval $ac_compile) 2>&5
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); } &&
24034 { ac_try
='test -s conftest.$ac_objext'
24035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24036 (eval $ac_try) 2>&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); }; }; then
24041 echo "$as_me:$LINENO: result: found in default search path" >&5
24042 echo "${ECHO_T}found in default search path" >&6
24043 COMPILED_X_PROGRAM
=1
24046 echo "$as_me: failed program was:" >&5
24047 sed 's/^/| /' conftest.
$ac_ext >&5
24050 echo "$as_me:$LINENO: result: no" >&5
24051 echo "${ECHO_T}no" >&6
24052 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24053 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24054 { (exit 1); exit 1; }; }
24058 rm -f conftest.
$ac_objext conftest.
$ac_ext
24061 if test "$COMPILED_X_PROGRAM" = 0; then
24062 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24063 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24066 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24068 for ac_extension
in a so sl dylib
; do
24069 if test -f "$ac_dir/libXm.$ac_extension"; then
24070 ac_find_libraries
=$ac_dir
24076 if test "$ac_find_libraries" != "" ; then
24077 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24078 echo "${ECHO_T}found at $ac_find_libraries" >&6
24081 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24083 if test $result = 0; then
24086 ac_path_to_link
=" -L$ac_find_libraries"
24089 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24091 save_CFLAGS
=$CFLAGS
24092 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24094 cat >conftest.
$ac_ext <<_ACEOF
24095 #line $LINENO "configure"
24098 cat confdefs.h
>>conftest.
$ac_ext
24099 cat >>conftest.
$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24109 version = xmUseVersion;
24115 rm -f conftest.
$ac_objext
24116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24117 (eval $ac_compile) 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } &&
24121 { ac_try
='test -s conftest.$ac_objext'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; }; then
24128 echo "$as_me:$LINENO: result: found in default search path" >&5
24129 echo "${ECHO_T}found in default search path" >&6
24130 COMPILED_X_PROGRAM
=1
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.
$ac_ext >&5
24137 echo "$as_me:$LINENO: result: no" >&5
24138 echo "${ECHO_T}no" >&6
24139 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24140 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24141 { (exit 1); exit 1; }; }
24145 rm -f conftest.
$ac_objext conftest.
$ac_ext
24147 CFLAGS
=$save_CFLAGS
24152 echo "$as_me:$LINENO: checking for Xpm library" >&5
24153 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24156 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24158 for ac_extension
in a so sl dylib
; do
24159 if test -f "$ac_dir/libXpm.$ac_extension"; then
24160 ac_find_libraries
=$ac_dir
24166 if test "$ac_find_libraries" != "" ; then
24168 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24170 if test $result = 0; then
24173 ac_path_to_link
=" -L$ac_find_libraries"
24176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24179 cat >>confdefs.h
<<\_ACEOF
24180 #define wxHAVE_LIB_XPM 1
24183 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24184 echo "${ECHO_T}found at $ac_find_libraries" >&6
24186 save_CFLAGS
=$CFLAGS
24187 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24189 cat >conftest.
$ac_ext <<_ACEOF
24190 #line $LINENO "configure"
24193 cat confdefs.h
>>conftest.
$ac_ext
24194 cat >>conftest.
$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24197 #include <X11/xpm.h>
24204 version = XpmLibraryVersion();
24210 rm -f conftest.
$ac_objext
24211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24212 (eval $ac_compile) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try
='test -s conftest.$ac_objext'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; }; then
24224 cat >>confdefs.h
<<\_ACEOF
24225 #define wxHAVE_LIB_XPM 1
24228 echo "$as_me:$LINENO: result: found in default search path" >&5
24229 echo "${ECHO_T}found in default search path" >&6
24230 COMPILED_X_PROGRAM
=0
24233 echo "$as_me: failed program was:" >&5
24234 sed 's/^/| /' conftest.
$ac_ext >&5
24237 echo "$as_me:$LINENO: result: no" >&5
24238 echo "${ECHO_T}no" >&6
24239 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24240 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24244 rm -f conftest.
$ac_objext conftest.
$ac_ext
24246 CFLAGS
=$save_CFLAGS
24249 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24250 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24254 for libp
in "" " -lXp"; do
24255 if test "$libs_found" = "0"; then
24256 for libsm_ice
in " -lSM -lICE"; do
24257 if test "$libs_found" = "0"; then
24259 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24260 save_CFLAGS
=$CFLAGS
24261 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24263 cat >conftest.
$ac_ext <<_ACEOF
24264 #line $LINENO "configure"
24267 cat confdefs.h
>>conftest.
$ac_ext
24268 cat >>conftest.
$ac_ext <<_ACEOF
24269 /* end confdefs.h. */
24272 #include <Xm/List.h>
24278 XmString string = NULL;
24281 XmListAddItem(w, string, position);
24287 rm -f conftest.
$ac_objext conftest
$ac_exeext
24288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24289 (eval $ac_link) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } &&
24293 { ac_try
='test -s conftest$ac_exeext'
24294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295 (eval $ac_try) 2>&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); }; }; then
24301 libsm_ice_link
="$libsm_ice"
24302 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24303 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24307 echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.
$ac_ext >&5
24313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24316 CFLAGS
=$save_CFLAGS
24322 if test "$libs_found" = "0"; then
24323 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24324 echo "${ECHO_T}can't find the right libraries" >&6
24325 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24326 echo "$as_me: error: can't link a simple motif program" >&2;}
24327 { (exit 1); exit 1; }; }
24330 save_CFLAGS
=$CFLAGS
24331 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24332 echo "$as_me:$LINENO: checking for Motif 2" >&5
24333 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24334 cat >conftest.
$ac_ext <<_ACEOF
24335 #line $LINENO "configure"
24338 cat confdefs.h
>>conftest.
$ac_ext
24339 cat >>conftest.
$ac_ext <<_ACEOF
24340 /* end confdefs.h. */
24348 #if XmVersion < 2000
24349 #error "Not Motif 2"
24356 rm -f conftest.
$ac_objext
24357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24358 (eval $ac_compile) 2>&5
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); } &&
24362 { ac_try
='test -s conftest.$ac_objext'
24363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24364 (eval $ac_try) 2>&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); }; }; then
24369 cat >>confdefs.h
<<\_ACEOF
24370 #define __WXMOTIF20__ 1
24373 echo "$as_me:$LINENO: result: found" >&5
24374 echo "${ECHO_T}found" >&6
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.
$ac_ext >&5
24381 cat >>confdefs.h
<<\_ACEOF
24382 #define __WXMOTIF20__ 0
24385 echo "$as_me:$LINENO: result: not found" >&5
24386 echo "${ECHO_T}not found" >&6
24389 rm -f conftest.
$ac_objext conftest.
$ac_ext
24390 CFLAGS
=$save_CFLAGS
24392 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24393 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24399 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24400 test "$wxHAVE_XEXT_LIB" = 1; then
24401 save_CFLAGS
="$CFLAGS"
24402 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24404 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24405 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24406 cat >conftest.
$ac_ext <<_ACEOF
24407 #line $LINENO "configure"
24410 cat confdefs.h
>>conftest.
$ac_ext
24411 cat >>conftest.
$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24414 #include <X11/Xlib.h>
24415 #include <X11/extensions/shape.h>
24421 int dummy1, dummy2;
24422 XShapeQueryExtension((Display*)NULL,
24423 (int*)NULL, (int*)NULL);
24429 rm -f conftest.
$ac_objext
24430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24431 (eval $ac_compile) 2>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } &&
24435 { ac_try
='test -s conftest.$ac_objext'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24442 cat >>confdefs.h
<<\_ACEOF
24443 #define HAVE_XSHAPE 1
24446 echo "$as_me:$LINENO: result: found" >&5
24447 echo "${ECHO_T}found" >&6
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.
$ac_ext >&5
24454 echo "$as_me:$LINENO: result: not found" >&5
24455 echo "${ECHO_T}not found" >&6
24458 rm -f conftest.
$ac_objext conftest.
$ac_ext
24459 CFLAGS
="$save_CFLAGS"
24462 if test "$wxUSE_MAC" = 1; then
24463 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24465 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24468 WXBASEPORT
="_carbon"
24471 if test "$wxUSE_COCOA" = 1; then
24472 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24477 if test "$wxUSE_PM" = 1; then
24480 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24481 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24485 if test "$TOOLKIT" = "PM" ; then
24488 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24491 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24493 if test "$wxUSE_UNIVERSAL" = "yes"; then
24494 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24496 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24497 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24499 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24500 if test "$wxUSE_X11" = 1; then
24501 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24503 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24505 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24508 ALL_OBJECTS
="\$(GUIOBJS)"
24509 ALL_SOURCES
="\$(ALL_SOURCES)"
24510 ALL_HEADERS
="\$(ALL_HEADERS)"
24513 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24515 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24516 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24519 if test "$wxUSE_HTML" = "yes"; then
24520 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24523 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24524 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24526 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24527 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24529 if test "$wxUSE_LIBPNG" = "builtin" ; then
24530 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24533 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24534 DISTDIR
="wx\$(TOOLKIT)"
24540 if test "$USE_WIN32" = 1 ; then
24541 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24542 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24546 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24547 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24550 ALL_SOURCES
="\$(ALL_SOURCES)"
24551 ALL_HEADERS
="\$(ALL_HEADERS)"
24553 PORT_FILES
="\${top_srcdir}/src/files.lst"
24555 GUIDIST
="BASE_DIST"
24565 if test "$TOOLKIT" != "MSW" ; then
24567 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24569 if test "${ac_cv_header_sql_h+set}" = set; then
24570 echo "$as_me:$LINENO: checking for sql.h" >&5
24571 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24572 if test "${ac_cv_header_sql_h+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24575 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24576 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24578 # Is the header compilable?
24579 echo "$as_me:$LINENO: checking sql.h usability" >&5
24580 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24581 cat >conftest.
$ac_ext <<_ACEOF
24582 #line $LINENO "configure"
24585 cat confdefs.h
>>conftest.
$ac_ext
24586 cat >>conftest.
$ac_ext <<_ACEOF
24587 /* end confdefs.h. */
24588 $ac_includes_default
24591 rm -f conftest.
$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593 (eval $ac_compile) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try
='test -s conftest.$ac_objext'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_header_compiler
=yes
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.
$ac_ext >&5
24608 ac_header_compiler
=no
24610 rm -f conftest.
$ac_objext conftest.
$ac_ext
24611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24612 echo "${ECHO_T}$ac_header_compiler" >&6
24614 # Is the header present?
24615 echo "$as_me:$LINENO: checking sql.h presence" >&5
24616 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24617 cat >conftest.
$ac_ext <<_ACEOF
24618 #line $LINENO "configure"
24621 cat confdefs.h
>>conftest.
$ac_ext
24622 cat >>conftest.
$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24629 grep -v '^ *+' conftest.er1
>conftest.err
24631 cat conftest.err
>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } >/dev
/null
; then
24634 if test -s conftest.err
; then
24635 ac_cpp_err
=$ac_c_preproc_warn_flag
24642 if test -z "$ac_cpp_err"; then
24643 ac_header_preproc
=yes
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.
$ac_ext >&5
24648 ac_header_preproc
=no
24650 rm -f conftest.err conftest.
$ac_ext
24651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24652 echo "${ECHO_T}$ac_header_preproc" >&6
24654 # So? What about this header?
24655 case $ac_header_compiler:$ac_header_preproc in
24657 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24658 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24659 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24660 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24663 ## ------------------------------------ ##
24664 ## Report this to bug-autoconf@gnu.org. ##
24665 ## ------------------------------------ ##
24668 sed "s/^/$as_me: WARNING: /" >&2
24671 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24672 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24673 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24674 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24675 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24676 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24679 ## ------------------------------------ ##
24680 ## Report this to bug-autoconf@gnu.org. ##
24681 ## ------------------------------------ ##
24684 sed "s/^/$as_me: WARNING: /" >&2
24687 echo "$as_me:$LINENO: checking for sql.h" >&5
24688 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24689 if test "${ac_cv_header_sql_h+set}" = set; then
24690 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 ac_cv_header_sql_h
=$ac_header_preproc
24694 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24695 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24698 if test $ac_cv_header_sql_h = yes; then
24703 if test "x$found_sql_h" = "x1" ; then
24704 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24705 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24706 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24707 echo $ECHO_N "(cached) $ECHO_C" >&6
24709 ac_check_lib_save_LIBS
=$LIBS
24710 LIBS
="-lSQLAllocEnv $LIBS"
24711 cat >conftest.
$ac_ext <<_ACEOF
24712 #line $LINENO "configure"
24715 cat confdefs.h
>>conftest.
$ac_ext
24716 cat >>conftest.
$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24719 /* Override any gcc2 internal prototype to avoid an error. */
24723 /* We use char because int might match the return type of a gcc2
24724 builtin and then its argument prototype would still apply. */
24734 rm -f conftest.
$ac_objext conftest
$ac_exeext
24735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24736 (eval $ac_link) 2>&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } &&
24740 { ac_try
='test -s conftest$ac_exeext'
24741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24742 (eval $ac_try) 2>&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); }; }; then
24746 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24748 echo "$as_me: failed program was:" >&5
24749 sed 's/^/| /' conftest.
$ac_ext >&5
24751 ac_cv_lib_SQLAllocEnv_iodbc
=no
24753 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24754 LIBS
=$ac_check_lib_save_LIBS
24756 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24757 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24758 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24759 ODBC_LINK
=" -liodbc"
24762 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24763 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24764 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 ac_check_lib_save_LIBS
=$LIBS
24768 LIBS
="-lSQLAllocEnv $LIBS"
24769 cat >conftest.
$ac_ext <<_ACEOF
24770 #line $LINENO "configure"
24773 cat confdefs.h
>>conftest.
$ac_ext
24774 cat >>conftest.
$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24777 /* Override any gcc2 internal prototype to avoid an error. */
24781 /* We use char because int might match the return type of a gcc2
24782 builtin and then its argument prototype would still apply. */
24792 rm -f conftest.
$ac_objext conftest
$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } &&
24798 { ac_try
='test -s conftest$ac_exeext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.
$ac_ext >&5
24809 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24811 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24812 LIBS
=$ac_check_lib_save_LIBS
24814 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24815 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24816 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24817 ODBC_LINK
=" -lunixodbc"
24820 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24821 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24822 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24825 ac_check_lib_save_LIBS
=$LIBS
24826 LIBS
="-lSQLAllocEnv $LIBS"
24827 cat >conftest.
$ac_ext <<_ACEOF
24828 #line $LINENO "configure"
24831 cat confdefs.h
>>conftest.
$ac_ext
24832 cat >>conftest.
$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24835 /* Override any gcc2 internal prototype to avoid an error. */
24839 /* We use char because int might match the return type of a gcc2
24840 builtin and then its argument prototype would still apply. */
24850 rm -f conftest.
$ac_objext conftest
$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } &&
24856 { ac_try
='test -s conftest$ac_exeext'
24857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24858 (eval $ac_try) 2>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); }; }; then
24862 ac_cv_lib_SQLAllocEnv_odbc
=yes
24864 echo "$as_me: failed program was:" >&5
24865 sed 's/^/| /' conftest.
$ac_ext >&5
24867 ac_cv_lib_SQLAllocEnv_odbc
=no
24869 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24870 LIBS
=$ac_check_lib_save_LIBS
24872 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24873 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24874 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24875 ODBC_LINK
=" -lodbc"
24885 if test "x$ODBC_LINK" = "x" ; then
24886 if test "$wxUSE_ODBC" = "sys" ; then
24887 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24888 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24889 { (exit 1); exit 1; }; }
24891 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24892 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24899 if test "$wxUSE_ODBC" != "no" ; then
24900 cat >>confdefs.h
<<\_ACEOF
24901 #define wxUSE_ODBC 1
24904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24906 WXODBCFLAG
="-D_IODBC_"
24910 if test "$wxUSE_REGEX" = "builtin" ; then
24911 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24913 if test "$wxUSE_ZLIB" = "builtin" ; then
24914 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24919 if test "$wxUSE_OPENGL" = "yes"; then
24920 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24921 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24922 elif test "$wxUSE_MSW" = 1; then
24923 OPENGL_LIBS
="-lopengl32 -lglu32"
24928 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24930 if test -f "$ac_dir/GL/gl.h"; then
24931 ac_find_includes
=$ac_dir
24936 if test "$ac_find_includes" != "" ; then
24937 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24938 echo "${ECHO_T}found in $ac_find_includes" >&6
24940 if test "x$ac_find_includes" = "x/usr/include"; then
24941 ac_path_to_include
=""
24943 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24945 if test $result = 0; then
24946 ac_path_to_include
=""
24948 ac_path_to_include
=" -I$ac_find_includes"
24952 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24955 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24956 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24957 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24958 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24959 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24962 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24964 # Is the header compilable?
24965 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24966 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24967 cat >conftest.
$ac_ext <<_ACEOF
24968 #line $LINENO "configure"
24971 cat confdefs.h
>>conftest.
$ac_ext
24972 cat >>conftest.
$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974 $ac_includes_default
24977 rm -f conftest.
$ac_objext
24978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24979 (eval $ac_compile) 2>&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); } &&
24983 { ac_try
='test -s conftest.$ac_objext'
24984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24985 (eval $ac_try) 2>&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); }; }; then
24989 ac_header_compiler
=yes
24991 echo "$as_me: failed program was:" >&5
24992 sed 's/^/| /' conftest.
$ac_ext >&5
24994 ac_header_compiler
=no
24996 rm -f conftest.
$ac_objext conftest.
$ac_ext
24997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24998 echo "${ECHO_T}$ac_header_compiler" >&6
25000 # Is the header present?
25001 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25002 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25003 cat >conftest.
$ac_ext <<_ACEOF
25004 #line $LINENO "configure"
25007 cat confdefs.h
>>conftest.
$ac_ext
25008 cat >>conftest.
$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25015 grep -v '^ *+' conftest.er1
>conftest.err
25017 cat conftest.err
>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); } >/dev
/null
; then
25020 if test -s conftest.err
; then
25021 ac_cpp_err
=$ac_c_preproc_warn_flag
25028 if test -z "$ac_cpp_err"; then
25029 ac_header_preproc
=yes
25031 echo "$as_me: failed program was:" >&5
25032 sed 's/^/| /' conftest.
$ac_ext >&5
25034 ac_header_preproc
=no
25036 rm -f conftest.err conftest.
$ac_ext
25037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25038 echo "${ECHO_T}$ac_header_preproc" >&6
25040 # So? What about this header?
25041 case $ac_header_compiler:$ac_header_preproc in
25043 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25044 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25045 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25046 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25049 ## ------------------------------------ ##
25050 ## Report this to bug-autoconf@gnu.org. ##
25051 ## ------------------------------------ ##
25054 sed "s/^/$as_me: WARNING: /" >&2
25057 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25058 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25059 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25060 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25061 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25062 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25065 ## ------------------------------------ ##
25066 ## Report this to bug-autoconf@gnu.org. ##
25067 ## ------------------------------------ ##
25070 sed "s/^/$as_me: WARNING: /" >&2
25073 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25074 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25075 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25076 echo $ECHO_N "(cached) $ECHO_C" >&6
25078 ac_cv_header_GL_gl_h
=$ac_header_preproc
25080 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25081 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25084 if test $ac_cv_header_GL_gl_h = yes; then
25088 echo "$as_me:$LINENO: checking for -lGL" >&5
25089 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25092 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25094 for ac_extension
in a so sl dylib
; do
25095 if test -f "$ac_dir/libGL.$ac_extension"; then
25096 ac_find_libraries
=$ac_dir
25102 if test "$ac_find_libraries" != "" ; then
25104 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25106 if test $result = 0; then
25109 ac_path_to_link
=" -L$ac_find_libraries"
25112 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25113 LDFLAGS_GL
="$ac_path_to_link"
25118 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25120 for ac_extension
in a so sl dylib
; do
25121 if test -f "$ac_dir/libGLU.$ac_extension"; then
25122 ac_find_libraries
=$ac_dir
25128 if test "$ac_find_libraries" != "" ; then
25130 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25132 if test $result = 0; then
25135 ac_path_to_link
=" -L$ac_find_libraries"
25138 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25139 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25140 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25144 OPENGL_LIBS
="-lGL -lGLU"
25145 echo "$as_me:$LINENO: result: yes" >&5
25146 echo "${ECHO_T}yes" >&6
25150 if test "$found_gl" != 1; then
25151 echo "$as_me:$LINENO: result: no" >&5
25152 echo "${ECHO_T}no" >&6
25153 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25154 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25157 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25159 for ac_extension
in a so sl dylib
; do
25160 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25161 ac_find_libraries
=$ac_dir
25167 if test "$ac_find_libraries" != "" ; then
25169 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25171 if test $result = 0; then
25174 ac_path_to_link
=" -L$ac_find_libraries"
25177 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25178 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25179 echo "$as_me:$LINENO: result: yes" >&5
25180 echo "${ECHO_T}yes" >&6
25182 echo "$as_me:$LINENO: result: no" >&5
25183 echo "${ECHO_T}no" >&6
25191 if test "x$OPENGL_LIBS" = "x"; then
25192 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25193 echo "$as_me: error: OpenGL libraries not available" >&2;}
25194 { (exit 1); exit 1; }; }
25198 if test "$wxUSE_OPENGL" = "yes"; then
25200 cat >>confdefs.h
<<\_ACEOF
25201 #define wxUSE_OPENGL 1
25204 cat >>confdefs.h
<<\_ACEOF
25205 #define wxUSE_GLCANVAS 1
25208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25212 if test -z "$TOOLKIT_VPATH" ; then
25213 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25216 if test -n "$TOOLKIT" ; then
25217 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25221 lib_unicode_suffix
=
25222 if test "$wxUSE_UNICODE" = "yes"; then
25223 lib_unicode_suffix
=u
25229 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25235 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25239 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25241 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25242 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25244 if test "$cross_compiling" = "yes"; then
25245 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25246 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25247 HOST_SUFFIX
="-${host_alias}"
25250 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25251 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25252 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25253 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25255 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25256 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25258 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25259 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25260 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25261 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25264 *-*-cygwin* | *-*-mingw32* )
25265 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25266 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25271 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25272 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25274 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25275 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25276 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25277 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25279 if test "$wxUSE_MAC" = 1; then
25280 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25281 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25286 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25287 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25289 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25290 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25292 if test "$wxUSE_OPENGL" = "yes"; then
25293 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25294 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25299 if test "$wxUSE_SHARED" = "yes"; then
25301 *-pc-os2_emx | *-pc-os2-emx | \
25304 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25305 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25311 if test "$wxUSE_SHARED" = "yes"; then
25315 found_versioning
=no
25318 if test $found_versioning = no
; then
25319 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25320 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25321 if test "${wx_cv_version_script+set}" = set; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25325 echo "VER_1 { *; };" >conftest.sym
25326 echo "int main() { return 0; }" >conftest.cpp
25329 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25330 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; } ; then
25336 if test -s conftest.stderr
; then
25337 wx_cv_version_script
=no
25339 wx_cv_version_script
=yes
25342 wx_cv_version_script
=no
25344 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25347 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25348 echo "${ECHO_T}$wx_cv_version_script" >&6
25349 if test $wx_cv_version_script = yes ; then
25350 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25356 *-*-linux* | *-*-gnu* )
25357 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25361 if test "$GCC" = yes ; then
25362 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25364 saveLdflags
="$LDFLAGS"
25365 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25366 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25367 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25368 cat >conftest.
$ac_ext <<_ACEOF
25369 #line $LINENO "configure"
25372 cat confdefs.h
>>conftest.
$ac_ext
25373 cat >>conftest.
$ac_ext <<_ACEOF
25374 /* end confdefs.h. */
25384 rm -f conftest.
$ac_objext conftest
$ac_exeext
25385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25386 (eval $ac_link) 2>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try
='test -s conftest$ac_exeext'
25391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392 (eval $ac_try) 2>&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); }; }; then
25397 echo "$as_me:$LINENO: result: yes" >&5
25398 echo "${ECHO_T}yes" >&6
25399 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.
$ac_ext >&5
25406 echo "$as_me:$LINENO: result: no" >&5
25407 echo "${ECHO_T}no" >&6
25408 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25409 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25410 LDFLAGS
="$saveLdflags -Wl,-R,/"
25411 cat >conftest.
$ac_ext <<_ACEOF
25412 #line $LINENO "configure"
25415 cat confdefs.h
>>conftest.
$ac_ext
25416 cat >>conftest.
$ac_ext <<_ACEOF
25417 /* end confdefs.h. */
25427 rm -f conftest.
$ac_objext conftest
$ac_exeext
25428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25429 (eval $ac_link) 2>&5
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); } &&
25433 { ac_try
='test -s conftest$ac_exeext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25440 echo "$as_me:$LINENO: result: yes" >&5
25441 echo "${ECHO_T}yes" >&6
25442 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25444 echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.
$ac_ext >&5
25448 echo "$as_me:$LINENO: result: no" >&5
25449 echo "${ECHO_T}no" >&6
25452 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25455 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25456 LDFLAGS
="$saveLdflags"
25458 SHARED_LD
="${CXX} -G -o"
25460 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25464 powerpc
-*-darwin* )
25465 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25466 cat <<EOF >change-install-names
25468 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25469 inst_cmd="install_name_tool "
25470 for i in \${libnames} ; do
25471 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25475 chmod +x change
-install-names
25480 if test "x$WX_TARGET_LIBRARY" = "x"; then
25481 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25482 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25485 WX_TARGET_LIBRARY_TYPE
="so"
25486 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25489 if test "$wxUSE_SHARED" = "no"; then
25491 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25492 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25495 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25496 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25499 if test "$wxUSE_OPENGL" = "yes"; then
25500 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25501 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25503 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25506 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25507 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25509 WX_TARGET_LIBRARY_TYPE
="a"
25510 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25520 if test "$wxUSE_MAC" = 1; then
25521 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25522 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25523 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25524 # Extract the first word of "Rez", so it can be a program name with args.
25525 set dummy Rez
; ac_word
=$2
25526 echo "$as_me:$LINENO: checking for $ac_word" >&5
25527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25528 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 if test -n "$RESCOMP"; then
25532 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25535 for as_dir
in $PATH
25538 test -z "$as_dir" && as_dir
=.
25539 for ac_exec_ext
in '' $ac_executable_extensions; do
25540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25541 ac_cv_prog_RESCOMP
="Rez"
25542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25548 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25551 RESCOMP
=$ac_cv_prog_RESCOMP
25552 if test -n "$RESCOMP"; then
25553 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25554 echo "${ECHO_T}$RESCOMP" >&6
25556 echo "$as_me:$LINENO: result: no" >&5
25557 echo "${ECHO_T}no" >&6
25560 # Extract the first word of "DeRez", so it can be a program name with args.
25561 set dummy DeRez
; ac_word
=$2
25562 echo "$as_me:$LINENO: checking for $ac_word" >&5
25563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25564 if test "${ac_cv_prog_DEREZ+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 if test -n "$DEREZ"; then
25568 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25571 for as_dir
in $PATH
25574 test -z "$as_dir" && as_dir
=.
25575 for ac_exec_ext
in '' $ac_executable_extensions; do
25576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25577 ac_cv_prog_DEREZ
="DeRez"
25578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25584 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25587 DEREZ
=$ac_cv_prog_DEREZ
25588 if test -n "$DEREZ"; then
25589 echo "$as_me:$LINENO: result: $DEREZ" >&5
25590 echo "${ECHO_T}$DEREZ" >&6
25592 echo "$as_me:$LINENO: result: no" >&5
25593 echo "${ECHO_T}no" >&6
25596 # Extract the first word of "SetFile", so it can be a program name with args.
25597 set dummy SetFile
; ac_word
=$2
25598 echo "$as_me:$LINENO: checking for $ac_word" >&5
25599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25600 if test "${ac_cv_prog_SETFILE+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 if test -n "$SETFILE"; then
25604 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25607 for as_dir
in $PATH
25610 test -z "$as_dir" && as_dir
=.
25611 for ac_exec_ext
in '' $ac_executable_extensions; do
25612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25613 ac_cv_prog_SETFILE
="SetFile"
25614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25620 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25623 SETFILE
=$ac_cv_prog_SETFILE
25624 if test -n "$SETFILE"; then
25625 echo "$as_me:$LINENO: result: $SETFILE" >&5
25626 echo "${ECHO_T}$SETFILE" >&6
25628 echo "$as_me:$LINENO: result: no" >&5
25629 echo "${ECHO_T}no" >&6
25632 MACOSX_BUNDLE
="bundle"
25633 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25634 MACSETFILE
="\$(SETFILE)"
25635 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25636 elif test "$wxUSE_COCOA" = 1; then
25637 # Extract the first word of "Rez", so it can be a program name with args.
25638 set dummy Rez
; ac_word
=$2
25639 echo "$as_me:$LINENO: checking for $ac_word" >&5
25640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25641 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25642 echo $ECHO_N "(cached) $ECHO_C" >&6
25644 if test -n "$RESCOMP"; then
25645 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25648 for as_dir
in $PATH
25651 test -z "$as_dir" && as_dir
=.
25652 for ac_exec_ext
in '' $ac_executable_extensions; do
25653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25654 ac_cv_prog_RESCOMP
="Rez"
25655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25661 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25664 RESCOMP
=$ac_cv_prog_RESCOMP
25665 if test -n "$RESCOMP"; then
25666 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25667 echo "${ECHO_T}$RESCOMP" >&6
25669 echo "$as_me:$LINENO: result: no" >&5
25670 echo "${ECHO_T}no" >&6
25673 # Extract the first word of "DeRez", so it can be a program name with args.
25674 set dummy DeRez
; ac_word
=$2
25675 echo "$as_me:$LINENO: checking for $ac_word" >&5
25676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25677 if test "${ac_cv_prog_DEREZ+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 if test -n "$DEREZ"; then
25681 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25684 for as_dir
in $PATH
25687 test -z "$as_dir" && as_dir
=.
25688 for ac_exec_ext
in '' $ac_executable_extensions; do
25689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25690 ac_cv_prog_DEREZ
="DeRez"
25691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25697 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25700 DEREZ
=$ac_cv_prog_DEREZ
25701 if test -n "$DEREZ"; then
25702 echo "$as_me:$LINENO: result: $DEREZ" >&5
25703 echo "${ECHO_T}$DEREZ" >&6
25705 echo "$as_me:$LINENO: result: no" >&5
25706 echo "${ECHO_T}no" >&6
25709 # Extract the first word of "SetFile", so it can be a program name with args.
25710 set dummy SetFile
; ac_word
=$2
25711 echo "$as_me:$LINENO: checking for $ac_word" >&5
25712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25713 if test "${ac_cv_prog_SETFILE+set}" = set; then
25714 echo $ECHO_N "(cached) $ECHO_C" >&6
25716 if test -n "$SETFILE"; then
25717 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25720 for as_dir
in $PATH
25723 test -z "$as_dir" && as_dir
=.
25724 for ac_exec_ext
in '' $ac_executable_extensions; do
25725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25726 ac_cv_prog_SETFILE
="SetFile"
25727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25733 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25736 SETFILE
=$ac_cv_prog_SETFILE
25737 if test -n "$SETFILE"; then
25738 echo "$as_me:$LINENO: result: $SETFILE" >&5
25739 echo "${ECHO_T}$SETFILE" >&6
25741 echo "$as_me:$LINENO: result: no" >&5
25742 echo "${ECHO_T}no" >&6
25745 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25746 MACSETFILE
="\$(SETFILE)"
25747 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25749 if test "$wxUSE_PM" = 1; then
25750 MACRESCOMP
="emxbind -ep"
25755 echo "$as_me:$LINENO: checking for mode_t" >&5
25756 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25757 if test "${ac_cv_type_mode_t+set}" = set; then
25758 echo $ECHO_N "(cached) $ECHO_C" >&6
25760 cat >conftest.
$ac_ext <<_ACEOF
25761 #line $LINENO "configure"
25764 cat confdefs.h
>>conftest.
$ac_ext
25765 cat >>conftest.
$ac_ext <<_ACEOF
25766 /* end confdefs.h. */
25767 $ac_includes_default
25773 if (sizeof (mode_t))
25779 rm -f conftest.
$ac_objext
25780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25781 (eval $ac_compile) 2>&5
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); } &&
25785 { ac_try
='test -s conftest.$ac_objext'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 ac_cv_type_mode_t
=yes
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.
$ac_ext >&5
25796 ac_cv_type_mode_t
=no
25798 rm -f conftest.
$ac_objext conftest.
$ac_ext
25800 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25801 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25802 if test $ac_cv_type_mode_t = yes; then
25806 cat >>confdefs.h
<<_ACEOF
25812 echo "$as_me:$LINENO: checking for off_t" >&5
25813 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25814 if test "${ac_cv_type_off_t+set}" = set; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 cat >conftest.
$ac_ext <<_ACEOF
25818 #line $LINENO "configure"
25821 cat confdefs.h
>>conftest.
$ac_ext
25822 cat >>conftest.
$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25824 $ac_includes_default
25830 if (sizeof (off_t))
25836 rm -f conftest.
$ac_objext
25837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25838 (eval $ac_compile) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } &&
25842 { ac_try
='test -s conftest.$ac_objext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 ac_cv_type_off_t
=yes
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 ac_cv_type_off_t
=no
25855 rm -f conftest.
$ac_objext conftest.
$ac_ext
25857 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25858 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25859 if test $ac_cv_type_off_t = yes; then
25863 cat >>confdefs.h
<<_ACEOF
25869 echo "$as_me:$LINENO: checking for pid_t" >&5
25870 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25871 if test "${ac_cv_type_pid_t+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25874 cat >conftest.
$ac_ext <<_ACEOF
25875 #line $LINENO "configure"
25878 cat confdefs.h
>>conftest.
$ac_ext
25879 cat >>conftest.
$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 $ac_includes_default
25887 if (sizeof (pid_t))
25893 rm -f conftest.
$ac_objext
25894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25895 (eval $ac_compile) 2>&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try
='test -s conftest.$ac_objext'
25900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25901 (eval $ac_try) 2>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); }; }; then
25905 ac_cv_type_pid_t
=yes
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.
$ac_ext >&5
25910 ac_cv_type_pid_t
=no
25912 rm -f conftest.
$ac_objext conftest.
$ac_ext
25914 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25915 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25916 if test $ac_cv_type_pid_t = yes; then
25920 cat >>confdefs.h
<<_ACEOF
25926 echo "$as_me:$LINENO: checking for size_t" >&5
25927 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25928 if test "${ac_cv_type_size_t+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25931 cat >conftest.
$ac_ext <<_ACEOF
25932 #line $LINENO "configure"
25935 cat confdefs.h
>>conftest.
$ac_ext
25936 cat >>conftest.
$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25938 $ac_includes_default
25944 if (sizeof (size_t))
25950 rm -f conftest.
$ac_objext
25951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25952 (eval $ac_compile) 2>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -s conftest.$ac_objext'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 ac_cv_type_size_t
=yes
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.
$ac_ext >&5
25967 ac_cv_type_size_t
=no
25969 rm -f conftest.
$ac_objext conftest.
$ac_ext
25971 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25972 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25973 if test $ac_cv_type_size_t = yes; then
25977 cat >>confdefs.h
<<_ACEOF
25978 #define size_t unsigned
25983 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25984 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25985 if test "${ac_cv_type_uid_t+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 cat >conftest.
$ac_ext <<_ACEOF
25989 #line $LINENO "configure"
25992 cat confdefs.h
>>conftest.
$ac_ext
25993 cat >>conftest.
$ac_ext <<_ACEOF
25994 /* end confdefs.h. */
25995 #include <sys/types.h>
25998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25999 $EGREP "uid_t" >/dev
/null
2>&1; then
26000 ac_cv_type_uid_t
=yes
26002 ac_cv_type_uid_t
=no
26007 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26008 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26009 if test $ac_cv_type_uid_t = no
; then
26011 cat >>confdefs.h
<<\_ACEOF
26016 cat >>confdefs.h
<<\_ACEOF
26026 ac_cpp
='$CXXCPP $CPPFLAGS'
26027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26031 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26032 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26033 if test "${wx_cv_size_t_is_uint+set}" = set; then
26034 echo $ECHO_N "(cached) $ECHO_C" >&6
26037 cat >conftest.
$ac_ext <<_ACEOF
26038 #line $LINENO "configure"
26041 cat confdefs.h
>>conftest.
$ac_ext
26042 cat >>conftest.
$ac_ext <<_ACEOF
26043 /* end confdefs.h. */
26044 #include <stddef.h>
26051 struct Foo { void foo(size_t); void foo(unsigned int); };
26059 rm -f conftest.
$ac_objext
26060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26061 (eval $ac_compile) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } &&
26065 { ac_try
='test -s conftest.$ac_objext'
26066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26067 (eval $ac_try) 2>&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); }; }; then
26071 wx_cv_size_t_is_uint
=no
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.
$ac_ext >&5
26076 wx_cv_size_t_is_uint
=yes
26079 rm -f conftest.
$ac_objext conftest.
$ac_ext
26083 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26084 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26086 if test "$wx_cv_size_t_is_uint" = "yes"; then
26087 cat >>confdefs.h
<<\_ACEOF
26088 #define wxSIZE_T_IS_UINT 1
26092 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26093 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26094 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26095 echo $ECHO_N "(cached) $ECHO_C" >&6
26097 cat >conftest.
$ac_ext <<_ACEOF
26098 #line $LINENO "configure"
26101 cat confdefs.h
>>conftest.
$ac_ext
26102 cat >>conftest.
$ac_ext <<_ACEOF
26103 /* end confdefs.h. */
26104 #include <stddef.h>
26111 struct Foo { void foo(size_t); void foo(unsigned long); };
26119 rm -f conftest.
$ac_objext
26120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26121 (eval $ac_compile) 2>&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } &&
26125 { ac_try
='test -s conftest.$ac_objext'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; }; then
26131 wx_cv_size_t_is_ulong
=no
26133 echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.
$ac_ext >&5
26136 wx_cv_size_t_is_ulong
=yes
26139 rm -f conftest.
$ac_objext conftest.
$ac_ext
26142 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26143 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26145 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26146 cat >>confdefs.h
<<\_ACEOF
26147 #define wxSIZE_T_IS_ULONG 1
26154 ac_cpp
='$CPP $CPPFLAGS'
26155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26161 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26162 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26163 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26164 echo $ECHO_N "(cached) $ECHO_C" >&6
26167 cat >conftest.
$ac_ext <<_ACEOF
26168 #line $LINENO "configure"
26171 cat confdefs.h
>>conftest.
$ac_ext
26172 cat >>conftest.
$ac_ext <<_ACEOF
26173 /* end confdefs.h. */
26187 rm -f conftest.
$ac_objext
26188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26189 (eval $ac_compile) 2>&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } &&
26193 { ac_try
='test -s conftest.$ac_objext'
26194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26195 (eval $ac_try) 2>&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); }; }; then
26200 wx_cv_struct_pw_gecos
=yes
26203 echo "$as_me: failed program was:" >&5
26204 sed 's/^/| /' conftest.
$ac_ext >&5
26207 wx_cv_struct_pw_gecos
=no
26211 rm -f conftest.
$ac_objext conftest.
$ac_ext
26215 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26216 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26218 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26219 cat >>confdefs.h
<<\_ACEOF
26220 #define HAVE_PW_GECOS 1
26226 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26227 cat >>confdefs.h
<<\_ACEOF
26228 #define wxUSE_WCHAR_T 1
26235 for ac_func
in wcslen
26237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26238 echo "$as_me:$LINENO: checking for $ac_func" >&5
26239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26240 if eval "test \"\${$as_ac_var+set}\" = set"; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 cat >conftest.
$ac_ext <<_ACEOF
26244 #line $LINENO "configure"
26247 cat confdefs.h
>>conftest.
$ac_ext
26248 cat >>conftest.
$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250 /* System header to define __stub macros and hopefully few prototypes,
26251 which can conflict with char $ac_func (); below.
26252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26253 <limits.h> exists even on freestanding compilers. */
26255 # include <limits.h>
26257 # include <assert.h>
26259 /* Override any gcc2 internal prototype to avoid an error. */
26264 /* We use char because int might match the return type of a gcc2
26265 builtin and then its argument prototype would still apply. */
26267 /* The GNU C library defines this for functions which it implements
26268 to always fail with ENOSYS. Some functions are actually named
26269 something starting with __ and the normal name is an alias. */
26270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26273 char (*f) () = $ac_func;
26282 return f != $ac_func;
26287 rm -f conftest.
$ac_objext conftest
$ac_exeext
26288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26289 (eval $ac_link) 2>&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } &&
26293 { ac_try
='test -s conftest$ac_exeext'
26294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26295 (eval $ac_try) 2>&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); }; }; then
26299 eval "$as_ac_var=yes"
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.
$ac_ext >&5
26304 eval "$as_ac_var=no"
26306 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26310 if test `eval echo '${'$as_ac_var'}'` = yes; then
26311 cat >>confdefs.h
<<_ACEOF
26312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26319 if test "$WCSLEN_FOUND" = 0; then
26320 if test "$TOOLKIT" = "MSW"; then
26321 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26322 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26323 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26324 echo $ECHO_N "(cached) $ECHO_C" >&6
26326 ac_check_lib_save_LIBS
=$LIBS
26327 LIBS
="-lmsvcrt $LIBS"
26328 cat >conftest.
$ac_ext <<_ACEOF
26329 #line $LINENO "configure"
26332 cat confdefs.h
>>conftest.
$ac_ext
26333 cat >>conftest.
$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26336 /* Override any gcc2 internal prototype to avoid an error. */
26340 /* We use char because int might match the return type of a gcc2
26341 builtin and then its argument prototype would still apply. */
26351 rm -f conftest.
$ac_objext conftest
$ac_exeext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26353 (eval $ac_link) 2>&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } &&
26357 { ac_try
='test -s conftest$ac_exeext'
26358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26359 (eval $ac_try) 2>&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); }; }; then
26363 ac_cv_lib_msvcrt_wcslen
=yes
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.
$ac_ext >&5
26368 ac_cv_lib_msvcrt_wcslen
=no
26370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26371 LIBS
=$ac_check_lib_save_LIBS
26373 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26374 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26375 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26380 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26381 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26382 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26385 ac_check_lib_save_LIBS
=$LIBS
26387 cat >conftest.
$ac_ext <<_ACEOF
26388 #line $LINENO "configure"
26391 cat confdefs.h
>>conftest.
$ac_ext
26392 cat >>conftest.
$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26395 /* Override any gcc2 internal prototype to avoid an error. */
26399 /* We use char because int might match the return type of a gcc2
26400 builtin and then its argument prototype would still apply. */
26410 rm -f conftest.
$ac_objext conftest
$ac_exeext
26411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26412 (eval $ac_link) 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } &&
26416 { ac_try
='test -s conftest$ac_exeext'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; }; then
26422 ac_cv_lib_w_wcslen
=yes
26424 echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.
$ac_ext >&5
26427 ac_cv_lib_w_wcslen
=no
26429 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26430 LIBS
=$ac_check_lib_save_LIBS
26432 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26433 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26434 if test $ac_cv_lib_w_wcslen = yes; then
26444 if test "$WCSLEN_FOUND" = 1; then
26445 cat >>confdefs.h
<<\_ACEOF
26446 #define HAVE_WCSLEN 1
26452 for ac_func
in wcsrtombs
26454 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26455 echo "$as_me:$LINENO: checking for $ac_func" >&5
26456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26457 if eval "test \"\${$as_ac_var+set}\" = set"; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 cat >conftest.
$ac_ext <<_ACEOF
26461 #line $LINENO "configure"
26464 cat confdefs.h
>>conftest.
$ac_ext
26465 cat >>conftest.
$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26467 /* System header to define __stub macros and hopefully few prototypes,
26468 which can conflict with char $ac_func (); below.
26469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26470 <limits.h> exists even on freestanding compilers. */
26472 # include <limits.h>
26474 # include <assert.h>
26476 /* Override any gcc2 internal prototype to avoid an error. */
26481 /* We use char because int might match the return type of a gcc2
26482 builtin and then its argument prototype would still apply. */
26484 /* The GNU C library defines this for functions which it implements
26485 to always fail with ENOSYS. Some functions are actually named
26486 something starting with __ and the normal name is an alias. */
26487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26490 char (*f) () = $ac_func;
26499 return f != $ac_func;
26504 rm -f conftest.
$ac_objext conftest
$ac_exeext
26505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26506 (eval $ac_link) 2>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try
='test -s conftest$ac_exeext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 eval "$as_ac_var=yes"
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.
$ac_ext >&5
26521 eval "$as_ac_var=no"
26523 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26527 if test `eval echo '${'$as_ac_var'}'` = yes; then
26528 cat >>confdefs.h
<<_ACEOF
26529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26536 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26537 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26543 ac_cpp
='$CXXCPP $CPPFLAGS'
26544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26550 for ac_func
in vsnprintf
26552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26553 echo "$as_me:$LINENO: checking for $ac_func" >&5
26554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26555 if eval "test \"\${$as_ac_var+set}\" = set"; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 cat >conftest.
$ac_ext <<_ACEOF
26559 #line $LINENO "configure"
26562 cat confdefs.h
>>conftest.
$ac_ext
26563 cat >>conftest.
$ac_ext <<_ACEOF
26564 /* end confdefs.h. */
26565 /* System header to define __stub macros and hopefully few prototypes,
26566 which can conflict with char $ac_func (); below.
26567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26568 <limits.h> exists even on freestanding compilers. */
26570 # include <limits.h>
26572 # include <assert.h>
26574 /* Override any gcc2 internal prototype to avoid an error. */
26579 /* We use char because int might match the return type of a gcc2
26580 builtin and then its argument prototype would still apply. */
26582 /* The GNU C library defines this for functions which it implements
26583 to always fail with ENOSYS. Some functions are actually named
26584 something starting with __ and the normal name is an alias. */
26585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26588 char (*f) () = $ac_func;
26597 return f != $ac_func;
26602 rm -f conftest.
$ac_objext conftest
$ac_exeext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26604 (eval $ac_link) 2>&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } &&
26608 { ac_try
='test -s conftest$ac_exeext'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; }; then
26614 eval "$as_ac_var=yes"
26616 echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.
$ac_ext >&5
26619 eval "$as_ac_var=no"
26621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26625 if test `eval echo '${'$as_ac_var'}'` = yes; then
26626 cat >>confdefs.h
<<_ACEOF
26627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26634 if test "$ac_cv_func_vsnprintf" = "yes"; then
26635 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26636 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26637 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26638 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 cat >conftest.
$ac_ext <<_ACEOF
26642 #line $LINENO "configure"
26645 cat confdefs.h
>>conftest.
$ac_ext
26646 cat >>conftest.
$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26650 #include <stdarg.h>
26658 vsnprintf(buf, 10u, "%s", ap);
26664 rm -f conftest.
$ac_objext
26665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26666 (eval $ac_compile) 2>&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); } &&
26670 { ac_try
='test -s conftest.$ac_objext'
26671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 (eval $ac_try) 2>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); }; }; then
26676 wx_cv_func_vsnprintf_decl
=yes
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.
$ac_ext >&5
26681 wx_cv_func_vsnprintf_decl
=no
26684 rm -f conftest.
$ac_objext conftest.
$ac_ext
26688 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26689 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26691 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26692 cat >>confdefs.h
<<\_ACEOF
26693 #define HAVE_VSNPRINTF_DECL 1
26699 if test "$wxUSE_UNICODE" = yes; then
26703 for ac_func
in fputwc wprintf vswprintf
26705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26706 echo "$as_me:$LINENO: checking for $ac_func" >&5
26707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26708 if eval "test \"\${$as_ac_var+set}\" = set"; then
26709 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 cat >conftest.
$ac_ext <<_ACEOF
26712 #line $LINENO "configure"
26715 cat confdefs.h
>>conftest.
$ac_ext
26716 cat >>conftest.
$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 /* System header to define __stub macros and hopefully few prototypes,
26719 which can conflict with char $ac_func (); below.
26720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26721 <limits.h> exists even on freestanding compilers. */
26723 # include <limits.h>
26725 # include <assert.h>
26727 /* Override any gcc2 internal prototype to avoid an error. */
26732 /* We use char because int might match the return type of a gcc2
26733 builtin and then its argument prototype would still apply. */
26735 /* The GNU C library defines this for functions which it implements
26736 to always fail with ENOSYS. Some functions are actually named
26737 something starting with __ and the normal name is an alias. */
26738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26741 char (*f) () = $ac_func;
26750 return f != $ac_func;
26755 rm -f conftest.
$ac_objext conftest
$ac_exeext
26756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26757 (eval $ac_link) 2>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); } &&
26761 { ac_try
='test -s conftest$ac_exeext'
26762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763 (eval $ac_try) 2>&5
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); }; }; then
26767 eval "$as_ac_var=yes"
26769 echo "$as_me: failed program was:" >&5
26770 sed 's/^/| /' conftest.
$ac_ext >&5
26772 eval "$as_ac_var=no"
26774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26778 if test `eval echo '${'$as_ac_var'}'` = yes; then
26779 cat >>confdefs.h
<<_ACEOF
26780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26787 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26788 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26789 cat >conftest.
$ac_ext <<_ACEOF
26790 #line $LINENO "configure"
26793 cat confdefs.h
>>conftest.
$ac_ext
26794 cat >>conftest.
$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26805 rm -f conftest.
$ac_objext
26806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26807 (eval $ac_compile) 2>&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try
='test -s conftest.$ac_objext'
26812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813 (eval $ac_try) 2>&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); }; }; then
26817 echo "$as_me:$LINENO: result: yes" >&5
26818 echo "${ECHO_T}yes" >&6
26819 cat >>confdefs.h
<<\_ACEOF
26820 #define HAVE__VSNWPRINTF 1
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.
$ac_ext >&5
26827 echo "$as_me:$LINENO: result: no" >&5
26828 echo "${ECHO_T}no" >&6
26830 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26834 ac_cpp
='$CPP $CPPFLAGS'
26835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26842 if test "$TOOLKIT" != "MSW"; then
26848 ac_cpp
='$CXXCPP $CPPFLAGS'
26849 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26856 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26857 if test "${with_libiconv_prefix+set}" = set; then
26858 withval
="$with_libiconv_prefix"
26860 for dir
in `echo "$withval" | tr : ' '`; do
26861 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26862 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26867 echo "$as_me:$LINENO: checking for iconv" >&5
26868 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26869 if test "${am_cv_func_iconv+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26873 am_cv_func_iconv
="no, consider installing GNU libiconv"
26875 cat >conftest.
$ac_ext <<_ACEOF
26876 #line $LINENO "configure"
26879 cat confdefs.h
>>conftest.
$ac_ext
26880 cat >>conftest.
$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26882 #include <stdlib.h>
26887 iconv_t cd = iconv_open("","");
26888 iconv(cd,NULL,NULL,NULL,NULL);
26894 rm -f conftest.
$ac_objext conftest
$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896 (eval $ac_link) 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try
='test -s conftest$ac_exeext'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; }; then
26906 am_cv_func_iconv
=yes
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.
$ac_ext >&5
26912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26913 if test "$am_cv_func_iconv" != yes; then
26914 am_save_LIBS
="$LIBS"
26915 LIBS
="$LIBS -liconv"
26916 cat >conftest.
$ac_ext <<_ACEOF
26917 #line $LINENO "configure"
26920 cat confdefs.h
>>conftest.
$ac_ext
26921 cat >>conftest.
$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923 #include <stdlib.h>
26928 iconv_t cd = iconv_open("","");
26929 iconv(cd,NULL,NULL,NULL,NULL);
26935 rm -f conftest.
$ac_objext conftest
$ac_exeext
26936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26937 (eval $ac_link) 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try
='test -s conftest$ac_exeext'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; }; then
26947 am_cv_lib_iconv
=yes
26948 am_cv_func_iconv
=yes
26950 echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.
$ac_ext >&5
26954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26955 LIBS
="$am_save_LIBS"
26959 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26960 echo "${ECHO_T}$am_cv_func_iconv" >&6
26961 if test "$am_cv_func_iconv" = yes; then
26963 cat >>confdefs.h
<<\_ACEOF
26964 #define HAVE_ICONV 1
26967 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26968 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26969 if test "${wx_cv_func_iconv_const+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 cat >conftest.
$ac_ext <<_ACEOF
26973 #line $LINENO "configure"
26976 cat confdefs.h
>>conftest.
$ac_ext
26977 cat >>conftest.
$ac_ext <<_ACEOF
26978 /* end confdefs.h. */
26980 #include <stdlib.h>
26986 #if defined(__STDC__) || defined(__cplusplus)
26987 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27000 rm -f conftest.
$ac_objext
27001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27002 (eval $ac_compile) 2>&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); } &&
27006 { ac_try
='test -s conftest.$ac_objext'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; }; then
27012 wx_cv_func_iconv_const
="no"
27014 echo "$as_me: failed program was:" >&5
27015 sed 's/^/| /' conftest.
$ac_ext >&5
27017 wx_cv_func_iconv_const
="yes"
27020 rm -f conftest.
$ac_objext conftest.
$ac_ext
27023 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27024 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27027 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27028 iconv_const
="const"
27032 cat >>confdefs.h
<<_ACEOF
27033 #define ICONV_CONST $iconv_const
27038 if test "$am_cv_lib_iconv" = yes; then
27043 LIBS
="$LIBICONV $LIBS"
27045 ac_cpp
='$CPP $CPPFLAGS'
27046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27051 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27053 for ac_func
in sigaction
27055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27056 echo "$as_me:$LINENO: checking for $ac_func" >&5
27057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27058 if eval "test \"\${$as_ac_var+set}\" = set"; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27061 cat >conftest.
$ac_ext <<_ACEOF
27062 #line $LINENO "configure"
27065 cat confdefs.h
>>conftest.
$ac_ext
27066 cat >>conftest.
$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27068 /* System header to define __stub macros and hopefully few prototypes,
27069 which can conflict with char $ac_func (); below.
27070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27071 <limits.h> exists even on freestanding compilers. */
27073 # include <limits.h>
27075 # include <assert.h>
27077 /* Override any gcc2 internal prototype to avoid an error. */
27082 /* We use char because int might match the return type of a gcc2
27083 builtin and then its argument prototype would still apply. */
27085 /* The GNU C library defines this for functions which it implements
27086 to always fail with ENOSYS. Some functions are actually named
27087 something starting with __ and the normal name is an alias. */
27088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27091 char (*f) () = $ac_func;
27100 return f != $ac_func;
27105 rm -f conftest.
$ac_objext conftest
$ac_exeext
27106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27107 (eval $ac_link) 2>&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } &&
27111 { ac_try
='test -s conftest$ac_exeext'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; }; then
27117 eval "$as_ac_var=yes"
27119 echo "$as_me: failed program was:" >&5
27120 sed 's/^/| /' conftest.
$ac_ext >&5
27122 eval "$as_ac_var=no"
27124 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27128 if test `eval echo '${'$as_ac_var'}'` = yes; then
27129 cat >>confdefs.h
<<_ACEOF
27130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27137 if test "$ac_cv_func_sigaction" = "no"; then
27138 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27139 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27140 wxUSE_ON_FATAL_EXCEPTION
=no
27143 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27147 ac_cpp
='$CXXCPP $CPPFLAGS'
27148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27153 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27154 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27155 if test "${wx_cv_type_sa_handler+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 cat >conftest.
$ac_ext <<_ACEOF
27160 #line $LINENO "configure"
27163 cat confdefs.h
>>conftest.
$ac_ext
27164 cat >>conftest.
$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166 #include <signal.h>
27171 extern void testSigHandler(int);
27173 struct sigaction sa;
27174 sa.sa_handler = testSigHandler;
27180 rm -f conftest.
$ac_objext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27182 (eval $ac_compile) 2>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } &&
27186 { ac_try
='test -s conftest.$ac_objext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27193 wx_cv_type_sa_handler
=int
27196 echo "$as_me: failed program was:" >&5
27197 sed 's/^/| /' conftest.
$ac_ext >&5
27200 wx_cv_type_sa_handler
=void
27203 rm -f conftest.
$ac_objext conftest.
$ac_ext
27206 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27207 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27210 ac_cpp
='$CPP $CPPFLAGS'
27211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27216 cat >>confdefs.h
<<_ACEOF
27217 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27225 for ac_func
in mkstemp mktemp
27227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27228 echo "$as_me:$LINENO: checking for $ac_func" >&5
27229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27230 if eval "test \"\${$as_ac_var+set}\" = set"; then
27231 echo $ECHO_N "(cached) $ECHO_C" >&6
27233 cat >conftest.
$ac_ext <<_ACEOF
27234 #line $LINENO "configure"
27237 cat confdefs.h
>>conftest.
$ac_ext
27238 cat >>conftest.
$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240 /* System header to define __stub macros and hopefully few prototypes,
27241 which can conflict with char $ac_func (); below.
27242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27243 <limits.h> exists even on freestanding compilers. */
27245 # include <limits.h>
27247 # include <assert.h>
27249 /* Override any gcc2 internal prototype to avoid an error. */
27254 /* We use char because int might match the return type of a gcc2
27255 builtin and then its argument prototype would still apply. */
27257 /* The GNU C library defines this for functions which it implements
27258 to always fail with ENOSYS. Some functions are actually named
27259 something starting with __ and the normal name is an alias. */
27260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27263 char (*f) () = $ac_func;
27272 return f != $ac_func;
27277 rm -f conftest.
$ac_objext conftest
$ac_exeext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27279 (eval $ac_link) 2>&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } &&
27283 { ac_try
='test -s conftest$ac_exeext'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; }; then
27289 eval "$as_ac_var=yes"
27291 echo "$as_me: failed program was:" >&5
27292 sed 's/^/| /' conftest.
$ac_ext >&5
27294 eval "$as_ac_var=no"
27296 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27300 if test `eval echo '${'$as_ac_var'}'` = yes; then
27301 cat >>confdefs.h
<<_ACEOF
27302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27309 echo "$as_me:$LINENO: checking for statfs" >&5
27310 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27311 if test "${wx_cv_func_statfs+set}" = set; then
27312 echo $ECHO_N "(cached) $ECHO_C" >&6
27314 cat >conftest.
$ac_ext <<_ACEOF
27315 #line $LINENO "configure"
27318 cat confdefs.h
>>conftest.
$ac_ext
27319 cat >>conftest.
$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27322 #if defined(__BSD__)
27323 #include <sys/param.h>
27324 #include <sys/mount.h>
27326 #include <sys/vfs.h>
27344 rm -f conftest.
$ac_objext
27345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27346 (eval $ac_compile) 2>&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } &&
27350 { ac_try
='test -s conftest.$ac_objext'
27351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27352 (eval $ac_try) 2>&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); }; }; then
27357 wx_cv_func_statfs
=yes
27360 echo "$as_me: failed program was:" >&5
27361 sed 's/^/| /' conftest.
$ac_ext >&5
27364 wx_cv_func_statfs
=no
27368 rm -f conftest.
$ac_objext conftest.
$ac_ext
27371 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27372 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27374 if test "$wx_cv_func_statfs" = "yes"; then
27375 wx_cv_type_statvfs_t
="struct statfs"
27376 cat >>confdefs.h
<<\_ACEOF
27377 #define HAVE_STATFS 1
27381 echo "$as_me:$LINENO: checking for statvfs" >&5
27382 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27383 if test "${wx_cv_func_statvfs+set}" = set; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27386 cat >conftest.
$ac_ext <<_ACEOF
27387 #line $LINENO "configure"
27390 cat confdefs.h
>>conftest.
$ac_ext
27391 cat >>conftest.
$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27394 #include <stddef.h>
27395 #include <sys/statvfs.h>
27401 statvfs("/", NULL);
27407 rm -f conftest.
$ac_objext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27409 (eval $ac_compile) 2>&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } &&
27413 { ac_try
='test -s conftest.$ac_objext'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; }; then
27419 wx_cv_func_statvfs
=yes
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.
$ac_ext >&5
27424 wx_cv_func_statvfs
=no
27427 rm -f conftest.
$ac_objext conftest.
$ac_ext
27430 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27431 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27433 if test "$wx_cv_func_statvfs" = "yes"; then
27437 ac_cpp
='$CXXCPP $CPPFLAGS'
27438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27443 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27444 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27445 if test "${wx_cv_type_statvfs_t+set}" = set; then
27446 echo $ECHO_N "(cached) $ECHO_C" >&6
27448 cat >conftest.
$ac_ext <<_ACEOF
27449 #line $LINENO "configure"
27452 cat confdefs.h
>>conftest.
$ac_ext
27453 cat >>conftest.
$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27456 #include <sys/statvfs.h>
27473 rm -f conftest.
$ac_objext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27475 (eval $ac_compile) 2>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); } &&
27479 { ac_try
='test -s conftest.$ac_objext'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 wx_cv_type_statvfs_t
=statvfs_t
27487 echo "$as_me: failed program was:" >&5
27488 sed 's/^/| /' conftest.
$ac_ext >&5
27491 cat >conftest.
$ac_ext <<_ACEOF
27492 #line $LINENO "configure"
27495 cat confdefs.h
>>conftest.
$ac_ext
27496 cat >>conftest.
$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27499 #include <sys/statvfs.h>
27516 rm -f conftest.
$ac_objext
27517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27518 (eval $ac_compile) 2>&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } &&
27522 { ac_try
='test -s conftest.$ac_objext'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; }; then
27528 wx_cv_type_statvfs_t
="struct statvfs"
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.
$ac_ext >&5
27533 wx_cv_type_statvfs_t
="unknown"
27536 rm -f conftest.
$ac_objext conftest.
$ac_ext
27540 rm -f conftest.
$ac_objext conftest.
$ac_ext
27543 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27544 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27547 ac_cpp
='$CPP $CPPFLAGS'
27548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27553 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27554 cat >>confdefs.h
<<\_ACEOF
27555 #define HAVE_STATVFS 1
27560 wx_cv_type_statvfs_t
="unknown"
27564 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27565 cat >>confdefs.h
<<_ACEOF
27566 #define WX_STATFS_T $wx_cv_type_statvfs_t
27570 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27571 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27574 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27577 for ac_func
in fcntl flock
27579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27580 echo "$as_me:$LINENO: checking for $ac_func" >&5
27581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27582 if eval "test \"\${$as_ac_var+set}\" = set"; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 cat >conftest.
$ac_ext <<_ACEOF
27586 #line $LINENO "configure"
27589 cat confdefs.h
>>conftest.
$ac_ext
27590 cat >>conftest.
$ac_ext <<_ACEOF
27591 /* end confdefs.h. */
27592 /* System header to define __stub macros and hopefully few prototypes,
27593 which can conflict with char $ac_func (); below.
27594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27595 <limits.h> exists even on freestanding compilers. */
27597 # include <limits.h>
27599 # include <assert.h>
27601 /* Override any gcc2 internal prototype to avoid an error. */
27606 /* We use char because int might match the return type of a gcc2
27607 builtin and then its argument prototype would still apply. */
27609 /* The GNU C library defines this for functions which it implements
27610 to always fail with ENOSYS. Some functions are actually named
27611 something starting with __ and the normal name is an alias. */
27612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27615 char (*f) () = $ac_func;
27624 return f != $ac_func;
27629 rm -f conftest.
$ac_objext conftest
$ac_exeext
27630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27631 (eval $ac_link) 2>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } &&
27635 { ac_try
='test -s conftest$ac_exeext'
27636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637 (eval $ac_try) 2>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); }; }; then
27641 eval "$as_ac_var=yes"
27643 echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.
$ac_ext >&5
27646 eval "$as_ac_var=no"
27648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27652 if test `eval echo '${'$as_ac_var'}'` = yes; then
27653 cat >>confdefs.h
<<_ACEOF
27654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27661 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27662 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27663 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27664 wxUSE_SNGLINST_CHECKER
=no
27669 for ac_func
in timegm
27671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27672 echo "$as_me:$LINENO: checking for $ac_func" >&5
27673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27674 if eval "test \"\${$as_ac_var+set}\" = set"; then
27675 echo $ECHO_N "(cached) $ECHO_C" >&6
27677 cat >conftest.
$ac_ext <<_ACEOF
27678 #line $LINENO "configure"
27681 cat confdefs.h
>>conftest.
$ac_ext
27682 cat >>conftest.
$ac_ext <<_ACEOF
27683 /* end confdefs.h. */
27684 /* System header to define __stub macros and hopefully few prototypes,
27685 which can conflict with char $ac_func (); below.
27686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27687 <limits.h> exists even on freestanding compilers. */
27689 # include <limits.h>
27691 # include <assert.h>
27693 /* Override any gcc2 internal prototype to avoid an error. */
27698 /* We use char because int might match the return type of a gcc2
27699 builtin and then its argument prototype would still apply. */
27701 /* The GNU C library defines this for functions which it implements
27702 to always fail with ENOSYS. Some functions are actually named
27703 something starting with __ and the normal name is an alias. */
27704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27707 char (*f) () = $ac_func;
27716 return f != $ac_func;
27721 rm -f conftest.
$ac_objext conftest
$ac_exeext
27722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27723 (eval $ac_link) 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } &&
27727 { ac_try
='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 eval "$as_ac_var=yes"
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.
$ac_ext >&5
27738 eval "$as_ac_var=no"
27740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27744 if test `eval echo '${'$as_ac_var'}'` = yes; then
27745 cat >>confdefs.h
<<_ACEOF
27746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27755 for ac_func
in putenv setenv
27757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27758 echo "$as_me:$LINENO: checking for $ac_func" >&5
27759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27760 if eval "test \"\${$as_ac_var+set}\" = set"; then
27761 echo $ECHO_N "(cached) $ECHO_C" >&6
27763 cat >conftest.
$ac_ext <<_ACEOF
27764 #line $LINENO "configure"
27767 cat confdefs.h
>>conftest.
$ac_ext
27768 cat >>conftest.
$ac_ext <<_ACEOF
27769 /* end confdefs.h. */
27770 /* System header to define __stub macros and hopefully few prototypes,
27771 which can conflict with char $ac_func (); below.
27772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27773 <limits.h> exists even on freestanding compilers. */
27775 # include <limits.h>
27777 # include <assert.h>
27779 /* Override any gcc2 internal prototype to avoid an error. */
27784 /* We use char because int might match the return type of a gcc2
27785 builtin and then its argument prototype would still apply. */
27787 /* The GNU C library defines this for functions which it implements
27788 to always fail with ENOSYS. Some functions are actually named
27789 something starting with __ and the normal name is an alias. */
27790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27793 char (*f) () = $ac_func;
27802 return f != $ac_func;
27807 rm -f conftest.
$ac_objext conftest
$ac_exeext
27808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27809 (eval $ac_link) 2>&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); } &&
27813 { ac_try
='test -s conftest$ac_exeext'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; }; then
27819 eval "$as_ac_var=yes"
27821 echo "$as_me: failed program was:" >&5
27822 sed 's/^/| /' conftest.
$ac_ext >&5
27824 eval "$as_ac_var=no"
27826 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27830 if test `eval echo '${'$as_ac_var'}'` = yes; then
27831 cat >>confdefs.h
<<_ACEOF
27832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27839 HAVE_SOME_SLEEP_FUNC
=0
27840 if test "$USE_BEOS" = 1; then
27841 cat >>confdefs.h
<<\_ACEOF
27842 #define HAVE_SLEEP 1
27845 HAVE_SOME_SLEEP_FUNC
=1
27848 if test "$USE_DARWIN" = 1; then
27849 cat >>confdefs.h
<<\_ACEOF
27850 #define HAVE_USLEEP 1
27853 HAVE_SOME_SLEEP_FUNC
=1
27856 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27859 for ac_func
in nanosleep
27861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27862 echo "$as_me:$LINENO: checking for $ac_func" >&5
27863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27864 if eval "test \"\${$as_ac_var+set}\" = set"; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27867 cat >conftest.
$ac_ext <<_ACEOF
27868 #line $LINENO "configure"
27871 cat confdefs.h
>>conftest.
$ac_ext
27872 cat >>conftest.
$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27874 /* System header to define __stub macros and hopefully few prototypes,
27875 which can conflict with char $ac_func (); below.
27876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27877 <limits.h> exists even on freestanding compilers. */
27879 # include <limits.h>
27881 # include <assert.h>
27883 /* Override any gcc2 internal prototype to avoid an error. */
27888 /* We use char because int might match the return type of a gcc2
27889 builtin and then its argument prototype would still apply. */
27891 /* The GNU C library defines this for functions which it implements
27892 to always fail with ENOSYS. Some functions are actually named
27893 something starting with __ and the normal name is an alias. */
27894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27897 char (*f) () = $ac_func;
27906 return f != $ac_func;
27911 rm -f conftest.
$ac_objext conftest
$ac_exeext
27912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27913 (eval $ac_link) 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } &&
27917 { ac_try
='test -s conftest$ac_exeext'
27918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27919 (eval $ac_try) 2>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); }; }; then
27923 eval "$as_ac_var=yes"
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.
$ac_ext >&5
27928 eval "$as_ac_var=no"
27930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27934 if test `eval echo '${'$as_ac_var'}'` = yes; then
27935 cat >>confdefs.h
<<_ACEOF
27936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27938 cat >>confdefs.h
<<\_ACEOF
27939 #define HAVE_NANOSLEEP 1
27944 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27945 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27946 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27949 ac_check_lib_save_LIBS
=$LIBS
27950 LIBS
="-lposix4 $LIBS"
27951 cat >conftest.
$ac_ext <<_ACEOF
27952 #line $LINENO "configure"
27955 cat confdefs.h
>>conftest.
$ac_ext
27956 cat >>conftest.
$ac_ext <<_ACEOF
27957 /* end confdefs.h. */
27959 /* Override any gcc2 internal prototype to avoid an error. */
27963 /* We use char because int might match the return type of a gcc2
27964 builtin and then its argument prototype would still apply. */
27974 rm -f conftest.
$ac_objext conftest
$ac_exeext
27975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27976 (eval $ac_link) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } &&
27980 { ac_try
='test -s conftest$ac_exeext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27986 ac_cv_lib_posix4_nanosleep
=yes
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.
$ac_ext >&5
27991 ac_cv_lib_posix4_nanosleep
=no
27993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27994 LIBS
=$ac_check_lib_save_LIBS
27996 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27997 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27998 if test $ac_cv_lib_posix4_nanosleep = yes; then
28000 cat >>confdefs.h
<<\_ACEOF
28001 #define HAVE_NANOSLEEP 1
28004 POSIX4_LINK
=" -lposix4"
28009 for ac_func
in usleep
28011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28012 echo "$as_me:$LINENO: checking for $ac_func" >&5
28013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28014 if eval "test \"\${$as_ac_var+set}\" = set"; then
28015 echo $ECHO_N "(cached) $ECHO_C" >&6
28017 cat >conftest.
$ac_ext <<_ACEOF
28018 #line $LINENO "configure"
28021 cat confdefs.h
>>conftest.
$ac_ext
28022 cat >>conftest.
$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024 /* System header to define __stub macros and hopefully few prototypes,
28025 which can conflict with char $ac_func (); below.
28026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28027 <limits.h> exists even on freestanding compilers. */
28029 # include <limits.h>
28031 # include <assert.h>
28033 /* Override any gcc2 internal prototype to avoid an error. */
28038 /* We use char because int might match the return type of a gcc2
28039 builtin and then its argument prototype would still apply. */
28041 /* The GNU C library defines this for functions which it implements
28042 to always fail with ENOSYS. Some functions are actually named
28043 something starting with __ and the normal name is an alias. */
28044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28047 char (*f) () = $ac_func;
28056 return f != $ac_func;
28061 rm -f conftest.
$ac_objext conftest
$ac_exeext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28063 (eval $ac_link) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try
='test -s conftest$ac_exeext'
28068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28069 (eval $ac_try) 2>&5
28071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072 (exit $ac_status); }; }; then
28073 eval "$as_ac_var=yes"
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.
$ac_ext >&5
28078 eval "$as_ac_var=no"
28080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28084 if test `eval echo '${'$as_ac_var'}'` = yes; then
28085 cat >>confdefs.h
<<_ACEOF
28086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28088 cat >>confdefs.h
<<\_ACEOF
28089 #define HAVE_USLEEP 1
28093 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28094 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28112 for ac_func
in uname gethostname
28114 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for $ac_func" >&5
28116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_var+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 cat >conftest.
$ac_ext <<_ACEOF
28121 #line $LINENO "configure"
28124 cat confdefs.h
>>conftest.
$ac_ext
28125 cat >>conftest.
$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127 /* System header to define __stub macros and hopefully few prototypes,
28128 which can conflict with char $ac_func (); below.
28129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28130 <limits.h> exists even on freestanding compilers. */
28132 # include <limits.h>
28134 # include <assert.h>
28136 /* Override any gcc2 internal prototype to avoid an error. */
28141 /* We use char because int might match the return type of a gcc2
28142 builtin and then its argument prototype would still apply. */
28144 /* The GNU C library defines this for functions which it implements
28145 to always fail with ENOSYS. Some functions are actually named
28146 something starting with __ and the normal name is an alias. */
28147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28150 char (*f) () = $ac_func;
28159 return f != $ac_func;
28164 rm -f conftest.
$ac_objext conftest
$ac_exeext
28165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166 (eval $ac_link) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try
='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 eval "$as_ac_var=yes"
28178 echo "$as_me: failed program was:" >&5
28179 sed 's/^/| /' conftest.
$ac_ext >&5
28181 eval "$as_ac_var=no"
28183 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28187 if test `eval echo '${'$as_ac_var'}'` = yes; then
28188 cat >>confdefs.h
<<_ACEOF
28189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28199 ac_cpp
='$CXXCPP $CPPFLAGS'
28200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28206 for ac_func
in strtok_r
28208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28209 echo "$as_me:$LINENO: checking for $ac_func" >&5
28210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28211 if eval "test \"\${$as_ac_var+set}\" = set"; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28214 cat >conftest.
$ac_ext <<_ACEOF
28215 #line $LINENO "configure"
28218 cat confdefs.h
>>conftest.
$ac_ext
28219 cat >>conftest.
$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221 /* System header to define __stub macros and hopefully few prototypes,
28222 which can conflict with char $ac_func (); below.
28223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28224 <limits.h> exists even on freestanding compilers. */
28226 # include <limits.h>
28228 # include <assert.h>
28230 /* Override any gcc2 internal prototype to avoid an error. */
28235 /* We use char because int might match the return type of a gcc2
28236 builtin and then its argument prototype would still apply. */
28238 /* The GNU C library defines this for functions which it implements
28239 to always fail with ENOSYS. Some functions are actually named
28240 something starting with __ and the normal name is an alias. */
28241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28244 char (*f) () = $ac_func;
28253 return f != $ac_func;
28258 rm -f conftest.
$ac_objext conftest
$ac_exeext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28260 (eval $ac_link) 2>&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } &&
28264 { ac_try
='test -s conftest$ac_exeext'
28265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28266 (eval $ac_try) 2>&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); }; }; then
28270 eval "$as_ac_var=yes"
28272 echo "$as_me: failed program was:" >&5
28273 sed 's/^/| /' conftest.
$ac_ext >&5
28275 eval "$as_ac_var=no"
28277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28281 if test `eval echo '${'$as_ac_var'}'` = yes; then
28282 cat >>confdefs.h
<<_ACEOF
28283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28291 ac_cpp
='$CPP $CPPFLAGS'
28292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28299 for ac_func
in inet_addr
28301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28302 echo "$as_me:$LINENO: checking for $ac_func" >&5
28303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28304 if eval "test \"\${$as_ac_var+set}\" = set"; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 cat >conftest.
$ac_ext <<_ACEOF
28308 #line $LINENO "configure"
28311 cat confdefs.h
>>conftest.
$ac_ext
28312 cat >>conftest.
$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314 /* System header to define __stub macros and hopefully few prototypes,
28315 which can conflict with char $ac_func (); below.
28316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28317 <limits.h> exists even on freestanding compilers. */
28319 # include <limits.h>
28321 # include <assert.h>
28323 /* Override any gcc2 internal prototype to avoid an error. */
28328 /* We use char because int might match the return type of a gcc2
28329 builtin and then its argument prototype would still apply. */
28331 /* The GNU C library defines this for functions which it implements
28332 to always fail with ENOSYS. Some functions are actually named
28333 something starting with __ and the normal name is an alias. */
28334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28337 char (*f) () = $ac_func;
28346 return f != $ac_func;
28351 rm -f conftest.
$ac_objext conftest
$ac_exeext
28352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28353 (eval $ac_link) 2>&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } &&
28357 { ac_try
='test -s conftest$ac_exeext'
28358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28359 (eval $ac_try) 2>&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); }; }; then
28363 eval "$as_ac_var=yes"
28365 echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.
$ac_ext >&5
28368 eval "$as_ac_var=no"
28370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28374 if test `eval echo '${'$as_ac_var'}'` = yes; then
28375 cat >>confdefs.h
<<_ACEOF
28376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28378 cat >>confdefs.h
<<\_ACEOF
28379 #define HAVE_INET_ADDR 1
28384 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28385 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28386 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28387 echo $ECHO_N "(cached) $ECHO_C" >&6
28389 ac_check_lib_save_LIBS
=$LIBS
28391 cat >conftest.
$ac_ext <<_ACEOF
28392 #line $LINENO "configure"
28395 cat confdefs.h
>>conftest.
$ac_ext
28396 cat >>conftest.
$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28399 /* Override any gcc2 internal prototype to avoid an error. */
28403 /* We use char because int might match the return type of a gcc2
28404 builtin and then its argument prototype would still apply. */
28414 rm -f conftest.
$ac_objext conftest
$ac_exeext
28415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28416 (eval $ac_link) 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } &&
28420 { ac_try
='test -s conftest$ac_exeext'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; }; then
28426 ac_cv_lib_nsl_inet_addr
=yes
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.
$ac_ext >&5
28431 ac_cv_lib_nsl_inet_addr
=no
28433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28434 LIBS
=$ac_check_lib_save_LIBS
28436 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28437 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28438 if test $ac_cv_lib_nsl_inet_addr = yes; then
28441 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28442 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28443 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28444 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 ac_check_lib_save_LIBS
=$LIBS
28447 LIBS
="-lresolv $LIBS"
28448 cat >conftest.
$ac_ext <<_ACEOF
28449 #line $LINENO "configure"
28452 cat confdefs.h
>>conftest.
$ac_ext
28453 cat >>conftest.
$ac_ext <<_ACEOF
28454 /* end confdefs.h. */
28456 /* Override any gcc2 internal prototype to avoid an error. */
28460 /* We use char because int might match the return type of a gcc2
28461 builtin and then its argument prototype would still apply. */
28471 rm -f conftest.
$ac_objext conftest
$ac_exeext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473 (eval $ac_link) 2>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } &&
28477 { ac_try
='test -s conftest$ac_exeext'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; }; then
28483 ac_cv_lib_resolv_inet_addr
=yes
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.
$ac_ext >&5
28488 ac_cv_lib_resolv_inet_addr
=no
28490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28491 LIBS
=$ac_check_lib_save_LIBS
28493 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28494 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28495 if test $ac_cv_lib_resolv_inet_addr = yes; then
28498 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28499 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28500 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 ac_check_lib_save_LIBS
=$LIBS
28504 LIBS
="-lsocket $LIBS"
28505 cat >conftest.
$ac_ext <<_ACEOF
28506 #line $LINENO "configure"
28509 cat confdefs.h
>>conftest.
$ac_ext
28510 cat >>conftest.
$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28513 /* Override any gcc2 internal prototype to avoid an error. */
28517 /* We use char because int might match the return type of a gcc2
28518 builtin and then its argument prototype would still apply. */
28528 rm -f conftest.
$ac_objext conftest
$ac_exeext
28529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28530 (eval $ac_link) 2>&5
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); } &&
28534 { ac_try
='test -s conftest$ac_exeext'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540 ac_cv_lib_socket_inet_addr
=yes
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.
$ac_ext >&5
28545 ac_cv_lib_socket_inet_addr
=no
28547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28548 LIBS
=$ac_check_lib_save_LIBS
28550 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28551 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28552 if test $ac_cv_lib_socket_inet_addr = yes; then
28570 for ac_func
in inet_aton
28572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28573 echo "$as_me:$LINENO: checking for $ac_func" >&5
28574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28575 if eval "test \"\${$as_ac_var+set}\" = set"; then
28576 echo $ECHO_N "(cached) $ECHO_C" >&6
28578 cat >conftest.
$ac_ext <<_ACEOF
28579 #line $LINENO "configure"
28582 cat confdefs.h
>>conftest.
$ac_ext
28583 cat >>conftest.
$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28585 /* System header to define __stub macros and hopefully few prototypes,
28586 which can conflict with char $ac_func (); below.
28587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28588 <limits.h> exists even on freestanding compilers. */
28590 # include <limits.h>
28592 # include <assert.h>
28594 /* Override any gcc2 internal prototype to avoid an error. */
28599 /* We use char because int might match the return type of a gcc2
28600 builtin and then its argument prototype would still apply. */
28602 /* The GNU C library defines this for functions which it implements
28603 to always fail with ENOSYS. Some functions are actually named
28604 something starting with __ and the normal name is an alias. */
28605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28608 char (*f) () = $ac_func;
28617 return f != $ac_func;
28622 rm -f conftest.
$ac_objext conftest
$ac_exeext
28623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28624 (eval $ac_link) 2>&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); } &&
28628 { ac_try
='test -s conftest$ac_exeext'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; }; then
28634 eval "$as_ac_var=yes"
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.
$ac_ext >&5
28639 eval "$as_ac_var=no"
28641 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28645 if test `eval echo '${'$as_ac_var'}'` = yes; then
28646 cat >>confdefs.h
<<_ACEOF
28647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28649 cat >>confdefs.h
<<\_ACEOF
28650 #define HAVE_INET_ATON 1
28655 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28656 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28657 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28658 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28659 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 ac_check_lib_save_LIBS
=$LIBS
28662 LIBS
="-l$INET_LINK $LIBS"
28663 cat >conftest.
$ac_ext <<_ACEOF
28664 #line $LINENO "configure"
28667 cat confdefs.h
>>conftest.
$ac_ext
28668 cat >>conftest.
$ac_ext <<_ACEOF
28669 /* end confdefs.h. */
28671 /* Override any gcc2 internal prototype to avoid an error. */
28675 /* We use char because int might match the return type of a gcc2
28676 builtin and then its argument prototype would still apply. */
28686 rm -f conftest.
$ac_objext conftest
$ac_exeext
28687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28688 (eval $ac_link) 2>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); } &&
28692 { ac_try
='test -s conftest$ac_exeext'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; }; then
28698 eval "$as_ac_Lib=yes"
28700 echo "$as_me: failed program was:" >&5
28701 sed 's/^/| /' conftest.
$ac_ext >&5
28703 eval "$as_ac_Lib=no"
28705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28706 LIBS
=$ac_check_lib_save_LIBS
28708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28709 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28710 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28711 cat >>confdefs.h
<<\_ACEOF
28712 #define HAVE_INET_ATON 1
28722 if test "x$INET_LINK" != "x"; then
28723 cat >>confdefs.h
<<\_ACEOF
28724 #define HAVE_INET_ADDR 1
28727 INET_LINK
=" -l$INET_LINK"
28735 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28736 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28737 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28738 echo $ECHO_N "(cached) $ECHO_C" >&6
28740 ac_check_lib_save_LIBS
=$LIBS
28742 cat >conftest.
$ac_ext <<_ACEOF
28743 #line $LINENO "configure"
28746 cat confdefs.h
>>conftest.
$ac_ext
28747 cat >>conftest.
$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28750 /* Override any gcc2 internal prototype to avoid an error. */
28754 /* We use char because int might match the return type of a gcc2
28755 builtin and then its argument prototype would still apply. */
28765 rm -f conftest.
$ac_objext conftest
$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); } &&
28771 { ac_try
='test -s conftest$ac_exeext'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; }; then
28777 ac_cv_lib_esd_esd_close
=yes
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.
$ac_ext >&5
28782 ac_cv_lib_esd_esd_close
=no
28784 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28785 LIBS
=$ac_check_lib_save_LIBS
28787 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28788 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28789 if test $ac_cv_lib_esd_esd_close = yes; then
28792 for ac_header
in esd.h
28794 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28796 echo "$as_me:$LINENO: checking for $ac_header" >&5
28797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28804 # Is the header compilable?
28805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28807 cat >conftest.
$ac_ext <<_ACEOF
28808 #line $LINENO "configure"
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28814 $ac_includes_default
28815 #include <$ac_header>
28817 rm -f conftest.
$ac_objext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28819 (eval $ac_compile) 2>&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try
='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829 ac_header_compiler
=yes
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.
$ac_ext >&5
28834 ac_header_compiler
=no
28836 rm -f conftest.
$ac_objext conftest.
$ac_ext
28837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28838 echo "${ECHO_T}$ac_header_compiler" >&6
28840 # Is the header present?
28841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28843 cat >conftest.
$ac_ext <<_ACEOF
28844 #line $LINENO "configure"
28847 cat confdefs.h
>>conftest.
$ac_ext
28848 cat >>conftest.
$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 #include <$ac_header>
28852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28855 grep -v '^ *+' conftest.er1
>conftest.err
28857 cat conftest.err
>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } >/dev
/null
; then
28860 if test -s conftest.err
; then
28861 ac_cpp_err
=$ac_c_preproc_warn_flag
28868 if test -z "$ac_cpp_err"; then
28869 ac_header_preproc
=yes
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.
$ac_ext >&5
28874 ac_header_preproc
=no
28876 rm -f conftest.err conftest.
$ac_ext
28877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28878 echo "${ECHO_T}$ac_header_preproc" >&6
28880 # So? What about this header?
28881 case $ac_header_compiler:$ac_header_preproc in
28883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28889 ## ------------------------------------ ##
28890 ## Report this to bug-autoconf@gnu.org. ##
28891 ## ------------------------------------ ##
28894 sed "s/^/$as_me: WARNING: /" >&2
28897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28905 ## ------------------------------------ ##
28906 ## Report this to bug-autoconf@gnu.org. ##
28907 ## ------------------------------------ ##
28910 sed "s/^/$as_me: WARNING: /" >&2
28913 echo "$as_me:$LINENO: checking for $ac_header" >&5
28914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28916 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 eval "$as_ac_Header=$ac_header_preproc"
28920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28925 cat >>confdefs.h
<<_ACEOF
28926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28929 EXTRALIBS_ESD
="-lesd"
28942 cat >confcache
<<\_ACEOF
28943 # This file is a shell script that caches the results of configure
28944 # tests run on this system so they can be shared between configure
28945 # scripts and configure runs, see configure's option --config-cache.
28946 # It is not useful on other systems. If it contains results you don't
28947 # want to keep, you may remove or edit it.
28949 # config.status only pays attention to the cache file if you give it
28950 # the --recheck option to rerun configure.
28952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28954 # following values.
28958 # The following way of writing the cache mishandles newlines in values,
28959 # but we know of no workaround that is simple, portable, and efficient.
28960 # So, don't put newlines in cache variables' values.
28961 # Ultrix sh set writes to stderr and can't be redirected directly,
28962 # and sets the high bit in the cache file unless we assign to the vars.
28965 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28967 # `set' does not quote correctly, so add quotes (double-quote
28968 # substitution turns \\\\ into \\, and sed turns \\ into \).
28971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28974 # `set' quotes correctly as required by POSIX, so do not add quotes.
28976 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28985 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28987 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28988 if test -w $cache_file; then
28989 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28990 cat confcache
>$cache_file
28992 echo "not updating unwritable cache $cache_file"
28999 if test "$TOOLKIT" != "MSW"; then
29005 if test "$wxUSE_THREADS" = "yes" ; then
29006 if test "$USE_BEOS" = 1; then
29007 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29008 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29013 if test "$wxUSE_THREADS" = "yes" ; then
29016 THREAD_OPTS
="-pthread"
29018 *-*-solaris2* | *-*-sunos4* )
29019 if test "x$GCC" = "xyes"; then
29020 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29022 THREAD_OPTS
="-mt $THREAD_OPTS"
29026 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29028 *-*-darwin* | *-*-cygwin* )
29032 THREAD_OPTS
="pthreads"
29035 if test "x$GCC" != "xyes"; then
29041 if test "x$GCC" = "xyes"; then
29047 if test "x$GCC" != "xyes"; then
29048 THREAD_OPTS
="-Ethread"
29053 THREAD_OPTS
="$THREAD_OPTS pthread none"
29056 for flag
in $THREAD_OPTS; do
29059 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29060 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29064 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29065 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29066 THREADS_CFLAGS
="$flag"
29070 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29071 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29072 THREADS_LINK
="-l$flag"
29077 save_CFLAGS
="$CFLAGS"
29078 LIBS
="$THREADS_LINK $LIBS"
29079 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29081 cat >conftest.
$ac_ext <<_ACEOF
29082 #line $LINENO "configure"
29085 cat confdefs.h
>>conftest.
$ac_ext
29086 cat >>conftest.
$ac_ext <<_ACEOF
29087 /* end confdefs.h. */
29088 #include <pthread.h>
29092 pthread_create(0,0,0,0);
29097 rm -f conftest.
$ac_objext conftest
$ac_exeext
29098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29099 (eval $ac_link) 2>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); } &&
29103 { ac_try
='test -s conftest$ac_exeext'
29104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29105 (eval $ac_try) 2>&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); }; }; then
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.
$ac_ext >&5
29115 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29118 CFLAGS
="$save_CFLAGS"
29120 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29121 echo "${ECHO_T}$THREADS_OK" >&6
29122 if test "x$THREADS_OK" = "xyes"; then
29130 if test "x$THREADS_OK" != "xyes"; then
29132 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29133 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29135 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29136 LIBS
="$THREADS_LINK $LIBS"
29138 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29139 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29143 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29144 flag
="-D_THREAD_SAFE"
29147 flag
="-D_THREAD_SAFE"
29150 flag
="-D_REENTRANT"
29151 if test "x$GCC" != "xyes"; then
29152 flag
="$flag -D_RWSTD_MULTI_THREAD"
29155 *solaris
* | alpha
*-osf*)
29156 flag
="-D_REENTRANT"
29159 echo "$as_me:$LINENO: result: ${flag}" >&5
29160 echo "${ECHO_T}${flag}" >&6
29161 if test "x$flag" != xno
; then
29162 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29165 if test "x$THREADS_CFLAGS" != "x"; then
29166 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29167 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29172 if test "$wxUSE_THREADS" = "yes" ; then
29174 for ac_func
in thr_setconcurrency
29176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29177 echo "$as_me:$LINENO: checking for $ac_func" >&5
29178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29179 if eval "test \"\${$as_ac_var+set}\" = set"; then
29180 echo $ECHO_N "(cached) $ECHO_C" >&6
29182 cat >conftest.
$ac_ext <<_ACEOF
29183 #line $LINENO "configure"
29186 cat confdefs.h
>>conftest.
$ac_ext
29187 cat >>conftest.
$ac_ext <<_ACEOF
29188 /* end confdefs.h. */
29189 /* System header to define __stub macros and hopefully few prototypes,
29190 which can conflict with char $ac_func (); below.
29191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29192 <limits.h> exists even on freestanding compilers. */
29194 # include <limits.h>
29196 # include <assert.h>
29198 /* Override any gcc2 internal prototype to avoid an error. */
29203 /* We use char because int might match the return type of a gcc2
29204 builtin and then its argument prototype would still apply. */
29206 /* The GNU C library defines this for functions which it implements
29207 to always fail with ENOSYS. Some functions are actually named
29208 something starting with __ and the normal name is an alias. */
29209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29212 char (*f) () = $ac_func;
29221 return f != $ac_func;
29226 rm -f conftest.
$ac_objext conftest
$ac_exeext
29227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29228 (eval $ac_link) 2>&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } &&
29232 { ac_try
='test -s conftest$ac_exeext'
29233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29234 (eval $ac_try) 2>&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; }; then
29238 eval "$as_ac_var=yes"
29240 echo "$as_me: failed program was:" >&5
29241 sed 's/^/| /' conftest.
$ac_ext >&5
29243 eval "$as_ac_var=no"
29245 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29249 if test `eval echo '${'$as_ac_var'}'` = yes; then
29250 cat >>confdefs.h
<<_ACEOF
29251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29259 for ac_header
in sched.h
29261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29263 echo "$as_me:$LINENO: checking for $ac_header" >&5
29264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29271 # Is the header compilable?
29272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29274 cat >conftest.
$ac_ext <<_ACEOF
29275 #line $LINENO "configure"
29278 cat confdefs.h
>>conftest.
$ac_ext
29279 cat >>conftest.
$ac_ext <<_ACEOF
29280 /* end confdefs.h. */
29281 $ac_includes_default
29282 #include <$ac_header>
29284 rm -f conftest.
$ac_objext
29285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29286 (eval $ac_compile) 2>&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); } &&
29290 { ac_try
='test -s conftest.$ac_objext'
29291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292 (eval $ac_try) 2>&5
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); }; }; then
29296 ac_header_compiler
=yes
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.
$ac_ext >&5
29301 ac_header_compiler
=no
29303 rm -f conftest.
$ac_objext conftest.
$ac_ext
29304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29305 echo "${ECHO_T}$ac_header_compiler" >&6
29307 # Is the header present?
29308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29310 cat >conftest.
$ac_ext <<_ACEOF
29311 #line $LINENO "configure"
29314 cat confdefs.h
>>conftest.
$ac_ext
29315 cat >>conftest.
$ac_ext <<_ACEOF
29316 /* end confdefs.h. */
29317 #include <$ac_header>
29319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29322 grep -v '^ *+' conftest.er1
>conftest.err
29324 cat conftest.err
>&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } >/dev
/null
; then
29327 if test -s conftest.err
; then
29328 ac_cpp_err
=$ac_c_preproc_warn_flag
29335 if test -z "$ac_cpp_err"; then
29336 ac_header_preproc
=yes
29338 echo "$as_me: failed program was:" >&5
29339 sed 's/^/| /' conftest.
$ac_ext >&5
29341 ac_header_preproc
=no
29343 rm -f conftest.err conftest.
$ac_ext
29344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29345 echo "${ECHO_T}$ac_header_preproc" >&6
29347 # So? What about this header?
29348 case $ac_header_compiler:$ac_header_preproc in
29350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29356 ## ------------------------------------ ##
29357 ## Report this to bug-autoconf@gnu.org. ##
29358 ## ------------------------------------ ##
29361 sed "s/^/$as_me: WARNING: /" >&2
29364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29372 ## ------------------------------------ ##
29373 ## Report this to bug-autoconf@gnu.org. ##
29374 ## ------------------------------------ ##
29377 sed "s/^/$as_me: WARNING: /" >&2
29380 echo "$as_me:$LINENO: checking for $ac_header" >&5
29381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29383 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 eval "$as_ac_Header=$ac_header_preproc"
29387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29392 cat >>confdefs.h
<<_ACEOF
29393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29400 if test "$ac_cv_header_sched_h" = "yes"; then
29401 echo "$as_me:$LINENO: checking for sched_yield" >&5
29402 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29403 if test "${ac_cv_func_sched_yield+set}" = set; then
29404 echo $ECHO_N "(cached) $ECHO_C" >&6
29406 cat >conftest.
$ac_ext <<_ACEOF
29407 #line $LINENO "configure"
29410 cat confdefs.h
>>conftest.
$ac_ext
29411 cat >>conftest.
$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29413 /* System header to define __stub macros and hopefully few prototypes,
29414 which can conflict with char sched_yield (); below.
29415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29416 <limits.h> exists even on freestanding compilers. */
29418 # include <limits.h>
29420 # include <assert.h>
29422 /* Override any gcc2 internal prototype to avoid an error. */
29427 /* We use char because int might match the return type of a gcc2
29428 builtin and then its argument prototype would still apply. */
29429 char sched_yield ();
29430 /* The GNU C library defines this for functions which it implements
29431 to always fail with ENOSYS. Some functions are actually named
29432 something starting with __ and the normal name is an alias. */
29433 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29436 char (*f) () = sched_yield;
29445 return f != sched_yield;
29450 rm -f conftest.
$ac_objext conftest
$ac_exeext
29451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29452 (eval $ac_link) 2>&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } &&
29456 { ac_try
='test -s conftest$ac_exeext'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; }; then
29462 ac_cv_func_sched_yield
=yes
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.
$ac_ext >&5
29467 ac_cv_func_sched_yield
=no
29469 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29471 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29472 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29473 if test $ac_cv_func_sched_yield = yes; then
29474 cat >>confdefs.h
<<\_ACEOF
29475 #define HAVE_SCHED_YIELD 1
29480 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29481 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29482 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29483 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 ac_check_lib_save_LIBS
=$LIBS
29486 LIBS
="-lposix4 $LIBS"
29487 cat >conftest.
$ac_ext <<_ACEOF
29488 #line $LINENO "configure"
29491 cat confdefs.h
>>conftest.
$ac_ext
29492 cat >>conftest.
$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29495 /* Override any gcc2 internal prototype to avoid an error. */
29499 /* We use char because int might match the return type of a gcc2
29500 builtin and then its argument prototype would still apply. */
29501 char sched_yield ();
29510 rm -f conftest.
$ac_objext conftest
$ac_exeext
29511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29512 (eval $ac_link) 2>&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); } &&
29516 { ac_try
='test -s conftest$ac_exeext'
29517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29518 (eval $ac_try) 2>&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); }; }; then
29522 ac_cv_lib_posix4_sched_yield
=yes
29524 echo "$as_me: failed program was:" >&5
29525 sed 's/^/| /' conftest.
$ac_ext >&5
29527 ac_cv_lib_posix4_sched_yield
=no
29529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29530 LIBS
=$ac_check_lib_save_LIBS
29532 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29533 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29534 if test $ac_cv_lib_posix4_sched_yield = yes; then
29535 cat >>confdefs.h
<<\_ACEOF
29536 #define HAVE_SCHED_YIELD 1
29538 POSIX4_LINK
=" -lposix4"
29540 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29541 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29552 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29553 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29554 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29555 echo $ECHO_N "(cached) $ECHO_C" >&6
29557 cat >conftest.
$ac_ext <<_ACEOF
29558 #line $LINENO "configure"
29561 cat confdefs.h
>>conftest.
$ac_ext
29562 cat >>conftest.
$ac_ext <<_ACEOF
29563 /* end confdefs.h. */
29564 /* System header to define __stub macros and hopefully few prototypes,
29565 which can conflict with char pthread_attr_getschedpolicy (); below.
29566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29567 <limits.h> exists even on freestanding compilers. */
29569 # include <limits.h>
29571 # include <assert.h>
29573 /* Override any gcc2 internal prototype to avoid an error. */
29578 /* We use char because int might match the return type of a gcc2
29579 builtin and then its argument prototype would still apply. */
29580 char pthread_attr_getschedpolicy ();
29581 /* The GNU C library defines this for functions which it implements
29582 to always fail with ENOSYS. Some functions are actually named
29583 something starting with __ and the normal name is an alias. */
29584 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29587 char (*f) () = pthread_attr_getschedpolicy;
29596 return f != pthread_attr_getschedpolicy;
29601 rm -f conftest.
$ac_objext conftest
$ac_exeext
29602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29603 (eval $ac_link) 2>&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); } &&
29607 { ac_try
='test -s conftest$ac_exeext'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; }; then
29613 ac_cv_func_pthread_attr_getschedpolicy
=yes
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.
$ac_ext >&5
29618 ac_cv_func_pthread_attr_getschedpolicy
=no
29620 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29622 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29623 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29624 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29625 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29626 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29627 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29628 echo $ECHO_N "(cached) $ECHO_C" >&6
29630 cat >conftest.
$ac_ext <<_ACEOF
29631 #line $LINENO "configure"
29634 cat confdefs.h
>>conftest.
$ac_ext
29635 cat >>conftest.
$ac_ext <<_ACEOF
29636 /* end confdefs.h. */
29637 /* System header to define __stub macros and hopefully few prototypes,
29638 which can conflict with char pthread_attr_setschedparam (); below.
29639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29640 <limits.h> exists even on freestanding compilers. */
29642 # include <limits.h>
29644 # include <assert.h>
29646 /* Override any gcc2 internal prototype to avoid an error. */
29651 /* We use char because int might match the return type of a gcc2
29652 builtin and then its argument prototype would still apply. */
29653 char pthread_attr_setschedparam ();
29654 /* The GNU C library defines this for functions which it implements
29655 to always fail with ENOSYS. Some functions are actually named
29656 something starting with __ and the normal name is an alias. */
29657 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29660 char (*f) () = pthread_attr_setschedparam;
29669 return f != pthread_attr_setschedparam;
29674 rm -f conftest.
$ac_objext conftest
$ac_exeext
29675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29676 (eval $ac_link) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } &&
29680 { ac_try
='test -s conftest$ac_exeext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29686 ac_cv_func_pthread_attr_setschedparam
=yes
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.
$ac_ext >&5
29691 ac_cv_func_pthread_attr_setschedparam
=no
29693 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29695 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29696 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29697 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29698 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29699 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29700 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29701 echo $ECHO_N "(cached) $ECHO_C" >&6
29703 cat >conftest.
$ac_ext <<_ACEOF
29704 #line $LINENO "configure"
29707 cat confdefs.h
>>conftest.
$ac_ext
29708 cat >>conftest.
$ac_ext <<_ACEOF
29709 /* end confdefs.h. */
29710 /* System header to define __stub macros and hopefully few prototypes,
29711 which can conflict with char sched_get_priority_max (); below.
29712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29713 <limits.h> exists even on freestanding compilers. */
29715 # include <limits.h>
29717 # include <assert.h>
29719 /* Override any gcc2 internal prototype to avoid an error. */
29724 /* We use char because int might match the return type of a gcc2
29725 builtin and then its argument prototype would still apply. */
29726 char sched_get_priority_max ();
29727 /* The GNU C library defines this for functions which it implements
29728 to always fail with ENOSYS. Some functions are actually named
29729 something starting with __ and the normal name is an alias. */
29730 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29733 char (*f) () = sched_get_priority_max;
29742 return f != sched_get_priority_max;
29747 rm -f conftest.
$ac_objext conftest
$ac_exeext
29748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29749 (eval $ac_link) 2>&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); } &&
29753 { ac_try
='test -s conftest$ac_exeext'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; }; then
29759 ac_cv_func_sched_get_priority_max
=yes
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.
$ac_ext >&5
29764 ac_cv_func_sched_get_priority_max
=no
29766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29768 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29769 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29770 if test $ac_cv_func_sched_get_priority_max = yes; then
29773 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29774 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29775 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29776 echo $ECHO_N "(cached) $ECHO_C" >&6
29778 ac_check_lib_save_LIBS
=$LIBS
29779 LIBS
="-lposix4 $LIBS"
29780 cat >conftest.
$ac_ext <<_ACEOF
29781 #line $LINENO "configure"
29784 cat confdefs.h
>>conftest.
$ac_ext
29785 cat >>conftest.
$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29788 /* Override any gcc2 internal prototype to avoid an error. */
29792 /* We use char because int might match the return type of a gcc2
29793 builtin and then its argument prototype would still apply. */
29794 char sched_get_priority_max ();
29798 sched_get_priority_max ();
29803 rm -f conftest.
$ac_objext conftest
$ac_exeext
29804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29805 (eval $ac_link) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } &&
29809 { ac_try
='test -s conftest$ac_exeext'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29815 ac_cv_lib_posix4_sched_get_priority_max
=yes
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.
$ac_ext >&5
29820 ac_cv_lib_posix4_sched_get_priority_max
=no
29822 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29823 LIBS
=$ac_check_lib_save_LIBS
29825 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29826 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29827 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29830 POSIX4_LINK
=" -lposix4"
29844 if test "$HAVE_PRIOR_FUNCS" = 1; then
29845 cat >>confdefs.h
<<\_ACEOF
29846 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29850 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29851 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29854 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29855 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29856 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29857 echo $ECHO_N "(cached) $ECHO_C" >&6
29859 cat >conftest.
$ac_ext <<_ACEOF
29860 #line $LINENO "configure"
29863 cat confdefs.h
>>conftest.
$ac_ext
29864 cat >>conftest.
$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29866 /* System header to define __stub macros and hopefully few prototypes,
29867 which can conflict with char pthread_cancel (); below.
29868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29869 <limits.h> exists even on freestanding compilers. */
29871 # include <limits.h>
29873 # include <assert.h>
29875 /* Override any gcc2 internal prototype to avoid an error. */
29880 /* We use char because int might match the return type of a gcc2
29881 builtin and then its argument prototype would still apply. */
29882 char pthread_cancel ();
29883 /* The GNU C library defines this for functions which it implements
29884 to always fail with ENOSYS. Some functions are actually named
29885 something starting with __ and the normal name is an alias. */
29886 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29889 char (*f) () = pthread_cancel;
29898 return f != pthread_cancel;
29903 rm -f conftest.
$ac_objext conftest
$ac_exeext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29905 (eval $ac_link) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); } &&
29909 { ac_try
='test -s conftest$ac_exeext'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; }; then
29915 ac_cv_func_pthread_cancel
=yes
29917 echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.
$ac_ext >&5
29920 ac_cv_func_pthread_cancel
=no
29922 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29924 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29925 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29926 if test $ac_cv_func_pthread_cancel = yes; then
29927 cat >>confdefs.h
<<\_ACEOF
29928 #define HAVE_PTHREAD_CANCEL 1
29932 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29933 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29937 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29938 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29939 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29940 echo $ECHO_N "(cached) $ECHO_C" >&6
29943 cat >conftest.
$ac_ext <<_ACEOF
29944 #line $LINENO "configure"
29947 cat confdefs.h
>>conftest.
$ac_ext
29948 cat >>conftest.
$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29950 #include <pthread.h>
29955 pthread_cleanup_push(NULL, NULL);
29956 pthread_cleanup_pop(0);
29962 rm -f conftest.
$ac_objext
29963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29964 (eval $ac_compile) 2>&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try
='test -s conftest.$ac_objext'
29969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29970 (eval $ac_try) 2>&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); }; }; then
29975 wx_cv_func_pthread_cleanup_push
=yes
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.
$ac_ext >&5
29982 wx_cv_func_pthread_cleanup_push
=no
29985 rm -f conftest.
$ac_objext conftest.
$ac_ext
29988 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29989 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29991 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29992 cat >>confdefs.h
<<\_ACEOF
29993 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29999 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30000 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30001 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30005 cat >conftest.
$ac_ext <<_ACEOF
30006 #line $LINENO "configure"
30009 cat confdefs.h
>>conftest.
$ac_ext
30010 cat >>conftest.
$ac_ext <<_ACEOF
30011 /* end confdefs.h. */
30012 #include <pthread.h>
30017 pthread_mutexattr_t attr;
30018 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30024 rm -f conftest.
$ac_objext
30025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30026 (eval $ac_compile) 2>&5
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); } &&
30030 { ac_try
='test -s conftest.$ac_objext'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; }; then
30037 wx_cv_type_pthread_mutexattr_t
=yes
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.
$ac_ext >&5
30044 wx_cv_type_pthread_mutexattr_t
=no
30048 rm -f conftest.
$ac_objext conftest.
$ac_ext
30051 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30052 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30054 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30055 cat >>confdefs.h
<<\_ACEOF
30056 #define HAVE_PTHREAD_MUTEXATTR_T 1
30060 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30061 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30062 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30063 echo $ECHO_N "(cached) $ECHO_C" >&6
30066 cat >conftest.
$ac_ext <<_ACEOF
30067 #line $LINENO "configure"
30070 cat confdefs.h
>>conftest.
$ac_ext
30071 cat >>conftest.
$ac_ext <<_ACEOF
30072 /* end confdefs.h. */
30073 #include <pthread.h>
30078 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30084 rm -f conftest.
$ac_objext
30085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30086 (eval $ac_compile) 2>&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); } &&
30090 { ac_try
='test -s conftest.$ac_objext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30097 wx_cv_type_pthread_rec_mutex_init
=yes
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.
$ac_ext >&5
30104 wx_cv_type_pthread_rec_mutex_init
=no
30108 rm -f conftest.
$ac_objext conftest.
$ac_ext
30111 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30112 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30113 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30114 cat >>confdefs.h
<<\_ACEOF
30115 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30119 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30120 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30126 if test "$wxUSE_THREADS" = "yes" ; then
30129 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30130 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30131 if test "${wx_cv_cflags_mthread+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30135 CFLAGS_OLD
="$CFLAGS"
30136 CFLAGS
="$CFLAGS -mthreads"
30137 cat >conftest.
$ac_ext <<_ACEOF
30138 #line $LINENO "configure"
30141 cat confdefs.h
>>conftest.
$ac_ext
30142 cat >>conftest.
$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30153 rm -f conftest.
$ac_objext
30154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30155 (eval $ac_compile) 2>&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } &&
30159 { ac_try
='test -s conftest.$ac_objext'
30160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30161 (eval $ac_try) 2>&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); }; }; then
30165 wx_cv_cflags_mthread
=yes
30167 echo "$as_me: failed program was:" >&5
30168 sed 's/^/| /' conftest.
$ac_ext >&5
30170 wx_cv_cflags_mthread
=no
30173 rm -f conftest.
$ac_objext conftest.
$ac_ext
30177 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30178 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30180 if test "$wx_cv_cflags_mthread" = "yes"; then
30181 CXXFLAGS
="$CXXFLAGS -mthreads"
30182 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30183 LDFLAGS
="$LDFLAGS -mthreads"
30185 CFLAGS
="$CFLAGS_OLD"
30192 if test "$wxUSE_THREADS" = "yes"; then
30193 cat >>confdefs.h
<<\_ACEOF
30194 #define wxUSE_THREADS 1
30198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30200 if test "$ac_cv_func_strtok_r" = "yes"; then
30201 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30202 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30203 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30204 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30205 echo "$as_me:$LINENO: result: yes" >&5
30206 echo "${ECHO_T}yes" >&6
30208 echo "$as_me:$LINENO: result: no" >&5
30209 echo "${ECHO_T}no" >&6
30214 if test "$WXGTK20" = 1 ; then
30215 cat >>confdefs.h
<<_ACEOF
30216 #define __WXGTK20__ $WXGTK20
30222 if test "$WXGTK12" = 1 ; then
30223 cat >>confdefs.h
<<_ACEOF
30224 #define __WXGTK12__ $WXGTK12
30229 if test "$WXGTK127" = 1 ; then
30230 cat >>confdefs.h
<<_ACEOF
30231 #define __WXGTK127__ $WXGTK127
30238 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30243 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30244 wxUSE_DEBUG_INFO
=yes
30248 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30249 cat >>confdefs.h
<<\_ACEOF
30253 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30255 if test "$wxUSE_GTK" = 1 ; then
30256 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30260 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30261 cat >>confdefs.h
<<\_ACEOF
30262 #define wxUSE_MEMORY_TRACING 1
30265 cat >>confdefs.h
<<\_ACEOF
30266 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30269 cat >>confdefs.h
<<\_ACEOF
30270 #define wxUSE_DEBUG_NEW_ALWAYS 1
30273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30276 if test "$wxUSE_DMALLOC" = "yes" ; then
30277 DMALLOC_LIBS
="-ldmalloc"
30281 if test "$wxUSE_PROFILE" = "yes" ; then
30286 CODE_GEN_FLAGS_CXX
=
30287 if test "$GCC" = "yes" ; then
30288 if test "$wxUSE_NO_RTTI" = "yes" ; then
30289 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30291 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30292 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30294 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30295 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30300 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30303 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30309 if test "$wxUSE_OPTIMISE" = "no" ; then
30310 if test "$GCC" = yes ; then
30314 if test "$GCC" = yes ; then
30318 i586
-*-*|i686
-*-* )
30319 OPTIMISE
="${OPTIMISE} "
30328 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30329 cat >>confdefs.h
<<\_ACEOF
30330 #define WXWIN_COMPATIBILITY_2 1
30334 WXWIN_COMPATIBILITY_2_2
="yes"
30337 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30338 cat >>confdefs.h
<<\_ACEOF
30339 #define WXWIN_COMPATIBILITY_2_2 1
30343 WXWIN_COMPATIBILITY_2_4
="yes"
30346 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30347 cat >>confdefs.h
<<\_ACEOF
30348 #define WXWIN_COMPATIBILITY_2_4 1
30354 if test "$wxUSE_GUI" = "yes"; then
30355 cat >>confdefs.h
<<\_ACEOF
30356 #define wxUSE_GUI 1
30361 cat >>confdefs.h
<<\_ACEOF
30362 #define wxUSE_NOGUI 1
30368 if test "$wxUSE_UNIX" = "yes"; then
30369 cat >>confdefs.h
<<\_ACEOF
30370 #define wxUSE_UNIX 1
30376 if test "$wxUSE_STL" = "yes"; then
30377 cat >>confdefs.h
<<\_ACEOF
30378 #define wxUSE_STL 1
30383 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30384 cat >>confdefs.h
<<\_ACEOF
30385 #define wxUSE_APPLE_IEEE 1
30390 if test "$wxUSE_TIMER" = "yes"; then
30391 cat >>confdefs.h
<<\_ACEOF
30392 #define wxUSE_TIMER 1
30397 if test "$wxUSE_WAVE" = "yes"; then
30398 cat >>confdefs.h
<<\_ACEOF
30399 #define wxUSE_WAVE 1
30404 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30405 cat >>confdefs.h
<<\_ACEOF
30406 #define wxUSE_CMDLINE_PARSER 1
30411 if test "$wxUSE_STOPWATCH" = "yes"; then
30412 cat >>confdefs.h
<<\_ACEOF
30413 #define wxUSE_STOPWATCH 1
30418 if test "$wxUSE_DATETIME" = "yes"; then
30419 cat >>confdefs.h
<<\_ACEOF
30420 #define wxUSE_DATETIME 1
30425 if test "$wxUSE_FILE" = "yes"; then
30426 cat >>confdefs.h
<<\_ACEOF
30427 #define wxUSE_FILE 1
30432 if test "$wxUSE_FFILE" = "yes"; then
30433 cat >>confdefs.h
<<\_ACEOF
30434 #define wxUSE_FFILE 1
30439 if test "$wxUSE_FILESYSTEM" = "yes"; then
30440 cat >>confdefs.h
<<\_ACEOF
30441 #define wxUSE_FILESYSTEM 1
30446 if test "$wxUSE_FS_ZIP" = "yes"; then
30447 cat >>confdefs.h
<<\_ACEOF
30448 #define wxUSE_FS_ZIP 1
30453 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30454 cat >>confdefs.h
<<\_ACEOF
30455 #define wxUSE_ZIPSTREAM 1
30460 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30461 cat >>confdefs.h
<<\_ACEOF
30462 #define wxUSE_ON_FATAL_EXCEPTION 1
30467 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30468 cat >>confdefs.h
<<\_ACEOF
30469 #define wxUSE_SNGLINST_CHECKER 1
30474 if test "$wxUSE_BUSYINFO" = "yes"; then
30475 cat >>confdefs.h
<<\_ACEOF
30476 #define wxUSE_BUSYINFO 1
30481 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30482 cat >>confdefs.h
<<\_ACEOF
30483 #define wxUSE_STD_IOSTREAM 1
30488 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30489 cat >>confdefs.h
<<\_ACEOF
30490 #define wxUSE_TEXTBUFFER 1
30495 if test "$wxUSE_TEXTFILE" = "yes"; then
30496 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30497 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30498 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30500 cat >>confdefs.h
<<\_ACEOF
30501 #define wxUSE_TEXTFILE 1
30507 if test "$wxUSE_CONFIG" = "yes" ; then
30508 if test "$wxUSE_TEXTFILE" != "yes"; then
30509 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30510 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30512 cat >>confdefs.h
<<\_ACEOF
30513 #define wxUSE_CONFIG 1
30516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30520 if test "$wxUSE_INTL" = "yes" ; then
30521 if test "$wxUSE_FILE" != "yes"; then
30522 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30523 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30525 cat >>confdefs.h
<<\_ACEOF
30526 #define wxUSE_INTL 1
30529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30530 GUIDIST
="$GUIDIST INTL_DIST"
30534 if test "$wxUSE_LOG" = "yes"; then
30535 cat >>confdefs.h
<<\_ACEOF
30536 #define wxUSE_LOG 1
30540 if test "$wxUSE_LOGGUI" = "yes"; then
30541 cat >>confdefs.h
<<\_ACEOF
30542 #define wxUSE_LOGGUI 1
30547 if test "$wxUSE_LOGWINDOW" = "yes"; then
30548 cat >>confdefs.h
<<\_ACEOF
30549 #define wxUSE_LOGWINDOW 1
30554 if test "$wxUSE_LOGDIALOG" = "yes"; then
30555 cat >>confdefs.h
<<\_ACEOF
30556 #define wxUSE_LOG_DIALOG 1
30562 if test "$wxUSE_LONGLONG" = "yes"; then
30563 cat >>confdefs.h
<<\_ACEOF
30564 #define wxUSE_LONGLONG 1
30569 if test "$wxUSE_GEOMETRY" = "yes"; then
30570 cat >>confdefs.h
<<\_ACEOF
30571 #define wxUSE_GEOMETRY 1
30576 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30577 cat >>confdefs.h
<<\_ACEOF
30578 #define wxUSE_DIALUP_MANAGER 1
30581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30584 if test "$wxUSE_STREAMS" = "yes" ; then
30585 cat >>confdefs.h
<<\_ACEOF
30586 #define wxUSE_STREAMS 1
30592 if test "$wxUSE_DATETIME" = "yes"; then
30594 for ac_func
in strptime
30596 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30597 echo "$as_me:$LINENO: checking for $ac_func" >&5
30598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30599 if eval "test \"\${$as_ac_var+set}\" = set"; then
30600 echo $ECHO_N "(cached) $ECHO_C" >&6
30602 cat >conftest.
$ac_ext <<_ACEOF
30603 #line $LINENO "configure"
30606 cat confdefs.h
>>conftest.
$ac_ext
30607 cat >>conftest.
$ac_ext <<_ACEOF
30608 /* end confdefs.h. */
30609 /* System header to define __stub macros and hopefully few prototypes,
30610 which can conflict with char $ac_func (); below.
30611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30612 <limits.h> exists even on freestanding compilers. */
30614 # include <limits.h>
30616 # include <assert.h>
30618 /* Override any gcc2 internal prototype to avoid an error. */
30623 /* We use char because int might match the return type of a gcc2
30624 builtin and then its argument prototype would still apply. */
30626 /* The GNU C library defines this for functions which it implements
30627 to always fail with ENOSYS. Some functions are actually named
30628 something starting with __ and the normal name is an alias. */
30629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30632 char (*f) () = $ac_func;
30641 return f != $ac_func;
30646 rm -f conftest.
$ac_objext conftest
$ac_exeext
30647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30648 (eval $ac_link) 2>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try
='test -s conftest$ac_exeext'
30653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30654 (eval $ac_try) 2>&5
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); }; }; then
30658 eval "$as_ac_var=yes"
30660 echo "$as_me: failed program was:" >&5
30661 sed 's/^/| /' conftest.
$ac_ext >&5
30663 eval "$as_ac_var=no"
30665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30669 if test `eval echo '${'$as_ac_var'}'` = yes; then
30670 cat >>confdefs.h
<<_ACEOF
30671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30678 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30679 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30680 if test "${wx_cv_var_timezone+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30684 cat >conftest.
$ac_ext <<_ACEOF
30685 #line $LINENO "configure"
30688 cat confdefs.h
>>conftest.
$ac_ext
30689 cat >>conftest.
$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30705 rm -f conftest.
$ac_objext
30706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30707 (eval $ac_compile) 2>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); } &&
30711 { ac_try
='test -s conftest.$ac_objext'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; }; then
30718 wx_cv_var_timezone
=timezone
30721 echo "$as_me: failed program was:" >&5
30722 sed 's/^/| /' conftest.
$ac_ext >&5
30725 cat >conftest.
$ac_ext <<_ACEOF
30726 #line $LINENO "configure"
30729 cat confdefs.h
>>conftest.
$ac_ext
30730 cat >>conftest.
$ac_ext <<_ACEOF
30731 /* end confdefs.h. */
30746 rm -f conftest.
$ac_objext
30747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30748 (eval $ac_compile) 2>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); } &&
30752 { ac_try
='test -s conftest.$ac_objext'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; }; then
30759 wx_cv_var_timezone
=_timezone
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.
$ac_ext >&5
30766 cat >conftest.
$ac_ext <<_ACEOF
30767 #line $LINENO "configure"
30770 cat confdefs.h
>>conftest.
$ac_ext
30771 cat >>conftest.
$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30787 rm -f conftest.
$ac_objext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30789 (eval $ac_compile) 2>&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } &&
30793 { ac_try
='test -s conftest.$ac_objext'
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
30800 wx_cv_var_timezone
=__timezone
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.
$ac_ext >&5
30807 if test "$USE_DOS" = 0 ; then
30808 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30809 echo "$as_me: WARNING: no timezone variable" >&2;}
30814 rm -f conftest.
$ac_objext conftest.
$ac_ext
30818 rm -f conftest.
$ac_objext conftest.
$ac_ext
30822 rm -f conftest.
$ac_objext conftest.
$ac_ext
30826 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30827 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30829 if test "x$wx_cv_var_timezone" != x
; then
30830 cat >>confdefs.h
<<_ACEOF
30831 #define WX_TIMEZONE $wx_cv_var_timezone
30837 for ac_func
in localtime
30839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30840 echo "$as_me:$LINENO: checking for $ac_func" >&5
30841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30842 if eval "test \"\${$as_ac_var+set}\" = set"; then
30843 echo $ECHO_N "(cached) $ECHO_C" >&6
30845 cat >conftest.
$ac_ext <<_ACEOF
30846 #line $LINENO "configure"
30849 cat confdefs.h
>>conftest.
$ac_ext
30850 cat >>conftest.
$ac_ext <<_ACEOF
30851 /* end confdefs.h. */
30852 /* System header to define __stub macros and hopefully few prototypes,
30853 which can conflict with char $ac_func (); below.
30854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30855 <limits.h> exists even on freestanding compilers. */
30857 # include <limits.h>
30859 # include <assert.h>
30861 /* Override any gcc2 internal prototype to avoid an error. */
30866 /* We use char because int might match the return type of a gcc2
30867 builtin and then its argument prototype would still apply. */
30869 /* The GNU C library defines this for functions which it implements
30870 to always fail with ENOSYS. Some functions are actually named
30871 something starting with __ and the normal name is an alias. */
30872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30875 char (*f) () = $ac_func;
30884 return f != $ac_func;
30889 rm -f conftest.
$ac_objext conftest
$ac_exeext
30890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30891 (eval $ac_link) 2>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } &&
30895 { ac_try
='test -s conftest$ac_exeext'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; }; then
30901 eval "$as_ac_var=yes"
30903 echo "$as_me: failed program was:" >&5
30904 sed 's/^/| /' conftest.
$ac_ext >&5
30906 eval "$as_ac_var=no"
30908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30912 if test `eval echo '${'$as_ac_var'}'` = yes; then
30913 cat >>confdefs.h
<<_ACEOF
30914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30921 if test "$ac_cv_func_localtime" = "yes"; then
30922 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30923 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30924 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30925 echo $ECHO_N "(cached) $ECHO_C" >&6
30928 cat >conftest.
$ac_ext <<_ACEOF
30929 #line $LINENO "configure"
30932 cat confdefs.h
>>conftest.
$ac_ext
30933 cat >>conftest.
$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30949 rm -f conftest.
$ac_objext
30950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30951 (eval $ac_compile) 2>&5
30953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954 (exit $ac_status); } &&
30955 { ac_try
='test -s conftest.$ac_objext'
30956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30957 (eval $ac_try) 2>&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); }; }; then
30962 wx_cv_struct_tm_has_gmtoff
=yes
30965 echo "$as_me: failed program was:" >&5
30966 sed 's/^/| /' conftest.
$ac_ext >&5
30968 wx_cv_struct_tm_has_gmtoff
=no
30971 rm -f conftest.
$ac_objext conftest.
$ac_ext
30974 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30975 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30978 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30979 cat >>confdefs.h
<<\_ACEOF
30980 #define WX_GMTOFF_IN_TM 1
30987 for ac_func
in gettimeofday ftime
30989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30990 echo "$as_me:$LINENO: checking for $ac_func" >&5
30991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30992 if eval "test \"\${$as_ac_var+set}\" = set"; then
30993 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 cat >conftest.
$ac_ext <<_ACEOF
30996 #line $LINENO "configure"
30999 cat confdefs.h
>>conftest.
$ac_ext
31000 cat >>conftest.
$ac_ext <<_ACEOF
31001 /* end confdefs.h. */
31002 /* System header to define __stub macros and hopefully few prototypes,
31003 which can conflict with char $ac_func (); below.
31004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31005 <limits.h> exists even on freestanding compilers. */
31007 # include <limits.h>
31009 # include <assert.h>
31011 /* Override any gcc2 internal prototype to avoid an error. */
31016 /* We use char because int might match the return type of a gcc2
31017 builtin and then its argument prototype would still apply. */
31019 /* The GNU C library defines this for functions which it implements
31020 to always fail with ENOSYS. Some functions are actually named
31021 something starting with __ and the normal name is an alias. */
31022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31025 char (*f) () = $ac_func;
31034 return f != $ac_func;
31039 rm -f conftest.
$ac_objext conftest
$ac_exeext
31040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31041 (eval $ac_link) 2>&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); } &&
31045 { ac_try
='test -s conftest$ac_exeext'
31046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31047 (eval $ac_try) 2>&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); }; }; then
31051 eval "$as_ac_var=yes"
31053 echo "$as_me: failed program was:" >&5
31054 sed 's/^/| /' conftest.
$ac_ext >&5
31056 eval "$as_ac_var=no"
31058 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31062 if test `eval echo '${'$as_ac_var'}'` = yes; then
31063 cat >>confdefs.h
<<_ACEOF
31064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31071 if test "$ac_cv_func_gettimeofday" = "yes"; then
31072 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31073 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31074 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31075 echo $ECHO_N "(cached) $ECHO_C" >&6
31081 ac_cpp
='$CXXCPP $CPPFLAGS'
31082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31087 cat >conftest.
$ac_ext <<_ACEOF
31088 #line $LINENO "configure"
31091 cat confdefs.h
>>conftest.
$ac_ext
31092 cat >>conftest.
$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31095 #include <sys/time.h>
31096 #include <unistd.h>
31103 gettimeofday(&tv, NULL);
31109 rm -f conftest.
$ac_objext
31110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31111 (eval $ac_compile) 2>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try
='test -s conftest.$ac_objext'
31116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117 (eval $ac_try) 2>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; }; then
31121 wx_cv_func_gettimeofday_has_2_args
=yes
31123 echo "$as_me: failed program was:" >&5
31124 sed 's/^/| /' conftest.
$ac_ext >&5
31126 cat >conftest.
$ac_ext <<_ACEOF
31127 #line $LINENO "configure"
31130 cat confdefs.h
>>conftest.
$ac_ext
31131 cat >>conftest.
$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31134 #include <sys/time.h>
31135 #include <unistd.h>
31148 rm -f conftest.
$ac_objext
31149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31150 (eval $ac_compile) 2>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try
='test -s conftest.$ac_objext'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; }; then
31160 wx_cv_func_gettimeofday_has_2_args
=no
31162 echo "$as_me: failed program was:" >&5
31163 sed 's/^/| /' conftest.
$ac_ext >&5
31166 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31167 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31168 wx_cv_func_gettimeofday_has_2_args
=unknown
31172 rm -f conftest.
$ac_objext conftest.
$ac_ext
31175 rm -f conftest.
$ac_objext conftest.
$ac_ext
31177 ac_cpp
='$CPP $CPPFLAGS'
31178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31184 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31185 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31187 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31188 cat >>confdefs.h
<<\_ACEOF
31189 #define WX_GETTIMEOFDAY_NO_TZ 1
31195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31199 if test "$wxUSE_SOCKETS" = "yes"; then
31200 if test "$wxUSE_MGL" = "1"; then
31201 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31202 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31205 if test "$wxUSE_COCOA" = "1"; then
31206 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31207 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31212 if test "$wxUSE_SOCKETS" = "yes"; then
31213 if test "$TOOLKIT" != "MSW"; then
31214 echo "$as_me:$LINENO: checking for socket" >&5
31215 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31216 if test "${ac_cv_func_socket+set}" = set; then
31217 echo $ECHO_N "(cached) $ECHO_C" >&6
31219 cat >conftest.
$ac_ext <<_ACEOF
31220 #line $LINENO "configure"
31223 cat confdefs.h
>>conftest.
$ac_ext
31224 cat >>conftest.
$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226 /* System header to define __stub macros and hopefully few prototypes,
31227 which can conflict with char socket (); below.
31228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31229 <limits.h> exists even on freestanding compilers. */
31231 # include <limits.h>
31233 # include <assert.h>
31235 /* Override any gcc2 internal prototype to avoid an error. */
31240 /* We use char because int might match the return type of a gcc2
31241 builtin and then its argument prototype would still apply. */
31243 /* The GNU C library defines this for functions which it implements
31244 to always fail with ENOSYS. Some functions are actually named
31245 something starting with __ and the normal name is an alias. */
31246 #if defined (__stub_socket) || defined (__stub___socket)
31249 char (*f) () = socket;
31258 return f != socket;
31263 rm -f conftest.
$ac_objext conftest
$ac_exeext
31264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31265 (eval $ac_link) 2>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try
='test -s conftest$ac_exeext'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; }; then
31275 ac_cv_func_socket
=yes
31277 echo "$as_me: failed program was:" >&5
31278 sed 's/^/| /' conftest.
$ac_ext >&5
31280 ac_cv_func_socket
=no
31282 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31284 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31285 echo "${ECHO_T}$ac_cv_func_socket" >&6
31286 if test $ac_cv_func_socket = yes; then
31289 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31290 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31291 if test "${ac_cv_lib_socket_socket+set}" = set; then
31292 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 ac_check_lib_save_LIBS
=$LIBS
31295 LIBS
="-lsocket $LIBS"
31296 cat >conftest.
$ac_ext <<_ACEOF
31297 #line $LINENO "configure"
31300 cat confdefs.h
>>conftest.
$ac_ext
31301 cat >>conftest.
$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31304 /* Override any gcc2 internal prototype to avoid an error. */
31308 /* We use char because int might match the return type of a gcc2
31309 builtin and then its argument prototype would still apply. */
31319 rm -f conftest.
$ac_objext conftest
$ac_exeext
31320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31321 (eval $ac_link) 2>&5
31323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324 (exit $ac_status); } &&
31325 { ac_try
='test -s conftest$ac_exeext'
31326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327 (eval $ac_try) 2>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); }; }; then
31331 ac_cv_lib_socket_socket
=yes
31333 echo "$as_me: failed program was:" >&5
31334 sed 's/^/| /' conftest.
$ac_ext >&5
31336 ac_cv_lib_socket_socket
=no
31338 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31339 LIBS
=$ac_check_lib_save_LIBS
31341 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31342 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31343 if test $ac_cv_lib_socket_socket = yes; then
31344 if test "$INET_LINK" != " -lsocket"; then
31345 INET_LINK
="$INET_LINK -lsocket"
31349 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31350 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31362 if test "$wxUSE_SOCKETS" = "yes" ; then
31363 if test "$TOOLKIT" != "MSW"; then
31364 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31365 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31366 if test "${wx_cv_type_getsockname3+set}" = set; then
31367 echo $ECHO_N "(cached) $ECHO_C" >&6
31370 cat >conftest.
$ac_ext <<_ACEOF
31371 #line $LINENO "configure"
31374 cat confdefs.h
>>conftest.
$ac_ext
31375 cat >>conftest.
$ac_ext <<_ACEOF
31376 /* end confdefs.h. */
31378 #include <sys/types.h>
31379 #include <sys/socket.h>
31386 getsockname(0, 0, &len);
31392 rm -f conftest.
$ac_objext
31393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31394 (eval $ac_compile) 2>&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); } &&
31398 { ac_try
='test -s conftest.$ac_objext'
31399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31400 (eval $ac_try) 2>&5
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); }; }; then
31404 wx_cv_type_getsockname3
=socklen_t
31406 echo "$as_me: failed program was:" >&5
31407 sed 's/^/| /' conftest.
$ac_ext >&5
31410 CFLAGS_OLD
="$CFLAGS"
31411 if test "$GCC" = yes ; then
31412 CFLAGS
="$CFLAGS -Werror"
31415 cat >conftest.
$ac_ext <<_ACEOF
31416 #line $LINENO "configure"
31419 cat confdefs.h
>>conftest.
$ac_ext
31420 cat >>conftest.
$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31423 #include <sys/types.h>
31424 #include <sys/socket.h>
31431 getsockname(0, 0, &len);
31437 rm -f conftest.
$ac_objext
31438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31439 (eval $ac_compile) 2>&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try
='test -s conftest.$ac_objext'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; }; then
31449 wx_cv_type_getsockname3
=size_t
31451 echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.
$ac_ext >&5
31454 cat >conftest.
$ac_ext <<_ACEOF
31455 #line $LINENO "configure"
31458 cat confdefs.h
>>conftest.
$ac_ext
31459 cat >>conftest.
$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31462 #include <sys/types.h>
31463 #include <sys/socket.h>
31470 getsockname(0, 0, &len);
31476 rm -f conftest.
$ac_objext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31478 (eval $ac_compile) 2>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try
='test -s conftest.$ac_objext'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 wx_cv_type_getsockname3
=int
31490 echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.
$ac_ext >&5
31493 wx_cv_type_getsockname3
=unknown
31496 rm -f conftest.
$ac_objext conftest.
$ac_ext
31499 rm -f conftest.
$ac_objext conftest.
$ac_ext
31501 CFLAGS
="$CFLAGS_OLD"
31505 rm -f conftest.
$ac_objext conftest.
$ac_ext
31508 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31509 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31511 if test "$wx_cv_type_getsockname3" = "unknown"; then
31513 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31514 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31516 cat >>confdefs.h
<<_ACEOF
31517 #define SOCKLEN_T $wx_cv_type_getsockname3
31524 if test "$wxUSE_SOCKETS" = "yes" ; then
31525 cat >>confdefs.h
<<\_ACEOF
31526 #define wxUSE_SOCKETS 1
31529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31532 if test "$wxUSE_PROTOCOL" = "yes"; then
31533 if test "$wxUSE_SOCKETS" != "yes"; then
31534 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31535 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31540 if test "$wxUSE_PROTOCOL" = "yes"; then
31541 cat >>confdefs.h
<<\_ACEOF
31542 #define wxUSE_PROTOCOL 1
31546 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31547 cat >>confdefs.h
<<\_ACEOF
31548 #define wxUSE_PROTOCOL_HTTP 1
31552 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31553 cat >>confdefs.h
<<\_ACEOF
31554 #define wxUSE_PROTOCOL_FTP 1
31558 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31559 cat >>confdefs.h
<<\_ACEOF
31560 #define wxUSE_PROTOCOL_FILE 1
31565 if test "$wxUSE_FS_INET" = "yes"; then
31566 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31567 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31572 if test "$wxUSE_URL" = "yes"; then
31573 if test "$wxUSE_PROTOCOL" != "yes"; then
31574 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31575 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31578 if test "$wxUSE_URL" = "yes"; then
31579 cat >>confdefs.h
<<\_ACEOF
31580 #define wxUSE_URL 1
31586 if test "$wxUSE_FS_INET" = "yes"; then
31587 cat >>confdefs.h
<<\_ACEOF
31588 #define wxUSE_FS_INET 1
31594 if test "$wxUSE_GUI" = "yes"; then
31596 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31597 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31598 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31602 if test "$TOOLKIT" != "MSW"; then
31603 if test "$wxUSE_JOYSTICK" = "yes"; then
31605 for ac_header
in linux
/joystick.h
31607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31609 echo "$as_me:$LINENO: checking for $ac_header" >&5
31610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31612 echo $ECHO_N "(cached) $ECHO_C" >&6
31614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31617 # Is the header compilable?
31618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31620 cat >conftest.
$ac_ext <<_ACEOF
31621 #line $LINENO "configure"
31624 cat confdefs.h
>>conftest.
$ac_ext
31625 cat >>conftest.
$ac_ext <<_ACEOF
31626 /* end confdefs.h. */
31627 $ac_includes_default
31628 #include <$ac_header>
31630 rm -f conftest.
$ac_objext
31631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31632 (eval $ac_compile) 2>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } &&
31636 { ac_try
='test -s conftest.$ac_objext'
31637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 (eval $ac_try) 2>&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; }; then
31642 ac_header_compiler
=yes
31644 echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.
$ac_ext >&5
31647 ac_header_compiler
=no
31649 rm -f conftest.
$ac_objext conftest.
$ac_ext
31650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31651 echo "${ECHO_T}$ac_header_compiler" >&6
31653 # Is the header present?
31654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31656 cat >conftest.
$ac_ext <<_ACEOF
31657 #line $LINENO "configure"
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <$ac_header>
31665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31668 grep -v '^ *+' conftest.er1
>conftest.err
31670 cat conftest.err
>&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); } >/dev
/null
; then
31673 if test -s conftest.err
; then
31674 ac_cpp_err
=$ac_c_preproc_warn_flag
31681 if test -z "$ac_cpp_err"; then
31682 ac_header_preproc
=yes
31684 echo "$as_me: failed program was:" >&5
31685 sed 's/^/| /' conftest.
$ac_ext >&5
31687 ac_header_preproc
=no
31689 rm -f conftest.err conftest.
$ac_ext
31690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31691 echo "${ECHO_T}$ac_header_preproc" >&6
31693 # So? What about this header?
31694 case $ac_header_compiler:$ac_header_preproc in
31696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31702 ## ------------------------------------ ##
31703 ## Report this to bug-autoconf@gnu.org. ##
31704 ## ------------------------------------ ##
31707 sed "s/^/$as_me: WARNING: /" >&2
31710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31718 ## ------------------------------------ ##
31719 ## Report this to bug-autoconf@gnu.org. ##
31720 ## ------------------------------------ ##
31723 sed "s/^/$as_me: WARNING: /" >&2
31726 echo "$as_me:$LINENO: checking for $ac_header" >&5
31727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 eval "$as_ac_Header=$ac_header_preproc"
31733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31738 cat >>confdefs.h
<<_ACEOF
31739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31746 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31748 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31749 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31754 if test "$wxUSE_JOYSTICK" = "yes"; then
31755 cat >>confdefs.h
<<\_ACEOF
31756 #define wxUSE_JOYSTICK 1
31759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31764 if test "$TOOLKIT" != "MSW"; then
31768 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31769 if test "$USE_DARWIN" = 1; then
31773 for ac_func
in dlopen
31775 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31776 echo "$as_me:$LINENO: checking for $ac_func" >&5
31777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31778 if eval "test \"\${$as_ac_var+set}\" = set"; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 cat >conftest.
$ac_ext <<_ACEOF
31782 #line $LINENO "configure"
31785 cat confdefs.h
>>conftest.
$ac_ext
31786 cat >>conftest.
$ac_ext <<_ACEOF
31787 /* end confdefs.h. */
31788 /* System header to define __stub macros and hopefully few prototypes,
31789 which can conflict with char $ac_func (); below.
31790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31791 <limits.h> exists even on freestanding compilers. */
31793 # include <limits.h>
31795 # include <assert.h>
31797 /* Override any gcc2 internal prototype to avoid an error. */
31802 /* We use char because int might match the return type of a gcc2
31803 builtin and then its argument prototype would still apply. */
31805 /* The GNU C library defines this for functions which it implements
31806 to always fail with ENOSYS. Some functions are actually named
31807 something starting with __ and the normal name is an alias. */
31808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31811 char (*f) () = $ac_func;
31820 return f != $ac_func;
31825 rm -f conftest.
$ac_objext conftest
$ac_exeext
31826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31827 (eval $ac_link) 2>&5
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); } &&
31831 { ac_try
='test -s conftest$ac_exeext'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; }; then
31837 eval "$as_ac_var=yes"
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.
$ac_ext >&5
31842 eval "$as_ac_var=no"
31844 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31848 if test `eval echo '${'$as_ac_var'}'` = yes; then
31849 cat >>confdefs.h
<<_ACEOF
31850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 cat >>confdefs.h
<<\_ACEOF
31854 #define HAVE_DLOPEN 1
31861 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31862 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31863 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31864 echo $ECHO_N "(cached) $ECHO_C" >&6
31866 ac_check_lib_save_LIBS
=$LIBS
31868 cat >conftest.
$ac_ext <<_ACEOF
31869 #line $LINENO "configure"
31872 cat confdefs.h
>>conftest.
$ac_ext
31873 cat >>conftest.
$ac_ext <<_ACEOF
31874 /* end confdefs.h. */
31876 /* Override any gcc2 internal prototype to avoid an error. */
31880 /* We use char because int might match the return type of a gcc2
31881 builtin and then its argument prototype would still apply. */
31891 rm -f conftest.
$ac_objext conftest
$ac_exeext
31892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31893 (eval $ac_link) 2>&5
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); } &&
31897 { ac_try
='test -s conftest$ac_exeext'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; }; then
31903 ac_cv_lib_dl_dlopen
=yes
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.
$ac_ext >&5
31908 ac_cv_lib_dl_dlopen
=no
31910 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31911 LIBS
=$ac_check_lib_save_LIBS
31913 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31914 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31915 if test $ac_cv_lib_dl_dlopen = yes; then
31917 cat >>confdefs.h
<<\_ACEOF
31918 #define HAVE_DLOPEN 1
31922 DL_LINK
=" -ldl$DL_LINK"
31927 for ac_func
in shl_load
31929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31930 echo "$as_me:$LINENO: checking for $ac_func" >&5
31931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31932 if eval "test \"\${$as_ac_var+set}\" = set"; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31935 cat >conftest.
$ac_ext <<_ACEOF
31936 #line $LINENO "configure"
31939 cat confdefs.h
>>conftest.
$ac_ext
31940 cat >>conftest.
$ac_ext <<_ACEOF
31941 /* end confdefs.h. */
31942 /* System header to define __stub macros and hopefully few prototypes,
31943 which can conflict with char $ac_func (); below.
31944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31945 <limits.h> exists even on freestanding compilers. */
31947 # include <limits.h>
31949 # include <assert.h>
31951 /* Override any gcc2 internal prototype to avoid an error. */
31956 /* We use char because int might match the return type of a gcc2
31957 builtin and then its argument prototype would still apply. */
31959 /* The GNU C library defines this for functions which it implements
31960 to always fail with ENOSYS. Some functions are actually named
31961 something starting with __ and the normal name is an alias. */
31962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31965 char (*f) () = $ac_func;
31974 return f != $ac_func;
31979 rm -f conftest.
$ac_objext conftest
$ac_exeext
31980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31981 (eval $ac_link) 2>&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); } &&
31985 { ac_try
='test -s conftest$ac_exeext'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 eval "$as_ac_var=yes"
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.
$ac_ext >&5
31996 eval "$as_ac_var=no"
31998 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32002 if test `eval echo '${'$as_ac_var'}'` = yes; then
32003 cat >>confdefs.h
<<_ACEOF
32004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32007 cat >>confdefs.h
<<\_ACEOF
32008 #define HAVE_SHL_LOAD 1
32015 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32016 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32017 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32018 echo $ECHO_N "(cached) $ECHO_C" >&6
32020 ac_check_lib_save_LIBS
=$LIBS
32021 LIBS
="-lshl_load $LIBS"
32022 cat >conftest.
$ac_ext <<_ACEOF
32023 #line $LINENO "configure"
32026 cat confdefs.h
>>conftest.
$ac_ext
32027 cat >>conftest.
$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32030 /* Override any gcc2 internal prototype to avoid an error. */
32034 /* We use char because int might match the return type of a gcc2
32035 builtin and then its argument prototype would still apply. */
32045 rm -f conftest.
$ac_objext conftest
$ac_exeext
32046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32047 (eval $ac_link) 2>&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); } &&
32051 { ac_try
='test -s conftest$ac_exeext'
32052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32053 (eval $ac_try) 2>&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); }; }; then
32057 ac_cv_lib_shl_load_dld
=yes
32059 echo "$as_me: failed program was:" >&5
32060 sed 's/^/| /' conftest.
$ac_ext >&5
32062 ac_cv_lib_shl_load_dld
=no
32064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32065 LIBS
=$ac_check_lib_save_LIBS
32067 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32068 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32069 if test $ac_cv_lib_shl_load_dld = yes; then
32072 DL_LINK
=" -ldld$DL_LINK"
32088 if test "$HAVE_DL_FUNCS" = 1; then
32090 for ac_func
in dlerror
32092 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32093 echo "$as_me:$LINENO: checking for $ac_func" >&5
32094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32095 if eval "test \"\${$as_ac_var+set}\" = set"; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32098 cat >conftest.
$ac_ext <<_ACEOF
32099 #line $LINENO "configure"
32102 cat confdefs.h
>>conftest.
$ac_ext
32103 cat >>conftest.
$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 /* System header to define __stub macros and hopefully few prototypes,
32106 which can conflict with char $ac_func (); below.
32107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32108 <limits.h> exists even on freestanding compilers. */
32110 # include <limits.h>
32112 # include <assert.h>
32114 /* Override any gcc2 internal prototype to avoid an error. */
32119 /* We use char because int might match the return type of a gcc2
32120 builtin and then its argument prototype would still apply. */
32122 /* The GNU C library defines this for functions which it implements
32123 to always fail with ENOSYS. Some functions are actually named
32124 something starting with __ and the normal name is an alias. */
32125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32128 char (*f) () = $ac_func;
32137 return f != $ac_func;
32142 rm -f conftest.
$ac_objext conftest
$ac_exeext
32143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32144 (eval $ac_link) 2>&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } &&
32148 { ac_try
='test -s conftest$ac_exeext'
32149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32150 (eval $ac_try) 2>&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); }; }; then
32154 eval "$as_ac_var=yes"
32156 echo "$as_me: failed program was:" >&5
32157 sed 's/^/| /' conftest.
$ac_ext >&5
32159 eval "$as_ac_var=no"
32161 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32165 if test `eval echo '${'$as_ac_var'}'` = yes; then
32166 cat >>confdefs.h
<<_ACEOF
32167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32169 cat >>confdefs.h
<<\_ACEOF
32170 #define HAVE_DLERROR 1
32174 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32175 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32176 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32177 echo $ECHO_N "(cached) $ECHO_C" >&6
32179 ac_check_lib_save_LIBS
=$LIBS
32181 cat >conftest.
$ac_ext <<_ACEOF
32182 #line $LINENO "configure"
32185 cat confdefs.h
>>conftest.
$ac_ext
32186 cat >>conftest.
$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32189 /* Override any gcc2 internal prototype to avoid an error. */
32193 /* We use char because int might match the return type of a gcc2
32194 builtin and then its argument prototype would still apply. */
32204 rm -f conftest.
$ac_objext conftest
$ac_exeext
32205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32206 (eval $ac_link) 2>&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); } &&
32210 { ac_try
='test -s conftest$ac_exeext'
32211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32212 (eval $ac_try) 2>&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); }; }; then
32216 ac_cv_lib_dl_dlerror
=yes
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.
$ac_ext >&5
32221 ac_cv_lib_dl_dlerror
=no
32223 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32224 LIBS
=$ac_check_lib_save_LIBS
32226 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32227 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32228 if test $ac_cv_lib_dl_dlerror = yes; then
32229 cat >>confdefs.h
<<\_ACEOF
32230 #define HAVE_DLERROR 1
32241 if test "$HAVE_DL_FUNCS" = 0; then
32242 if test "$HAVE_SHL_FUNCS" = 0; then
32243 if test "$USE_UNIX" = 1; then
32244 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32245 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32246 wxUSE_DYNAMIC_LOADER
=no
32247 wxUSE_DYNLIB_CLASS
=no
32249 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32250 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32257 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32258 cat >>confdefs.h
<<\_ACEOF
32259 #define wxUSE_DYNAMIC_LOADER 1
32263 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32264 cat >>confdefs.h
<<\_ACEOF
32265 #define wxUSE_DYNLIB_CLASS 1
32271 if test "$wxUSE_FONTMAP" = "yes" ; then
32272 cat >>confdefs.h
<<\_ACEOF
32273 #define wxUSE_FONTMAP 1
32278 if test "$wxUSE_UNICODE" = "yes" ; then
32279 cat >>confdefs.h
<<\_ACEOF
32280 #define wxUSE_UNICODE 1
32284 if test "$USE_WIN32" != 1; then
32285 wxUSE_UNICODE_MSLU
=no
32288 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32289 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32290 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32291 if test "${ac_cv_lib_unicows_main+set}" = set; then
32292 echo $ECHO_N "(cached) $ECHO_C" >&6
32294 ac_check_lib_save_LIBS
=$LIBS
32295 LIBS
="-lunicows $LIBS"
32296 cat >conftest.
$ac_ext <<_ACEOF
32297 #line $LINENO "configure"
32300 cat confdefs.h
>>conftest.
$ac_ext
32301 cat >>conftest.
$ac_ext <<_ACEOF
32302 /* end confdefs.h. */
32313 rm -f conftest.
$ac_objext conftest
$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>&5
32317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); } &&
32319 { ac_try
='test -s conftest$ac_exeext'
32320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32321 (eval $ac_try) 2>&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); }; }; then
32325 ac_cv_lib_unicows_main
=yes
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32330 ac_cv_lib_unicows_main
=no
32332 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32333 LIBS
=$ac_check_lib_save_LIBS
32335 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32336 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32337 if test $ac_cv_lib_unicows_main = yes; then
32339 cat >>confdefs.h
<<\_ACEOF
32340 #define wxUSE_UNICODE_MSLU 1
32346 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32347 Applications will only run on Windows NT/2000/XP!" >&5
32348 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32349 Applications will only run on Windows NT/2000/XP!" >&2;}
32350 wxUSE_UNICODE_MSLU
=no
32357 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32358 cat >>confdefs.h
<<\_ACEOF
32359 #define wxUSE_EXPERIMENTAL_PRINTF 1
32365 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32366 cat >>confdefs.h
<<\_ACEOF
32367 #define wxUSE_POSTSCRIPT 1
32372 cat >>confdefs.h
<<\_ACEOF
32373 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32377 cat >>confdefs.h
<<\_ACEOF
32378 #define wxUSE_NORMALIZED_PS_FONTS 1
32383 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32384 cat >>confdefs.h
<<\_ACEOF
32385 #define wxUSE_CONSTRAINTS 1
32388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32391 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32392 cat >>confdefs.h
<<\_ACEOF
32393 #define wxUSE_MDI_ARCHITECTURE 1
32396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32399 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32400 cat >>confdefs.h
<<\_ACEOF
32401 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32405 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32410 if test "$wxUSE_HELP" = "yes"; then
32411 cat >>confdefs.h
<<\_ACEOF
32412 #define wxUSE_HELP 1
32415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32417 if test "$wxUSE_MSW" = 1; then
32418 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32419 cat >>confdefs.h
<<\_ACEOF
32420 #define wxUSE_MS_HTML_HELP 1
32426 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32427 if test "$wxUSE_HTML" = "yes"; then
32428 cat >>confdefs.h
<<\_ACEOF
32429 #define wxUSE_WXHTML_HELP 1
32433 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32434 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32435 wxUSE_WXHTML_HELP
=no
32440 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32441 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32442 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32443 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32445 cat >>confdefs.h
<<\_ACEOF
32446 #define wxUSE_PRINTING_ARCHITECTURE 1
32450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32453 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32454 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32455 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32456 { (exit 1); exit 1; }; }
32460 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32461 -o "$wxUSE_CLIPBOARD" = "yes" \
32462 -o "$wxUSE_OLE" = "yes" \
32463 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32465 for ac_header
in ole2.h
32467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32469 echo "$as_me:$LINENO: checking for $ac_header" >&5
32470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32472 echo $ECHO_N "(cached) $ECHO_C" >&6
32474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32477 # Is the header compilable?
32478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32480 cat >conftest.
$ac_ext <<_ACEOF
32481 #line $LINENO "configure"
32484 cat confdefs.h
>>conftest.
$ac_ext
32485 cat >>conftest.
$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 $ac_includes_default
32488 #include <$ac_header>
32490 rm -f conftest.
$ac_objext
32491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32492 (eval $ac_compile) 2>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } &&
32496 { ac_try
='test -s conftest.$ac_objext'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; }; then
32502 ac_header_compiler
=yes
32504 echo "$as_me: failed program was:" >&5
32505 sed 's/^/| /' conftest.
$ac_ext >&5
32507 ac_header_compiler
=no
32509 rm -f conftest.
$ac_objext conftest.
$ac_ext
32510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32511 echo "${ECHO_T}$ac_header_compiler" >&6
32513 # Is the header present?
32514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32516 cat >conftest.
$ac_ext <<_ACEOF
32517 #line $LINENO "configure"
32520 cat confdefs.h
>>conftest.
$ac_ext
32521 cat >>conftest.
$ac_ext <<_ACEOF
32522 /* end confdefs.h. */
32523 #include <$ac_header>
32525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32528 grep -v '^ *+' conftest.er1
>conftest.err
32530 cat conftest.err
>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } >/dev
/null
; then
32533 if test -s conftest.err
; then
32534 ac_cpp_err
=$ac_c_preproc_warn_flag
32541 if test -z "$ac_cpp_err"; then
32542 ac_header_preproc
=yes
32544 echo "$as_me: failed program was:" >&5
32545 sed 's/^/| /' conftest.
$ac_ext >&5
32547 ac_header_preproc
=no
32549 rm -f conftest.err conftest.
$ac_ext
32550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32551 echo "${ECHO_T}$ac_header_preproc" >&6
32553 # So? What about this header?
32554 case $ac_header_compiler:$ac_header_preproc in
32556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32562 ## ------------------------------------ ##
32563 ## Report this to bug-autoconf@gnu.org. ##
32564 ## ------------------------------------ ##
32567 sed "s/^/$as_me: WARNING: /" >&2
32570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32578 ## ------------------------------------ ##
32579 ## Report this to bug-autoconf@gnu.org. ##
32580 ## ------------------------------------ ##
32583 sed "s/^/$as_me: WARNING: /" >&2
32586 echo "$as_me:$LINENO: checking for $ac_header" >&5
32587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32591 eval "$as_ac_Header=$ac_header_preproc"
32593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32598 cat >>confdefs.h
<<_ACEOF
32599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32607 if test "$ac_cv_header_ole2_h" = "yes" ; then
32608 if test "$GCC" = yes ; then
32612 ac_cpp
='$CXXCPP $CPPFLAGS'
32613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32618 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32619 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32620 cat >conftest.
$ac_ext <<_ACEOF
32621 #line $LINENO "configure"
32624 cat confdefs.h
>>conftest.
$ac_ext
32625 cat >>conftest.
$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 #include <windows.h>
32637 rm -f conftest.
$ac_objext
32638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32639 (eval $ac_compile) 2>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); } &&
32643 { ac_try
='test -s conftest.$ac_objext'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; }; then
32649 echo "$as_me:$LINENO: result: no" >&5
32650 echo "${ECHO_T}no" >&6
32652 echo "$as_me: failed program was:" >&5
32653 sed 's/^/| /' conftest.
$ac_ext >&5
32655 echo "$as_me:$LINENO: result: yes" >&5
32656 echo "${ECHO_T}yes" >&6
32657 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32659 rm -f conftest.
$ac_objext conftest.
$ac_ext
32661 ac_cpp
='$CPP $CPPFLAGS'
32662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32666 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32667 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32668 cat >>confdefs.h
<<\_ACEOF
32669 #define wxUSE_OLE 1
32675 cat >>confdefs.h
<<\_ACEOF
32676 #define wxUSE_DATAOBJ 1
32680 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32681 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32684 wxUSE_DRAG_AND_DROP
=no
32689 if test "$wxUSE_METAFILE" = "yes"; then
32690 cat >>confdefs.h
<<\_ACEOF
32691 #define wxUSE_METAFILE 1
32695 cat >>confdefs.h
<<\_ACEOF
32696 #define wxUSE_ENH_METAFILE 1
32702 if test "$wxUSE_IPC" = "yes"; then
32703 if test "$wxUSE_SOCKETS" != "yes"; then
32704 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32705 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32708 cat >>confdefs.h
<<\_ACEOF
32709 #define wxUSE_IPC 1
32714 if test "$wxUSE_CLIPBOARD" = "yes"; then
32715 if test "$wxUSE_MGL" = 1; then
32716 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32717 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32721 if test "$wxUSE_CLIPBOARD" = "yes"; then
32722 cat >>confdefs.h
<<\_ACEOF
32723 #define wxUSE_CLIPBOARD 1
32727 cat >>confdefs.h
<<\_ACEOF
32728 #define wxUSE_DATAOBJ 1
32734 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32735 if test "$wxUSE_GTK" = 1; then
32736 if test "$WXGTK12" != 1; then
32737 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32738 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32739 wxUSE_DRAG_AND_DROP
=no
32743 if test "$wxUSE_MOTIF" = 1; then
32744 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32745 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32746 wxUSE_DRAG_AND_DROP
=no
32749 if test "$wxUSE_X11" = 1; then
32750 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32751 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32752 wxUSE_DRAG_AND_DROP
=no
32755 if test "$wxUSE_MGL" = 1; then
32756 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32757 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32758 wxUSE_DRAG_AND_DROP
=no
32761 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32762 cat >>confdefs.h
<<\_ACEOF
32763 #define wxUSE_DRAG_AND_DROP 1
32766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32771 if test "$wxUSE_SPLINES" = "yes" ; then
32772 cat >>confdefs.h
<<\_ACEOF
32773 #define wxUSE_SPLINES 1
32780 if test "$wxUSE_CONTROLS" = "yes"; then
32784 if test "$wxUSE_ACCEL" = "yes"; then
32785 cat >>confdefs.h
<<\_ACEOF
32786 #define wxUSE_ACCEL 1
32792 if test "$wxUSE_BUTTON" = "yes"; then
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_BUTTON 1
32800 if test "$wxUSE_BMPBUTTON" = "yes"; then
32801 cat >>confdefs.h
<<\_ACEOF
32802 #define wxUSE_BMPBUTTON 1
32808 if test "$wxUSE_CALCTRL" = "yes"; then
32809 cat >>confdefs.h
<<\_ACEOF
32810 #define wxUSE_CALENDARCTRL 1
32814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32817 if test "$wxUSE_CARET" = "yes"; then
32818 cat >>confdefs.h
<<\_ACEOF
32819 #define wxUSE_CARET 1
32823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32826 if test "$wxUSE_COMBOBOX" = "yes"; then
32827 cat >>confdefs.h
<<\_ACEOF
32828 #define wxUSE_COMBOBOX 1
32834 if test "$wxUSE_CHOICE" = "yes"; then
32835 cat >>confdefs.h
<<\_ACEOF
32836 #define wxUSE_CHOICE 1
32842 if test "$wxUSE_CHECKBOX" = "yes"; then
32843 cat >>confdefs.h
<<\_ACEOF
32844 #define wxUSE_CHECKBOX 1
32850 if test "$wxUSE_CHECKLST" = "yes"; then
32851 cat >>confdefs.h
<<\_ACEOF
32852 #define wxUSE_CHECKLISTBOX 1
32856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32859 if test "$wxUSE_DISPLAY" = "yes"; then
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define wxUSE_DISPLAY 1
32864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32867 if test "$wxUSE_GAUGE" = "yes"; then
32868 cat >>confdefs.h
<<\_ACEOF
32869 #define wxUSE_GAUGE 1
32875 if test "$wxUSE_GRID" = "yes"; then
32876 cat >>confdefs.h
<<\_ACEOF
32877 #define wxUSE_GRID 1
32881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32884 if test "$wxUSE_IMAGLIST" = "yes"; then
32885 cat >>confdefs.h
<<\_ACEOF
32886 #define wxUSE_IMAGLIST 1
32891 if test "$wxUSE_LISTBOX" = "yes"; then
32892 cat >>confdefs.h
<<\_ACEOF
32893 #define wxUSE_LISTBOX 1
32899 if test "$wxUSE_LISTCTRL" = "yes"; then
32900 if test "$wxUSE_IMAGLIST" = "yes"; then
32901 cat >>confdefs.h
<<\_ACEOF
32902 #define wxUSE_LISTCTRL 1
32906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32908 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32909 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32913 if test "$wxUSE_NOTEBOOK" = "yes"; then
32914 cat >>confdefs.h
<<\_ACEOF
32915 #define wxUSE_NOTEBOOK 1
32919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32923 if test "$wxUSE_RADIOBOX" = "yes"; then
32924 cat >>confdefs.h
<<\_ACEOF
32925 #define wxUSE_RADIOBOX 1
32931 if test "$wxUSE_RADIOBTN" = "yes"; then
32932 cat >>confdefs.h
<<\_ACEOF
32933 #define wxUSE_RADIOBTN 1
32939 if test "$wxUSE_SASH" = "yes"; then
32940 cat >>confdefs.h
<<\_ACEOF
32941 #define wxUSE_SASH 1
32944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32947 if test "$wxUSE_SCROLLBAR" = "yes"; then
32948 cat >>confdefs.h
<<\_ACEOF
32949 #define wxUSE_SCROLLBAR 1
32953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32956 if test "$wxUSE_SLIDER" = "yes"; then
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define wxUSE_SLIDER 1
32964 if test "$wxUSE_SPINBTN" = "yes"; then
32965 cat >>confdefs.h
<<\_ACEOF
32966 #define wxUSE_SPINBTN 1
32972 if test "$wxUSE_SPINCTRL" = "yes"; then
32973 cat >>confdefs.h
<<\_ACEOF
32974 #define wxUSE_SPINCTRL 1
32980 if test "$wxUSE_SPLITTER" = "yes"; then
32981 cat >>confdefs.h
<<\_ACEOF
32982 #define wxUSE_SPLITTER 1
32985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32988 if test "$wxUSE_STATBMP" = "yes"; then
32989 cat >>confdefs.h
<<\_ACEOF
32990 #define wxUSE_STATBMP 1
32996 if test "$wxUSE_STATBOX" = "yes"; then
32997 cat >>confdefs.h
<<\_ACEOF
32998 #define wxUSE_STATBOX 1
33004 if test "$wxUSE_STATTEXT" = "yes"; then
33005 cat >>confdefs.h
<<\_ACEOF
33006 #define wxUSE_STATTEXT 1
33012 if test "$wxUSE_STATLINE" = "yes"; then
33013 cat >>confdefs.h
<<\_ACEOF
33014 #define wxUSE_STATLINE 1
33020 if test "$wxUSE_STATUSBAR" = "yes"; then
33021 cat >>confdefs.h
<<\_ACEOF
33022 #define wxUSE_STATUSBAR 1
33027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33030 if test "$wxUSE_TABDIALOG" = "yes"; then
33031 cat >>confdefs.h
<<\_ACEOF
33032 #define wxUSE_TAB_DIALOG 1
33035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33038 if test "$wxUSE_TEXTCTRL" = "yes"; then
33039 cat >>confdefs.h
<<\_ACEOF
33040 #define wxUSE_TEXTCTRL 1
33044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33047 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33048 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33049 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33050 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33053 if test "$wxUSE_UNIVERSAL" = "yes"; then
33054 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33055 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33059 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33060 cat >>confdefs.h
<<\_ACEOF
33061 #define wxUSE_TOGGLEBTN 1
33068 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33069 cat >>confdefs.h
<<\_ACEOF
33070 #define wxUSE_TOOLBAR_SIMPLE 1
33073 wxUSE_TOOLBAR
="yes"
33077 if test "$wxUSE_TOOLBAR" = "yes"; then
33078 cat >>confdefs.h
<<\_ACEOF
33079 #define wxUSE_TOOLBAR 1
33084 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33085 wxUSE_TOOLBAR_NATIVE
="yes"
33088 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33089 cat >>confdefs.h
<<\_ACEOF
33090 #define wxUSE_TOOLBAR_NATIVE 1
33096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33099 if test "$wxUSE_TOOLTIPS" = "yes"; then
33100 if test "$wxUSE_MOTIF" = 1; then
33101 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33102 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33104 if test "$wxUSE_UNIVERSAL" = "yes"; then
33105 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33106 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33108 cat >>confdefs.h
<<\_ACEOF
33109 #define wxUSE_TOOLTIPS 1
33116 if test "$wxUSE_TREECTRL" = "yes"; then
33117 if test "$wxUSE_IMAGLIST" = "yes"; then
33118 cat >>confdefs.h
<<\_ACEOF
33119 #define wxUSE_TREECTRL 1
33123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33125 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33126 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33130 if test "$wxUSE_POPUPWIN" = "yes"; then
33131 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33132 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33133 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33135 if test "$wxUSE_MOTIF" = 1; then
33136 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33137 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33139 if test "$wxUSE_PM" = 1; then
33140 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33141 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33143 cat >>confdefs.h
<<\_ACEOF
33144 #define wxUSE_POPUPWIN 1
33154 if test "$wxUSE_TIPWINDOW" = "yes"; then
33155 if test "$wxUSE_PM" = 1; then
33156 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33157 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define wxUSE_TIPWINDOW 1
33166 if test "$USES_CONTROLS" = 1; then
33167 cat >>confdefs.h
<<\_ACEOF
33168 #define wxUSE_CONTROLS 1
33175 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33176 cat >>confdefs.h
<<\_ACEOF
33177 #define wxUSE_DRAGIMAGE 1
33180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33183 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33184 cat >>confdefs.h
<<\_ACEOF
33185 #define wxUSE_ACCESSIBILITY 1
33188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33191 if test "$wxUSE_MENUS" = "yes"; then
33192 cat >>confdefs.h
<<\_ACEOF
33193 #define wxUSE_MENUS 1
33196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33199 if test "$wxUSE_METAFILE" = "yes"; then
33200 cat >>confdefs.h
<<\_ACEOF
33201 #define wxUSE_METAFILE 1
33206 if test "$wxUSE_MIMETYPE" = "yes"; then
33207 cat >>confdefs.h
<<\_ACEOF
33208 #define wxUSE_MIMETYPE 1
33213 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33214 cat >>confdefs.h
<<\_ACEOF
33215 #define wxUSE_SYSTEM_OPTIONS 1
33218 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33219 "$TOOLKIT" = "MOTIF"; then
33220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33225 if test "$wxUSE_MINIFRAME" = "yes"; then
33226 cat >>confdefs.h
<<\_ACEOF
33227 #define wxUSE_MINIFRAME 1
33230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33234 if test "$wxUSE_HTML" = "yes"; then
33235 cat >>confdefs.h
<<\_ACEOF
33236 #define wxUSE_HTML 1
33240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33243 if test "$wxUSE_VALIDATORS" = "yes"; then
33244 cat >>confdefs.h
<<\_ACEOF
33245 #define wxUSE_VALIDATORS 1
33248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33251 if test "$wxUSE_PALETTE" = "yes" ; then
33252 cat >>confdefs.h
<<\_ACEOF
33253 #define wxUSE_PALETTE 1
33258 if test "$wxUSE_IMAGE" = "yes" ; then
33259 cat >>confdefs.h
<<\_ACEOF
33260 #define wxUSE_IMAGE 1
33265 if test "$wxUSE_GIF" = "yes" ; then
33266 cat >>confdefs.h
<<\_ACEOF
33267 #define wxUSE_GIF 1
33272 if test "$wxUSE_PCX" = "yes" ; then
33273 cat >>confdefs.h
<<\_ACEOF
33274 #define wxUSE_PCX 1
33279 if test "$wxUSE_IFF" = "yes" ; then
33280 cat >>confdefs.h
<<\_ACEOF
33281 #define wxUSE_IFF 1
33286 if test "$wxUSE_PNM" = "yes" ; then
33287 cat >>confdefs.h
<<\_ACEOF
33288 #define wxUSE_PNM 1
33293 if test "$wxUSE_XPM" = "yes" ; then
33294 cat >>confdefs.h
<<\_ACEOF
33295 #define wxUSE_XPM 1
33300 if test "$wxUSE_ICO_CUR" = "yes" ; then
33301 cat >>confdefs.h
<<\_ACEOF
33302 #define wxUSE_ICO_CUR 1
33307 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33308 LIBS
=" -lunicows $LIBS"
33312 if test "$wxUSE_CHOICEDLG" = "yes"; then
33313 cat >>confdefs.h
<<\_ACEOF
33314 #define wxUSE_CHOICEDLG 1
33319 if test "$wxUSE_COLOURDLG" = "yes"; then
33320 cat >>confdefs.h
<<\_ACEOF
33321 #define wxUSE_COLOURDLG 1
33326 if test "$wxUSE_FILEDLG" = "yes"; then
33327 cat >>confdefs.h
<<\_ACEOF
33328 #define wxUSE_FILEDLG 1
33333 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33334 cat >>confdefs.h
<<\_ACEOF
33335 #define wxUSE_FINDREPLDLG 1
33340 if test "$wxUSE_FONTDLG" = "yes"; then
33341 cat >>confdefs.h
<<\_ACEOF
33342 #define wxUSE_FONTDLG 1
33347 if test "$wxUSE_DIRDLG" = "yes"; then
33348 if test "$wxUSE_TREECTRL" != "yes"; then
33349 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33350 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33352 cat >>confdefs.h
<<\_ACEOF
33353 #define wxUSE_DIRDLG 1
33359 if test "$wxUSE_MSGDLG" = "yes"; then
33360 cat >>confdefs.h
<<\_ACEOF
33361 #define wxUSE_MSGDLG 1
33366 if test "$wxUSE_NUMBERDLG" = "yes"; then
33367 cat >>confdefs.h
<<\_ACEOF
33368 #define wxUSE_NUMBERDLG 1
33373 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33374 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33375 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33376 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33378 cat >>confdefs.h
<<\_ACEOF
33379 #define wxUSE_PROGRESSDLG 1
33385 if test "$wxUSE_SPLASH" = "yes"; then
33386 cat >>confdefs.h
<<\_ACEOF
33387 #define wxUSE_SPLASH 1
33392 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33393 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33394 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33395 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33397 cat >>confdefs.h
<<\_ACEOF
33398 #define wxUSE_STARTUP_TIPS 1
33404 if test "$wxUSE_TEXTDLG" = "yes"; then
33405 cat >>confdefs.h
<<\_ACEOF
33406 #define wxUSE_TEXTDLG 1
33411 if test "$wxUSE_WIZARDDLG" = "yes"; then
33412 cat >>confdefs.h
<<\_ACEOF
33413 #define wxUSE_WIZARDDLG 1
33416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33420 if test "$cross_compiling" = "yes"; then
33423 OSINFO
=`uname -s -r -m`
33424 OSINFO
="\"$OSINFO\""
33427 cat >>confdefs.h
<<_ACEOF
33428 #define WXWIN_OS_DESCRIPTION $OSINFO
33433 if test "x$prefix" != "xNONE"; then
33436 wxPREFIX
=$ac_default_prefix
33439 cat >>confdefs.h
<<_ACEOF
33440 #define wxINSTALL_PREFIX "$wxPREFIX"
33444 top_builddir_wxconfig
=`pwd`
33448 CORE_BASE_LIBS
="net base"
33449 CORE_GUI_LIBS
="adv core"
33451 if test "$wxUSE_XML" = "yes" ; then
33452 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33454 if test "$wxUSE_ODBC" != "no" ; then
33455 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33456 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33458 if test "$wxUSE_HTML" = "yes" ; then
33459 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33469 if test "$wxUSE_MAC" = 1 ; then
33470 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33472 if test "$wxUSE_COCOA" = 1 ; then
33473 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33477 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33485 echo "$as_me:$LINENO: checking for $ac_func" >&5
33486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33487 if eval "test \"\${$as_ac_var+set}\" = set"; then
33488 echo $ECHO_N "(cached) $ECHO_C" >&6
33490 cat >conftest.
$ac_ext <<_ACEOF
33491 #line $LINENO "configure"
33494 cat confdefs.h
>>conftest.
$ac_ext
33495 cat >>conftest.
$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33497 /* System header to define __stub macros and hopefully few prototypes,
33498 which can conflict with char $ac_func (); below.
33499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33500 <limits.h> exists even on freestanding compilers. */
33502 # include <limits.h>
33504 # include <assert.h>
33506 /* Override any gcc2 internal prototype to avoid an error. */
33511 /* We use char because int might match the return type of a gcc2
33512 builtin and then its argument prototype would still apply. */
33514 /* The GNU C library defines this for functions which it implements
33515 to always fail with ENOSYS. Some functions are actually named
33516 something starting with __ and the normal name is an alias. */
33517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33520 char (*f) () = $ac_func;
33529 return f != $ac_func;
33534 rm -f conftest.
$ac_objext conftest
$ac_exeext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33536 (eval $ac_link) 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } &&
33540 { ac_try
='test -s conftest$ac_exeext'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; }; then
33546 eval "$as_ac_var=yes"
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.
$ac_ext >&5
33551 eval "$as_ac_var=no"
33553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33557 if test `eval echo '${'$as_ac_var'}'` = yes; then
33558 cat >>confdefs.h
<<_ACEOF
33559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33566 for ac_func
in floor
33568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33569 echo "$as_me:$LINENO: checking for $ac_func" >&5
33570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33571 if eval "test \"\${$as_ac_var+set}\" = set"; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 cat >conftest.
$ac_ext <<_ACEOF
33575 #line $LINENO "configure"
33578 cat confdefs.h
>>conftest.
$ac_ext
33579 cat >>conftest.
$ac_ext <<_ACEOF
33580 /* end confdefs.h. */
33581 /* System header to define __stub macros and hopefully few prototypes,
33582 which can conflict with char $ac_func (); below.
33583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33584 <limits.h> exists even on freestanding compilers. */
33586 # include <limits.h>
33588 # include <assert.h>
33590 /* Override any gcc2 internal prototype to avoid an error. */
33595 /* We use char because int might match the return type of a gcc2
33596 builtin and then its argument prototype would still apply. */
33598 /* The GNU C library defines this for functions which it implements
33599 to always fail with ENOSYS. Some functions are actually named
33600 something starting with __ and the normal name is an alias. */
33601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33604 char (*f) () = $ac_func;
33613 return f != $ac_func;
33618 rm -f conftest.
$ac_objext conftest
$ac_exeext
33619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33620 (eval $ac_link) 2>&5
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); } &&
33624 { ac_try
='test -s conftest$ac_exeext'
33625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33626 (eval $ac_try) 2>&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); }; }; then
33630 eval "$as_ac_var=yes"
33632 echo "$as_me: failed program was:" >&5
33633 sed 's/^/| /' conftest.
$ac_ext >&5
33635 eval "$as_ac_var=no"
33637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33641 if test `eval echo '${'$as_ac_var'}'` = yes; then
33642 cat >>confdefs.h
<<_ACEOF
33643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33649 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33650 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33651 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33652 echo "$as_me:$LINENO: result: yes" >&5
33653 echo "${ECHO_T}yes" >&6
33655 echo "$as_me:$LINENO: result: no" >&5
33656 echo "${ECHO_T}no" >&6
33658 # use different functions to avoid configure caching
33664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33665 echo "$as_me:$LINENO: checking for $ac_func" >&5
33666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33667 if eval "test \"\${$as_ac_var+set}\" = set"; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 cat >conftest.
$ac_ext <<_ACEOF
33671 #line $LINENO "configure"
33674 cat confdefs.h
>>conftest.
$ac_ext
33675 cat >>conftest.
$ac_ext <<_ACEOF
33676 /* end confdefs.h. */
33677 /* System header to define __stub macros and hopefully few prototypes,
33678 which can conflict with char $ac_func (); below.
33679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33680 <limits.h> exists even on freestanding compilers. */
33682 # include <limits.h>
33684 # include <assert.h>
33686 /* Override any gcc2 internal prototype to avoid an error. */
33691 /* We use char because int might match the return type of a gcc2
33692 builtin and then its argument prototype would still apply. */
33694 /* The GNU C library defines this for functions which it implements
33695 to always fail with ENOSYS. Some functions are actually named
33696 something starting with __ and the normal name is an alias. */
33697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33700 char (*f) () = $ac_func;
33709 return f != $ac_func;
33714 rm -f conftest.
$ac_objext conftest
$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716 (eval $ac_link) 2>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try
='test -s conftest$ac_exeext'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; }; then
33726 eval "$as_ac_var=yes"
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.
$ac_ext >&5
33731 eval "$as_ac_var=no"
33733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33737 if test `eval echo '${'$as_ac_var'}'` = yes; then
33738 cat >>confdefs.h
<<_ACEOF
33739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33746 for ac_func
in ceil
33748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33749 echo "$as_me:$LINENO: checking for $ac_func" >&5
33750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33751 if eval "test \"\${$as_ac_var+set}\" = set"; then
33752 echo $ECHO_N "(cached) $ECHO_C" >&6
33754 cat >conftest.
$ac_ext <<_ACEOF
33755 #line $LINENO "configure"
33758 cat confdefs.h
>>conftest.
$ac_ext
33759 cat >>conftest.
$ac_ext <<_ACEOF
33760 /* end confdefs.h. */
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char $ac_func (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33766 # include <limits.h>
33768 # include <assert.h>
33770 /* Override any gcc2 internal prototype to avoid an error. */
33775 /* We use char because int might match the return type of a gcc2
33776 builtin and then its argument prototype would still apply. */
33778 /* The GNU C library defines this for functions which it implements
33779 to always fail with ENOSYS. Some functions are actually named
33780 something starting with __ and the normal name is an alias. */
33781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33784 char (*f) () = $ac_func;
33793 return f != $ac_func;
33798 rm -f conftest.
$ac_objext conftest
$ac_exeext
33799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33800 (eval $ac_link) 2>&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } &&
33804 { ac_try
='test -s conftest$ac_exeext'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }; then
33810 eval "$as_ac_var=yes"
33812 echo "$as_me: failed program was:" >&5
33813 sed 's/^/| /' conftest.
$ac_ext >&5
33815 eval "$as_ac_var=no"
33817 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33821 if test `eval echo '${'$as_ac_var'}'` = yes; then
33822 cat >>confdefs.h
<<_ACEOF
33823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33829 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33830 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33831 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33832 echo "$as_me:$LINENO: result: yes" >&5
33833 echo "${ECHO_T}yes" >&6
33835 echo "$as_me:$LINENO: result: no" >&5
33836 echo "${ECHO_T}no" >&6
33837 # not sure we should warn the user, crash, etc.
33841 if test "$wxUSE_GUI" = "yes"; then
33844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33845 drawing dynamic erase event exec font image \
33846 minimal propsize rotate shaped widgets render"
33848 if test "$wxUSE_MONOLITHIC" != "yes"; then
33849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33852 SAMPLES_SUBDIRS
="console"
33856 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33857 -I\${top_srcdir}/include \
33858 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33861 if test "$GXX" = yes ; then
33862 CXXWARNINGS
="-Wall"
33865 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33867 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33868 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33869 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33872 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33873 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33874 EXTRALIBS_XML
="$EXPAT_LINK"
33875 EXTRALIBS_ODBC
="$ODBC_LINK"
33876 if test "$wxUSE_GUI" = "yes"; then
33877 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33879 if test "$wxUSE_OPENGL" = "yes"; then
33880 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33883 LDFLAGS
="$LDFLAGS $PROFILE"
33885 if test "$wxUSE_GTK" = 1; then
33888 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33891 WXCONFIG_EXTRALIBS
="$LIBS"
33893 if test "$wxUSE_REGEX" = "builtin" ; then
33894 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33896 if test "$wxUSE_EXPAT" = "builtin" ; then
33897 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33899 if test "$wxUSE_ODBC" = "builtin" ; then
33900 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33902 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33903 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33905 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33906 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33908 if test "$wxUSE_LIBPNG" = "builtin" ; then
33909 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33911 if test "$wxUSE_ZLIB" = "builtin" ; then
33912 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33914 if test "$wxUSE_ODBC" = "builtin" ; then
33915 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33918 for i
in $wxconfig_3rdparty ; do
33919 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33923 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33937 if test $wxUSE_MONOLITHIC = "yes" ; then
33943 if test $wxUSE_ODBC != "no" ; then
33949 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33971 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33979 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33981 if test -n "$ac_tool_prefix"; then
33982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33983 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33984 echo "$as_me:$LINENO: checking for $ac_word" >&5
33985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33986 if test "${ac_cv_prog_RANLIB+set}" = set; then
33987 echo $ECHO_N "(cached) $ECHO_C" >&6
33989 if test -n "$RANLIB"; then
33990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33993 for as_dir
in $PATH
33996 test -z "$as_dir" && as_dir
=.
33997 for ac_exec_ext
in '' $ac_executable_extensions; do
33998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33999 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34008 RANLIB
=$ac_cv_prog_RANLIB
34009 if test -n "$RANLIB"; then
34010 echo "$as_me:$LINENO: result: $RANLIB" >&5
34011 echo "${ECHO_T}$RANLIB" >&6
34013 echo "$as_me:$LINENO: result: no" >&5
34014 echo "${ECHO_T}no" >&6
34018 if test -z "$ac_cv_prog_RANLIB"; then
34019 ac_ct_RANLIB
=$RANLIB
34020 # Extract the first word of "ranlib", so it can be a program name with args.
34021 set dummy ranlib
; ac_word
=$2
34022 echo "$as_me:$LINENO: checking for $ac_word" >&5
34023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34027 if test -n "$ac_ct_RANLIB"; then
34028 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34031 for as_dir
in $PATH
34034 test -z "$as_dir" && as_dir
=.
34035 for ac_exec_ext
in '' $ac_executable_extensions; do
34036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34037 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34044 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34047 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34048 if test -n "$ac_ct_RANLIB"; then
34049 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34052 echo "$as_me:$LINENO: result: no" >&5
34053 echo "${ECHO_T}no" >&6
34056 RANLIB
=$ac_ct_RANLIB
34058 RANLIB
="$ac_cv_prog_RANLIB"
34061 # Find a good install program. We prefer a C program (faster),
34062 # so one script is as good as another. But avoid the broken or
34063 # incompatible versions:
34064 # SysV /etc/install, /usr/sbin/install
34065 # SunOS /usr/etc/install
34066 # IRIX /sbin/install
34068 # AmigaOS /C/install, which installs bootblocks on floppy discs
34069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34072 # ./install, which can be erroneously created by make from ./install.sh.
34073 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34074 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34075 if test -z "$INSTALL"; then
34076 if test "${ac_cv_path_install+set}" = set; then
34077 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34080 for as_dir
in $PATH
34083 test -z "$as_dir" && as_dir
=.
34084 # Account for people who put trailing slashes in PATH elements.
34086 .
/ | .
// | /cC
/* | \
34087 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34090 # OSF1 and SCO ODT 3.0 have their own names for install.
34091 # Don't use installbsd from OSF since it installs stuff as root
34093 for ac_prog
in ginstall scoinst
install; do
34094 for ac_exec_ext
in '' $ac_executable_extensions; do
34095 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34096 if test $ac_prog = install &&
34097 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34098 # AIX install. It has an incompatible calling convention.
34100 elif test $ac_prog = install &&
34101 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34102 # program-specific install script used by HP pwplus--don't use.
34105 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34117 if test "${ac_cv_path_install+set}" = set; then
34118 INSTALL
=$ac_cv_path_install
34120 # As a last resort, use the slow shell script. We don't cache a
34121 # path for INSTALL within a source directory, because that will
34122 # break other packages using the cache if that directory is
34123 # removed, or if the path is relative.
34124 INSTALL
=$ac_install_sh
34127 echo "$as_me:$LINENO: result: $INSTALL" >&5
34128 echo "${ECHO_T}$INSTALL" >&6
34130 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34131 # It thinks the first close brace ends the variable substitution.
34132 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34134 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34136 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34138 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34139 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34141 if test "$LN_S" = "ln -s"; then
34142 echo "$as_me:$LINENO: result: yes" >&5
34143 echo "${ECHO_T}yes" >&6
34145 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34146 echo "${ECHO_T}no, using $LN_S" >&6
34150 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34151 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34152 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34153 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34154 echo $ECHO_N "(cached) $ECHO_C" >&6
34156 cat >conftest.
make <<\_ACEOF
34158 @
echo 'ac_maketemp="$(MAKE)"'
34160 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34161 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34162 if test -n "$ac_maketemp"; then
34163 eval ac_cv_prog_make_
${ac_make}_set
=yes
34165 eval ac_cv_prog_make_
${ac_make}_set
=no
34167 rm -f conftest.
make
34169 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34170 echo "$as_me:$LINENO: result: yes" >&5
34171 echo "${ECHO_T}yes" >&6
34174 echo "$as_me:$LINENO: result: no" >&5
34175 echo "${ECHO_T}no" >&6
34176 SET_MAKE
="MAKE=${MAKE-make}"
34181 if test "$build" != "$host" ; then
34183 STRIP
=$host_alias-strip
34185 # Extract the first word of "ar", so it can be a program name with args.
34186 set dummy
ar; ac_word
=$2
34187 echo "$as_me:$LINENO: checking for $ac_word" >&5
34188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34189 if test "${ac_cv_prog_AR+set}" = set; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34192 if test -n "$AR"; then
34193 ac_cv_prog_AR
="$AR" # Let the user override the test.
34195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34196 for as_dir
in $PATH
34199 test -z "$as_dir" && as_dir
=.
34200 for ac_exec_ext
in '' $ac_executable_extensions; do
34201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34209 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34213 if test -n "$AR"; then
34214 echo "$as_me:$LINENO: result: $AR" >&5
34215 echo "${ECHO_T}$AR" >&6
34217 echo "$as_me:$LINENO: result: no" >&5
34218 echo "${ECHO_T}no" >&6
34221 # Extract the first word of "strip", so it can be a program name with args.
34222 set dummy strip
; ac_word
=$2
34223 echo "$as_me:$LINENO: checking for $ac_word" >&5
34224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34225 if test "${ac_cv_prog_STRIP+set}" = set; then
34226 echo $ECHO_N "(cached) $ECHO_C" >&6
34228 if test -n "$STRIP"; then
34229 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34232 for as_dir
in $PATH
34235 test -z "$as_dir" && as_dir
=.
34236 for ac_exec_ext
in '' $ac_executable_extensions; do
34237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34238 ac_cv_prog_STRIP
="strip"
34239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34245 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34248 STRIP
=$ac_cv_prog_STRIP
34249 if test -n "$STRIP"; then
34250 echo "$as_me:$LINENO: result: $STRIP" >&5
34251 echo "${ECHO_T}$STRIP" >&6
34253 echo "$as_me:$LINENO: result: no" >&5
34254 echo "${ECHO_T}no" >&6
34261 INSTALL_DIR
="mkdir"
34263 *) INSTALL_DIR
="$INSTALL -d"
34270 *-*-cygwin* | *-*-mingw32* )
34271 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34277 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34278 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34279 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34283 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34284 egrep -s GNU
> /dev
/null
); then
34285 bakefile_cv_prog_makeisgnu
="yes"
34287 bakefile_cv_prog_makeisgnu
="no"
34291 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34292 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34294 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34309 *-*-cygwin* | *-*-mingw32* )
34312 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34315 powerpc
-*-darwin* )
34332 SO_SUFFIX_MODULE
="so"
34340 SO_SUFFIX_MODULE
="sl"
34344 SO_SUFFIX_MODULE
="a"
34346 *-*-cygwin* | *-*-mingw32* )
34348 SO_SUFFIX_MODULE
="dll"
34352 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34356 powerpc
-*-darwin* )
34358 SO_SUFFIX_MODULE
="bundle"
34369 SHARED_LD_CC
="\$(CC) -shared -o"
34370 SHARED_LD_CXX
="\$(CXX) -shared -o"
34372 if test "x$GCC" = "xyes"; then
34378 if test "x$GCC" = "xyes"; then
34379 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34380 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34382 LDFLAGS
="$LDFLAGS -L/usr/lib"
34384 SHARED_LD_CC
="${CC} -b -o"
34385 SHARED_LD_CXX
="${CXX} -b -o"
34391 if test "x$GCC" != "xyes"; then
34392 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34393 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34394 if test "${bakefile_cv_prog_icc+set}" = set; then
34395 echo $ECHO_N "(cached) $ECHO_C" >&6
34398 cat >conftest.
$ac_ext <<_ACEOF
34399 #line $LINENO "configure"
34402 cat confdefs.h
>>conftest.
$ac_ext
34403 cat >>conftest.
$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34410 #ifndef __INTEL_COMPILER
34418 rm -f conftest.
$ac_objext
34419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34420 (eval $ac_compile) 2>&5
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); } &&
34424 { ac_try
='test -s conftest.$ac_objext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 bakefile_cv_prog_icc
=yes
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.
$ac_ext >&5
34435 bakefile_cv_prog_icc
=no
34438 rm -f conftest.
$ac_objext conftest.
$ac_ext
34441 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34442 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34443 if test "$bakefile_cv_prog_icc" = "yes"; then
34450 if test "x$GCC" != xyes
; then
34451 SHARED_LD_CC
="${CC} -G -o"
34452 SHARED_LD_CXX
="${CXX} -G -o"
34458 CFLAGS
="$CFLAGS -fno-common"
34459 CXXFLAGS
="$CXXFLAGS -fno-common"
34462 cat <<EOF >shared-ld-sh
34464 #-----------------------------------------------------------------------------
34465 #-- Name: distrib/mac/shared-ld-sh
34466 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34467 #-- Author: Gilles Depeyrot
34468 #-- Copyright: (c) 2002 Gilles Depeyrot
34469 #-- Licence: any use permitted
34470 #-----------------------------------------------------------------------------
34475 linking_flag="-dynamiclib"
34477 while test \${#} -gt 0; do
34484 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34485 # collect these options and values
34486 args="\${args} \${1} \${2}"
34490 -l*|-L*|-flat_namespace)
34491 # collect these options
34492 args="\${args} \${1}"
34495 -dynamiclib|-bundle)
34496 linking_flag="\${1}"
34500 echo "shared-ld: unhandled option '\${1}'"
34504 *.o | *.a | *.dylib)
34505 # collect object files
34506 objects="\${objects} \${1}"
34510 echo "shared-ld: unhandled argument '\${1}'"
34519 # Link one module containing all the others
34521 if test \${verbose} = 1; then
34522 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34524 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34526 if test \${status} != 0; then
34531 # Link the shared library from the single module created
34533 if test \${verbose} = 1; then
34534 echo "cc \${linking_flag} master.\$\$.o \${args}"
34536 c++ \${linking_flag} master.\$\$.o \${args}
34538 if test \${status} != 0; then
34543 # Remove intermediate module
34545 rm -f master.\$\$.o
34549 chmod +x shared
-ld-sh
34551 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34552 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34553 SHARED_LD_CXX
="$SHARED_LD_CC"
34554 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34555 PIC_FLAG
="-dynamic -fPIC"
34559 if test "x$GCC" != "xyes"; then
34560 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34561 set dummy makeC
++SharedLib
; ac_word
=$2
34562 echo "$as_me:$LINENO: checking for $ac_word" >&5
34563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34564 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 if test -n "$AIX_CXX_LD"; then
34568 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34571 for as_dir
in $PATH
34574 test -z "$as_dir" && as_dir
=.
34575 for ac_exec_ext
in '' $ac_executable_extensions; do
34576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34577 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34584 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34587 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34588 if test -n "$AIX_CXX_LD"; then
34589 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34590 echo "${ECHO_T}$AIX_CXX_LD" >&6
34592 echo "$as_me:$LINENO: result: no" >&5
34593 echo "${ECHO_T}no" >&6
34596 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34597 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34602 SHARED_LD_CC
="${LD} -shared -o"
34603 SHARED_LD_CXX
="${LD} -shared -o"
34607 if test "x$GCC" != "xyes"; then
34612 *-*-cygwin* | *-*-mingw32* )
34616 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34624 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34625 echo "$as_me: error: unknown system type $host." >&2;}
34626 { (exit 1); exit 1; }; }
34629 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34630 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34632 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34633 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34652 SONAME_FLAG
="-Wl,-soname,"
34680 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34681 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34684 if test "x$GCC" = "xyes"; then
34688 powerpc
-*-darwin* )
34689 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34692 DEPSFLAG_GCC
="-MMD"
34695 echo "$as_me:$LINENO: result: gcc" >&5
34696 echo "${ECHO_T}gcc" >&6
34698 echo "$as_me:$LINENO: result: none" >&5
34699 echo "${ECHO_T}none" >&6
34702 if test $DEPS_TRACKING = 1 ; then
34706 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34707 # script. It is used to track C/C++ files dependencies in portable way.
34709 # Permission is given to use this file in any way.
34713 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34717 if test \$DEPSMODE = gcc ; then
34718 \${*} \${DEPSFLAG_GCC}
34720 if test \${status} != 0 ; then
34723 # move created file to the location we want it in:
34724 while test \${#} -gt 0; do
34738 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34739 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34740 if test -f \$depfile ; then
34741 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34744 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34745 if test -f \$depfile ; then
34746 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34766 *-*-cygwin* | *-*-mingw32* )
34767 if test "$build" != "$host" ; then
34768 RESCOMP
=$host_alias-windres
34770 # Extract the first word of "windres", so it can be a program name with args.
34771 set dummy windres
; ac_word
=$2
34772 echo "$as_me:$LINENO: checking for $ac_word" >&5
34773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34774 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34775 echo $ECHO_N "(cached) $ECHO_C" >&6
34777 if test -n "$RESCOMP"; then
34778 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34781 for as_dir
in $PATH
34784 test -z "$as_dir" && as_dir
=.
34785 for ac_exec_ext
in '' $ac_executable_extensions; do
34786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34787 ac_cv_prog_RESCOMP
="windres"
34788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34794 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34797 RESCOMP
=$ac_cv_prog_RESCOMP
34798 if test -n "$RESCOMP"; then
34799 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34800 echo "${ECHO_T}$RESCOMP" >&6
34802 echo "$as_me:$LINENO: result: no" >&5
34803 echo "${ECHO_T}no" >&6
34810 # Extract the first word of "Rez", so it can be a program name with args.
34811 set dummy Rez
; ac_word
=$2
34812 echo "$as_me:$LINENO: checking for $ac_word" >&5
34813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34814 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 if test -n "$RESCOMP"; then
34818 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34821 for as_dir
in $PATH
34824 test -z "$as_dir" && as_dir
=.
34825 for ac_exec_ext
in '' $ac_executable_extensions; do
34826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34827 ac_cv_prog_RESCOMP
="Rez"
34828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34834 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34837 RESCOMP
=$ac_cv_prog_RESCOMP
34838 if test -n "$RESCOMP"; then
34839 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34840 echo "${ECHO_T}$RESCOMP" >&6
34842 echo "$as_me:$LINENO: result: no" >&5
34843 echo "${ECHO_T}no" >&6
34846 # Extract the first word of "SetFile", so it can be a program name with args.
34847 set dummy SetFile
; ac_word
=$2
34848 echo "$as_me:$LINENO: checking for $ac_word" >&5
34849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34850 if test "${ac_cv_prog_SETFILE+set}" = set; then
34851 echo $ECHO_N "(cached) $ECHO_C" >&6
34853 if test -n "$SETFILE"; then
34854 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34857 for as_dir
in $PATH
34860 test -z "$as_dir" && as_dir
=.
34861 for ac_exec_ext
in '' $ac_executable_extensions; do
34862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34863 ac_cv_prog_SETFILE
="SetFile"
34864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34870 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34873 SETFILE
=$ac_cv_prog_SETFILE
34874 if test -n "$SETFILE"; then
34875 echo "$as_me:$LINENO: result: $SETFILE" >&5
34876 echo "${ECHO_T}$SETFILE" >&6
34878 echo "$as_me:$LINENO: result: no" >&5
34879 echo "${ECHO_T}no" >&6
34894 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34895 if test "${enable_precomp_headers+set}" = set; then
34896 enableval
="$enable_precomp_headers"
34897 bk_use_pch
="$enableval"
34902 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34903 if test "x$GCC" = "xyes"; then
34904 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34905 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34906 cat >conftest.
$ac_ext <<_ACEOF
34907 #line $LINENO "configure"
34910 cat confdefs.h
>>conftest.
$ac_ext
34911 cat >>conftest.
$ac_ext <<_ACEOF
34912 /* end confdefs.h. */
34918 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34919 #error "no pch support"
34922 #error "no pch support"
34924 #if (__GNUC__ == 3) && \
34925 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34926 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34927 #error "no pch support"
34934 rm -f conftest.
$ac_objext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34936 (eval $ac_compile) 2>&5
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); } &&
34940 { ac_try
='test -s conftest.$ac_objext'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; }; then
34947 echo "$as_me:$LINENO: result: yes" >&5
34948 echo "${ECHO_T}yes" >&6
34949 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.
$ac_ext >&5
34957 echo "$as_me:$LINENO: result: no" >&5
34958 echo "${ECHO_T}no" >&6
34961 rm -f conftest.
$ac_objext conftest.
$ac_ext
34962 if test $GCC_PCH = 1 ; then
34963 cat <<EOF >bk-make-pch
34966 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34967 # script. It is used to generated precompiled headers.
34969 # Permission is given to use this file in any way.
34978 while test \${#} -gt 0; do
34981 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34982 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34983 headerfile="\${incdir}/\${header}"
34987 compiler="\${compiler} \${1}"
34991 if test "x\${headerfile}" = "x" ; then
34992 echo "error: can't find header \${header} in include paths" >2
34994 if test -f \${outfile} ; then
34997 mkdir -p \`dirname \${outfile}\`
34999 depsfile=".deps/\`basename \${outfile}\`.d"
35001 # can do this because gcc is >= 3.4:
35002 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35006 chmod +x bk
-make-pch
35015 COND_BUILD_DEBUG
="#"
35016 if test "x$BUILD" = "xdebug" ; then
35017 COND_BUILD_DEBUG
=""
35020 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35021 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35022 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35025 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35026 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35027 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35030 COND_BUILD_RELEASE
="#"
35031 if test "x$BUILD" = "xrelease" ; then
35032 COND_BUILD_RELEASE
=""
35035 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35036 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35037 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35040 COND_DEBUG_FLAG_1
="#"
35041 if test "x$DEBUG_FLAG" = "x1" ; then
35042 COND_DEBUG_FLAG_1
=""
35045 COND_DEBUG_INFO_0
="#"
35046 if test "x$DEBUG_INFO" = "x0" ; then
35047 COND_DEBUG_INFO_0
=""
35050 COND_DEBUG_INFO_1
="#"
35051 if test "x$DEBUG_INFO" = "x1" ; then
35052 COND_DEBUG_INFO_1
=""
35055 COND_DEPS_TRACKING_0
="#"
35056 if test "x$DEPS_TRACKING" = "x0" ; then
35057 COND_DEPS_TRACKING_0
=""
35060 COND_DEPS_TRACKING_1
="#"
35061 if test "x$DEPS_TRACKING" = "x1" ; then
35062 COND_DEPS_TRACKING_1
=""
35066 if test "x$GCC_PCH" = "x1" ; then
35070 COND_MONOLITHIC_0
="#"
35071 if test "x$MONOLITHIC" = "x0" ; then
35072 COND_MONOLITHIC_0
=""
35075 COND_MONOLITHIC_0_SHARED_0
="#"
35076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35077 COND_MONOLITHIC_0_SHARED_0
=""
35080 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35082 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35085 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35090 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35092 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35095 COND_MONOLITHIC_0_SHARED_1
="#"
35096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35097 COND_MONOLITHIC_0_SHARED_1
=""
35100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35110 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35112 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35115 COND_MONOLITHIC_1
="#"
35116 if test "x$MONOLITHIC" = "x1" ; then
35117 COND_MONOLITHIC_1
=""
35120 COND_MONOLITHIC_1_SHARED_0
="#"
35121 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35122 COND_MONOLITHIC_1_SHARED_0
=""
35125 COND_MONOLITHIC_1_SHARED_1
="#"
35126 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35127 COND_MONOLITHIC_1_SHARED_1
=""
35130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35131 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35132 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35135 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35136 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35137 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35140 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35141 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35142 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35145 COND_PLATFORM_MACOSX_1
="#"
35146 if test "x$PLATFORM_MACOSX" = "x1" ; then
35147 COND_PLATFORM_MACOSX_1
=""
35150 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35151 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35152 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35155 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35156 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35157 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35160 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35161 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35162 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35165 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35166 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35167 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35170 COND_PLATFORM_MAC_1
="#"
35171 if test "x$PLATFORM_MAC" = "x1" ; then
35172 COND_PLATFORM_MAC_1
=""
35175 COND_PLATFORM_UNIX_0
="#"
35176 if test "x$PLATFORM_UNIX" = "x0" ; then
35177 COND_PLATFORM_UNIX_0
=""
35180 COND_PLATFORM_UNIX_1
="#"
35181 if test "x$PLATFORM_UNIX" = "x1" ; then
35182 COND_PLATFORM_UNIX_1
=""
35185 COND_PLATFORM_WIN32_0
="#"
35186 if test "x$PLATFORM_WIN32" = "x0" ; then
35187 COND_PLATFORM_WIN32_0
=""
35190 COND_PLATFORM_WIN32_1
="#"
35191 if test "x$PLATFORM_WIN32" = "x1" ; then
35192 COND_PLATFORM_WIN32_1
=""
35196 if test "x$SHARED" = "x0" ; then
35200 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35201 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35202 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35205 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35206 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35207 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35210 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35211 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35212 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35215 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35216 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35217 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35220 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35221 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35222 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35225 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35226 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35227 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35230 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35231 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35232 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35235 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35236 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35237 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35241 if test "x$SHARED" = "x1" ; then
35245 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35246 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35247 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35250 COND_TOOLKIT_COCOA
="#"
35251 if test "x$TOOLKIT" = "xCOCOA" ; then
35252 COND_TOOLKIT_COCOA
=""
35255 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35256 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35257 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35260 COND_TOOLKIT_GTK
="#"
35261 if test "x$TOOLKIT" = "xGTK" ; then
35262 COND_TOOLKIT_GTK
=""
35265 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35266 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35267 COND_TOOLKIT_GTK_USE_GUI_1
=""
35270 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35271 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35272 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35275 COND_TOOLKIT_MAC
="#"
35276 if test "x$TOOLKIT" = "xMAC" ; then
35277 COND_TOOLKIT_MAC
=""
35280 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35281 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35282 COND_TOOLKIT_MAC_USE_GUI_1
=""
35285 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35286 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35287 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35290 COND_TOOLKIT_MGL
="#"
35291 if test "x$TOOLKIT" = "xMGL" ; then
35292 COND_TOOLKIT_MGL
=""
35295 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35296 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35297 COND_TOOLKIT_MGL_USE_GUI_1
=""
35300 COND_TOOLKIT_MOTIF
="#"
35301 if test "x$TOOLKIT" = "xMOTIF" ; then
35302 COND_TOOLKIT_MOTIF
=""
35305 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35306 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35307 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35310 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35311 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35312 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35315 COND_TOOLKIT_MSW
="#"
35316 if test "x$TOOLKIT" = "xMSW" ; then
35317 COND_TOOLKIT_MSW
=""
35320 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35321 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35322 COND_TOOLKIT_MSW_USE_GUI_1
=""
35325 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35326 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35327 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35330 COND_TOOLKIT_OS2
="#"
35331 if test "x$TOOLKIT" = "xOS2" ; then
35332 COND_TOOLKIT_OS2
=""
35335 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35336 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35337 COND_TOOLKIT_OS2_USE_GUI_1
=""
35340 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35341 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35342 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35345 COND_TOOLKIT_X11
="#"
35346 if test "x$TOOLKIT" = "xX11" ; then
35347 COND_TOOLKIT_X11
=""
35350 COND_TOOLKIT_X11_USE_GUI_1
="#"
35351 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35352 COND_TOOLKIT_X11_USE_GUI_1
=""
35356 if test "x$UNICODE" = "x1" ; then
35361 if test "x$USE_GUI" = "x0" ; then
35366 if test "x$USE_GUI" = "x1" ; then
35370 COND_USE_GUI_1_WXUNIV_0
="#"
35371 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35372 COND_USE_GUI_1_WXUNIV_0
=""
35375 COND_USE_GUI_1_WXUNIV_1
="#"
35376 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35377 COND_USE_GUI_1_WXUNIV_1
=""
35380 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35381 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35382 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35385 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35386 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35387 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35390 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35391 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35392 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35395 COND_USE_SOSYMLINKS_1
="#"
35396 if test "x$USE_SOSYMLINKS" = "x1" ; then
35397 COND_USE_SOSYMLINKS_1
=""
35400 COND_USE_SOVERLINUX_1
="#"
35401 if test "x$USE_SOVERLINUX" = "x1" ; then
35402 COND_USE_SOVERLINUX_1
=""
35405 COND_USE_SOVERSION_0
="#"
35406 if test "x$USE_SOVERSION" = "x0" ; then
35407 COND_USE_SOVERSION_0
=""
35410 COND_USE_SOVERSOLARIS_1
="#"
35411 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35412 COND_USE_SOVERSOLARIS_1
=""
35416 if test "x$WXUNIV" = "x1" ; then
35420 COND_WXUSE_EXPAT_BUILTIN
="#"
35421 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35422 COND_WXUSE_EXPAT_BUILTIN
=""
35425 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35426 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35427 COND_WXUSE_LIBJPEG_BUILTIN
=""
35430 COND_WXUSE_LIBPNG_BUILTIN
="#"
35431 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35432 COND_WXUSE_LIBPNG_BUILTIN
=""
35435 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35436 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35437 COND_WXUSE_LIBTIFF_BUILTIN
=""
35440 COND_WXUSE_ODBC_BUILTIN
="#"
35441 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35442 COND_WXUSE_ODBC_BUILTIN
=""
35445 COND_WXUSE_REGEX_BUILTIN
="#"
35446 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35447 COND_WXUSE_REGEX_BUILTIN
=""
35450 COND_WXUSE_ZLIB_BUILTIN
="#"
35451 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35452 COND_WXUSE_ZLIB_BUILTIN
=""
35459 if test $GCC_PCH = 1 ; then
35460 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35463 powerpc
-*-darwin* )
35464 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35469 powerpc
-*-darwin* )
35470 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35475 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35577 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35578 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35579 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35580 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35583 cat >conftest.
make <<\_ACEOF
35585 @
echo 'ac_maketemp="$(MAKE)"'
35587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35588 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35589 if test -n "$ac_maketemp"; then
35590 eval ac_cv_prog_make_
${ac_make}_set
=yes
35592 eval ac_cv_prog_make_
${ac_make}_set
=no
35594 rm -f conftest.
make
35596 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35597 echo "$as_me:$LINENO: result: yes" >&5
35598 echo "${ECHO_T}yes" >&6
35601 echo "$as_me:$LINENO: result: no" >&5
35602 echo "${ECHO_T}no" >&6
35603 SET_MAKE
="MAKE=${MAKE-make}"
35607 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35608 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35611 ac_config_headers
="$ac_config_headers setup.h"
35614 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35617 ac_config_commands
="$ac_config_commands default"
35621 if test "$wxUSE_GUI" = "yes"; then
35622 SUBDIRS
="samples demos utils contrib"
35623 else SUBDIRS
="samples utils"
35626 for subdir
in `echo $SUBDIRS`; do
35627 if test -d ${srcdir}/${subdir} ; then
35628 if test "$wxUSE_GUI" = "yes"; then
35629 if test ${subdir} = "samples"; then
35630 makefiles
="samples/Makefile.in $makefiles"
35631 for sample
in `echo $SAMPLES_SUBDIRS`; do
35632 if test -d $srcdir/samples
/$sample; then
35633 makefiles
="samples/$sample/Makefile.in $makefiles"
35636 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35638 else if test ${subdir} = "samples"; then
35639 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35640 else makefiles
="utils/HelpGen/Makefile.in \
35641 utils/HelpGen/src/Makefile.in \
35642 utils/makegen/Makefile.in"
35646 for mkin
in $makefiles ; do
35647 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35648 ac_config_files
="$ac_config_files $mk"
35655 cat >confcache
<<\_ACEOF
35656 # This file is a shell script that caches the results of configure
35657 # tests run on this system so they can be shared between configure
35658 # scripts and configure runs, see configure's option --config-cache.
35659 # It is not useful on other systems. If it contains results you don't
35660 # want to keep, you may remove or edit it.
35662 # config.status only pays attention to the cache file if you give it
35663 # the --recheck option to rerun configure.
35665 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35666 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35667 # following values.
35671 # The following way of writing the cache mishandles newlines in values,
35672 # but we know of no workaround that is simple, portable, and efficient.
35673 # So, don't put newlines in cache variables' values.
35674 # Ultrix sh set writes to stderr and can't be redirected directly,
35675 # and sets the high bit in the cache file unless we assign to the vars.
35678 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35680 # `set' does not quote correctly, so add quotes (double-quote
35681 # substitution turns \\\\ into \\, and sed turns \\ into \).
35684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35687 # `set' quotes correctly as required by POSIX, so do not add quotes.
35689 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35696 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35698 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35700 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35701 if test -w $cache_file; then
35702 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35703 cat confcache
>$cache_file
35705 echo "not updating unwritable cache $cache_file"
35710 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35711 # Let make expand exec_prefix.
35712 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35714 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35715 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35716 # trailing colons and then remove the whole line if VPATH becomes empty
35717 # (actually we leave an empty line to preserve line numbers).
35718 if test "x$srcdir" = x.
; then
35719 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35720 s/:*\$(srcdir):*/:/;
35721 s/:*\${srcdir}:*/:/;
35723 s/^\([^=]*=[ ]*\):*/\1/;
35729 DEFS
=-DHAVE_CONFIG_H
35733 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35734 # 1. Remove the extension, and $U if already installed.
35735 ac_i
=`echo "$ac_i" |
35736 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35738 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35739 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35741 LIBOBJS
=$ac_libobjs
35743 LTLIBOBJS
=$ac_ltlibobjs
35747 : ${CONFIG_STATUS=./config.status}
35748 ac_clean_files_save
=$ac_clean_files
35749 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35750 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35751 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35752 cat >$CONFIG_STATUS <<_ACEOF
35754 # Generated by $as_me.
35755 # Run this file to recreate the current configuration.
35756 # Compiler output produced by configure, useful for debugging
35757 # configure, is in config.log if it exists.
35760 ac_cs_recheck=false
35762 SHELL=\${CONFIG_SHELL-$SHELL}
35765 cat >>$CONFIG_STATUS <<\_ACEOF
35766 ## --------------------- ##
35767 ## M4sh Initialization. ##
35768 ## --------------------- ##
35770 # Be Bourne compatible
35771 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35774 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35775 # is contrary to our usage. Disable this feature.
35776 alias -g '${1+"$@"}'='"$@"'
35777 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35781 # Support unset when possible.
35782 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35789 # Work around bugs in pre-3.0 UWIN ksh.
35790 $as_unset ENV MAIL MAILPATH
35797 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35798 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35799 LC_TELEPHONE LC_TIME
35801 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35802 eval $as_var=C
; export $as_var
35808 # Required to use basename.
35809 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35815 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35816 as_basename
=basename
35822 # Name of the executable.
35823 as_me
=`$as_basename "$0" ||
35824 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35825 X"$0" : 'X\(//\)$' \| \
35826 X"$0" : 'X\(/\)$' \| \
35827 . : '\(.\)' 2>/dev/null ||
35829 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35830 /^X\/\(\/\/\)$/{ s//\1/; q; }
35831 /^X\/\(\/\).*/{ s//\1/; q; }
35835 # PATH needs CR, and LINENO needs CR and PATH.
35836 # Avoid depending upon Character Ranges.
35837 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35838 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35839 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35840 as_cr_digits
='0123456789'
35841 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35843 # The user is always right.
35844 if test "${PATH_SEPARATOR+set}" != set; then
35845 echo "#! /bin/sh" >conf$$.sh
35846 echo "exit 0" >>conf$$.sh
35848 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35857 as_lineno_1
=$LINENO
35858 as_lineno_2
=$LINENO
35859 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35860 test "x$as_lineno_1" != "x$as_lineno_2" &&
35861 test "x$as_lineno_3" = "x$as_lineno_2" || {
35862 # Find who we are. Look in the path if we contain no path at all
35865 *[\\/]* ) as_myself
=$0 ;;
35866 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35867 for as_dir
in $PATH
35870 test -z "$as_dir" && as_dir
=.
35871 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35876 # We did not find ourselves, most probably we were run as `sh COMMAND'
35877 # in which case we are not to be found in the path.
35878 if test "x$as_myself" = x
; then
35881 if test ! -f "$as_myself"; then
35882 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35883 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35884 { (exit 1); exit 1; }; }
35886 case $CONFIG_SHELL in
35888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35889 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35892 test -z "$as_dir" && as_dir
=.
35893 for as_base
in sh bash ksh sh5
; do
35896 if ("$as_dir/$as_base" -c '
35897 as_lineno_1=$LINENO
35898 as_lineno_2=$LINENO
35899 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35900 test "x$as_lineno_1" != "x$as_lineno_2" &&
35901 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35902 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35903 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35904 CONFIG_SHELL
=$as_dir/$as_base
35905 export CONFIG_SHELL
35906 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35914 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35915 # uniformly replaced by the line number. The first 'sed' inserts a
35916 # line-number line before each line; the second 'sed' does the real
35917 # work. The second script uses 'N' to pair each line-number line
35918 # with the numbered line, and appends trailing '-' during
35919 # substitution so that $LINENO is not a special case at line end.
35920 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35921 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35922 sed '=' <$as_myself |
35927 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35930 s,^['$as_cr_digits']*\n,,
35931 ' >$as_me.lineno
&&
35932 chmod +x
$as_me.lineno
||
35933 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35934 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35935 { (exit 1); exit 1; }; }
35937 # Don't try to exec as it changes $[0], causing all sort of problems
35938 # (the dirname of $[0] is not the place where we might find the
35939 # original and so on. Autoconf is especially sensible to this).
35941 # Exit status is that of the last command.
35946 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35947 *c
*,-n*) ECHO_N
= ECHO_C
='
35949 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35950 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35953 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35959 rm -f conf$$ conf$$.exe conf$$.
file
35961 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35962 # We could just check for DJGPP; but this test a) works b) is more generic
35963 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35964 if test -f conf$$.exe
; then
35965 # Don't use ln at all; we don't have any links
35970 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35975 rm -f conf$$ conf$$.exe conf$$.
file
35977 if mkdir -p .
2>/dev
/null
; then
35983 as_executable_p
="test -f"
35985 # Sed expression to map a string onto a valid CPP name.
35986 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35988 # Sed expression to map a string onto a valid variable name.
35989 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35993 # We need space, tab and new line, in precisely that order.
36003 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36004 # report actual input values of CONFIG_FILES etc. instead of their
36005 # values after options handling. Logging --version etc. is OK.
36009 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36010 ## Running $as_me. ##
36015 This file was extended by wxWindows $as_me 2.5.0, which was
36016 generated by GNU Autoconf 2.57. Invocation command line was
36018 CONFIG_FILES = $CONFIG_FILES
36019 CONFIG_HEADERS = $CONFIG_HEADERS
36020 CONFIG_LINKS = $CONFIG_LINKS
36021 CONFIG_COMMANDS = $CONFIG_COMMANDS
36025 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36029 # Files that config.status was made for.
36030 if test -n "$ac_config_files"; then
36031 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36034 if test -n "$ac_config_headers"; then
36035 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36038 if test -n "$ac_config_links"; then
36039 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36042 if test -n "$ac_config_commands"; then
36043 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36046 cat >>$CONFIG_STATUS <<\_ACEOF
36049 \`$as_me' instantiates files from templates according to the
36050 current configuration.
36052 Usage: $0 [OPTIONS] [FILE]...
36054 -h, --help print this help, then exit
36055 -V, --version print version number, then exit
36056 -q, --quiet do not print progress messages
36057 -d, --debug don't remove temporary files
36058 --recheck update $as_me by reconfiguring in the same conditions
36059 --file=FILE[:TEMPLATE]
36060 instantiate the configuration file FILE
36061 --header=FILE[:TEMPLATE]
36062 instantiate the configuration header FILE
36064 Configuration files:
36067 Configuration headers:
36070 Configuration commands:
36073 Report bugs to <bug-autoconf@gnu.org>."
36076 cat >>$CONFIG_STATUS <<_ACEOF
36078 wxWindows config.status 2.5.0
36079 configured by $0, generated by GNU Autoconf 2.57,
36080 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36082 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36083 Free Software Foundation, Inc.
36084 This config.status script is free software; the Free Software Foundation
36085 gives unlimited permission to copy, distribute and modify it."
36090 cat >>$CONFIG_STATUS <<\_ACEOF
36091 # If no file are specified by the user, then we need to provide default
36092 # value. By we need to know if files were specified by the user.
36098 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36099 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36107 *) # This is not an option, so the user has probably given explicit
36110 ac_need_defaults
=false
;;
36114 # Handling of the options.
36116 cat >>$CONFIG_STATUS <<\_ACEOF
36117 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36119 --version | --vers* | -V )
36120 echo "$ac_cs_version"; exit 0 ;;
36122 # Conflict between --help and --header
36123 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36124 Try \`$0 --help' for more information." >&5
36125 echo "$as_me: error: ambiguous option: $1
36126 Try \`$0 --help' for more information." >&2;}
36127 { (exit 1); exit 1; }; };;
36128 --help | --hel | -h )
36129 echo "$ac_cs_usage"; exit 0 ;;
36130 --debug | --d* | -d )
36132 --file | --fil | --fi | --f )
36134 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36135 ac_need_defaults
=false
;;
36136 --header | --heade | --head | --hea )
36138 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36139 ac_need_defaults
=false
;;
36140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36141 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36144 # This is an error.
36145 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36146 Try \`$0 --help' for more information." >&5
36147 echo "$as_me: error: unrecognized option: $1
36148 Try \`$0 --help' for more information." >&2;}
36149 { (exit 1); exit 1; }; } ;;
36151 *) ac_config_targets
="$ac_config_targets $1" ;;
36157 ac_configure_extra_args
=
36159 if $ac_cs_silent; then
36161 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36165 cat >>$CONFIG_STATUS <<_ACEOF
36166 if \$ac_cs_recheck; then
36167 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36168 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36173 cat >>$CONFIG_STATUS <<_ACEOF
36175 # INIT-COMMANDS section.
36179 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36188 cat >>$CONFIG_STATUS <<\_ACEOF
36189 for ac_config_target
in $ac_config_targets
36191 case "$ac_config_target" in
36192 # Handling of arguments.
36193 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36194 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36195 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36196 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36197 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36198 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36199 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36200 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36201 { (exit 1); exit 1; }; };;
36205 # If the user did not use the arguments to specify the items to instantiate,
36206 # then the envvar interface is used. Set only those that are not.
36207 # We use the long form for the default assignment because of an extremely
36208 # bizarre bug on SunOS 4.1.3.
36209 if $ac_need_defaults; then
36210 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36211 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36212 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36215 # Have a temporary directory for convenience. Make it in the build tree
36216 # simply because there is no reason to put it here, and in addition,
36217 # creating and moving files from /tmp can sometimes cause problems.
36218 # Create a temporary directory, and hook for its removal unless debugging.
36221 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36222 trap '{ (exit 1); exit 1; }' 1 2 13 15
36225 # Create a (secure) tmp directory for tmp files.
36228 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36229 test -n "$tmp" && test -d "$tmp"
36232 tmp
=.
/confstat$$
-$RANDOM
36233 (umask 077 && mkdir $tmp)
36236 echo "$me: cannot create a temporary directory in ." >&2
36237 { (exit 1); exit 1; }
36242 cat >>$CONFIG_STATUS <<_ACEOF
36245 # CONFIG_FILES section.
36248 # No need to generate the scripts if there are no CONFIG_FILES.
36249 # This happens for instance when ./config.status config.h
36250 if test -n "\$CONFIG_FILES"; then
36251 # Protect against being on the right side of a sed subst in config.status.
36252 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36253 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36254 s,@SHELL@,$SHELL,;t t
36255 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36256 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36257 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36258 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36259 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36260 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36261 s,@exec_prefix@,$exec_prefix,;t t
36262 s,@prefix@,$prefix,;t t
36263 s,@program_transform_name@,$program_transform_name,;t t
36264 s,@bindir@,$bindir,;t t
36265 s,@sbindir@,$sbindir,;t t
36266 s,@libexecdir@,$libexecdir,;t t
36267 s,@datadir@,$datadir,;t t
36268 s,@sysconfdir@,$sysconfdir,;t t
36269 s,@sharedstatedir@,$sharedstatedir,;t t
36270 s,@localstatedir@,$localstatedir,;t t
36271 s,@libdir@,$libdir,;t t
36272 s,@includedir@,$includedir,;t t
36273 s,@oldincludedir@,$oldincludedir,;t t
36274 s,@infodir@,$infodir,;t t
36275 s,@mandir@,$mandir,;t t
36276 s,@build_alias@,$build_alias,;t t
36277 s,@host_alias@,$host_alias,;t t
36278 s,@target_alias@,$target_alias,;t t
36279 s,@DEFS@,$DEFS,;t t
36280 s,@ECHO_C@,$ECHO_C,;t t
36281 s,@ECHO_N@,$ECHO_N,;t t
36282 s,@ECHO_T@,$ECHO_T,;t t
36283 s,@LIBS@,$LIBS,;t t
36284 s,@build@,$build,;t t
36285 s,@build_cpu@,$build_cpu,;t t
36286 s,@build_vendor@,$build_vendor,;t t
36287 s,@build_os@,$build_os,;t t
36288 s,@host@,$host,;t t
36289 s,@host_cpu@,$host_cpu,;t t
36290 s,@host_vendor@,$host_vendor,;t t
36291 s,@host_os@,$host_os,;t t
36292 s,@target@,$target,;t t
36293 s,@target_cpu@,$target_cpu,;t t
36294 s,@target_vendor@,$target_vendor,;t t
36295 s,@target_os@,$target_os,;t t
36297 s,@CFLAGS@,$CFLAGS,;t t
36298 s,@LDFLAGS@,$LDFLAGS,;t t
36299 s,@CPPFLAGS@,$CPPFLAGS,;t t
36300 s,@ac_ct_CC@,$ac_ct_CC,;t t
36301 s,@EXEEXT@,$EXEEXT,;t t
36302 s,@OBJEXT@,$OBJEXT,;t t
36304 s,@EGREP@,$EGREP,;t t
36306 s,@CXXFLAGS@,$CXXFLAGS,;t t
36307 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36308 s,@RANLIB@,$RANLIB,;t t
36309 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36311 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36312 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36313 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36314 s,@STRIP@,$STRIP,;t t
36315 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36316 s,@YACC@,$YACC,;t t
36318 s,@LEXLIB@,$LEXLIB,;t t
36319 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36320 s,@LN_S@,$LN_S,;t t
36321 s,@CXXCPP@,$CXXCPP,;t t
36322 s,@subdirs@,$subdirs,;t t
36323 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36324 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36325 s,@GTK_LIBS@,$GTK_LIBS,;t t
36326 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36327 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36328 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36329 s,@X_CFLAGS@,$X_CFLAGS,;t t
36330 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36331 s,@X_LIBS@,$X_LIBS,;t t
36332 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36333 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36334 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36335 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36336 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36337 s,@RESCOMP@,$RESCOMP,;t t
36338 s,@DEREZ@,$DEREZ,;t t
36339 s,@SETFILE@,$SETFILE,;t t
36340 s,@LIBICONV@,$LIBICONV,;t t
36341 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36342 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36343 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36344 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36345 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36346 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36347 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36348 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36349 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36350 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36351 s,@VENDOR@,$VENDOR,;t t
36352 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36353 s,@WXUNIV@,$WXUNIV,;t t
36354 s,@MONOLITHIC@,$MONOLITHIC,;t t
36355 s,@EXTRALIBS@,$EXTRALIBS,;t t
36356 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36357 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36358 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36359 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36360 s,@UNICODE@,$UNICODE,;t t
36361 s,@BUILD@,$BUILD,;t t
36362 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36363 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36364 s,@SHARED@,$SHARED,;t t
36365 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36366 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36367 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36368 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36369 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36370 s,@SET_MAKE@,$SET_MAKE,;t t
36371 s,@MAKE_SET@,$MAKE_SET,;t t
36372 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36373 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36374 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36375 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36376 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36377 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36378 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36379 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36380 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36381 s,@DLLPREFIX@,$DLLPREFIX,;t t
36382 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36383 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36384 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36385 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36386 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36387 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36388 s,@PIC_FLAG@,$PIC_FLAG,;t t
36389 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36390 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36391 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36392 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36393 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36394 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36395 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36396 s,@GCC_PCH@,$GCC_PCH,;t t
36397 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36398 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36399 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36400 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36401 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36402 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36403 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36404 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36405 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36406 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36407 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36408 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36409 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36410 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36411 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
36412 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36413 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36414 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36415 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
36416 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36417 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36418 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36419 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36420 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36421 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36422 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36423 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36424 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36425 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36426 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36427 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36428 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36429 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36430 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36431 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36432 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36433 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36434 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36435 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36436 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36437 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36438 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36439 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36440 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36441 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36442 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36443 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36444 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36445 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36446 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36447 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36448 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36449 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36450 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36451 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36452 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36453 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36454 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36455 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36456 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36457 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36458 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36459 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36460 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36461 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36462 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36463 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36464 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36465 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36466 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36467 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36468 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36469 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36470 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36471 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36472 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36473 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36474 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36475 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36476 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36477 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36478 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36479 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36480 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36481 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36482 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36483 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36484 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36485 s,@LEX_STEM@,$LEX_STEM,;t t
36486 s,@PATH_IFS@,$PATH_IFS,;t t
36487 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36488 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36489 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36490 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36491 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36492 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36493 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36494 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36495 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36496 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36497 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36498 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36499 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36500 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36501 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36502 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36503 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36504 s,@WX_ALL@,$WX_ALL,;t t
36505 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36506 s,@SHARED_LD@,$SHARED_LD,;t t
36507 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36508 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36509 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36510 s,@USE_GUI@,$USE_GUI,;t t
36511 s,@AFMINSTALL@,$AFMINSTALL,;t t
36512 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36513 s,@TOOLKIT@,$TOOLKIT,;t t
36514 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36515 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36516 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36517 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36518 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36519 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36520 s,@cross_compiling@,$cross_compiling,;t t
36521 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36522 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36523 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36524 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36525 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36526 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36527 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36528 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36529 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36530 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36531 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36532 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36533 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36534 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36535 s,@GUIDIST@,$GUIDIST,;t t
36536 s,@PORT_FILES@,$PORT_FILES,;t t
36537 s,@DISTDIR@,$DISTDIR,;t t
36538 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36539 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36540 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36541 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36542 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36543 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36544 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36545 s,@RESFLAGS@,$RESFLAGS,;t t
36546 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36547 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36548 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36549 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36550 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36551 s,@MACRESCOMP@,$MACRESCOMP,;t t
36552 s,@MACSETFILE@,$MACSETFILE,;t t
36553 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36555 s,@DLLTOOL@,$DLLTOOL,;t t
36559 s,@MAKEINFO@,$MAKEINFO,;t t
36560 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36561 s,@LIBOBJS@,$LIBOBJS,;t t
36562 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36567 cat >>$CONFIG_STATUS <<\_ACEOF
36568 # Split the substitutions into bite-sized pieces for seds with
36569 # small command number limits, like on Digital OSF/1 and HP-UX.
36570 ac_max_sed_lines
=48
36571 ac_sed_frag
=1 # Number of current file.
36572 ac_beg
=1 # First line for current file.
36573 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36576 while $ac_more_lines; do
36577 if test $ac_beg -gt 1; then
36578 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36580 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36582 if test ! -s $tmp/subs.frag
; then
36583 ac_more_lines
=false
36585 # The purpose of the label and of the branching condition is to
36586 # speed up the sed processing (if there are no `@' at all, there
36587 # is no need to browse any of the substitutions).
36588 # These are the two extra sed commands mentioned above.
36590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36591 if test -z "$ac_sed_cmds"; then
36592 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36594 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36596 ac_sed_frag
=`expr $ac_sed_frag + 1`
36598 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36601 if test -z "$ac_sed_cmds"; then
36604 fi # test -n "$CONFIG_FILES"
36607 cat >>$CONFIG_STATUS <<\_ACEOF
36608 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36609 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36611 - | *:- | *:-:* ) # input from stdin
36613 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36614 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36615 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36616 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36617 * ) ac_file_in
=$ac_file.
in ;;
36620 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36621 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36622 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36623 X"$ac_file" : 'X\(//\)[^/]' \| \
36624 X"$ac_file" : 'X\(//\)$' \| \
36625 X"$ac_file" : 'X\(/\)' \| \
36626 . : '\(.\)' 2>/dev/null ||
36628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36629 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36630 /^X\(\/\/\)$/{ s//\1/; q; }
36631 /^X\(\/\).*/{ s//\1/; q; }
36633 { if $as_mkdir_p; then
36638 while test ! -d "$as_dir"; do
36639 as_dirs
="$as_dir $as_dirs"
36640 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36642 X"$as_dir" : 'X\(//\)[^/]' \| \
36643 X"$as_dir" : 'X\(//\)$' \| \
36644 X"$as_dir" : 'X\(/\)' \| \
36645 . : '\(.\)' 2>/dev/null ||
36647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36649 /^X\(\/\/\)$/{ s//\1/; q; }
36650 /^X\(\/\).*/{ s//\1/; q; }
36653 test ! -n "$as_dirs" || mkdir $as_dirs
36654 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36655 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36656 { (exit 1); exit 1; }; }; }
36660 if test "$ac_dir" != .
; then
36661 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36662 # A "../" for each directory in $ac_dir_suffix.
36663 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36665 ac_dir_suffix
= ac_top_builddir
=
36669 .
) # No --srcdir option. We are building in place.
36671 if test -z "$ac_top_builddir"; then
36674 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36676 [\\/]* | ?
:[\\/]* ) # Absolute path.
36677 ac_srcdir
=$srcdir$ac_dir_suffix;
36678 ac_top_srcdir
=$srcdir ;;
36679 *) # Relative path.
36680 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36681 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36683 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36685 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36686 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36687 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36688 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36692 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36693 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36696 if test x
"$ac_file" != x
-; then
36697 { echo "$as_me:$LINENO: creating $ac_file" >&5
36698 echo "$as_me: creating $ac_file" >&6;}
36701 # Let's still pretend it is `configure' which instantiates (i.e., don't
36702 # use $as_me), people would be surprised to read:
36703 # /* config.h. Generated by config.status. */
36704 if test x
"$ac_file" = x
-; then
36707 configure_input
="$ac_file. "
36709 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36710 sed 's,.*/,,'` by configure."
36712 # First look for the input files in the build tree, otherwise in the
36714 ac_file_inputs
=`IFS=:
36715 for f in $ac_file_in; do
36717 -) echo $tmp/stdin ;;
36719 # Absolute (can't be DOS-style, as IFS=:)
36720 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36721 echo "$as_me: error: cannot find input file: $f" >&2;}
36722 { (exit 1); exit 1; }; }
36725 if test -f "$f"; then
36728 elif test -f "$srcdir/$f"; then
36733 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36734 echo "$as_me: error: cannot find input file: $f" >&2;}
36735 { (exit 1); exit 1; }; }
36738 done` || { (exit 1); exit 1; }
36740 cat >>$CONFIG_STATUS <<_ACEOF
36744 cat >>$CONFIG_STATUS <<\_ACEOF
36746 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36747 s
,@configure_input@
,$configure_input,;t t
36748 s
,@srcdir@
,$ac_srcdir,;t t
36749 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36750 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36751 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36752 s
,@builddir@
,$ac_builddir,;t t
36753 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36754 s
,@top_builddir@
,$ac_top_builddir,;t t
36755 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36756 s
,@INSTALL@
,$ac_INSTALL,;t t
36757 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36759 if test x"$ac_file" != x-; then
36760 mv $tmp/out $ac_file
36768 cat >>$CONFIG_STATUS <<\_ACEOF
36771 # CONFIG_HEADER section.
36774 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36775 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36777 # ac_d sets the value in "#define NAME VALUE" lines.
36778 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36779 ac_dB
='[ ].*$,\1#\2'
36782 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36783 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36784 ac_uB
='$,\1#\2define\3'
36788 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36789 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36791 - | *:- | *:-:* ) # input from stdin
36793 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36794 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36795 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36796 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36797 * ) ac_file_in
=$ac_file.
in ;;
36800 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36801 echo "$as_me: creating $ac_file" >&6;}
36803 # First look for the input files in the build tree, otherwise in the
36805 ac_file_inputs
=`IFS=:
36806 for f in $ac_file_in; do
36808 -) echo $tmp/stdin ;;
36810 # Absolute (can't be DOS-style, as IFS=:)
36811 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36812 echo "$as_me: error: cannot find input file: $f" >&2;}
36813 { (exit 1); exit 1; }; }
36816 if test -f "$f"; then
36819 elif test -f "$srcdir/$f"; then
36824 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36825 echo "$as_me: error: cannot find input file: $f" >&2;}
36826 { (exit 1); exit 1; }; }
36829 done` || { (exit 1); exit 1; }
36830 # Remove the trailing spaces.
36831 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36835 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36836 # `conftest.undefs', that substitutes the proper values into
36837 # config.h.in to produce config.h. The first handles `#define'
36838 # templates, and the second `#undef' templates.
36839 # And first: Protect against being on the right side of a sed subst in
36840 # config.status. Protect against being in an unquoted here document
36841 # in config.status.
36842 rm -f conftest.defines conftest.undefs
36843 # Using a here document instead of a string reduces the quoting nightmare.
36844 # Putting comments in sed scripts is not portable.
36846 # `end' is used to avoid that the second main sed command (meant for
36847 # 0-ary CPP macros) applies to n-ary macro definitions.
36848 # See the Autoconf documentation for `clear'.
36849 cat >confdef2sed.
sed <<\_ACEOF
36854 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36856 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36859 # If some macros were called several times there might be several times
36860 # the same #defines, which is useless. Nevertheless, we may not want to
36861 # sort them, since we want the *last* AC-DEFINE to be honored.
36862 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36863 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36864 rm -f confdef2sed.sed
36866 # This sed command replaces #undef with comments. This is necessary, for
36867 # example, in the case of _POSIX_SOURCE, which is predefined and required
36868 # on some systems where configure will not decide to define it.
36869 cat >>conftest.undefs <<\_ACEOF
36870 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36873 # Break up conftest.defines because some shells have a limit on the size
36874 # of here documents, and old seds have small limits too (100 cmds).
36875 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36876 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36877 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36878 echo ' :' >>$CONFIG_STATUS
36879 rm -f conftest.tail
36880 while grep . conftest.defines >/dev/null
36882 # Write a limited-size here document to $tmp/defines.sed.
36883 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36884 # Speed up: don't consider the non `#define' lines.
36885 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36886 # Work around the forget-to-reset-the-flag bug.
36887 echo 't clr' >>$CONFIG_STATUS
36888 echo ': clr' >>$CONFIG_STATUS
36889 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36891 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36893 mv $tmp/out $tmp/in
36895 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36896 rm -f conftest.defines
36897 mv conftest.
tail conftest.defines
36899 rm -f conftest.defines
36900 echo ' fi # grep' >>$CONFIG_STATUS
36901 echo >>$CONFIG_STATUS
36903 # Break up conftest.undefs because some shells have a limit on the size
36904 # of here documents, and old seds have small limits too (100 cmds).
36905 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36906 rm -f conftest.
tail
36907 while grep . conftest.undefs
>/dev
/null
36909 # Write a limited-size here document to $tmp/undefs.sed.
36910 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36911 # Speed up: don't consider the non
`#undef'
36912 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36913 # Work around the forget-to-reset-the-flag bug.
36914 echo 't clr' >>$CONFIG_STATUS
36915 echo ': clr' >>$CONFIG_STATUS
36916 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36918 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36920 mv $tmp/out $tmp/in
36922 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36923 rm -f conftest.undefs
36924 mv conftest.tail conftest.undefs
36926 rm -f conftest.undefs
36928 cat >>$CONFIG_STATUS <<\_ACEOF
36929 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36930 # use $as_me), people would be surprised to read:
36931 # /* config.h. Generated by config.status. */
36932 if test x
"$ac_file" = x
-; then
36933 echo "/* Generated by configure. */" >$tmp/config.h
36935 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36937 cat $tmp/in >>$tmp/config.h
36939 if test x
"$ac_file" != x
-; then
36940 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36941 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36942 echo "$as_me: $ac_file is unchanged" >&6;}
36944 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36946 X"$ac_file" : 'X\(//\)[^/]' \| \
36947 X"$ac_file" : 'X\(//\)$' \| \
36948 X"$ac_file" : 'X\(/\)' \| \
36949 . : '\(.\)' 2>/dev/null ||
36951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36953 /^X\(\/\/\)$/{ s//\1/; q; }
36954 /^X\(\/\).*/{ s//\1/; q; }
36956 { if $as_mkdir_p; then
36961 while test ! -d "$as_dir"; do
36962 as_dirs
="$as_dir $as_dirs"
36963 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36965 X"$as_dir" : 'X\(//\)[^/]' \| \
36966 X"$as_dir" : 'X\(//\)$' \| \
36967 X"$as_dir" : 'X\(/\)' \| \
36968 . : '\(.\)' 2>/dev/null ||
36970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36972 /^X\(\/\/\)$/{ s//\1/; q; }
36973 /^X\(\/\).*/{ s//\1/; q; }
36976 test ! -n "$as_dirs" || mkdir $as_dirs
36977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36979 { (exit 1); exit 1; }; }; }
36982 mv $tmp/config.h
$ac_file
36986 rm -f $tmp/config.h
36990 cat >>$CONFIG_STATUS <<\_ACEOF
36993 # CONFIG_COMMANDS section.
36995 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36996 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36997 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36998 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36999 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37000 X"$ac_dest" : 'X\(//\)[^/]' \| \
37001 X"$ac_dest" : 'X\(//\)$' \| \
37002 X"$ac_dest" : 'X\(/\)' \| \
37003 . : '\(.\)' 2>/dev/null ||
37005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37007 /^X\(\/\/\)$/{ s//\1/; q; }
37008 /^X\(\/\).*/{ s//\1/; q; }
37012 if test "$ac_dir" != .
; then
37013 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37014 # A "../" for each directory in $ac_dir_suffix.
37015 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37017 ac_dir_suffix
= ac_top_builddir
=
37021 .
) # No --srcdir option. We are building in place.
37023 if test -z "$ac_top_builddir"; then
37026 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37028 [\\/]* | ?
:[\\/]* ) # Absolute path.
37029 ac_srcdir
=$srcdir$ac_dir_suffix;
37030 ac_top_srcdir
=$srcdir ;;
37031 *) # Relative path.
37032 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37033 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37035 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37037 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37038 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37039 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37040 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37043 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37044 echo "$as_me: executing $ac_dest commands" >&6;}
37047 if test ! -h wx
-config; then
37049 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37050 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37053 if test ! -d lib
; then
37056 if test ! -d lib
/wx
; then
37059 if test ! -d lib
/wx
/include
; then
37060 mkdir lib
/wx
/include
37062 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37063 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37065 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37066 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37068 if test -f setup.h
; then
37069 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37076 cat >>$CONFIG_STATUS <<\_ACEOF
37078 { (exit 0); exit 0; }
37080 chmod +x
$CONFIG_STATUS
37081 ac_clean_files
=$ac_clean_files_save
37084 # configure is writing to config.log, and then calls config.status.
37085 # config.status does its own redirection, appending to config.log.
37086 # Unfortunately, on DOS this fails, as config.log is still kept open
37087 # by configure, so config.status won't be able to write to it; its
37088 # output is simply discarded. So we exec the FD to /dev/null,
37089 # effectively closing config.log, so it can be properly (re)opened and
37090 # appended to by config.status. When coming back to configure, we
37091 # need to make the FD available again.
37092 if test "$no_create" != yes; then
37094 ac_config_status_args
=
37095 test "$silent" = yes &&
37096 ac_config_status_args
="$ac_config_status_args --quiet"
37098 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37100 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37101 # would make configure fail if this is the last instruction.
37102 $ac_cs_success || { (exit 1); exit 1; }
37106 # CONFIG_SUBDIRS section.
37108 if test "$no_recursion" != yes; then
37110 # Remove --cache-file and --srcdir arguments so they do not pile up.
37111 ac_sub_configure_args
=
37113 for ac_arg
in $ac_configure_args; do
37114 if test -n "$ac_prev"; then
37119 -cache-file | --cache-file | --cache-fil | --cache-fi \
37120 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37121 ac_prev
=cache_file
;;
37122 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37123 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37126 --config-cache | -C)
37128 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37130 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37132 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37134 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37136 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37140 # Always prepend --prefix to ensure using the same prefix
37141 # in subdir configurations.
37142 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37145 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37147 # Do not complain, so a configure script can configure whichever
37148 # parts of a large source tree are present.
37149 test -d $srcdir/$ac_dir || continue
37151 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37152 echo "$as_me: configuring in $ac_dir" >&6;}
37153 { if $as_mkdir_p; then
37158 while test ! -d "$as_dir"; do
37159 as_dirs
="$as_dir $as_dirs"
37160 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37162 X"$as_dir" : 'X\(//\)[^/]' \| \
37163 X"$as_dir" : 'X\(//\)$' \| \
37164 X"$as_dir" : 'X\(/\)' \| \
37165 . : '\(.\)' 2>/dev/null ||
37167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37169 /^X\(\/\/\)$/{ s//\1/; q; }
37170 /^X\(\/\).*/{ s//\1/; q; }
37173 test ! -n "$as_dirs" || mkdir $as_dirs
37174 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37175 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37176 { (exit 1); exit 1; }; }; }
37180 if test "$ac_dir" != .
; then
37181 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37182 # A "../" for each directory in $ac_dir_suffix.
37183 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37185 ac_dir_suffix
= ac_top_builddir
=
37189 .
) # No --srcdir option. We are building in place.
37191 if test -z "$ac_top_builddir"; then
37194 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37196 [\\/]* | ?
:[\\/]* ) # Absolute path.
37197 ac_srcdir
=$srcdir$ac_dir_suffix;
37198 ac_top_srcdir
=$srcdir ;;
37199 *) # Relative path.
37200 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37201 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37203 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37205 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37206 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37207 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37208 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37213 # Check for guested configure; otherwise get Cygnus style configure.
37214 if test -f $ac_srcdir/configure.gnu
; then
37215 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37216 elif test -f $ac_srcdir/configure
; then
37217 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37218 elif test -f $ac_srcdir/configure.
in; then
37219 ac_sub_configure
=$ac_configure
37221 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37222 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37226 # The recursion is here.
37227 if test -n "$ac_sub_configure"; then
37228 # Make the cache file name correct relative to the subdirectory.
37229 case $cache_file in
37230 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37231 *) # Relative path.
37232 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37235 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37236 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37237 # The eval makes quoting arguments work.
37238 eval $ac_sub_configure $ac_sub_configure_args \
37239 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37240 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37241 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37242 { (exit 1); exit 1; }; }
37251 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37253 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37254 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37256 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37257 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37258 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37260 echo " What level of wxWindows compatibility should be enabled?"
37261 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37262 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37263 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37265 echo " Which libraries should wxWindows use?"
37266 echo " jpeg ${wxUSE_LIBJPEG-none}"
37267 echo " png ${wxUSE_LIBPNG-none}"
37268 echo " regex ${wxUSE_REGEX}"
37269 echo " tiff ${wxUSE_LIBTIFF-none}"
37270 echo " zlib ${wxUSE_ZLIB}"
37271 echo " odbc ${wxUSE_ODBC}"
37272 echo " expat ${wxUSE_EXPAT}"