2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197 if expr a : '\(a\)' >/dev/null 2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.file conf$$ 2>/dev/null; then
219 rm -f conf$$ conf$$.exe conf$$.file
221 if mkdir -p . 2>/dev/null; then
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_GUI UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_BUILD_DEBUG COND_BUILD_RELEASE COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775 ac_env_CXX_set=${CXX+set}
776 ac_env_CXX_value=$CXX
777 ac_cv_env_CXX_set=${CXX+set}
778 ac_cv_env_CXX_value=$CXX
779 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
780 ac_env_CXXFLAGS_value=$CXXFLAGS
781 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
783 ac_env_CXXCPP_set=${CXXCPP+set}
784 ac_env_CXXCPP_value=$CXXCPP
785 ac_cv_env_CXXCPP_set=${CXXCPP+set}
786 ac_cv_env_CXXCPP_value=$CXXCPP
789 # Report the --help message.
791 if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
795 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797 Usage: $0 [OPTION]... [VAR=VALUE]...
799 To assign environment variables (e.g., CC, CFLAGS...), specify them as
800 VAR=VALUE. See below for descriptions of some of the useful variables.
802 Defaults for the options are specified in brackets.
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
818 Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 By default, \`make install' will install all the files in
825 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827 for instance \`--prefix=\$HOME'.
829 For better control, use the options below.
831 Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
849 --x-includes=DIR X include files are in DIR
850 --x-libraries=DIR X library files are in DIR
853 --build=BUILD configure for building on BUILD [guessed]
854 --host=HOST cross-compile to build programs to run on HOST [BUILD]
855 --target=TARGET configure for building compilers for TARGET [HOST]
859 if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
866 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
867 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-stl use STL for containers
877 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows 2.0 compatibility
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support for large files
1027 --disable-gtktest do not try to compile and run a test GTK+ program
1028 --disable-gtktest Do not try to compile and run a test GTK program
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1034 --with-motif use Motif/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS-Windows
1039 --with-pm use OS/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1043 --with-libpng use libpng (PNG image format)
1044 --with-libjpeg use libjpeg (JPEG file format)
1045 --with-libtiff use libtiff (TIFF file format)
1046 --with-opengl use OpenGL (or Mesa)
1047 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1048 --with-regex enable support for wxRegEx class
1049 --with-zlib use zlib for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1056 Some influential environment variables:
1057 CC C compiler command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1064 CXX C++ compiler command
1065 CXXFLAGS C++ compiler flags
1066 CXXCPP C++ preprocessor
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <wx-dev@lists.wxwindows.org>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 wxWindows configure 2.5.0
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by wxWindows $as_me 2.5.0, which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1545 echo "$as_me:$LINENO: checking host system type" >&5
1546 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547 if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 ac_cv_host_alias=$host_alias
1551 test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias=$ac_cv_build_alias
1553 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1559 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560 echo "${ECHO_T}$ac_cv_host" >&6
1562 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1567 echo "$as_me:$LINENO: checking target system type" >&5
1568 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569 if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 ac_cv_target_alias=$target_alias
1573 test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias=$ac_cv_host_alias
1575 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582 echo "${ECHO_T}$ac_cv_target" >&6
1583 target=$ac_cv_target
1584 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589 # The aliases save the names the user supplied, while $host etc.
1590 # will get canonicalized.
1591 test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1594 program_prefix=${target_alias}-
1598 WX_MAJOR_VERSION_NUMBER=2
1599 WX_MINOR_VERSION_NUMBER=5
1602 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1603 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1605 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1620 USE_BSD= USE_DARWIN= USE_FREEBSD=
1626 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1632 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1634 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1636 DEFAULT_wxUSE_COCOA=0
1640 DEFAULT_wxUSE_MICROWIN=0
1641 DEFAULT_wxUSE_MOTIF=0
1646 DEFAULT_DEFAULT_wxUSE_COCOA=0
1647 DEFAULT_DEFAULT_wxUSE_GTK=0
1648 DEFAULT_DEFAULT_wxUSE_MAC=0
1649 DEFAULT_DEFAULT_wxUSE_MGL=0
1650 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1651 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1652 DEFAULT_DEFAULT_wxUSE_MSW=0
1653 DEFAULT_DEFAULT_wxUSE_PM=0
1654 DEFAULT_DEFAULT_wxUSE_X11=0
1663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1666 cat >>confdefs.h <<\_ACEOF
1673 cat >>confdefs.h <<\_ACEOF
1678 if test "x$TMP" = "xalpha"; then
1680 cat >>confdefs.h <<\_ACEOF
1685 DEFAULT_DEFAULT_wxUSE_GTK=1
1689 cat >>confdefs.h <<\_ACEOF
1694 if test "x$TMP" = "xalpha"; then
1696 cat >>confdefs.h <<\_ACEOF
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1703 *-*-irix5* | *-*-irix6* )
1706 cat >>confdefs.h <<\_ACEOF
1710 cat >>confdefs.h <<\_ACEOF
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1720 cat >>confdefs.h <<\_ACEOF
1724 cat >>confdefs.h <<\_ACEOF
1725 #define __SOLARIS__ 1
1728 cat >>confdefs.h <<\_ACEOF
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1739 cat >>confdefs.h <<\_ACEOF
1743 cat >>confdefs.h <<\_ACEOF
1747 cat >>confdefs.h <<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __FREEBSD__ 1
1760 cat >>confdefs.h <<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __OPENBSD__ 1
1773 cat >>confdefs.h <<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_GTK=1
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __NETBSD__ 1
1786 cat >>confdefs.h <<\_ACEOF
1790 DEFAULT_DEFAULT_wxUSE_GTK=1
1795 cat >>confdefs.h <<\_ACEOF
1799 cat >>confdefs.h <<\_ACEOF
1803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1809 cat >>confdefs.h <<\_ACEOF
1813 cat >>confdefs.h <<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 cat >>confdefs.h <<\_ACEOF
1826 cat >>confdefs.h <<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1837 cat >>confdefs.h <<\_ACEOF
1841 cat >>confdefs.h <<\_ACEOF
1845 cat >>confdefs.h <<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __UNIXWARE__ 1
1862 *-*-cygwin* | *-*-mingw32* )
1866 DEFAULT_DEFAULT_wxUSE_MSW=1
1872 cat >>confdefs.h <<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_MGL=1
1878 LIBS="$LIBS -lstdc++"
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_PM=1
1894 cat >>confdefs.h <<\_ACEOF
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __DARWIN__ 1
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __POWERPC__ 1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define TARGET_CARBON 1
1910 DEFAULT_DEFAULT_wxUSE_MAC=1
1915 cat >>confdefs.h <<\_ACEOF
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923 echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1930 wx_arg_cache_file="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1938 if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL=no
1940 DEFAULT_wxUSE_STL=no
1942 DEFAULT_wxUSE_NANOX=no
1944 DEFAULT_wxUSE_THREADS=yes
1946 DEFAULT_wxUSE_SHARED=yes
1947 DEFAULT_wxUSE_OPTIMISE=no
1948 DEFAULT_wxUSE_PROFILE=no
1949 DEFAULT_wxUSE_NO_DEPS=no
1950 DEFAULT_wxUSE_NO_RTTI=no
1951 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1952 DEFAULT_wxUSE_PERMISSIVE=no
1953 DEFAULT_wxUSE_DEBUG_FLAG=yes
1954 DEFAULT_wxUSE_DEBUG_INFO=yes
1955 DEFAULT_wxUSE_DEBUG_GDB=yes
1956 DEFAULT_wxUSE_MEM_TRACING=no
1957 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1958 DEFAULT_wxUSE_DMALLOC=no
1959 DEFAULT_wxUSE_APPLE_IEEE=no
1961 DEFAULT_wxUSE_LOG=yes
1962 DEFAULT_wxUSE_LOGWINDOW=no
1963 DEFAULT_wxUSE_LOGGUI=no
1964 DEFAULT_wxUSE_LOGDIALOG=no
1966 DEFAULT_wxUSE_GUI=yes
1967 DEFAULT_wxUSE_CONTROLS=no
1969 DEFAULT_wxUSE_REGEX=no
1970 DEFAULT_wxUSE_ZLIB=no
1971 DEFAULT_wxUSE_LIBPNG=no
1972 DEFAULT_wxUSE_LIBJPEG=no
1973 DEFAULT_wxUSE_LIBTIFF=no
1974 DEFAULT_wxUSE_ODBC=no
1975 DEFAULT_wxUSE_OPENGL=no
1977 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1978 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1979 DEFAULT_wxUSE_STD_IOSTREAM=no
1980 DEFAULT_wxUSE_CMDLINE_PARSER=no
1981 DEFAULT_wxUSE_DATETIME=no
1982 DEFAULT_wxUSE_TIMER=no
1983 DEFAULT_wxUSE_STOPWATCH=no
1984 DEFAULT_wxUSE_FILE=no
1985 DEFAULT_wxUSE_FFILE=no
1986 DEFAULT_wxUSE_TEXTBUFFER=no
1987 DEFAULT_wxUSE_TEXTFILE=no
1988 DEFAULT_wxUSE_WAVE=no
1989 DEFAULT_wxUSE_INTL=no
1990 DEFAULT_wxUSE_CONFIG=no
1991 DEFAULT_wxUSE_FONTMAP=no
1992 DEFAULT_wxUSE_STREAMS=no
1993 DEFAULT_wxUSE_SOCKETS=no
1994 DEFAULT_wxUSE_OLE=no
1995 DEFAULT_wxUSE_DATAOBJ=no
1996 DEFAULT_wxUSE_DIALUP_MANAGER=no
1997 DEFAULT_wxUSE_JOYSTICK=no
1998 DEFAULT_wxUSE_DYNLIB_CLASS=no
1999 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2000 DEFAULT_wxUSE_LONGLONG=no
2001 DEFAULT_wxUSE_GEOMETRY=no
2003 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2004 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2005 DEFAULT_wxUSE_POSTSCRIPT=no
2007 DEFAULT_wxUSE_CLIPBOARD=no
2008 DEFAULT_wxUSE_TOOLTIPS=no
2009 DEFAULT_wxUSE_DRAG_AND_DROP=no
2010 DEFAULT_wxUSE_DRAGIMAGE=no
2011 DEFAULT_wxUSE_SPLINES=no
2013 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2014 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2015 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2017 DEFAULT_wxUSE_RESOURCES=no
2018 DEFAULT_wxUSE_CONSTRAINTS=no
2019 DEFAULT_wxUSE_IPC=no
2020 DEFAULT_wxUSE_HELP=no
2021 DEFAULT_wxUSE_MS_HTML_HELP=no
2022 DEFAULT_wxUSE_WXHTML_HELP=no
2023 DEFAULT_wxUSE_TREELAYOUT=no
2024 DEFAULT_wxUSE_METAFILE=no
2025 DEFAULT_wxUSE_MIMETYPE=no
2026 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2027 DEFAULT_wxUSE_PROTOCOL=no
2028 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2029 DEFAULT_wxUSE_PROTOCOL_FTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FILE=no
2031 DEFAULT_wxUSE_URL=no
2033 DEFAULT_wxUSE_COMMONDLGS=no
2034 DEFAULT_wxUSE_CHOICEDLG=no
2035 DEFAULT_wxUSE_COLOURDLG=no
2036 DEFAULT_wxUSE_DIRDLG=no
2037 DEFAULT_wxUSE_FILEDLG=no
2038 DEFAULT_wxUSE_FINDREPLDLG=no
2039 DEFAULT_wxUSE_FONTDLG=no
2040 DEFAULT_wxUSE_MSGDLG=no
2041 DEFAULT_wxUSE_NUMBERDLG=no
2042 DEFAULT_wxUSE_TEXTDLG=no
2043 DEFAULT_wxUSE_SPLASH=no
2044 DEFAULT_wxUSE_STARTUP_TIPS=no
2045 DEFAULT_wxUSE_PROGRESSDLG=no
2046 DEFAULT_wxUSE_WIZARDDLG=no
2048 DEFAULT_wxUSE_MENUS=no
2049 DEFAULT_wxUSE_MINIFRAME=no
2050 DEFAULT_wxUSE_HTML=no
2051 DEFAULT_wxUSE_FILESYSTEM=no
2052 DEFAULT_wxUSE_FS_INET=no
2053 DEFAULT_wxUSE_FS_ZIP=no
2054 DEFAULT_wxUSE_BUSYINFO=no
2055 DEFAULT_wxUSE_ZIPSTREAM=no
2056 DEFAULT_wxUSE_VALIDATORS=no
2058 DEFAULT_wxUSE_ACCEL=no
2059 DEFAULT_wxUSE_BUTTON=no
2060 DEFAULT_wxUSE_BMPBUTTON=no
2061 DEFAULT_wxUSE_CALCTRL=no
2062 DEFAULT_wxUSE_CARET=no
2063 DEFAULT_wxUSE_CHECKBOX=no
2064 DEFAULT_wxUSE_CHECKLST=no
2065 DEFAULT_wxUSE_CHOICE=no
2066 DEFAULT_wxUSE_COMBOBOX=no
2067 DEFAULT_wxUSE_DISPLAY=no
2068 DEFAULT_wxUSE_GAUGE=no
2069 DEFAULT_wxUSE_GRID=no
2070 DEFAULT_wxUSE_IMAGLIST=no
2071 DEFAULT_wxUSE_LISTBOX=no
2072 DEFAULT_wxUSE_LISTCTRL=no
2073 DEFAULT_wxUSE_NOTEBOOK=no
2074 DEFAULT_wxUSE_RADIOBOX=no
2075 DEFAULT_wxUSE_RADIOBTN=no
2076 DEFAULT_wxUSE_SASH=no
2077 DEFAULT_wxUSE_SCROLLBAR=no
2078 DEFAULT_wxUSE_SLIDER=no
2079 DEFAULT_wxUSE_SPINBTN=no
2080 DEFAULT_wxUSE_SPINCTRL=no
2081 DEFAULT_wxUSE_SPLITTER=no
2082 DEFAULT_wxUSE_STATBMP=no
2083 DEFAULT_wxUSE_STATBOX=no
2084 DEFAULT_wxUSE_STATLINE=no
2085 DEFAULT_wxUSE_STATTEXT=no
2086 DEFAULT_wxUSE_STATUSBAR=yes
2087 DEFAULT_wxUSE_TABDIALOG=no
2088 DEFAULT_wxUSE_TEXTCTRL=no
2089 DEFAULT_wxUSE_TOGGLEBTN=no
2090 DEFAULT_wxUSE_TOOLBAR=no
2091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2092 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2093 DEFAULT_wxUSE_TREECTRL=no
2094 DEFAULT_wxUSE_POPUPWIN=no
2095 DEFAULT_wxUSE_TIPWINDOW=no
2097 DEFAULT_wxUSE_UNICODE=no
2098 DEFAULT_wxUSE_UNICODE_MSLU=no
2099 DEFAULT_wxUSE_WCSRTOMBS=no
2101 DEFAULT_wxUSE_PALETTE=no
2102 DEFAULT_wxUSE_IMAGE=no
2103 DEFAULT_wxUSE_GIF=no
2104 DEFAULT_wxUSE_PCX=no
2105 DEFAULT_wxUSE_PNM=no
2106 DEFAULT_wxUSE_IFF=no
2107 DEFAULT_wxUSE_XPM=no
2108 DEFAULT_wxUSE_ICO_CUR=no
2109 DEFAULT_wxUSE_ACCESSIBILITY=no
2111 DEFAULT_wxUSE_MONOLITHIC=yes
2113 DEFAULT_wxUSE_UNIVERSAL=no
2114 DEFAULT_wxUSE_STL=no
2116 DEFAULT_wxUSE_NANOX=no
2118 DEFAULT_wxUSE_THREADS=yes
2120 DEFAULT_wxUSE_SHARED=yes
2121 DEFAULT_wxUSE_OPTIMISE=yes
2122 DEFAULT_wxUSE_PROFILE=no
2123 DEFAULT_wxUSE_NO_DEPS=no
2124 DEFAULT_wxUSE_NO_RTTI=no
2125 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2126 DEFAULT_wxUSE_PERMISSIVE=no
2127 DEFAULT_wxUSE_DEBUG_FLAG=no
2128 DEFAULT_wxUSE_DEBUG_INFO=no
2129 DEFAULT_wxUSE_DEBUG_GDB=no
2130 DEFAULT_wxUSE_MEM_TRACING=no
2131 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2132 DEFAULT_wxUSE_DMALLOC=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2140 DEFAULT_wxUSE_GUI=yes
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2284 DEFAULT_wxUSE_MONOLITHIC=yes
2289 for toolkit in `echo $ALL_TOOLKITS`; do
2290 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2291 if test "x$LINE" != "x" ; then
2292 has_toolkit_in_cache=1
2293 eval "DEFAULT_$LINE"
2294 eval "CACHE_$toolkit=1"
2301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2302 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2304 # Check whether --enable-gui or --disable-gui was given.
2305 if test "${enable_gui+set}" = set; then
2306 enableval="$enable_gui"
2308 if test "$enableval" = yes; then
2309 ac_cv_use_gui='wxUSE_GUI=yes'
2311 ac_cv_use_gui='wxUSE_GUI=no'
2316 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x ; then
2318 eval "DEFAULT_$LINE"
2323 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2327 eval "$ac_cv_use_gui"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2332 if test "$wxUSE_GUI" = yes; then
2333 echo "$as_me:$LINENO: result: yes" >&5
2334 echo "${ECHO_T}yes" >&6
2336 echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6
2342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2343 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2345 # Check whether --enable-monolithic or --disable-monolithic was given.
2346 if test "${enable_monolithic+set}" = set; then
2347 enableval="$enable_monolithic"
2349 if test "$enableval" = yes; then
2350 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2352 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2357 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x ; then
2359 eval "DEFAULT_$LINE"
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2368 eval "$ac_cv_use_monolithic"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2373 if test "$wxUSE_MONOLITHIC" = yes; then
2374 echo "$as_me:$LINENO: result: yes" >&5
2375 echo "${ECHO_T}yes" >&6
2377 echo "$as_me:$LINENO: result: no" >&5
2378 echo "${ECHO_T}no" >&6
2382 if test "$wxUSE_GUI" = "yes"; then
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2387 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2389 # Check whether --enable-universal or --disable-universal was given.
2390 if test "${enable_universal+set}" = set; then
2391 enableval="$enable_universal"
2393 if test "$enableval" = yes; then
2394 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2396 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2401 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2408 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2412 eval "$ac_cv_use_universal"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2417 if test "$wxUSE_UNIVERSAL" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419 echo "${ECHO_T}yes" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2426 # Check whether --with-gtk or --without-gtk was given.
2427 if test "${with_gtk+set}" = set; then
2429 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2432 # Check whether --with-motif or --without-motif was given.
2433 if test "${with_motif+set}" = set; then
2434 withval="$with_motif"
2435 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2438 # Check whether --with-mac or --without-mac was given.
2439 if test "${with_mac+set}" = set; then
2441 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2444 # Check whether --with-cocoa or --without-cocoa was given.
2445 if test "${with_cocoa+set}" = set; then
2446 withval="$with_cocoa"
2447 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2450 # Check whether --with-wine or --without-wine was given.
2451 if test "${with_wine+set}" = set; then
2452 withval="$with_wine"
2453 wxUSE_WINE="$withval" CACHE_WINE=1
2456 # Check whether --with-msw or --without-msw was given.
2457 if test "${with_msw+set}" = set; then
2459 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2462 # Check whether --with-pm or --without-pm was given.
2463 if test "${with_pm+set}" = set; then
2465 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2468 # Check whether --with-mgl or --without-mgl was given.
2469 if test "${with_mgl+set}" = set; then
2471 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2474 # Check whether --with-microwin or --without-microwin was given.
2475 if test "${with_microwin+set}" = set; then
2476 withval="$with_microwin"
2477 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2480 # Check whether --with-x11 or --without-x11 was given.
2481 if test "${with_x11+set}" = set; then
2483 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2490 # Check whether --enable-nanox or --disable-nanox was given.
2491 if test "${enable_nanox+set}" = set; then
2492 enableval="$enable_nanox"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_nanox='wxUSE_NANOX=yes'
2497 ac_cv_use_nanox='wxUSE_NANOX=no'
2502 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2513 eval "$ac_cv_use_nanox"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_NANOX" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2532 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2533 if test "${enable_gtk2+set}" = set; then
2534 enableval="$enable_gtk2"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2539 ac_cv_use_gtk2='wxUSE_GTK2=no'
2544 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2555 eval "$ac_cv_use_gtk2"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_GTK2" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2570 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2571 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2574 # Check whether --with-libpng or --without-libpng was given.
2575 if test "${with_libpng+set}" = set; then
2576 withval="$with_libpng"
2578 if test "$withval" = yes; then
2579 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2580 elif test "$withval" = no; then
2581 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2582 elif test "$withval" = sys; then
2583 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2584 elif test "$withval" = builtin; then
2585 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2589 { (exit 1); exit 1; }; }
2594 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2601 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2605 eval "$ac_cv_use_libpng"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2610 if test "$wxUSE_LIBPNG" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 elif test "$wxUSE_LIBPNG" = no; then
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2616 elif test "$wxUSE_LIBPNG" = sys; then
2617 echo "$as_me:$LINENO: result: system version" >&5
2618 echo "${ECHO_T}system version" >&6
2619 elif test "$wxUSE_LIBPNG" = builtin; then
2620 echo "$as_me:$LINENO: result: builtin version" >&5
2621 echo "${ECHO_T}builtin version" >&6
2623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2624 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2625 { (exit 1); exit 1; }; }
2629 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2630 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2633 # Check whether --with-libjpeg or --without-libjpeg was given.
2634 if test "${with_libjpeg+set}" = set; then
2635 withval="$with_libjpeg"
2637 if test "$withval" = yes; then
2638 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2639 elif test "$withval" = no; then
2640 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2641 elif test "$withval" = sys; then
2642 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2643 elif test "$withval" = builtin; then
2644 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2647 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2648 { (exit 1); exit 1; }; }
2653 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2660 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2664 eval "$ac_cv_use_libjpeg"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2669 if test "$wxUSE_LIBJPEG" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2672 elif test "$wxUSE_LIBJPEG" = no; then
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2675 elif test "$wxUSE_LIBJPEG" = sys; then
2676 echo "$as_me:$LINENO: result: system version" >&5
2677 echo "${ECHO_T}system version" >&6
2678 elif test "$wxUSE_LIBJPEG" = builtin; then
2679 echo "$as_me:$LINENO: result: builtin version" >&5
2680 echo "${ECHO_T}builtin version" >&6
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2683 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2688 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2689 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2692 # Check whether --with-libtiff or --without-libtiff was given.
2693 if test "${with_libtiff+set}" = set; then
2694 withval="$with_libtiff"
2696 if test "$withval" = yes; then
2697 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2698 elif test "$withval" = no; then
2699 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2700 elif test "$withval" = sys; then
2701 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2702 elif test "$withval" = builtin; then
2703 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2706 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2707 { (exit 1); exit 1; }; }
2712 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2723 eval "$ac_cv_use_libtiff"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_LIBTIFF" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2731 elif test "$wxUSE_LIBTIFF" = no; then
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 elif test "$wxUSE_LIBTIFF" = sys; then
2735 echo "$as_me:$LINENO: result: system version" >&5
2736 echo "${ECHO_T}system version" >&6
2737 elif test "$wxUSE_LIBTIFF" = builtin; then
2738 echo "$as_me:$LINENO: result: builtin version" >&5
2739 echo "${ECHO_T}builtin version" >&6
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2742 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2747 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2748 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2751 # Check whether --with-opengl or --without-opengl was given.
2752 if test "${with_opengl+set}" = set; then
2753 withval="$with_opengl"
2755 if test "$withval" = yes; then
2756 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2758 ac_cv_use_opengl='wxUSE_OPENGL=no'
2763 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2774 eval "$ac_cv_use_opengl"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_OPENGL" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2791 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2792 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2795 # Check whether --with-dmalloc or --without-dmalloc was given.
2796 if test "${with_dmalloc+set}" = set; then
2797 withval="$with_dmalloc"
2799 if test "$withval" = yes; then
2800 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2802 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2807 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2818 eval "$ac_cv_use_dmalloc"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_DMALLOC" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2832 echo "$as_me:$LINENO: checking for --with-regex" >&5
2833 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2836 # Check whether --with-regex or --without-regex was given.
2837 if test "${with_regex+set}" = set; then
2838 withval="$with_regex"
2840 if test "$withval" = yes; then
2841 ac_cv_use_regex='wxUSE_REGEX=yes'
2842 elif test "$withval" = no; then
2843 ac_cv_use_regex='wxUSE_REGEX=no'
2844 elif test "$withval" = sys; then
2845 ac_cv_use_regex='wxUSE_REGEX=sys'
2846 elif test "$withval" = builtin; then
2847 ac_cv_use_regex='wxUSE_REGEX=builtin'
2849 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2850 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2851 { (exit 1); exit 1; }; }
2856 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x ; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2867 eval "$ac_cv_use_regex"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2872 if test "$wxUSE_REGEX" = yes; then
2873 echo "$as_me:$LINENO: result: yes" >&5
2874 echo "${ECHO_T}yes" >&6
2875 elif test "$wxUSE_REGEX" = no; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2878 elif test "$wxUSE_REGEX" = sys; then
2879 echo "$as_me:$LINENO: result: system version" >&5
2880 echo "${ECHO_T}system version" >&6
2881 elif test "$wxUSE_REGEX" = builtin; then
2882 echo "$as_me:$LINENO: result: builtin version" >&5
2883 echo "${ECHO_T}builtin version" >&6
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2891 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2892 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2895 # Check whether --with-zlib or --without-zlib was given.
2896 if test "${with_zlib+set}" = set; then
2897 withval="$with_zlib"
2899 if test "$withval" = yes; then
2900 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2901 elif test "$withval" = no; then
2902 ac_cv_use_zlib='wxUSE_ZLIB=no'
2903 elif test "$withval" = sys; then
2904 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2905 elif test "$withval" = builtin; then
2906 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2908 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2909 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2910 { (exit 1); exit 1; }; }
2915 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2922 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2926 eval "$ac_cv_use_zlib"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2931 if test "$wxUSE_ZLIB" = yes; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2934 elif test "$wxUSE_ZLIB" = no; then
2935 echo "$as_me:$LINENO: result: no" >&5
2936 echo "${ECHO_T}no" >&6
2937 elif test "$wxUSE_ZLIB" = sys; then
2938 echo "$as_me:$LINENO: result: system version" >&5
2939 echo "${ECHO_T}system version" >&6
2940 elif test "$wxUSE_ZLIB" = builtin; then
2941 echo "$as_me:$LINENO: result: builtin version" >&5
2942 echo "${ECHO_T}builtin version" >&6
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2950 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2951 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2954 # Check whether --with-odbc or --without-odbc was given.
2955 if test "${with_odbc+set}" = set; then
2956 withval="$with_odbc"
2958 if test "$withval" = yes; then
2959 ac_cv_use_odbc='wxUSE_ODBC=yes'
2960 elif test "$withval" = no; then
2961 ac_cv_use_odbc='wxUSE_ODBC=no'
2962 elif test "$withval" = sys; then
2963 ac_cv_use_odbc='wxUSE_ODBC=sys'
2964 elif test "$withval" = builtin; then
2965 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2967 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2968 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2969 { (exit 1); exit 1; }; }
2974 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x ; then
2976 eval "DEFAULT_$LINE"
2981 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2985 eval "$ac_cv_use_odbc"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2990 if test "$wxUSE_ODBC" = yes; then
2991 echo "$as_me:$LINENO: result: yes" >&5
2992 echo "${ECHO_T}yes" >&6
2993 elif test "$wxUSE_ODBC" = no; then
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2996 elif test "$wxUSE_ODBC" = sys; then
2997 echo "$as_me:$LINENO: result: system version" >&5
2998 echo "${ECHO_T}system version" >&6
2999 elif test "$wxUSE_ODBC" = builtin; then
3000 echo "$as_me:$LINENO: result: builtin version" >&5
3001 echo "${ECHO_T}builtin version" >&6
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3004 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3015 # Check whether --enable-shared or --disable-shared was given.
3016 if test "${enable_shared+set}" = set; then
3017 enableval="$enable_shared"
3019 if test "$enableval" = yes; then
3020 ac_cv_use_shared='wxUSE_SHARED=yes'
3022 ac_cv_use_shared='wxUSE_SHARED=no'
3027 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x ; then
3029 eval "DEFAULT_$LINE"
3034 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3038 eval "$ac_cv_use_shared"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3043 if test "$wxUSE_SHARED" = yes; then
3044 echo "$as_me:$LINENO: result: yes" >&5
3045 echo "${ECHO_T}yes" >&6
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3056 # Check whether --enable-optimise or --disable-optimise was given.
3057 if test "${enable_optimise+set}" = set; then
3058 enableval="$enable_optimise"
3060 if test "$enableval" = yes; then
3061 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3063 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3068 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3075 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3079 eval "$ac_cv_use_optimise"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3084 if test "$wxUSE_OPTIMISE" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3095 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3097 # Check whether --enable-debug or --disable-debug was given.
3098 if test "${enable_debug+set}" = set; then
3099 enableval="$enable_debug"
3101 if test "$enableval" = yes; then
3102 ac_cv_use_debug='wxUSE_DEBUG=yes'
3104 ac_cv_use_debug='wxUSE_DEBUG=no'
3109 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3116 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3120 eval "$ac_cv_use_debug"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3125 if test "$wxUSE_DEBUG" = yes; then
3126 echo "$as_me:$LINENO: result: yes" >&5
3127 echo "${ECHO_T}yes" >&6
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3138 # Check whether --enable-stl or --disable-stl was given.
3139 if test "${enable_stl+set}" = set; then
3140 enableval="$enable_stl"
3142 if test "$enableval" = yes; then
3143 ac_cv_use_stl='wxUSE_STL=yes'
3145 ac_cv_use_stl='wxUSE_STL=no'
3150 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x ; then
3152 eval "DEFAULT_$LINE"
3157 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3161 eval "$ac_cv_use_stl"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3166 if test "$wxUSE_STL" = yes; then
3167 echo "$as_me:$LINENO: result: yes" >&5
3168 echo "${ECHO_T}yes" >&6
3170 echo "$as_me:$LINENO: result: no" >&5
3171 echo "${ECHO_T}no" >&6
3175 if test "$wxUSE_DEBUG" = "yes"; then
3176 DEFAULT_wxUSE_DEBUG_FLAG=yes
3177 DEFAULT_wxUSE_DEBUG_INFO=yes
3178 elif test "$wxUSE_DEBUG" = "no"; then
3179 DEFAULT_wxUSE_DEBUG_FLAG=no
3180 DEFAULT_wxUSE_DEBUG_INFO=no
3185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3186 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3188 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3189 if test "${enable_debug_flag+set}" = set; then
3190 enableval="$enable_debug_flag"
3192 if test "$enableval" = yes; then
3193 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3195 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3200 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3207 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3211 eval "$ac_cv_use_debug_flag"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3216 if test "$wxUSE_DEBUG_FLAG" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3227 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3229 # Check whether --enable-debug_info or --disable-debug_info was given.
3230 if test "${enable_debug_info+set}" = set; then
3231 enableval="$enable_debug_info"
3233 if test "$enableval" = yes; then
3234 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3236 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3241 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x ; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3252 eval "$ac_cv_use_debug_info"
3253 if test "$no_cache" != 1; then
3254 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3257 if test "$wxUSE_DEBUG_INFO" = yes; then
3258 echo "$as_me:$LINENO: result: yes" >&5
3259 echo "${ECHO_T}yes" >&6
3261 echo "$as_me:$LINENO: result: no" >&5
3262 echo "${ECHO_T}no" >&6
3267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3268 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3270 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3271 if test "${enable_debug_gdb+set}" = set; then
3272 enableval="$enable_debug_gdb"
3274 if test "$enableval" = yes; then
3275 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3277 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3282 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3289 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3293 eval "$ac_cv_use_debug_gdb"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3298 if test "$wxUSE_DEBUG_GDB" = yes; then
3299 echo "$as_me:$LINENO: result: yes" >&5
3300 echo "${ECHO_T}yes" >&6
3302 echo "$as_me:$LINENO: result: no" >&5
3303 echo "${ECHO_T}no" >&6
3308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3309 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3311 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3312 if test "${enable_debug_cntxt+set}" = set; then
3313 enableval="$enable_debug_cntxt"
3315 if test "$enableval" = yes; then
3316 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3318 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3323 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x ; then
3325 eval "DEFAULT_$LINE"
3330 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3334 eval "$ac_cv_use_debug_cntxt"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3340 echo "$as_me:$LINENO: result: yes" >&5
3341 echo "${ECHO_T}yes" >&6
3343 echo "$as_me:$LINENO: result: no" >&5
3344 echo "${ECHO_T}no" >&6
3349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3350 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3352 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3353 if test "${enable_mem_tracing+set}" = set; then
3354 enableval="$enable_mem_tracing"
3356 if test "$enableval" = yes; then
3357 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3359 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3364 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3375 eval "$ac_cv_use_mem_tracing"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_MEM_TRACING" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3393 # Check whether --enable-profile or --disable-profile was given.
3394 if test "${enable_profile+set}" = set; then
3395 enableval="$enable_profile"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_profile='wxUSE_PROFILE=yes'
3400 ac_cv_use_profile='wxUSE_PROFILE=no'
3405 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x ; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3416 eval "$ac_cv_use_profile"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_PROFILE" = yes; then
3422 echo "$as_me:$LINENO: result: yes" >&5
3423 echo "${ECHO_T}yes" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3432 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3434 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3435 if test "${enable_no_rtti+set}" = set; then
3436 enableval="$enable_no_rtti"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3441 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3446 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x ; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3457 eval "$ac_cv_use_no_rtti"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_NO_RTTI" = yes; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3475 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3476 if test "${enable_no_exceptions+set}" = set; then
3477 enableval="$enable_no_exceptions"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3482 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3487 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3498 eval "$ac_cv_use_no_exceptions"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3514 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3516 # Check whether --enable-permissive or --disable-permissive was given.
3517 if test "${enable_permissive+set}" = set; then
3518 enableval="$enable_permissive"
3520 if test "$enableval" = yes; then
3521 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3523 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3528 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3539 eval "$ac_cv_use_permissive"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_PERMISSIVE" = yes; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3555 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3557 # Check whether --enable-no_deps or --disable-no_deps was given.
3558 if test "${enable_no_deps+set}" = set; then
3559 enableval="$enable_no_deps"
3561 if test "$enableval" = yes; then
3562 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3564 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3569 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3576 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3580 eval "$ac_cv_use_no_deps"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_NO_DEPS" = yes; then
3586 echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6
3589 echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3597 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3599 # Check whether --enable-compat20 or --disable-compat20 was given.
3600 if test "${enable_compat20+set}" = set; then
3601 enableval="$enable_compat20"
3603 if test "$enableval" = yes; then
3604 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3606 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3611 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x ; then
3613 eval "DEFAULT_$LINE"
3618 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3622 eval "$ac_cv_use_compat20"
3623 if test "$no_cache" != 1; then
3624 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3627 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3628 echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6
3631 echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6
3637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3638 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3640 # Check whether --enable-compat22 or --disable-compat22 was given.
3641 if test "${enable_compat22+set}" = set; then
3642 enableval="$enable_compat22"
3644 if test "$enableval" = yes; then
3645 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3647 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3652 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x ; then
3654 eval "DEFAULT_$LINE"
3659 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3663 eval "$ac_cv_use_compat22"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3668 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3669 echo "$as_me:$LINENO: result: yes" >&5
3670 echo "${ECHO_T}yes" >&6
3672 echo "$as_me:$LINENO: result: no" >&5
3673 echo "${ECHO_T}no" >&6
3677 enablestring=disable
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3679 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3681 # Check whether --enable-compat24 or --disable-compat24 was given.
3682 if test "${enable_compat24+set}" = set; then
3683 enableval="$enable_compat24"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3688 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3693 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3704 eval "$ac_cv_use_compat24"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3709 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3718 # Check whether --enable-rpath or --disable-rpath was given.
3719 if test "${enable_rpath+set}" = set; then
3720 enableval="$enable_rpath"
3721 wxRPATH_DIR="$enableval"
3724 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3725 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3733 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3735 # Check whether --enable-intl or --disable-intl was given.
3736 if test "${enable_intl+set}" = set; then
3737 enableval="$enable_intl"
3739 if test "$enableval" = yes; then
3740 ac_cv_use_intl='wxUSE_INTL=yes'
3742 ac_cv_use_intl='wxUSE_INTL=no'
3747 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x ; then
3749 eval "DEFAULT_$LINE"
3754 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3758 eval "$ac_cv_use_intl"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_INTL" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3776 # Check whether --enable-config or --disable-config was given.
3777 if test "${enable_config+set}" = set; then
3778 enableval="$enable_config"
3780 if test "$enableval" = yes; then
3781 ac_cv_use_config='wxUSE_CONFIG=yes'
3783 ac_cv_use_config='wxUSE_CONFIG=no'
3788 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3795 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3799 eval "$ac_cv_use_config"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_CONFIG" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3816 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3818 # Check whether --enable-protocols or --disable-protocols was given.
3819 if test "${enable_protocols+set}" = set; then
3820 enableval="$enable_protocols"
3822 if test "$enableval" = yes; then
3823 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3825 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3830 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3841 eval "$ac_cv_use_protocols"
3842 if test "$no_cache" != 1; then
3843 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3846 if test "$wxUSE_PROTOCOL" = yes; then
3847 echo "$as_me:$LINENO: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6
3850 echo "$as_me:$LINENO: result: no" >&5
3851 echo "${ECHO_T}no" >&6
3856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3857 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3859 # Check whether --enable-ftp or --disable-ftp was given.
3860 if test "${enable_ftp+set}" = set; then
3861 enableval="$enable_ftp"
3863 if test "$enableval" = yes; then
3864 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3866 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3871 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x ; then
3873 eval "DEFAULT_$LINE"
3878 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3882 eval "$ac_cv_use_ftp"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3887 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3888 echo "$as_me:$LINENO: result: yes" >&5
3889 echo "${ECHO_T}yes" >&6
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3898 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3900 # Check whether --enable-http or --disable-http was given.
3901 if test "${enable_http+set}" = set; then
3902 enableval="$enable_http"
3904 if test "$enableval" = yes; then
3905 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3907 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3912 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3919 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3923 eval "$ac_cv_use_http"
3924 if test "$no_cache" != 1; then
3925 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3928 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3929 echo "$as_me:$LINENO: result: yes" >&5
3930 echo "${ECHO_T}yes" >&6
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3939 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3941 # Check whether --enable-fileproto or --disable-fileproto was given.
3942 if test "${enable_fileproto+set}" = set; then
3943 enableval="$enable_fileproto"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3948 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3953 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x ; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3964 eval "$ac_cv_use_fileproto"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3969 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3970 echo "$as_me:$LINENO: result: yes" >&5
3971 echo "${ECHO_T}yes" >&6
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3980 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3982 # Check whether --enable-sockets or --disable-sockets was given.
3983 if test "${enable_sockets+set}" = set; then
3984 enableval="$enable_sockets"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3989 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3994 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4005 eval "$ac_cv_use_sockets"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_SOCKETS" = yes; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4021 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4023 # Check whether --enable-ole or --disable-ole was given.
4024 if test "${enable_ole+set}" = set; then
4025 enableval="$enable_ole"
4027 if test "$enableval" = yes; then
4028 ac_cv_use_ole='wxUSE_OLE=yes'
4030 ac_cv_use_ole='wxUSE_OLE=no'
4035 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4042 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4046 eval "$ac_cv_use_ole"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4051 if test "$wxUSE_OLE" = yes; then
4052 echo "$as_me:$LINENO: result: yes" >&5
4053 echo "${ECHO_T}yes" >&6
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4062 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4064 # Check whether --enable-dataobj or --disable-dataobj was given.
4065 if test "${enable_dataobj+set}" = set; then
4066 enableval="$enable_dataobj"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4071 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4076 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x ; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4087 eval "$ac_cv_use_dataobj"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4092 if test "$wxUSE_DATAOBJ" = yes; then
4093 echo "$as_me:$LINENO: result: yes" >&5
4094 echo "${ECHO_T}yes" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4106 # Check whether --enable-ipc or --disable-ipc was given.
4107 if test "${enable_ipc+set}" = set; then
4108 enableval="$enable_ipc"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_ipc='wxUSE_IPC=yes'
4113 ac_cv_use_ipc='wxUSE_IPC=no'
4118 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4129 eval "$ac_cv_use_ipc"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_IPC" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4146 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4148 # Check whether --enable-cmdline or --disable-cmdline was given.
4149 if test "${enable_cmdline+set}" = set; then
4150 enableval="$enable_cmdline"
4152 if test "$enableval" = yes; then
4153 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4155 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4160 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x ; then
4162 eval "DEFAULT_$LINE"
4167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4171 eval "$ac_cv_use_cmdline"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4176 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4177 echo "$as_me:$LINENO: result: yes" >&5
4178 echo "${ECHO_T}yes" >&6
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4187 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4189 # Check whether --enable-datetime or --disable-datetime was given.
4190 if test "${enable_datetime+set}" = set; then
4191 enableval="$enable_datetime"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4196 ac_cv_use_datetime='wxUSE_DATETIME=no'
4201 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4212 eval "$ac_cv_use_datetime"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_DATETIME" = yes; then
4218 echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4228 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4230 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4231 if test "${enable_stopwatch+set}" = set; then
4232 enableval="$enable_stopwatch"
4234 if test "$enableval" = yes; then
4235 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4237 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4242 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4249 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4253 eval "$ac_cv_use_stopwatch"
4254 if test "$no_cache" != 1; then
4255 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4258 if test "$wxUSE_STOPWATCH" = yes; then
4259 echo "$as_me:$LINENO: result: yes" >&5
4260 echo "${ECHO_T}yes" >&6
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4269 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4271 # Check whether --enable-dialupman or --disable-dialupman was given.
4272 if test "${enable_dialupman+set}" = set; then
4273 enableval="$enable_dialupman"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4278 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4283 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x ; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4294 eval "$ac_cv_use_dialupman"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4300 echo "$as_me:$LINENO: result: yes" >&5
4301 echo "${ECHO_T}yes" >&6
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4310 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4312 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4313 if test "${enable_apple_ieee+set}" = set; then
4314 enableval="$enable_apple_ieee"
4316 if test "$enableval" = yes; then
4317 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4319 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4324 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4331 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4335 eval "$ac_cv_use_apple_ieee"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4340 if test "$wxUSE_APPLE_IEEE" = yes; then
4341 echo "$as_me:$LINENO: result: yes" >&5
4342 echo "${ECHO_T}yes" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4351 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4353 # Check whether --enable-timer or --disable-timer was given.
4354 if test "${enable_timer+set}" = set; then
4355 enableval="$enable_timer"
4357 if test "$enableval" = yes; then
4358 ac_cv_use_timer='wxUSE_TIMER=yes'
4360 ac_cv_use_timer='wxUSE_TIMER=no'
4365 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4376 eval "$ac_cv_use_timer"
4377 if test "$no_cache" != 1; then
4378 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4381 if test "$wxUSE_TIMER" = yes; then
4382 echo "$as_me:$LINENO: result: yes" >&5
4383 echo "${ECHO_T}yes" >&6
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4392 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4394 # Check whether --enable-wave or --disable-wave was given.
4395 if test "${enable_wave+set}" = set; then
4396 enableval="$enable_wave"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_wave='wxUSE_WAVE=yes'
4401 ac_cv_use_wave='wxUSE_WAVE=no'
4406 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4417 eval "$ac_cv_use_wave"
4418 if test "$no_cache" != 1; then
4419 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4422 if test "$wxUSE_WAVE" = yes; then
4423 echo "$as_me:$LINENO: result: yes" >&5
4424 echo "${ECHO_T}yes" >&6
4426 echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4433 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4435 # Check whether --enable-fraction or --disable-fraction was given.
4436 if test "${enable_fraction+set}" = set; then
4437 enableval="$enable_fraction"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4442 ac_cv_use_fraction='wxUSE_FRACTION=no'
4447 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x ; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4458 eval "$ac_cv_use_fraction"
4459 if test "$no_cache" != 1; then
4460 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4463 if test "$wxUSE_FRACTION" = yes; then
4464 echo "$as_me:$LINENO: result: yes" >&5
4465 echo "${ECHO_T}yes" >&6
4467 echo "$as_me:$LINENO: result: no" >&5
4468 echo "${ECHO_T}no" >&6
4473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4474 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4476 # Check whether --enable-dynlib or --disable-dynlib was given.
4477 if test "${enable_dynlib+set}" = set; then
4478 enableval="$enable_dynlib"
4480 if test "$enableval" = yes; then
4481 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4483 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4488 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x ; then
4490 eval "DEFAULT_$LINE"
4495 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4499 eval "$ac_cv_use_dynlib"
4500 if test "$no_cache" != 1; then
4501 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4504 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4505 echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4515 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4517 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4518 if test "${enable_dynamicloader+set}" = set; then
4519 enableval="$enable_dynamicloader"
4521 if test "$enableval" = yes; then
4522 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4524 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4529 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4536 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4540 eval "$ac_cv_use_dynamicloader"
4541 if test "$no_cache" != 1; then
4542 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4545 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4546 echo "$as_me:$LINENO: result: yes" >&5
4547 echo "${ECHO_T}yes" >&6
4549 echo "$as_me:$LINENO: result: no" >&5
4550 echo "${ECHO_T}no" >&6
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4558 # Check whether --enable-longlong or --disable-longlong was given.
4559 if test "${enable_longlong+set}" = set; then
4560 enableval="$enable_longlong"
4562 if test "$enableval" = yes; then
4563 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4565 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4570 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4577 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4581 eval "$ac_cv_use_longlong"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_LONGLONG" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4599 # Check whether --enable-geometry or --disable-geometry was given.
4600 if test "${enable_geometry+set}" = set; then
4601 enableval="$enable_geometry"
4603 if test "$enableval" = yes; then
4604 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4606 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4611 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4622 eval "$ac_cv_use_geometry"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4627 if test "$wxUSE_GEOMETRY" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4640 # Check whether --enable-log or --disable-log was given.
4641 if test "${enable_log+set}" = set; then
4642 enableval="$enable_log"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_log='wxUSE_LOG=yes'
4647 ac_cv_use_log='wxUSE_LOG=no'
4652 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4663 eval "$ac_cv_use_log"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4668 if test "$wxUSE_LOG" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4681 # Check whether --enable-streams or --disable-streams was given.
4682 if test "${enable_streams+set}" = set; then
4683 enableval="$enable_streams"
4685 if test "$enableval" = yes; then
4686 ac_cv_use_streams='wxUSE_STREAMS=yes'
4688 ac_cv_use_streams='wxUSE_STREAMS=no'
4693 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4700 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4704 eval "$ac_cv_use_streams"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4722 # Check whether --enable-file or --disable-file was given.
4723 if test "${enable_file+set}" = set; then
4724 enableval="$enable_file"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_file='wxUSE_FILE=yes'
4729 ac_cv_use_file='wxUSE_FILE=no'
4734 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4745 eval "$ac_cv_use_file"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_FILE" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4763 # Check whether --enable-ffile or --disable-ffile was given.
4764 if test "${enable_ffile+set}" = set; then
4765 enableval="$enable_ffile"
4767 if test "$enableval" = yes; then
4768 ac_cv_use_ffile='wxUSE_FFILE=yes'
4770 ac_cv_use_ffile='wxUSE_FFILE=no'
4775 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4786 eval "$ac_cv_use_ffile"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4791 if test "$wxUSE_FFILE" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4804 # Check whether --enable-textbuf or --disable-textbuf was given.
4805 if test "${enable_textbuf+set}" = set; then
4806 enableval="$enable_textbuf"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4811 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4816 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4827 eval "$ac_cv_use_textbuf"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_TEXTBUFFER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4845 # Check whether --enable-textfile or --disable-textfile was given.
4846 if test "${enable_textfile+set}" = set; then
4847 enableval="$enable_textfile"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4852 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4857 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4868 eval "$ac_cv_use_textfile"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_TEXTFILE" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4886 # Check whether --enable-fontmap or --disable-fontmap was given.
4887 if test "${enable_fontmap+set}" = set; then
4888 enableval="$enable_fontmap"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4893 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4898 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4909 eval "$ac_cv_use_fontmap"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_FONTMAP" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4927 # Check whether --enable-unicode or --disable-unicode was given.
4928 if test "${enable_unicode+set}" = set; then
4929 enableval="$enable_unicode"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4934 ac_cv_use_unicode='wxUSE_UNICODE=no'
4939 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4950 eval "$ac_cv_use_unicode"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_UNICODE" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4968 # Check whether --enable-mslu or --disable-mslu was given.
4969 if test "${enable_mslu+set}" = set; then
4970 enableval="$enable_mslu"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4975 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4980 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4991 eval "$ac_cv_use_mslu"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_UNICODE_MSLU" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5009 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5010 if test "${enable_wxprintfv+set}" = set; then
5011 enableval="$enable_wxprintfv"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5016 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5021 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5032 eval "$ac_cv_use_wxprintfv"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5050 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5051 if test "${enable_std_iostreams+set}" = set; then
5052 enableval="$enable_std_iostreams"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5057 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5062 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5073 eval "$ac_cv_use_std_iostreams"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_STD_IOSTREAM" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5091 # Check whether --enable-filesystem or --disable-filesystem was given.
5092 if test "${enable_filesystem+set}" = set; then
5093 enableval="$enable_filesystem"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5098 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5103 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5114 eval "$ac_cv_use_filesystem"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_FILESYSTEM" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5132 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5133 if test "${enable_fs_inet+set}" = set; then
5134 enableval="$enable_fs_inet"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5139 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5144 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5155 eval "$ac_cv_use_fs_inet"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_FS_INET" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5173 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5174 if test "${enable_fs_zip+set}" = set; then
5175 enableval="$enable_fs_zip"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5180 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5185 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5196 eval "$ac_cv_use_fs_zip"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_FS_ZIP" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5214 # Check whether --enable-zipstream or --disable-zipstream was given.
5215 if test "${enable_zipstream+set}" = set; then
5216 enableval="$enable_zipstream"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5221 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5226 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5237 eval "$ac_cv_use_zipstream"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_ZIPSTREAM" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5256 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5257 if test "${enable_catch_segvs+set}" = set; then
5258 enableval="$enable_catch_segvs"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5263 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5268 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5279 eval "$ac_cv_use_catch_segvs"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5297 # Check whether --enable-snglinst or --disable-snglinst was given.
5298 if test "${enable_snglinst+set}" = set; then
5299 enableval="$enable_snglinst"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5304 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5309 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5320 eval "$ac_cv_use_snglinst"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5339 # Check whether --enable-mimetype or --disable-mimetype was given.
5340 if test "${enable_mimetype+set}" = set; then
5341 enableval="$enable_mimetype"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5346 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5351 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5362 eval "$ac_cv_use_mimetype"
5363 if test "$no_cache" != 1; then
5364 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5367 if test "$wxUSE_MIMETYPE" = yes; then
5368 echo "$as_me:$LINENO: result: yes" >&5
5369 echo "${ECHO_T}yes" >&6
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5378 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5380 # Check whether --enable-system_options or --disable-system_options was given.
5381 if test "${enable_system_options+set}" = set; then
5382 enableval="$enable_system_options"
5384 if test "$enableval" = yes; then
5385 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5387 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5392 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5399 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5403 eval "$ac_cv_use_system_options"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5408 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5409 echo "$as_me:$LINENO: result: yes" >&5
5410 echo "${ECHO_T}yes" >&6
5412 echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5422 # Check whether --enable-url or --disable-url was given.
5423 if test "${enable_url+set}" = set; then
5424 enableval="$enable_url"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_url='wxUSE_URL=yes'
5429 ac_cv_use_url='wxUSE_URL=no'
5434 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5445 eval "$ac_cv_use_url"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_URL" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5463 # Check whether --enable-protocol or --disable-protocol was given.
5464 if test "${enable_protocol+set}" = set; then
5465 enableval="$enable_protocol"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5470 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5475 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5486 eval "$ac_cv_use_protocol"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_PROTOCOL" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5504 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5505 if test "${enable_protocol_http+set}" = set; then
5506 enableval="$enable_protocol_http"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5511 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5516 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5527 eval "$ac_cv_use_protocol_http"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5545 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5546 if test "${enable_protocol_ftp+set}" = set; then
5547 enableval="$enable_protocol_ftp"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5552 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5557 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5568 eval "$ac_cv_use_protocol_ftp"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5586 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5587 if test "${enable_protocol_file+set}" = set; then
5588 enableval="$enable_protocol_file"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5593 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5598 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5609 eval "$ac_cv_use_protocol_file"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5628 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5630 # Check whether --enable-threads or --disable-threads was given.
5631 if test "${enable_threads+set}" = set; then
5632 enableval="$enable_threads"
5634 if test "$enableval" = yes; then
5635 ac_cv_use_threads='wxUSE_THREADS=yes'
5637 ac_cv_use_threads='wxUSE_THREADS=no'
5642 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5643 if test "x$LINE" != x ; then
5644 eval "DEFAULT_$LINE"
5649 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5653 eval "$ac_cv_use_threads"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5658 if test "$wxUSE_THREADS" = yes; then
5659 echo "$as_me:$LINENO: result: yes" >&5
5660 echo "${ECHO_T}yes" >&6
5662 echo "$as_me:$LINENO: result: no" >&5
5663 echo "${ECHO_T}no" >&6
5667 if test "$wxUSE_GUI" = "yes"; then
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5675 # Check whether --enable-docview or --disable-docview was given.
5676 if test "${enable_docview+set}" = set; then
5677 enableval="$enable_docview"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5682 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5687 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x ; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5698 eval "$ac_cv_use_docview"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5703 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5704 echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5716 # Check whether --enable-help or --disable-help was given.
5717 if test "${enable_help+set}" = set; then
5718 enableval="$enable_help"
5720 if test "$enableval" = yes; then
5721 ac_cv_use_help='wxUSE_HELP=yes'
5723 ac_cv_use_help='wxUSE_HELP=no'
5728 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x ; then
5730 eval "DEFAULT_$LINE"
5735 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5739 eval "$ac_cv_use_help"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5744 if test "$wxUSE_HELP" = yes; then
5745 echo "$as_me:$LINENO: result: yes" >&5
5746 echo "${ECHO_T}yes" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5757 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5758 if test "${enable_mshtmlhelp+set}" = set; then
5759 enableval="$enable_mshtmlhelp"
5761 if test "$enableval" = yes; then
5762 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5764 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5769 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5776 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5780 eval "$ac_cv_use_mshtmlhelp"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5785 if test "$wxUSE_MS_HTML_HELP" = yes; then
5786 echo "$as_me:$LINENO: result: yes" >&5
5787 echo "${ECHO_T}yes" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5796 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5798 # Check whether --enable-html or --disable-html was given.
5799 if test "${enable_html+set}" = set; then
5800 enableval="$enable_html"
5802 if test "$enableval" = yes; then
5803 ac_cv_use_html='wxUSE_HTML=yes'
5805 ac_cv_use_html='wxUSE_HTML=no'
5810 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x ; then
5812 eval "DEFAULT_$LINE"
5817 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5821 eval "$ac_cv_use_html"
5822 if test "$no_cache" != 1; then
5823 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5826 if test "$wxUSE_HTML" = yes; then
5827 echo "$as_me:$LINENO: result: yes" >&5
5828 echo "${ECHO_T}yes" >&6
5830 echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6
5836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5837 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5839 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5840 if test "${enable_htmlhelp+set}" = set; then
5841 enableval="$enable_htmlhelp"
5843 if test "$enableval" = yes; then
5844 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5846 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5851 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5858 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5862 eval "$ac_cv_use_htmlhelp"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5867 if test "$wxUSE_WXHTML_HELP" = yes; then
5868 echo "$as_me:$LINENO: result: yes" >&5
5869 echo "${ECHO_T}yes" >&6
5871 echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6
5877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5880 # Check whether --enable-constraints or --disable-constraints was given.
5881 if test "${enable_constraints+set}" = set; then
5882 enableval="$enable_constraints"
5884 if test "$enableval" = yes; then
5885 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5887 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5892 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5893 if test "x$LINE" != x ; then
5894 eval "DEFAULT_$LINE"
5899 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5903 eval "$ac_cv_use_constraints"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5908 if test "$wxUSE_CONSTRAINTS" = yes; then
5909 echo "$as_me:$LINENO: result: yes" >&5
5910 echo "${ECHO_T}yes" >&6
5912 echo "$as_me:$LINENO: result: no" >&5
5913 echo "${ECHO_T}no" >&6
5918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5921 # Check whether --enable-printarch or --disable-printarch was given.
5922 if test "${enable_printarch+set}" = set; then
5923 enableval="$enable_printarch"
5925 if test "$enableval" = yes; then
5926 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5928 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5933 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5934 if test "x$LINE" != x ; then
5935 eval "DEFAULT_$LINE"
5940 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5944 eval "$ac_cv_use_printarch"
5945 if test "$no_cache" != 1; then
5946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5950 echo "$as_me:$LINENO: result: yes" >&5
5951 echo "${ECHO_T}yes" >&6
5953 echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5960 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5962 # Check whether --enable-mdi or --disable-mdi was given.
5963 if test "${enable_mdi+set}" = set; then
5964 enableval="$enable_mdi"
5966 if test "$enableval" = yes; then
5967 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5969 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5974 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5975 if test "x$LINE" != x ; then
5976 eval "DEFAULT_$LINE"
5981 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5985 eval "$ac_cv_use_mdi"
5986 if test "$no_cache" != 1; then
5987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5990 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5991 echo "$as_me:$LINENO: result: yes" >&5
5992 echo "${ECHO_T}yes" >&6
5994 echo "$as_me:$LINENO: result: no" >&5
5995 echo "${ECHO_T}no" >&6
6000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6001 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6003 # Check whether --enable-loggui or --disable-loggui was given.
6004 if test "${enable_loggui+set}" = set; then
6005 enableval="$enable_loggui"
6007 if test "$enableval" = yes; then
6008 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6010 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6015 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x ; then
6017 eval "DEFAULT_$LINE"
6022 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6026 eval "$ac_cv_use_loggui"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6031 if test "$wxUSE_LOGGUI" = yes; then
6032 echo "$as_me:$LINENO: result: yes" >&5
6033 echo "${ECHO_T}yes" >&6
6035 echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6
6041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6042 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6044 # Check whether --enable-logwin or --disable-logwin was given.
6045 if test "${enable_logwin+set}" = set; then
6046 enableval="$enable_logwin"
6048 if test "$enableval" = yes; then
6049 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6051 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6056 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x ; then
6058 eval "DEFAULT_$LINE"
6063 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6067 eval "$ac_cv_use_logwin"
6068 if test "$no_cache" != 1; then
6069 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6072 if test "$wxUSE_LOGWINDOW" = yes; then
6073 echo "$as_me:$LINENO: result: yes" >&5
6074 echo "${ECHO_T}yes" >&6
6076 echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6
6082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6083 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6085 # Check whether --enable-logdialog or --disable-logdialog was given.
6086 if test "${enable_logdialog+set}" = set; then
6087 enableval="$enable_logdialog"
6089 if test "$enableval" = yes; then
6090 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6092 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6097 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6098 if test "x$LINE" != x ; then
6099 eval "DEFAULT_$LINE"
6104 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6108 eval "$ac_cv_use_logdialog"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6113 if test "$wxUSE_LOGDIALOG" = yes; then
6114 echo "$as_me:$LINENO: result: yes" >&5
6115 echo "${ECHO_T}yes" >&6
6117 echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6127 # Check whether --enable-postscript or --disable-postscript was given.
6128 if test "${enable_postscript+set}" = set; then
6129 enableval="$enable_postscript"
6131 if test "$enableval" = yes; then
6132 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6134 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6139 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6146 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6150 eval "$ac_cv_use_postscript"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_POSTSCRIPT" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6171 # Check whether --enable-prologio or --disable-prologio was given.
6172 if test "${enable_prologio+set}" = set; then
6173 enableval="$enable_prologio"
6175 if test "$enableval" = yes; then
6176 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6178 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6183 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6190 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6194 eval "$ac_cv_use_prologio"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_PROLOGIO" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6212 # Check whether --enable-resources or --disable-resources was given.
6213 if test "${enable_resources+set}" = set; then
6214 enableval="$enable_resources"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6219 ac_cv_use_resources='wxUSE_RESOURCES=no'
6224 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6235 eval "$ac_cv_use_resources"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6240 if test "$wxUSE_RESOURCES" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6255 # Check whether --enable-clipboard or --disable-clipboard was given.
6256 if test "${enable_clipboard+set}" = set; then
6257 enableval="$enable_clipboard"
6259 if test "$enableval" = yes; then
6260 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6262 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6267 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6274 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6278 eval "$ac_cv_use_clipboard"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6283 if test "$wxUSE_CLIPBOARD" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285 echo "${ECHO_T}yes" >&6
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6296 # Check whether --enable-dnd or --disable-dnd was given.
6297 if test "${enable_dnd+set}" = set; then
6298 enableval="$enable_dnd"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6303 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6308 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x ; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6319 eval "$ac_cv_use_dnd"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6324 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326 echo "${ECHO_T}yes" >&6
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6337 # Check whether --enable-metafile or --disable-metafile was given.
6338 if test "${enable_metafile+set}" = set; then
6339 enableval="$enable_metafile"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6344 ac_cv_use_metafile='wxUSE_METAFILE=no'
6349 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6360 eval "$ac_cv_use_metafile"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_METAFILE" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367 echo "${ECHO_T}yes" >&6
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6381 # Check whether --enable-controls or --disable-controls was given.
6382 if test "${enable_controls+set}" = set; then
6383 enableval="$enable_controls"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6388 ac_cv_use_controls='wxUSE_CONTROLS=no'
6393 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6404 eval "$ac_cv_use_controls"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_CONTROLS" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6418 if test "$wxUSE_CONTROLS" = "yes"; then
6419 DEFAULT_wxUSE_ACCEL=yes
6420 DEFAULT_wxUSE_BMPBUTTON=yes
6421 DEFAULT_wxUSE_BUTTON=yes
6422 DEFAULT_wxUSE_CALCTRL=no
6423 DEFAULT_wxUSE_CARET=yes
6424 DEFAULT_wxUSE_COMBOBOX=yes
6425 DEFAULT_wxUSE_CHECKBOX=yes
6426 DEFAULT_wxUSE_CHECKLISTBOX=yes
6427 DEFAULT_wxUSE_CHOICE=yes
6428 DEFAULT_wxUSE_GAUGE=yes
6429 DEFAULT_wxUSE_GRID=yes
6430 DEFAULT_wxUSE_IMAGLIST=yes
6431 DEFAULT_wxUSE_LISTBOX=yes
6432 DEFAULT_wxUSE_LISTCTRL=yes
6433 DEFAULT_wxUSE_NOTEBOOK=yes
6434 DEFAULT_wxUSE_RADIOBOX=yes
6435 DEFAULT_wxUSE_RADIOBTN=yes
6436 DEFAULT_wxUSE_SASH=yes
6437 DEFAULT_wxUSE_SCROLLBAR=yes
6438 DEFAULT_wxUSE_SLIDER=yes
6439 DEFAULT_wxUSE_SPINBTN=yes
6440 DEFAULT_wxUSE_SPINCTRL=yes
6441 DEFAULT_wxUSE_SPLITTER=yes
6442 DEFAULT_wxUSE_STATBMP=yes
6443 DEFAULT_wxUSE_STATBOX=yes
6444 DEFAULT_wxUSE_STATLINE=yes
6445 DEFAULT_wxUSE_STATUSBAR=yes
6446 DEFAULT_wxUSE_TAB_DIALOG=yes
6447 DEFAULT_wxUSE_TOGGLEBTN=yes
6448 DEFAULT_wxUSE_TOOLBAR=yes
6449 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6450 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6451 DEFAULT_wxUSE_TOOLTIPS=yes
6452 DEFAULT_wxUSE_TREECTRL=yes
6453 DEFAULT_wxUSE_POPUPWIN=yes
6454 DEFAULT_wxUSE_TIPWINDOW=yes
6455 elif test "$wxUSE_CONTROLS" = "no"; then
6456 DEFAULT_wxUSE_ACCEL=no
6457 DEFAULT_wxUSE_BMPBUTTON=no
6458 DEFAULT_wxUSE_BUTTON=no
6459 DEFAULT_wxUSE_CALCTRL=no
6460 DEFAULT_wxUSE_CARET=no
6461 DEFAULT_wxUSE_COMBOBOX=no
6462 DEFAULT_wxUSE_CHECKBOX=no
6463 DEFAULT_wxUSE_CHECKLISTBOX=no
6464 DEFAULT_wxUSE_CHOICE=no
6465 DEFAULT_wxUSE_GAUGE=no
6466 DEFAULT_wxUSE_GRID=no
6467 DEFAULT_wxUSE_IMAGLIST=no
6468 DEFAULT_wxUSE_LISTBOX=no
6469 DEFAULT_wxUSE_LISTCTRL=no
6470 DEFAULT_wxUSE_NOTEBOOK=no
6471 DEFAULT_wxUSE_RADIOBOX=no
6472 DEFAULT_wxUSE_RADIOBTN=no
6473 DEFAULT_wxUSE_SASH=no
6474 DEFAULT_wxUSE_SCROLLBAR=no
6475 DEFAULT_wxUSE_SLIDER=no
6476 DEFAULT_wxUSE_SPINBTN=no
6477 DEFAULT_wxUSE_SPINCTRL=no
6478 DEFAULT_wxUSE_SPLITTER=no
6479 DEFAULT_wxUSE_STATBMP=no
6480 DEFAULT_wxUSE_STATBOX=no
6481 DEFAULT_wxUSE_STATLINE=no
6482 DEFAULT_wxUSE_STATUSBAR=no
6483 DEFAULT_wxUSE_TAB_DIALOG=no
6484 DEFAULT_wxUSE_TOGGLEBTN=no
6485 DEFAULT_wxUSE_TOOLBAR=no
6486 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6487 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6488 DEFAULT_wxUSE_TOOLTIPS=no
6489 DEFAULT_wxUSE_TREECTRL=no
6490 DEFAULT_wxUSE_POPUPWIN=no
6491 DEFAULT_wxUSE_TIPWINDOW=no
6494 ## FIXME: This is a blatant hack
6495 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6496 wxUSE_PRINTING_ARCHITECTURE=no
6499 wxUSE_DRAG_AND_DROP=no
6501 # Generic notebook requires tab dialog
6502 DEFAULT_wxUSE_TABDIALOG=yes
6503 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6504 DEFAULT_wxUSE_GAUGE=no
6505 DEFAULT_wxUSE_SCROLLBAR=no
6506 DEFAULT_wxUSE_COMBOBOX=no
6507 DEFAULT_wxUSE_CALCTRL=no
6508 DEFAULT_wxUSE_SPINBTN=no
6509 DEFAULT_wxUSE_SPINCTRL=no
6510 DEFAULT_wxUSE_TOOLTIPS=no
6511 DEFAULT_wxUSE_DRAGIMAGE=no
6512 DEFAULT_wxUSE_PROGRESSDLG=no
6517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6518 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6520 # Check whether --enable-accel or --disable-accel was given.
6521 if test "${enable_accel+set}" = set; then
6522 enableval="$enable_accel"
6524 if test "$enableval" = yes; then
6525 ac_cv_use_accel='wxUSE_ACCEL=yes'
6527 ac_cv_use_accel='wxUSE_ACCEL=no'
6532 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6533 if test "x$LINE" != x ; then
6534 eval "DEFAULT_$LINE"
6539 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6543 eval "$ac_cv_use_accel"
6544 if test "$no_cache" != 1; then
6545 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6548 if test "$wxUSE_ACCEL" = yes; then
6549 echo "$as_me:$LINENO: result: yes" >&5
6550 echo "${ECHO_T}yes" >&6
6552 echo "$as_me:$LINENO: result: no" >&5
6553 echo "${ECHO_T}no" >&6
6558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6561 # Check whether --enable-button or --disable-button was given.
6562 if test "${enable_button+set}" = set; then
6563 enableval="$enable_button"
6565 if test "$enableval" = yes; then
6566 ac_cv_use_button='wxUSE_BUTTON=yes'
6568 ac_cv_use_button='wxUSE_BUTTON=no'
6573 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x ; then
6575 eval "DEFAULT_$LINE"
6580 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6584 eval "$ac_cv_use_button"
6585 if test "$no_cache" != 1; then
6586 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6589 if test "$wxUSE_BUTTON" = yes; then
6590 echo "$as_me:$LINENO: result: yes" >&5
6591 echo "${ECHO_T}yes" >&6
6593 echo "$as_me:$LINENO: result: no" >&5
6594 echo "${ECHO_T}no" >&6
6599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6600 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6602 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6603 if test "${enable_bmpbutton+set}" = set; then
6604 enableval="$enable_bmpbutton"
6606 if test "$enableval" = yes; then
6607 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6609 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6614 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6621 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6625 eval "$ac_cv_use_bmpbutton"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6630 if test "$wxUSE_BMPBUTTON" = yes; then
6631 echo "$as_me:$LINENO: result: yes" >&5
6632 echo "${ECHO_T}yes" >&6
6634 echo "$as_me:$LINENO: result: no" >&5
6635 echo "${ECHO_T}no" >&6
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6643 # Check whether --enable-calendar or --disable-calendar was given.
6644 if test "${enable_calendar+set}" = set; then
6645 enableval="$enable_calendar"
6647 if test "$enableval" = yes; then
6648 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6650 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6655 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6662 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6666 eval "$ac_cv_use_calendar"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6671 if test "$wxUSE_CALCTRL" = yes; then
6672 echo "$as_me:$LINENO: result: yes" >&5
6673 echo "${ECHO_T}yes" >&6
6675 echo "$as_me:$LINENO: result: no" >&5
6676 echo "${ECHO_T}no" >&6
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6684 # Check whether --enable-caret or --disable-caret was given.
6685 if test "${enable_caret+set}" = set; then
6686 enableval="$enable_caret"
6688 if test "$enableval" = yes; then
6689 ac_cv_use_caret='wxUSE_CARET=yes'
6691 ac_cv_use_caret='wxUSE_CARET=no'
6696 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6707 eval "$ac_cv_use_caret"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6712 if test "$wxUSE_CARET" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6725 # Check whether --enable-checkbox or --disable-checkbox was given.
6726 if test "${enable_checkbox+set}" = set; then
6727 enableval="$enable_checkbox"
6729 if test "$enableval" = yes; then
6730 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6732 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6737 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6748 eval "$ac_cv_use_checkbox"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6753 if test "$wxUSE_CHECKBOX" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6766 # Check whether --enable-checklst or --disable-checklst was given.
6767 if test "${enable_checklst+set}" = set; then
6768 enableval="$enable_checklst"
6770 if test "$enableval" = yes; then
6771 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6773 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6778 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6785 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6789 eval "$ac_cv_use_checklst"
6790 if test "$no_cache" != 1; then
6791 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6794 if test "$wxUSE_CHECKLST" = yes; then
6795 echo "$as_me:$LINENO: result: yes" >&5
6796 echo "${ECHO_T}yes" >&6
6798 echo "$as_me:$LINENO: result: no" >&5
6799 echo "${ECHO_T}no" >&6
6804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6807 # Check whether --enable-choice or --disable-choice was given.
6808 if test "${enable_choice+set}" = set; then
6809 enableval="$enable_choice"
6811 if test "$enableval" = yes; then
6812 ac_cv_use_choice='wxUSE_CHOICE=yes'
6814 ac_cv_use_choice='wxUSE_CHOICE=no'
6819 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6826 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6830 eval "$ac_cv_use_choice"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6835 if test "$wxUSE_CHOICE" = yes; then
6836 echo "$as_me:$LINENO: result: yes" >&5
6837 echo "${ECHO_T}yes" >&6
6839 echo "$as_me:$LINENO: result: no" >&5
6840 echo "${ECHO_T}no" >&6
6845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6848 # Check whether --enable-combobox or --disable-combobox was given.
6849 if test "${enable_combobox+set}" = set; then
6850 enableval="$enable_combobox"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6855 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6860 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6871 eval "$ac_cv_use_combobox"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_COMBOBOX" = yes; then
6877 echo "$as_me:$LINENO: result: yes" >&5
6878 echo "${ECHO_T}yes" >&6
6880 echo "$as_me:$LINENO: result: no" >&5
6881 echo "${ECHO_T}no" >&6
6886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6889 # Check whether --enable-display or --disable-display was given.
6890 if test "${enable_display+set}" = set; then
6891 enableval="$enable_display"
6893 if test "$enableval" = yes; then
6894 ac_cv_use_display='wxUSE_DISPLAY=yes'
6896 ac_cv_use_display='wxUSE_DISPLAY=no'
6901 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6908 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6912 eval "$ac_cv_use_display"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6917 if test "$wxUSE_DISPLAY" = yes; then
6918 echo "$as_me:$LINENO: result: yes" >&5
6919 echo "${ECHO_T}yes" >&6
6921 echo "$as_me:$LINENO: result: no" >&5
6922 echo "${ECHO_T}no" >&6
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6930 # Check whether --enable-gauge or --disable-gauge was given.
6931 if test "${enable_gauge+set}" = set; then
6932 enableval="$enable_gauge"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6937 ac_cv_use_gauge='wxUSE_GAUGE=no'
6942 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6953 eval "$ac_cv_use_gauge"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_GAUGE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6971 # Check whether --enable-grid or --disable-grid was given.
6972 if test "${enable_grid+set}" = set; then
6973 enableval="$enable_grid"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_grid='wxUSE_GRID=yes'
6978 ac_cv_use_grid='wxUSE_GRID=no'
6983 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6994 eval "$ac_cv_use_grid"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_GRID" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7012 # Check whether --enable-imaglist or --disable-imaglist was given.
7013 if test "${enable_imaglist+set}" = set; then
7014 enableval="$enable_imaglist"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7019 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7024 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7035 eval "$ac_cv_use_imaglist"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_IMAGLIST" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7053 # Check whether --enable-listbox or --disable-listbox was given.
7054 if test "${enable_listbox+set}" = set; then
7055 enableval="$enable_listbox"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7060 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7065 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7076 eval "$ac_cv_use_listbox"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_LISTBOX" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7094 # Check whether --enable-listctrl or --disable-listctrl was given.
7095 if test "${enable_listctrl+set}" = set; then
7096 enableval="$enable_listctrl"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7101 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7106 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7117 eval "$ac_cv_use_listctrl"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_LISTCTRL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7135 # Check whether --enable-notebook or --disable-notebook was given.
7136 if test "${enable_notebook+set}" = set; then
7137 enableval="$enable_notebook"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7142 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7147 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7158 eval "$ac_cv_use_notebook"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_NOTEBOOK" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7176 # Check whether --enable-radiobox or --disable-radiobox was given.
7177 if test "${enable_radiobox+set}" = set; then
7178 enableval="$enable_radiobox"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7183 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7188 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7199 eval "$ac_cv_use_radiobox"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_RADIOBOX" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7217 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7218 if test "${enable_radiobtn+set}" = set; then
7219 enableval="$enable_radiobtn"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7224 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7229 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7240 eval "$ac_cv_use_radiobtn"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_RADIOBTN" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7258 # Check whether --enable-sash or --disable-sash was given.
7259 if test "${enable_sash+set}" = set; then
7260 enableval="$enable_sash"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_sash='wxUSE_SASH=yes'
7265 ac_cv_use_sash='wxUSE_SASH=no'
7270 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7281 eval "$ac_cv_use_sash"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_SASH" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7299 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7300 if test "${enable_scrollbar+set}" = set; then
7301 enableval="$enable_scrollbar"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7306 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7311 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7322 eval "$ac_cv_use_scrollbar"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_SCROLLBAR" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7340 # Check whether --enable-slider or --disable-slider was given.
7341 if test "${enable_slider+set}" = set; then
7342 enableval="$enable_slider"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_slider='wxUSE_SLIDER=yes'
7347 ac_cv_use_slider='wxUSE_SLIDER=no'
7352 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7363 eval "$ac_cv_use_slider"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_SLIDER" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7381 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7382 if test "${enable_spinbtn+set}" = set; then
7383 enableval="$enable_spinbtn"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7388 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7393 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x ; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7404 eval "$ac_cv_use_spinbtn"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_SPINBTN" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7422 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7423 if test "${enable_spinctrl+set}" = set; then
7424 enableval="$enable_spinctrl"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7429 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7434 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7445 eval "$ac_cv_use_spinctrl"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_SPINCTRL" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7463 # Check whether --enable-splitter or --disable-splitter was given.
7464 if test "${enable_splitter+set}" = set; then
7465 enableval="$enable_splitter"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7470 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7475 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7486 eval "$ac_cv_use_splitter"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_SPLITTER" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7504 # Check whether --enable-statbmp or --disable-statbmp was given.
7505 if test "${enable_statbmp+set}" = set; then
7506 enableval="$enable_statbmp"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7511 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7516 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7527 eval "$ac_cv_use_statbmp"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_STATBMP" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7545 # Check whether --enable-statbox or --disable-statbox was given.
7546 if test "${enable_statbox+set}" = set; then
7547 enableval="$enable_statbox"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7552 ac_cv_use_statbox='wxUSE_STATBOX=no'
7557 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x ; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7568 eval "$ac_cv_use_statbox"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_STATBOX" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7586 # Check whether --enable-statline or --disable-statline was given.
7587 if test "${enable_statline+set}" = set; then
7588 enableval="$enable_statline"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_statline='wxUSE_STATLINE=yes'
7593 ac_cv_use_statline='wxUSE_STATLINE=no'
7598 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7609 eval "$ac_cv_use_statline"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_STATLINE" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7625 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7627 # Check whether --enable-stattext or --disable-stattext was given.
7628 if test "${enable_stattext+set}" = set; then
7629 enableval="$enable_stattext"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7634 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7639 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x ; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7650 eval "$ac_cv_use_stattext"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7655 if test "$wxUSE_STATTEXT" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657 echo "${ECHO_T}yes" >&6
7659 echo "$as_me:$LINENO: result: no" >&5
7660 echo "${ECHO_T}no" >&6
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7668 # Check whether --enable-statusbar or --disable-statusbar was given.
7669 if test "${enable_statusbar+set}" = set; then
7670 enableval="$enable_statusbar"
7672 if test "$enableval" = yes; then
7673 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7675 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7680 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x ; then
7682 eval "DEFAULT_$LINE"
7687 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7691 eval "$ac_cv_use_statusbar"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7696 if test "$wxUSE_STATUSBAR" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6
7700 echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7709 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7710 if test "${enable_tabdialog+set}" = set; then
7711 enableval="$enable_tabdialog"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7716 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7721 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x ; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7732 eval "$ac_cv_use_tabdialog"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_TABDIALOG" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739 echo "${ECHO_T}yes" >&6
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7750 # Check whether --enable-textctrl or --disable-textctrl was given.
7751 if test "${enable_textctrl+set}" = set; then
7752 enableval="$enable_textctrl"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7757 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7762 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x ; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7773 eval "$ac_cv_use_textctrl"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_TEXTCTRL" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780 echo "${ECHO_T}yes" >&6
7782 echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7791 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7792 if test "${enable_togglebtn+set}" = set; then
7793 enableval="$enable_togglebtn"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7798 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7803 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x ; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7814 eval "$ac_cv_use_togglebtn"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_TOGGLEBTN" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7823 echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7832 # Check whether --enable-toolbar or --disable-toolbar was given.
7833 if test "${enable_toolbar+set}" = set; then
7834 enableval="$enable_toolbar"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7839 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7844 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x ; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7855 eval "$ac_cv_use_toolbar"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_TOOLBAR" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862 echo "${ECHO_T}yes" >&6
7864 echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7873 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7874 if test "${enable_tbarnative+set}" = set; then
7875 enableval="$enable_tbarnative"
7877 if test "$enableval" = yes; then
7878 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7880 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7885 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x ; then
7887 eval "DEFAULT_$LINE"
7892 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7896 eval "$ac_cv_use_tbarnative"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7901 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903 echo "${ECHO_T}yes" >&6
7905 echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7912 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7914 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7915 if test "${enable_tbarsmpl+set}" = set; then
7916 enableval="$enable_tbarsmpl"
7918 if test "$enableval" = yes; then
7919 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7921 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7926 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x ; then
7928 eval "DEFAULT_$LINE"
7933 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7937 eval "$ac_cv_use_tbarsmpl"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7942 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944 echo "${ECHO_T}yes" >&6
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7955 # Check whether --enable-treectrl or --disable-treectrl was given.
7956 if test "${enable_treectrl+set}" = set; then
7957 enableval="$enable_treectrl"
7959 if test "$enableval" = yes; then
7960 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7962 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7967 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x ; then
7969 eval "DEFAULT_$LINE"
7974 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7978 eval "$ac_cv_use_treectrl"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7983 if test "$wxUSE_TREECTRL" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985 echo "${ECHO_T}yes" >&6
7987 echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
7996 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7997 if test "${enable_tipwindow+set}" = set; then
7998 enableval="$enable_tipwindow"
8000 if test "$enableval" = yes; then
8001 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8003 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8008 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x ; then
8010 eval "DEFAULT_$LINE"
8015 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8019 eval "$ac_cv_use_tipwindow"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8024 if test "$wxUSE_TIPWINDOW" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026 echo "${ECHO_T}yes" >&6
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8037 # Check whether --enable-popupwin or --disable-popupwin was given.
8038 if test "${enable_popupwin+set}" = set; then
8039 enableval="$enable_popupwin"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8044 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8049 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x ; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8060 eval "$ac_cv_use_popupwin"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8065 if test "$wxUSE_POPUPWIN" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067 echo "${ECHO_T}yes" >&6
8069 echo "$as_me:$LINENO: result: no" >&5
8070 echo "${ECHO_T}no" >&6
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8080 # Check whether --enable-commondlg or --disable-commondlg was given.
8081 if test "${enable_commondlg+set}" = set; then
8082 enableval="$enable_commondlg"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8087 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8092 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8103 eval "$ac_cv_use_commondlg"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8108 if test "$wxUSE_COMMONDLGS" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8121 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8122 if test "${enable_choicedlg+set}" = set; then
8123 enableval="$enable_choicedlg"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8128 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8133 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8144 eval "$ac_cv_use_choicedlg"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8149 if test "$wxUSE_CHOICEDLG" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8162 # Check whether --enable-coldlg or --disable-coldlg was given.
8163 if test "${enable_coldlg+set}" = set; then
8164 enableval="$enable_coldlg"
8166 if test "$enableval" = yes; then
8167 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8169 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8174 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8185 eval "$ac_cv_use_coldlg"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8190 if test "$wxUSE_COLOURDLG" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8203 # Check whether --enable-filedlg or --disable-filedlg was given.
8204 if test "${enable_filedlg+set}" = set; then
8205 enableval="$enable_filedlg"
8207 if test "$enableval" = yes; then
8208 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8210 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8215 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8226 eval "$ac_cv_use_filedlg"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8231 if test "$wxUSE_FILEDLG" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8244 # Check whether --enable-finddlg or --disable-finddlg was given.
8245 if test "${enable_finddlg+set}" = set; then
8246 enableval="$enable_finddlg"
8248 if test "$enableval" = yes; then
8249 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8251 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8256 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8267 eval "$ac_cv_use_finddlg"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8272 if test "$wxUSE_FINDREPLDLG" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8285 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8286 if test "${enable_fontdlg+set}" = set; then
8287 enableval="$enable_fontdlg"
8289 if test "$enableval" = yes; then
8290 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8292 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8297 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8308 eval "$ac_cv_use_fontdlg"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8313 if test "$wxUSE_FONTDLG" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8326 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8327 if test "${enable_dirdlg+set}" = set; then
8328 enableval="$enable_dirdlg"
8330 if test "$enableval" = yes; then
8331 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8333 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8338 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8349 eval "$ac_cv_use_dirdlg"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8354 if test "$wxUSE_DIRDLG" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8367 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8368 if test "${enable_msgdlg+set}" = set; then
8369 enableval="$enable_msgdlg"
8371 if test "$enableval" = yes; then
8372 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8374 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8379 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x ; then
8381 eval "DEFAULT_$LINE"
8386 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8390 eval "$ac_cv_use_msgdlg"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8395 if test "$wxUSE_MSGDLG" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8408 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8409 if test "${enable_numberdlg+set}" = set; then
8410 enableval="$enable_numberdlg"
8412 if test "$enableval" = yes; then
8413 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8415 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8420 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x ; then
8422 eval "DEFAULT_$LINE"
8427 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8431 eval "$ac_cv_use_numberdlg"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8436 if test "$wxUSE_NUMBERDLG" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8449 # Check whether --enable-splash or --disable-splash was given.
8450 if test "${enable_splash+set}" = set; then
8451 enableval="$enable_splash"
8453 if test "$enableval" = yes; then
8454 ac_cv_use_splash='wxUSE_SPLASH=yes'
8456 ac_cv_use_splash='wxUSE_SPLASH=no'
8461 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8468 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8472 eval "$ac_cv_use_splash"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8477 if test "$wxUSE_SPLASH" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8490 # Check whether --enable-textdlg or --disable-textdlg was given.
8491 if test "${enable_textdlg+set}" = set; then
8492 enableval="$enable_textdlg"
8494 if test "$enableval" = yes; then
8495 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8497 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8502 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x ; then
8504 eval "DEFAULT_$LINE"
8509 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8513 eval "$ac_cv_use_textdlg"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8518 if test "$wxUSE_TEXTDLG" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8531 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8532 if test "${enable_tipdlg+set}" = set; then
8533 enableval="$enable_tipdlg"
8535 if test "$enableval" = yes; then
8536 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8538 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8543 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x ; then
8545 eval "DEFAULT_$LINE"
8550 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8554 eval "$ac_cv_use_tipdlg"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8559 if test "$wxUSE_STARTUP_TIPS" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8572 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8573 if test "${enable_progressdlg+set}" = set; then
8574 enableval="$enable_progressdlg"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8579 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8584 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8595 eval "$ac_cv_use_progressdlg"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_PROGRESSDLG" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8613 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8614 if test "${enable_wizarddlg+set}" = set; then
8615 enableval="$enable_wizarddlg"
8617 if test "$enableval" = yes; then
8618 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8620 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8625 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x ; then
8627 eval "DEFAULT_$LINE"
8632 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8636 eval "$ac_cv_use_wizarddlg"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8641 if test "$wxUSE_WIZARDDLG" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8656 # Check whether --enable-menus or --disable-menus was given.
8657 if test "${enable_menus+set}" = set; then
8658 enableval="$enable_menus"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_menus='wxUSE_MENUS=yes'
8663 ac_cv_use_menus='wxUSE_MENUS=no'
8668 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8679 eval "$ac_cv_use_menus"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_MENUS" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8697 # Check whether --enable-miniframe or --disable-miniframe was given.
8698 if test "${enable_miniframe+set}" = set; then
8699 enableval="$enable_miniframe"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8704 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8709 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8720 eval "$ac_cv_use_miniframe"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_MINIFRAME" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8738 # Check whether --enable-tooltips or --disable-tooltips was given.
8739 if test "${enable_tooltips+set}" = set; then
8740 enableval="$enable_tooltips"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8745 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8750 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8761 eval "$ac_cv_use_tooltips"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_TOOLTIPS" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8779 # Check whether --enable-splines or --disable-splines was given.
8780 if test "${enable_splines+set}" = set; then
8781 enableval="$enable_splines"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_splines='wxUSE_SPLINES=yes'
8786 ac_cv_use_splines='wxUSE_SPLINES=no'
8791 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8802 eval "$ac_cv_use_splines"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_SPLINES" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8820 # Check whether --enable-validators or --disable-validators was given.
8821 if test "${enable_validators+set}" = set; then
8822 enableval="$enable_validators"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8827 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8832 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8843 eval "$ac_cv_use_validators"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_VALIDATORS" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8861 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8862 if test "${enable_busyinfo+set}" = set; then
8863 enableval="$enable_busyinfo"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8868 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8873 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8884 eval "$ac_cv_use_busyinfo"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_BUSYINFO" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8902 # Check whether --enable-joystick or --disable-joystick was given.
8903 if test "${enable_joystick+set}" = set; then
8904 enableval="$enable_joystick"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8909 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8914 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8925 eval "$ac_cv_use_joystick"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_JOYSTICK" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8943 # Check whether --enable-metafile or --disable-metafile was given.
8944 if test "${enable_metafile+set}" = set; then
8945 enableval="$enable_metafile"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8950 ac_cv_use_metafile='wxUSE_METAFILE=no'
8955 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8966 eval "$ac_cv_use_metafile"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_METAFILE" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8984 # Check whether --enable-dragimage or --disable-dragimage was given.
8985 if test "${enable_dragimage+set}" = set; then
8986 enableval="$enable_dragimage"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8991 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8996 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9007 eval "$ac_cv_use_dragimage"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_DRAGIMAGE" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9025 # Check whether --enable-accessibility or --disable-accessibility was given.
9026 if test "${enable_accessibility+set}" = set; then
9027 enableval="$enable_accessibility"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9032 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9037 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9048 eval "$ac_cv_use_accessibility"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_ACCESSIBILITY" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9068 # Check whether --enable-palette or --disable-palette was given.
9069 if test "${enable_palette+set}" = set; then
9070 enableval="$enable_palette"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_palette='wxUSE_PALETTE=yes'
9075 ac_cv_use_palette='wxUSE_PALETTE=no'
9080 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9091 eval "$ac_cv_use_palette"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_PALETTE" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9109 # Check whether --enable-image or --disable-image was given.
9110 if test "${enable_image+set}" = set; then
9111 enableval="$enable_image"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_image='wxUSE_IMAGE=yes'
9116 ac_cv_use_image='wxUSE_IMAGE=no'
9121 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9132 eval "$ac_cv_use_image"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_IMAGE" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9150 # Check whether --enable-gif or --disable-gif was given.
9151 if test "${enable_gif+set}" = set; then
9152 enableval="$enable_gif"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_gif='wxUSE_GIF=yes'
9157 ac_cv_use_gif='wxUSE_GIF=no'
9162 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9173 eval "$ac_cv_use_gif"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_GIF" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9191 # Check whether --enable-pcx or --disable-pcx was given.
9192 if test "${enable_pcx+set}" = set; then
9193 enableval="$enable_pcx"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_pcx='wxUSE_PCX=yes'
9198 ac_cv_use_pcx='wxUSE_PCX=no'
9203 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9214 eval "$ac_cv_use_pcx"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_PCX" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9232 # Check whether --enable-iff or --disable-iff was given.
9233 if test "${enable_iff+set}" = set; then
9234 enableval="$enable_iff"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_iff='wxUSE_IFF=yes'
9239 ac_cv_use_iff='wxUSE_IFF=no'
9244 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9255 eval "$ac_cv_use_iff"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_IFF" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9273 # Check whether --enable-pnm or --disable-pnm was given.
9274 if test "${enable_pnm+set}" = set; then
9275 enableval="$enable_pnm"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_pnm='wxUSE_PNM=yes'
9280 ac_cv_use_pnm='wxUSE_PNM=no'
9285 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9296 eval "$ac_cv_use_pnm"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_PNM" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9314 # Check whether --enable-xpm or --disable-xpm was given.
9315 if test "${enable_xpm+set}" = set; then
9316 enableval="$enable_xpm"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_xpm='wxUSE_XPM=yes'
9321 ac_cv_use_xpm='wxUSE_XPM=no'
9326 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9337 eval "$ac_cv_use_xpm"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_XPM" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9355 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9356 if test "${enable_ico_cur+set}" = set; then
9357 enableval="$enable_ico_cur"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9362 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9367 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9378 eval "$ac_cv_use_ico_cur"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_ICO_CUR" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9395 *-pc-os2_emx | *-pc-os2-emx )
9407 echo "saving argument cache $wx_arg_cache_file"
9408 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9412 echo "$as_me:$LINENO: checking for toolkit" >&5
9413 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9415 # In Wine, we need to default to MSW, not GTK or MOTIF
9416 if test "$wxUSE_WINE" = "yes"; then
9417 DEFAULT_DEFAULT_wxUSE_GTK=0
9418 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9419 DEFAULT_DEFAULT_wxUSE_MSW=1
9422 if test "$wxUSE_GUI" = "yes"; then
9424 if test "$USE_BEOS" = 1; then
9425 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9426 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9427 { (exit 1); exit 1; }; }
9430 if test "$TOOLKIT_GIVEN" = 1; then
9431 for toolkit in `echo $ALL_TOOLKITS`; do
9433 eval "value=\$${var}"
9434 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9437 for toolkit in `echo $ALL_TOOLKITS`; do
9438 if test "$has_toolkit_in_cache" != 1; then
9439 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9441 var=DEFAULT_wxUSE_$toolkit
9443 eval "wxUSE_$toolkit=\$${var}"
9447 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9448 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9449 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9452 *-pc-os2_emx | *-pc-os2-emx )
9453 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9456 case "$NUM_TOOLKITS" in
9460 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9461 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9462 { (exit 1); exit 1; }; }
9465 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9466 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9467 { (exit 1); exit 1; }; }
9470 for toolkit in `echo $ALL_TOOLKITS`; do
9472 eval "value=\$${var}"
9473 if test "x$value" != x; then
9474 cache_var=CACHE_$toolkit
9475 eval "cache=\$${cache_var}"
9476 if test "$cache" = 1; then
9477 echo "$var=$value" >> ${wx_arg_cache_file}
9479 if test "$value" = 1; then
9480 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9481 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9482 echo "${ECHO_T}$toolkit_echo" >&6
9487 if test "x$host_alias" != "x"; then
9488 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9489 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9491 echo "$as_me:$LINENO: result: base only" >&5
9492 echo "${ECHO_T}base only" >&6
9500 if test "$wxUSE_MSW" = 1 ; then
9511 if test "$wxUSE_WINE" = "yes"; then
9518 if test "$wants_win32" = 1 ; then
9521 cat >>confdefs.h <<\_ACEOF
9525 cat >>confdefs.h <<\_ACEOF
9529 cat >>confdefs.h <<\_ACEOF
9530 #define __WINDOWS__ 1
9533 cat >>confdefs.h <<\_ACEOF
9534 #define __GNUWIN32__ 1
9537 cat >>confdefs.h <<\_ACEOF
9541 cat >>confdefs.h <<\_ACEOF
9542 #define WINVER 0x0400
9546 if test "$doesnt_want_win32" = 1 ; then
9551 if test "$USE_UNIX" = 1 ; then
9553 cat >>confdefs.h <<\_ACEOF
9560 cat >confcache <<\_ACEOF
9561 # This file is a shell script that caches the results of configure
9562 # tests run on this system so they can be shared between configure
9563 # scripts and configure runs, see configure's option --config-cache.
9564 # It is not useful on other systems. If it contains results you don't
9565 # want to keep, you may remove or edit it.
9567 # config.status only pays attention to the cache file if you give it
9568 # the --recheck option to rerun configure.
9570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9576 # The following way of writing the cache mishandles newlines in values,
9577 # but we know of no workaround that is simple, portable, and efficient.
9578 # So, don't put newlines in cache variables' values.
9579 # Ultrix sh set writes to stderr and can't be redirected directly,
9580 # and sets the high bit in the cache file unless we assign to the vars.
9583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9585 # `set' does not quote correctly, so add quotes (double-quote
9586 # substitution turns \\\\ into \\, and sed turns \\ into \).
9589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9592 # `set' quotes correctly as required by POSIX, so do not add quotes.
9594 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9603 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9605 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9606 if test -w $cache_file; then
9607 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9608 cat confcache >$cache_file
9610 echo "not updating unwritable cache $cache_file"
9615 if test "$build" != "$host" ; then
9616 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9620 RANLIB=$host_alias-ranlib
9621 DLLTOOL=$host_alias-dlltool
9622 RESCOMP=$host_alias-windres
9625 STRIP=$host_alias-strip
9627 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9628 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9629 { (exit 1); exit 1; }; }
9635 ac_cpp='$CPP $CPPFLAGS'
9636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9639 if test -n "$ac_tool_prefix"; then
9640 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9641 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9642 echo "$as_me:$LINENO: checking for $ac_word" >&5
9643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9644 if test "${ac_cv_prog_CC+set}" = set; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6
9647 if test -n "$CC"; then
9648 ac_cv_prog_CC="$CC" # Let the user override the test.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9667 if test -n "$CC"; then
9668 echo "$as_me:$LINENO: result: $CC" >&5
9669 echo "${ECHO_T}$CC" >&6
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9676 if test -z "$ac_cv_prog_CC"; then
9678 # Extract the first word of "gcc", so it can be a program name with args.
9679 set dummy gcc; ac_word=$2
9680 echo "$as_me:$LINENO: checking for $ac_word" >&5
9681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 if test -n "$ac_ct_CC"; then
9686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_ac_ct_CC="gcc"
9696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9705 if test -n "$ac_ct_CC"; then
9706 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9707 echo "${ECHO_T}$ac_ct_CC" >&6
9709 echo "$as_me:$LINENO: result: no" >&5
9710 echo "${ECHO_T}no" >&6
9718 if test -z "$CC"; then
9719 if test -n "$ac_tool_prefix"; then
9720 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9721 set dummy ${ac_tool_prefix}cc; ac_word=$2
9722 echo "$as_me:$LINENO: checking for $ac_word" >&5
9723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9724 if test "${ac_cv_prog_CC+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 if test -n "$CC"; then
9728 ac_cv_prog_CC="$CC" # Let the user override the test.
9730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9737 ac_cv_prog_CC="${ac_tool_prefix}cc"
9738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 if test -n "$CC"; then
9748 echo "$as_me:$LINENO: result: $CC" >&5
9749 echo "${ECHO_T}$CC" >&6
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9756 if test -z "$ac_cv_prog_CC"; then
9758 # Extract the first word of "cc", so it can be a program name with args.
9759 set dummy cc; ac_word=$2
9760 echo "$as_me:$LINENO: checking for $ac_word" >&5
9761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9762 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 if test -n "$ac_ct_CC"; then
9766 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir=.
9773 for ac_exec_ext in '' $ac_executable_extensions; do
9774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9775 ac_cv_prog_ac_ct_CC="cc"
9776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9785 if test -n "$ac_ct_CC"; then
9786 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9787 echo "${ECHO_T}$ac_ct_CC" >&6
9789 echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6
9799 if test -z "$CC"; then
9800 # Extract the first word of "cc", so it can be a program name with args.
9801 set dummy cc; ac_word=$2
9802 echo "$as_me:$LINENO: checking for $ac_word" >&5
9803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9804 if test "${ac_cv_prog_CC+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 if test -n "$CC"; then
9808 ac_cv_prog_CC="$CC" # Let the user override the test.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9818 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9819 ac_prog_rejected=yes
9823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 if test $ac_prog_rejected = yes; then
9830 # We found a bogon in the path, so make sure we never use it.
9831 set dummy $ac_cv_prog_CC
9833 if test $# != 0; then
9834 # We chose a different compiler from the bogus one.
9835 # However, it has the same basename, so the bogon will be chosen
9836 # first if we set CC to just the basename; use the full file name.
9838 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9844 if test -n "$CC"; then
9845 echo "$as_me:$LINENO: result: $CC" >&5
9846 echo "${ECHO_T}$CC" >&6
9848 echo "$as_me:$LINENO: result: no" >&5
9849 echo "${ECHO_T}no" >&6
9853 if test -z "$CC"; then
9854 if test -n "$ac_tool_prefix"; then
9857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9859 echo "$as_me:$LINENO: checking for $ac_word" >&5
9860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9861 if test "${ac_cv_prog_CC+set}" = set; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9864 if test -n "$CC"; then
9865 ac_cv_prog_CC="$CC" # Let the user override the test.
9867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9871 test -z "$as_dir" && as_dir=.
9872 for ac_exec_ext in '' $ac_executable_extensions; do
9873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9874 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9884 if test -n "$CC"; then
9885 echo "$as_me:$LINENO: result: $CC" >&5
9886 echo "${ECHO_T}$CC" >&6
9888 echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6
9892 test -n "$CC" && break
9895 if test -z "$CC"; then
9899 # Extract the first word of "$ac_prog", so it can be a program name with args.
9900 set dummy $ac_prog; ac_word=$2
9901 echo "$as_me:$LINENO: checking for $ac_word" >&5
9902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9903 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9904 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 if test -n "$ac_ct_CC"; then
9907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913 test -z "$as_dir" && as_dir=.
9914 for ac_exec_ext in '' $ac_executable_extensions; do
9915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9916 ac_cv_prog_ac_ct_CC="$ac_prog"
9917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9926 if test -n "$ac_ct_CC"; then
9927 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9928 echo "${ECHO_T}$ac_ct_CC" >&6
9930 echo "$as_me:$LINENO: result: no" >&5
9931 echo "${ECHO_T}no" >&6
9934 test -n "$ac_ct_CC" && break
9943 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9944 See \`config.log' for more details." >&5
9945 echo "$as_me: error: no acceptable C compiler found in \$PATH
9946 See \`config.log' for more details." >&2;}
9947 { (exit 1); exit 1; }; }
9949 # Provide some information about the compiler.
9950 echo "$as_me:$LINENO:" \
9951 "checking for C compiler version" >&5
9952 ac_compiler=`set X $ac_compile; echo $2`
9953 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9954 (eval $ac_compiler --version </dev/null >&5) 2>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }
9958 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9959 (eval $ac_compiler -v </dev/null >&5) 2>&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); }
9963 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9964 (eval $ac_compiler -V </dev/null >&5) 2>&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }
9969 cat >conftest.$ac_ext <<_ACEOF
9970 #line $LINENO "configure"
9973 cat confdefs.h >>conftest.$ac_ext
9974 cat >>conftest.$ac_ext <<_ACEOF
9975 /* end confdefs.h. */
9985 ac_clean_files_save=$ac_clean_files
9986 ac_clean_files="$ac_clean_files a.out a.exe b.out"
9987 # Try to create an executable without -o first, disregard a.out.
9988 # It will help us diagnose broken compilers, and finding out an intuition
9990 echo "$as_me:$LINENO: checking for C compiler default output" >&5
9991 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9992 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9993 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9994 (eval $ac_link_default) 2>&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); }; then
9998 # Find the output, starting from the most likely. This scheme is
9999 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10002 # Be careful to initialize this variable, since it used to be cached.
10003 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10005 # b.out is created by i960 compilers.
10006 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10008 test -f "$ac_file" || continue
10010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10013 # This is the source file.
10016 # We found the default executable, but exeext='' is most
10020 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10021 # FIXME: I believe we export ac_cv_exeext for Libtool,
10022 # but it would be cool to find out if it's true. Does anybody
10023 # maintain Libtool? --akim.
10024 export ac_cv_exeext
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.$ac_ext >&5
10034 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10035 See \`config.log' for more details." >&5
10036 echo "$as_me: error: C compiler cannot create executables
10037 See \`config.log' for more details." >&2;}
10038 { (exit 77); exit 77; }; }
10041 ac_exeext=$ac_cv_exeext
10042 echo "$as_me:$LINENO: result: $ac_file" >&5
10043 echo "${ECHO_T}$ac_file" >&6
10045 # Check the compiler produces executables we can run. If not, either
10046 # the compiler is broken, or we cross compile.
10047 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10048 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10049 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10050 # If not cross compiling, check that we can run a simple program.
10051 if test "$cross_compiling" != yes; then
10052 if { ac_try='./$ac_file'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10060 if test "$cross_compiling" = maybe; then
10061 cross_compiling=yes
10063 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10064 If you meant to cross compile, use \`--host'.
10065 See \`config.log' for more details." >&5
10066 echo "$as_me: error: cannot run C compiled programs.
10067 If you meant to cross compile, use \`--host'.
10068 See \`config.log' for more details." >&2;}
10069 { (exit 1); exit 1; }; }
10073 echo "$as_me:$LINENO: result: yes" >&5
10074 echo "${ECHO_T}yes" >&6
10076 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10077 ac_clean_files=$ac_clean_files_save
10078 # Check the compiler produces executables we can run. If not, either
10079 # the compiler is broken, or we cross compile.
10080 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10081 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10082 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10083 echo "${ECHO_T}$cross_compiling" >&6
10085 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10086 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; then
10092 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10093 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10094 # work properly (i.e., refer to `conftest.exe'), while it won't with
10096 for ac_file in conftest.exe conftest conftest.*; do
10097 test -f "$ac_file" || continue
10099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10100 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10101 export ac_cv_exeext
10107 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10108 See \`config.log' for more details." >&5
10109 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10110 See \`config.log' for more details." >&2;}
10111 { (exit 1); exit 1; }; }
10114 rm -f conftest$ac_cv_exeext
10115 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10116 echo "${ECHO_T}$ac_cv_exeext" >&6
10118 rm -f conftest.$ac_ext
10119 EXEEXT=$ac_cv_exeext
10121 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10122 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10123 if test "${ac_cv_objext+set}" = set; then
10124 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 cat >conftest.$ac_ext <<_ACEOF
10127 #line $LINENO "configure"
10130 cat confdefs.h >>conftest.$ac_ext
10131 cat >>conftest.$ac_ext <<_ACEOF
10132 /* end confdefs.h. */
10142 rm -f conftest.o conftest.obj
10143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10144 (eval $ac_compile) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; then
10148 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10151 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10156 echo "$as_me: failed program was:" >&5
10157 sed 's/^/| /' conftest.$ac_ext >&5
10159 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10160 See \`config.log' for more details." >&5
10161 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10162 See \`config.log' for more details." >&2;}
10163 { (exit 1); exit 1; }; }
10166 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10168 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10169 echo "${ECHO_T}$ac_cv_objext" >&6
10170 OBJEXT=$ac_cv_objext
10172 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10173 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10174 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10175 echo $ECHO_N "(cached) $ECHO_C" >&6
10177 cat >conftest.$ac_ext <<_ACEOF
10178 #line $LINENO "configure"
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10196 rm -f conftest.$ac_objext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10198 (eval $ac_compile) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try='test -s conftest.$ac_objext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 ac_compiler_gnu=yes
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10215 rm -f conftest.$ac_objext conftest.$ac_ext
10216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10219 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10220 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10221 GCC=`test $ac_compiler_gnu = yes && echo yes`
10222 ac_test_CFLAGS=${CFLAGS+set}
10223 ac_save_CFLAGS=$CFLAGS
10225 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10226 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10227 if test "${ac_cv_prog_cc_g+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 cat >conftest.$ac_ext <<_ACEOF
10231 #line $LINENO "configure"
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10246 rm -f conftest.$ac_objext
10247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10248 (eval $ac_compile) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try='test -s conftest.$ac_objext'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; }; then
10258 ac_cv_prog_cc_g=yes
10260 echo "$as_me: failed program was:" >&5
10261 sed 's/^/| /' conftest.$ac_ext >&5
10265 rm -f conftest.$ac_objext conftest.$ac_ext
10267 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10268 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10269 if test "$ac_test_CFLAGS" = set; then
10270 CFLAGS=$ac_save_CFLAGS
10271 elif test $ac_cv_prog_cc_g = yes; then
10272 if test "$GCC" = yes; then
10278 if test "$GCC" = yes; then
10284 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10285 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10286 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10287 echo $ECHO_N "(cached) $ECHO_C" >&6
10289 ac_cv_prog_cc_stdc=no
10291 cat >conftest.$ac_ext <<_ACEOF
10292 #line $LINENO "configure"
10295 cat confdefs.h >>conftest.$ac_ext
10296 cat >>conftest.$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10298 #include <stdarg.h>
10300 #include <sys/types.h>
10301 #include <sys/stat.h>
10302 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10303 struct buf { int x; };
10304 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10305 static char *e (p, i)
10311 static char *f (char * (*g) (char **, int), char **p, ...)
10316 s = g (p, va_arg (v,int));
10320 int test (int i, double x);
10321 struct s1 {int (*f) (int a);};
10322 struct s2 {int (*f) (double a);};
10323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10334 # Don't try gcc -ansi; that turns off useful extensions and
10335 # breaks some systems' header files.
10336 # AIX -qlanglvl=ansi
10337 # Ultrix and OSF/1 -std1
10338 # HP-UX 10.20 and later -Ae
10339 # HP-UX older versions -Aa -D_HPUX_SOURCE
10340 # SVR4 -Xc -D__EXTENSIONS__
10341 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10343 CC="$ac_save_CC $ac_arg"
10344 rm -f conftest.$ac_objext
10345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10346 (eval $ac_compile) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -s conftest.$ac_objext'
10351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352 (eval $ac_try) 2>&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; }; then
10356 ac_cv_prog_cc_stdc=$ac_arg
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10363 rm -f conftest.$ac_objext
10365 rm -f conftest.$ac_ext conftest.$ac_objext
10370 case "x$ac_cv_prog_cc_stdc" in
10372 echo "$as_me:$LINENO: result: none needed" >&5
10373 echo "${ECHO_T}none needed" >&6 ;;
10375 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10376 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10377 CC="$CC $ac_cv_prog_cc_stdc" ;;
10380 # Some people use a C++ compiler to compile C. Since we use `exit',
10381 # in C++ we need to declare it. In case someone uses the same compiler
10382 # for both compiling C and C++ we need to have the C++ compiler decide
10383 # the declaration of exit, since it's the most demanding environment.
10384 cat >conftest.$ac_ext <<_ACEOF
10385 #ifndef __cplusplus
10389 rm -f conftest.$ac_objext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10391 (eval $ac_compile) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -s conftest.$ac_objext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 for ac_declaration in \
10403 '#include <stdlib.h>' \
10404 'extern "C" void std::exit (int) throw (); using std::exit;' \
10405 'extern "C" void std::exit (int); using std::exit;' \
10406 'extern "C" void exit (int) throw ();' \
10407 'extern "C" void exit (int);' \
10410 cat >conftest.$ac_ext <<_ACEOF
10411 #line $LINENO "configure"
10414 cat confdefs.h >>conftest.$ac_ext
10415 cat >>conftest.$ac_ext <<_ACEOF
10416 /* end confdefs.h. */
10417 #include <stdlib.h>
10427 rm -f conftest.$ac_objext
10428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10429 (eval $ac_compile) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } &&
10433 { ac_try='test -s conftest.$ac_objext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.$ac_ext >&5
10446 rm -f conftest.$ac_objext conftest.$ac_ext
10447 cat >conftest.$ac_ext <<_ACEOF
10448 #line $LINENO "configure"
10451 cat confdefs.h >>conftest.$ac_ext
10452 cat >>conftest.$ac_ext <<_ACEOF
10453 /* end confdefs.h. */
10463 rm -f conftest.$ac_objext
10464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10465 (eval $ac_compile) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try='test -s conftest.$ac_objext'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; }; then
10477 echo "$as_me: failed program was:" >&5
10478 sed 's/^/| /' conftest.$ac_ext >&5
10481 rm -f conftest.$ac_objext conftest.$ac_ext
10484 if test -n "$ac_declaration"; then
10485 echo '#ifdef __cplusplus' >>confdefs.h
10486 echo $ac_declaration >>confdefs.h
10487 echo '#endif' >>confdefs.h
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10495 rm -f conftest.$ac_objext conftest.$ac_ext
10497 ac_cpp='$CPP $CPPFLAGS'
10498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10505 ac_cpp='$CPP $CPPFLAGS'
10506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10509 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10511 # On Suns, sometimes $CPP names a directory.
10512 if test -n "$CPP" && test -d "$CPP"; then
10515 if test -z "$CPP"; then
10516 if test "${ac_cv_prog_CPP+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 # Double quotes because CPP needs to be expanded
10520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10522 ac_preproc_ok=false
10523 for ac_c_preproc_warn_flag in '' yes
10525 # Use a header file that comes with gcc, so configuring glibc
10526 # with a fresh cross-compiler works.
10527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10528 # <limits.h> exists even on freestanding compilers.
10529 # On the NeXT, cc -E runs the code through the compiler's parser,
10530 # not just through cpp. "Syntax error" is here to catch this case.
10531 cat >conftest.$ac_ext <<_ACEOF
10532 #line $LINENO "configure"
10535 cat confdefs.h >>conftest.$ac_ext
10536 cat >>conftest.$ac_ext <<_ACEOF
10537 /* end confdefs.h. */
10539 # include <limits.h>
10541 # include <assert.h>
10545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10548 grep -v '^ *+' conftest.er1 >conftest.err
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } >/dev/null; then
10553 if test -s conftest.err; then
10554 ac_cpp_err=$ac_c_preproc_warn_flag
10561 if test -z "$ac_cpp_err"; then
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.$ac_ext >&5
10567 # Broken: fails on valid input.
10570 rm -f conftest.err conftest.$ac_ext
10572 # OK, works on sane cases. Now check whether non-existent headers
10573 # can be detected and how.
10574 cat >conftest.$ac_ext <<_ACEOF
10575 #line $LINENO "configure"
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 #include <ac_nonexistent.h>
10583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10586 grep -v '^ *+' conftest.er1 >conftest.err
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } >/dev/null; then
10591 if test -s conftest.err; then
10592 ac_cpp_err=$ac_c_preproc_warn_flag
10599 if test -z "$ac_cpp_err"; then
10600 # Broken: success on invalid input.
10603 echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 # Passes both tests.
10610 rm -f conftest.err conftest.$ac_ext
10613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10614 rm -f conftest.err conftest.$ac_ext
10615 if $ac_preproc_ok; then
10620 ac_cv_prog_CPP=$CPP
10623 CPP=$ac_cv_prog_CPP
10625 ac_cv_prog_CPP=$CPP
10627 echo "$as_me:$LINENO: result: $CPP" >&5
10628 echo "${ECHO_T}$CPP" >&6
10629 ac_preproc_ok=false
10630 for ac_c_preproc_warn_flag in '' yes
10632 # Use a header file that comes with gcc, so configuring glibc
10633 # with a fresh cross-compiler works.
10634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10635 # <limits.h> exists even on freestanding compilers.
10636 # On the NeXT, cc -E runs the code through the compiler's parser,
10637 # not just through cpp. "Syntax error" is here to catch this case.
10638 cat >conftest.$ac_ext <<_ACEOF
10639 #line $LINENO "configure"
10642 cat confdefs.h >>conftest.$ac_ext
10643 cat >>conftest.$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10646 # include <limits.h>
10648 # include <assert.h>
10652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10655 grep -v '^ *+' conftest.er1 >conftest.err
10657 cat conftest.err >&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } >/dev/null; then
10660 if test -s conftest.err; then
10661 ac_cpp_err=$ac_c_preproc_warn_flag
10668 if test -z "$ac_cpp_err"; then
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10674 # Broken: fails on valid input.
10677 rm -f conftest.err conftest.$ac_ext
10679 # OK, works on sane cases. Now check whether non-existent headers
10680 # can be detected and how.
10681 cat >conftest.$ac_ext <<_ACEOF
10682 #line $LINENO "configure"
10685 cat confdefs.h >>conftest.$ac_ext
10686 cat >>conftest.$ac_ext <<_ACEOF
10687 /* end confdefs.h. */
10688 #include <ac_nonexistent.h>
10690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10693 grep -v '^ *+' conftest.er1 >conftest.err
10695 cat conftest.err >&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } >/dev/null; then
10698 if test -s conftest.err; then
10699 ac_cpp_err=$ac_c_preproc_warn_flag
10706 if test -z "$ac_cpp_err"; then
10707 # Broken: success on invalid input.
10710 echo "$as_me: failed program was:" >&5
10711 sed 's/^/| /' conftest.$ac_ext >&5
10713 # Passes both tests.
10717 rm -f conftest.err conftest.$ac_ext
10720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10721 rm -f conftest.err conftest.$ac_ext
10722 if $ac_preproc_ok; then
10725 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10726 See \`config.log' for more details." >&5
10727 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10728 See \`config.log' for more details." >&2;}
10729 { (exit 1); exit 1; }; }
10733 ac_cpp='$CPP $CPPFLAGS'
10734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10739 echo "$as_me:$LINENO: checking for egrep" >&5
10740 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10741 if test "${ac_cv_prog_egrep+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10745 then ac_cv_prog_egrep='grep -E'
10746 else ac_cv_prog_egrep='egrep'
10749 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10750 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10751 EGREP=$ac_cv_prog_egrep
10754 if test $ac_cv_c_compiler_gnu = yes; then
10755 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10756 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10757 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 ac_pattern="Autoconf.*'x'"
10761 cat >conftest.$ac_ext <<_ACEOF
10762 #line $LINENO "configure"
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10772 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10773 ac_cv_prog_gcc_traditional=yes
10775 ac_cv_prog_gcc_traditional=no
10780 if test $ac_cv_prog_gcc_traditional = no; then
10781 cat >conftest.$ac_ext <<_ACEOF
10782 #line $LINENO "configure"
10785 cat confdefs.h >>conftest.$ac_ext
10786 cat >>conftest.$ac_ext <<_ACEOF
10787 /* end confdefs.h. */
10788 #include <termio.h>
10791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10792 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10793 ac_cv_prog_gcc_traditional=yes
10799 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10800 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10801 if test $ac_cv_prog_gcc_traditional = yes; then
10802 CC="$CC -traditional"
10810 ac_cpp='$CXXCPP $CPPFLAGS'
10811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10816 CXXFLAGS=${CXXFLAGS:=}
10818 ac_cpp='$CXXCPP $CPPFLAGS'
10819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10822 if test -n "$ac_tool_prefix"; then
10823 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10827 echo "$as_me:$LINENO: checking for $ac_word" >&5
10828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10829 if test "${ac_cv_prog_CXX+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 if test -n "$CXX"; then
10833 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10836 for as_dir in $PATH
10839 test -z "$as_dir" && as_dir=.
10840 for ac_exec_ext in '' $ac_executable_extensions; do
10841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10842 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10851 CXX=$ac_cv_prog_CXX
10852 if test -n "$CXX"; then
10853 echo "$as_me:$LINENO: result: $CXX" >&5
10854 echo "${ECHO_T}$CXX" >&6
10856 echo "$as_me:$LINENO: result: no" >&5
10857 echo "${ECHO_T}no" >&6
10860 test -n "$CXX" && break
10863 if test -z "$CXX"; then
10865 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10867 # Extract the first word of "$ac_prog", so it can be a program name with args.
10868 set dummy $ac_prog; ac_word=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 if test -n "$ac_ct_CXX"; then
10875 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $PATH
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CXX="$ac_prog"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10894 if test -n "$ac_ct_CXX"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10896 echo "${ECHO_T}$ac_ct_CXX" >&6
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10902 test -n "$ac_ct_CXX" && break
10904 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10910 # Provide some information about the compiler.
10911 echo "$as_me:$LINENO:" \
10912 "checking for C++ compiler version" >&5
10913 ac_compiler=`set X $ac_compile; echo $2`
10914 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10915 (eval $ac_compiler --version </dev/null >&5) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }
10919 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10920 (eval $ac_compiler -v </dev/null >&5) 2>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }
10924 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10925 (eval $ac_compiler -V </dev/null >&5) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }
10930 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10931 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10932 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10935 cat >conftest.$ac_ext <<_ACEOF
10936 #line $LINENO "configure"
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10954 rm -f conftest.$ac_objext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 ac_compiler_gnu=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.$ac_ext >&5
10973 rm -f conftest.$ac_objext conftest.$ac_ext
10974 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10977 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10978 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10979 GXX=`test $ac_compiler_gnu = yes && echo yes`
10980 ac_test_CXXFLAGS=${CXXFLAGS+set}
10981 ac_save_CXXFLAGS=$CXXFLAGS
10983 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10984 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10985 if test "${ac_cv_prog_cxx_g+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 cat >conftest.$ac_ext <<_ACEOF
10989 #line $LINENO "configure"
10992 cat confdefs.h >>conftest.$ac_ext
10993 cat >>conftest.$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
11004 rm -f conftest.$ac_objext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11006 (eval $ac_compile) 2>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -s conftest.$ac_objext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 ac_cv_prog_cxx_g=yes
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.$ac_ext >&5
11021 ac_cv_prog_cxx_g=no
11023 rm -f conftest.$ac_objext conftest.$ac_ext
11025 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11026 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11027 if test "$ac_test_CXXFLAGS" = set; then
11028 CXXFLAGS=$ac_save_CXXFLAGS
11029 elif test $ac_cv_prog_cxx_g = yes; then
11030 if test "$GXX" = yes; then
11036 if test "$GXX" = yes; then
11042 for ac_declaration in \
11044 '#include <stdlib.h>' \
11045 'extern "C" void std::exit (int) throw (); using std::exit;' \
11046 'extern "C" void std::exit (int); using std::exit;' \
11047 'extern "C" void exit (int) throw ();' \
11048 'extern "C" void exit (int);' \
11051 cat >conftest.$ac_ext <<_ACEOF
11052 #line $LINENO "configure"
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11058 #include <stdlib.h>
11068 rm -f conftest.$ac_objext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11070 (eval $ac_compile) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } &&
11074 { ac_try='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.$ac_ext >&5
11087 rm -f conftest.$ac_objext conftest.$ac_ext
11088 cat >conftest.$ac_ext <<_ACEOF
11089 #line $LINENO "configure"
11092 cat confdefs.h >>conftest.$ac_ext
11093 cat >>conftest.$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11104 rm -f conftest.$ac_objext
11105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11106 (eval $ac_compile) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try='test -s conftest.$ac_objext'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; }; then
11118 echo "$as_me: failed program was:" >&5
11119 sed 's/^/| /' conftest.$ac_ext >&5
11122 rm -f conftest.$ac_objext conftest.$ac_ext
11125 if test -n "$ac_declaration"; then
11126 echo '#ifdef __cplusplus' >>confdefs.h
11127 echo $ac_declaration >>confdefs.h
11128 echo '#endif' >>confdefs.h
11132 ac_cpp='$CXXCPP $CPPFLAGS'
11133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11139 ac_cpp='$CPP $CPPFLAGS'
11140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11145 if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11147 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11148 echo "$as_me:$LINENO: checking for $ac_word" >&5
11149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150 if test "${ac_cv_prog_RANLIB+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 if test -n "$RANLIB"; then
11154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11157 for as_dir in $PATH
11160 test -z "$as_dir" && as_dir=.
11161 for ac_exec_ext in '' $ac_executable_extensions; do
11162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11172 RANLIB=$ac_cv_prog_RANLIB
11173 if test -n "$RANLIB"; then
11174 echo "$as_me:$LINENO: result: $RANLIB" >&5
11175 echo "${ECHO_T}$RANLIB" >&6
11177 echo "$as_me:$LINENO: result: no" >&5
11178 echo "${ECHO_T}no" >&6
11182 if test -z "$ac_cv_prog_RANLIB"; then
11183 ac_ct_RANLIB=$RANLIB
11184 # Extract the first word of "ranlib", so it can be a program name with args.
11185 set dummy ranlib; ac_word=$2
11186 echo "$as_me:$LINENO: checking for $ac_word" >&5
11187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11188 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 if test -n "$ac_ct_RANLIB"; then
11192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11195 for as_dir in $PATH
11198 test -z "$as_dir" && as_dir=.
11199 for ac_exec_ext in '' $ac_executable_extensions; do
11200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_ac_ct_RANLIB="ranlib"
11202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11212 if test -n "$ac_ct_RANLIB"; then
11213 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11214 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11216 echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6
11220 RANLIB=$ac_ct_RANLIB
11222 RANLIB="$ac_cv_prog_RANLIB"
11226 # Extract the first word of "ar", so it can be a program name with args.
11227 set dummy ar; ac_word=$2
11228 echo "$as_me:$LINENO: checking for $ac_word" >&5
11229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11230 if test "${ac_cv_prog_AR+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 if test -n "$AR"; then
11234 ac_cv_prog_AR="$AR" # Let the user override the test.
11236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237 for as_dir in $PATH
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11250 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11254 if test -n "$AR"; then
11255 echo "$as_me:$LINENO: result: $AR" >&5
11256 echo "${ECHO_T}$AR" >&6
11258 echo "$as_me:$LINENO: result: no" >&5
11259 echo "${ECHO_T}no" >&6
11263 # Find a good install program. We prefer a C program (faster),
11264 # so one script is as good as another. But avoid the broken or
11265 # incompatible versions:
11266 # SysV /etc/install, /usr/sbin/install
11267 # SunOS /usr/etc/install
11268 # IRIX /sbin/install
11270 # AmigaOS /C/install, which installs bootblocks on floppy discs
11271 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11274 # ./install, which can be erroneously created by make from ./install.sh.
11275 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11276 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11277 if test -z "$INSTALL"; then
11278 if test "${ac_cv_path_install+set}" = set; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11282 for as_dir in $PATH
11285 test -z "$as_dir" && as_dir=.
11286 # Account for people who put trailing slashes in PATH elements.
11288 ./ | .// | /cC/* | \
11289 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11292 # OSF1 and SCO ODT 3.0 have their own names for install.
11293 # Don't use installbsd from OSF since it installs stuff as root
11295 for ac_prog in ginstall scoinst install; do
11296 for ac_exec_ext in '' $ac_executable_extensions; do
11297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11298 if test $ac_prog = install &&
11299 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11300 # AIX install. It has an incompatible calling convention.
11302 elif test $ac_prog = install &&
11303 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11304 # program-specific install script used by HP pwplus--don't use.
11307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11319 if test "${ac_cv_path_install+set}" = set; then
11320 INSTALL=$ac_cv_path_install
11322 # As a last resort, use the slow shell script. We don't cache a
11323 # path for INSTALL within a source directory, because that will
11324 # break other packages using the cache if that directory is
11325 # removed, or if the path is relative.
11326 INSTALL=$ac_install_sh
11329 echo "$as_me:$LINENO: result: $INSTALL" >&5
11330 echo "${ECHO_T}$INSTALL" >&6
11332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11333 # It thinks the first close brace ends the variable substitution.
11334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11338 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11344 ?:* ) # Drive letter, considered as absolute.
11347 INSTALL=`pwd`/${INSTALL} ;;
11352 INSTALL_DIR="mkdir"
11355 *) INSTALL_DIR="$INSTALL -d"
11362 powerpc-*-darwin* )
11363 INSTALL_PROGRAM="cp -fp"
11364 INSTALL_DATA="cp -fp"
11370 # Extract the first word of "strip", so it can be a program name with args.
11371 set dummy strip; ac_word=$2
11372 echo "$as_me:$LINENO: checking for $ac_word" >&5
11373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11374 if test "${ac_cv_prog_STRIP+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 if test -n "$STRIP"; then
11378 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11381 for as_dir in $PATH
11384 test -z "$as_dir" && as_dir=.
11385 for ac_exec_ext in '' $ac_executable_extensions; do
11386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11387 ac_cv_prog_STRIP="strip"
11388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11394 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11397 STRIP=$ac_cv_prog_STRIP
11398 if test -n "$STRIP"; then
11399 echo "$as_me:$LINENO: result: $STRIP" >&5
11400 echo "${ECHO_T}$STRIP" >&6
11402 echo "$as_me:$LINENO: result: no" >&5
11403 echo "${ECHO_T}no" >&6
11407 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11408 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11409 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11414 egrep -s GNU > /dev/null); then
11415 wx_cv_prog_makeisgnu="yes"
11417 wx_cv_prog_makeisgnu="no"
11421 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11422 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11424 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11432 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11433 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11434 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11435 if test "${wx_cv_prog_makevpath+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 cat - << EOF > confMake
11445 if test ! -d sub ; then
11448 echo dummy > sub/file
11449 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11451 rm -f sub/file check final_file confMake
11453 if test "$RESULT" = 0; then
11454 wx_cv_prog_makevpath="yes"
11456 wx_cv_prog_makevpath="no"
11460 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11461 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11463 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11464 { { echo "$as_me:$LINENO: error:
11465 You need a make-utility that is able to use the variable
11467 If your version of make does not support VPATH correctly,
11468 please install GNU-make (possibly as gmake), and start
11469 configure with the following command:
11470 export MAKE=gmake; ./configure for sh-type shells
11471 setenv MAKE gmake; ./configure for csh-type shells
11472 Also please do remember to use gmake in this case every time
11473 you are trying to compile.
11475 echo "$as_me: error:
11476 You need a make-utility that is able to use the variable
11478 If your version of make does not support VPATH correctly,
11479 please install GNU-make (possibly as gmake), and start
11480 configure with the following command:
11481 export MAKE=gmake; ./configure for sh-type shells
11482 setenv MAKE gmake; ./configure for csh-type shells
11483 Also please do remember to use gmake in this case every time
11484 you are trying to compile.
11486 { (exit 1); exit 1; }; }
11488 for ac_prog in 'bison -y' byacc
11490 # Extract the first word of "$ac_prog", so it can be a program name with args.
11491 set dummy $ac_prog; ac_word=$2
11492 echo "$as_me:$LINENO: checking for $ac_word" >&5
11493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11494 if test "${ac_cv_prog_YACC+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 if test -n "$YACC"; then
11498 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11507 ac_cv_prog_YACC="$ac_prog"
11508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11516 YACC=$ac_cv_prog_YACC
11517 if test -n "$YACC"; then
11518 echo "$as_me:$LINENO: result: $YACC" >&5
11519 echo "${ECHO_T}$YACC" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11525 test -n "$YACC" && break
11527 test -n "$YACC" || YACC="yacc"
11530 for ac_prog in flex lex
11532 # Extract the first word of "$ac_prog", so it can be a program name with args.
11533 set dummy $ac_prog; ac_word=$2
11534 echo "$as_me:$LINENO: checking for $ac_word" >&5
11535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11536 if test "${ac_cv_prog_LEX+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 if test -n "$LEX"; then
11540 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11549 ac_cv_prog_LEX="$ac_prog"
11550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11558 LEX=$ac_cv_prog_LEX
11559 if test -n "$LEX"; then
11560 echo "$as_me:$LINENO: result: $LEX" >&5
11561 echo "${ECHO_T}$LEX" >&6
11563 echo "$as_me:$LINENO: result: no" >&5
11564 echo "${ECHO_T}no" >&6
11567 test -n "$LEX" && break
11569 test -n "$LEX" || LEX=":"
11571 if test -z "$LEXLIB"
11573 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11574 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11575 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11578 ac_check_lib_save_LIBS=$LIBS
11580 cat >conftest.$ac_ext <<_ACEOF
11581 #line $LINENO "configure"
11584 cat confdefs.h >>conftest.$ac_ext
11585 cat >>conftest.$ac_ext <<_ACEOF
11586 /* end confdefs.h. */
11588 /* Override any gcc2 internal prototype to avoid an error. */
11592 /* We use char because int might match the return type of a gcc2
11593 builtin and then its argument prototype would still apply. */
11603 rm -f conftest.$ac_objext conftest$ac_exeext
11604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11605 (eval $ac_link) 2>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } &&
11609 { ac_try='test -s conftest$ac_exeext'
11610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; }; then
11615 ac_cv_lib_fl_yywrap=yes
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 ac_cv_lib_fl_yywrap=no
11622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_lib_save_LIBS
11625 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11626 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11627 if test $ac_cv_lib_fl_yywrap = yes; then
11630 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11631 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11632 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 ac_check_lib_save_LIBS=$LIBS
11637 cat >conftest.$ac_ext <<_ACEOF
11638 #line $LINENO "configure"
11641 cat confdefs.h >>conftest.$ac_ext
11642 cat >>conftest.$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11645 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11660 rm -f conftest.$ac_objext conftest$ac_exeext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662 (eval $ac_link) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } &&
11666 { ac_try='test -s conftest$ac_exeext'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; }; then
11672 ac_cv_lib_l_yywrap=yes
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 ac_cv_lib_l_yywrap=no
11679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_lib_save_LIBS
11682 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11683 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11684 if test $ac_cv_lib_l_yywrap = yes; then
11692 if test "x$LEX" != "x:"; then
11693 echo "$as_me:$LINENO: checking lex output file root" >&5
11694 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11695 if test "${ac_cv_prog_lex_root+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 # The minimal lex program is just a single line: %%. But some broken lexes
11699 # (Solaris, I think it was) want two %% lines, so accommodate them.
11700 cat >conftest.l <<_ACEOF
11704 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11705 (eval $LEX conftest.l) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }
11709 if test -f lex.yy.c; then
11710 ac_cv_prog_lex_root=lex.yy
11711 elif test -f lexyy.c; then
11712 ac_cv_prog_lex_root=lexyy
11714 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11715 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11716 { (exit 1); exit 1; }; }
11719 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11720 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11722 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11724 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11725 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11726 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 # POSIX says lex can declare yytext either as a pointer or an array; the
11730 # default is implementation-dependent. Figure out which it is, since
11731 # not all implementations provide the %pointer and %array declarations.
11732 ac_cv_prog_lex_yytext_pointer=no
11733 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11735 LIBS="$LIBS $LEXLIB"
11736 cat >conftest.$ac_ext <<_ACEOF
11737 `cat $LEX_OUTPUT_ROOT.c`
11739 rm -f conftest.$ac_objext conftest$ac_exeext
11740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11741 (eval $ac_link) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -s conftest$ac_exeext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_cv_prog_lex_yytext_pointer=yes
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11759 rm -f "${LEX_OUTPUT_ROOT}.c"
11762 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11763 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11764 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11766 cat >>confdefs.h <<\_ACEOF
11767 #define YYTEXT_POINTER 1
11774 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11775 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11777 if test "$LN_S" = "ln -s"; then
11778 echo "$as_me:$LINENO: result: yes" >&5
11779 echo "${ECHO_T}yes" >&6
11781 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11782 echo "${ECHO_T}no, using $LN_S" >&6
11787 *-pc-os2_emx | *-pc-os2-emx )
11788 LIBS="$LIBS -lstdcpp"
11789 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11790 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11791 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11792 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 ac_check_lib_save_LIBS=$LIBS
11796 LIBS="-lcExt $LIBS"
11797 cat >conftest.$ac_ext <<_ACEOF
11798 #line $LINENO "configure"
11801 cat confdefs.h >>conftest.$ac_ext
11802 cat >>conftest.$ac_ext <<_ACEOF
11803 /* end confdefs.h. */
11805 /* Override any gcc2 internal prototype to avoid an error. */
11809 /* We use char because int might match the return type of a gcc2
11810 builtin and then its argument prototype would still apply. */
11820 rm -f conftest.$ac_objext conftest$ac_exeext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11822 (eval $ac_link) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } &&
11826 { ac_try='test -s conftest$ac_exeext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_cv_lib_cExt_drand48=yes
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.$ac_ext >&5
11837 ac_cv_lib_cExt_drand48=no
11839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11843 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11844 if test $ac_cv_lib_cExt_drand48 = yes; then
11845 LIBS="$LIBS -lcExt"
11849 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11855 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11856 echo "$as_me:$LINENO: checking for strings.h" >&5
11857 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11858 if test "${ac_cv_header_strings_h+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 ac_cv_header_strings_h=no
11863 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11864 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11865 if test "$ac_cv_header_strings_h" = "no"; then
11866 echo "$as_me:$LINENO: result: forced no into cache" >&5
11867 echo "${ECHO_T}forced no into cache" >&6
11869 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11870 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11873 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11874 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11875 if test "${ac_cv_header_stdc+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 cat >conftest.$ac_ext <<_ACEOF
11879 #line $LINENO "configure"
11882 cat confdefs.h >>conftest.$ac_ext
11883 cat >>conftest.$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11885 #include <stdlib.h>
11886 #include <stdarg.h>
11887 #include <string.h>
11898 rm -f conftest.$ac_objext
11899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11900 (eval $ac_compile) 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
11904 { ac_try='test -s conftest.$ac_objext'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; }; then
11910 ac_cv_header_stdc=yes
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.$ac_ext >&5
11915 ac_cv_header_stdc=no
11917 rm -f conftest.$ac_objext conftest.$ac_ext
11919 if test $ac_cv_header_stdc = yes; then
11920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11921 cat >conftest.$ac_ext <<_ACEOF
11922 #line $LINENO "configure"
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 #include <string.h>
11931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11932 $EGREP "memchr" >/dev/null 2>&1; then
11935 ac_cv_header_stdc=no
11941 if test $ac_cv_header_stdc = yes; then
11942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11943 cat >conftest.$ac_ext <<_ACEOF
11944 #line $LINENO "configure"
11947 cat confdefs.h >>conftest.$ac_ext
11948 cat >>conftest.$ac_ext <<_ACEOF
11949 /* end confdefs.h. */
11950 #include <stdlib.h>
11953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11954 $EGREP "free" >/dev/null 2>&1; then
11957 ac_cv_header_stdc=no
11963 if test $ac_cv_header_stdc = yes; then
11964 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11965 if test "$cross_compiling" = yes; then
11968 cat >conftest.$ac_ext <<_ACEOF
11969 #line $LINENO "configure"
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11976 #if ((' ' & 0x0FF) == 0x020)
11977 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11978 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11980 # define ISLOWER(c) \
11981 (('a' <= (c) && (c) <= 'i') \
11982 || ('j' <= (c) && (c) <= 'r') \
11983 || ('s' <= (c) && (c) <= 'z'))
11984 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11987 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11992 for (i = 0; i < 256; i++)
11993 if (XOR (islower (i), ISLOWER (i))
11994 || toupper (i) != TOUPPER (i))
11999 rm -f conftest$ac_exeext
12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12001 (eval $ac_link) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12012 echo "$as_me: program exited with status $ac_status" >&5
12013 echo "$as_me: failed program was:" >&5
12014 sed 's/^/| /' conftest.$ac_ext >&5
12016 ( exit $ac_status )
12017 ac_cv_header_stdc=no
12019 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12023 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12024 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12025 if test $ac_cv_header_stdc = yes; then
12027 cat >>confdefs.h <<\_ACEOF
12028 #define STDC_HEADERS 1
12033 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12043 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12044 inttypes.h stdint.h unistd.h
12046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12047 echo "$as_me:$LINENO: checking for $ac_header" >&5
12048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 cat >conftest.$ac_ext <<_ACEOF
12053 #line $LINENO "configure"
12056 cat confdefs.h >>conftest.$ac_ext
12057 cat >>conftest.$ac_ext <<_ACEOF
12058 /* end confdefs.h. */
12059 $ac_includes_default
12061 #include <$ac_header>
12063 rm -f conftest.$ac_objext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12065 (eval $ac_compile) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try='test -s conftest.$ac_objext'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; }; then
12075 eval "$as_ac_Header=yes"
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12080 eval "$as_ac_Header=no"
12082 rm -f conftest.$ac_objext conftest.$ac_ext
12084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12087 cat >>confdefs.h <<_ACEOF
12088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12097 for ac_header in strings.h
12099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12101 echo "$as_me:$LINENO: checking for $ac_header" >&5
12102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12109 # Is the header compilable?
12110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12112 cat >conftest.$ac_ext <<_ACEOF
12113 #line $LINENO "configure"
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12119 $ac_includes_default
12120 #include <$ac_header>
12122 rm -f conftest.$ac_objext
12123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12124 (eval $ac_compile) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } &&
12128 { ac_try='test -s conftest.$ac_objext'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; }; then
12134 ac_header_compiler=yes
12136 echo "$as_me: failed program was:" >&5
12137 sed 's/^/| /' conftest.$ac_ext >&5
12139 ac_header_compiler=no
12141 rm -f conftest.$ac_objext conftest.$ac_ext
12142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12143 echo "${ECHO_T}$ac_header_compiler" >&6
12145 # Is the header present?
12146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12148 cat >conftest.$ac_ext <<_ACEOF
12149 #line $LINENO "configure"
12152 cat confdefs.h >>conftest.$ac_ext
12153 cat >>conftest.$ac_ext <<_ACEOF
12154 /* end confdefs.h. */
12155 #include <$ac_header>
12157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12160 grep -v '^ *+' conftest.er1 >conftest.err
12162 cat conftest.err >&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } >/dev/null; then
12165 if test -s conftest.err; then
12166 ac_cpp_err=$ac_c_preproc_warn_flag
12173 if test -z "$ac_cpp_err"; then
12174 ac_header_preproc=yes
12176 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.$ac_ext >&5
12179 ac_header_preproc=no
12181 rm -f conftest.err conftest.$ac_ext
12182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12183 echo "${ECHO_T}$ac_header_preproc" >&6
12185 # So? What about this header?
12186 case $ac_header_compiler:$ac_header_preproc in
12188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12194 ## ------------------------------------ ##
12195 ## Report this to bug-autoconf@gnu.org. ##
12196 ## ------------------------------------ ##
12199 sed "s/^/$as_me: WARNING: /" >&2
12202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12210 ## ------------------------------------ ##
12211 ## Report this to bug-autoconf@gnu.org. ##
12212 ## ------------------------------------ ##
12215 sed "s/^/$as_me: WARNING: /" >&2
12218 echo "$as_me:$LINENO: checking for $ac_header" >&5
12219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 eval "$as_ac_Header=$ac_header_preproc"
12225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12230 cat >>confdefs.h <<_ACEOF
12231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12240 for ac_header in stdlib.h
12242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12244 echo "$as_me:$LINENO: checking for $ac_header" >&5
12245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12252 # Is the header compilable?
12253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12255 cat >conftest.$ac_ext <<_ACEOF
12256 #line $LINENO "configure"
12259 cat confdefs.h >>conftest.$ac_ext
12260 cat >>conftest.$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12262 $ac_includes_default
12263 #include <$ac_header>
12265 rm -f conftest.$ac_objext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } &&
12271 { ac_try='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 ac_header_compiler=yes
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12282 ac_header_compiler=no
12284 rm -f conftest.$ac_objext conftest.$ac_ext
12285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12286 echo "${ECHO_T}$ac_header_compiler" >&6
12288 # Is the header present?
12289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12291 cat >conftest.$ac_ext <<_ACEOF
12292 #line $LINENO "configure"
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298 #include <$ac_header>
12300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12303 grep -v '^ *+' conftest.er1 >conftest.err
12305 cat conftest.err >&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); } >/dev/null; then
12308 if test -s conftest.err; then
12309 ac_cpp_err=$ac_c_preproc_warn_flag
12316 if test -z "$ac_cpp_err"; then
12317 ac_header_preproc=yes
12319 echo "$as_me: failed program was:" >&5
12320 sed 's/^/| /' conftest.$ac_ext >&5
12322 ac_header_preproc=no
12324 rm -f conftest.err conftest.$ac_ext
12325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12326 echo "${ECHO_T}$ac_header_preproc" >&6
12328 # So? What about this header?
12329 case $ac_header_compiler:$ac_header_preproc in
12331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12337 ## ------------------------------------ ##
12338 ## Report this to bug-autoconf@gnu.org. ##
12339 ## ------------------------------------ ##
12342 sed "s/^/$as_me: WARNING: /" >&2
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12353 ## ------------------------------------ ##
12354 ## Report this to bug-autoconf@gnu.org. ##
12355 ## ------------------------------------ ##
12358 sed "s/^/$as_me: WARNING: /" >&2
12361 echo "$as_me:$LINENO: checking for $ac_header" >&5
12362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12366 eval "$as_ac_Header=$ac_header_preproc"
12368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12373 cat >>confdefs.h <<_ACEOF
12374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12382 for ac_header in malloc.h
12384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12386 echo "$as_me:$LINENO: checking for $ac_header" >&5
12387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12394 # Is the header compilable?
12395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12397 cat >conftest.$ac_ext <<_ACEOF
12398 #line $LINENO "configure"
12401 cat confdefs.h >>conftest.$ac_ext
12402 cat >>conftest.$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12404 $ac_includes_default
12405 #include <$ac_header>
12407 rm -f conftest.$ac_objext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12409 (eval $ac_compile) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } &&
12413 { ac_try='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 ac_header_compiler=yes
12421 echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.$ac_ext >&5
12424 ac_header_compiler=no
12426 rm -f conftest.$ac_objext conftest.$ac_ext
12427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12428 echo "${ECHO_T}$ac_header_compiler" >&6
12430 # Is the header present?
12431 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12433 cat >conftest.$ac_ext <<_ACEOF
12434 #line $LINENO "configure"
12437 cat confdefs.h >>conftest.$ac_ext
12438 cat >>conftest.$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12440 #include <$ac_header>
12442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12445 grep -v '^ *+' conftest.er1 >conftest.err
12447 cat conftest.err >&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } >/dev/null; then
12450 if test -s conftest.err; then
12451 ac_cpp_err=$ac_c_preproc_warn_flag
12458 if test -z "$ac_cpp_err"; then
12459 ac_header_preproc=yes
12461 echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.$ac_ext >&5
12464 ac_header_preproc=no
12466 rm -f conftest.err conftest.$ac_ext
12467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12468 echo "${ECHO_T}$ac_header_preproc" >&6
12470 # So? What about this header?
12471 case $ac_header_compiler:$ac_header_preproc in
12473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12474 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12479 ## ------------------------------------ ##
12480 ## Report this to bug-autoconf@gnu.org. ##
12481 ## ------------------------------------ ##
12484 sed "s/^/$as_me: WARNING: /" >&2
12487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12495 ## ------------------------------------ ##
12496 ## Report this to bug-autoconf@gnu.org. ##
12497 ## ------------------------------------ ##
12500 sed "s/^/$as_me: WARNING: /" >&2
12503 echo "$as_me:$LINENO: checking for $ac_header" >&5
12504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 eval "$as_ac_Header=$ac_header_preproc"
12510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12515 cat >>confdefs.h <<_ACEOF
12516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12524 for ac_header in unistd.h
12526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12528 echo "$as_me:$LINENO: checking for $ac_header" >&5
12529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12536 # Is the header compilable?
12537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12539 cat >conftest.$ac_ext <<_ACEOF
12540 #line $LINENO "configure"
12543 cat confdefs.h >>conftest.$ac_ext
12544 cat >>conftest.$ac_ext <<_ACEOF
12545 /* end confdefs.h. */
12546 $ac_includes_default
12547 #include <$ac_header>
12549 rm -f conftest.$ac_objext
12550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12551 (eval $ac_compile) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } &&
12555 { ac_try='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_header_compiler=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12566 ac_header_compiler=no
12568 rm -f conftest.$ac_objext conftest.$ac_ext
12569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12570 echo "${ECHO_T}$ac_header_compiler" >&6
12572 # Is the header present?
12573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12575 cat >conftest.$ac_ext <<_ACEOF
12576 #line $LINENO "configure"
12579 cat confdefs.h >>conftest.$ac_ext
12580 cat >>conftest.$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12582 #include <$ac_header>
12584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } >/dev/null; then
12592 if test -s conftest.err; then
12593 ac_cpp_err=$ac_c_preproc_warn_flag
12600 if test -z "$ac_cpp_err"; then
12601 ac_header_preproc=yes
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.$ac_ext >&5
12606 ac_header_preproc=no
12608 rm -f conftest.err conftest.$ac_ext
12609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12610 echo "${ECHO_T}$ac_header_preproc" >&6
12612 # So? What about this header?
12613 case $ac_header_compiler:$ac_header_preproc in
12615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12621 ## ------------------------------------ ##
12622 ## Report this to bug-autoconf@gnu.org. ##
12623 ## ------------------------------------ ##
12626 sed "s/^/$as_me: WARNING: /" >&2
12629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12637 ## ------------------------------------ ##
12638 ## Report this to bug-autoconf@gnu.org. ##
12639 ## ------------------------------------ ##
12642 sed "s/^/$as_me: WARNING: /" >&2
12645 echo "$as_me:$LINENO: checking for $ac_header" >&5
12646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 eval "$as_ac_Header=$ac_header_preproc"
12652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12657 cat >>confdefs.h <<_ACEOF
12658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12666 for ac_header in wchar.h
12668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12670 echo "$as_me:$LINENO: checking for $ac_header" >&5
12671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12678 # Is the header compilable?
12679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12681 cat >conftest.$ac_ext <<_ACEOF
12682 #line $LINENO "configure"
12685 cat confdefs.h >>conftest.$ac_ext
12686 cat >>conftest.$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12688 $ac_includes_default
12689 #include <$ac_header>
12691 rm -f conftest.$ac_objext
12692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12693 (eval $ac_compile) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 ac_header_compiler=yes
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12708 ac_header_compiler=no
12710 rm -f conftest.$ac_objext conftest.$ac_ext
12711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12712 echo "${ECHO_T}$ac_header_compiler" >&6
12714 # Is the header present?
12715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12717 cat >conftest.$ac_ext <<_ACEOF
12718 #line $LINENO "configure"
12721 cat confdefs.h >>conftest.$ac_ext
12722 cat >>conftest.$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724 #include <$ac_header>
12726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12729 grep -v '^ *+' conftest.er1 >conftest.err
12731 cat conftest.err >&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } >/dev/null; then
12734 if test -s conftest.err; then
12735 ac_cpp_err=$ac_c_preproc_warn_flag
12742 if test -z "$ac_cpp_err"; then
12743 ac_header_preproc=yes
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.$ac_ext >&5
12748 ac_header_preproc=no
12750 rm -f conftest.err conftest.$ac_ext
12751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12752 echo "${ECHO_T}$ac_header_preproc" >&6
12754 # So? What about this header?
12755 case $ac_header_compiler:$ac_header_preproc in
12757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12763 ## ------------------------------------ ##
12764 ## Report this to bug-autoconf@gnu.org. ##
12765 ## ------------------------------------ ##
12768 sed "s/^/$as_me: WARNING: /" >&2
12771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12779 ## ------------------------------------ ##
12780 ## Report this to bug-autoconf@gnu.org. ##
12781 ## ------------------------------------ ##
12784 sed "s/^/$as_me: WARNING: /" >&2
12787 echo "$as_me:$LINENO: checking for $ac_header" >&5
12788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12790 echo $ECHO_N "(cached) $ECHO_C" >&6
12792 eval "$as_ac_Header=$ac_header_preproc"
12794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12799 cat >>confdefs.h <<_ACEOF
12800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12808 if test "$ac_cv_header_wchar_h" != "yes"; then
12810 for ac_header in wcstr.h
12812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12814 echo "$as_me:$LINENO: checking for $ac_header" >&5
12815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12822 # Is the header compilable?
12823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12825 cat >conftest.$ac_ext <<_ACEOF
12826 #line $LINENO "configure"
12829 cat confdefs.h >>conftest.$ac_ext
12830 cat >>conftest.$ac_ext <<_ACEOF
12831 /* end confdefs.h. */
12832 $ac_includes_default
12833 #include <$ac_header>
12835 rm -f conftest.$ac_objext
12836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12837 (eval $ac_compile) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -s conftest.$ac_objext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 ac_header_compiler=yes
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.$ac_ext >&5
12852 ac_header_compiler=no
12854 rm -f conftest.$ac_objext conftest.$ac_ext
12855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12856 echo "${ECHO_T}$ac_header_compiler" >&6
12858 # Is the header present?
12859 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12861 cat >conftest.$ac_ext <<_ACEOF
12862 #line $LINENO "configure"
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868 #include <$ac_header>
12870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12873 grep -v '^ *+' conftest.er1 >conftest.err
12875 cat conftest.err >&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); } >/dev/null; then
12878 if test -s conftest.err; then
12879 ac_cpp_err=$ac_c_preproc_warn_flag
12886 if test -z "$ac_cpp_err"; then
12887 ac_header_preproc=yes
12889 echo "$as_me: failed program was:" >&5
12890 sed 's/^/| /' conftest.$ac_ext >&5
12892 ac_header_preproc=no
12894 rm -f conftest.err conftest.$ac_ext
12895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12896 echo "${ECHO_T}$ac_header_preproc" >&6
12898 # So? What about this header?
12899 case $ac_header_compiler:$ac_header_preproc in
12901 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12907 ## ------------------------------------ ##
12908 ## Report this to bug-autoconf@gnu.org. ##
12909 ## ------------------------------------ ##
12912 sed "s/^/$as_me: WARNING: /" >&2
12915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12923 ## ------------------------------------ ##
12924 ## Report this to bug-autoconf@gnu.org. ##
12925 ## ------------------------------------ ##
12928 sed "s/^/$as_me: WARNING: /" >&2
12931 echo "$as_me:$LINENO: checking for $ac_header" >&5
12932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 eval "$as_ac_Header=$ac_header_preproc"
12938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12943 cat >>confdefs.h <<_ACEOF
12944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12954 for ac_header in fnmatch.h
12956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12958 echo "$as_me:$LINENO: checking for $ac_header" >&5
12959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12966 # Is the header compilable?
12967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12969 cat >conftest.$ac_ext <<_ACEOF
12970 #line $LINENO "configure"
12973 cat confdefs.h >>conftest.$ac_ext
12974 cat >>conftest.$ac_ext <<_ACEOF
12975 /* end confdefs.h. */
12976 $ac_includes_default
12977 #include <$ac_header>
12979 rm -f conftest.$ac_objext
12980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12981 (eval $ac_compile) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 ac_header_compiler=yes
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12996 ac_header_compiler=no
12998 rm -f conftest.$ac_objext conftest.$ac_ext
12999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13000 echo "${ECHO_T}$ac_header_compiler" >&6
13002 # Is the header present?
13003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13005 cat >conftest.$ac_ext <<_ACEOF
13006 #line $LINENO "configure"
13009 cat confdefs.h >>conftest.$ac_ext
13010 cat >>conftest.$ac_ext <<_ACEOF
13011 /* end confdefs.h. */
13012 #include <$ac_header>
13014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13017 grep -v '^ *+' conftest.er1 >conftest.err
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } >/dev/null; then
13022 if test -s conftest.err; then
13023 ac_cpp_err=$ac_c_preproc_warn_flag
13030 if test -z "$ac_cpp_err"; then
13031 ac_header_preproc=yes
13033 echo "$as_me: failed program was:" >&5
13034 sed 's/^/| /' conftest.$ac_ext >&5
13036 ac_header_preproc=no
13038 rm -f conftest.err conftest.$ac_ext
13039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13040 echo "${ECHO_T}$ac_header_preproc" >&6
13042 # So? What about this header?
13043 case $ac_header_compiler:$ac_header_preproc in
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13051 ## ------------------------------------ ##
13052 ## Report this to bug-autoconf@gnu.org. ##
13053 ## ------------------------------------ ##
13056 sed "s/^/$as_me: WARNING: /" >&2
13059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13067 ## ------------------------------------ ##
13068 ## Report this to bug-autoconf@gnu.org. ##
13069 ## ------------------------------------ ##
13072 sed "s/^/$as_me: WARNING: /" >&2
13075 echo "$as_me:$LINENO: checking for $ac_header" >&5
13076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 eval "$as_ac_Header=$ac_header_preproc"
13082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13087 cat >>confdefs.h <<_ACEOF
13088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13096 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13098 for ac_func in fnmatch
13100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13101 echo "$as_me:$LINENO: checking for $ac_func" >&5
13102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13103 if eval "test \"\${$as_ac_var+set}\" = set"; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13106 cat >conftest.$ac_ext <<_ACEOF
13107 #line $LINENO "configure"
13110 cat confdefs.h >>conftest.$ac_ext
13111 cat >>conftest.$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 /* System header to define __stub macros and hopefully few prototypes,
13114 which can conflict with char $ac_func (); below.
13115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13116 <limits.h> exists even on freestanding compilers. */
13118 # include <limits.h>
13120 # include <assert.h>
13122 /* Override any gcc2 internal prototype to avoid an error. */
13127 /* We use char because int might match the return type of a gcc2
13128 builtin and then its argument prototype would still apply. */
13130 /* The GNU C library defines this for functions which it implements
13131 to always fail with ENOSYS. Some functions are actually named
13132 something starting with __ and the normal name is an alias. */
13133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13136 char (*f) () = $ac_func;
13145 return f != $ac_func;
13150 rm -f conftest.$ac_objext conftest$ac_exeext
13151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13152 (eval $ac_link) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -s conftest$ac_exeext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 eval "$as_ac_var=yes"
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.$ac_ext >&5
13167 eval "$as_ac_var=no"
13169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13173 if test `eval echo '${'$as_ac_var'}'` = yes; then
13174 cat >>confdefs.h <<_ACEOF
13175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13184 for ac_header in langinfo.h
13186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13188 echo "$as_me:$LINENO: checking for $ac_header" >&5
13189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13196 # Is the header compilable?
13197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13199 cat >conftest.$ac_ext <<_ACEOF
13200 #line $LINENO "configure"
13203 cat confdefs.h >>conftest.$ac_ext
13204 cat >>conftest.$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13206 $ac_includes_default
13207 #include <$ac_header>
13209 rm -f conftest.$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); } &&
13215 { ac_try='test -s conftest.$ac_objext'
13216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13217 (eval $ac_try) 2>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); }; }; then
13221 ac_header_compiler=yes
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.$ac_ext >&5
13226 ac_header_compiler=no
13228 rm -f conftest.$ac_objext conftest.$ac_ext
13229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13230 echo "${ECHO_T}$ac_header_compiler" >&6
13232 # Is the header present?
13233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13235 cat >conftest.$ac_ext <<_ACEOF
13236 #line $LINENO "configure"
13239 cat confdefs.h >>conftest.$ac_ext
13240 cat >>conftest.$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 #include <$ac_header>
13244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13247 grep -v '^ *+' conftest.er1 >conftest.err
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } >/dev/null; then
13252 if test -s conftest.err; then
13253 ac_cpp_err=$ac_c_preproc_warn_flag
13260 if test -z "$ac_cpp_err"; then
13261 ac_header_preproc=yes
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13266 ac_header_preproc=no
13268 rm -f conftest.err conftest.$ac_ext
13269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13270 echo "${ECHO_T}$ac_header_preproc" >&6
13272 # So? What about this header?
13273 case $ac_header_compiler:$ac_header_preproc in
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13281 ## ------------------------------------ ##
13282 ## Report this to bug-autoconf@gnu.org. ##
13283 ## ------------------------------------ ##
13286 sed "s/^/$as_me: WARNING: /" >&2
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13297 ## ------------------------------------ ##
13298 ## Report this to bug-autoconf@gnu.org. ##
13299 ## ------------------------------------ ##
13302 sed "s/^/$as_me: WARNING: /" >&2
13305 echo "$as_me:$LINENO: checking for $ac_header" >&5
13306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 eval "$as_ac_Header=$ac_header_preproc"
13312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13317 cat >>confdefs.h <<_ACEOF
13318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13327 *-pc-os2_emx | *-pc-os2-emx )
13328 if test $ac_cv_header_langinfo_h = "yes"; then
13329 LIBS="$LIBS -lintl"
13334 if test "$wxUSE_GUI" = "yes"; then
13335 if test "$wxUSE_UNIX" = "yes"; then
13337 for ac_header in X11/XKBlib.h
13339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13341 echo "$as_me:$LINENO: checking for $ac_header" >&5
13342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13349 # Is the header compilable?
13350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13352 cat >conftest.$ac_ext <<_ACEOF
13353 #line $LINENO "configure"
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 $ac_includes_default
13360 #include <$ac_header>
13362 rm -f conftest.$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try='test -s conftest.$ac_objext'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_header_compiler=yes
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13379 ac_header_compiler=no
13381 rm -f conftest.$ac_objext conftest.$ac_ext
13382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13383 echo "${ECHO_T}$ac_header_compiler" >&6
13385 # Is the header present?
13386 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13388 cat >conftest.$ac_ext <<_ACEOF
13389 #line $LINENO "configure"
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 #include <$ac_header>
13397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1 >conftest.err
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } >/dev/null; then
13405 if test -s conftest.err; then
13406 ac_cpp_err=$ac_c_preproc_warn_flag
13413 if test -z "$ac_cpp_err"; then
13414 ac_header_preproc=yes
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13419 ac_header_preproc=no
13421 rm -f conftest.err conftest.$ac_ext
13422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13423 echo "${ECHO_T}$ac_header_preproc" >&6
13425 # So? What about this header?
13426 case $ac_header_compiler:$ac_header_preproc in
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13434 ## ------------------------------------ ##
13435 ## Report this to bug-autoconf@gnu.org. ##
13436 ## ------------------------------------ ##
13439 sed "s/^/$as_me: WARNING: /" >&2
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13450 ## ------------------------------------ ##
13451 ## Report this to bug-autoconf@gnu.org. ##
13452 ## ------------------------------------ ##
13455 sed "s/^/$as_me: WARNING: /" >&2
13458 echo "$as_me:$LINENO: checking for $ac_header" >&5
13459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13463 eval "$as_ac_Header=$ac_header_preproc"
13465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13470 cat >>confdefs.h <<_ACEOF
13471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13482 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13483 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13484 if test "${ac_cv_c_const+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 cat >conftest.$ac_ext <<_ACEOF
13488 #line $LINENO "configure"
13491 cat confdefs.h >>conftest.$ac_ext
13492 cat >>conftest.$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13498 /* FIXME: Include the comments suggested by Paul. */
13499 #ifndef __cplusplus
13500 /* Ultrix mips cc rejects this. */
13501 typedef int charset[2];
13503 /* SunOS 4.1.1 cc rejects this. */
13504 char const *const *ccp;
13506 /* NEC SVR4.0.2 mips cc rejects this. */
13507 struct point {int x, y;};
13508 static struct point const zero = {0,0};
13509 /* AIX XL C 1.02.0.0 rejects this.
13510 It does not let you subtract one const X* pointer from another in
13511 an arm of an if-expression whose if-part is not a constant
13513 const char *g = "string";
13514 ccp = &g + (g ? g-g : 0);
13515 /* HPUX 7.0 cc rejects these. */
13518 ccp = (char const *const *) p;
13519 { /* SCO 3.2v4 cc rejects this. */
13521 char const *s = 0 ? (char *) 0 : (char const *) 0;
13525 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13526 int x[] = {25, 17};
13527 const int *foo = &x[0];
13530 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13531 typedef const int *iptr;
13535 { /* AIX XL C 1.02.0.0 rejects this saying
13536 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13537 struct s { int j; const int *ap[3]; };
13538 struct s *b; b->j = 5;
13540 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13541 const int foo = 10;
13549 rm -f conftest.$ac_objext
13550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13551 (eval $ac_compile) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } &&
13555 { ac_try='test -s conftest.$ac_objext'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; }; then
13563 echo "$as_me: failed program was:" >&5
13564 sed 's/^/| /' conftest.$ac_ext >&5
13568 rm -f conftest.$ac_objext conftest.$ac_ext
13570 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13571 echo "${ECHO_T}$ac_cv_c_const" >&6
13572 if test $ac_cv_c_const = no; then
13574 cat >>confdefs.h <<\_ACEOF
13580 echo "$as_me:$LINENO: checking for inline" >&5
13581 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13582 if test "${ac_cv_c_inline+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 for ac_kw in inline __inline__ __inline; do
13587 cat >conftest.$ac_ext <<_ACEOF
13588 #line $LINENO "configure"
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594 #ifndef __cplusplus
13596 static $ac_kw foo_t static_foo () {return 0; }
13597 $ac_kw foo_t foo () {return 0; }
13601 rm -f conftest.$ac_objext
13602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13603 (eval $ac_compile) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); } &&
13607 { ac_try='test -s conftest.$ac_objext'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_cv_c_inline=$ac_kw; break
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.$ac_ext >&5
13619 rm -f conftest.$ac_objext conftest.$ac_ext
13623 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13624 echo "${ECHO_T}$ac_cv_c_inline" >&6
13625 case $ac_cv_c_inline in
13628 cat >>confdefs.h <<\_ACEOF
13632 *) cat >>confdefs.h <<_ACEOF
13633 #define inline $ac_cv_c_inline
13639 echo "$as_me:$LINENO: checking for char" >&5
13640 echo $ECHO_N "checking for char... $ECHO_C" >&6
13641 if test "${ac_cv_type_char+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 cat >conftest.$ac_ext <<_ACEOF
13645 #line $LINENO "configure"
13648 cat confdefs.h >>conftest.$ac_ext
13649 cat >>conftest.$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651 $ac_includes_default
13663 rm -f conftest.$ac_objext
13664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13665 (eval $ac_compile) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 ac_cv_type_char=yes
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13682 rm -f conftest.$ac_objext conftest.$ac_ext
13684 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13685 echo "${ECHO_T}$ac_cv_type_char" >&6
13687 echo "$as_me:$LINENO: checking size of char" >&5
13688 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13689 if test "${ac_cv_sizeof_char+set}" = set; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 if test "$ac_cv_type_char" = yes; then
13693 # The cast to unsigned long works around a bug in the HP C Compiler
13694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13696 # This bug is HP SR number 8606223364.
13697 if test "$cross_compiling" = yes; then
13698 # Depending upon the size, compute the lo and hi bounds.
13699 cat >conftest.$ac_ext <<_ACEOF
13700 #line $LINENO "configure"
13703 cat confdefs.h >>conftest.$ac_ext
13704 cat >>conftest.$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13706 $ac_includes_default
13710 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13717 rm -f conftest.$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } &&
13723 { ac_try='test -s conftest.$ac_objext'
13724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725 (eval $ac_try) 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); }; }; then
13731 cat >conftest.$ac_ext <<_ACEOF
13732 #line $LINENO "configure"
13735 cat confdefs.h >>conftest.$ac_ext
13736 cat >>conftest.$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13738 $ac_includes_default
13742 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13749 rm -f conftest.$ac_objext
13750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13751 (eval $ac_compile) 2>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try='test -s conftest.$ac_objext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_hi=$ac_mid; break
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.$ac_ext >&5
13766 ac_lo=`expr $ac_mid + 1`
13767 if test $ac_lo -le $ac_mid; then
13771 ac_mid=`expr 2 '*' $ac_mid + 1`
13773 rm -f conftest.$ac_objext conftest.$ac_ext
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13779 cat >conftest.$ac_ext <<_ACEOF
13780 #line $LINENO "configure"
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13786 $ac_includes_default
13790 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13797 rm -f conftest.$ac_objext
13798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13799 (eval $ac_compile) 2>&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } &&
13803 { ac_try='test -s conftest.$ac_objext'
13804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13805 (eval $ac_try) 2>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); }; }; then
13811 cat >conftest.$ac_ext <<_ACEOF
13812 #line $LINENO "configure"
13815 cat confdefs.h >>conftest.$ac_ext
13816 cat >>conftest.$ac_ext <<_ACEOF
13817 /* end confdefs.h. */
13818 $ac_includes_default
13822 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13829 rm -f conftest.$ac_objext
13830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13831 (eval $ac_compile) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 ac_lo=$ac_mid; break
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13846 ac_hi=`expr '(' $ac_mid ')' - 1`
13847 if test $ac_mid -le $ac_hi; then
13851 ac_mid=`expr 2 '*' $ac_mid`
13853 rm -f conftest.$ac_objext conftest.$ac_ext
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.$ac_ext >&5
13861 rm -f conftest.$ac_objext conftest.$ac_ext
13863 rm -f conftest.$ac_objext conftest.$ac_ext
13864 # Binary search between lo and hi bounds.
13865 while test "x$ac_lo" != "x$ac_hi"; do
13866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13867 cat >conftest.$ac_ext <<_ACEOF
13868 #line $LINENO "configure"
13871 cat confdefs.h >>conftest.$ac_ext
13872 cat >>conftest.$ac_ext <<_ACEOF
13873 /* end confdefs.h. */
13874 $ac_includes_default
13878 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13885 rm -f conftest.$ac_objext
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try='test -s conftest.$ac_objext'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; }; then
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.$ac_ext >&5
13902 ac_lo=`expr '(' $ac_mid ')' + 1`
13904 rm -f conftest.$ac_objext conftest.$ac_ext
13907 ?*) ac_cv_sizeof_char=$ac_lo;;
13908 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13909 See \`config.log' for more details." >&5
13910 echo "$as_me: error: cannot compute sizeof (char), 77
13911 See \`config.log' for more details." >&2;}
13912 { (exit 1); exit 1; }; } ;;
13915 if test "$cross_compiling" = yes; then
13916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13917 See \`config.log' for more details." >&5
13918 echo "$as_me: error: cannot run test program while cross compiling
13919 See \`config.log' for more details." >&2;}
13920 { (exit 1); exit 1; }; }
13922 cat >conftest.$ac_ext <<_ACEOF
13923 #line $LINENO "configure"
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 $ac_includes_default
13930 long longval () { return (long) (sizeof (char)); }
13931 unsigned long ulongval () { return (long) (sizeof (char)); }
13933 #include <stdlib.h>
13938 FILE *f = fopen ("conftest.val", "w");
13941 if (((long) (sizeof (char))) < 0)
13943 long i = longval ();
13944 if (i != ((long) (sizeof (char))))
13946 fprintf (f, "%ld\n", i);
13950 unsigned long i = ulongval ();
13951 if (i != ((long) (sizeof (char))))
13953 fprintf (f, "%lu\n", i);
13955 exit (ferror (f) || fclose (f) != 0);
13961 rm -f conftest$ac_exeext
13962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13963 (eval $ac_link) 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13972 ac_cv_sizeof_char=`cat conftest.val`
13974 echo "$as_me: program exited with status $ac_status" >&5
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 ( exit $ac_status )
13979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13980 See \`config.log' for more details." >&5
13981 echo "$as_me: error: cannot compute sizeof (char), 77
13982 See \`config.log' for more details." >&2;}
13983 { (exit 1); exit 1; }; }
13985 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13990 ac_cv_sizeof_char=0
13993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13994 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13995 cat >>confdefs.h <<_ACEOF
13996 #define SIZEOF_CHAR $ac_cv_sizeof_char
14000 echo "$as_me:$LINENO: checking for short" >&5
14001 echo $ECHO_N "checking for short... $ECHO_C" >&6
14002 if test "${ac_cv_type_short+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 cat >conftest.$ac_ext <<_ACEOF
14006 #line $LINENO "configure"
14009 cat confdefs.h >>conftest.$ac_ext
14010 cat >>conftest.$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 $ac_includes_default
14018 if (sizeof (short))
14024 rm -f conftest.$ac_objext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14026 (eval $ac_compile) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } &&
14030 { ac_try='test -s conftest.$ac_objext'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; }; then
14036 ac_cv_type_short=yes
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14041 ac_cv_type_short=no
14043 rm -f conftest.$ac_objext conftest.$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14046 echo "${ECHO_T}$ac_cv_type_short" >&6
14048 echo "$as_me:$LINENO: checking size of short" >&5
14049 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14050 if test "${ac_cv_sizeof_short+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 if test "$ac_cv_type_short" = yes; then
14054 # The cast to unsigned long works around a bug in the HP C Compiler
14055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14057 # This bug is HP SR number 8606223364.
14058 if test "$cross_compiling" = yes; then
14059 # Depending upon the size, compute the lo and hi bounds.
14060 cat >conftest.$ac_ext <<_ACEOF
14061 #line $LINENO "configure"
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 $ac_includes_default
14071 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14078 rm -f conftest.$ac_objext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14092 cat >conftest.$ac_ext <<_ACEOF
14093 #line $LINENO "configure"
14096 cat confdefs.h >>conftest.$ac_ext
14097 cat >>conftest.$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14099 $ac_includes_default
14103 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14110 rm -f conftest.$ac_objext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112 (eval $ac_compile) 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } &&
14116 { ac_try='test -s conftest.$ac_objext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14122 ac_hi=$ac_mid; break
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.$ac_ext >&5
14127 ac_lo=`expr $ac_mid + 1`
14128 if test $ac_lo -le $ac_mid; then
14132 ac_mid=`expr 2 '*' $ac_mid + 1`
14134 rm -f conftest.$ac_objext conftest.$ac_ext
14137 echo "$as_me: failed program was:" >&5
14138 sed 's/^/| /' conftest.$ac_ext >&5
14140 cat >conftest.$ac_ext <<_ACEOF
14141 #line $LINENO "configure"
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14147 $ac_includes_default
14151 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14158 rm -f conftest.$ac_objext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 (eval $ac_compile) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } &&
14164 { ac_try='test -s conftest.$ac_objext'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; }; then
14172 cat >conftest.$ac_ext <<_ACEOF
14173 #line $LINENO "configure"
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 $ac_includes_default
14183 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14190 rm -f conftest.$ac_objext
14191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14192 (eval $ac_compile) 2>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14202 ac_lo=$ac_mid; break
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14207 ac_hi=`expr '(' $ac_mid ')' - 1`
14208 if test $ac_mid -le $ac_hi; then
14212 ac_mid=`expr 2 '*' $ac_mid`
14214 rm -f conftest.$ac_objext conftest.$ac_ext
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.$ac_ext >&5
14222 rm -f conftest.$ac_objext conftest.$ac_ext
14224 rm -f conftest.$ac_objext conftest.$ac_ext
14225 # Binary search between lo and hi bounds.
14226 while test "x$ac_lo" != "x$ac_hi"; do
14227 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14228 cat >conftest.$ac_ext <<_ACEOF
14229 #line $LINENO "configure"
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235 $ac_includes_default
14239 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14246 rm -f conftest.$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14263 ac_lo=`expr '(' $ac_mid ')' + 1`
14265 rm -f conftest.$ac_objext conftest.$ac_ext
14268 ?*) ac_cv_sizeof_short=$ac_lo;;
14269 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14270 See \`config.log' for more details." >&5
14271 echo "$as_me: error: cannot compute sizeof (short), 77
14272 See \`config.log' for more details." >&2;}
14273 { (exit 1); exit 1; }; } ;;
14276 if test "$cross_compiling" = yes; then
14277 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14278 See \`config.log' for more details." >&5
14279 echo "$as_me: error: cannot run test program while cross compiling
14280 See \`config.log' for more details." >&2;}
14281 { (exit 1); exit 1; }; }
14283 cat >conftest.$ac_ext <<_ACEOF
14284 #line $LINENO "configure"
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14290 $ac_includes_default
14291 long longval () { return (long) (sizeof (short)); }
14292 unsigned long ulongval () { return (long) (sizeof (short)); }
14294 #include <stdlib.h>
14299 FILE *f = fopen ("conftest.val", "w");
14302 if (((long) (sizeof (short))) < 0)
14304 long i = longval ();
14305 if (i != ((long) (sizeof (short))))
14307 fprintf (f, "%ld\n", i);
14311 unsigned long i = ulongval ();
14312 if (i != ((long) (sizeof (short))))
14314 fprintf (f, "%lu\n", i);
14316 exit (ferror (f) || fclose (f) != 0);
14322 rm -f conftest$ac_exeext
14323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14324 (eval $ac_link) 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 ac_cv_sizeof_short=`cat conftest.val`
14335 echo "$as_me: program exited with status $ac_status" >&5
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.$ac_ext >&5
14339 ( exit $ac_status )
14340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14341 See \`config.log' for more details." >&5
14342 echo "$as_me: error: cannot compute sizeof (short), 77
14343 See \`config.log' for more details." >&2;}
14344 { (exit 1); exit 1; }; }
14346 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14351 ac_cv_sizeof_short=0
14354 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14355 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14356 cat >>confdefs.h <<_ACEOF
14357 #define SIZEOF_SHORT $ac_cv_sizeof_short
14361 echo "$as_me:$LINENO: checking for void *" >&5
14362 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14363 if test "${ac_cv_type_void_p+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 cat >conftest.$ac_ext <<_ACEOF
14367 #line $LINENO "configure"
14370 cat confdefs.h >>conftest.$ac_ext
14371 cat >>conftest.$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 $ac_includes_default
14379 if (sizeof (void *))
14385 rm -f conftest.$ac_objext
14386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14387 (eval $ac_compile) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 ac_cv_type_void_p=yes
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14402 ac_cv_type_void_p=no
14404 rm -f conftest.$ac_objext conftest.$ac_ext
14406 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14407 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14409 echo "$as_me:$LINENO: checking size of void *" >&5
14410 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14411 if test "${ac_cv_sizeof_void_p+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 if test "$ac_cv_type_void_p" = yes; then
14415 # The cast to unsigned long works around a bug in the HP C Compiler
14416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14418 # This bug is HP SR number 8606223364.
14419 if test "$cross_compiling" = yes; then
14420 # Depending upon the size, compute the lo and hi bounds.
14421 cat >conftest.$ac_ext <<_ACEOF
14422 #line $LINENO "configure"
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14428 $ac_includes_default
14432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14439 rm -f conftest.$ac_objext
14440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14441 (eval $ac_compile) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14453 cat >conftest.$ac_ext <<_ACEOF
14454 #line $LINENO "configure"
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14460 $ac_includes_default
14464 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 { ac_try='test -s conftest.$ac_objext'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; }; then
14483 ac_hi=$ac_mid; break
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14488 ac_lo=`expr $ac_mid + 1`
14489 if test $ac_lo -le $ac_mid; then
14493 ac_mid=`expr 2 '*' $ac_mid + 1`
14495 rm -f conftest.$ac_objext conftest.$ac_ext
14498 echo "$as_me: failed program was:" >&5
14499 sed 's/^/| /' conftest.$ac_ext >&5
14501 cat >conftest.$ac_ext <<_ACEOF
14502 #line $LINENO "configure"
14505 cat confdefs.h >>conftest.$ac_ext
14506 cat >>conftest.$ac_ext <<_ACEOF
14507 /* end confdefs.h. */
14508 $ac_includes_default
14512 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14519 rm -f conftest.$ac_objext
14520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14521 (eval $ac_compile) 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try='test -s conftest.$ac_objext'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; }; then
14533 cat >conftest.$ac_ext <<_ACEOF
14534 #line $LINENO "configure"
14537 cat confdefs.h >>conftest.$ac_ext
14538 cat >>conftest.$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 $ac_includes_default
14544 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14551 rm -f conftest.$ac_objext
14552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14553 (eval $ac_compile) 2>&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } &&
14557 { ac_try='test -s conftest.$ac_objext'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14563 ac_lo=$ac_mid; break
14565 echo "$as_me: failed program was:" >&5
14566 sed 's/^/| /' conftest.$ac_ext >&5
14568 ac_hi=`expr '(' $ac_mid ')' - 1`
14569 if test $ac_mid -le $ac_hi; then
14573 ac_mid=`expr 2 '*' $ac_mid`
14575 rm -f conftest.$ac_objext conftest.$ac_ext
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14583 rm -f conftest.$ac_objext conftest.$ac_ext
14585 rm -f conftest.$ac_objext conftest.$ac_ext
14586 # Binary search between lo and hi bounds.
14587 while test "x$ac_lo" != "x$ac_hi"; do
14588 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14589 cat >conftest.$ac_ext <<_ACEOF
14590 #line $LINENO "configure"
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14596 $ac_includes_default
14600 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14607 rm -f conftest.$ac_objext
14608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14609 (eval $ac_compile) 2>&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } &&
14613 { ac_try='test -s conftest.$ac_objext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.$ac_ext >&5
14624 ac_lo=`expr '(' $ac_mid ')' + 1`
14626 rm -f conftest.$ac_objext conftest.$ac_ext
14629 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14630 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14631 See \`config.log' for more details." >&5
14632 echo "$as_me: error: cannot compute sizeof (void *), 77
14633 See \`config.log' for more details." >&2;}
14634 { (exit 1); exit 1; }; } ;;
14637 if test "$cross_compiling" = yes; then
14638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14639 See \`config.log' for more details." >&5
14640 echo "$as_me: error: cannot run test program while cross compiling
14641 See \`config.log' for more details." >&2;}
14642 { (exit 1); exit 1; }; }
14644 cat >conftest.$ac_ext <<_ACEOF
14645 #line $LINENO "configure"
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651 $ac_includes_default
14652 long longval () { return (long) (sizeof (void *)); }
14653 unsigned long ulongval () { return (long) (sizeof (void *)); }
14655 #include <stdlib.h>
14660 FILE *f = fopen ("conftest.val", "w");
14663 if (((long) (sizeof (void *))) < 0)
14665 long i = longval ();
14666 if (i != ((long) (sizeof (void *))))
14668 fprintf (f, "%ld\n", i);
14672 unsigned long i = ulongval ();
14673 if (i != ((long) (sizeof (void *))))
14675 fprintf (f, "%lu\n", i);
14677 exit (ferror (f) || fclose (f) != 0);
14683 rm -f conftest$ac_exeext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14685 (eval $ac_link) 2>&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_cv_sizeof_void_p=`cat conftest.val`
14696 echo "$as_me: program exited with status $ac_status" >&5
14697 echo "$as_me: failed program was:" >&5
14698 sed 's/^/| /' conftest.$ac_ext >&5
14700 ( exit $ac_status )
14701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14702 See \`config.log' for more details." >&5
14703 echo "$as_me: error: cannot compute sizeof (void *), 77
14704 See \`config.log' for more details." >&2;}
14705 { (exit 1); exit 1; }; }
14707 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14712 ac_cv_sizeof_void_p=0
14715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14716 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14717 cat >>confdefs.h <<_ACEOF
14718 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14722 echo "$as_me:$LINENO: checking for int" >&5
14723 echo $ECHO_N "checking for int... $ECHO_C" >&6
14724 if test "${ac_cv_type_int+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 cat >conftest.$ac_ext <<_ACEOF
14728 #line $LINENO "configure"
14731 cat confdefs.h >>conftest.$ac_ext
14732 cat >>conftest.$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734 $ac_includes_default
14746 rm -f conftest.$ac_objext
14747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14748 (eval $ac_compile) 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14765 rm -f conftest.$ac_objext conftest.$ac_ext
14767 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14768 echo "${ECHO_T}$ac_cv_type_int" >&6
14770 echo "$as_me:$LINENO: checking size of int" >&5
14771 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14772 if test "${ac_cv_sizeof_int+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 if test "$ac_cv_type_int" = yes; then
14776 # The cast to unsigned long works around a bug in the HP C Compiler
14777 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14778 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14779 # This bug is HP SR number 8606223364.
14780 if test "$cross_compiling" = yes; then
14781 # Depending upon the size, compute the lo and hi bounds.
14782 cat >conftest.$ac_ext <<_ACEOF
14783 #line $LINENO "configure"
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 $ac_includes_default
14793 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14800 rm -f conftest.$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14814 cat >conftest.$ac_ext <<_ACEOF
14815 #line $LINENO "configure"
14818 cat confdefs.h >>conftest.$ac_ext
14819 cat >>conftest.$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 $ac_includes_default
14825 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14832 rm -f conftest.$ac_objext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); } &&
14838 { ac_try='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_hi=$ac_mid; break
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14849 ac_lo=`expr $ac_mid + 1`
14850 if test $ac_lo -le $ac_mid; then
14854 ac_mid=`expr 2 '*' $ac_mid + 1`
14856 rm -f conftest.$ac_objext conftest.$ac_ext
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.$ac_ext >&5
14862 cat >conftest.$ac_ext <<_ACEOF
14863 #line $LINENO "configure"
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14869 $ac_includes_default
14873 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14880 rm -f conftest.$ac_objext
14881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14882 (eval $ac_compile) 2>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try='test -s conftest.$ac_objext'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; }; then
14894 cat >conftest.$ac_ext <<_ACEOF
14895 #line $LINENO "configure"
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 $ac_includes_default
14905 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14912 rm -f conftest.$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } &&
14918 { ac_try='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14924 ac_lo=$ac_mid; break
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.$ac_ext >&5
14929 ac_hi=`expr '(' $ac_mid ')' - 1`
14930 if test $ac_mid -le $ac_hi; then
14934 ac_mid=`expr 2 '*' $ac_mid`
14936 rm -f conftest.$ac_objext conftest.$ac_ext
14939 echo "$as_me: failed program was:" >&5
14940 sed 's/^/| /' conftest.$ac_ext >&5
14944 rm -f conftest.$ac_objext conftest.$ac_ext
14946 rm -f conftest.$ac_objext conftest.$ac_ext
14947 # Binary search between lo and hi bounds.
14948 while test "x$ac_lo" != "x$ac_hi"; do
14949 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14950 cat >conftest.$ac_ext <<_ACEOF
14951 #line $LINENO "configure"
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 $ac_includes_default
14961 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14968 rm -f conftest.$ac_objext
14969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970 (eval $ac_compile) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14985 ac_lo=`expr '(' $ac_mid ')' + 1`
14987 rm -f conftest.$ac_objext conftest.$ac_ext
14990 ?*) ac_cv_sizeof_int=$ac_lo;;
14991 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14992 See \`config.log' for more details." >&5
14993 echo "$as_me: error: cannot compute sizeof (int), 77
14994 See \`config.log' for more details." >&2;}
14995 { (exit 1); exit 1; }; } ;;
14998 if test "$cross_compiling" = yes; then
14999 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15000 See \`config.log' for more details." >&5
15001 echo "$as_me: error: cannot run test program while cross compiling
15002 See \`config.log' for more details." >&2;}
15003 { (exit 1); exit 1; }; }
15005 cat >conftest.$ac_ext <<_ACEOF
15006 #line $LINENO "configure"
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15013 long longval () { return (long) (sizeof (int)); }
15014 unsigned long ulongval () { return (long) (sizeof (int)); }
15016 #include <stdlib.h>
15021 FILE *f = fopen ("conftest.val", "w");
15024 if (((long) (sizeof (int))) < 0)
15026 long i = longval ();
15027 if (i != ((long) (sizeof (int))))
15029 fprintf (f, "%ld\n", i);
15033 unsigned long i = ulongval ();
15034 if (i != ((long) (sizeof (int))))
15036 fprintf (f, "%lu\n", i);
15038 exit (ferror (f) || fclose (f) != 0);
15044 rm -f conftest$ac_exeext
15045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15046 (eval $ac_link) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; }; then
15055 ac_cv_sizeof_int=`cat conftest.val`
15057 echo "$as_me: program exited with status $ac_status" >&5
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.$ac_ext >&5
15061 ( exit $ac_status )
15062 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15063 See \`config.log' for more details." >&5
15064 echo "$as_me: error: cannot compute sizeof (int), 77
15065 See \`config.log' for more details." >&2;}
15066 { (exit 1); exit 1; }; }
15068 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15076 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15077 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15078 cat >>confdefs.h <<_ACEOF
15079 #define SIZEOF_INT $ac_cv_sizeof_int
15083 echo "$as_me:$LINENO: checking for long" >&5
15084 echo $ECHO_N "checking for long... $ECHO_C" >&6
15085 if test "${ac_cv_type_long+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15088 cat >conftest.$ac_ext <<_ACEOF
15089 #line $LINENO "configure"
15092 cat confdefs.h >>conftest.$ac_ext
15093 cat >>conftest.$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15095 $ac_includes_default
15107 rm -f conftest.$ac_objext
15108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15109 (eval $ac_compile) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } &&
15113 { ac_try='test -s conftest.$ac_objext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_cv_type_long=yes
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15126 rm -f conftest.$ac_objext conftest.$ac_ext
15128 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15129 echo "${ECHO_T}$ac_cv_type_long" >&6
15131 echo "$as_me:$LINENO: checking size of long" >&5
15132 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15133 if test "${ac_cv_sizeof_long+set}" = set; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15136 if test "$ac_cv_type_long" = yes; then
15137 # The cast to unsigned long works around a bug in the HP C Compiler
15138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15140 # This bug is HP SR number 8606223364.
15141 if test "$cross_compiling" = yes; then
15142 # Depending upon the size, compute the lo and hi bounds.
15143 cat >conftest.$ac_ext <<_ACEOF
15144 #line $LINENO "configure"
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 $ac_includes_default
15154 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15161 rm -f conftest.$ac_objext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15175 cat >conftest.$ac_ext <<_ACEOF
15176 #line $LINENO "configure"
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182 $ac_includes_default
15186 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15193 rm -f conftest.$ac_objext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15195 (eval $ac_compile) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } &&
15199 { ac_try='test -s conftest.$ac_objext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_hi=$ac_mid; break
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 ac_lo=`expr $ac_mid + 1`
15211 if test $ac_lo -le $ac_mid; then
15215 ac_mid=`expr 2 '*' $ac_mid + 1`
15217 rm -f conftest.$ac_objext conftest.$ac_ext
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.$ac_ext >&5
15223 cat >conftest.$ac_ext <<_ACEOF
15224 #line $LINENO "configure"
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230 $ac_includes_default
15234 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15241 rm -f conftest.$ac_objext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try='test -s conftest.$ac_objext'
15248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249 (eval $ac_try) 2>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; }; then
15255 cat >conftest.$ac_ext <<_ACEOF
15256 #line $LINENO "configure"
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 $ac_includes_default
15266 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15273 rm -f conftest.$ac_objext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15275 (eval $ac_compile) 2>&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } &&
15279 { ac_try='test -s conftest.$ac_objext'
15280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15281 (eval $ac_try) 2>&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }; }; then
15285 ac_lo=$ac_mid; break
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.$ac_ext >&5
15290 ac_hi=`expr '(' $ac_mid ')' - 1`
15291 if test $ac_mid -le $ac_hi; then
15295 ac_mid=`expr 2 '*' $ac_mid`
15297 rm -f conftest.$ac_objext conftest.$ac_ext
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.$ac_ext >&5
15305 rm -f conftest.$ac_objext conftest.$ac_ext
15307 rm -f conftest.$ac_objext conftest.$ac_ext
15308 # Binary search between lo and hi bounds.
15309 while test "x$ac_lo" != "x$ac_hi"; do
15310 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15311 cat >conftest.$ac_ext <<_ACEOF
15312 #line $LINENO "configure"
15315 cat confdefs.h >>conftest.$ac_ext
15316 cat >>conftest.$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 $ac_includes_default
15322 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15329 rm -f conftest.$ac_objext
15330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15331 (eval $ac_compile) 2>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -s conftest.$ac_objext'
15336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337 (eval $ac_try) 2>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15346 ac_lo=`expr '(' $ac_mid ')' + 1`
15348 rm -f conftest.$ac_objext conftest.$ac_ext
15351 ?*) ac_cv_sizeof_long=$ac_lo;;
15352 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15353 See \`config.log' for more details." >&5
15354 echo "$as_me: error: cannot compute sizeof (long), 77
15355 See \`config.log' for more details." >&2;}
15356 { (exit 1); exit 1; }; } ;;
15359 if test "$cross_compiling" = yes; then
15360 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15361 See \`config.log' for more details." >&5
15362 echo "$as_me: error: cannot run test program while cross compiling
15363 See \`config.log' for more details." >&2;}
15364 { (exit 1); exit 1; }; }
15366 cat >conftest.$ac_ext <<_ACEOF
15367 #line $LINENO "configure"
15370 cat confdefs.h >>conftest.$ac_ext
15371 cat >>conftest.$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15373 $ac_includes_default
15374 long longval () { return (long) (sizeof (long)); }
15375 unsigned long ulongval () { return (long) (sizeof (long)); }
15377 #include <stdlib.h>
15382 FILE *f = fopen ("conftest.val", "w");
15385 if (((long) (sizeof (long))) < 0)
15387 long i = longval ();
15388 if (i != ((long) (sizeof (long))))
15390 fprintf (f, "%ld\n", i);
15394 unsigned long i = ulongval ();
15395 if (i != ((long) (sizeof (long))))
15397 fprintf (f, "%lu\n", i);
15399 exit (ferror (f) || fclose (f) != 0);
15405 rm -f conftest$ac_exeext
15406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15407 (eval $ac_link) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_cv_sizeof_long=`cat conftest.val`
15418 echo "$as_me: program exited with status $ac_status" >&5
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.$ac_ext >&5
15422 ( exit $ac_status )
15423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15424 See \`config.log' for more details." >&5
15425 echo "$as_me: error: cannot compute sizeof (long), 77
15426 See \`config.log' for more details." >&2;}
15427 { (exit 1); exit 1; }; }
15429 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15434 ac_cv_sizeof_long=0
15437 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15438 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15439 cat >>confdefs.h <<_ACEOF
15440 #define SIZEOF_LONG $ac_cv_sizeof_long
15447 echo "$as_me:$LINENO: checking for long long" >&5
15448 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15449 if test "${ac_cv_type_long_long+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 cat >conftest.$ac_ext <<_ACEOF
15453 #line $LINENO "configure"
15456 cat confdefs.h >>conftest.$ac_ext
15457 cat >>conftest.$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15459 $ac_includes_default
15463 if ((long long *) 0)
15465 if (sizeof (long long))
15471 rm -f conftest.$ac_objext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15473 (eval $ac_compile) 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try='test -s conftest.$ac_objext'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; }; then
15483 ac_cv_type_long_long=yes
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 ac_cv_type_long_long=no
15490 rm -f conftest.$ac_objext conftest.$ac_ext
15492 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15493 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15495 echo "$as_me:$LINENO: checking size of long long" >&5
15496 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15497 if test "${ac_cv_sizeof_long_long+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 if test "$ac_cv_type_long_long" = yes; then
15501 # The cast to unsigned long works around a bug in the HP C Compiler
15502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15504 # This bug is HP SR number 8606223364.
15505 if test "$cross_compiling" = yes; then
15506 # Depending upon the size, compute the lo and hi bounds.
15507 cat >conftest.$ac_ext <<_ACEOF
15508 #line $LINENO "configure"
15511 cat confdefs.h >>conftest.$ac_ext
15512 cat >>conftest.$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 $ac_includes_default
15518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15525 rm -f conftest.$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -s conftest.$ac_objext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15539 cat >conftest.$ac_ext <<_ACEOF
15540 #line $LINENO "configure"
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 $ac_includes_default
15550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15557 rm -f conftest.$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } &&
15563 { ac_try='test -s conftest.$ac_objext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 ac_hi=$ac_mid; break
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15574 ac_lo=`expr $ac_mid + 1`
15575 if test $ac_lo -le $ac_mid; then
15579 ac_mid=`expr 2 '*' $ac_mid + 1`
15581 rm -f conftest.$ac_objext conftest.$ac_ext
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15587 cat >conftest.$ac_ext <<_ACEOF
15588 #line $LINENO "configure"
15591 cat confdefs.h >>conftest.$ac_ext
15592 cat >>conftest.$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15598 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15605 rm -f conftest.$ac_objext
15606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15607 (eval $ac_compile) 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); } &&
15611 { ac_try='test -s conftest.$ac_objext'
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15613 (eval $ac_try) 2>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); }; }; then
15619 cat >conftest.$ac_ext <<_ACEOF
15620 #line $LINENO "configure"
15623 cat confdefs.h >>conftest.$ac_ext
15624 cat >>conftest.$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15626 $ac_includes_default
15630 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15637 rm -f conftest.$ac_objext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15639 (eval $ac_compile) 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 ac_lo=$ac_mid; break
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.$ac_ext >&5
15654 ac_hi=`expr '(' $ac_mid ')' - 1`
15655 if test $ac_mid -le $ac_hi; then
15659 ac_mid=`expr 2 '*' $ac_mid`
15661 rm -f conftest.$ac_objext conftest.$ac_ext
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.$ac_ext >&5
15669 rm -f conftest.$ac_objext conftest.$ac_ext
15671 rm -f conftest.$ac_objext conftest.$ac_ext
15672 # Binary search between lo and hi bounds.
15673 while test "x$ac_lo" != "x$ac_hi"; do
15674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15675 cat >conftest.$ac_ext <<_ACEOF
15676 #line $LINENO "configure"
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15682 $ac_includes_default
15686 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15693 rm -f conftest.$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -s conftest.$ac_objext'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; }; then
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15710 ac_lo=`expr '(' $ac_mid ')' + 1`
15712 rm -f conftest.$ac_objext conftest.$ac_ext
15715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15716 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15717 See \`config.log' for more details." >&5
15718 echo "$as_me: error: cannot compute sizeof (long long), 77
15719 See \`config.log' for more details." >&2;}
15720 { (exit 1); exit 1; }; } ;;
15723 if test "$cross_compiling" = yes; then
15724 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15725 See \`config.log' for more details." >&5
15726 echo "$as_me: error: cannot run test program while cross compiling
15727 See \`config.log' for more details." >&2;}
15728 { (exit 1); exit 1; }; }
15730 cat >conftest.$ac_ext <<_ACEOF
15731 #line $LINENO "configure"
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15738 long longval () { return (long) (sizeof (long long)); }
15739 unsigned long ulongval () { return (long) (sizeof (long long)); }
15741 #include <stdlib.h>
15746 FILE *f = fopen ("conftest.val", "w");
15749 if (((long) (sizeof (long long))) < 0)
15751 long i = longval ();
15752 if (i != ((long) (sizeof (long long))))
15754 fprintf (f, "%ld\n", i);
15758 unsigned long i = ulongval ();
15759 if (i != ((long) (sizeof (long long))))
15761 fprintf (f, "%lu\n", i);
15763 exit (ferror (f) || fclose (f) != 0);
15769 rm -f conftest$ac_exeext
15770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15771 (eval $ac_link) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_cv_sizeof_long_long=`cat conftest.val`
15782 echo "$as_me: program exited with status $ac_status" >&5
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15786 ( exit $ac_status )
15787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15788 See \`config.log' for more details." >&5
15789 echo "$as_me: error: cannot compute sizeof (long long), 77
15790 See \`config.log' for more details." >&2;}
15791 { (exit 1); exit 1; }; }
15793 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15798 ac_cv_sizeof_long_long=0
15801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15802 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15803 cat >>confdefs.h <<_ACEOF
15804 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15810 echo "$as_me:$LINENO: checking for long long" >&5
15811 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15812 if test "${ac_cv_type_long_long+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 cat >conftest.$ac_ext <<_ACEOF
15816 #line $LINENO "configure"
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 $ac_includes_default
15826 if ((long long *) 0)
15828 if (sizeof (long long))
15834 rm -f conftest.$ac_objext
15835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15836 (eval $ac_compile) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_cv_type_long_long=yes
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 ac_cv_type_long_long=no
15853 rm -f conftest.$ac_objext conftest.$ac_ext
15855 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15856 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15858 echo "$as_me:$LINENO: checking size of long long" >&5
15859 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15860 if test "${ac_cv_sizeof_long_long+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 if test "$ac_cv_type_long_long" = yes; then
15864 # The cast to unsigned long works around a bug in the HP C Compiler
15865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15867 # This bug is HP SR number 8606223364.
15868 if test "$cross_compiling" = yes; then
15869 # Depending upon the size, compute the lo and hi bounds.
15870 cat >conftest.$ac_ext <<_ACEOF
15871 #line $LINENO "configure"
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877 $ac_includes_default
15881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15888 rm -f conftest.$ac_objext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890 (eval $ac_compile) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -s conftest.$ac_objext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15902 cat >conftest.$ac_ext <<_ACEOF
15903 #line $LINENO "configure"
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15909 $ac_includes_default
15913 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15920 rm -f conftest.$ac_objext
15921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15922 (eval $ac_compile) 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try='test -s conftest.$ac_objext'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 ac_hi=$ac_mid; break
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15937 ac_lo=`expr $ac_mid + 1`
15938 if test $ac_lo -le $ac_mid; then
15942 ac_mid=`expr 2 '*' $ac_mid + 1`
15944 rm -f conftest.$ac_objext conftest.$ac_ext
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.$ac_ext >&5
15950 cat >conftest.$ac_ext <<_ACEOF
15951 #line $LINENO "configure"
15954 cat confdefs.h >>conftest.$ac_ext
15955 cat >>conftest.$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15957 $ac_includes_default
15961 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15968 rm -f conftest.$ac_objext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15970 (eval $ac_compile) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try='test -s conftest.$ac_objext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15982 cat >conftest.$ac_ext <<_ACEOF
15983 #line $LINENO "configure"
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 $ac_includes_default
15993 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16000 rm -f conftest.$ac_objext
16001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16002 (eval $ac_compile) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } &&
16006 { ac_try='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 ac_lo=$ac_mid; break
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.$ac_ext >&5
16017 ac_hi=`expr '(' $ac_mid ')' - 1`
16018 if test $ac_mid -le $ac_hi; then
16022 ac_mid=`expr 2 '*' $ac_mid`
16024 rm -f conftest.$ac_objext conftest.$ac_ext
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16032 rm -f conftest.$ac_objext conftest.$ac_ext
16034 rm -f conftest.$ac_objext conftest.$ac_ext
16035 # Binary search between lo and hi bounds.
16036 while test "x$ac_lo" != "x$ac_hi"; do
16037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16038 cat >conftest.$ac_ext <<_ACEOF
16039 #line $LINENO "configure"
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045 $ac_includes_default
16049 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16056 rm -f conftest.$ac_objext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058 (eval $ac_compile) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try='test -s conftest.$ac_objext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16073 ac_lo=`expr '(' $ac_mid ')' + 1`
16075 rm -f conftest.$ac_objext conftest.$ac_ext
16078 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16079 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16080 See \`config.log' for more details." >&5
16081 echo "$as_me: error: cannot compute sizeof (long long), 77
16082 See \`config.log' for more details." >&2;}
16083 { (exit 1); exit 1; }; } ;;
16086 if test "$cross_compiling" = yes; then
16087 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16088 See \`config.log' for more details." >&5
16089 echo "$as_me: error: cannot run test program while cross compiling
16090 See \`config.log' for more details." >&2;}
16091 { (exit 1); exit 1; }; }
16093 cat >conftest.$ac_ext <<_ACEOF
16094 #line $LINENO "configure"
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 $ac_includes_default
16101 long longval () { return (long) (sizeof (long long)); }
16102 unsigned long ulongval () { return (long) (sizeof (long long)); }
16104 #include <stdlib.h>
16109 FILE *f = fopen ("conftest.val", "w");
16112 if (((long) (sizeof (long long))) < 0)
16114 long i = longval ();
16115 if (i != ((long) (sizeof (long long))))
16117 fprintf (f, "%ld\n", i);
16121 unsigned long i = ulongval ();
16122 if (i != ((long) (sizeof (long long))))
16124 fprintf (f, "%lu\n", i);
16126 exit (ferror (f) || fclose (f) != 0);
16132 rm -f conftest$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_sizeof_long_long=`cat conftest.val`
16145 echo "$as_me: program exited with status $ac_status" >&5
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 ( exit $ac_status )
16150 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16151 See \`config.log' for more details." >&5
16152 echo "$as_me: error: cannot compute sizeof (long long), 77
16153 See \`config.log' for more details." >&2;}
16154 { (exit 1); exit 1; }; }
16156 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16161 ac_cv_sizeof_long_long=0
16164 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16165 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16166 cat >>confdefs.h <<_ACEOF
16167 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16171 if test "$ac_cv_sizeof_long_long" != "0"; then
16172 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16176 echo "$as_me:$LINENO: checking for long long" >&5
16177 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16178 if test "${ac_cv_type_long_long+set}" = set; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16181 cat >conftest.$ac_ext <<_ACEOF
16182 #line $LINENO "configure"
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 $ac_includes_default
16192 if ((long long *) 0)
16194 if (sizeof (long long))
16200 rm -f conftest.$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_type_long_long=yes
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16217 ac_cv_type_long_long=no
16219 rm -f conftest.$ac_objext conftest.$ac_ext
16221 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16222 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16224 echo "$as_me:$LINENO: checking size of long long" >&5
16225 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16226 if test "${ac_cv_sizeof_long_long+set}" = set; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 if test "$ac_cv_type_long_long" = yes; then
16230 # The cast to unsigned long works around a bug in the HP C Compiler
16231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16233 # This bug is HP SR number 8606223364.
16234 if test "$cross_compiling" = yes; then
16235 # Depending upon the size, compute the lo and hi bounds.
16236 cat >conftest.$ac_ext <<_ACEOF
16237 #line $LINENO "configure"
16240 cat confdefs.h >>conftest.$ac_ext
16241 cat >>conftest.$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 $ac_includes_default
16247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16254 rm -f conftest.$ac_objext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256 (eval $ac_compile) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16268 cat >conftest.$ac_ext <<_ACEOF
16269 #line $LINENO "configure"
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 $ac_includes_default
16279 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16286 rm -f conftest.$ac_objext
16287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16288 (eval $ac_compile) 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } &&
16292 { ac_try='test -s conftest.$ac_objext'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; }; then
16298 ac_hi=$ac_mid; break
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 ac_lo=`expr $ac_mid + 1`
16304 if test $ac_lo -le $ac_mid; then
16308 ac_mid=`expr 2 '*' $ac_mid + 1`
16310 rm -f conftest.$ac_objext conftest.$ac_ext
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16316 cat >conftest.$ac_ext <<_ACEOF
16317 #line $LINENO "configure"
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 $ac_includes_default
16327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16334 rm -f conftest.$ac_objext
16335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16336 (eval $ac_compile) 2>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } &&
16340 { ac_try='test -s conftest.$ac_objext'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; }; then
16348 cat >conftest.$ac_ext <<_ACEOF
16349 #line $LINENO "configure"
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 $ac_includes_default
16359 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16366 rm -f conftest.$ac_objext
16367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16368 (eval $ac_compile) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } &&
16372 { ac_try='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 ac_lo=$ac_mid; break
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16383 ac_hi=`expr '(' $ac_mid ')' - 1`
16384 if test $ac_mid -le $ac_hi; then
16388 ac_mid=`expr 2 '*' $ac_mid`
16390 rm -f conftest.$ac_objext conftest.$ac_ext
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16398 rm -f conftest.$ac_objext conftest.$ac_ext
16400 rm -f conftest.$ac_objext conftest.$ac_ext
16401 # Binary search between lo and hi bounds.
16402 while test "x$ac_lo" != "x$ac_hi"; do
16403 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16404 cat >conftest.$ac_ext <<_ACEOF
16405 #line $LINENO "configure"
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 $ac_includes_default
16415 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16422 rm -f conftest.$ac_objext
16423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16424 (eval $ac_compile) 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } &&
16428 { ac_try='test -s conftest.$ac_objext'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; }; then
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16439 ac_lo=`expr '(' $ac_mid ')' + 1`
16441 rm -f conftest.$ac_objext conftest.$ac_ext
16444 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16445 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16446 See \`config.log' for more details." >&5
16447 echo "$as_me: error: cannot compute sizeof (long long), 77
16448 See \`config.log' for more details." >&2;}
16449 { (exit 1); exit 1; }; } ;;
16452 if test "$cross_compiling" = yes; then
16453 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16454 See \`config.log' for more details." >&5
16455 echo "$as_me: error: cannot run test program while cross compiling
16456 See \`config.log' for more details." >&2;}
16457 { (exit 1); exit 1; }; }
16459 cat >conftest.$ac_ext <<_ACEOF
16460 #line $LINENO "configure"
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 $ac_includes_default
16467 long longval () { return (long) (sizeof (long long)); }
16468 unsigned long ulongval () { return (long) (sizeof (long long)); }
16470 #include <stdlib.h>
16475 FILE *f = fopen ("conftest.val", "w");
16478 if (((long) (sizeof (long long))) < 0)
16480 long i = longval ();
16481 if (i != ((long) (sizeof (long long))))
16483 fprintf (f, "%ld\n", i);
16487 unsigned long i = ulongval ();
16488 if (i != ((long) (sizeof (long long))))
16490 fprintf (f, "%lu\n", i);
16492 exit (ferror (f) || fclose (f) != 0);
16498 rm -f conftest$ac_exeext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500 (eval $ac_link) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16505 (eval $ac_try) 2>&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); }; }; then
16509 ac_cv_sizeof_long_long=`cat conftest.val`
16511 echo "$as_me: program exited with status $ac_status" >&5
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16515 ( exit $ac_status )
16516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16517 See \`config.log' for more details." >&5
16518 echo "$as_me: error: cannot compute sizeof (long long), 77
16519 See \`config.log' for more details." >&2;}
16520 { (exit 1); exit 1; }; }
16522 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16527 ac_cv_sizeof_long_long=0
16530 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16531 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16532 cat >>confdefs.h <<_ACEOF
16533 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16539 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16540 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16541 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16542 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 if test "$cross_compiling" = yes; then
16549 wx_cv_sizeof_wchar_t=0
16552 wx_cv_sizeof_wchar_t=4
16558 cat >conftest.$ac_ext <<_ACEOF
16559 #line $LINENO "configure"
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16566 /* DJGPP only has fake wchar_t: */
16568 # error "fake wchar_t"
16570 #ifdef HAVE_WCHAR_H
16572 # include <stddef.h>
16574 # include <wchar.h>
16576 #ifdef HAVE_STDLIB_H
16577 # include <stdlib.h>
16582 FILE *f=fopen("conftestval", "w");
16584 fprintf(f, "%i", sizeof(wchar_t));
16589 rm -f conftest$ac_exeext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591 (eval $ac_link) 2>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 wx_cv_sizeof_wchar_t=`cat conftestval`
16602 echo "$as_me: program exited with status $ac_status" >&5
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.$ac_ext >&5
16606 ( exit $ac_status )
16607 wx_cv_sizeof_wchar_t=0
16609 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16613 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16614 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16616 cat >>confdefs.h <<_ACEOF
16617 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16621 # Check whether --enable-largefile or --disable-largefile was given.
16622 if test "${enable_largefile+set}" = set; then
16623 enableval="$enable_largefile"
16626 if test "$enable_largefile" != no; then
16629 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16630 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16631 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 cat >conftest.$ac_ext <<_ACEOF
16636 #line $LINENO "configure"
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 #define _FILE_OFFSET_BITS 64
16643 #include <sys/types.h>
16648 unsigned int field: sizeof(off_t) == 8;
16655 rm -f conftest.$ac_objext
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try='test -s conftest.$ac_objext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 ac_cv_sys_file_offset_bits=64
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16672 ac_cv_sys_file_offset_bits=no
16674 rm -f conftest.$ac_objext conftest.$ac_ext
16678 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16679 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16681 if test "$ac_cv_sys_file_offset_bits" != no; then
16683 cat >>confdefs.h <<_ACEOF
16684 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16689 if test "x$wx_largefile" != "xyes"; then
16691 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16692 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16693 if test "${ac_cv_sys_large_files+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16697 cat >conftest.$ac_ext <<_ACEOF
16698 #line $LINENO "configure"
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 #define _LARGE_FILES 1
16705 #include <sys/types.h>
16710 unsigned int field: sizeof(off_t) == 8;
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_sys_large_files=1
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.$ac_ext >&5
16734 ac_cv_sys_large_files=no
16736 rm -f conftest.$ac_objext conftest.$ac_ext
16740 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16741 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16743 if test "$ac_cv_sys_large_files" != no; then
16745 cat >>confdefs.h <<_ACEOF
16746 #define _LARGE_FILES $ac_cv_sys_large_files
16753 echo "$as_me:$LINENO: checking if large file support is available" >&5
16754 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16755 if test "x$wx_largefile" = "xyes"; then
16756 cat >>confdefs.h <<\_ACEOF
16757 #define HAVE_LARGEFILE_SUPPORT 1
16761 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16762 echo "${ECHO_T}$wx_largefile" >&6
16766 if test "x$wx_largefile" = "xyes"; then
16767 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16768 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16770 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16772 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16775 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16776 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16777 if test "${ac_cv_c_bigendian+set}" = set; then
16778 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 ac_cv_c_bigendian=unknown
16781 # See if sys/param.h defines the BYTE_ORDER macro.
16782 cat >conftest.$ac_ext <<_ACEOF
16783 #line $LINENO "configure"
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 #include <sys/types.h>
16790 #include <sys/param.h>
16795 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16796 bogus endian macros
16802 rm -f conftest.$ac_objext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16804 (eval $ac_compile) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } &&
16808 { ac_try='test -s conftest.$ac_objext'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 # It does; now see whether it defined to BIG_ENDIAN or not.
16815 cat >conftest.$ac_ext <<_ACEOF
16816 #line $LINENO "configure"
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822 #include <sys/types.h>
16823 #include <sys/param.h>
16828 #if BYTE_ORDER != BIG_ENDIAN
16835 rm -f conftest.$ac_objext
16836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16837 (eval $ac_compile) 2>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -s conftest.$ac_objext'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 ac_cv_c_bigendian=yes
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16852 ac_cv_c_bigendian=no
16854 rm -f conftest.$ac_objext conftest.$ac_ext
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16860 rm -f conftest.$ac_objext conftest.$ac_ext
16861 if test $ac_cv_c_bigendian = unknown; then
16862 if test "$cross_compiling" = yes; then
16863 ac_cv_c_bigendian=unknown
16865 cat >conftest.$ac_ext <<_ACEOF
16866 #line $LINENO "configure"
16869 cat confdefs.h >>conftest.$ac_ext
16870 cat >>conftest.$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16873 /* Are we little or big endian? From Harbison&Steele. */
16877 char c[sizeof (long)];
16880 exit (u.c[sizeof (long) - 1] == 1);
16883 rm -f conftest$ac_exeext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16885 (eval $ac_link) 2>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; }; then
16894 ac_cv_c_bigendian=no
16896 echo "$as_me: program exited with status $ac_status" >&5
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16900 ( exit $ac_status )
16901 ac_cv_c_bigendian=yes
16903 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16907 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16908 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16909 if test $ac_cv_c_bigendian = unknown; then
16910 { 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
16911 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;}
16913 if test $ac_cv_c_bigendian = yes; then
16914 cat >>confdefs.h <<\_ACEOF
16915 #define WORDS_BIGENDIAN 1
16923 ac_cpp='$CXXCPP $CPPFLAGS'
16924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16927 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16928 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16929 if test -z "$CXXCPP"; then
16930 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 # Double quotes because CXXCPP needs to be expanded
16934 for CXXCPP in "$CXX -E" "/lib/cpp"
16936 ac_preproc_ok=false
16937 for ac_cxx_preproc_warn_flag in '' yes
16939 # Use a header file that comes with gcc, so configuring glibc
16940 # with a fresh cross-compiler works.
16941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16942 # <limits.h> exists even on freestanding compilers.
16943 # On the NeXT, cc -E runs the code through the compiler's parser,
16944 # not just through cpp. "Syntax error" is here to catch this case.
16945 cat >conftest.$ac_ext <<_ACEOF
16946 #line $LINENO "configure"
16949 cat confdefs.h >>conftest.$ac_ext
16950 cat >>conftest.$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16953 # include <limits.h>
16955 # include <assert.h>
16959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16962 grep -v '^ *+' conftest.er1 >conftest.err
16964 cat conftest.err >&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } >/dev/null; then
16967 if test -s conftest.err; then
16968 ac_cpp_err=$ac_cxx_preproc_warn_flag
16975 if test -z "$ac_cpp_err"; then
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16981 # Broken: fails on valid input.
16984 rm -f conftest.err conftest.$ac_ext
16986 # OK, works on sane cases. Now check whether non-existent headers
16987 # can be detected and how.
16988 cat >conftest.$ac_ext <<_ACEOF
16989 #line $LINENO "configure"
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 #include <ac_nonexistent.h>
16997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17000 grep -v '^ *+' conftest.er1 >conftest.err
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } >/dev/null; then
17005 if test -s conftest.err; then
17006 ac_cpp_err=$ac_cxx_preproc_warn_flag
17013 if test -z "$ac_cpp_err"; then
17014 # Broken: success on invalid input.
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 # Passes both tests.
17024 rm -f conftest.err conftest.$ac_ext
17027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17028 rm -f conftest.err conftest.$ac_ext
17029 if $ac_preproc_ok; then
17034 ac_cv_prog_CXXCPP=$CXXCPP
17037 CXXCPP=$ac_cv_prog_CXXCPP
17039 ac_cv_prog_CXXCPP=$CXXCPP
17041 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17042 echo "${ECHO_T}$CXXCPP" >&6
17043 ac_preproc_ok=false
17044 for ac_cxx_preproc_warn_flag in '' yes
17046 # Use a header file that comes with gcc, so configuring glibc
17047 # with a fresh cross-compiler works.
17048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17049 # <limits.h> exists even on freestanding compilers.
17050 # On the NeXT, cc -E runs the code through the compiler's parser,
17051 # not just through cpp. "Syntax error" is here to catch this case.
17052 cat >conftest.$ac_ext <<_ACEOF
17053 #line $LINENO "configure"
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17060 # include <limits.h>
17062 # include <assert.h>
17066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17069 grep -v '^ *+' conftest.er1 >conftest.err
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } >/dev/null; then
17074 if test -s conftest.err; then
17075 ac_cpp_err=$ac_cxx_preproc_warn_flag
17082 if test -z "$ac_cpp_err"; then
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 # Broken: fails on valid input.
17091 rm -f conftest.err conftest.$ac_ext
17093 # OK, works on sane cases. Now check whether non-existent headers
17094 # can be detected and how.
17095 cat >conftest.$ac_ext <<_ACEOF
17096 #line $LINENO "configure"
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 #include <ac_nonexistent.h>
17104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17107 grep -v '^ *+' conftest.er1 >conftest.err
17109 cat conftest.err >&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } >/dev/null; then
17112 if test -s conftest.err; then
17113 ac_cpp_err=$ac_cxx_preproc_warn_flag
17120 if test -z "$ac_cpp_err"; then
17121 # Broken: success on invalid input.
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 # Passes both tests.
17131 rm -f conftest.err conftest.$ac_ext
17134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17135 rm -f conftest.err conftest.$ac_ext
17136 if $ac_preproc_ok; then
17139 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17140 See \`config.log' for more details." >&5
17141 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17142 See \`config.log' for more details." >&2;}
17143 { (exit 1); exit 1; }; }
17147 ac_cpp='$CXXCPP $CPPFLAGS'
17148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17154 if test "$cross_compiling" = "yes"; then
17155 cat >>confdefs.h <<\_ACEOF
17156 #define wxUSE_IOSTREAMH 1
17163 ac_cpp='$CXXCPP $CPPFLAGS'
17164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17170 for ac_header in iostream
17172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17174 echo "$as_me:$LINENO: checking for $ac_header" >&5
17175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17182 # Is the header compilable?
17183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17185 cat >conftest.$ac_ext <<_ACEOF
17186 #line $LINENO "configure"
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17193 #include <$ac_header>
17195 rm -f conftest.$ac_objext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17197 (eval $ac_compile) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_header_compiler=yes
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17212 ac_header_compiler=no
17214 rm -f conftest.$ac_objext conftest.$ac_ext
17215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17216 echo "${ECHO_T}$ac_header_compiler" >&6
17218 # Is the header present?
17219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17221 cat >conftest.$ac_ext <<_ACEOF
17222 #line $LINENO "configure"
17225 cat confdefs.h >>conftest.$ac_ext
17226 cat >>conftest.$ac_ext <<_ACEOF
17227 /* end confdefs.h. */
17228 #include <$ac_header>
17230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17233 grep -v '^ *+' conftest.er1 >conftest.err
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } >/dev/null; then
17238 if test -s conftest.err; then
17239 ac_cpp_err=$ac_cxx_preproc_warn_flag
17246 if test -z "$ac_cpp_err"; then
17247 ac_header_preproc=yes
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17252 ac_header_preproc=no
17254 rm -f conftest.err conftest.$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17256 echo "${ECHO_T}$ac_header_preproc" >&6
17258 # So? What about this header?
17259 case $ac_header_compiler:$ac_header_preproc in
17261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17267 ## ------------------------------------ ##
17268 ## Report this to bug-autoconf@gnu.org. ##
17269 ## ------------------------------------ ##
17272 sed "s/^/$as_me: WARNING: /" >&2
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17278 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17283 ## ------------------------------------ ##
17284 ## Report this to bug-autoconf@gnu.org. ##
17285 ## ------------------------------------ ##
17288 sed "s/^/$as_me: WARNING: /" >&2
17291 echo "$as_me:$LINENO: checking for $ac_header" >&5
17292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 eval "$as_ac_Header=$ac_header_preproc"
17298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17303 cat >>confdefs.h <<_ACEOF
17304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17312 if test "$ac_cv_header_iostream" = "yes" ; then
17315 cat >>confdefs.h <<\_ACEOF
17316 #define wxUSE_IOSTREAMH 1
17322 ac_cpp='$CPP $CPPFLAGS'
17323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17331 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17332 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17333 if test "${wx_cv_cpp_bool+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 ac_cpp='$CXXCPP $CPPFLAGS'
17341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17346 cat >conftest.$ac_ext <<_ACEOF
17347 #line $LINENO "configure"
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17367 rm -f conftest.$ac_objext
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try='test -s conftest.$ac_objext'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; }; then
17383 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.$ac_ext >&5
17391 rm -f conftest.$ac_objext conftest.$ac_ext
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17401 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17402 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17404 if test "$wx_cv_cpp_bool" = "yes"; then
17405 cat >>confdefs.h <<\_ACEOF
17406 #define HAVE_BOOL 1
17413 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17414 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17415 if test "${wx_cv_explicit+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 ac_cpp='$CXXCPP $CPPFLAGS'
17423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17428 cat >conftest.$ac_ext <<_ACEOF
17429 #line $LINENO "configure"
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17436 class Foo { public: explicit Foo(int) {} };
17448 rm -f conftest.$ac_objext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } &&
17454 { ac_try='test -s conftest.$ac_objext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17461 cat >conftest.$ac_ext <<_ACEOF
17462 #line $LINENO "configure"
17465 cat confdefs.h >>conftest.$ac_ext
17466 cat >>conftest.$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17469 class Foo { public: explicit Foo(int) {} };
17470 static void TakeFoo(const Foo& foo) { }
17483 rm -f conftest.$ac_objext
17484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17485 (eval $ac_compile) 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try='test -s conftest.$ac_objext'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17497 echo "$as_me: failed program was:" >&5
17498 sed 's/^/| /' conftest.$ac_ext >&5
17503 rm -f conftest.$ac_objext conftest.$ac_ext
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17512 rm -f conftest.$ac_objext conftest.$ac_ext
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17522 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17523 echo "${ECHO_T}$wx_cv_explicit" >&6
17525 if test "$wx_cv_explicit" = "yes"; then
17526 cat >>confdefs.h <<\_ACEOF
17527 #define HAVE_EXPLICIT 1
17533 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17534 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17535 if test "${ac_cv_cxx_const_cast+set}" = set; then
17536 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
17546 cat >conftest.$ac_ext <<_ACEOF
17547 #line $LINENO "configure"
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17557 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17562 rm -f conftest.$ac_objext
17563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17564 (eval $ac_compile) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574 ac_cv_cxx_const_cast=yes
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17579 ac_cv_cxx_const_cast=no
17581 rm -f conftest.$ac_objext conftest.$ac_ext
17583 ac_cpp='$CPP $CPPFLAGS'
17584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17590 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17591 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17592 if test "$ac_cv_cxx_const_cast" = yes; then
17594 cat >>confdefs.h <<\_ACEOF
17595 #define HAVE_CONST_CAST
17603 /usr/local/include \
17605 /usr/Motif-1.2/include \
17606 /usr/Motif-2.1/include \
17608 /usr/include/Motif1.2 \
17609 /opt/xpm/include/X11 \
17610 /opt/GBxpm/include/ \
17611 /opt/GBxpm/X11/include/ \
17613 /usr/Motif1.2/include \
17615 /usr/openwin/include \
17619 /usr/X11R6/include \
17620 /usr/X11R6.4/include \
17621 /usr/X11R5/include \
17622 /usr/X11R4/include \
17624 /usr/include/X11R6 \
17625 /usr/include/X11R5 \
17626 /usr/include/X11R4 \
17628 /usr/local/X11R6/include \
17629 /usr/local/X11R5/include \
17630 /usr/local/X11R4/include \
17632 /usr/local/include/X11R6 \
17633 /usr/local/include/X11R5 \
17634 /usr/local/include/X11R4 \
17638 /usr/local/X11/include \
17639 /usr/local/include/X11 \
17641 /usr/X386/include \
17642 /usr/x386/include \
17643 /usr/XFree86/include/X11 \
17645 X:/XFree86/include \
17646 X:/XFree86/include/X11 \
17649 /usr/local/include/gtk \
17650 /usr/include/glib \
17651 /usr/local/include/glib \
17654 /usr/local/include/qt \
17656 /usr/include/windows \
17657 /usr/include/wine \
17658 /usr/local/include/wine \
17660 /usr/unsupported/include \
17661 /usr/athena/include \
17662 /usr/local/x11r5/include \
17663 /usr/lpp/Xamples/include \
17665 /usr/openwin/share/include"
17667 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17670 cat >confcache <<\_ACEOF
17671 # This file is a shell script that caches the results of configure
17672 # tests run on this system so they can be shared between configure
17673 # scripts and configure runs, see configure's option --config-cache.
17674 # It is not useful on other systems. If it contains results you don't
17675 # want to keep, you may remove or edit it.
17677 # config.status only pays attention to the cache file if you give it
17678 # the --recheck option to rerun configure.
17680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17682 # following values.
17686 # The following way of writing the cache mishandles newlines in values,
17687 # but we know of no workaround that is simple, portable, and efficient.
17688 # So, don't put newlines in cache variables' values.
17689 # Ultrix sh set writes to stderr and can't be redirected directly,
17690 # and sets the high bit in the cache file unless we assign to the vars.
17693 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17695 # `set' does not quote correctly, so add quotes (double-quote
17696 # substitution turns \\\\ into \\, and sed turns \\ into \).
17699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17702 # `set' quotes correctly as required by POSIX, so do not add quotes.
17704 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17713 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17715 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17716 if test -w $cache_file; then
17717 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17718 cat confcache >$cache_file
17720 echo "not updating unwritable cache $cache_file"
17725 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17726 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17727 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17728 if test "${wx_cv_lib_glibc21+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 cat >conftest.$ac_ext <<_ACEOF
17733 #line $LINENO "configure"
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17739 #include <features.h>
17744 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17745 #error not glibc2.1
17752 rm -f conftest.$ac_objext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17765 wx_cv_lib_glibc21=yes
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17772 wx_cv_lib_glibc21=no
17776 rm -f conftest.$ac_objext conftest.$ac_ext
17779 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17780 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17781 if test "$wx_cv_lib_glibc21" = "yes"; then
17782 cat >>confdefs.h <<\_ACEOF
17783 #define wxHAVE_GLIBC2 1
17789 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17790 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17791 cat >>confdefs.h <<\_ACEOF
17792 #define _GNU_SOURCE 1
17801 if test "$wxUSE_REGEX" != "no"; then
17802 cat >>confdefs.h <<\_ACEOF
17803 #define wxUSE_REGEX 1
17807 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17808 if test "${ac_cv_header_regex_h+set}" = set; then
17809 echo "$as_me:$LINENO: checking for regex.h" >&5
17810 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17811 if test "${ac_cv_header_regex_h+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17814 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17815 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17817 # Is the header compilable?
17818 echo "$as_me:$LINENO: checking regex.h usability" >&5
17819 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17820 cat >conftest.$ac_ext <<_ACEOF
17821 #line $LINENO "configure"
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17830 rm -f conftest.$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832 (eval $ac_compile) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } &&
17836 { ac_try='test -s conftest.$ac_objext'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 ac_header_compiler=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17847 ac_header_compiler=no
17849 rm -f conftest.$ac_objext conftest.$ac_ext
17850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17851 echo "${ECHO_T}$ac_header_compiler" >&6
17853 # Is the header present?
17854 echo "$as_me:$LINENO: checking regex.h presence" >&5
17855 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17856 cat >conftest.$ac_ext <<_ACEOF
17857 #line $LINENO "configure"
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17868 grep -v '^ *+' conftest.er1 >conftest.err
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } >/dev/null; then
17873 if test -s conftest.err; then
17874 ac_cpp_err=$ac_c_preproc_warn_flag
17881 if test -z "$ac_cpp_err"; then
17882 ac_header_preproc=yes
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17887 ac_header_preproc=no
17889 rm -f conftest.err conftest.$ac_ext
17890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17891 echo "${ECHO_T}$ac_header_preproc" >&6
17893 # So? What about this header?
17894 case $ac_header_compiler:$ac_header_preproc in
17896 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17897 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17898 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17899 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17902 ## ------------------------------------ ##
17903 ## Report this to bug-autoconf@gnu.org. ##
17904 ## ------------------------------------ ##
17907 sed "s/^/$as_me: WARNING: /" >&2
17910 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17911 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17912 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17913 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17914 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17915 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17918 ## ------------------------------------ ##
17919 ## Report this to bug-autoconf@gnu.org. ##
17920 ## ------------------------------------ ##
17923 sed "s/^/$as_me: WARNING: /" >&2
17926 echo "$as_me:$LINENO: checking for regex.h" >&5
17927 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17928 if test "${ac_cv_header_regex_h+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 ac_cv_header_regex_h=$ac_header_preproc
17933 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17934 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17937 if test $ac_cv_header_regex_h = yes; then
17939 for ac_func in regcomp
17941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17942 echo "$as_me:$LINENO: checking for $ac_func" >&5
17943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17944 if eval "test \"\${$as_ac_var+set}\" = set"; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 cat >conftest.$ac_ext <<_ACEOF
17948 #line $LINENO "configure"
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17954 /* System header to define __stub macros and hopefully few prototypes,
17955 which can conflict with char $ac_func (); below.
17956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17957 <limits.h> exists even on freestanding compilers. */
17959 # include <limits.h>
17961 # include <assert.h>
17963 /* Override any gcc2 internal prototype to avoid an error. */
17968 /* We use char because int might match the return type of a gcc2
17969 builtin and then its argument prototype would still apply. */
17971 /* The GNU C library defines this for functions which it implements
17972 to always fail with ENOSYS. Some functions are actually named
17973 something starting with __ and the normal name is an alias. */
17974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17977 char (*f) () = $ac_func;
17986 return f != $ac_func;
17991 rm -f conftest.$ac_objext conftest$ac_exeext
17992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17993 (eval $ac_link) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try='test -s conftest$ac_exeext'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; }; then
18003 eval "$as_ac_var=yes"
18005 echo "$as_me: failed program was:" >&5
18006 sed 's/^/| /' conftest.$ac_ext >&5
18008 eval "$as_ac_var=no"
18010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18014 if test `eval echo '${'$as_ac_var'}'` = yes; then
18015 cat >>confdefs.h <<_ACEOF
18016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18026 if test "x$ac_cv_func_regcomp" != "xyes"; then
18027 if test "$wxUSE_REGEX" = "sys" ; then
18028 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18029 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18030 { (exit 1); exit 1; }; }
18032 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18033 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18034 wxUSE_REGEX=builtin
18041 if test "$wxUSE_REGEX" = "builtin" ; then
18042 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18049 if test "$wxUSE_ZLIB" != "no" ; then
18050 cat >>confdefs.h <<\_ACEOF
18051 #define wxUSE_ZLIB 1
18055 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18056 if test "$USE_DARWIN" = 1; then
18057 system_zlib_h_ok="yes"
18059 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18060 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18061 if test "${ac_cv_header_zlib_h+set}" = set; then
18062 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 if test "$cross_compiling" = yes; then
18065 unset ac_cv_header_zlib_h
18068 cat >conftest.$ac_ext <<_ACEOF
18069 #line $LINENO "configure"
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18081 FILE *f=fopen("conftestval", "w");
18084 ZLIB_VERSION[0] == '1' &&
18085 (ZLIB_VERSION[2] > '1' ||
18086 (ZLIB_VERSION[2] == '1' &&
18087 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18092 rm -f conftest$ac_exeext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18094 (eval $ac_link) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then
18103 ac_cv_header_zlib_h=`cat conftestval`
18105 echo "$as_me: program exited with status $ac_status" >&5
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18109 ( exit $ac_status )
18110 ac_cv_header_zlib_h=no
18112 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18116 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18117 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18118 if test "${ac_cv_header_zlib_h+set}" = set; then
18119 echo "$as_me:$LINENO: checking for zlib.h" >&5
18120 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18121 if test "${ac_cv_header_zlib_h+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18125 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18127 # Is the header compilable?
18128 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18129 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18130 cat >conftest.$ac_ext <<_ACEOF
18131 #line $LINENO "configure"
18134 cat confdefs.h >>conftest.$ac_ext
18135 cat >>conftest.$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18137 $ac_includes_default
18140 rm -f conftest.$ac_objext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18142 (eval $ac_compile) 2>&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } &&
18146 { ac_try='test -s conftest.$ac_objext'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18152 ac_header_compiler=yes
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18157 ac_header_compiler=no
18159 rm -f conftest.$ac_objext conftest.$ac_ext
18160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18161 echo "${ECHO_T}$ac_header_compiler" >&6
18163 # Is the header present?
18164 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18165 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18166 cat >conftest.$ac_ext <<_ACEOF
18167 #line $LINENO "configure"
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1 >conftest.err
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } >/dev/null; then
18183 if test -s conftest.err; then
18184 ac_cpp_err=$ac_c_preproc_warn_flag
18191 if test -z "$ac_cpp_err"; then
18192 ac_header_preproc=yes
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.$ac_ext >&5
18197 ac_header_preproc=no
18199 rm -f conftest.err conftest.$ac_ext
18200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18201 echo "${ECHO_T}$ac_header_preproc" >&6
18203 # So? What about this header?
18204 case $ac_header_compiler:$ac_header_preproc in
18206 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18207 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18208 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18209 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18212 ## ------------------------------------ ##
18213 ## Report this to bug-autoconf@gnu.org. ##
18214 ## ------------------------------------ ##
18217 sed "s/^/$as_me: WARNING: /" >&2
18220 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18221 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18222 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18223 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18224 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18225 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18228 ## ------------------------------------ ##
18229 ## Report this to bug-autoconf@gnu.org. ##
18230 ## ------------------------------------ ##
18233 sed "s/^/$as_me: WARNING: /" >&2
18236 echo "$as_me:$LINENO: checking for zlib.h" >&5
18237 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18238 if test "${ac_cv_header_zlib_h+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 ac_cv_header_zlib_h=$ac_header_preproc
18243 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18244 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18250 system_zlib_h_ok=$ac_cv_header_zlib_h
18253 if test "$system_zlib_h_ok" = "yes"; then
18254 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18255 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18256 if test "${ac_cv_lib_z_deflate+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 ac_check_lib_save_LIBS=$LIBS
18261 cat >conftest.$ac_ext <<_ACEOF
18262 #line $LINENO "configure"
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18269 /* Override any gcc2 internal prototype to avoid an error. */
18273 /* We use char because int might match the return type of a gcc2
18274 builtin and then its argument prototype would still apply. */
18284 rm -f conftest.$ac_objext conftest$ac_exeext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18286 (eval $ac_link) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); } &&
18290 { ac_try='test -s conftest$ac_exeext'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; }; then
18296 ac_cv_lib_z_deflate=yes
18298 echo "$as_me: failed program was:" >&5
18299 sed 's/^/| /' conftest.$ac_ext >&5
18301 ac_cv_lib_z_deflate=no
18303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18304 LIBS=$ac_check_lib_save_LIBS
18306 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18307 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18308 if test $ac_cv_lib_z_deflate = yes; then
18314 if test "x$ZLIB_LINK" = "x" ; then
18315 if test "$wxUSE_ZLIB" = "sys" ; then
18316 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18317 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18318 { (exit 1); exit 1; }; }
18320 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18321 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18329 if test "$wxUSE_ZLIB" = "builtin" ; then
18330 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18337 if test "$wxUSE_LIBPNG" != "no" ; then
18338 cat >>confdefs.h <<\_ACEOF
18339 #define wxUSE_LIBPNG 1
18343 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18344 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18345 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18349 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18350 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18351 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18352 wxUSE_LIBPNG=builtin
18355 if test "$wxUSE_MGL" != 1 ; then
18356 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18357 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18358 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18359 if test "${ac_cv_header_png_h+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 if test "$cross_compiling" = yes; then
18363 unset ac_cv_header_png_h
18366 cat >conftest.$ac_ext <<_ACEOF
18367 #line $LINENO "configure"
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18379 FILE *f=fopen("conftestval", "w");
18382 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18387 rm -f conftest$ac_exeext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18389 (eval $ac_link) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 ac_cv_header_png_h=`cat conftestval`
18400 echo "$as_me: program exited with status $ac_status" >&5
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18404 ( exit $ac_status )
18405 ac_cv_header_png_h=no
18407 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18411 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18412 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18413 if test "${ac_cv_header_png_h+set}" = set; then
18414 echo "$as_me:$LINENO: checking for png.h" >&5
18415 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18416 if test "${ac_cv_header_png_h+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18420 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18422 # Is the header compilable?
18423 echo "$as_me:$LINENO: checking png.h usability" >&5
18424 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18425 cat >conftest.$ac_ext <<_ACEOF
18426 #line $LINENO "configure"
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 $ac_includes_default
18435 rm -f conftest.$ac_objext
18436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18437 (eval $ac_compile) 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_header_compiler=yes
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 ac_header_compiler=no
18454 rm -f conftest.$ac_objext conftest.$ac_ext
18455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18456 echo "${ECHO_T}$ac_header_compiler" >&6
18458 # Is the header present?
18459 echo "$as_me:$LINENO: checking png.h presence" >&5
18460 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18461 cat >conftest.$ac_ext <<_ACEOF
18462 #line $LINENO "configure"
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18473 grep -v '^ *+' conftest.er1 >conftest.err
18475 cat conftest.err >&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); } >/dev/null; then
18478 if test -s conftest.err; then
18479 ac_cpp_err=$ac_c_preproc_warn_flag
18486 if test -z "$ac_cpp_err"; then
18487 ac_header_preproc=yes
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18492 ac_header_preproc=no
18494 rm -f conftest.err conftest.$ac_ext
18495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18496 echo "${ECHO_T}$ac_header_preproc" >&6
18498 # So? What about this header?
18499 case $ac_header_compiler:$ac_header_preproc in
18501 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18502 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18503 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18504 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18507 ## ------------------------------------ ##
18508 ## Report this to bug-autoconf@gnu.org. ##
18509 ## ------------------------------------ ##
18512 sed "s/^/$as_me: WARNING: /" >&2
18515 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18516 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18517 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18518 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18519 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18520 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18523 ## ------------------------------------ ##
18524 ## Report this to bug-autoconf@gnu.org. ##
18525 ## ------------------------------------ ##
18528 sed "s/^/$as_me: WARNING: /" >&2
18531 echo "$as_me:$LINENO: checking for png.h" >&5
18532 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18533 if test "${ac_cv_header_png_h+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 ac_cv_header_png_h=$ac_header_preproc
18538 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18539 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18545 if test "$ac_cv_header_png_h" = "yes"; then
18546 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18547 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18548 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 ac_check_lib_save_LIBS=$LIBS
18552 LIBS="-lpng -lz -lm $LIBS"
18553 cat >conftest.$ac_ext <<_ACEOF
18554 #line $LINENO "configure"
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18561 /* Override any gcc2 internal prototype to avoid an error. */
18565 /* We use char because int might match the return type of a gcc2
18566 builtin and then its argument prototype would still apply. */
18567 char png_check_sig ();
18576 rm -f conftest.$ac_objext conftest$ac_exeext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18578 (eval $ac_link) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } &&
18582 { ac_try='test -s conftest$ac_exeext'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
18588 ac_cv_lib_png_png_check_sig=yes
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18593 ac_cv_lib_png_png_check_sig=no
18595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18596 LIBS=$ac_check_lib_save_LIBS
18598 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18599 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18600 if test $ac_cv_lib_png_png_check_sig = yes; then
18606 if test "x$PNG_LINK" = "x" ; then
18607 if test "$wxUSE_LIBPNG" = "sys" ; then
18608 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18609 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18610 { (exit 1); exit 1; }; }
18612 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18613 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18614 wxUSE_LIBPNG=builtin
18622 if test "$wxUSE_LIBPNG" = "builtin" ; then
18623 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18632 if test "$wxUSE_LIBJPEG" != "no" ; then
18633 cat >>confdefs.h <<\_ACEOF
18634 #define wxUSE_LIBJPEG 1
18638 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18639 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18640 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18644 if test "$wxUSE_MGL" != 1 ; then
18645 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18646 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18647 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18648 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 cat >conftest.$ac_ext <<_ACEOF
18652 #line $LINENO "configure"
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18659 #undef HAVE_STDLIB_H
18661 #include <jpeglib.h>
18672 rm -f conftest.$ac_objext
18673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18674 (eval $ac_compile) 2>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try='test -s conftest.$ac_objext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 ac_cv_header_jpeglib_h=yes
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 ac_cv_header_jpeglib_h=no
18692 rm -f conftest.$ac_objext conftest.$ac_ext
18696 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18697 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18699 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18700 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18701 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18702 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 ac_check_lib_save_LIBS=$LIBS
18706 LIBS="-ljpeg $LIBS"
18707 cat >conftest.$ac_ext <<_ACEOF
18708 #line $LINENO "configure"
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18715 /* Override any gcc2 internal prototype to avoid an error. */
18719 /* We use char because int might match the return type of a gcc2
18720 builtin and then its argument prototype would still apply. */
18721 char jpeg_read_header ();
18725 jpeg_read_header ();
18730 rm -f conftest.$ac_objext conftest$ac_exeext
18731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18732 (eval $ac_link) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try='test -s conftest$ac_exeext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_cv_lib_jpeg_jpeg_read_header=yes
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18747 ac_cv_lib_jpeg_jpeg_read_header=no
18749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18750 LIBS=$ac_check_lib_save_LIBS
18752 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18753 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18754 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18755 JPEG_LINK=" -ljpeg"
18760 if test "x$JPEG_LINK" = "x" ; then
18761 if test "$wxUSE_LIBJPEG" = "sys" ; then
18762 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18763 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18764 { (exit 1); exit 1; }; }
18766 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18767 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18768 wxUSE_LIBJPEG=builtin
18776 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18777 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18784 TIFF_PREREQ_LINKS=-lm
18785 if test "$wxUSE_LIBTIFF" != "no" ; then
18786 cat >>confdefs.h <<\_ACEOF
18787 #define wxUSE_LIBTIFF 1
18791 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18792 if test "$wxUSE_LIBJPEG" = "sys"; then
18793 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18795 if test "$wxUSE_ZLIB" = "sys"; then
18796 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18798 if test "${ac_cv_header_tiffio_h+set}" = set; then
18799 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18800 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18801 if test "${ac_cv_header_tiffio_h+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18805 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18807 # Is the header compilable?
18808 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18809 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18810 cat >conftest.$ac_ext <<_ACEOF
18811 #line $LINENO "configure"
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18817 $ac_includes_default
18818 #include <tiffio.h>
18820 rm -f conftest.$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_header_compiler=yes
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18837 ac_header_compiler=no
18839 rm -f conftest.$ac_objext conftest.$ac_ext
18840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18841 echo "${ECHO_T}$ac_header_compiler" >&6
18843 # Is the header present?
18844 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18845 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18846 cat >conftest.$ac_ext <<_ACEOF
18847 #line $LINENO "configure"
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #include <tiffio.h>
18855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18858 grep -v '^ *+' conftest.er1 >conftest.err
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } >/dev/null; then
18863 if test -s conftest.err; then
18864 ac_cpp_err=$ac_c_preproc_warn_flag
18871 if test -z "$ac_cpp_err"; then
18872 ac_header_preproc=yes
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18877 ac_header_preproc=no
18879 rm -f conftest.err conftest.$ac_ext
18880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18881 echo "${ECHO_T}$ac_header_preproc" >&6
18883 # So? What about this header?
18884 case $ac_header_compiler:$ac_header_preproc in
18886 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18887 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18888 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18889 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18892 ## ------------------------------------ ##
18893 ## Report this to bug-autoconf@gnu.org. ##
18894 ## ------------------------------------ ##
18897 sed "s/^/$as_me: WARNING: /" >&2
18900 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18901 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18902 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18903 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18904 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18905 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18908 ## ------------------------------------ ##
18909 ## Report this to bug-autoconf@gnu.org. ##
18910 ## ------------------------------------ ##
18913 sed "s/^/$as_me: WARNING: /" >&2
18916 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18917 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18918 if test "${ac_cv_header_tiffio_h+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 ac_cv_header_tiffio_h=$ac_header_preproc
18923 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18924 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18927 if test $ac_cv_header_tiffio_h = yes; then
18928 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18929 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18930 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 ac_check_lib_save_LIBS=$LIBS
18934 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18935 cat >conftest.$ac_ext <<_ACEOF
18936 #line $LINENO "configure"
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18943 /* Override any gcc2 internal prototype to avoid an error. */
18947 /* We use char because int might match the return type of a gcc2
18948 builtin and then its argument prototype would still apply. */
18958 rm -f conftest.$ac_objext conftest$ac_exeext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18960 (eval $ac_link) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -s conftest$ac_exeext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 ac_cv_lib_tiff_TIFFError=yes
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18975 ac_cv_lib_tiff_TIFFError=no
18977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18978 LIBS=$ac_check_lib_save_LIBS
18980 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18981 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18982 if test $ac_cv_lib_tiff_TIFFError = yes; then
18983 TIFF_LINK=" -ltiff"
18991 if test "x$TIFF_LINK" = "x" ; then
18992 if test "$wxUSE_LIBTIFF" = "sys" ; then
18993 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18994 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
18995 { (exit 1); exit 1; }; }
18997 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
18998 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
18999 wxUSE_LIBTIFF=builtin
19006 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19007 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19019 if test "$USE_WIN32" = 1 ; then
19021 for ac_header in w32api.h
19023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19025 echo "$as_me:$LINENO: checking for $ac_header" >&5
19026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19033 # Is the header compilable?
19034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19036 cat >conftest.$ac_ext <<_ACEOF
19037 #line $LINENO "configure"
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19044 #include <$ac_header>
19046 rm -f conftest.$ac_objext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_header_compiler=yes
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 ac_header_compiler=no
19065 rm -f conftest.$ac_objext conftest.$ac_ext
19066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19067 echo "${ECHO_T}$ac_header_compiler" >&6
19069 # Is the header present?
19070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19072 cat >conftest.$ac_ext <<_ACEOF
19073 #line $LINENO "configure"
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <$ac_header>
19081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19084 grep -v '^ *+' conftest.er1 >conftest.err
19086 cat conftest.err >&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } >/dev/null; then
19089 if test -s conftest.err; then
19090 ac_cpp_err=$ac_c_preproc_warn_flag
19097 if test -z "$ac_cpp_err"; then
19098 ac_header_preproc=yes
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 ac_header_preproc=no
19105 rm -f conftest.err conftest.$ac_ext
19106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19107 echo "${ECHO_T}$ac_header_preproc" >&6
19109 # So? What about this header?
19110 case $ac_header_compiler:$ac_header_preproc in
19112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19118 ## ------------------------------------ ##
19119 ## Report this to bug-autoconf@gnu.org. ##
19120 ## ------------------------------------ ##
19123 sed "s/^/$as_me: WARNING: /" >&2
19126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19134 ## ------------------------------------ ##
19135 ## Report this to bug-autoconf@gnu.org. ##
19136 ## ------------------------------------ ##
19139 sed "s/^/$as_me: WARNING: /" >&2
19142 echo "$as_me:$LINENO: checking for $ac_header" >&5
19143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 eval "$as_ac_Header=$ac_header_preproc"
19149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19154 cat >>confdefs.h <<_ACEOF
19155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19162 if test "${ac_cv_header_windows_h+set}" = set; then
19163 echo "$as_me:$LINENO: checking for windows.h" >&5
19164 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19165 if test "${ac_cv_header_windows_h+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19168 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19169 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19171 # Is the header compilable?
19172 echo "$as_me:$LINENO: checking windows.h usability" >&5
19173 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19174 cat >conftest.$ac_ext <<_ACEOF
19175 #line $LINENO "configure"
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 $ac_includes_default
19182 #include <windows.h>
19184 rm -f conftest.$ac_objext
19185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19186 (eval $ac_compile) 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -s conftest.$ac_objext'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; }; then
19196 ac_header_compiler=yes
19198 echo "$as_me: failed program was:" >&5
19199 sed 's/^/| /' conftest.$ac_ext >&5
19201 ac_header_compiler=no
19203 rm -f conftest.$ac_objext conftest.$ac_ext
19204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19205 echo "${ECHO_T}$ac_header_compiler" >&6
19207 # Is the header present?
19208 echo "$as_me:$LINENO: checking windows.h presence" >&5
19209 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19210 cat >conftest.$ac_ext <<_ACEOF
19211 #line $LINENO "configure"
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 #include <windows.h>
19219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19222 grep -v '^ *+' conftest.er1 >conftest.err
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } >/dev/null; then
19227 if test -s conftest.err; then
19228 ac_cpp_err=$ac_c_preproc_warn_flag
19235 if test -z "$ac_cpp_err"; then
19236 ac_header_preproc=yes
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19241 ac_header_preproc=no
19243 rm -f conftest.err conftest.$ac_ext
19244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19245 echo "${ECHO_T}$ac_header_preproc" >&6
19247 # So? What about this header?
19248 case $ac_header_compiler:$ac_header_preproc in
19250 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19251 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19252 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19253 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19256 ## ------------------------------------ ##
19257 ## Report this to bug-autoconf@gnu.org. ##
19258 ## ------------------------------------ ##
19261 sed "s/^/$as_me: WARNING: /" >&2
19264 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19265 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19266 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19267 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19268 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19269 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19272 ## ------------------------------------ ##
19273 ## Report this to bug-autoconf@gnu.org. ##
19274 ## ------------------------------------ ##
19277 sed "s/^/$as_me: WARNING: /" >&2
19280 echo "$as_me:$LINENO: checking for windows.h" >&5
19281 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19282 if test "${ac_cv_header_windows_h+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 ac_cv_header_windows_h=$ac_header_preproc
19287 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19288 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19291 if test $ac_cv_header_windows_h = yes; then
19295 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19296 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19297 { (exit 1); exit 1; }; }
19303 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19304 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19305 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 cat >conftest.$ac_ext <<_ACEOF
19310 #line $LINENO "configure"
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <w32api.h>
19321 #define wxCHECK_W32API_VERSION( major, minor ) \
19322 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19323 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19324 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19326 #if !wxCHECK_W32API_VERSION(1,1)
19327 #error You need w32api 1.1 or newer
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19347 wx_cv_w32api_win32_ie=yes
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19354 wx_cv_w32api_win32_ie=no
19357 rm -f conftest.$ac_objext conftest.$ac_ext
19360 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19361 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19362 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19363 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19366 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19368 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19369 LIBS="$LIBS -loleacc"
19374 LIBS="$LIBS -lkernel32 -luser32"
19375 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19378 if test "$wxUSE_ODBC" = "sys" ; then
19381 if test "$wxUSE_ODBC" = "yes" ; then
19382 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19383 cat >>confdefs.h <<\_ACEOF
19384 #define wxUSE_ODBC 1
19389 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19390 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19392 WIN32INSTALL=win32install
19395 if test "$wxUSE_GUI" = "yes"; then
19404 if test "$wxUSE_MSW" = 1 ; then
19409 if test "$wxUSE_GTK" = 1; then
19410 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19411 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19413 gtk_version_cached=1
19414 if test "${wx_cv_lib_gtk+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19418 gtk_version_cached=0
19419 echo "$as_me:$LINENO: result: " >&5
19420 echo "${ECHO_T}" >&6
19423 if test "$wxUSE_THREADS" = "yes"; then
19424 GTK_MODULES=gthread
19428 if test "x$wxUSE_GTK2" = "xyes"; then
19429 # Check whether --enable-gtktest or --disable-gtktest was given.
19430 if test "${enable_gtktest+set}" = set; then
19431 enableval="$enable_gtktest"
19437 pkg_config_args=gtk+-2.0
19438 for module in . $GTK_MODULES
19442 pkg_config_args="$pkg_config_args gthread-2.0"
19449 # Extract the first word of "pkg-config", so it can be a program name with args.
19450 set dummy pkg-config; ac_word=$2
19451 echo "$as_me:$LINENO: checking for $ac_word" >&5
19452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19453 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 case $PKG_CONFIG in
19458 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19462 for as_dir in $PATH
19465 test -z "$as_dir" && as_dir=.
19466 for ac_exec_ext in '' $ac_executable_extensions; do
19467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19468 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19475 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19479 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19481 if test -n "$PKG_CONFIG"; then
19482 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19483 echo "${ECHO_T}$PKG_CONFIG" >&6
19485 echo "$as_me:$LINENO: result: no" >&5
19486 echo "${ECHO_T}no" >&6
19490 if test x$PKG_CONFIG != xno ; then
19491 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19494 echo *** pkg-config too old; version 0.7 or better required.
19502 min_gtk_version=2.0.0
19503 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19504 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19506 if test x$PKG_CONFIG != xno ; then
19507 ## don't try to run the test against uninstalled libtool libs
19508 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19509 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19513 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19520 if test x"$no_gtk" = x ; then
19521 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19522 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19523 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19525 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19527 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19529 if test "x$enable_gtktest" = "xyes" ; then
19530 ac_save_CFLAGS="$CFLAGS"
19531 ac_save_LIBS="$LIBS"
19532 CFLAGS="$CFLAGS $GTK_CFLAGS"
19533 LIBS="$GTK_LIBS $LIBS"
19535 if test "$cross_compiling" = yes; then
19536 echo $ac_n "cross compiling; assumed OK... $ac_c"
19538 cat >conftest.$ac_ext <<_ACEOF
19539 #line $LINENO "configure"
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19546 #include <gtk/gtk.h>
19548 #include <stdlib.h>
19553 int major, minor, micro;
19556 system ("touch conf.gtktest");
19558 /* HP/UX 9 (%@#!) writes to sscanf strings */
19559 tmp_version = g_strdup("$min_gtk_version");
19560 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19561 printf("%s, bad version string\n", "$min_gtk_version");
19565 if ((gtk_major_version != $gtk_config_major_version) ||
19566 (gtk_minor_version != $gtk_config_minor_version) ||
19567 (gtk_micro_version != $gtk_config_micro_version))
19569 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19570 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19571 gtk_major_version, gtk_minor_version, gtk_micro_version);
19572 printf ("*** was found! If pkg-config was correct, then it is best\n");
19573 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19574 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19575 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19576 printf("*** required on your system.\n");
19577 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19578 printf("*** to point to the correct configuration files\n");
19580 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19581 (gtk_minor_version != GTK_MINOR_VERSION) ||
19582 (gtk_micro_version != GTK_MICRO_VERSION))
19584 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19585 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19586 printf("*** library (version %d.%d.%d)\n",
19587 gtk_major_version, gtk_minor_version, gtk_micro_version);
19591 if ((gtk_major_version > major) ||
19592 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19593 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19599 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19600 gtk_major_version, gtk_minor_version, gtk_micro_version);
19601 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19602 major, minor, micro);
19603 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19605 printf("*** If you have already installed a sufficiently new version, this error\n");
19606 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19607 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19608 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19609 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19610 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19611 printf("*** so that the correct libraries are found at run-time))\n");
19618 rm -f conftest$ac_exeext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19620 (eval $ac_link) 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19631 echo "$as_me: program exited with status $ac_status" >&5
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19635 ( exit $ac_status )
19638 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19640 CFLAGS="$ac_save_CFLAGS"
19641 LIBS="$ac_save_LIBS"
19644 if test "x$no_gtk" = x ; then
19645 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19646 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19649 echo "$as_me:$LINENO: result: no" >&5
19650 echo "${ECHO_T}no" >&6
19651 if test "$PKG_CONFIG" = "no" ; then
19652 echo "*** A new enough version of pkg-config was not found."
19653 echo "*** See http://pkgconfig.sourceforge.net"
19655 if test -f conf.gtktest ; then
19658 echo "*** Could not run GTK+ test program, checking why..."
19659 ac_save_CFLAGS="$CFLAGS"
19660 ac_save_LIBS="$LIBS"
19661 CFLAGS="$CFLAGS $GTK_CFLAGS"
19662 LIBS="$LIBS $GTK_LIBS"
19663 cat >conftest.$ac_ext <<_ACEOF
19664 #line $LINENO "configure"
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19671 #include <gtk/gtk.h>
19677 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19682 rm -f conftest.$ac_objext conftest$ac_exeext
19683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19684 (eval $ac_link) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try='test -s conftest$ac_exeext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19694 echo "*** The test program compiled, but did not run. This usually means"
19695 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19696 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19697 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19698 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19699 echo "*** is required on your system"
19701 echo "*** If you have an old version installed, it is best to remove it, although"
19702 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 echo "*** The test program failed to compile or link. See the file config.log for the"
19708 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19711 CFLAGS="$ac_save_CFLAGS"
19712 LIBS="$ac_save_LIBS"
19725 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19726 if test "${with_gtk_prefix+set}" = set; then
19727 withval="$with_gtk_prefix"
19728 gtk_config_prefix="$withval"
19730 gtk_config_prefix=""
19733 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19734 if test "${with_gtk_exec_prefix+set}" = set; then
19735 withval="$with_gtk_exec_prefix"
19736 gtk_config_exec_prefix="$withval"
19738 gtk_config_exec_prefix=""
19740 # Check whether --enable-gtktest or --disable-gtktest was given.
19741 if test "${enable_gtktest+set}" = set; then
19742 enableval="$enable_gtktest"
19748 for module in . $GTK_MODULES
19752 gtk_config_args="$gtk_config_args gthread"
19757 if test x$gtk_config_exec_prefix != x ; then
19758 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19759 if test x${GTK_CONFIG+set} != xset ; then
19760 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19763 if test x$gtk_config_prefix != x ; then
19764 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19765 if test x${GTK_CONFIG+set} != xset ; then
19766 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19770 # Extract the first word of "gtk-config", so it can be a program name with args.
19771 set dummy gtk-config; ac_word=$2
19772 echo "$as_me:$LINENO: checking for $ac_word" >&5
19773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19774 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19777 case $GTK_CONFIG in
19779 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19783 for as_dir in $PATH
19786 test -z "$as_dir" && as_dir=.
19787 for ac_exec_ext in '' $ac_executable_extensions; do
19788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19789 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19796 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19800 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19802 if test -n "$GTK_CONFIG"; then
19803 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19804 echo "${ECHO_T}$GTK_CONFIG" >&6
19806 echo "$as_me:$LINENO: result: no" >&5
19807 echo "${ECHO_T}no" >&6
19810 min_gtk_version=1.2.7
19811 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19812 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19814 if test "$GTK_CONFIG" = "no" ; then
19817 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19818 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19819 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19821 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19823 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19825 if test "x$enable_gtktest" = "xyes" ; then
19826 ac_save_CFLAGS="$CFLAGS"
19827 ac_save_LIBS="$LIBS"
19828 CFLAGS="$CFLAGS $GTK_CFLAGS"
19829 LIBS="$GTK_LIBS $LIBS"
19831 if test "$cross_compiling" = yes; then
19832 echo $ac_n "cross compiling; assumed OK... $ac_c"
19834 cat >conftest.$ac_ext <<_ACEOF
19835 #line $LINENO "configure"
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19842 #include <gtk/gtk.h>
19844 #include <stdlib.h>
19849 int major, minor, micro;
19852 system ("touch conf.gtktest");
19854 /* HP/UX 9 (%@#!) writes to sscanf strings */
19855 tmp_version = g_strdup("$min_gtk_version");
19856 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19857 printf("%s, bad version string\n", "$min_gtk_version");
19861 if ((gtk_major_version != $gtk_config_major_version) ||
19862 (gtk_minor_version != $gtk_config_minor_version) ||
19863 (gtk_micro_version != $gtk_config_micro_version))
19865 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19866 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19867 gtk_major_version, gtk_minor_version, gtk_micro_version);
19868 printf ("*** was found! If gtk-config was correct, then it is best\n");
19869 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19870 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19871 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19872 printf("*** required on your system.\n");
19873 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19874 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19875 printf("*** before re-running configure\n");
19877 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19878 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19879 (gtk_minor_version != GTK_MINOR_VERSION) ||
19880 (gtk_micro_version != GTK_MICRO_VERSION))
19882 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19883 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19884 printf("*** library (version %d.%d.%d)\n",
19885 gtk_major_version, gtk_minor_version, gtk_micro_version);
19887 #endif /* defined (GTK_MAJOR_VERSION) ... */
19890 if ((gtk_major_version > major) ||
19891 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19892 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19898 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19899 gtk_major_version, gtk_minor_version, gtk_micro_version);
19900 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19901 major, minor, micro);
19902 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19904 printf("*** If you have already installed a sufficiently new version, this error\n");
19905 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19906 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19907 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19908 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19909 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19910 printf("*** so that the correct libraries are found at run-time))\n");
19917 rm -f conftest$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19930 echo "$as_me: program exited with status $ac_status" >&5
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ( exit $ac_status )
19937 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19939 CFLAGS="$ac_save_CFLAGS"
19940 LIBS="$ac_save_LIBS"
19943 if test "x$no_gtk" = x ; then
19944 echo "$as_me:$LINENO: result: yes" >&5
19945 echo "${ECHO_T}yes" >&6
19946 wx_cv_lib_gtk=1.2.7
19948 echo "$as_me:$LINENO: result: no" >&5
19949 echo "${ECHO_T}no" >&6
19950 if test "$GTK_CONFIG" = "no" ; then
19951 echo "*** The gtk-config script installed by GTK could not be found"
19952 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19953 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19954 echo "*** full path to gtk-config."
19956 if test -f conf.gtktest ; then
19959 echo "*** Could not run GTK test program, checking why..."
19960 CFLAGS="$CFLAGS $GTK_CFLAGS"
19961 LIBS="$LIBS $GTK_LIBS"
19962 cat >conftest.$ac_ext <<_ACEOF
19963 #line $LINENO "configure"
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19970 #include <gtk/gtk.h>
19976 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19981 rm -f conftest.$ac_objext conftest$ac_exeext
19982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19983 (eval $ac_link) 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } &&
19987 { ac_try='test -s conftest$ac_exeext'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 echo "*** The test program compiled, but did not run. This usually means"
19994 echo "*** that the run-time linker is not finding GTK or finding the wrong"
19995 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
19996 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19997 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19998 echo "*** is required on your system"
20000 echo "*** If you have an old version installed, it is best to remove it, although"
20001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20003 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20004 echo "*** came with the system with the command"
20006 echo "*** rpm --erase --nodeps gtk gtk-devel"
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.$ac_ext >&5
20011 echo "*** The test program failed to compile or link. See the file config.log for the"
20012 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20013 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20014 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20017 CFLAGS="$ac_save_CFLAGS"
20018 LIBS="$ac_save_LIBS"
20030 if test -z "$wx_cv_lib_gtk"; then
20032 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20033 if test "${with_gtk_prefix+set}" = set; then
20034 withval="$with_gtk_prefix"
20035 gtk_config_prefix="$withval"
20037 gtk_config_prefix=""
20040 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20041 if test "${with_gtk_exec_prefix+set}" = set; then
20042 withval="$with_gtk_exec_prefix"
20043 gtk_config_exec_prefix="$withval"
20045 gtk_config_exec_prefix=""
20047 # Check whether --enable-gtktest or --disable-gtktest was given.
20048 if test "${enable_gtktest+set}" = set; then
20049 enableval="$enable_gtktest"
20055 for module in . $GTK_MODULES
20059 gtk_config_args="$gtk_config_args gthread"
20064 if test x$gtk_config_exec_prefix != x ; then
20065 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20066 if test x${GTK_CONFIG+set} != xset ; then
20067 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20070 if test x$gtk_config_prefix != x ; then
20071 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20072 if test x${GTK_CONFIG+set} != xset ; then
20073 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20077 # Extract the first word of "gtk-config", so it can be a program name with args.
20078 set dummy gtk-config; ac_word=$2
20079 echo "$as_me:$LINENO: checking for $ac_word" >&5
20080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20081 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20084 case $GTK_CONFIG in
20086 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20090 for as_dir in $PATH
20093 test -z "$as_dir" && as_dir=.
20094 for ac_exec_ext in '' $ac_executable_extensions; do
20095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20096 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20103 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20107 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20109 if test -n "$GTK_CONFIG"; then
20110 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20111 echo "${ECHO_T}$GTK_CONFIG" >&6
20113 echo "$as_me:$LINENO: result: no" >&5
20114 echo "${ECHO_T}no" >&6
20117 min_gtk_version=1.2.3
20118 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20119 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20121 if test "$GTK_CONFIG" = "no" ; then
20124 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20125 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20126 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20128 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20130 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20132 if test "x$enable_gtktest" = "xyes" ; then
20133 ac_save_CFLAGS="$CFLAGS"
20134 ac_save_LIBS="$LIBS"
20135 CFLAGS="$CFLAGS $GTK_CFLAGS"
20136 LIBS="$GTK_LIBS $LIBS"
20138 if test "$cross_compiling" = yes; then
20139 echo $ac_n "cross compiling; assumed OK... $ac_c"
20141 cat >conftest.$ac_ext <<_ACEOF
20142 #line $LINENO "configure"
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20149 #include <gtk/gtk.h>
20151 #include <stdlib.h>
20156 int major, minor, micro;
20159 system ("touch conf.gtktest");
20161 /* HP/UX 9 (%@#!) writes to sscanf strings */
20162 tmp_version = g_strdup("$min_gtk_version");
20163 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20164 printf("%s, bad version string\n", "$min_gtk_version");
20168 if ((gtk_major_version != $gtk_config_major_version) ||
20169 (gtk_minor_version != $gtk_config_minor_version) ||
20170 (gtk_micro_version != $gtk_config_micro_version))
20172 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20173 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20174 gtk_major_version, gtk_minor_version, gtk_micro_version);
20175 printf ("*** was found! If gtk-config was correct, then it is best\n");
20176 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20177 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20178 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20179 printf("*** required on your system.\n");
20180 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20181 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20182 printf("*** before re-running configure\n");
20184 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20185 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20186 (gtk_minor_version != GTK_MINOR_VERSION) ||
20187 (gtk_micro_version != GTK_MICRO_VERSION))
20189 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20190 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20191 printf("*** library (version %d.%d.%d)\n",
20192 gtk_major_version, gtk_minor_version, gtk_micro_version);
20194 #endif /* defined (GTK_MAJOR_VERSION) ... */
20197 if ((gtk_major_version > major) ||
20198 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20199 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20205 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20206 gtk_major_version, gtk_minor_version, gtk_micro_version);
20207 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20208 major, minor, micro);
20209 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20211 printf("*** If you have already installed a sufficiently new version, this error\n");
20212 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20213 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20214 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20215 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20216 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20217 printf("*** so that the correct libraries are found at run-time))\n");
20224 rm -f conftest$ac_exeext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20237 echo "$as_me: program exited with status $ac_status" >&5
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20241 ( exit $ac_status )
20244 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20246 CFLAGS="$ac_save_CFLAGS"
20247 LIBS="$ac_save_LIBS"
20250 if test "x$no_gtk" = x ; then
20251 echo "$as_me:$LINENO: result: yes" >&5
20252 echo "${ECHO_T}yes" >&6
20253 wx_cv_lib_gtk=1.2.3
20255 echo "$as_me:$LINENO: result: no" >&5
20256 echo "${ECHO_T}no" >&6
20257 if test "$GTK_CONFIG" = "no" ; then
20258 echo "*** The gtk-config script installed by GTK could not be found"
20259 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20260 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20261 echo "*** full path to gtk-config."
20263 if test -f conf.gtktest ; then
20266 echo "*** Could not run GTK test program, checking why..."
20267 CFLAGS="$CFLAGS $GTK_CFLAGS"
20268 LIBS="$LIBS $GTK_LIBS"
20269 cat >conftest.$ac_ext <<_ACEOF
20270 #line $LINENO "configure"
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20277 #include <gtk/gtk.h>
20283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20288 rm -f conftest.$ac_objext conftest$ac_exeext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try='test -s conftest$ac_exeext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 echo "*** The test program compiled, but did not run. This usually means"
20301 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20302 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20305 echo "*** is required on your system"
20307 echo "*** If you have an old version installed, it is best to remove it, although"
20308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20310 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20311 echo "*** came with the system with the command"
20313 echo "*** rpm --erase --nodeps gtk gtk-devel"
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20318 echo "*** The test program failed to compile or link. See the file config.log for the"
20319 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20320 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20321 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20324 CFLAGS="$ac_save_CFLAGS"
20325 LIBS="$ac_save_LIBS"
20339 if test -z "$wx_cv_lib_gtk"; then
20342 wx_cv_cflags_gtk=$GTK_CFLAGS
20343 wx_cv_libs_gtk=$GTK_LIBS
20350 if test "$gtk_version_cached" = 1; then
20351 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20352 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20355 case "$wx_cv_lib_gtk" in
20364 *) { { echo "$as_me:$LINENO: error:
20365 Please check that gtk-config is in path, the directory
20366 where GTK+ libraries are installed (returned by
20367 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20368 equivalent variable and GTK+ is version 1.2.3 or above.
20370 echo "$as_me: error:
20371 Please check that gtk-config is in path, the directory
20372 where GTK+ libraries are installed (returned by
20373 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20374 equivalent variable and GTK+ is version 1.2.3 or above.
20376 { (exit 1); exit 1; }; }
20380 if test "$WXGTK20" = 1; then
20381 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20385 if test -z "$PKG_CONFIG"; then
20386 # Extract the first word of "pkg-config", so it can be a program name with args.
20387 set dummy pkg-config; ac_word=$2
20388 echo "$as_me:$LINENO: checking for $ac_word" >&5
20389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20390 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 case $PKG_CONFIG in
20395 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20399 for as_dir in $PATH
20402 test -z "$as_dir" && as_dir=.
20403 for ac_exec_ext in '' $ac_executable_extensions; do
20404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20405 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20412 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20416 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20418 if test -n "$PKG_CONFIG"; then
20419 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20420 echo "${ECHO_T}$PKG_CONFIG" >&6
20422 echo "$as_me:$LINENO: result: no" >&5
20423 echo "${ECHO_T}no" >&6
20428 if test "$PKG_CONFIG" = "no" ; then
20429 echo "*** The pkg-config script could not be found. Make sure it is"
20430 echo "*** in your path, or set the PKG_CONFIG environment variable"
20431 echo "*** to the full path to pkg-config."
20432 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20434 PKG_CONFIG_MIN_VERSION=0.9.0
20435 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20436 echo "$as_me:$LINENO: checking for pangoft2" >&5
20437 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20439 if $PKG_CONFIG --exists "pangoft2" ; then
20440 echo "$as_me:$LINENO: result: yes" >&5
20441 echo "${ECHO_T}yes" >&6
20444 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20445 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20446 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20447 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20448 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20450 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20451 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20452 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20453 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20454 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20458 ## If we have a custom action on failure, don't print errors, but
20459 ## do set a variable so people can do so.
20460 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20467 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20468 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20472 if test $succeeded = yes; then
20474 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20479 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20480 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20481 wxUSE_PRINTING_ARCHITECTURE="no"
20488 if test "$wxUSE_UNICODE" = "yes"; then
20489 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20490 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20495 if test "$USE_DARWIN" != 1; then
20497 for ac_func in poll
20499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20500 echo "$as_me:$LINENO: checking for $ac_func" >&5
20501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20502 if eval "test \"\${$as_ac_var+set}\" = set"; then
20503 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 cat >conftest.$ac_ext <<_ACEOF
20506 #line $LINENO "configure"
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 /* System header to define __stub macros and hopefully few prototypes,
20513 which can conflict with char $ac_func (); below.
20514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20515 <limits.h> exists even on freestanding compilers. */
20517 # include <limits.h>
20519 # include <assert.h>
20521 /* Override any gcc2 internal prototype to avoid an error. */
20526 /* We use char because int might match the return type of a gcc2
20527 builtin and then its argument prototype would still apply. */
20529 /* The GNU C library defines this for functions which it implements
20530 to always fail with ENOSYS. Some functions are actually named
20531 something starting with __ and the normal name is an alias. */
20532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20535 char (*f) () = $ac_func;
20544 return f != $ac_func;
20549 rm -f conftest.$ac_objext conftest$ac_exeext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20551 (eval $ac_link) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -s conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 eval "$as_ac_var=yes"
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 eval "$as_ac_var=no"
20568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20572 if test `eval echo '${'$as_ac_var'}'` = yes; then
20573 cat >>confdefs.h <<_ACEOF
20574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20582 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20583 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20585 AFMINSTALL=afminstall
20589 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20590 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20591 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20594 ac_check_lib_save_LIBS=$LIBS
20596 cat >conftest.$ac_ext <<_ACEOF
20597 #line $LINENO "configure"
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20604 /* Override any gcc2 internal prototype to avoid an error. */
20608 /* We use char because int might match the return type of a gcc2
20609 builtin and then its argument prototype would still apply. */
20610 char gdk_im_open ();
20619 rm -f conftest.$ac_objext conftest$ac_exeext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20621 (eval $ac_link) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } &&
20625 { ac_try='test -s conftest$ac_exeext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 ac_cv_lib_gdk_gdk_im_open=yes
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20636 ac_cv_lib_gdk_gdk_im_open=no
20638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20639 LIBS=$ac_check_lib_save_LIBS
20641 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20642 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20643 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20644 cat >>confdefs.h <<\_ACEOF
20652 if test "$wxUSE_MGL" = 1; then
20653 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20654 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20655 if test "x$MGL_ROOT" = x ; then
20656 echo "$as_me:$LINENO: result: not found" >&5
20657 echo "${ECHO_T}not found" >&6
20658 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20659 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20660 { (exit 1); exit 1; }; }
20662 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20663 echo "${ECHO_T}$MGL_ROOT" >&6
20666 echo "$as_me:$LINENO: checking for libmgl location" >&5
20667 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20670 if test "x$wxUSE_SHARED" = xyes ; then
20671 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20673 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20677 mgl_os_candidates="dos32/dj2"
20680 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20681 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20682 { (exit 1); exit 1; }; }
20688 for mgl_os_i in $mgl_os_candidates ; do
20689 if test "x$mgl_os" = x ; then
20690 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20691 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20692 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20697 if test "x$mgl_lib_type" = x ; then
20698 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20699 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20700 mgl_lib_type=release
20707 if test "x$mgl_os" = x ; then
20708 echo "$as_me:$LINENO: result: not found" >&5
20709 echo "${ECHO_T}not found" >&6
20710 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20711 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20712 { (exit 1); exit 1; }; }
20714 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20715 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20717 wxUSE_UNIVERSAL="yes"
20719 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20720 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20722 AFMINSTALL=afminstall
20727 if test "$wxUSE_MICROWIN" = 1; then
20728 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20729 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20730 if test "x$MICROWINDOWS" = x ; then
20731 echo "$as_me:$LINENO: result: not found" >&5
20732 echo "${ECHO_T}not found" >&6
20733 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20734 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20735 { (exit 1); exit 1; }; }
20737 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20738 echo "${ECHO_T}$MICROWINDOWS" >&6
20741 if test -f $MICROWINDOWS/lib/libmwin.a; then
20742 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20743 echo "${ECHO_T}MicroWindows' libraries found." >&6
20745 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20746 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20747 { (exit 1); exit 1; }; }
20750 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20751 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20753 wxUSE_UNIVERSAL="yes"
20755 AFMINSTALL=afminstall
20757 GUIDIST=MICROWIN_DIST
20759 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20762 if test "$wxUSE_X11" = 1; then
20763 echo "$as_me:$LINENO: checking for X" >&5
20764 echo $ECHO_N "checking for X... $ECHO_C" >&6
20767 # Check whether --with-x or --without-x was given.
20768 if test "${with_x+set}" = set; then
20772 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20773 if test "x$with_x" = xno; then
20774 # The user explicitly disabled X.
20777 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20778 # Both variables are already set.
20781 if test "${ac_cv_have_x+set}" = set; then
20782 echo $ECHO_N "(cached) $ECHO_C" >&6
20784 # One or both of the vars are not set, and there is no cached value.
20785 ac_x_includes=no ac_x_libraries=no
20786 rm -fr conftest.dir
20787 if mkdir conftest.dir; then
20789 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20790 cat >Imakefile <<'_ACEOF'
20792 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20794 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20796 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20797 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20798 for ac_extension in a so sl; do
20799 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20800 test -f $ac_im_libdir/libX11.$ac_extension; then
20801 ac_im_usrlibdir=$ac_im_libdir; break
20804 # Screen out bogus values from the imake configuration. They are
20805 # bogus both because they are the default anyway, and because
20806 # using them would break gcc on systems where it needs fixed includes.
20807 case $ac_im_incroot in
20809 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20811 case $ac_im_usrlibdir in
20812 /usr/lib | /lib) ;;
20813 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20817 rm -fr conftest.dir
20820 # Standard set of common directories for X headers.
20821 # Check X11 before X11Rn because it is often a symlink to the current release.
20833 /usr/local/X11/include
20834 /usr/local/X11R6/include
20835 /usr/local/X11R5/include
20836 /usr/local/X11R4/include
20838 /usr/local/include/X11
20839 /usr/local/include/X11R6
20840 /usr/local/include/X11R5
20841 /usr/local/include/X11R4
20845 /usr/XFree86/include/X11
20849 /usr/unsupported/include
20850 /usr/athena/include
20851 /usr/local/x11r5/include
20852 /usr/lpp/Xamples/include
20854 /usr/openwin/include
20855 /usr/openwin/share/include'
20857 if test "$ac_x_includes" = no; then
20858 # Guess where to find include files, by looking for Intrinsic.h.
20859 # First, try using that file with no special directory specified.
20860 cat >conftest.$ac_ext <<_ACEOF
20861 #line $LINENO "configure"
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 #include <X11/Intrinsic.h>
20869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20872 grep -v '^ *+' conftest.er1 >conftest.err
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } >/dev/null; then
20877 if test -s conftest.err; then
20878 ac_cpp_err=$ac_c_preproc_warn_flag
20885 if test -z "$ac_cpp_err"; then
20886 # We can compile using X headers with no special include directory.
20889 echo "$as_me: failed program was:" >&5
20890 sed 's/^/| /' conftest.$ac_ext >&5
20892 for ac_dir in $ac_x_header_dirs; do
20893 if test -r "$ac_dir/X11/Intrinsic.h"; then
20894 ac_x_includes=$ac_dir
20899 rm -f conftest.err conftest.$ac_ext
20900 fi # $ac_x_includes = no
20902 if test "$ac_x_libraries" = no; then
20903 # Check for the libraries.
20904 # See if we find them without any special options.
20905 # Don't add to $LIBS permanently.
20908 cat >conftest.$ac_ext <<_ACEOF
20909 #line $LINENO "configure"
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 #include <X11/Intrinsic.h>
20924 rm -f conftest.$ac_objext conftest$ac_exeext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20926 (eval $ac_link) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } &&
20930 { ac_try='test -s conftest$ac_exeext'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; }; then
20937 # We can link X programs with no special library path.
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20944 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20946 # Don't even attempt the hair of trying to link an X program!
20947 for ac_extension in a so sl; do
20948 if test -r $ac_dir/libXt.$ac_extension; then
20949 ac_x_libraries=$ac_dir
20955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20956 fi # $ac_x_libraries = no
20958 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20959 # Didn't find X anywhere. Cache the known absence of X.
20960 ac_cv_have_x="have_x=no"
20962 # Record where we found X for the cache.
20963 ac_cv_have_x="have_x=yes \
20964 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20969 eval "$ac_cv_have_x"
20972 if test "$have_x" != yes; then
20973 echo "$as_me:$LINENO: result: $have_x" >&5
20974 echo "${ECHO_T}$have_x" >&6
20977 # If each of the values was on the command line, it overrides each guess.
20978 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20979 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20980 # Update the cache value to reflect the command line values.
20981 ac_cv_have_x="have_x=yes \
20982 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20983 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20984 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20987 if test "$no_x" = yes; then
20988 # Not all programs may use this symbol, but it does not hurt to define it.
20990 cat >>confdefs.h <<\_ACEOF
20991 #define X_DISPLAY_MISSING 1
20994 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20996 if test -n "$x_includes"; then
20997 X_CFLAGS="$X_CFLAGS -I$x_includes"
21000 # It would also be nice to do this for all -L options, not just this one.
21001 if test -n "$x_libraries"; then
21002 X_LIBS="$X_LIBS -L$x_libraries"
21003 # For Solaris; some versions of Sun CC require a space after -R and
21004 # others require no space. Words are not sufficient . . . .
21005 case `(uname -sr) 2>/dev/null` in
21007 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21008 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21009 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21010 cat >conftest.$ac_ext <<_ACEOF
21011 #line $LINENO "configure"
21014 cat confdefs.h >>conftest.$ac_ext
21015 cat >>conftest.$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21026 rm -f conftest.$ac_objext conftest$ac_exeext
21027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21028 (eval $ac_link) 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try='test -s conftest$ac_exeext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21046 if test $ac_R_nospace = yes; then
21047 echo "$as_me:$LINENO: result: no" >&5
21048 echo "${ECHO_T}no" >&6
21049 X_LIBS="$X_LIBS -R$x_libraries"
21051 LIBS="$ac_xsave_LIBS -R $x_libraries"
21052 cat >conftest.$ac_ext <<_ACEOF
21053 #line $LINENO "configure"
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
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
21082 echo "$as_me: failed program was:" >&5
21083 sed 's/^/| /' conftest.$ac_ext >&5
21087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21088 if test $ac_R_space = yes; then
21089 echo "$as_me:$LINENO: result: yes" >&5
21090 echo "${ECHO_T}yes" >&6
21091 X_LIBS="$X_LIBS -R $x_libraries"
21093 echo "$as_me:$LINENO: result: neither works" >&5
21094 echo "${ECHO_T}neither works" >&6
21097 LIBS=$ac_xsave_LIBS
21101 # Check for system-dependent libraries X programs must link with.
21102 # Do this before checking for the system-independent R6 libraries
21103 # (-lICE), since we may need -lsocket or whatever for X linking.
21105 if test "$ISC" = yes; then
21106 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21108 # Martyn Johnson says this is needed for Ultrix, if the X
21109 # libraries were built with DECnet support. And Karl Berry says
21110 # the Alpha needs dnet_stub (dnet does not exist).
21111 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21112 cat >conftest.$ac_ext <<_ACEOF
21113 #line $LINENO "configure"
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21120 /* Override any gcc2 internal prototype to avoid an error. */
21124 /* We use char because int might match the return type of a gcc2
21125 builtin and then its argument prototype would still apply. */
21126 char XOpenDisplay ();
21135 rm -f conftest.$ac_objext conftest$ac_exeext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21137 (eval $ac_link) 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try='test -s conftest$ac_exeext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.$ac_ext >&5
21152 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21153 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21154 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 ac_check_lib_save_LIBS=$LIBS
21158 LIBS="-ldnet $LIBS"
21159 cat >conftest.$ac_ext <<_ACEOF
21160 #line $LINENO "configure"
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21167 /* Override any gcc2 internal prototype to avoid an error. */
21171 /* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21182 rm -f conftest.$ac_objext conftest$ac_exeext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } &&
21188 { ac_try='test -s conftest$ac_exeext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 ac_cv_lib_dnet_dnet_ntoa=yes
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.$ac_ext >&5
21199 ac_cv_lib_dnet_dnet_ntoa=no
21201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21202 LIBS=$ac_check_lib_save_LIBS
21204 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21205 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21206 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21210 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21211 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21212 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21213 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21216 ac_check_lib_save_LIBS=$LIBS
21217 LIBS="-ldnet_stub $LIBS"
21218 cat >conftest.$ac_ext <<_ACEOF
21219 #line $LINENO "configure"
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21226 /* Override any gcc2 internal prototype to avoid an error. */
21230 /* We use char because int might match the return type of a gcc2
21231 builtin and then its argument prototype would still apply. */
21241 rm -f conftest.$ac_objext conftest$ac_exeext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243 (eval $ac_link) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } &&
21247 { ac_try='test -s conftest$ac_exeext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 ac_cv_lib_dnet_stub_dnet_ntoa=no
21260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21261 LIBS=$ac_check_lib_save_LIBS
21263 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21264 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21265 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21266 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21272 LIBS="$ac_xsave_LIBS"
21274 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21275 # to get the SysV transport functions.
21276 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21278 # The nsl library prevents programs from opening the X display
21279 # on Irix 5.2, according to T.E. Dickey.
21280 # The functions gethostbyname, getservbyname, and inet_addr are
21281 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21282 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21283 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21284 if test "${ac_cv_func_gethostbyname+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 cat >conftest.$ac_ext <<_ACEOF
21288 #line $LINENO "configure"
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 /* System header to define __stub macros and hopefully few prototypes,
21295 which can conflict with char gethostbyname (); below.
21296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21297 <limits.h> exists even on freestanding compilers. */
21299 # include <limits.h>
21301 # include <assert.h>
21303 /* Override any gcc2 internal prototype to avoid an error. */
21308 /* We use char because int might match the return type of a gcc2
21309 builtin and then its argument prototype would still apply. */
21310 char gethostbyname ();
21311 /* The GNU C library defines this for functions which it implements
21312 to always fail with ENOSYS. Some functions are actually named
21313 something starting with __ and the normal name is an alias. */
21314 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21317 char (*f) () = gethostbyname;
21326 return f != gethostbyname;
21331 rm -f conftest.$ac_objext conftest$ac_exeext
21332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21333 (eval $ac_link) 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } &&
21337 { ac_try='test -s conftest$ac_exeext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_cv_func_gethostbyname=yes
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21348 ac_cv_func_gethostbyname=no
21350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21352 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21353 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21355 if test $ac_cv_func_gethostbyname = no; then
21356 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21357 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21358 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 ac_check_lib_save_LIBS=$LIBS
21363 cat >conftest.$ac_ext <<_ACEOF
21364 #line $LINENO "configure"
21367 cat confdefs.h >>conftest.$ac_ext
21368 cat >>conftest.$ac_ext <<_ACEOF
21369 /* end confdefs.h. */
21371 /* Override any gcc2 internal prototype to avoid an error. */
21375 /* We use char because int might match the return type of a gcc2
21376 builtin and then its argument prototype would still apply. */
21377 char gethostbyname ();
21386 rm -f conftest.$ac_objext conftest$ac_exeext
21387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21388 (eval $ac_link) 2>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } &&
21392 { ac_try='test -s conftest$ac_exeext'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; }; then
21398 ac_cv_lib_nsl_gethostbyname=yes
21400 echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.$ac_ext >&5
21403 ac_cv_lib_nsl_gethostbyname=no
21405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21406 LIBS=$ac_check_lib_save_LIBS
21408 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21409 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21410 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21414 if test $ac_cv_lib_nsl_gethostbyname = no; then
21415 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21416 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21417 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21418 echo $ECHO_N "(cached) $ECHO_C" >&6
21420 ac_check_lib_save_LIBS=$LIBS
21422 cat >conftest.$ac_ext <<_ACEOF
21423 #line $LINENO "configure"
21426 cat confdefs.h >>conftest.$ac_ext
21427 cat >>conftest.$ac_ext <<_ACEOF
21428 /* end confdefs.h. */
21430 /* Override any gcc2 internal prototype to avoid an error. */
21434 /* We use char because int might match the return type of a gcc2
21435 builtin and then its argument prototype would still apply. */
21436 char gethostbyname ();
21445 rm -f conftest.$ac_objext conftest$ac_exeext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -s conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_lib_bsd_gethostbyname=yes
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21462 ac_cv_lib_bsd_gethostbyname=no
21464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465 LIBS=$ac_check_lib_save_LIBS
21467 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21477 # socket/setsockopt and other routines are undefined under SCO ODT
21478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21479 # on later versions), says Simon Leinen: it contains gethostby*
21480 # variants that don't use the name server (or something). -lsocket
21481 # must be given before -lnsl if both are needed. We assume that
21482 # if connect needs -lnsl, so does gethostbyname.
21483 echo "$as_me:$LINENO: checking for connect" >&5
21484 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21485 if test "${ac_cv_func_connect+set}" = set; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 cat >conftest.$ac_ext <<_ACEOF
21489 #line $LINENO "configure"
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 /* System header to define __stub macros and hopefully few prototypes,
21496 which can conflict with char connect (); below.
21497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21498 <limits.h> exists even on freestanding compilers. */
21500 # include <limits.h>
21502 # include <assert.h>
21504 /* Override any gcc2 internal prototype to avoid an error. */
21509 /* We use char because int might match the return type of a gcc2
21510 builtin and then its argument prototype would still apply. */
21512 /* The GNU C library defines this for functions which it implements
21513 to always fail with ENOSYS. Some functions are actually named
21514 something starting with __ and the normal name is an alias. */
21515 #if defined (__stub_connect) || defined (__stub___connect)
21518 char (*f) () = connect;
21527 return f != connect;
21532 rm -f conftest.$ac_objext conftest$ac_exeext
21533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21534 (eval $ac_link) 2>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } &&
21538 { ac_try='test -s conftest$ac_exeext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 ac_cv_func_connect=yes
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21549 ac_cv_func_connect=no
21551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21553 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21554 echo "${ECHO_T}$ac_cv_func_connect" >&6
21556 if test $ac_cv_func_connect = no; then
21557 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21558 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21559 if test "${ac_cv_lib_socket_connect+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 ac_check_lib_save_LIBS=$LIBS
21563 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21564 cat >conftest.$ac_ext <<_ACEOF
21565 #line $LINENO "configure"
21568 cat confdefs.h >>conftest.$ac_ext
21569 cat >>conftest.$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21572 /* Override any gcc2 internal prototype to avoid an error. */
21576 /* We use char because int might match the return type of a gcc2
21577 builtin and then its argument prototype would still apply. */
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
21599 ac_cv_lib_socket_connect=yes
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21604 ac_cv_lib_socket_connect=no
21606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21607 LIBS=$ac_check_lib_save_LIBS
21609 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21610 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21611 if test $ac_cv_lib_socket_connect = yes; then
21612 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21617 # Guillermo Gomez says -lposix is necessary on A/UX.
21618 echo "$as_me:$LINENO: checking for remove" >&5
21619 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21620 if test "${ac_cv_func_remove+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21623 cat >conftest.$ac_ext <<_ACEOF
21624 #line $LINENO "configure"
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 /* System header to define __stub macros and hopefully few prototypes,
21631 which can conflict with char remove (); below.
21632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21633 <limits.h> exists even on freestanding compilers. */
21635 # include <limits.h>
21637 # include <assert.h>
21639 /* Override any gcc2 internal prototype to avoid an error. */
21644 /* We use char because int might match the return type of a gcc2
21645 builtin and then its argument prototype would still apply. */
21647 /* The GNU C library defines this for functions which it implements
21648 to always fail with ENOSYS. Some functions are actually named
21649 something starting with __ and the normal name is an alias. */
21650 #if defined (__stub_remove) || defined (__stub___remove)
21653 char (*f) () = remove;
21662 return f != remove;
21667 rm -f conftest.$ac_objext conftest$ac_exeext
21668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21669 (eval $ac_link) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } &&
21673 { ac_try='test -s conftest$ac_exeext'
21674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21675 (eval $ac_try) 2>&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); }; }; then
21679 ac_cv_func_remove=yes
21681 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.$ac_ext >&5
21684 ac_cv_func_remove=no
21686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21688 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21689 echo "${ECHO_T}$ac_cv_func_remove" >&6
21691 if test $ac_cv_func_remove = no; then
21692 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21693 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21694 if test "${ac_cv_lib_posix_remove+set}" = set; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 ac_check_lib_save_LIBS=$LIBS
21698 LIBS="-lposix $LIBS"
21699 cat >conftest.$ac_ext <<_ACEOF
21700 #line $LINENO "configure"
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21707 /* Override any gcc2 internal prototype to avoid an error. */
21711 /* We use char because int might match the return type of a gcc2
21712 builtin and then its argument prototype would still apply. */
21722 rm -f conftest.$ac_objext conftest$ac_exeext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21724 (eval $ac_link) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } &&
21728 { ac_try='test -s conftest$ac_exeext'
21729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730 (eval $ac_try) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 ac_cv_lib_posix_remove=yes
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21739 ac_cv_lib_posix_remove=no
21741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21742 LIBS=$ac_check_lib_save_LIBS
21744 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21745 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21746 if test $ac_cv_lib_posix_remove = yes; then
21747 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21752 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21753 echo "$as_me:$LINENO: checking for shmat" >&5
21754 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21755 if test "${ac_cv_func_shmat+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 cat >conftest.$ac_ext <<_ACEOF
21759 #line $LINENO "configure"
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21765 /* System header to define __stub macros and hopefully few prototypes,
21766 which can conflict with char shmat (); below.
21767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21768 <limits.h> exists even on freestanding compilers. */
21770 # include <limits.h>
21772 # include <assert.h>
21774 /* Override any gcc2 internal prototype to avoid an error. */
21779 /* We use char because int might match the return type of a gcc2
21780 builtin and then its argument prototype would still apply. */
21782 /* The GNU C library defines this for functions which it implements
21783 to always fail with ENOSYS. Some functions are actually named
21784 something starting with __ and the normal name is an alias. */
21785 #if defined (__stub_shmat) || defined (__stub___shmat)
21788 char (*f) () = shmat;
21802 rm -f conftest.$ac_objext conftest$ac_exeext
21803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21804 (eval $ac_link) 2>&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } &&
21808 { ac_try='test -s conftest$ac_exeext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_cv_func_shmat=yes
21816 echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.$ac_ext >&5
21819 ac_cv_func_shmat=no
21821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21823 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21824 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21826 if test $ac_cv_func_shmat = no; then
21827 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21828 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21829 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 ac_check_lib_save_LIBS=$LIBS
21834 cat >conftest.$ac_ext <<_ACEOF
21835 #line $LINENO "configure"
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21842 /* Override any gcc2 internal prototype to avoid an error. */
21846 /* We use char because int might match the return type of a gcc2
21847 builtin and then its argument prototype would still apply. */
21857 rm -f conftest.$ac_objext conftest$ac_exeext
21858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21859 (eval $ac_link) 2>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } &&
21863 { ac_try='test -s conftest$ac_exeext'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; }; then
21869 ac_cv_lib_ipc_shmat=yes
21871 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5
21874 ac_cv_lib_ipc_shmat=no
21876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21877 LIBS=$ac_check_lib_save_LIBS
21879 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21880 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21881 if test $ac_cv_lib_ipc_shmat = yes; then
21882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21888 # Check for libraries that X11R6 Xt/Xaw programs need.
21889 ac_save_LDFLAGS=$LDFLAGS
21890 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21891 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21892 # check for ICE first), but we must link in the order -lSM -lICE or
21893 # we get undefined symbols. So assume we have SM if we have ICE.
21894 # These have to be linked with before -lX11, unlike the other
21895 # libraries we check for below, so use a different variable.
21896 # John Interrante, Karl Berry
21897 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21898 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21899 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 ac_check_lib_save_LIBS=$LIBS
21903 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21904 cat >conftest.$ac_ext <<_ACEOF
21905 #line $LINENO "configure"
21908 cat confdefs.h >>conftest.$ac_ext
21909 cat >>conftest.$ac_ext <<_ACEOF
21910 /* end confdefs.h. */
21912 /* Override any gcc2 internal prototype to avoid an error. */
21916 /* We use char because int might match the return type of a gcc2
21917 builtin and then its argument prototype would still apply. */
21918 char IceConnectionNumber ();
21922 IceConnectionNumber ();
21927 rm -f conftest.$ac_objext conftest$ac_exeext
21928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21929 (eval $ac_link) 2>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } &&
21933 { ac_try='test -s conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 ac_cv_lib_ICE_IceConnectionNumber=yes
21941 echo "$as_me: failed program was:" >&5
21942 sed 's/^/| /' conftest.$ac_ext >&5
21944 ac_cv_lib_ICE_IceConnectionNumber=no
21946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21947 LIBS=$ac_check_lib_save_LIBS
21949 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21950 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21951 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21952 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21955 LDFLAGS=$ac_save_LDFLAGS
21960 if test "$no_x" = "yes"; then
21961 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21962 echo "$as_me: error: X11 not found" >&2;}
21963 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21966 GUI_TK_LIBRARY="$X_LIBS"
21967 TOOLKIT_INCLUDE="$X_CFLAGS"
21968 AFMINSTALL=afminstall
21969 COMPILED_X_PROGRAM=0
21971 if test "$wxUSE_NANOX" = "yes"; then
21972 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21973 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21974 if test "x$MICROWIN" = x ; then
21975 echo "$as_me:$LINENO: result: not found" >&5
21976 echo "${ECHO_T}not found" >&6
21977 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21978 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21979 { (exit 1); exit 1; }; }
21981 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21982 echo "${ECHO_T}$MICROWIN" >&6
21983 cat >>confdefs.h <<\_ACEOF
21984 #define wxUSE_NANOX 1
21991 echo "$as_me:$LINENO: checking for Xpm library" >&5
21992 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
21995 for ac_dir in $SEARCH_LIB /usr/lib;
21997 for ac_extension in a so sl dylib; do
21998 if test -f "$ac_dir/libXpm.$ac_extension"; then
21999 ac_find_libraries=$ac_dir
22005 if test "$ac_find_libraries" != "" ; then
22007 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22009 if test $result = 0; then
22012 ac_path_to_link=" -L$ac_find_libraries"
22015 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22017 cat >>confdefs.h <<\_ACEOF
22018 #define wxHAVE_LIB_XPM 1
22021 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22022 echo "${ECHO_T}found at $ac_find_libraries" >&6
22024 cat >conftest.$ac_ext <<_ACEOF
22025 #line $LINENO "configure"
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22032 #include <X11/xpm.h>
22039 version = XpmLibraryVersion();
22045 rm -f conftest.$ac_objext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22047 (eval $ac_compile) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try='test -s conftest.$ac_objext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22059 cat >>confdefs.h <<\_ACEOF
22060 #define wxHAVE_LIB_XPM 1
22063 echo "$as_me:$LINENO: result: found in default search path" >&5
22064 echo "${ECHO_T}found in default search path" >&6
22065 COMPILED_X_PROGRAM=0
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22072 echo "$as_me:$LINENO: result: no" >&5
22073 echo "${ECHO_T}no" >&6
22074 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22075 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22079 rm -f conftest.$ac_objext conftest.$ac_ext
22082 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22083 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22084 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 ac_check_lib_save_LIBS=$LIBS
22088 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22089 cat >conftest.$ac_ext <<_ACEOF
22090 #line $LINENO "configure"
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22097 /* Override any gcc2 internal prototype to avoid an error. */
22101 /* We use char because int might match the return type of a gcc2
22102 builtin and then its argument prototype would still apply. */
22103 char XShapeQueryExtension ();
22107 XShapeQueryExtension ();
22112 rm -f conftest.$ac_objext conftest$ac_exeext
22113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22114 (eval $ac_link) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try='test -s conftest$ac_exeext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 ac_cv_lib_Xext_XShapeQueryExtension=yes
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.$ac_ext >&5
22129 ac_cv_lib_Xext_XShapeQueryExtension=no
22131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22132 LIBS=$ac_check_lib_save_LIBS
22134 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22135 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22136 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22138 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22144 if test "$wxUSE_UNICODE" = "yes"; then
22148 if test -z "$PKG_CONFIG"; then
22149 # Extract the first word of "pkg-config", so it can be a program name with args.
22150 set dummy pkg-config; ac_word=$2
22151 echo "$as_me:$LINENO: checking for $ac_word" >&5
22152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22153 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22156 case $PKG_CONFIG in
22158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22162 for as_dir in $PATH
22165 test -z "$as_dir" && as_dir=.
22166 for ac_exec_ext in '' $ac_executable_extensions; do
22167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22175 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22179 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22181 if test -n "$PKG_CONFIG"; then
22182 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22183 echo "${ECHO_T}$PKG_CONFIG" >&6
22185 echo "$as_me:$LINENO: result: no" >&5
22186 echo "${ECHO_T}no" >&6
22191 if test "$PKG_CONFIG" = "no" ; then
22192 echo "*** The pkg-config script could not be found. Make sure it is"
22193 echo "*** in your path, or set the PKG_CONFIG environment variable"
22194 echo "*** to the full path to pkg-config."
22195 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22197 PKG_CONFIG_MIN_VERSION=0.9.0
22198 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22199 echo "$as_me:$LINENO: checking for pangox" >&5
22200 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22202 if $PKG_CONFIG --exists "pangox" ; then
22203 echo "$as_me:$LINENO: result: yes" >&5
22204 echo "${ECHO_T}yes" >&6
22207 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22208 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22209 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22210 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22211 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22213 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22214 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22215 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22216 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22217 echo "${ECHO_T}$PANGOX_LIBS" >&6
22221 ## If we have a custom action on failure, don't print errors, but
22222 ## do set a variable so people can do so.
22223 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22230 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22231 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22235 if test $succeeded = yes; then
22237 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22242 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22243 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22244 { (exit 1); exit 1; }; }
22252 if test -z "$PKG_CONFIG"; then
22253 # Extract the first word of "pkg-config", so it can be a program name with args.
22254 set dummy pkg-config; ac_word=$2
22255 echo "$as_me:$LINENO: checking for $ac_word" >&5
22256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22257 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22258 echo $ECHO_N "(cached) $ECHO_C" >&6
22260 case $PKG_CONFIG in
22262 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22266 for as_dir in $PATH
22269 test -z "$as_dir" && as_dir=.
22270 for ac_exec_ext in '' $ac_executable_extensions; do
22271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22272 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22279 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22283 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22285 if test -n "$PKG_CONFIG"; then
22286 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22287 echo "${ECHO_T}$PKG_CONFIG" >&6
22289 echo "$as_me:$LINENO: result: no" >&5
22290 echo "${ECHO_T}no" >&6
22295 if test "$PKG_CONFIG" = "no" ; then
22296 echo "*** The pkg-config script could not be found. Make sure it is"
22297 echo "*** in your path, or set the PKG_CONFIG environment variable"
22298 echo "*** to the full path to pkg-config."
22299 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22301 PKG_CONFIG_MIN_VERSION=0.9.0
22302 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22303 echo "$as_me:$LINENO: checking for pangoft2" >&5
22304 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22306 if $PKG_CONFIG --exists "pangoft2" ; then
22307 echo "$as_me:$LINENO: result: yes" >&5
22308 echo "${ECHO_T}yes" >&6
22311 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22312 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22313 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22314 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22315 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22317 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22318 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22319 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22320 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22321 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22325 ## If we have a custom action on failure, don't print errors, but
22326 ## do set a variable so people can do so.
22327 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22334 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22335 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22339 if test $succeeded = yes; then
22341 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22346 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22347 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22348 wxUSE_PRINTING_ARCHITECTURE="no"
22356 if test -z "$PKG_CONFIG"; then
22357 # Extract the first word of "pkg-config", so it can be a program name with args.
22358 set dummy pkg-config; ac_word=$2
22359 echo "$as_me:$LINENO: checking for $ac_word" >&5
22360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 case $PKG_CONFIG in
22366 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22370 for as_dir in $PATH
22373 test -z "$as_dir" && as_dir=.
22374 for ac_exec_ext in '' $ac_executable_extensions; do
22375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22376 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22389 if test -n "$PKG_CONFIG"; then
22390 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22391 echo "${ECHO_T}$PKG_CONFIG" >&6
22393 echo "$as_me:$LINENO: result: no" >&5
22394 echo "${ECHO_T}no" >&6
22399 if test "$PKG_CONFIG" = "no" ; then
22400 echo "*** The pkg-config script could not be found. Make sure it is"
22401 echo "*** in your path, or set the PKG_CONFIG environment variable"
22402 echo "*** to the full path to pkg-config."
22403 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22405 PKG_CONFIG_MIN_VERSION=0.9.0
22406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22407 echo "$as_me:$LINENO: checking for pangoxft" >&5
22408 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22410 if $PKG_CONFIG --exists "pangoxft" ; then
22411 echo "$as_me:$LINENO: result: yes" >&5
22412 echo "${ECHO_T}yes" >&6
22415 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22416 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22417 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22418 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22419 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22421 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22422 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22423 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22424 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22425 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22429 ## If we have a custom action on failure, don't print errors, but
22430 ## do set a variable so people can do so.
22431 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22438 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22443 if test $succeeded = yes; then
22445 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22450 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22451 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22458 wxUSE_UNIVERSAL="yes"
22460 if test "$wxUSE_NANOX" = "yes"; then
22461 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22462 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"
22463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22465 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22468 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22473 if test "$wxUSE_MOTIF" = 1; then
22474 if test "$no_x" = yes; then
22475 # Not all programs may use this symbol, but it does not hurt to define it.
22477 cat >>confdefs.h <<\_ACEOF
22478 #define X_DISPLAY_MISSING 1
22481 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22483 if test -n "$x_includes"; then
22484 X_CFLAGS="$X_CFLAGS -I$x_includes"
22487 # It would also be nice to do this for all -L options, not just this one.
22488 if test -n "$x_libraries"; then
22489 X_LIBS="$X_LIBS -L$x_libraries"
22490 # For Solaris; some versions of Sun CC require a space after -R and
22491 # others require no space. Words are not sufficient . . . .
22492 case `(uname -sr) 2>/dev/null` in
22494 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22495 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22496 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22497 cat >conftest.$ac_ext <<_ACEOF
22498 #line $LINENO "configure"
22501 cat confdefs.h >>conftest.$ac_ext
22502 cat >>conftest.$ac_ext <<_ACEOF
22503 /* end confdefs.h. */
22513 rm -f conftest.$ac_objext conftest$ac_exeext
22514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22515 (eval $ac_link) 2>&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } &&
22519 { ac_try='test -s conftest$ac_exeext'
22520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521 (eval $ac_try) 2>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); }; }; then
22527 echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.$ac_ext >&5
22532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22533 if test $ac_R_nospace = yes; then
22534 echo "$as_me:$LINENO: result: no" >&5
22535 echo "${ECHO_T}no" >&6
22536 X_LIBS="$X_LIBS -R$x_libraries"
22538 LIBS="$ac_xsave_LIBS -R $x_libraries"
22539 cat >conftest.$ac_ext <<_ACEOF
22540 #line $LINENO "configure"
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22555 rm -f conftest.$ac_objext conftest$ac_exeext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22557 (eval $ac_link) 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try='test -s conftest$ac_exeext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22575 if test $ac_R_space = yes; then
22576 echo "$as_me:$LINENO: result: yes" >&5
22577 echo "${ECHO_T}yes" >&6
22578 X_LIBS="$X_LIBS -R $x_libraries"
22580 echo "$as_me:$LINENO: result: neither works" >&5
22581 echo "${ECHO_T}neither works" >&6
22584 LIBS=$ac_xsave_LIBS
22588 # Check for system-dependent libraries X programs must link with.
22589 # Do this before checking for the system-independent R6 libraries
22590 # (-lICE), since we may need -lsocket or whatever for X linking.
22592 if test "$ISC" = yes; then
22593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22595 # Martyn Johnson says this is needed for Ultrix, if the X
22596 # libraries were built with DECnet support. And Karl Berry says
22597 # the Alpha needs dnet_stub (dnet does not exist).
22598 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22599 cat >conftest.$ac_ext <<_ACEOF
22600 #line $LINENO "configure"
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22607 /* Override any gcc2 internal prototype to avoid an error. */
22611 /* We use char because int might match the return type of a gcc2
22612 builtin and then its argument prototype would still apply. */
22613 char XOpenDisplay ();
22622 rm -f conftest.$ac_objext conftest$ac_exeext
22623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22639 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22640 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22641 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22644 ac_check_lib_save_LIBS=$LIBS
22645 LIBS="-ldnet $LIBS"
22646 cat >conftest.$ac_ext <<_ACEOF
22647 #line $LINENO "configure"
22650 cat confdefs.h >>conftest.$ac_ext
22651 cat >>conftest.$ac_ext <<_ACEOF
22652 /* end confdefs.h. */
22654 /* Override any gcc2 internal prototype to avoid an error. */
22658 /* We use char because int might match the return type of a gcc2
22659 builtin and then its argument prototype would still apply. */
22669 rm -f conftest.$ac_objext conftest$ac_exeext
22670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22671 (eval $ac_link) 2>&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } &&
22675 { ac_try='test -s conftest$ac_exeext'
22676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22677 (eval $ac_try) 2>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); }; }; then
22681 ac_cv_lib_dnet_dnet_ntoa=yes
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.$ac_ext >&5
22686 ac_cv_lib_dnet_dnet_ntoa=no
22688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22689 LIBS=$ac_check_lib_save_LIBS
22691 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22692 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22693 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22694 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22697 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22698 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22699 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22700 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 ac_check_lib_save_LIBS=$LIBS
22704 LIBS="-ldnet_stub $LIBS"
22705 cat >conftest.$ac_ext <<_ACEOF
22706 #line $LINENO "configure"
22709 cat confdefs.h >>conftest.$ac_ext
22710 cat >>conftest.$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22713 /* Override any gcc2 internal prototype to avoid an error. */
22717 /* We use char because int might match the return type of a gcc2
22718 builtin and then its argument prototype would still apply. */
22728 rm -f conftest.$ac_objext conftest$ac_exeext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22730 (eval $ac_link) 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } &&
22734 { ac_try='test -s conftest$ac_exeext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22745 ac_cv_lib_dnet_stub_dnet_ntoa=no
22747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22748 LIBS=$ac_check_lib_save_LIBS
22750 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22751 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22752 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22753 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22759 LIBS="$ac_xsave_LIBS"
22761 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22762 # to get the SysV transport functions.
22763 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22765 # The nsl library prevents programs from opening the X display
22766 # on Irix 5.2, according to T.E. Dickey.
22767 # The functions gethostbyname, getservbyname, and inet_addr are
22768 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22769 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22770 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22771 if test "${ac_cv_func_gethostbyname+set}" = set; then
22772 echo $ECHO_N "(cached) $ECHO_C" >&6
22774 cat >conftest.$ac_ext <<_ACEOF
22775 #line $LINENO "configure"
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 /* System header to define __stub macros and hopefully few prototypes,
22782 which can conflict with char gethostbyname (); below.
22783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22784 <limits.h> exists even on freestanding compilers. */
22786 # include <limits.h>
22788 # include <assert.h>
22790 /* Override any gcc2 internal prototype to avoid an error. */
22795 /* We use char because int might match the return type of a gcc2
22796 builtin and then its argument prototype would still apply. */
22797 char gethostbyname ();
22798 /* The GNU C library defines this for functions which it implements
22799 to always fail with ENOSYS. Some functions are actually named
22800 something starting with __ and the normal name is an alias. */
22801 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22804 char (*f) () = gethostbyname;
22813 return f != gethostbyname;
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22820 (eval $ac_link) 2>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try='test -s conftest$ac_exeext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_func_gethostbyname=yes
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22835 ac_cv_func_gethostbyname=no
22837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22839 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22840 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22842 if test $ac_cv_func_gethostbyname = no; then
22843 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22844 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22845 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22846 echo $ECHO_N "(cached) $ECHO_C" >&6
22848 ac_check_lib_save_LIBS=$LIBS
22850 cat >conftest.$ac_ext <<_ACEOF
22851 #line $LINENO "configure"
22854 cat confdefs.h >>conftest.$ac_ext
22855 cat >>conftest.$ac_ext <<_ACEOF
22856 /* end confdefs.h. */
22858 /* Override any gcc2 internal prototype to avoid an error. */
22862 /* We use char because int might match the return type of a gcc2
22863 builtin and then its argument prototype would still apply. */
22864 char gethostbyname ();
22873 rm -f conftest.$ac_objext conftest$ac_exeext
22874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22875 (eval $ac_link) 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } &&
22879 { ac_try='test -s conftest$ac_exeext'
22880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881 (eval $ac_try) 2>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); }; }; then
22885 ac_cv_lib_nsl_gethostbyname=yes
22887 echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.$ac_ext >&5
22890 ac_cv_lib_nsl_gethostbyname=no
22892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22893 LIBS=$ac_check_lib_save_LIBS
22895 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22896 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22897 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22898 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22901 if test $ac_cv_lib_nsl_gethostbyname = no; then
22902 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22903 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22904 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22905 echo $ECHO_N "(cached) $ECHO_C" >&6
22907 ac_check_lib_save_LIBS=$LIBS
22909 cat >conftest.$ac_ext <<_ACEOF
22910 #line $LINENO "configure"
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22917 /* Override any gcc2 internal prototype to avoid an error. */
22921 /* We use char because int might match the return type of a gcc2
22922 builtin and then its argument prototype would still apply. */
22923 char gethostbyname ();
22932 rm -f conftest.$ac_objext conftest$ac_exeext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22934 (eval $ac_link) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_cv_lib_bsd_gethostbyname=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22949 ac_cv_lib_bsd_gethostbyname=no
22951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22952 LIBS=$ac_check_lib_save_LIBS
22954 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22955 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22956 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22964 # socket/setsockopt and other routines are undefined under SCO ODT
22965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22966 # on later versions), says Simon Leinen: it contains gethostby*
22967 # variants that don't use the name server (or something). -lsocket
22968 # must be given before -lnsl if both are needed. We assume that
22969 # if connect needs -lnsl, so does gethostbyname.
22970 echo "$as_me:$LINENO: checking for connect" >&5
22971 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22972 if test "${ac_cv_func_connect+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22975 cat >conftest.$ac_ext <<_ACEOF
22976 #line $LINENO "configure"
22979 cat confdefs.h >>conftest.$ac_ext
22980 cat >>conftest.$ac_ext <<_ACEOF
22981 /* end confdefs.h. */
22982 /* System header to define __stub macros and hopefully few prototypes,
22983 which can conflict with char connect (); below.
22984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22985 <limits.h> exists even on freestanding compilers. */
22987 # include <limits.h>
22989 # include <assert.h>
22991 /* Override any gcc2 internal prototype to avoid an error. */
22996 /* We use char because int might match the return type of a gcc2
22997 builtin and then its argument prototype would still apply. */
22999 /* The GNU C library defines this for functions which it implements
23000 to always fail with ENOSYS. Some functions are actually named
23001 something starting with __ and the normal name is an alias. */
23002 #if defined (__stub_connect) || defined (__stub___connect)
23005 char (*f) () = connect;
23014 return f != connect;
23019 rm -f conftest.$ac_objext conftest$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try='test -s conftest$ac_exeext'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; }; then
23031 ac_cv_func_connect=yes
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23036 ac_cv_func_connect=no
23038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23040 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23041 echo "${ECHO_T}$ac_cv_func_connect" >&6
23043 if test $ac_cv_func_connect = no; then
23044 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23045 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23046 if test "${ac_cv_lib_socket_connect+set}" = set; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23049 ac_check_lib_save_LIBS=$LIBS
23050 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23051 cat >conftest.$ac_ext <<_ACEOF
23052 #line $LINENO "configure"
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23059 /* Override any gcc2 internal prototype to avoid an error. */
23063 /* We use char because int might match the return type of a gcc2
23064 builtin and then its argument prototype would still apply. */
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
23086 ac_cv_lib_socket_connect=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23091 ac_cv_lib_socket_connect=no
23093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23094 LIBS=$ac_check_lib_save_LIBS
23096 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23097 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23098 if test $ac_cv_lib_socket_connect = yes; then
23099 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23104 # Guillermo Gomez says -lposix is necessary on A/UX.
23105 echo "$as_me:$LINENO: checking for remove" >&5
23106 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23107 if test "${ac_cv_func_remove+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 cat >conftest.$ac_ext <<_ACEOF
23111 #line $LINENO "configure"
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 /* System header to define __stub macros and hopefully few prototypes,
23118 which can conflict with char remove (); below.
23119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23120 <limits.h> exists even on freestanding compilers. */
23122 # include <limits.h>
23124 # include <assert.h>
23126 /* Override any gcc2 internal prototype to avoid an error. */
23131 /* We use char because int might match the return type of a gcc2
23132 builtin and then its argument prototype would still apply. */
23134 /* The GNU C library defines this for functions which it implements
23135 to always fail with ENOSYS. Some functions are actually named
23136 something starting with __ and the normal name is an alias. */
23137 #if defined (__stub_remove) || defined (__stub___remove)
23140 char (*f) () = remove;
23149 return f != remove;
23154 rm -f conftest.$ac_objext conftest$ac_exeext
23155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23156 (eval $ac_link) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } &&
23160 { ac_try='test -s conftest$ac_exeext'
23161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23162 (eval $ac_try) 2>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; }; then
23166 ac_cv_func_remove=yes
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.$ac_ext >&5
23171 ac_cv_func_remove=no
23173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23175 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23176 echo "${ECHO_T}$ac_cv_func_remove" >&6
23178 if test $ac_cv_func_remove = no; then
23179 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23180 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23181 if test "${ac_cv_lib_posix_remove+set}" = set; then
23182 echo $ECHO_N "(cached) $ECHO_C" >&6
23184 ac_check_lib_save_LIBS=$LIBS
23185 LIBS="-lposix $LIBS"
23186 cat >conftest.$ac_ext <<_ACEOF
23187 #line $LINENO "configure"
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23194 /* Override any gcc2 internal prototype to avoid an error. */
23198 /* We use char because int might match the return type of a gcc2
23199 builtin and then its argument prototype would still apply. */
23209 rm -f conftest.$ac_objext conftest$ac_exeext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23211 (eval $ac_link) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try='test -s conftest$ac_exeext'
23216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217 (eval $ac_try) 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 ac_cv_lib_posix_remove=yes
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.$ac_ext >&5
23226 ac_cv_lib_posix_remove=no
23228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23229 LIBS=$ac_check_lib_save_LIBS
23231 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23232 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23233 if test $ac_cv_lib_posix_remove = yes; then
23234 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23239 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23240 echo "$as_me:$LINENO: checking for shmat" >&5
23241 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23242 if test "${ac_cv_func_shmat+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 cat >conftest.$ac_ext <<_ACEOF
23246 #line $LINENO "configure"
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252 /* System header to define __stub macros and hopefully few prototypes,
23253 which can conflict with char shmat (); below.
23254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23255 <limits.h> exists even on freestanding compilers. */
23257 # include <limits.h>
23259 # include <assert.h>
23261 /* Override any gcc2 internal prototype to avoid an error. */
23266 /* We use char because int might match the return type of a gcc2
23267 builtin and then its argument prototype would still apply. */
23269 /* The GNU C library defines this for functions which it implements
23270 to always fail with ENOSYS. Some functions are actually named
23271 something starting with __ and the normal name is an alias. */
23272 #if defined (__stub_shmat) || defined (__stub___shmat)
23275 char (*f) () = shmat;
23289 rm -f conftest.$ac_objext conftest$ac_exeext
23290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23291 (eval $ac_link) 2>&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } &&
23295 { ac_try='test -s conftest$ac_exeext'
23296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23297 (eval $ac_try) 2>&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); }; }; then
23301 ac_cv_func_shmat=yes
23303 echo "$as_me: failed program was:" >&5
23304 sed 's/^/| /' conftest.$ac_ext >&5
23306 ac_cv_func_shmat=no
23308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23310 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23311 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23313 if test $ac_cv_func_shmat = no; then
23314 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23315 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23316 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 ac_check_lib_save_LIBS=$LIBS
23321 cat >conftest.$ac_ext <<_ACEOF
23322 #line $LINENO "configure"
23325 cat confdefs.h >>conftest.$ac_ext
23326 cat >>conftest.$ac_ext <<_ACEOF
23327 /* end confdefs.h. */
23329 /* Override any gcc2 internal prototype to avoid an error. */
23333 /* We use char because int might match the return type of a gcc2
23334 builtin and then its argument prototype would still apply. */
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23346 (eval $ac_link) 2>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -s conftest$ac_exeext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 ac_cv_lib_ipc_shmat=yes
23358 echo "$as_me: failed program was:" >&5
23359 sed 's/^/| /' conftest.$ac_ext >&5
23361 ac_cv_lib_ipc_shmat=no
23363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23364 LIBS=$ac_check_lib_save_LIBS
23366 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23367 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23368 if test $ac_cv_lib_ipc_shmat = yes; then
23369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23375 # Check for libraries that X11R6 Xt/Xaw programs need.
23376 ac_save_LDFLAGS=$LDFLAGS
23377 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23379 # check for ICE first), but we must link in the order -lSM -lICE or
23380 # we get undefined symbols. So assume we have SM if we have ICE.
23381 # These have to be linked with before -lX11, unlike the other
23382 # libraries we check for below, so use a different variable.
23383 # John Interrante, Karl Berry
23384 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23385 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23386 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23387 echo $ECHO_N "(cached) $ECHO_C" >&6
23389 ac_check_lib_save_LIBS=$LIBS
23390 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23391 cat >conftest.$ac_ext <<_ACEOF
23392 #line $LINENO "configure"
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23399 /* Override any gcc2 internal prototype to avoid an error. */
23403 /* We use char because int might match the return type of a gcc2
23404 builtin and then its argument prototype would still apply. */
23405 char IceConnectionNumber ();
23409 IceConnectionNumber ();
23414 rm -f conftest.$ac_objext conftest$ac_exeext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416 (eval $ac_link) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } &&
23420 { ac_try='test -s conftest$ac_exeext'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; }; then
23426 ac_cv_lib_ICE_IceConnectionNumber=yes
23428 echo "$as_me: failed program was:" >&5
23429 sed 's/^/| /' conftest.$ac_ext >&5
23431 ac_cv_lib_ICE_IceConnectionNumber=no
23433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23434 LIBS=$ac_check_lib_save_LIBS
23436 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23437 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23438 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23439 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23442 LDFLAGS=$ac_save_LDFLAGS
23447 if test "$no_x" = "yes"; then
23448 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23449 echo "$as_me: error: X11 not found" >&2;}
23450 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23453 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23454 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23455 AFMINSTALL=afminstall
23456 COMPILED_X_PROGRAM=0
23458 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23459 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23462 for ac_dir in $SEARCH_INCLUDE /usr/include;
23464 if test -f "$ac_dir/Xm/Xm.h"; then
23465 ac_find_includes=$ac_dir
23470 if test "$ac_find_includes" != "" ; then
23471 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23472 echo "${ECHO_T}found in $ac_find_includes" >&6
23474 if test "x$ac_find_includes" = "x/usr/include"; then
23475 ac_path_to_include=""
23477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23479 if test $result = 0; then
23480 ac_path_to_include=""
23482 ac_path_to_include=" -I$ac_find_includes"
23486 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23488 cat >conftest.$ac_ext <<_ACEOF
23489 #line $LINENO "configure"
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23503 version = xmUseVersion;
23509 rm -f conftest.$ac_objext
23510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23511 (eval $ac_compile) 2>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try='test -s conftest.$ac_objext'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; }; then
23522 echo "$as_me:$LINENO: result: found in default search path" >&5
23523 echo "${ECHO_T}found in default search path" >&6
23524 COMPILED_X_PROGRAM=1
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.$ac_ext >&5
23531 echo "$as_me:$LINENO: result: no" >&5
23532 echo "${ECHO_T}no" >&6
23533 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23534 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23535 { (exit 1); exit 1; }; }
23539 rm -f conftest.$ac_objext conftest.$ac_ext
23542 if test "$COMPILED_X_PROGRAM" = 0; then
23543 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23544 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23547 for ac_dir in $SEARCH_LIB /usr/lib;
23549 for ac_extension in a so sl dylib; do
23550 if test -f "$ac_dir/libXm.$ac_extension"; then
23551 ac_find_libraries=$ac_dir
23557 if test "$ac_find_libraries" != "" ; then
23558 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23559 echo "${ECHO_T}found at $ac_find_libraries" >&6
23562 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23564 if test $result = 0; then
23567 ac_path_to_link=" -L$ac_find_libraries"
23570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23572 save_CFLAGS=$CFLAGS
23573 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23575 cat >conftest.$ac_ext <<_ACEOF
23576 #line $LINENO "configure"
23579 cat confdefs.h >>conftest.$ac_ext
23580 cat >>conftest.$ac_ext <<_ACEOF
23581 /* end confdefs.h. */
23590 version = xmUseVersion;
23596 rm -f conftest.$ac_objext
23597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23598 (eval $ac_compile) 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try='test -s conftest.$ac_objext'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; }; then
23609 echo "$as_me:$LINENO: result: found in default search path" >&5
23610 echo "${ECHO_T}found in default search path" >&6
23611 COMPILED_X_PROGRAM=1
23614 echo "$as_me: failed program was:" >&5
23615 sed 's/^/| /' conftest.$ac_ext >&5
23618 echo "$as_me:$LINENO: result: no" >&5
23619 echo "${ECHO_T}no" >&6
23620 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23621 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23622 { (exit 1); exit 1; }; }
23626 rm -f conftest.$ac_objext conftest.$ac_ext
23628 CFLAGS=$save_CFLAGS
23633 echo "$as_me:$LINENO: checking for Xpm library" >&5
23634 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23637 for ac_dir in $SEARCH_LIB /usr/lib;
23639 for ac_extension in a so sl dylib; do
23640 if test -f "$ac_dir/libXpm.$ac_extension"; then
23641 ac_find_libraries=$ac_dir
23647 if test "$ac_find_libraries" != "" ; then
23649 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23651 if test $result = 0; then
23654 ac_path_to_link=" -L$ac_find_libraries"
23657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23660 cat >>confdefs.h <<\_ACEOF
23661 #define wxHAVE_LIB_XPM 1
23664 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23665 echo "${ECHO_T}found at $ac_find_libraries" >&6
23667 save_CFLAGS=$CFLAGS
23668 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23670 cat >conftest.$ac_ext <<_ACEOF
23671 #line $LINENO "configure"
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23678 #include <X11/xpm.h>
23685 version = XpmLibraryVersion();
23691 rm -f conftest.$ac_objext
23692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23693 (eval $ac_compile) 2>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); } &&
23697 { ac_try='test -s conftest.$ac_objext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23705 cat >>confdefs.h <<\_ACEOF
23706 #define wxHAVE_LIB_XPM 1
23709 echo "$as_me:$LINENO: result: found in default search path" >&5
23710 echo "${ECHO_T}found in default search path" >&6
23711 COMPILED_X_PROGRAM=0
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.$ac_ext >&5
23718 echo "$as_me:$LINENO: result: no" >&5
23719 echo "${ECHO_T}no" >&6
23720 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23721 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23725 rm -f conftest.$ac_objext conftest.$ac_ext
23727 CFLAGS=$save_CFLAGS
23730 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23731 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23735 for libp in "" " -lXp"; do
23736 if test "$libs_found" = "0"; then
23737 for libsm_ice in " -lSM -lICE"; do
23738 if test "$libs_found" = "0"; then
23740 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23741 save_CFLAGS=$CFLAGS
23742 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23744 cat >conftest.$ac_ext <<_ACEOF
23745 #line $LINENO "configure"
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23753 #include <Xm/List.h>
23759 XmString string = NULL;
23762 XmListAddItem(w, string, position);
23768 rm -f conftest.$ac_objext conftest$ac_exeext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23770 (eval $ac_link) 2>&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } &&
23774 { ac_try='test -s conftest$ac_exeext'
23775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23776 (eval $ac_try) 2>&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); }; }; then
23782 libsm_ice_link="$libsm_ice"
23783 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23784 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23788 echo "$as_me: failed program was:" >&5
23789 sed 's/^/| /' conftest.$ac_ext >&5
23794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23797 CFLAGS=$save_CFLAGS
23803 if test "$libs_found" = "0"; then
23804 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23805 echo "${ECHO_T}can't find the right libraries" >&6
23806 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23807 echo "$as_me: error: can't link a simple motif program" >&2;}
23808 { (exit 1); exit 1; }; }
23811 save_CFLAGS=$CFLAGS
23812 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23813 echo "$as_me:$LINENO: checking for Motif 2" >&5
23814 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23815 cat >conftest.$ac_ext <<_ACEOF
23816 #line $LINENO "configure"
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23829 #if XmVersion < 2000
23830 #error "Not Motif 2"
23837 rm -f conftest.$ac_objext
23838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23839 (eval $ac_compile) 2>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } &&
23843 { ac_try='test -s conftest.$ac_objext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23850 cat >>confdefs.h <<\_ACEOF
23851 #define __WXMOTIF20__ 1
23854 echo "$as_me:$LINENO: result: found" >&5
23855 echo "${ECHO_T}found" >&6
23858 echo "$as_me: failed program was:" >&5
23859 sed 's/^/| /' conftest.$ac_ext >&5
23862 cat >>confdefs.h <<\_ACEOF
23863 #define __WXMOTIF20__ 0
23866 echo "$as_me:$LINENO: result: not found" >&5
23867 echo "${ECHO_T}not found" >&6
23870 rm -f conftest.$ac_objext conftest.$ac_ext
23871 CFLAGS=$save_CFLAGS
23873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23874 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23880 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23881 test "$wxHAVE_XEXT_LIB" = 1; then
23882 save_CFLAGS="$CFLAGS"
23883 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23885 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23886 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23887 cat >conftest.$ac_ext <<_ACEOF
23888 #line $LINENO "configure"
23891 cat confdefs.h >>conftest.$ac_ext
23892 cat >>conftest.$ac_ext <<_ACEOF
23893 /* end confdefs.h. */
23895 #include <X11/Xlib.h>
23896 #include <X11/extensions/shape.h>
23902 int dummy1, dummy2;
23903 XShapeQueryExtension((Display*)NULL,
23904 (int*)NULL, (int*)NULL);
23910 rm -f conftest.$ac_objext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23912 (eval $ac_compile) 2>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } &&
23916 { ac_try='test -s conftest.$ac_objext'
23917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23918 (eval $ac_try) 2>&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); }; }; then
23923 cat >>confdefs.h <<\_ACEOF
23924 #define HAVE_XSHAPE 1
23927 echo "$as_me:$LINENO: result: found" >&5
23928 echo "${ECHO_T}found" >&6
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23935 echo "$as_me:$LINENO: result: not found" >&5
23936 echo "${ECHO_T}not found" >&6
23939 rm -f conftest.$ac_objext conftest.$ac_ext
23940 CFLAGS="$save_CFLAGS"
23943 if test "$wxUSE_MAC" = 1; then
23944 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23946 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23951 if test "$wxUSE_COCOA" = 1; then
23952 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23957 if test "$wxUSE_PM" = 1; then
23960 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23961 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23965 if test "$TOOLKIT" = "PM" ; then
23968 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23971 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23973 if test "$wxUSE_UNIVERSAL" = "yes"; then
23974 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23976 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23977 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23979 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23980 if test "$wxUSE_X11" = 1; then
23981 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23983 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23985 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
23988 ALL_OBJECTS="\$(GUIOBJS)"
23989 ALL_SOURCES="\$(ALL_SOURCES)"
23990 ALL_HEADERS="\$(ALL_HEADERS)"
23993 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
23995 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
23996 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
23999 if test "$wxUSE_HTML" = "yes"; then
24000 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24003 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24004 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24006 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24007 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24009 if test "$wxUSE_LIBPNG" = "builtin" ; then
24010 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24013 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24014 DISTDIR="wx\$(TOOLKIT)"
24020 if test "$USE_WIN32" = 1 ; then
24021 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24022 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24026 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24027 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24030 ALL_SOURCES="\$(ALL_SOURCES)"
24031 ALL_HEADERS="\$(ALL_HEADERS)"
24033 PORT_FILES="\${top_srcdir}/src/files.lst"
24035 GUIDIST="BASE_DIST"
24045 if test "$TOOLKIT" != "MSW" ; then
24047 if test "$wxUSE_ODBC" != "no" ; then
24048 cat >>confdefs.h <<\_ACEOF
24049 #define wxUSE_ODBC 1
24052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24054 WXODBCFLAG="-D_IODBC_"
24057 if test "$wxUSE_ODBC" = "sys" ; then
24059 if test "${ac_cv_header_sql_h+set}" = set; then
24060 echo "$as_me:$LINENO: checking for sql.h" >&5
24061 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24062 if test "${ac_cv_header_sql_h+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24066 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24068 # Is the header compilable?
24069 echo "$as_me:$LINENO: checking sql.h usability" >&5
24070 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24071 cat >conftest.$ac_ext <<_ACEOF
24072 #line $LINENO "configure"
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24078 $ac_includes_default
24081 rm -f conftest.$ac_objext
24082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24083 (eval $ac_compile) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); } &&
24087 { ac_try='test -s conftest.$ac_objext'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; }; then
24093 ac_header_compiler=yes
24095 echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.$ac_ext >&5
24098 ac_header_compiler=no
24100 rm -f conftest.$ac_objext conftest.$ac_ext
24101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24102 echo "${ECHO_T}$ac_header_compiler" >&6
24104 # Is the header present?
24105 echo "$as_me:$LINENO: checking sql.h presence" >&5
24106 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24107 cat >conftest.$ac_ext <<_ACEOF
24108 #line $LINENO "configure"
24111 cat confdefs.h >>conftest.$ac_ext
24112 cat >>conftest.$ac_ext <<_ACEOF
24113 /* end confdefs.h. */
24116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24119 grep -v '^ *+' conftest.er1 >conftest.err
24121 cat conftest.err >&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); } >/dev/null; then
24124 if test -s conftest.err; then
24125 ac_cpp_err=$ac_c_preproc_warn_flag
24132 if test -z "$ac_cpp_err"; then
24133 ac_header_preproc=yes
24135 echo "$as_me: failed program was:" >&5
24136 sed 's/^/| /' conftest.$ac_ext >&5
24138 ac_header_preproc=no
24140 rm -f conftest.err conftest.$ac_ext
24141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24142 echo "${ECHO_T}$ac_header_preproc" >&6
24144 # So? What about this header?
24145 case $ac_header_compiler:$ac_header_preproc in
24147 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24148 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24149 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24150 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24153 ## ------------------------------------ ##
24154 ## Report this to bug-autoconf@gnu.org. ##
24155 ## ------------------------------------ ##
24158 sed "s/^/$as_me: WARNING: /" >&2
24161 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24162 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24163 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24164 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24165 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24166 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24169 ## ------------------------------------ ##
24170 ## Report this to bug-autoconf@gnu.org. ##
24171 ## ------------------------------------ ##
24174 sed "s/^/$as_me: WARNING: /" >&2
24177 echo "$as_me:$LINENO: checking for sql.h" >&5
24178 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24179 if test "${ac_cv_header_sql_h+set}" = set; then
24180 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 ac_cv_header_sql_h=$ac_header_preproc
24184 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24185 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24190 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24191 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24192 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_func_search_save_LIBS=$LIBS
24196 ac_cv_search_SQLAllocEnv=no
24197 cat >conftest.$ac_ext <<_ACEOF
24198 #line $LINENO "configure"
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24205 /* Override any gcc2 internal prototype to avoid an error. */
24209 /* We use char because int might match the return type of a gcc2
24210 builtin and then its argument prototype would still apply. */
24211 char SQLAllocEnv ();
24220 rm -f conftest.$ac_objext conftest$ac_exeext
24221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24222 (eval $ac_link) 2>&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } &&
24226 { ac_try='test -s conftest$ac_exeext'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; }; then
24232 ac_cv_search_SQLAllocEnv="none required"
24234 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.$ac_ext >&5
24238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24239 if test "$ac_cv_search_SQLAllocEnv" = no; then
24240 for ac_lib in iodbc unixodbc odbc ; do
24241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24242 cat >conftest.$ac_ext <<_ACEOF
24243 #line $LINENO "configure"
24246 cat confdefs.h >>conftest.$ac_ext
24247 cat >>conftest.$ac_ext <<_ACEOF
24248 /* end confdefs.h. */
24250 /* Override any gcc2 internal prototype to avoid an error. */
24254 /* We use char because int might match the return type of a gcc2
24255 builtin and then its argument prototype would still apply. */
24256 char SQLAllocEnv ();
24265 rm -f conftest.$ac_objext conftest$ac_exeext
24266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24267 (eval $ac_link) 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } &&
24271 { ac_try='test -s conftest$ac_exeext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24280 echo "$as_me: failed program was:" >&5
24281 sed 's/^/| /' conftest.$ac_ext >&5
24284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24287 LIBS=$ac_func_search_save_LIBS
24289 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24290 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24291 if test "$ac_cv_search_SQLAllocEnv" != no; then
24292 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24296 wxUSE_ODBC=builtin;
24297 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24298 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24303 if test "$wxUSE_ODBC" != "sys" ; then
24304 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24311 if test "$wxUSE_REGEX" = "builtin" ; then
24312 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24314 if test "$wxUSE_ZLIB" = "builtin" ; then
24315 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24319 if test "$wxUSE_OPENGL" = "yes"; then
24320 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24321 OPENGL_LIBS="-framework OpenGL -framework AGL"
24322 elif test "$wxUSE_MSW" = 1; then
24323 OPENGL_LIBS="-lopengl32 -lglu32"
24328 for ac_dir in $SEARCH_INCLUDE /usr/include;
24330 if test -f "$ac_dir/GL/gl.h"; then
24331 ac_find_includes=$ac_dir
24336 if test "$ac_find_includes" != "" ; then
24337 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24338 echo "${ECHO_T}found in $ac_find_includes" >&6
24341 if test "x$ac_find_includes" = "x/usr/include"; then
24342 ac_path_to_include=""
24344 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24346 if test $result = 0; then
24347 ac_path_to_include=""
24349 ac_path_to_include=" -I$ac_find_includes"
24353 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24357 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24358 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24359 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24360 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24364 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24366 # Is the header compilable?
24367 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24368 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24369 cat >conftest.$ac_ext <<_ACEOF
24370 #line $LINENO "configure"
24373 cat confdefs.h >>conftest.$ac_ext
24374 cat >>conftest.$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24376 $ac_includes_default
24379 rm -f conftest.$ac_objext
24380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24381 (eval $ac_compile) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } &&
24385 { ac_try='test -s conftest.$ac_objext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 ac_header_compiler=yes
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24396 ac_header_compiler=no
24398 rm -f conftest.$ac_objext conftest.$ac_ext
24399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24400 echo "${ECHO_T}$ac_header_compiler" >&6
24402 # Is the header present?
24403 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24404 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24405 cat >conftest.$ac_ext <<_ACEOF
24406 #line $LINENO "configure"
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24417 grep -v '^ *+' conftest.er1 >conftest.err
24419 cat conftest.err >&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } >/dev/null; then
24422 if test -s conftest.err; then
24423 ac_cpp_err=$ac_c_preproc_warn_flag
24430 if test -z "$ac_cpp_err"; then
24431 ac_header_preproc=yes
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24436 ac_header_preproc=no
24438 rm -f conftest.err conftest.$ac_ext
24439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24440 echo "${ECHO_T}$ac_header_preproc" >&6
24442 # So? What about this header?
24443 case $ac_header_compiler:$ac_header_preproc in
24445 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24446 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24447 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24448 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24451 ## ------------------------------------ ##
24452 ## Report this to bug-autoconf@gnu.org. ##
24453 ## ------------------------------------ ##
24456 sed "s/^/$as_me: WARNING: /" >&2
24459 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24460 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24462 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24464 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24467 ## ------------------------------------ ##
24468 ## Report this to bug-autoconf@gnu.org. ##
24469 ## ------------------------------------ ##
24472 sed "s/^/$as_me: WARNING: /" >&2
24475 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24476 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24477 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 ac_cv_header_GL_gl_h=$ac_header_preproc
24482 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24483 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24486 if test $ac_cv_header_GL_gl_h = yes; then
24490 echo "$as_me:$LINENO: checking for -lGL" >&5
24491 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24494 for ac_dir in $SEARCH_LIB /usr/lib;
24496 for ac_extension in a so sl dylib; do
24497 if test -f "$ac_dir/libGL.$ac_extension"; then
24498 ac_find_libraries=$ac_dir
24504 if test "$ac_find_libraries" != "" ; then
24506 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24508 if test $result = 0; then
24511 ac_path_to_link=" -L$ac_find_libraries"
24514 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24515 LDFLAGS_GL="$ac_path_to_link"
24520 for ac_dir in $SEARCH_LIB /usr/lib;
24522 for ac_extension in a so sl dylib; do
24523 if test -f "$ac_dir/libGLU.$ac_extension"; then
24524 ac_find_libraries=$ac_dir
24530 if test "$ac_find_libraries" != "" ; then
24532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24534 if test $result = 0; then
24537 ac_path_to_link=" -L$ac_find_libraries"
24540 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24541 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24542 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24546 OPENGL_LIBS="-lGL -lGLU"
24547 echo "$as_me:$LINENO: result: yes" >&5
24548 echo "${ECHO_T}yes" >&6
24552 if "$found_gl" != 1; then
24553 echo "$as_me:$LINENO: result: no" >&5
24554 echo "${ECHO_T}no" >&6
24555 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24556 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24559 for ac_dir in $SEARCH_LIB /usr/lib;
24561 for ac_extension in a so sl dylib; do
24562 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24563 ac_find_libraries=$ac_dir
24569 if test "$ac_find_libraries" != "" ; then
24571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24573 if test $result = 0; then
24576 ac_path_to_link=" -L$ac_find_libraries"
24579 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24580 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24581 echo "$as_me:$LINENO: result: yes" >&5
24582 echo "${ECHO_T}yes" >&6
24584 echo "$as_me:$LINENO: result: no" >&5
24585 echo "${ECHO_T}no" >&6
24593 if test "x$OPENGL_LIBS" = "x"; then
24594 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24595 echo "$as_me: error: OpenGL libraries not available" >&2;}
24596 { (exit 1); exit 1; }; }
24600 if test "$wxUSE_OPENGL" = "yes"; then
24601 cat >>confdefs.h <<\_ACEOF
24602 #define wxUSE_OPENGL 1
24605 cat >>confdefs.h <<\_ACEOF
24606 #define wxUSE_GLCANVAS 1
24609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24613 if test -z "$TOOLKIT_VPATH" ; then
24614 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24617 if test -n "$TOOLKIT" ; then
24618 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24622 lib_unicode_suffix=
24623 if test "$wxUSE_UNICODE" = "yes"; then
24624 lib_unicode_suffix=u
24630 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24635 WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24637 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24638 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24640 if test "$cross_compiling" = "yes"; then
24641 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24642 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24645 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24646 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24647 WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24649 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24650 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24652 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24653 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24654 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24655 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24658 *-*-cygwin* | *-*-mingw32* )
24662 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24663 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24664 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24665 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24666 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24668 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24669 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24675 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24676 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24678 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24679 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24680 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24681 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24683 if test "$wxUSE_MAC" = 1; then
24684 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24685 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24690 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24691 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24693 WXCONFIG_LIBS="-l${WX_LIBRARY}"
24694 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24696 if test "$wxUSE_OPENGL" = "yes"; then
24697 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24698 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24703 if test "$wxUSE_SHARED" = "yes"; then
24705 *-pc-os2_emx | *-pc-os2-emx | \
24708 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24709 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24715 if test "$wxUSE_SHARED" = "yes"; then
24719 found_versioning=no
24722 if test $found_versioning = no ; then
24723 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24724 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24725 if test "${wx_cv_version_script+set}" = set; then
24726 echo $ECHO_N "(cached) $ECHO_C" >&6
24729 echo "VER_1 { *; };" >conftest.sym
24730 echo "int main() { return 0; }" >conftest.cpp
24733 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24734 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24736 (eval $ac_try) 2>&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); }; } ; then
24740 if test -s conftest.stderr ; then
24741 wx_cv_version_script=no
24743 wx_cv_version_script=yes
24746 wx_cv_version_script=no
24748 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24751 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24752 echo "${ECHO_T}$wx_cv_version_script" >&6
24753 if test $wx_cv_version_script = yes ; then
24754 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24760 *-*-linux* | *-*-gnu* )
24761 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24765 if test "$GCC" = yes ; then
24766 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24768 saveLdflags="$LDFLAGS"
24769 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24770 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24771 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24772 cat >conftest.$ac_ext <<_ACEOF
24773 #line $LINENO "configure"
24776 cat confdefs.h >>conftest.$ac_ext
24777 cat >>conftest.$ac_ext <<_ACEOF
24778 /* end confdefs.h. */
24788 rm -f conftest.$ac_objext conftest$ac_exeext
24789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24790 (eval $ac_link) 2>&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); } &&
24794 { ac_try='test -s conftest$ac_exeext'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; }; then
24801 echo "$as_me:$LINENO: result: yes" >&5
24802 echo "${ECHO_T}yes" >&6
24803 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24810 echo "$as_me:$LINENO: result: no" >&5
24811 echo "${ECHO_T}no" >&6
24812 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24813 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24814 LDFLAGS="$saveLdflags -Wl,-R,/"
24815 cat >conftest.$ac_ext <<_ACEOF
24816 #line $LINENO "configure"
24819 cat confdefs.h >>conftest.$ac_ext
24820 cat >>conftest.$ac_ext <<_ACEOF
24821 /* end confdefs.h. */
24831 rm -f conftest.$ac_objext conftest$ac_exeext
24832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24833 (eval $ac_link) 2>&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } &&
24837 { ac_try='test -s conftest$ac_exeext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24844 echo "$as_me:$LINENO: result: yes" >&5
24845 echo "${ECHO_T}yes" >&6
24846 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24852 echo "$as_me:$LINENO: result: no" >&5
24853 echo "${ECHO_T}no" >&6
24856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24860 LDFLAGS="$saveLdflags"
24862 SHARED_LD="${CXX} -G -o"
24864 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24868 *-*-cygwin* | *-*-mingw32* )
24869 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24870 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24872 if test "$wxUSE_OPENGL" = "yes"; then
24873 LIBS="${LIBS} ${OPENGL_LIBS}"
24878 if test "x$WX_TARGET_LIBRARY" = "x"; then
24879 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
24880 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
24883 WX_TARGET_LIBRARY_TYPE="so"
24884 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
24887 if test "$wxUSE_SHARED" = "no"; then
24889 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24890 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24893 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24894 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24897 if test "$wxUSE_OPENGL" = "yes"; then
24898 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
24899 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24901 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24904 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
24905 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
24907 WX_TARGET_LIBRARY_TYPE="a"
24908 INSTALL_LIBRARY='$(INSTALL_DATA)'
24918 if test "$wxUSE_MAC" = 1; then
24919 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24920 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
24921 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
24922 # Extract the first word of "Rez", so it can be a program name with args.
24923 set dummy Rez; ac_word=$2
24924 echo "$as_me:$LINENO: checking for $ac_word" >&5
24925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24926 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24927 echo $ECHO_N "(cached) $ECHO_C" >&6
24929 if test -n "$RESCOMP"; then
24930 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
24932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24933 for as_dir in $PATH
24936 test -z "$as_dir" && as_dir=.
24937 for ac_exec_ext in '' $ac_executable_extensions; do
24938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24939 ac_cv_prog_RESCOMP="Rez"
24940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24946 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
24949 RESCOMP=$ac_cv_prog_RESCOMP
24950 if test -n "$RESCOMP"; then
24951 echo "$as_me:$LINENO: result: $RESCOMP" >&5
24952 echo "${ECHO_T}$RESCOMP" >&6
24954 echo "$as_me:$LINENO: result: no" >&5
24955 echo "${ECHO_T}no" >&6
24958 # Extract the first word of "DeRez", so it can be a program name with args.
24959 set dummy DeRez; ac_word=$2
24960 echo "$as_me:$LINENO: checking for $ac_word" >&5
24961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24962 if test "${ac_cv_prog_DEREZ+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24965 if test -n "$DEREZ"; then
24966 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
24968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24969 for as_dir in $PATH
24972 test -z "$as_dir" && as_dir=.
24973 for ac_exec_ext in '' $ac_executable_extensions; do
24974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24975 ac_cv_prog_DEREZ="DeRez"
24976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24982 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
24985 DEREZ=$ac_cv_prog_DEREZ
24986 if test -n "$DEREZ"; then
24987 echo "$as_me:$LINENO: result: $DEREZ" >&5
24988 echo "${ECHO_T}$DEREZ" >&6
24990 echo "$as_me:$LINENO: result: no" >&5
24991 echo "${ECHO_T}no" >&6
24994 # Extract the first word of "SetFile", so it can be a program name with args.
24995 set dummy SetFile; ac_word=$2
24996 echo "$as_me:$LINENO: checking for $ac_word" >&5
24997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24998 if test "${ac_cv_prog_SETFILE+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 if test -n "$SETFILE"; then
25002 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25005 for as_dir in $PATH
25008 test -z "$as_dir" && as_dir=.
25009 for ac_exec_ext in '' $ac_executable_extensions; do
25010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25011 ac_cv_prog_SETFILE="SetFile"
25012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25018 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25021 SETFILE=$ac_cv_prog_SETFILE
25022 if test -n "$SETFILE"; then
25023 echo "$as_me:$LINENO: result: $SETFILE" >&5
25024 echo "${ECHO_T}$SETFILE" >&6
25026 echo "$as_me:$LINENO: result: no" >&5
25027 echo "${ECHO_T}no" >&6
25030 MACOSX_BUNDLE="bundle"
25031 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25032 MACSETFILE="\$(SETFILE)"
25033 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25034 elif test "$wxUSE_COCOA" = 1; then
25035 # Extract the first word of "Rez", so it can be a program name with args.
25036 set dummy Rez; ac_word=$2
25037 echo "$as_me:$LINENO: checking for $ac_word" >&5
25038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25039 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25040 echo $ECHO_N "(cached) $ECHO_C" >&6
25042 if test -n "$RESCOMP"; then
25043 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25046 for as_dir in $PATH
25049 test -z "$as_dir" && as_dir=.
25050 for ac_exec_ext in '' $ac_executable_extensions; do
25051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25052 ac_cv_prog_RESCOMP="Rez"
25053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25059 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25062 RESCOMP=$ac_cv_prog_RESCOMP
25063 if test -n "$RESCOMP"; then
25064 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25065 echo "${ECHO_T}$RESCOMP" >&6
25067 echo "$as_me:$LINENO: result: no" >&5
25068 echo "${ECHO_T}no" >&6
25071 # Extract the first word of "DeRez", so it can be a program name with args.
25072 set dummy DeRez; ac_word=$2
25073 echo "$as_me:$LINENO: checking for $ac_word" >&5
25074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25075 if test "${ac_cv_prog_DEREZ+set}" = set; then
25076 echo $ECHO_N "(cached) $ECHO_C" >&6
25078 if test -n "$DEREZ"; then
25079 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25082 for as_dir in $PATH
25085 test -z "$as_dir" && as_dir=.
25086 for ac_exec_ext in '' $ac_executable_extensions; do
25087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25088 ac_cv_prog_DEREZ="DeRez"
25089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25095 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25098 DEREZ=$ac_cv_prog_DEREZ
25099 if test -n "$DEREZ"; then
25100 echo "$as_me:$LINENO: result: $DEREZ" >&5
25101 echo "${ECHO_T}$DEREZ" >&6
25103 echo "$as_me:$LINENO: result: no" >&5
25104 echo "${ECHO_T}no" >&6
25107 # Extract the first word of "SetFile", so it can be a program name with args.
25108 set dummy SetFile; ac_word=$2
25109 echo "$as_me:$LINENO: checking for $ac_word" >&5
25110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25111 if test "${ac_cv_prog_SETFILE+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 if test -n "$SETFILE"; then
25115 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25118 for as_dir in $PATH
25121 test -z "$as_dir" && as_dir=.
25122 for ac_exec_ext in '' $ac_executable_extensions; do
25123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25124 ac_cv_prog_SETFILE="SetFile"
25125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25131 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25134 SETFILE=$ac_cv_prog_SETFILE
25135 if test -n "$SETFILE"; then
25136 echo "$as_me:$LINENO: result: $SETFILE" >&5
25137 echo "${ECHO_T}$SETFILE" >&6
25139 echo "$as_me:$LINENO: result: no" >&5
25140 echo "${ECHO_T}no" >&6
25143 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25144 MACSETFILE="\$(SETFILE)"
25145 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25147 if test "$wxUSE_PM" = 1; then
25148 MACRESCOMP="emxbind -ep"
25153 echo "$as_me:$LINENO: checking for mode_t" >&5
25154 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25155 if test "${ac_cv_type_mode_t+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 cat >conftest.$ac_ext <<_ACEOF
25159 #line $LINENO "configure"
25162 cat confdefs.h >>conftest.$ac_ext
25163 cat >>conftest.$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25165 $ac_includes_default
25171 if (sizeof (mode_t))
25177 rm -f conftest.$ac_objext
25178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25179 (eval $ac_compile) 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); } &&
25183 { ac_try='test -s conftest.$ac_objext'
25184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185 (eval $ac_try) 2>&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); }; }; then
25189 ac_cv_type_mode_t=yes
25191 echo "$as_me: failed program was:" >&5
25192 sed 's/^/| /' conftest.$ac_ext >&5
25194 ac_cv_type_mode_t=no
25196 rm -f conftest.$ac_objext conftest.$ac_ext
25198 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25199 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25200 if test $ac_cv_type_mode_t = yes; then
25204 cat >>confdefs.h <<_ACEOF
25210 echo "$as_me:$LINENO: checking for off_t" >&5
25211 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25212 if test "${ac_cv_type_off_t+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 cat >conftest.$ac_ext <<_ACEOF
25216 #line $LINENO "configure"
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222 $ac_includes_default
25228 if (sizeof (off_t))
25234 rm -f conftest.$ac_objext
25235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25236 (eval $ac_compile) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); } &&
25240 { ac_try='test -s conftest.$ac_objext'
25241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25242 (eval $ac_try) 2>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246 ac_cv_type_off_t=yes
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.$ac_ext >&5
25251 ac_cv_type_off_t=no
25253 rm -f conftest.$ac_objext conftest.$ac_ext
25255 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25256 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25257 if test $ac_cv_type_off_t = yes; then
25261 cat >>confdefs.h <<_ACEOF
25267 echo "$as_me:$LINENO: checking for pid_t" >&5
25268 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25269 if test "${ac_cv_type_pid_t+set}" = set; then
25270 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 cat >conftest.$ac_ext <<_ACEOF
25273 #line $LINENO "configure"
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279 $ac_includes_default
25285 if (sizeof (pid_t))
25291 rm -f conftest.$ac_objext
25292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25293 (eval $ac_compile) 2>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } &&
25297 { ac_try='test -s conftest.$ac_objext'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; }; then
25303 ac_cv_type_pid_t=yes
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25308 ac_cv_type_pid_t=no
25310 rm -f conftest.$ac_objext conftest.$ac_ext
25312 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25313 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25314 if test $ac_cv_type_pid_t = yes; then
25318 cat >>confdefs.h <<_ACEOF
25324 echo "$as_me:$LINENO: checking for size_t" >&5
25325 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25326 if test "${ac_cv_type_size_t+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25329 cat >conftest.$ac_ext <<_ACEOF
25330 #line $LINENO "configure"
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25336 $ac_includes_default
25342 if (sizeof (size_t))
25348 rm -f conftest.$ac_objext
25349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25350 (eval $ac_compile) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } &&
25354 { ac_try='test -s conftest.$ac_objext'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; }; then
25360 ac_cv_type_size_t=yes
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25365 ac_cv_type_size_t=no
25367 rm -f conftest.$ac_objext conftest.$ac_ext
25369 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25370 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25371 if test $ac_cv_type_size_t = yes; then
25375 cat >>confdefs.h <<_ACEOF
25376 #define size_t unsigned
25381 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25382 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25383 if test "${ac_cv_type_uid_t+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 cat >conftest.$ac_ext <<_ACEOF
25387 #line $LINENO "configure"
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393 #include <sys/types.h>
25396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25397 $EGREP "uid_t" >/dev/null 2>&1; then
25398 ac_cv_type_uid_t=yes
25400 ac_cv_type_uid_t=no
25405 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25406 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25407 if test $ac_cv_type_uid_t = no; then
25409 cat >>confdefs.h <<\_ACEOF
25414 cat >>confdefs.h <<\_ACEOF
25424 ac_cpp='$CXXCPP $CPPFLAGS'
25425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25429 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25430 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25431 if test "${wx_cv_size_t_is_uint+set}" = set; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25435 cat >conftest.$ac_ext <<_ACEOF
25436 #line $LINENO "configure"
25439 cat confdefs.h >>conftest.$ac_ext
25440 cat >>conftest.$ac_ext <<_ACEOF
25441 /* end confdefs.h. */
25442 #include <stddef.h>
25449 struct Foo { void foo(size_t); void foo(unsigned int); };
25457 rm -f conftest.$ac_objext
25458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25459 (eval $ac_compile) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } &&
25463 { ac_try='test -s conftest.$ac_objext'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; }; then
25469 wx_cv_size_t_is_uint=no
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.$ac_ext >&5
25474 wx_cv_size_t_is_uint=yes
25477 rm -f conftest.$ac_objext conftest.$ac_ext
25481 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25482 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25484 if test "$wx_cv_size_t_is_uint" = "yes"; then
25485 cat >>confdefs.h <<\_ACEOF
25486 #define wxSIZE_T_IS_UINT 1
25490 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25491 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25492 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 cat >conftest.$ac_ext <<_ACEOF
25496 #line $LINENO "configure"
25499 cat confdefs.h >>conftest.$ac_ext
25500 cat >>conftest.$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25502 #include <stddef.h>
25509 struct Foo { void foo(size_t); void foo(unsigned long); };
25517 rm -f conftest.$ac_objext
25518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25519 (eval $ac_compile) 2>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -s conftest.$ac_objext'
25524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25525 (eval $ac_try) 2>&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); }; }; then
25529 wx_cv_size_t_is_ulong=no
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25534 wx_cv_size_t_is_ulong=yes
25537 rm -f conftest.$ac_objext conftest.$ac_ext
25540 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25541 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25543 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25544 cat >>confdefs.h <<\_ACEOF
25545 #define wxSIZE_T_IS_ULONG 1
25552 ac_cpp='$CPP $CPPFLAGS'
25553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25559 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25560 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25561 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 cat >conftest.$ac_ext <<_ACEOF
25566 #line $LINENO "configure"
25569 cat confdefs.h >>conftest.$ac_ext
25570 cat >>conftest.$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25585 rm -f conftest.$ac_objext
25586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25587 (eval $ac_compile) 2>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); } &&
25591 { ac_try='test -s conftest.$ac_objext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25598 wx_cv_struct_pw_gecos=yes
25601 echo "$as_me: failed program was:" >&5
25602 sed 's/^/| /' conftest.$ac_ext >&5
25605 wx_cv_struct_pw_gecos=no
25609 rm -f conftest.$ac_objext conftest.$ac_ext
25613 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25614 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25616 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25617 cat >>confdefs.h <<\_ACEOF
25618 #define HAVE_PW_GECOS 1
25624 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25625 cat >>confdefs.h <<\_ACEOF
25626 #define wxUSE_WCHAR_T 1
25633 for ac_func in wcslen
25635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25636 echo "$as_me:$LINENO: checking for $ac_func" >&5
25637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25638 if eval "test \"\${$as_ac_var+set}\" = set"; then
25639 echo $ECHO_N "(cached) $ECHO_C" >&6
25641 cat >conftest.$ac_ext <<_ACEOF
25642 #line $LINENO "configure"
25645 cat confdefs.h >>conftest.$ac_ext
25646 cat >>conftest.$ac_ext <<_ACEOF
25647 /* end confdefs.h. */
25648 /* System header to define __stub macros and hopefully few prototypes,
25649 which can conflict with char $ac_func (); below.
25650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25651 <limits.h> exists even on freestanding compilers. */
25653 # include <limits.h>
25655 # include <assert.h>
25657 /* Override any gcc2 internal prototype to avoid an error. */
25662 /* We use char because int might match the return type of a gcc2
25663 builtin and then its argument prototype would still apply. */
25665 /* The GNU C library defines this for functions which it implements
25666 to always fail with ENOSYS. Some functions are actually named
25667 something starting with __ and the normal name is an alias. */
25668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25671 char (*f) () = $ac_func;
25680 return f != $ac_func;
25685 rm -f conftest.$ac_objext conftest$ac_exeext
25686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25687 (eval $ac_link) 2>&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } &&
25691 { ac_try='test -s conftest$ac_exeext'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; }; then
25697 eval "$as_ac_var=yes"
25699 echo "$as_me: failed program was:" >&5
25700 sed 's/^/| /' conftest.$ac_ext >&5
25702 eval "$as_ac_var=no"
25704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25708 if test `eval echo '${'$as_ac_var'}'` = yes; then
25709 cat >>confdefs.h <<_ACEOF
25710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25717 if test "$WCSLEN_FOUND" = 0; then
25718 if test "$TOOLKIT" = "MSW"; then
25719 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25720 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25721 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25722 echo $ECHO_N "(cached) $ECHO_C" >&6
25724 ac_check_lib_save_LIBS=$LIBS
25725 LIBS="-lmsvcrt $LIBS"
25726 cat >conftest.$ac_ext <<_ACEOF
25727 #line $LINENO "configure"
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25734 /* Override any gcc2 internal prototype to avoid an error. */
25738 /* We use char because int might match the return type of a gcc2
25739 builtin and then its argument prototype would still apply. */
25749 rm -f conftest.$ac_objext conftest$ac_exeext
25750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25751 (eval $ac_link) 2>&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try='test -s conftest$ac_exeext'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; }; then
25761 ac_cv_lib_msvcrt_wcslen=yes
25763 echo "$as_me: failed program was:" >&5
25764 sed 's/^/| /' conftest.$ac_ext >&5
25766 ac_cv_lib_msvcrt_wcslen=no
25768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25769 LIBS=$ac_check_lib_save_LIBS
25771 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25772 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25773 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25778 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25779 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25780 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25783 ac_check_lib_save_LIBS=$LIBS
25785 cat >conftest.$ac_ext <<_ACEOF
25786 #line $LINENO "configure"
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25793 /* Override any gcc2 internal prototype to avoid an error. */
25797 /* We use char because int might match the return type of a gcc2
25798 builtin and then its argument prototype would still apply. */
25808 rm -f conftest.$ac_objext conftest$ac_exeext
25809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25810 (eval $ac_link) 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } &&
25814 { ac_try='test -s conftest$ac_exeext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820 ac_cv_lib_w_wcslen=yes
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.$ac_ext >&5
25825 ac_cv_lib_w_wcslen=no
25827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25828 LIBS=$ac_check_lib_save_LIBS
25830 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25831 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25832 if test $ac_cv_lib_w_wcslen = yes; then
25842 if test "$WCSLEN_FOUND" = 1; then
25843 cat >>confdefs.h <<\_ACEOF
25844 #define HAVE_WCSLEN 1
25850 for ac_func in wcsrtombs
25852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25853 echo "$as_me:$LINENO: checking for $ac_func" >&5
25854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25855 if eval "test \"\${$as_ac_var+set}\" = set"; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 cat >conftest.$ac_ext <<_ACEOF
25859 #line $LINENO "configure"
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 /* System header to define __stub macros and hopefully few prototypes,
25866 which can conflict with char $ac_func (); below.
25867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25868 <limits.h> exists even on freestanding compilers. */
25870 # include <limits.h>
25872 # include <assert.h>
25874 /* Override any gcc2 internal prototype to avoid an error. */
25879 /* We use char because int might match the return type of a gcc2
25880 builtin and then its argument prototype would still apply. */
25882 /* The GNU C library defines this for functions which it implements
25883 to always fail with ENOSYS. Some functions are actually named
25884 something starting with __ and the normal name is an alias. */
25885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25888 char (*f) () = $ac_func;
25897 return f != $ac_func;
25902 rm -f conftest.$ac_objext conftest$ac_exeext
25903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25904 (eval $ac_link) 2>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } &&
25908 { ac_try='test -s conftest$ac_exeext'
25909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25910 (eval $ac_try) 2>&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); }; }; then
25914 eval "$as_ac_var=yes"
25916 echo "$as_me: failed program was:" >&5
25917 sed 's/^/| /' conftest.$ac_ext >&5
25919 eval "$as_ac_var=no"
25921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25925 if test `eval echo '${'$as_ac_var'}'` = yes; then
25926 cat >>confdefs.h <<_ACEOF
25927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25934 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25935 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
25941 ac_cpp='$CXXCPP $CPPFLAGS'
25942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948 for ac_func in vsnprintf
25950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25951 echo "$as_me:$LINENO: checking for $ac_func" >&5
25952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25953 if eval "test \"\${$as_ac_var+set}\" = set"; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25956 cat >conftest.$ac_ext <<_ACEOF
25957 #line $LINENO "configure"
25960 cat confdefs.h >>conftest.$ac_ext
25961 cat >>conftest.$ac_ext <<_ACEOF
25962 /* end confdefs.h. */
25963 /* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25968 # include <limits.h>
25970 # include <assert.h>
25972 /* Override any gcc2 internal prototype to avoid an error. */
25977 /* We use char because int might match the return type of a gcc2
25978 builtin and then its argument prototype would still apply. */
25980 /* The GNU C library defines this for functions which it implements
25981 to always fail with ENOSYS. Some functions are actually named
25982 something starting with __ and the normal name is an alias. */
25983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25986 char (*f) () = $ac_func;
25995 return f != $ac_func;
26000 rm -f conftest.$ac_objext conftest$ac_exeext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26002 (eval $ac_link) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try='test -s conftest$ac_exeext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 eval "$as_ac_var=yes"
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26017 eval "$as_ac_var=no"
26019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26023 if test `eval echo '${'$as_ac_var'}'` = yes; then
26024 cat >>confdefs.h <<_ACEOF
26025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26032 if test "$ac_cv_func_vsnprintf" = "yes"; then
26033 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26034 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26035 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26036 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 cat >conftest.$ac_ext <<_ACEOF
26040 #line $LINENO "configure"
26043 cat confdefs.h >>conftest.$ac_ext
26044 cat >>conftest.$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26048 #include <stdarg.h>
26056 vsnprintf(buf, 10u, "%s", ap);
26062 rm -f conftest.$ac_objext
26063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26064 (eval $ac_compile) 2>&5
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); } &&
26068 { ac_try='test -s conftest.$ac_objext'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; }; then
26074 wx_cv_func_vsnprintf_decl=yes
26076 echo "$as_me: failed program was:" >&5
26077 sed 's/^/| /' conftest.$ac_ext >&5
26079 wx_cv_func_vsnprintf_decl=no
26082 rm -f conftest.$ac_objext conftest.$ac_ext
26086 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26087 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26089 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26090 cat >>confdefs.h <<\_ACEOF
26091 #define HAVE_VSNPRINTF_DECL 1
26097 if test "$wxUSE_UNICODE" = yes; then
26101 for ac_func in fputwc wprintf vswprintf
26103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26104 echo "$as_me:$LINENO: checking for $ac_func" >&5
26105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26106 if eval "test \"\${$as_ac_var+set}\" = set"; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 cat >conftest.$ac_ext <<_ACEOF
26110 #line $LINENO "configure"
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116 /* System header to define __stub macros and hopefully few prototypes,
26117 which can conflict with char $ac_func (); below.
26118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26119 <limits.h> exists even on freestanding compilers. */
26121 # include <limits.h>
26123 # include <assert.h>
26125 /* Override any gcc2 internal prototype to avoid an error. */
26130 /* We use char because int might match the return type of a gcc2
26131 builtin and then its argument prototype would still apply. */
26133 /* The GNU C library defines this for functions which it implements
26134 to always fail with ENOSYS. Some functions are actually named
26135 something starting with __ and the normal name is an alias. */
26136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26139 char (*f) () = $ac_func;
26148 return f != $ac_func;
26153 rm -f conftest.$ac_objext conftest$ac_exeext
26154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26155 (eval $ac_link) 2>&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } &&
26159 { ac_try='test -s conftest$ac_exeext'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; }; then
26165 eval "$as_ac_var=yes"
26167 echo "$as_me: failed program was:" >&5
26168 sed 's/^/| /' conftest.$ac_ext >&5
26170 eval "$as_ac_var=no"
26172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26176 if test `eval echo '${'$as_ac_var'}'` = yes; then
26177 cat >>confdefs.h <<_ACEOF
26178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26185 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26186 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26187 cat >conftest.$ac_ext <<_ACEOF
26188 #line $LINENO "configure"
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26203 rm -f conftest.$ac_objext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26205 (eval $ac_compile) 2>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -s conftest.$ac_objext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 echo "$as_me:$LINENO: result: yes" >&5
26216 echo "${ECHO_T}yes" >&6
26217 cat >>confdefs.h <<\_ACEOF
26218 #define HAVE__VSNWPRINTF 1
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26225 echo "$as_me:$LINENO: result: no" >&5
26226 echo "${ECHO_T}no" >&6
26228 rm -f conftest.$ac_objext conftest.$ac_ext;
26232 ac_cpp='$CPP $CPPFLAGS'
26233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26240 if test "$TOOLKIT" != "MSW"; then
26246 ac_cpp='$CXXCPP $CPPFLAGS'
26247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26254 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26255 if test "${with_libiconv_prefix+set}" = set; then
26256 withval="$with_libiconv_prefix"
26258 for dir in `echo "$withval" | tr : ' '`; do
26259 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26260 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26265 echo "$as_me:$LINENO: checking for iconv" >&5
26266 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26267 if test "${am_cv_func_iconv+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 am_cv_func_iconv="no, consider installing GNU libiconv"
26273 cat >conftest.$ac_ext <<_ACEOF
26274 #line $LINENO "configure"
26277 cat confdefs.h >>conftest.$ac_ext
26278 cat >>conftest.$ac_ext <<_ACEOF
26279 /* end confdefs.h. */
26280 #include <stdlib.h>
26285 iconv_t cd = iconv_open("","");
26286 iconv(cd,NULL,NULL,NULL,NULL);
26292 rm -f conftest.$ac_objext conftest$ac_exeext
26293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try='test -s conftest$ac_exeext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 am_cv_func_iconv=yes
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.$ac_ext >&5
26310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26311 if test "$am_cv_func_iconv" != yes; then
26312 am_save_LIBS="$LIBS"
26313 LIBS="$LIBS -liconv"
26314 cat >conftest.$ac_ext <<_ACEOF
26315 #line $LINENO "configure"
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321 #include <stdlib.h>
26326 iconv_t cd = iconv_open("","");
26327 iconv(cd,NULL,NULL,NULL,NULL);
26333 rm -f conftest.$ac_objext conftest$ac_exeext
26334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26335 (eval $ac_link) 2>&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } &&
26339 { ac_try='test -s conftest$ac_exeext'
26340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26341 (eval $ac_try) 2>&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); }; }; then
26345 am_cv_lib_iconv=yes
26346 am_cv_func_iconv=yes
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.$ac_ext >&5
26352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26353 LIBS="$am_save_LIBS"
26357 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26358 echo "${ECHO_T}$am_cv_func_iconv" >&6
26359 if test "$am_cv_func_iconv" = yes; then
26361 cat >>confdefs.h <<\_ACEOF
26362 #define HAVE_ICONV 1
26365 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26366 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26367 if test "${wx_cv_func_iconv_const+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 cat >conftest.$ac_ext <<_ACEOF
26371 #line $LINENO "configure"
26374 cat confdefs.h >>conftest.$ac_ext
26375 cat >>conftest.$ac_ext <<_ACEOF
26376 /* end confdefs.h. */
26378 #include <stdlib.h>
26384 #if defined(__STDC__) || defined(__cplusplus)
26385 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26398 rm -f conftest.$ac_objext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26400 (eval $ac_compile) 2>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try='test -s conftest.$ac_objext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 wx_cv_func_iconv_const="no"
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26415 wx_cv_func_iconv_const="yes"
26418 rm -f conftest.$ac_objext conftest.$ac_ext
26421 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26422 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26425 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26426 iconv_const="const"
26430 cat >>confdefs.h <<_ACEOF
26431 #define ICONV_CONST $iconv_const
26436 if test "$am_cv_lib_iconv" = yes; then
26441 LIBS="$LIBICONV $LIBS"
26443 ac_cpp='$CPP $CPPFLAGS'
26444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26449 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26451 for ac_func in sigaction
26453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26454 echo "$as_me:$LINENO: checking for $ac_func" >&5
26455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26456 if eval "test \"\${$as_ac_var+set}\" = set"; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 cat >conftest.$ac_ext <<_ACEOF
26460 #line $LINENO "configure"
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466 /* System header to define __stub macros and hopefully few prototypes,
26467 which can conflict with char $ac_func (); below.
26468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26469 <limits.h> exists even on freestanding compilers. */
26471 # include <limits.h>
26473 # include <assert.h>
26475 /* Override any gcc2 internal prototype to avoid an error. */
26480 /* We use char because int might match the return type of a gcc2
26481 builtin and then its argument prototype would still apply. */
26483 /* The GNU C library defines this for functions which it implements
26484 to always fail with ENOSYS. Some functions are actually named
26485 something starting with __ and the normal name is an alias. */
26486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26489 char (*f) () = $ac_func;
26498 return f != $ac_func;
26503 rm -f conftest.$ac_objext conftest$ac_exeext
26504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26505 (eval $ac_link) 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } &&
26509 { ac_try='test -s conftest$ac_exeext'
26510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511 (eval $ac_try) 2>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; }; then
26515 eval "$as_ac_var=yes"
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26520 eval "$as_ac_var=no"
26522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26526 if test `eval echo '${'$as_ac_var'}'` = yes; then
26527 cat >>confdefs.h <<_ACEOF
26528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26535 if test "$ac_cv_func_sigaction" = "no"; then
26536 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26537 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26538 wxUSE_ON_FATAL_EXCEPTION=no
26541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26545 ac_cpp='$CXXCPP $CPPFLAGS'
26546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26551 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26552 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26553 if test "${wx_cv_type_sa_handler+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 cat >conftest.$ac_ext <<_ACEOF
26558 #line $LINENO "configure"
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 #include <signal.h>
26569 extern void testSigHandler(int);
26571 struct sigaction sa;
26572 sa.sa_handler = testSigHandler;
26578 rm -f conftest.$ac_objext
26579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26580 (eval $ac_compile) 2>&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); } &&
26584 { ac_try='test -s conftest.$ac_objext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26591 wx_cv_type_sa_handler=int
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.$ac_ext >&5
26598 wx_cv_type_sa_handler=void
26601 rm -f conftest.$ac_objext conftest.$ac_ext
26604 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26605 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26608 ac_cpp='$CPP $CPPFLAGS'
26609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26614 cat >>confdefs.h <<_ACEOF
26615 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26623 for ac_func in mkstemp mktemp
26625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26626 echo "$as_me:$LINENO: checking for $ac_func" >&5
26627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26628 if eval "test \"\${$as_ac_var+set}\" = set"; then
26629 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 cat >conftest.$ac_ext <<_ACEOF
26632 #line $LINENO "configure"
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26638 /* System header to define __stub macros and hopefully few prototypes,
26639 which can conflict with char $ac_func (); below.
26640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26641 <limits.h> exists even on freestanding compilers. */
26643 # include <limits.h>
26645 # include <assert.h>
26647 /* Override any gcc2 internal prototype to avoid an error. */
26652 /* We use char because int might match the return type of a gcc2
26653 builtin and then its argument prototype would still apply. */
26655 /* The GNU C library defines this for functions which it implements
26656 to always fail with ENOSYS. Some functions are actually named
26657 something starting with __ and the normal name is an alias. */
26658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26661 char (*f) () = $ac_func;
26670 return f != $ac_func;
26675 rm -f conftest.$ac_objext conftest$ac_exeext
26676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26677 (eval $ac_link) 2>&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } &&
26681 { ac_try='test -s conftest$ac_exeext'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; }; then
26687 eval "$as_ac_var=yes"
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26692 eval "$as_ac_var=no"
26694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26698 if test `eval echo '${'$as_ac_var'}'` = yes; then
26699 cat >>confdefs.h <<_ACEOF
26700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26707 echo "$as_me:$LINENO: checking for statfs" >&5
26708 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26709 if test "${wx_cv_func_statfs+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 cat >conftest.$ac_ext <<_ACEOF
26713 #line $LINENO "configure"
26716 cat confdefs.h >>conftest.$ac_ext
26717 cat >>conftest.$ac_ext <<_ACEOF
26718 /* end confdefs.h. */
26720 #if defined(__BSD__)
26721 #include <sys/param.h>
26722 #include <sys/mount.h>
26724 #include <sys/vfs.h>
26742 rm -f conftest.$ac_objext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26744 (eval $ac_compile) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26755 wx_cv_func_statfs=yes
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26762 wx_cv_func_statfs=no
26766 rm -f conftest.$ac_objext conftest.$ac_ext
26769 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26770 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26772 if test "$wx_cv_func_statfs" = "yes"; then
26773 wx_cv_type_statvfs_t="struct statfs"
26774 cat >>confdefs.h <<\_ACEOF
26775 #define HAVE_STATFS 1
26779 echo "$as_me:$LINENO: checking for statvfs" >&5
26780 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26781 if test "${wx_cv_func_statvfs+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 cat >conftest.$ac_ext <<_ACEOF
26785 #line $LINENO "configure"
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26792 #include <stddef.h>
26793 #include <sys/statvfs.h>
26799 statvfs("/", NULL);
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 wx_cv_func_statvfs=yes
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26822 wx_cv_func_statvfs=no
26825 rm -f conftest.$ac_objext conftest.$ac_ext
26828 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26829 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26831 if test "$wx_cv_func_statvfs" = "yes"; then
26835 ac_cpp='$CXXCPP $CPPFLAGS'
26836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26841 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26842 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26843 if test "${wx_cv_type_statvfs_t+set}" = set; then
26844 echo $ECHO_N "(cached) $ECHO_C" >&6
26846 cat >conftest.$ac_ext <<_ACEOF
26847 #line $LINENO "configure"
26850 cat confdefs.h >>conftest.$ac_ext
26851 cat >>conftest.$ac_ext <<_ACEOF
26852 /* end confdefs.h. */
26854 #include <sys/statvfs.h>
26871 rm -f conftest.$ac_objext
26872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26873 (eval $ac_compile) 2>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try='test -s conftest.$ac_objext'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; }; then
26883 wx_cv_type_statvfs_t=statvfs_t
26885 echo "$as_me: failed program was:" >&5
26886 sed 's/^/| /' conftest.$ac_ext >&5
26889 cat >conftest.$ac_ext <<_ACEOF
26890 #line $LINENO "configure"
26893 cat confdefs.h >>conftest.$ac_ext
26894 cat >>conftest.$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26897 #include <sys/statvfs.h>
26914 rm -f conftest.$ac_objext
26915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26916 (eval $ac_compile) 2>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } &&
26920 { ac_try='test -s conftest.$ac_objext'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; }; then
26926 wx_cv_type_statvfs_t="struct statvfs"
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26931 wx_cv_type_statvfs_t="unknown"
26934 rm -f conftest.$ac_objext conftest.$ac_ext
26938 rm -f conftest.$ac_objext conftest.$ac_ext
26941 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
26942 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
26945 ac_cpp='$CPP $CPPFLAGS'
26946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26951 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26952 cat >>confdefs.h <<\_ACEOF
26953 #define HAVE_STATVFS 1
26958 wx_cv_type_statvfs_t="unknown"
26962 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26963 cat >>confdefs.h <<_ACEOF
26964 #define WX_STATFS_T $wx_cv_type_statvfs_t
26968 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
26969 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
26972 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
26975 for ac_func in fcntl flock
26977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26978 echo "$as_me:$LINENO: checking for $ac_func" >&5
26979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26980 if eval "test \"\${$as_ac_var+set}\" = set"; then
26981 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 cat >conftest.$ac_ext <<_ACEOF
26984 #line $LINENO "configure"
26987 cat confdefs.h >>conftest.$ac_ext
26988 cat >>conftest.$ac_ext <<_ACEOF
26989 /* end confdefs.h. */
26990 /* System header to define __stub macros and hopefully few prototypes,
26991 which can conflict with char $ac_func (); below.
26992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26993 <limits.h> exists even on freestanding compilers. */
26995 # include <limits.h>
26997 # include <assert.h>
26999 /* Override any gcc2 internal prototype to avoid an error. */
27004 /* We use char because int might match the return type of a gcc2
27005 builtin and then its argument prototype would still apply. */
27007 /* The GNU C library defines this for functions which it implements
27008 to always fail with ENOSYS. Some functions are actually named
27009 something starting with __ and the normal name is an alias. */
27010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27013 char (*f) () = $ac_func;
27022 return f != $ac_func;
27027 rm -f conftest.$ac_objext conftest$ac_exeext
27028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27029 (eval $ac_link) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try='test -s conftest$ac_exeext'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; }; then
27039 eval "$as_ac_var=yes"
27041 echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.$ac_ext >&5
27044 eval "$as_ac_var=no"
27046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27050 if test `eval echo '${'$as_ac_var'}'` = yes; then
27051 cat >>confdefs.h <<_ACEOF
27052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27059 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27060 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27061 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27062 wxUSE_SNGLINST_CHECKER=no
27067 for ac_func in timegm
27069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27070 echo "$as_me:$LINENO: checking for $ac_func" >&5
27071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27072 if eval "test \"\${$as_ac_var+set}\" = set"; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 cat >conftest.$ac_ext <<_ACEOF
27076 #line $LINENO "configure"
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 /* System header to define __stub macros and hopefully few prototypes,
27083 which can conflict with char $ac_func (); below.
27084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27085 <limits.h> exists even on freestanding compilers. */
27087 # include <limits.h>
27089 # include <assert.h>
27091 /* Override any gcc2 internal prototype to avoid an error. */
27096 /* We use char because int might match the return type of a gcc2
27097 builtin and then its argument prototype would still apply. */
27099 /* The GNU C library defines this for functions which it implements
27100 to always fail with ENOSYS. Some functions are actually named
27101 something starting with __ and the normal name is an alias. */
27102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27105 char (*f) () = $ac_func;
27114 return f != $ac_func;
27119 rm -f conftest.$ac_objext conftest$ac_exeext
27120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27121 (eval $ac_link) 2>&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } &&
27125 { ac_try='test -s conftest$ac_exeext'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; }; then
27131 eval "$as_ac_var=yes"
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.$ac_ext >&5
27136 eval "$as_ac_var=no"
27138 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27142 if test `eval echo '${'$as_ac_var'}'` = yes; then
27143 cat >>confdefs.h <<_ACEOF
27144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27153 for ac_func in putenv setenv
27155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27156 echo "$as_me:$LINENO: checking for $ac_func" >&5
27157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27158 if eval "test \"\${$as_ac_var+set}\" = set"; then
27159 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 cat >conftest.$ac_ext <<_ACEOF
27162 #line $LINENO "configure"
27165 cat confdefs.h >>conftest.$ac_ext
27166 cat >>conftest.$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 /* System header to define __stub macros and hopefully few prototypes,
27169 which can conflict with char $ac_func (); below.
27170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27171 <limits.h> exists even on freestanding compilers. */
27173 # include <limits.h>
27175 # include <assert.h>
27177 /* Override any gcc2 internal prototype to avoid an error. */
27182 /* We use char because int might match the return type of a gcc2
27183 builtin and then its argument prototype would still apply. */
27185 /* The GNU C library defines this for functions which it implements
27186 to always fail with ENOSYS. Some functions are actually named
27187 something starting with __ and the normal name is an alias. */
27188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27191 char (*f) () = $ac_func;
27200 return f != $ac_func;
27205 rm -f conftest.$ac_objext conftest$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } &&
27211 { ac_try='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 eval "$as_ac_var=yes"
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27222 eval "$as_ac_var=no"
27224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27228 if test `eval echo '${'$as_ac_var'}'` = yes; then
27229 cat >>confdefs.h <<_ACEOF
27230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27237 HAVE_SOME_SLEEP_FUNC=0
27238 if test "$USE_BEOS" = 1; then
27239 cat >>confdefs.h <<\_ACEOF
27240 #define HAVE_SLEEP 1
27243 HAVE_SOME_SLEEP_FUNC=1
27246 if test "$USE_DARWIN" = 1; then
27247 cat >>confdefs.h <<\_ACEOF
27248 #define HAVE_USLEEP 1
27251 HAVE_SOME_SLEEP_FUNC=1
27254 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27257 for ac_func in nanosleep
27259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27260 echo "$as_me:$LINENO: checking for $ac_func" >&5
27261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27262 if eval "test \"\${$as_ac_var+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 cat >conftest.$ac_ext <<_ACEOF
27266 #line $LINENO "configure"
27269 cat confdefs.h >>conftest.$ac_ext
27270 cat >>conftest.$ac_ext <<_ACEOF
27271 /* end confdefs.h. */
27272 /* System header to define __stub macros and hopefully few prototypes,
27273 which can conflict with char $ac_func (); below.
27274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27275 <limits.h> exists even on freestanding compilers. */
27277 # include <limits.h>
27279 # include <assert.h>
27281 /* Override any gcc2 internal prototype to avoid an error. */
27286 /* We use char because int might match the return type of a gcc2
27287 builtin and then its argument prototype would still apply. */
27289 /* The GNU C library defines this for functions which it implements
27290 to always fail with ENOSYS. Some functions are actually named
27291 something starting with __ and the normal name is an alias. */
27292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27295 char (*f) () = $ac_func;
27304 return f != $ac_func;
27309 rm -f conftest.$ac_objext conftest$ac_exeext
27310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27311 (eval $ac_link) 2>&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try='test -s conftest$ac_exeext'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; }; then
27321 eval "$as_ac_var=yes"
27323 echo "$as_me: failed program was:" >&5
27324 sed 's/^/| /' conftest.$ac_ext >&5
27326 eval "$as_ac_var=no"
27328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27332 if test `eval echo '${'$as_ac_var'}'` = yes; then
27333 cat >>confdefs.h <<_ACEOF
27334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27336 cat >>confdefs.h <<\_ACEOF
27337 #define HAVE_NANOSLEEP 1
27342 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27343 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27344 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 ac_check_lib_save_LIBS=$LIBS
27348 LIBS="-lposix4 $LIBS"
27349 cat >conftest.$ac_ext <<_ACEOF
27350 #line $LINENO "configure"
27353 cat confdefs.h >>conftest.$ac_ext
27354 cat >>conftest.$ac_ext <<_ACEOF
27355 /* end confdefs.h. */
27357 /* Override any gcc2 internal prototype to avoid an error. */
27361 /* We use char because int might match the return type of a gcc2
27362 builtin and then its argument prototype would still apply. */
27372 rm -f conftest.$ac_objext conftest$ac_exeext
27373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27374 (eval $ac_link) 2>&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } &&
27378 { ac_try='test -s conftest$ac_exeext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 ac_cv_lib_posix4_nanosleep=yes
27386 echo "$as_me: failed program was:" >&5
27387 sed 's/^/| /' conftest.$ac_ext >&5
27389 ac_cv_lib_posix4_nanosleep=no
27391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27392 LIBS=$ac_check_lib_save_LIBS
27394 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27395 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27396 if test $ac_cv_lib_posix4_nanosleep = yes; then
27398 cat >>confdefs.h <<\_ACEOF
27399 #define HAVE_NANOSLEEP 1
27402 POSIX4_LINK=" -lposix4"
27407 for ac_func in usleep
27409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27410 echo "$as_me:$LINENO: checking for $ac_func" >&5
27411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27412 if eval "test \"\${$as_ac_var+set}\" = set"; then
27413 echo $ECHO_N "(cached) $ECHO_C" >&6
27415 cat >conftest.$ac_ext <<_ACEOF
27416 #line $LINENO "configure"
27419 cat confdefs.h >>conftest.$ac_ext
27420 cat >>conftest.$ac_ext <<_ACEOF
27421 /* end confdefs.h. */
27422 /* System header to define __stub macros and hopefully few prototypes,
27423 which can conflict with char $ac_func (); below.
27424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27425 <limits.h> exists even on freestanding compilers. */
27427 # include <limits.h>
27429 # include <assert.h>
27431 /* Override any gcc2 internal prototype to avoid an error. */
27436 /* We use char because int might match the return type of a gcc2
27437 builtin and then its argument prototype would still apply. */
27439 /* The GNU C library defines this for functions which it implements
27440 to always fail with ENOSYS. Some functions are actually named
27441 something starting with __ and the normal name is an alias. */
27442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27445 char (*f) () = $ac_func;
27454 return f != $ac_func;
27459 rm -f conftest.$ac_objext conftest$ac_exeext
27460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27461 (eval $ac_link) 2>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } &&
27465 { ac_try='test -s conftest$ac_exeext'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; }; then
27471 eval "$as_ac_var=yes"
27473 echo "$as_me: failed program was:" >&5
27474 sed 's/^/| /' conftest.$ac_ext >&5
27476 eval "$as_ac_var=no"
27478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27482 if test `eval echo '${'$as_ac_var'}'` = yes; then
27483 cat >>confdefs.h <<_ACEOF
27484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27486 cat >>confdefs.h <<\_ACEOF
27487 #define HAVE_USLEEP 1
27491 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27492 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27510 for ac_func in uname gethostname
27512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27513 echo "$as_me:$LINENO: checking for $ac_func" >&5
27514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27515 if eval "test \"\${$as_ac_var+set}\" = set"; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 cat >conftest.$ac_ext <<_ACEOF
27519 #line $LINENO "configure"
27522 cat confdefs.h >>conftest.$ac_ext
27523 cat >>conftest.$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27525 /* System header to define __stub macros and hopefully few prototypes,
27526 which can conflict with char $ac_func (); below.
27527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27528 <limits.h> exists even on freestanding compilers. */
27530 # include <limits.h>
27532 # include <assert.h>
27534 /* Override any gcc2 internal prototype to avoid an error. */
27539 /* We use char because int might match the return type of a gcc2
27540 builtin and then its argument prototype would still apply. */
27542 /* The GNU C library defines this for functions which it implements
27543 to always fail with ENOSYS. Some functions are actually named
27544 something starting with __ and the normal name is an alias. */
27545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27548 char (*f) () = $ac_func;
27557 return f != $ac_func;
27562 rm -f conftest.$ac_objext conftest$ac_exeext
27563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27564 (eval $ac_link) 2>&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } &&
27568 { ac_try='test -s conftest$ac_exeext'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; }; then
27574 eval "$as_ac_var=yes"
27576 echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.$ac_ext >&5
27579 eval "$as_ac_var=no"
27581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27585 if test `eval echo '${'$as_ac_var'}'` = yes; then
27586 cat >>confdefs.h <<_ACEOF
27587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27597 ac_cpp='$CXXCPP $CPPFLAGS'
27598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27604 for ac_func in strtok_r
27606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27607 echo "$as_me:$LINENO: checking for $ac_func" >&5
27608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27609 if eval "test \"\${$as_ac_var+set}\" = set"; then
27610 echo $ECHO_N "(cached) $ECHO_C" >&6
27612 cat >conftest.$ac_ext <<_ACEOF
27613 #line $LINENO "configure"
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27619 /* System header to define __stub macros and hopefully few prototypes,
27620 which can conflict with char $ac_func (); below.
27621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27622 <limits.h> exists even on freestanding compilers. */
27624 # include <limits.h>
27626 # include <assert.h>
27628 /* Override any gcc2 internal prototype to avoid an error. */
27633 /* We use char because int might match the return type of a gcc2
27634 builtin and then its argument prototype would still apply. */
27636 /* The GNU C library defines this for functions which it implements
27637 to always fail with ENOSYS. Some functions are actually named
27638 something starting with __ and the normal name is an alias. */
27639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27642 char (*f) () = $ac_func;
27651 return f != $ac_func;
27656 rm -f conftest.$ac_objext conftest$ac_exeext
27657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27658 (eval $ac_link) 2>&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } &&
27662 { ac_try='test -s conftest$ac_exeext'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; }; then
27668 eval "$as_ac_var=yes"
27670 echo "$as_me: failed program was:" >&5
27671 sed 's/^/| /' conftest.$ac_ext >&5
27673 eval "$as_ac_var=no"
27675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27679 if test `eval echo '${'$as_ac_var'}'` = yes; then
27680 cat >>confdefs.h <<_ACEOF
27681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27689 ac_cpp='$CPP $CPPFLAGS'
27690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697 for ac_func in inet_addr
27699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27700 echo "$as_me:$LINENO: checking for $ac_func" >&5
27701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27702 if eval "test \"\${$as_ac_var+set}\" = set"; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 cat >conftest.$ac_ext <<_ACEOF
27706 #line $LINENO "configure"
27709 cat confdefs.h >>conftest.$ac_ext
27710 cat >>conftest.$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27712 /* System header to define __stub macros and hopefully few prototypes,
27713 which can conflict with char $ac_func (); below.
27714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27715 <limits.h> exists even on freestanding compilers. */
27717 # include <limits.h>
27719 # include <assert.h>
27721 /* Override any gcc2 internal prototype to avoid an error. */
27726 /* We use char because int might match the return type of a gcc2
27727 builtin and then its argument prototype would still apply. */
27729 /* The GNU C library defines this for functions which it implements
27730 to always fail with ENOSYS. Some functions are actually named
27731 something starting with __ and the normal name is an alias. */
27732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27735 char (*f) () = $ac_func;
27744 return f != $ac_func;
27749 rm -f conftest.$ac_objext conftest$ac_exeext
27750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27751 (eval $ac_link) 2>&5
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); } &&
27755 { ac_try='test -s conftest$ac_exeext'
27756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757 (eval $ac_try) 2>&5
27759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760 (exit $ac_status); }; }; then
27761 eval "$as_ac_var=yes"
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27766 eval "$as_ac_var=no"
27768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27772 if test `eval echo '${'$as_ac_var'}'` = yes; then
27773 cat >>confdefs.h <<_ACEOF
27774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27776 cat >>confdefs.h <<\_ACEOF
27777 #define HAVE_INET_ADDR 1
27782 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27783 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27784 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27785 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 ac_check_lib_save_LIBS=$LIBS
27789 cat >conftest.$ac_ext <<_ACEOF
27790 #line $LINENO "configure"
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27797 /* Override any gcc2 internal prototype to avoid an error. */
27801 /* We use char because int might match the return type of a gcc2
27802 builtin and then its argument prototype would still apply. */
27812 rm -f conftest.$ac_objext conftest$ac_exeext
27813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27814 (eval $ac_link) 2>&5
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } &&
27818 { ac_try='test -s conftest$ac_exeext'
27819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27820 (eval $ac_try) 2>&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); }; }; then
27824 ac_cv_lib_nsl_inet_addr=yes
27826 echo "$as_me: failed program was:" >&5
27827 sed 's/^/| /' conftest.$ac_ext >&5
27829 ac_cv_lib_nsl_inet_addr=no
27831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27832 LIBS=$ac_check_lib_save_LIBS
27834 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27835 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27836 if test $ac_cv_lib_nsl_inet_addr = yes; then
27839 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27840 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27841 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 ac_check_lib_save_LIBS=$LIBS
27845 LIBS="-lresolv $LIBS"
27846 cat >conftest.$ac_ext <<_ACEOF
27847 #line $LINENO "configure"
27850 cat confdefs.h >>conftest.$ac_ext
27851 cat >>conftest.$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27854 /* Override any gcc2 internal prototype to avoid an error. */
27858 /* We use char because int might match the return type of a gcc2
27859 builtin and then its argument prototype would still apply. */
27869 rm -f conftest.$ac_objext conftest$ac_exeext
27870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27871 (eval $ac_link) 2>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } &&
27875 { ac_try='test -s conftest$ac_exeext'
27876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877 (eval $ac_try) 2>&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; }; then
27881 ac_cv_lib_resolv_inet_addr=yes
27883 echo "$as_me: failed program was:" >&5
27884 sed 's/^/| /' conftest.$ac_ext >&5
27886 ac_cv_lib_resolv_inet_addr=no
27888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27889 LIBS=$ac_check_lib_save_LIBS
27891 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27892 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27893 if test $ac_cv_lib_resolv_inet_addr = yes; then
27896 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27897 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27898 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 ac_check_lib_save_LIBS=$LIBS
27902 LIBS="-lsocket $LIBS"
27903 cat >conftest.$ac_ext <<_ACEOF
27904 #line $LINENO "configure"
27907 cat confdefs.h >>conftest.$ac_ext
27908 cat >>conftest.$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27911 /* Override any gcc2 internal prototype to avoid an error. */
27915 /* We use char because int might match the return type of a gcc2
27916 builtin and then its argument prototype would still apply. */
27926 rm -f conftest.$ac_objext conftest$ac_exeext
27927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27928 (eval $ac_link) 2>&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); } &&
27932 { ac_try='test -s conftest$ac_exeext'
27933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27934 (eval $ac_try) 2>&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); }; }; then
27938 ac_cv_lib_socket_inet_addr=yes
27940 echo "$as_me: failed program was:" >&5
27941 sed 's/^/| /' conftest.$ac_ext >&5
27943 ac_cv_lib_socket_inet_addr=no
27945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27946 LIBS=$ac_check_lib_save_LIBS
27948 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
27949 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
27950 if test $ac_cv_lib_socket_inet_addr = yes; then
27968 for ac_func in inet_aton
27970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27971 echo "$as_me:$LINENO: checking for $ac_func" >&5
27972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27973 if eval "test \"\${$as_ac_var+set}\" = set"; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27976 cat >conftest.$ac_ext <<_ACEOF
27977 #line $LINENO "configure"
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27983 /* System header to define __stub macros and hopefully few prototypes,
27984 which can conflict with char $ac_func (); below.
27985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27986 <limits.h> exists even on freestanding compilers. */
27988 # include <limits.h>
27990 # include <assert.h>
27992 /* Override any gcc2 internal prototype to avoid an error. */
27997 /* We use char because int might match the return type of a gcc2
27998 builtin and then its argument prototype would still apply. */
28000 /* The GNU C library defines this for functions which it implements
28001 to always fail with ENOSYS. Some functions are actually named
28002 something starting with __ and the normal name is an alias. */
28003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28006 char (*f) () = $ac_func;
28015 return f != $ac_func;
28020 rm -f conftest.$ac_objext conftest$ac_exeext
28021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28022 (eval $ac_link) 2>&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } &&
28026 { ac_try='test -s conftest$ac_exeext'
28027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28028 (eval $ac_try) 2>&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); }; }; then
28032 eval "$as_ac_var=yes"
28034 echo "$as_me: failed program was:" >&5
28035 sed 's/^/| /' conftest.$ac_ext >&5
28037 eval "$as_ac_var=no"
28039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28043 if test `eval echo '${'$as_ac_var'}'` = yes; then
28044 cat >>confdefs.h <<_ACEOF
28045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28047 cat >>confdefs.h <<\_ACEOF
28048 #define HAVE_INET_ATON 1
28053 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28054 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28055 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28056 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28059 ac_check_lib_save_LIBS=$LIBS
28060 LIBS="-l$INET_LINK $LIBS"
28061 cat >conftest.$ac_ext <<_ACEOF
28062 #line $LINENO "configure"
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h. */
28069 /* Override any gcc2 internal prototype to avoid an error. */
28073 /* We use char because int might match the return type of a gcc2
28074 builtin and then its argument prototype would still apply. */
28084 rm -f conftest.$ac_objext conftest$ac_exeext
28085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28086 (eval $ac_link) 2>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); } &&
28090 { ac_try='test -s conftest$ac_exeext'
28091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092 (eval $ac_try) 2>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; }; then
28096 eval "$as_ac_Lib=yes"
28098 echo "$as_me: failed program was:" >&5
28099 sed 's/^/| /' conftest.$ac_ext >&5
28101 eval "$as_ac_Lib=no"
28103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28104 LIBS=$ac_check_lib_save_LIBS
28106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28107 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28108 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28109 cat >>confdefs.h <<\_ACEOF
28110 #define HAVE_INET_ATON 1
28120 if test "x$INET_LINK" != "x"; then
28121 cat >>confdefs.h <<\_ACEOF
28122 #define HAVE_INET_ADDR 1
28125 INET_LINK=" -l$INET_LINK"
28133 if test "${ac_cv_header_esd_h+set}" = set; then
28134 echo "$as_me:$LINENO: checking for esd.h" >&5
28135 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28136 if test "${ac_cv_header_esd_h+set}" = set; then
28137 echo $ECHO_N "(cached) $ECHO_C" >&6
28139 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28140 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28142 # Is the header compilable?
28143 echo "$as_me:$LINENO: checking esd.h usability" >&5
28144 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28145 cat >conftest.$ac_ext <<_ACEOF
28146 #line $LINENO "configure"
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28152 $ac_includes_default
28155 rm -f conftest.$ac_objext
28156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28157 (eval $ac_compile) 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -s conftest.$ac_objext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167 ac_header_compiler=yes
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28172 ac_header_compiler=no
28174 rm -f conftest.$ac_objext conftest.$ac_ext
28175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28176 echo "${ECHO_T}$ac_header_compiler" >&6
28178 # Is the header present?
28179 echo "$as_me:$LINENO: checking esd.h presence" >&5
28180 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28181 cat >conftest.$ac_ext <<_ACEOF
28182 #line $LINENO "configure"
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28193 grep -v '^ *+' conftest.er1 >conftest.err
28195 cat conftest.err >&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } >/dev/null; then
28198 if test -s conftest.err; then
28199 ac_cpp_err=$ac_c_preproc_warn_flag
28206 if test -z "$ac_cpp_err"; then
28207 ac_header_preproc=yes
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28212 ac_header_preproc=no
28214 rm -f conftest.err conftest.$ac_ext
28215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28216 echo "${ECHO_T}$ac_header_preproc" >&6
28218 # So? What about this header?
28219 case $ac_header_compiler:$ac_header_preproc in
28221 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28222 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28223 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28224 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28227 ## ------------------------------------ ##
28228 ## Report this to bug-autoconf@gnu.org. ##
28229 ## ------------------------------------ ##
28232 sed "s/^/$as_me: WARNING: /" >&2
28235 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28236 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28237 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28238 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28239 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28240 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28243 ## ------------------------------------ ##
28244 ## Report this to bug-autoconf@gnu.org. ##
28245 ## ------------------------------------ ##
28248 sed "s/^/$as_me: WARNING: /" >&2
28251 echo "$as_me:$LINENO: checking for esd.h" >&5
28252 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28253 if test "${ac_cv_header_esd_h+set}" = set; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 ac_cv_header_esd_h=$ac_header_preproc
28258 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28259 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28262 if test $ac_cv_header_esd_h = yes; then
28264 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28265 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28266 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28267 echo $ECHO_N "(cached) $ECHO_C" >&6
28269 ac_check_lib_save_LIBS=$LIBS
28271 cat >conftest.$ac_ext <<_ACEOF
28272 #line $LINENO "configure"
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28279 /* Override any gcc2 internal prototype to avoid an error. */
28283 /* We use char because int might match the return type of a gcc2
28284 builtin and then its argument prototype would still apply. */
28294 rm -f conftest.$ac_objext conftest$ac_exeext
28295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28296 (eval $ac_link) 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } &&
28300 { ac_try='test -s conftest$ac_exeext'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306 ac_cv_lib_esd_esd_close=yes
28308 echo "$as_me: failed program was:" >&5
28309 sed 's/^/| /' conftest.$ac_ext >&5
28311 ac_cv_lib_esd_esd_close=no
28313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28314 LIBS=$ac_check_lib_save_LIBS
28316 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28317 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28318 if test $ac_cv_lib_esd_esd_close = yes; then
28331 cat >confcache <<\_ACEOF
28332 # This file is a shell script that caches the results of configure
28333 # tests run on this system so they can be shared between configure
28334 # scripts and configure runs, see configure's option --config-cache.
28335 # It is not useful on other systems. If it contains results you don't
28336 # want to keep, you may remove or edit it.
28338 # config.status only pays attention to the cache file if you give it
28339 # the --recheck option to rerun configure.
28341 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28343 # following values.
28347 # The following way of writing the cache mishandles newlines in values,
28348 # but we know of no workaround that is simple, portable, and efficient.
28349 # So, don't put newlines in cache variables' values.
28350 # Ultrix sh set writes to stderr and can't be redirected directly,
28351 # and sets the high bit in the cache file unless we assign to the vars.
28354 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28356 # `set' does not quote correctly, so add quotes (double-quote
28357 # substitution turns \\\\ into \\, and sed turns \\ into \).
28360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28363 # `set' quotes correctly as required by POSIX, so do not add quotes.
28365 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28372 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28374 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28376 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28377 if test -w $cache_file; then
28378 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28379 cat confcache >$cache_file
28381 echo "not updating unwritable cache $cache_file"
28388 if test "$TOOLKIT" != "MSW"; then
28394 if test "$wxUSE_THREADS" = "yes" ; then
28395 if test "$USE_BEOS" = 1; then
28396 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28397 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28402 if test "$wxUSE_THREADS" = "yes" ; then
28405 THREAD_OPTS="-pthread"
28407 *-*-solaris2* | *-*-sunos4* )
28408 if test "x$GCC" = "xyes"; then
28409 THREAD_OPTS="-pthreads $THREAD_OPTS"
28411 THREAD_OPTS="-mt $THREAD_OPTS"
28415 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28417 *-*-darwin* | *-*-cygwin* )
28421 THREAD_OPTS="pthreads"
28424 if test "x$GCC" != "xyes"; then
28430 if test "x$GCC" = "xyes"; then
28436 if test "x$GCC" != "xyes"; then
28437 THREAD_OPTS="-Ethread"
28442 THREAD_OPTS="$THREAD_OPTS pthread none"
28445 for flag in $THREAD_OPTS; do
28448 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28449 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28453 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28454 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28455 THREADS_CFLAGS="$flag"
28459 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28460 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28461 THREADS_LINK="-l$flag"
28466 save_CFLAGS="$CFLAGS"
28467 LIBS="$THREADS_LINK $LIBS"
28468 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28470 cat >conftest.$ac_ext <<_ACEOF
28471 #line $LINENO "configure"
28474 cat confdefs.h >>conftest.$ac_ext
28475 cat >>conftest.$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28477 #include <pthread.h>
28481 pthread_create(0,0,0,0);
28486 rm -f conftest.$ac_objext conftest$ac_exeext
28487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try='test -s conftest$ac_exeext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28500 echo "$as_me: failed program was:" >&5
28501 sed 's/^/| /' conftest.$ac_ext >&5
28504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28507 CFLAGS="$save_CFLAGS"
28509 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28510 echo "${ECHO_T}$THREADS_OK" >&6
28511 if test "x$THREADS_OK" = "xyes"; then
28519 if test "x$THREADS_OK" != "xyes"; then
28521 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28522 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28524 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28525 LIBS="$THREADS_LINK $LIBS"
28527 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28528 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28532 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28533 flag="-D_THREAD_SAFE"
28536 flag="-D_THREAD_SAFE"
28539 flag="-D_REENTRANT"
28540 if test "x$GCC" != "xyes"; then
28541 flag="$flag -D_RWSTD_MULTI_THREAD"
28544 *solaris* | alpha*-osf*)
28545 flag="-D_REENTRANT"
28548 echo "$as_me:$LINENO: result: ${flag}" >&5
28549 echo "${ECHO_T}${flag}" >&6
28550 if test "x$flag" != xno; then
28551 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28554 if test "x$THREADS_CFLAGS" != "x"; then
28555 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28556 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28561 if test "$wxUSE_THREADS" = "yes" ; then
28563 for ac_func in thr_setconcurrency
28565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28566 echo "$as_me:$LINENO: checking for $ac_func" >&5
28567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28568 if eval "test \"\${$as_ac_var+set}\" = set"; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 cat >conftest.$ac_ext <<_ACEOF
28572 #line $LINENO "configure"
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 /* System header to define __stub macros and hopefully few prototypes,
28579 which can conflict with char $ac_func (); below.
28580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28581 <limits.h> exists even on freestanding compilers. */
28583 # include <limits.h>
28585 # include <assert.h>
28587 /* Override any gcc2 internal prototype to avoid an error. */
28592 /* We use char because int might match the return type of a gcc2
28593 builtin and then its argument prototype would still apply. */
28595 /* The GNU C library defines this for functions which it implements
28596 to always fail with ENOSYS. Some functions are actually named
28597 something starting with __ and the normal name is an alias. */
28598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28601 char (*f) () = $ac_func;
28610 return f != $ac_func;
28615 rm -f conftest.$ac_objext conftest$ac_exeext
28616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28617 (eval $ac_link) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } &&
28621 { ac_try='test -s conftest$ac_exeext'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; }; then
28627 eval "$as_ac_var=yes"
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28632 eval "$as_ac_var=no"
28634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28638 if test `eval echo '${'$as_ac_var'}'` = yes; then
28639 cat >>confdefs.h <<_ACEOF
28640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28648 for ac_header in sched.h
28650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28652 echo "$as_me:$LINENO: checking for $ac_header" >&5
28653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28655 echo $ECHO_N "(cached) $ECHO_C" >&6
28657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28660 # Is the header compilable?
28661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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. */
28670 $ac_includes_default
28671 #include <$ac_header>
28673 rm -f conftest.$ac_objext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28675 (eval $ac_compile) 2>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } &&
28679 { ac_try='test -s conftest.$ac_objext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 ac_header_compiler=yes
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28690 ac_header_compiler=no
28692 rm -f conftest.$ac_objext conftest.$ac_ext
28693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28694 echo "${ECHO_T}$ac_header_compiler" >&6
28696 # Is the header present?
28697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28699 cat >conftest.$ac_ext <<_ACEOF
28700 #line $LINENO "configure"
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 #include <$ac_header>
28708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28711 grep -v '^ *+' conftest.er1 >conftest.err
28713 cat conftest.err >&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); } >/dev/null; then
28716 if test -s conftest.err; then
28717 ac_cpp_err=$ac_c_preproc_warn_flag
28724 if test -z "$ac_cpp_err"; then
28725 ac_header_preproc=yes
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.$ac_ext >&5
28730 ac_header_preproc=no
28732 rm -f conftest.err conftest.$ac_ext
28733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28734 echo "${ECHO_T}$ac_header_preproc" >&6
28736 # So? What about this header?
28737 case $ac_header_compiler:$ac_header_preproc in
28739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28745 ## ------------------------------------ ##
28746 ## Report this to bug-autoconf@gnu.org. ##
28747 ## ------------------------------------ ##
28750 sed "s/^/$as_me: WARNING: /" >&2
28753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28761 ## ------------------------------------ ##
28762 ## Report this to bug-autoconf@gnu.org. ##
28763 ## ------------------------------------ ##
28766 sed "s/^/$as_me: WARNING: /" >&2
28769 echo "$as_me:$LINENO: checking for $ac_header" >&5
28770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28772 echo $ECHO_N "(cached) $ECHO_C" >&6
28774 eval "$as_ac_Header=$ac_header_preproc"
28776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28781 cat >>confdefs.h <<_ACEOF
28782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28789 if test "$ac_cv_header_sched_h" = "yes"; then
28790 echo "$as_me:$LINENO: checking for sched_yield" >&5
28791 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28792 if test "${ac_cv_func_sched_yield+set}" = set; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 cat >conftest.$ac_ext <<_ACEOF
28796 #line $LINENO "configure"
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28802 /* System header to define __stub macros and hopefully few prototypes,
28803 which can conflict with char sched_yield (); below.
28804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28805 <limits.h> exists even on freestanding compilers. */
28807 # include <limits.h>
28809 # include <assert.h>
28811 /* Override any gcc2 internal prototype to avoid an error. */
28816 /* We use char because int might match the return type of a gcc2
28817 builtin and then its argument prototype would still apply. */
28818 char sched_yield ();
28819 /* The GNU C library defines this for functions which it implements
28820 to always fail with ENOSYS. Some functions are actually named
28821 something starting with __ and the normal name is an alias. */
28822 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28825 char (*f) () = sched_yield;
28834 return f != sched_yield;
28839 rm -f conftest.$ac_objext conftest$ac_exeext
28840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841 (eval $ac_link) 2>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 ac_cv_func_sched_yield=yes
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28856 ac_cv_func_sched_yield=no
28858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28860 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28861 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28862 if test $ac_cv_func_sched_yield = yes; then
28863 cat >>confdefs.h <<\_ACEOF
28864 #define HAVE_SCHED_YIELD 1
28869 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28870 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28871 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28872 echo $ECHO_N "(cached) $ECHO_C" >&6
28874 ac_check_lib_save_LIBS=$LIBS
28875 LIBS="-lposix4 $LIBS"
28876 cat >conftest.$ac_ext <<_ACEOF
28877 #line $LINENO "configure"
28880 cat confdefs.h >>conftest.$ac_ext
28881 cat >>conftest.$ac_ext <<_ACEOF
28882 /* end confdefs.h. */
28884 /* Override any gcc2 internal prototype to avoid an error. */
28888 /* We use char because int might match the return type of a gcc2
28889 builtin and then its argument prototype would still apply. */
28890 char sched_yield ();
28899 rm -f conftest.$ac_objext conftest$ac_exeext
28900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28901 (eval $ac_link) 2>&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); } &&
28905 { ac_try='test -s conftest$ac_exeext'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 ac_cv_lib_posix4_sched_yield=yes
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28916 ac_cv_lib_posix4_sched_yield=no
28918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28919 LIBS=$ac_check_lib_save_LIBS
28921 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28922 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28923 if test $ac_cv_lib_posix4_sched_yield = yes; then
28924 cat >>confdefs.h <<\_ACEOF
28925 #define HAVE_SCHED_YIELD 1
28927 POSIX4_LINK=" -lposix4"
28929 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28930 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
28941 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
28942 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
28943 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 cat >conftest.$ac_ext <<_ACEOF
28947 #line $LINENO "configure"
28950 cat confdefs.h >>conftest.$ac_ext
28951 cat >>conftest.$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28953 /* System header to define __stub macros and hopefully few prototypes,
28954 which can conflict with char pthread_attr_getschedpolicy (); below.
28955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28956 <limits.h> exists even on freestanding compilers. */
28958 # include <limits.h>
28960 # include <assert.h>
28962 /* Override any gcc2 internal prototype to avoid an error. */
28967 /* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28969 char pthread_attr_getschedpolicy ();
28970 /* The GNU C library defines this for functions which it implements
28971 to always fail with ENOSYS. Some functions are actually named
28972 something starting with __ and the normal name is an alias. */
28973 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
28976 char (*f) () = pthread_attr_getschedpolicy;
28985 return f != pthread_attr_getschedpolicy;
28990 rm -f conftest.$ac_objext conftest$ac_exeext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28992 (eval $ac_link) 2>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try='test -s conftest$ac_exeext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 ac_cv_func_pthread_attr_getschedpolicy=yes
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.$ac_ext >&5
29007 ac_cv_func_pthread_attr_getschedpolicy=no
29009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29011 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29012 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29013 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29014 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29015 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29016 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29019 cat >conftest.$ac_ext <<_ACEOF
29020 #line $LINENO "configure"
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29026 /* System header to define __stub macros and hopefully few prototypes,
29027 which can conflict with char pthread_attr_setschedparam (); below.
29028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29029 <limits.h> exists even on freestanding compilers. */
29031 # include <limits.h>
29033 # include <assert.h>
29035 /* Override any gcc2 internal prototype to avoid an error. */
29040 /* We use char because int might match the return type of a gcc2
29041 builtin and then its argument prototype would still apply. */
29042 char pthread_attr_setschedparam ();
29043 /* The GNU C library defines this for functions which it implements
29044 to always fail with ENOSYS. Some functions are actually named
29045 something starting with __ and the normal name is an alias. */
29046 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29049 char (*f) () = pthread_attr_setschedparam;
29058 return f != pthread_attr_setschedparam;
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29065 (eval $ac_link) 2>&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } &&
29069 { ac_try='test -s conftest$ac_exeext'
29070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29071 (eval $ac_try) 2>&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; }; then
29075 ac_cv_func_pthread_attr_setschedparam=yes
29077 echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29080 ac_cv_func_pthread_attr_setschedparam=no
29082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29084 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29085 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29086 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29087 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29088 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29089 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 cat >conftest.$ac_ext <<_ACEOF
29093 #line $LINENO "configure"
29096 cat confdefs.h >>conftest.$ac_ext
29097 cat >>conftest.$ac_ext <<_ACEOF
29098 /* end confdefs.h. */
29099 /* System header to define __stub macros and hopefully few prototypes,
29100 which can conflict with char sched_get_priority_max (); below.
29101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29102 <limits.h> exists even on freestanding compilers. */
29104 # include <limits.h>
29106 # include <assert.h>
29108 /* Override any gcc2 internal prototype to avoid an error. */
29113 /* We use char because int might match the return type of a gcc2
29114 builtin and then its argument prototype would still apply. */
29115 char sched_get_priority_max ();
29116 /* The GNU C library defines this for functions which it implements
29117 to always fail with ENOSYS. Some functions are actually named
29118 something starting with __ and the normal name is an alias. */
29119 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29122 char (*f) () = sched_get_priority_max;
29131 return f != sched_get_priority_max;
29136 rm -f conftest.$ac_objext conftest$ac_exeext
29137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29138 (eval $ac_link) 2>&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } &&
29142 { ac_try='test -s conftest$ac_exeext'
29143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144 (eval $ac_try) 2>&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; }; then
29148 ac_cv_func_sched_get_priority_max=yes
29150 echo "$as_me: failed program was:" >&5
29151 sed 's/^/| /' conftest.$ac_ext >&5
29153 ac_cv_func_sched_get_priority_max=no
29155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29157 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29158 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29159 if test $ac_cv_func_sched_get_priority_max = yes; then
29162 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29163 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29164 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29165 echo $ECHO_N "(cached) $ECHO_C" >&6
29167 ac_check_lib_save_LIBS=$LIBS
29168 LIBS="-lposix4 $LIBS"
29169 cat >conftest.$ac_ext <<_ACEOF
29170 #line $LINENO "configure"
29173 cat confdefs.h >>conftest.$ac_ext
29174 cat >>conftest.$ac_ext <<_ACEOF
29175 /* end confdefs.h. */
29177 /* Override any gcc2 internal prototype to avoid an error. */
29181 /* We use char because int might match the return type of a gcc2
29182 builtin and then its argument prototype would still apply. */
29183 char sched_get_priority_max ();
29187 sched_get_priority_max ();
29192 rm -f conftest.$ac_objext conftest$ac_exeext
29193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29194 (eval $ac_link) 2>&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try='test -s conftest$ac_exeext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 ac_cv_lib_posix4_sched_get_priority_max=yes
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29209 ac_cv_lib_posix4_sched_get_priority_max=no
29211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29212 LIBS=$ac_check_lib_save_LIBS
29214 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29215 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29216 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29219 POSIX4_LINK=" -lposix4"
29233 if test "$HAVE_PRIOR_FUNCS" = 1; then
29234 cat >>confdefs.h <<\_ACEOF
29235 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29239 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29240 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29243 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29244 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29245 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 cat >conftest.$ac_ext <<_ACEOF
29249 #line $LINENO "configure"
29252 cat confdefs.h >>conftest.$ac_ext
29253 cat >>conftest.$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29255 /* System header to define __stub macros and hopefully few prototypes,
29256 which can conflict with char pthread_cancel (); below.
29257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29258 <limits.h> exists even on freestanding compilers. */
29260 # include <limits.h>
29262 # include <assert.h>
29264 /* Override any gcc2 internal prototype to avoid an error. */
29269 /* We use char because int might match the return type of a gcc2
29270 builtin and then its argument prototype would still apply. */
29271 char pthread_cancel ();
29272 /* The GNU C library defines this for functions which it implements
29273 to always fail with ENOSYS. Some functions are actually named
29274 something starting with __ and the normal name is an alias. */
29275 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29278 char (*f) () = pthread_cancel;
29287 return f != pthread_cancel;
29292 rm -f conftest.$ac_objext conftest$ac_exeext
29293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29294 (eval $ac_link) 2>&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } &&
29298 { ac_try='test -s conftest$ac_exeext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29304 ac_cv_func_pthread_cancel=yes
29306 echo "$as_me: failed program was:" >&5
29307 sed 's/^/| /' conftest.$ac_ext >&5
29309 ac_cv_func_pthread_cancel=no
29311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29313 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29314 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29315 if test $ac_cv_func_pthread_cancel = yes; then
29316 cat >>confdefs.h <<\_ACEOF
29317 #define HAVE_PTHREAD_CANCEL 1
29321 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29322 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29326 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29327 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29328 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29329 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 cat >conftest.$ac_ext <<_ACEOF
29333 #line $LINENO "configure"
29336 cat confdefs.h >>conftest.$ac_ext
29337 cat >>conftest.$ac_ext <<_ACEOF
29338 /* end confdefs.h. */
29339 #include <pthread.h>
29344 pthread_cleanup_push(NULL, NULL);
29345 pthread_cleanup_pop(0);
29351 rm -f conftest.$ac_objext
29352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29353 (eval $ac_compile) 2>&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try='test -s conftest.$ac_objext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29364 wx_cv_func_pthread_cleanup_push=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29371 wx_cv_func_pthread_cleanup_push=no
29374 rm -f conftest.$ac_objext conftest.$ac_ext
29377 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29378 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29380 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29381 cat >>confdefs.h <<\_ACEOF
29382 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29388 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29389 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29390 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 cat >conftest.$ac_ext <<_ACEOF
29395 #line $LINENO "configure"
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29401 #include <pthread.h>
29406 pthread_mutexattr_t attr;
29407 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29413 rm -f conftest.$ac_objext
29414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29415 (eval $ac_compile) 2>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try='test -s conftest.$ac_objext'
29420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421 (eval $ac_try) 2>&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); }; }; then
29426 wx_cv_type_pthread_mutexattr_t=yes
29429 echo "$as_me: failed program was:" >&5
29430 sed 's/^/| /' conftest.$ac_ext >&5
29433 wx_cv_type_pthread_mutexattr_t=no
29437 rm -f conftest.$ac_objext conftest.$ac_ext
29440 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29441 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29443 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29444 cat >>confdefs.h <<\_ACEOF
29445 #define HAVE_PTHREAD_MUTEXATTR_T 1
29449 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29450 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29451 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29455 cat >conftest.$ac_ext <<_ACEOF
29456 #line $LINENO "configure"
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 #include <pthread.h>
29467 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29473 rm -f conftest.$ac_objext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29475 (eval $ac_compile) 2>&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } &&
29479 { ac_try='test -s conftest.$ac_objext'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; }; then
29486 wx_cv_type_pthread_rec_mutex_init=yes
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29493 wx_cv_type_pthread_rec_mutex_init=no
29497 rm -f conftest.$ac_objext conftest.$ac_ext
29500 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29501 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29502 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29503 cat >>confdefs.h <<\_ACEOF
29504 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29508 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29509 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29515 if test "$wxUSE_THREADS" = "yes" ; then
29518 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29519 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29520 if test "${wx_cv_cflags_mthread+set}" = set; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 CFLAGS_OLD="$CFLAGS"
29525 CFLAGS="$CFLAGS -mthreads"
29526 cat >conftest.$ac_ext <<_ACEOF
29527 #line $LINENO "configure"
29530 cat confdefs.h >>conftest.$ac_ext
29531 cat >>conftest.$ac_ext <<_ACEOF
29532 /* end confdefs.h. */
29542 rm -f conftest.$ac_objext
29543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29544 (eval $ac_compile) 2>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); } &&
29548 { ac_try='test -s conftest.$ac_objext'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; }; then
29554 wx_cv_cflags_mthread=yes
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29559 wx_cv_cflags_mthread=no
29562 rm -f conftest.$ac_objext conftest.$ac_ext
29566 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29567 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29569 if test "$wx_cv_cflags_mthread" = "yes"; then
29570 CXXFLAGS="$CXXFLAGS -mthreads"
29571 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29572 LDFLAGS="$LDFLAGS -mthreads"
29574 CFLAGS="$CFLAGS_OLD"
29581 if test "$wxUSE_THREADS" = "yes"; then
29582 cat >>confdefs.h <<\_ACEOF
29583 #define wxUSE_THREADS 1
29587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29589 if test "$ac_cv_func_strtok_r" = "yes"; then
29590 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29591 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29592 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29593 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29594 echo "$as_me:$LINENO: result: yes" >&5
29595 echo "${ECHO_T}yes" >&6
29597 echo "$as_me:$LINENO: result: no" >&5
29598 echo "${ECHO_T}no" >&6
29603 if test "$WXGTK20" = 1 ; then
29604 cat >>confdefs.h <<_ACEOF
29605 #define __WXGTK20__ $WXGTK20
29611 if test "$WXGTK12" = 1 ; then
29612 cat >>confdefs.h <<_ACEOF
29613 #define __WXGTK12__ $WXGTK12
29618 if test "$WXGTK127" = 1 ; then
29619 cat >>confdefs.h <<_ACEOF
29620 #define __WXGTK127__ $WXGTK127
29627 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29632 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29633 wxUSE_DEBUG_INFO=yes
29637 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29638 cat >>confdefs.h <<\_ACEOF
29642 WXDEBUG_DEFINE="-D__WXDEBUG__"
29644 if test "$wxUSE_GTK" = 1 ; then
29645 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29649 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29650 cat >>confdefs.h <<\_ACEOF
29651 #define wxUSE_MEMORY_TRACING 1
29654 cat >>confdefs.h <<\_ACEOF
29655 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29658 cat >>confdefs.h <<\_ACEOF
29659 #define wxUSE_DEBUG_NEW_ALWAYS 1
29662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29665 if test "$wxUSE_DMALLOC" = "yes" ; then
29666 DMALLOC_LIBS="-ldmalloc"
29670 if test "$wxUSE_PROFILE" = "yes" ; then
29675 CODE_GEN_FLAGS_CXX=
29676 if test "$GCC" = "yes" ; then
29677 if test "$wxUSE_NO_RTTI" = "yes" ; then
29678 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29680 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29681 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29683 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29684 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29686 if test "$USE_WIN32" = 1 ; then
29687 # I'm not even really sure what this was ever added to solve,
29688 # but someone added it for mingw native builds, so I guess
29689 # they had a reason, right??
29690 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29695 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29698 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29704 if test "$wxUSE_OPTIMISE" = "no" ; then
29705 if test "$GCC" = yes ; then
29709 if test "$GCC" = yes ; then
29713 i586-*-*|i686-*-* )
29714 OPTIMISE="${OPTIMISE} "
29723 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29724 cat >>confdefs.h <<\_ACEOF
29725 #define WXWIN_COMPATIBILITY_2 1
29729 WXWIN_COMPATIBILITY_2_2="yes"
29732 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29733 cat >>confdefs.h <<\_ACEOF
29734 #define WXWIN_COMPATIBILITY_2_2 1
29738 WXWIN_COMPATIBILITY_2_4="yes"
29741 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29742 cat >>confdefs.h <<\_ACEOF
29743 #define WXWIN_COMPATIBILITY_2_4 1
29749 if test "$wxUSE_GUI" = "yes"; then
29750 cat >>confdefs.h <<\_ACEOF
29751 #define wxUSE_GUI 1
29756 cat >>confdefs.h <<\_ACEOF
29757 #define wxUSE_NOGUI 1
29763 if test "$wxUSE_UNIX" = "yes"; then
29764 cat >>confdefs.h <<\_ACEOF
29765 #define wxUSE_UNIX 1
29771 if test "$wxUSE_STL" = "yes"; then
29772 cat >>confdefs.h <<\_ACEOF
29773 #define wxUSE_STL 1
29778 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29779 cat >>confdefs.h <<\_ACEOF
29780 #define wxUSE_APPLE_IEEE 1
29785 if test "$wxUSE_TIMER" = "yes"; then
29786 cat >>confdefs.h <<\_ACEOF
29787 #define wxUSE_TIMER 1
29792 if test "$wxUSE_WAVE" = "yes"; then
29793 cat >>confdefs.h <<\_ACEOF
29794 #define wxUSE_WAVE 1
29799 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29800 cat >>confdefs.h <<\_ACEOF
29801 #define wxUSE_CMDLINE_PARSER 1
29806 if test "$wxUSE_STOPWATCH" = "yes"; then
29807 cat >>confdefs.h <<\_ACEOF
29808 #define wxUSE_STOPWATCH 1
29813 if test "$wxUSE_DATETIME" = "yes"; then
29814 cat >>confdefs.h <<\_ACEOF
29815 #define wxUSE_DATETIME 1
29820 if test "$wxUSE_FILE" = "yes"; then
29821 cat >>confdefs.h <<\_ACEOF
29822 #define wxUSE_FILE 1
29827 if test "$wxUSE_FFILE" = "yes"; then
29828 cat >>confdefs.h <<\_ACEOF
29829 #define wxUSE_FFILE 1
29834 if test "$wxUSE_FILESYSTEM" = "yes"; then
29835 cat >>confdefs.h <<\_ACEOF
29836 #define wxUSE_FILESYSTEM 1
29841 if test "$wxUSE_FS_INET" = "yes"; then
29842 cat >>confdefs.h <<\_ACEOF
29843 #define wxUSE_FS_INET 1
29848 if test "$wxUSE_FS_ZIP" = "yes"; then
29849 cat >>confdefs.h <<\_ACEOF
29850 #define wxUSE_FS_ZIP 1
29855 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29856 cat >>confdefs.h <<\_ACEOF
29857 #define wxUSE_ZIPSTREAM 1
29862 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29863 cat >>confdefs.h <<\_ACEOF
29864 #define wxUSE_ON_FATAL_EXCEPTION 1
29869 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29870 cat >>confdefs.h <<\_ACEOF
29871 #define wxUSE_SNGLINST_CHECKER 1
29876 if test "$wxUSE_BUSYINFO" = "yes"; then
29877 cat >>confdefs.h <<\_ACEOF
29878 #define wxUSE_BUSYINFO 1
29883 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29884 cat >>confdefs.h <<\_ACEOF
29885 #define wxUSE_STD_IOSTREAM 1
29890 if test "$wxUSE_TEXTBUFFER" = "yes"; then
29891 cat >>confdefs.h <<\_ACEOF
29892 #define wxUSE_TEXTBUFFER 1
29897 if test "$wxUSE_TEXTFILE" = "yes"; then
29898 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29899 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29900 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29902 cat >>confdefs.h <<\_ACEOF
29903 #define wxUSE_TEXTFILE 1
29909 if test "$wxUSE_CONFIG" = "yes" ; then
29910 if test "$wxUSE_TEXTFILE" != "yes"; then
29911 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29912 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29914 cat >>confdefs.h <<\_ACEOF
29915 #define wxUSE_CONFIG 1
29918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
29922 if test "$wxUSE_INTL" = "yes" ; then
29923 if test "$wxUSE_FILE" != "yes"; then
29924 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29925 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29927 cat >>confdefs.h <<\_ACEOF
29928 #define wxUSE_INTL 1
29931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
29932 GUIDIST="$GUIDIST INTL_DIST"
29936 if test "$wxUSE_LOG" = "yes"; then
29937 cat >>confdefs.h <<\_ACEOF
29938 #define wxUSE_LOG 1
29942 if test "$wxUSE_LOGGUI" = "yes"; then
29943 cat >>confdefs.h <<\_ACEOF
29944 #define wxUSE_LOGGUI 1
29949 if test "$wxUSE_LOGWINDOW" = "yes"; then
29950 cat >>confdefs.h <<\_ACEOF
29951 #define wxUSE_LOGWINDOW 1
29956 if test "$wxUSE_LOGDIALOG" = "yes"; then
29957 cat >>confdefs.h <<\_ACEOF
29958 #define wxUSE_LOG_DIALOG 1
29964 if test "$wxUSE_LONGLONG" = "yes"; then
29965 cat >>confdefs.h <<\_ACEOF
29966 #define wxUSE_LONGLONG 1
29971 if test "$wxUSE_GEOMETRY" = "yes"; then
29972 cat >>confdefs.h <<\_ACEOF
29973 #define wxUSE_GEOMETRY 1
29978 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
29979 cat >>confdefs.h <<\_ACEOF
29980 #define wxUSE_DIALUP_MANAGER 1
29983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
29986 if test "$wxUSE_STREAMS" = "yes" ; then
29987 cat >>confdefs.h <<\_ACEOF
29988 #define wxUSE_STREAMS 1
29994 if test "$wxUSE_DATETIME" = "yes"; then
29996 for ac_func in strptime
29998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29999 echo "$as_me:$LINENO: checking for $ac_func" >&5
30000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30001 if eval "test \"\${$as_ac_var+set}\" = set"; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 cat >conftest.$ac_ext <<_ACEOF
30005 #line $LINENO "configure"
30008 cat confdefs.h >>conftest.$ac_ext
30009 cat >>conftest.$ac_ext <<_ACEOF
30010 /* end confdefs.h. */
30011 /* System header to define __stub macros and hopefully few prototypes,
30012 which can conflict with char $ac_func (); below.
30013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30014 <limits.h> exists even on freestanding compilers. */
30016 # include <limits.h>
30018 # include <assert.h>
30020 /* Override any gcc2 internal prototype to avoid an error. */
30025 /* We use char because int might match the return type of a gcc2
30026 builtin and then its argument prototype would still apply. */
30028 /* The GNU C library defines this for functions which it implements
30029 to always fail with ENOSYS. Some functions are actually named
30030 something starting with __ and the normal name is an alias. */
30031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30034 char (*f) () = $ac_func;
30043 return f != $ac_func;
30048 rm -f conftest.$ac_objext conftest$ac_exeext
30049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30050 (eval $ac_link) 2>&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } &&
30054 { ac_try='test -s conftest$ac_exeext'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30060 eval "$as_ac_var=yes"
30062 echo "$as_me: failed program was:" >&5
30063 sed 's/^/| /' conftest.$ac_ext >&5
30065 eval "$as_ac_var=no"
30067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30071 if test `eval echo '${'$as_ac_var'}'` = yes; then
30072 cat >>confdefs.h <<_ACEOF
30073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30080 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30081 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30082 if test "${wx_cv_var_timezone+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30086 cat >conftest.$ac_ext <<_ACEOF
30087 #line $LINENO "configure"
30090 cat confdefs.h >>conftest.$ac_ext
30091 cat >>conftest.$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30107 rm -f conftest.$ac_objext
30108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30109 (eval $ac_compile) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); } &&
30113 { ac_try='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30120 wx_cv_var_timezone=timezone
30123 echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.$ac_ext >&5
30127 cat >conftest.$ac_ext <<_ACEOF
30128 #line $LINENO "configure"
30131 cat confdefs.h >>conftest.$ac_ext
30132 cat >>conftest.$ac_ext <<_ACEOF
30133 /* end confdefs.h. */
30148 rm -f conftest.$ac_objext
30149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30150 (eval $ac_compile) 2>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -s conftest.$ac_objext'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; }; then
30161 wx_cv_var_timezone=_timezone
30164 echo "$as_me: failed program was:" >&5
30165 sed 's/^/| /' conftest.$ac_ext >&5
30168 cat >conftest.$ac_ext <<_ACEOF
30169 #line $LINENO "configure"
30172 cat confdefs.h >>conftest.$ac_ext
30173 cat >>conftest.$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30189 rm -f conftest.$ac_objext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30191 (eval $ac_compile) 2>&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); } &&
30195 { ac_try='test -s conftest.$ac_objext'
30196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 (eval $ac_try) 2>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); }; }; then
30202 wx_cv_var_timezone=__timezone
30205 echo "$as_me: failed program was:" >&5
30206 sed 's/^/| /' conftest.$ac_ext >&5
30209 if test "$USE_DOS" = 0 ; then
30210 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30211 echo "$as_me: WARNING: no timezone variable" >&2;}
30216 rm -f conftest.$ac_objext conftest.$ac_ext
30220 rm -f conftest.$ac_objext conftest.$ac_ext
30224 rm -f conftest.$ac_objext conftest.$ac_ext
30228 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30229 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30231 if test "x$wx_cv_var_timezone" != x ; then
30232 cat >>confdefs.h <<_ACEOF
30233 #define WX_TIMEZONE $wx_cv_var_timezone
30239 for ac_func in localtime
30241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30242 echo "$as_me:$LINENO: checking for $ac_func" >&5
30243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30244 if eval "test \"\${$as_ac_var+set}\" = set"; then
30245 echo $ECHO_N "(cached) $ECHO_C" >&6
30247 cat >conftest.$ac_ext <<_ACEOF
30248 #line $LINENO "configure"
30251 cat confdefs.h >>conftest.$ac_ext
30252 cat >>conftest.$ac_ext <<_ACEOF
30253 /* end confdefs.h. */
30254 /* System header to define __stub macros and hopefully few prototypes,
30255 which can conflict with char $ac_func (); below.
30256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30257 <limits.h> exists even on freestanding compilers. */
30259 # include <limits.h>
30261 # include <assert.h>
30263 /* Override any gcc2 internal prototype to avoid an error. */
30268 /* We use char because int might match the return type of a gcc2
30269 builtin and then its argument prototype would still apply. */
30271 /* The GNU C library defines this for functions which it implements
30272 to always fail with ENOSYS. Some functions are actually named
30273 something starting with __ and the normal name is an alias. */
30274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30277 char (*f) () = $ac_func;
30286 return f != $ac_func;
30291 rm -f conftest.$ac_objext conftest$ac_exeext
30292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30293 (eval $ac_link) 2>&5
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } &&
30297 { ac_try='test -s conftest$ac_exeext'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 eval "$as_ac_var=yes"
30305 echo "$as_me: failed program was:" >&5
30306 sed 's/^/| /' conftest.$ac_ext >&5
30308 eval "$as_ac_var=no"
30310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30314 if test `eval echo '${'$as_ac_var'}'` = yes; then
30315 cat >>confdefs.h <<_ACEOF
30316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30323 if test "$ac_cv_func_localtime" = "yes"; then
30324 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30325 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30326 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30330 cat >conftest.$ac_ext <<_ACEOF
30331 #line $LINENO "configure"
30334 cat confdefs.h >>conftest.$ac_ext
30335 cat >>conftest.$ac_ext <<_ACEOF
30336 /* end confdefs.h. */
30351 rm -f conftest.$ac_objext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353 (eval $ac_compile) 2>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); } &&
30357 { ac_try='test -s conftest.$ac_objext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30364 wx_cv_struct_tm_has_gmtoff=yes
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.$ac_ext >&5
30370 wx_cv_struct_tm_has_gmtoff=no
30373 rm -f conftest.$ac_objext conftest.$ac_ext
30376 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30377 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30380 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30381 cat >>confdefs.h <<\_ACEOF
30382 #define WX_GMTOFF_IN_TM 1
30389 for ac_func in gettimeofday ftime
30391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30392 echo "$as_me:$LINENO: checking for $ac_func" >&5
30393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30394 if eval "test \"\${$as_ac_var+set}\" = set"; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30397 cat >conftest.$ac_ext <<_ACEOF
30398 #line $LINENO "configure"
30401 cat confdefs.h >>conftest.$ac_ext
30402 cat >>conftest.$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30404 /* System header to define __stub macros and hopefully few prototypes,
30405 which can conflict with char $ac_func (); below.
30406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30407 <limits.h> exists even on freestanding compilers. */
30409 # include <limits.h>
30411 # include <assert.h>
30413 /* Override any gcc2 internal prototype to avoid an error. */
30418 /* We use char because int might match the return type of a gcc2
30419 builtin and then its argument prototype would still apply. */
30421 /* The GNU C library defines this for functions which it implements
30422 to always fail with ENOSYS. Some functions are actually named
30423 something starting with __ and the normal name is an alias. */
30424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30427 char (*f) () = $ac_func;
30436 return f != $ac_func;
30441 rm -f conftest.$ac_objext conftest$ac_exeext
30442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30443 (eval $ac_link) 2>&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } &&
30447 { ac_try='test -s conftest$ac_exeext'
30448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449 (eval $ac_try) 2>&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); }; }; then
30453 eval "$as_ac_var=yes"
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30458 eval "$as_ac_var=no"
30460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30464 if test `eval echo '${'$as_ac_var'}'` = yes; then
30465 cat >>confdefs.h <<_ACEOF
30466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30473 if test "$ac_cv_func_gettimeofday" = "yes"; then
30474 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30475 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30476 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30477 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 ac_cpp='$CXXCPP $CPPFLAGS'
30484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30489 cat >conftest.$ac_ext <<_ACEOF
30490 #line $LINENO "configure"
30493 cat confdefs.h >>conftest.$ac_ext
30494 cat >>conftest.$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30497 #include <sys/time.h>
30498 #include <unistd.h>
30505 gettimeofday(&tv, NULL);
30511 rm -f conftest.$ac_objext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30513 (eval $ac_compile) 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); } &&
30517 { ac_try='test -s conftest.$ac_objext'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; }; then
30523 wx_cv_func_gettimeofday_has_2_args=yes
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.$ac_ext >&5
30528 cat >conftest.$ac_ext <<_ACEOF
30529 #line $LINENO "configure"
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30536 #include <sys/time.h>
30537 #include <unistd.h>
30550 rm -f conftest.$ac_objext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30552 (eval $ac_compile) 2>&5
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); } &&
30556 { ac_try='test -s conftest.$ac_objext'
30557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30558 (eval $ac_try) 2>&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); }; }; then
30562 wx_cv_func_gettimeofday_has_2_args=no
30564 echo "$as_me: failed program was:" >&5
30565 sed 's/^/| /' conftest.$ac_ext >&5
30568 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30569 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30570 wx_cv_func_gettimeofday_has_2_args=unknown
30574 rm -f conftest.$ac_objext conftest.$ac_ext
30577 rm -f conftest.$ac_objext conftest.$ac_ext
30579 ac_cpp='$CPP $CPPFLAGS'
30580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30586 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30587 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30589 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30590 cat >>confdefs.h <<\_ACEOF
30591 #define WX_GETTIMEOFDAY_NO_TZ 1
30597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30601 if test "$wxUSE_SOCKETS" = "yes"; then
30602 if test "$wxUSE_MGL" = "1"; then
30603 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30604 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30609 if test "$wxUSE_SOCKETS" = "yes"; then
30610 if test "$TOOLKIT" != "MSW"; then
30611 echo "$as_me:$LINENO: checking for socket" >&5
30612 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30613 if test "${ac_cv_func_socket+set}" = set; then
30614 echo $ECHO_N "(cached) $ECHO_C" >&6
30616 cat >conftest.$ac_ext <<_ACEOF
30617 #line $LINENO "configure"
30620 cat confdefs.h >>conftest.$ac_ext
30621 cat >>conftest.$ac_ext <<_ACEOF
30622 /* end confdefs.h. */
30623 /* System header to define __stub macros and hopefully few prototypes,
30624 which can conflict with char socket (); below.
30625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30626 <limits.h> exists even on freestanding compilers. */
30628 # include <limits.h>
30630 # include <assert.h>
30632 /* Override any gcc2 internal prototype to avoid an error. */
30637 /* We use char because int might match the return type of a gcc2
30638 builtin and then its argument prototype would still apply. */
30640 /* The GNU C library defines this for functions which it implements
30641 to always fail with ENOSYS. Some functions are actually named
30642 something starting with __ and the normal name is an alias. */
30643 #if defined (__stub_socket) || defined (__stub___socket)
30646 char (*f) () = socket;
30655 return f != socket;
30660 rm -f conftest.$ac_objext conftest$ac_exeext
30661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30662 (eval $ac_link) 2>&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } &&
30666 { ac_try='test -s conftest$ac_exeext'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; }; then
30672 ac_cv_func_socket=yes
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30677 ac_cv_func_socket=no
30679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30681 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30682 echo "${ECHO_T}$ac_cv_func_socket" >&6
30683 if test $ac_cv_func_socket = yes; then
30686 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30687 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30688 if test "${ac_cv_lib_socket_socket+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 ac_check_lib_save_LIBS=$LIBS
30692 LIBS="-lsocket $LIBS"
30693 cat >conftest.$ac_ext <<_ACEOF
30694 #line $LINENO "configure"
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30701 /* Override any gcc2 internal prototype to avoid an error. */
30705 /* We use char because int might match the return type of a gcc2
30706 builtin and then its argument prototype would still apply. */
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30718 (eval $ac_link) 2>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } &&
30722 { ac_try='test -s conftest$ac_exeext'
30723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30724 (eval $ac_try) 2>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30728 ac_cv_lib_socket_socket=yes
30730 echo "$as_me: failed program was:" >&5
30731 sed 's/^/| /' conftest.$ac_ext >&5
30733 ac_cv_lib_socket_socket=no
30735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30736 LIBS=$ac_check_lib_save_LIBS
30738 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30739 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30740 if test $ac_cv_lib_socket_socket = yes; then
30741 if test "$INET_LINK" != " -lsocket"; then
30742 INET_LINK="$INET_LINK -lsocket"
30746 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30747 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30759 if test "$wxUSE_SOCKETS" = "yes" ; then
30760 if test "$TOOLKIT" != "MSW"; then
30761 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30762 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30763 if test "${wx_cv_type_getsockname3+set}" = set; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 cat >conftest.$ac_ext <<_ACEOF
30768 #line $LINENO "configure"
30771 cat confdefs.h >>conftest.$ac_ext
30772 cat >>conftest.$ac_ext <<_ACEOF
30773 /* end confdefs.h. */
30775 #include <sys/types.h>
30776 #include <sys/socket.h>
30783 getsockname(0, 0, &len);
30789 rm -f conftest.$ac_objext
30790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30791 (eval $ac_compile) 2>&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } &&
30795 { ac_try='test -s conftest.$ac_objext'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; }; then
30801 wx_cv_type_getsockname3=socklen_t
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.$ac_ext >&5
30807 CFLAGS_OLD="$CFLAGS"
30808 if test "$GCC" = yes ; then
30809 CFLAGS="$CFLAGS -Werror"
30812 cat >conftest.$ac_ext <<_ACEOF
30813 #line $LINENO "configure"
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30820 #include <sys/types.h>
30821 #include <sys/socket.h>
30828 getsockname(0, 0, &len);
30834 rm -f conftest.$ac_objext
30835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30836 (eval $ac_compile) 2>&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } &&
30840 { ac_try='test -s conftest.$ac_objext'
30841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842 (eval $ac_try) 2>&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); }; }; then
30846 wx_cv_type_getsockname3=size_t
30848 echo "$as_me: failed program was:" >&5
30849 sed 's/^/| /' conftest.$ac_ext >&5
30851 cat >conftest.$ac_ext <<_ACEOF
30852 #line $LINENO "configure"
30855 cat confdefs.h >>conftest.$ac_ext
30856 cat >>conftest.$ac_ext <<_ACEOF
30857 /* end confdefs.h. */
30859 #include <sys/types.h>
30860 #include <sys/socket.h>
30867 getsockname(0, 0, &len);
30873 rm -f conftest.$ac_objext
30874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30875 (eval $ac_compile) 2>&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); } &&
30879 { ac_try='test -s conftest.$ac_objext'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; }; then
30885 wx_cv_type_getsockname3=int
30887 echo "$as_me: failed program was:" >&5
30888 sed 's/^/| /' conftest.$ac_ext >&5
30890 wx_cv_type_getsockname3=unknown
30893 rm -f conftest.$ac_objext conftest.$ac_ext
30896 rm -f conftest.$ac_objext conftest.$ac_ext
30898 CFLAGS="$CFLAGS_OLD"
30902 rm -f conftest.$ac_objext conftest.$ac_ext
30905 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30906 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30908 if test "$wx_cv_type_getsockname3" = "unknown"; then
30910 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30911 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30913 cat >>confdefs.h <<_ACEOF
30914 #define SOCKLEN_T $wx_cv_type_getsockname3
30921 if test "$wxUSE_SOCKETS" = "yes" ; then
30922 cat >>confdefs.h <<\_ACEOF
30923 #define wxUSE_SOCKETS 1
30926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
30930 if test "$wxUSE_GUI" = "yes"; then
30932 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30933 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30934 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30937 if test "$TOOLKIT" = "MOTIF"; then
30938 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
30939 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
30942 if test "$TOOLKIT" = "X11"; then
30943 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
30944 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
30948 if test "$TOOLKIT" != "MSW"; then
30949 if test "$wxUSE_JOYSTICK" = "yes"; then
30951 for ac_header in linux/joystick.h
30953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30955 echo "$as_me:$LINENO: checking for $ac_header" >&5
30956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30958 echo $ECHO_N "(cached) $ECHO_C" >&6
30960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30963 # Is the header compilable?
30964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30966 cat >conftest.$ac_ext <<_ACEOF
30967 #line $LINENO "configure"
30970 cat confdefs.h >>conftest.$ac_ext
30971 cat >>conftest.$ac_ext <<_ACEOF
30972 /* end confdefs.h. */
30973 $ac_includes_default
30974 #include <$ac_header>
30976 rm -f conftest.$ac_objext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30978 (eval $ac_compile) 2>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try='test -s conftest.$ac_objext'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; }; then
30988 ac_header_compiler=yes
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30993 ac_header_compiler=no
30995 rm -f conftest.$ac_objext conftest.$ac_ext
30996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30997 echo "${ECHO_T}$ac_header_compiler" >&6
30999 # Is the header present?
31000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31002 cat >conftest.$ac_ext <<_ACEOF
31003 #line $LINENO "configure"
31006 cat confdefs.h >>conftest.$ac_ext
31007 cat >>conftest.$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31009 #include <$ac_header>
31011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31014 grep -v '^ *+' conftest.er1 >conftest.err
31016 cat conftest.err >&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } >/dev/null; then
31019 if test -s conftest.err; then
31020 ac_cpp_err=$ac_c_preproc_warn_flag
31027 if test -z "$ac_cpp_err"; then
31028 ac_header_preproc=yes
31030 echo "$as_me: failed program was:" >&5
31031 sed 's/^/| /' conftest.$ac_ext >&5
31033 ac_header_preproc=no
31035 rm -f conftest.err conftest.$ac_ext
31036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31037 echo "${ECHO_T}$ac_header_preproc" >&6
31039 # So? What about this header?
31040 case $ac_header_compiler:$ac_header_preproc in
31042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31048 ## ------------------------------------ ##
31049 ## Report this to bug-autoconf@gnu.org. ##
31050 ## ------------------------------------ ##
31053 sed "s/^/$as_me: WARNING: /" >&2
31056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31064 ## ------------------------------------ ##
31065 ## Report this to bug-autoconf@gnu.org. ##
31066 ## ------------------------------------ ##
31069 sed "s/^/$as_me: WARNING: /" >&2
31072 echo "$as_me:$LINENO: checking for $ac_header" >&5
31073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31075 echo $ECHO_N "(cached) $ECHO_C" >&6
31077 eval "$as_ac_Header=$ac_header_preproc"
31079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31084 cat >>confdefs.h <<_ACEOF
31085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31092 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31094 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31095 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31100 if test "$wxUSE_JOYSTICK" = "yes"; then
31101 cat >>confdefs.h <<\_ACEOF
31102 #define wxUSE_JOYSTICK 1
31105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31110 if test "$TOOLKIT" != "MSW"; then
31114 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31115 if test "$USE_DARWIN" = 1; then
31119 for ac_func in dlopen
31121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31122 echo "$as_me:$LINENO: checking for $ac_func" >&5
31123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31124 if eval "test \"\${$as_ac_var+set}\" = set"; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 cat >conftest.$ac_ext <<_ACEOF
31128 #line $LINENO "configure"
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 /* System header to define __stub macros and hopefully few prototypes,
31135 which can conflict with char $ac_func (); below.
31136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31137 <limits.h> exists even on freestanding compilers. */
31139 # include <limits.h>
31141 # include <assert.h>
31143 /* Override any gcc2 internal prototype to avoid an error. */
31148 /* We use char because int might match the return type of a gcc2
31149 builtin and then its argument prototype would still apply. */
31151 /* The GNU C library defines this for functions which it implements
31152 to always fail with ENOSYS. Some functions are actually named
31153 something starting with __ and the normal name is an alias. */
31154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31157 char (*f) () = $ac_func;
31166 return f != $ac_func;
31171 rm -f conftest.$ac_objext conftest$ac_exeext
31172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31173 (eval $ac_link) 2>&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); } &&
31177 { ac_try='test -s conftest$ac_exeext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 eval "$as_ac_var=yes"
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31188 eval "$as_ac_var=no"
31190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31194 if test `eval echo '${'$as_ac_var'}'` = yes; then
31195 cat >>confdefs.h <<_ACEOF
31196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31199 cat >>confdefs.h <<\_ACEOF
31200 #define HAVE_DLOPEN 1
31207 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31208 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31209 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31210 echo $ECHO_N "(cached) $ECHO_C" >&6
31212 ac_check_lib_save_LIBS=$LIBS
31214 cat >conftest.$ac_ext <<_ACEOF
31215 #line $LINENO "configure"
31218 cat confdefs.h >>conftest.$ac_ext
31219 cat >>conftest.$ac_ext <<_ACEOF
31220 /* end confdefs.h. */
31222 /* Override any gcc2 internal prototype to avoid an error. */
31226 /* We use char because int might match the return type of a gcc2
31227 builtin and then its argument prototype would still apply. */
31237 rm -f conftest.$ac_objext conftest$ac_exeext
31238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31239 (eval $ac_link) 2>&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } &&
31243 { ac_try='test -s conftest$ac_exeext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 ac_cv_lib_dl_dlopen=yes
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.$ac_ext >&5
31254 ac_cv_lib_dl_dlopen=no
31256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31257 LIBS=$ac_check_lib_save_LIBS
31259 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31260 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31261 if test $ac_cv_lib_dl_dlopen = yes; then
31263 cat >>confdefs.h <<\_ACEOF
31264 #define HAVE_DLOPEN 1
31268 DL_LINK=" -ldl$DL_LINK"
31273 for ac_func in shl_load
31275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31276 echo "$as_me:$LINENO: checking for $ac_func" >&5
31277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31278 if eval "test \"\${$as_ac_var+set}\" = set"; then
31279 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 cat >conftest.$ac_ext <<_ACEOF
31282 #line $LINENO "configure"
31285 cat confdefs.h >>conftest.$ac_ext
31286 cat >>conftest.$ac_ext <<_ACEOF
31287 /* end confdefs.h. */
31288 /* System header to define __stub macros and hopefully few prototypes,
31289 which can conflict with char $ac_func (); below.
31290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31291 <limits.h> exists even on freestanding compilers. */
31293 # include <limits.h>
31295 # include <assert.h>
31297 /* Override any gcc2 internal prototype to avoid an error. */
31302 /* We use char because int might match the return type of a gcc2
31303 builtin and then its argument prototype would still apply. */
31305 /* The GNU C library defines this for functions which it implements
31306 to always fail with ENOSYS. Some functions are actually named
31307 something starting with __ and the normal name is an alias. */
31308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31311 char (*f) () = $ac_func;
31320 return f != $ac_func;
31325 rm -f conftest.$ac_objext conftest$ac_exeext
31326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31327 (eval $ac_link) 2>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -s conftest$ac_exeext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 eval "$as_ac_var=yes"
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.$ac_ext >&5
31342 eval "$as_ac_var=no"
31344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31348 if test `eval echo '${'$as_ac_var'}'` = yes; then
31349 cat >>confdefs.h <<_ACEOF
31350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31353 cat >>confdefs.h <<\_ACEOF
31354 #define HAVE_SHL_LOAD 1
31361 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31362 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31363 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31366 ac_check_lib_save_LIBS=$LIBS
31367 LIBS="-lshl_load $LIBS"
31368 cat >conftest.$ac_ext <<_ACEOF
31369 #line $LINENO "configure"
31372 cat confdefs.h >>conftest.$ac_ext
31373 cat >>conftest.$ac_ext <<_ACEOF
31374 /* end confdefs.h. */
31376 /* Override any gcc2 internal prototype to avoid an error. */
31380 /* We use char because int might match the return type of a gcc2
31381 builtin and then its argument prototype would still apply. */
31391 rm -f conftest.$ac_objext conftest$ac_exeext
31392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31393 (eval $ac_link) 2>&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try='test -s conftest$ac_exeext'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; }; then
31403 ac_cv_lib_shl_load_dld=yes
31405 echo "$as_me: failed program was:" >&5
31406 sed 's/^/| /' conftest.$ac_ext >&5
31408 ac_cv_lib_shl_load_dld=no
31410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31411 LIBS=$ac_check_lib_save_LIBS
31413 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31414 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31415 if test $ac_cv_lib_shl_load_dld = yes; then
31418 DL_LINK=" -ldld$DL_LINK"
31434 if test "$HAVE_DL_FUNCS" = 1; then
31436 for ac_func in dlerror
31438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31439 echo "$as_me:$LINENO: checking for $ac_func" >&5
31440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31441 if eval "test \"\${$as_ac_var+set}\" = set"; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 cat >conftest.$ac_ext <<_ACEOF
31445 #line $LINENO "configure"
31448 cat confdefs.h >>conftest.$ac_ext
31449 cat >>conftest.$ac_ext <<_ACEOF
31450 /* end confdefs.h. */
31451 /* System header to define __stub macros and hopefully few prototypes,
31452 which can conflict with char $ac_func (); below.
31453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31454 <limits.h> exists even on freestanding compilers. */
31456 # include <limits.h>
31458 # include <assert.h>
31460 /* Override any gcc2 internal prototype to avoid an error. */
31465 /* We use char because int might match the return type of a gcc2
31466 builtin and then its argument prototype would still apply. */
31468 /* The GNU C library defines this for functions which it implements
31469 to always fail with ENOSYS. Some functions are actually named
31470 something starting with __ and the normal name is an alias. */
31471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31474 char (*f) () = $ac_func;
31483 return f != $ac_func;
31488 rm -f conftest.$ac_objext conftest$ac_exeext
31489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31490 (eval $ac_link) 2>&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } &&
31494 { ac_try='test -s conftest$ac_exeext'
31495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31496 (eval $ac_try) 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; }; then
31500 eval "$as_ac_var=yes"
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.$ac_ext >&5
31505 eval "$as_ac_var=no"
31507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31511 if test `eval echo '${'$as_ac_var'}'` = yes; then
31512 cat >>confdefs.h <<_ACEOF
31513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31515 cat >>confdefs.h <<\_ACEOF
31516 #define HAVE_DLERROR 1
31520 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31521 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31522 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31523 echo $ECHO_N "(cached) $ECHO_C" >&6
31525 ac_check_lib_save_LIBS=$LIBS
31527 cat >conftest.$ac_ext <<_ACEOF
31528 #line $LINENO "configure"
31531 cat confdefs.h >>conftest.$ac_ext
31532 cat >>conftest.$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31535 /* Override any gcc2 internal prototype to avoid an error. */
31539 /* We use char because int might match the return type of a gcc2
31540 builtin and then its argument prototype would still apply. */
31550 rm -f conftest.$ac_objext conftest$ac_exeext
31551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31552 (eval $ac_link) 2>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try='test -s conftest$ac_exeext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 ac_cv_lib_dl_dlerror=yes
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.$ac_ext >&5
31567 ac_cv_lib_dl_dlerror=no
31569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31570 LIBS=$ac_check_lib_save_LIBS
31572 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31573 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31574 if test $ac_cv_lib_dl_dlerror = yes; then
31575 cat >>confdefs.h <<\_ACEOF
31576 #define HAVE_DLERROR 1
31587 if test "$HAVE_DL_FUNCS" = 0; then
31588 if test "$HAVE_SHL_FUNCS" = 0; then
31589 if test "$USE_UNIX" = 1; then
31590 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31591 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31592 wxUSE_DYNAMIC_LOADER=no
31593 wxUSE_DYNLIB_CLASS=no
31595 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31596 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31603 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31604 cat >>confdefs.h <<\_ACEOF
31605 #define wxUSE_DYNAMIC_LOADER 1
31608 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31609 cat >>confdefs.h <<\_ACEOF
31610 #define wxUSE_DYNLIB_CLASS 1
31616 if test "$wxUSE_FONTMAP" = "yes" ; then
31617 cat >>confdefs.h <<\_ACEOF
31618 #define wxUSE_FONTMAP 1
31623 if test "$wxUSE_UNICODE" = "yes" ; then
31624 cat >>confdefs.h <<\_ACEOF
31625 #define wxUSE_UNICODE 1
31629 if test "$wxUSE_MSW" != 1; then
31630 wxUSE_UNICODE_MSLU=no
31633 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31634 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31635 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31636 if test "${ac_cv_lib_unicows_main+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 ac_check_lib_save_LIBS=$LIBS
31640 LIBS="-lunicows $LIBS"
31641 cat >conftest.$ac_ext <<_ACEOF
31642 #line $LINENO "configure"
31645 cat confdefs.h >>conftest.$ac_ext
31646 cat >>conftest.$ac_ext <<_ACEOF
31647 /* end confdefs.h. */
31658 rm -f conftest.$ac_objext conftest$ac_exeext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31660 (eval $ac_link) 2>&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } &&
31664 { ac_try='test -s conftest$ac_exeext'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; }; then
31670 ac_cv_lib_unicows_main=yes
31672 echo "$as_me: failed program was:" >&5
31673 sed 's/^/| /' conftest.$ac_ext >&5
31675 ac_cv_lib_unicows_main=no
31677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31678 LIBS=$ac_check_lib_save_LIBS
31680 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31681 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31682 if test $ac_cv_lib_unicows_main = yes; then
31684 cat >>confdefs.h <<\_ACEOF
31685 #define wxUSE_UNICODE_MSLU 1
31691 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31692 Applications will only run on Windows NT/2000/XP!" >&5
31693 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31694 Applications will only run on Windows NT/2000/XP!" >&2;}
31695 wxUSE_UNICODE_MSLU=no
31702 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31703 cat >>confdefs.h <<\_ACEOF
31704 #define wxUSE_EXPERIMENTAL_PRINTF 1
31710 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31711 cat >>confdefs.h <<\_ACEOF
31712 #define wxUSE_POSTSCRIPT 1
31717 cat >>confdefs.h <<\_ACEOF
31718 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31722 cat >>confdefs.h <<\_ACEOF
31723 #define wxUSE_NORMALIZED_PS_FONTS 1
31728 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31729 cat >>confdefs.h <<\_ACEOF
31730 #define wxUSE_CONSTRAINTS 1
31733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31736 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31739 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31740 cat >>confdefs.h <<\_ACEOF
31741 #define wxUSE_MDI_ARCHITECTURE 1
31744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31749 cat >>confdefs.h <<\_ACEOF
31750 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31754 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31759 if test "$wxUSE_HELP" = "yes"; then
31760 cat >>confdefs.h <<\_ACEOF
31761 #define wxUSE_HELP 1
31764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31766 if test "$wxUSE_MSW" = 1; then
31767 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31768 cat >>confdefs.h <<\_ACEOF
31769 #define wxUSE_MS_HTML_HELP 1
31775 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31776 if test "$wxUSE_HTML" = "yes"; then
31777 cat >>confdefs.h <<\_ACEOF
31778 #define wxUSE_WXHTML_HELP 1
31782 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31783 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31784 wxUSE_WXHTML_HELP=no
31789 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31790 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31791 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31792 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31794 cat >>confdefs.h <<\_ACEOF
31795 #define wxUSE_PRINTING_ARCHITECTURE 1
31799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31802 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31803 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31804 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31805 { (exit 1); exit 1; }; }
31809 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31810 -o "$wxUSE_CLIPBOARD" = "yes" \
31811 -o "$wxUSE_OLE" = "yes" \
31812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31814 for ac_header in ole2.h
31816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31818 echo "$as_me:$LINENO: checking for $ac_header" >&5
31819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31826 # Is the header compilable?
31827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31829 cat >conftest.$ac_ext <<_ACEOF
31830 #line $LINENO "configure"
31833 cat confdefs.h >>conftest.$ac_ext
31834 cat >>conftest.$ac_ext <<_ACEOF
31835 /* end confdefs.h. */
31836 $ac_includes_default
31837 #include <$ac_header>
31839 rm -f conftest.$ac_objext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31841 (eval $ac_compile) 2>&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try='test -s conftest.$ac_objext'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; }; then
31851 ac_header_compiler=yes
31853 echo "$as_me: failed program was:" >&5
31854 sed 's/^/| /' conftest.$ac_ext >&5
31856 ac_header_compiler=no
31858 rm -f conftest.$ac_objext conftest.$ac_ext
31859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31860 echo "${ECHO_T}$ac_header_compiler" >&6
31862 # Is the header present?
31863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31865 cat >conftest.$ac_ext <<_ACEOF
31866 #line $LINENO "configure"
31869 cat confdefs.h >>conftest.$ac_ext
31870 cat >>conftest.$ac_ext <<_ACEOF
31871 /* end confdefs.h. */
31872 #include <$ac_header>
31874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31877 grep -v '^ *+' conftest.er1 >conftest.err
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } >/dev/null; then
31882 if test -s conftest.err; then
31883 ac_cpp_err=$ac_c_preproc_warn_flag
31890 if test -z "$ac_cpp_err"; then
31891 ac_header_preproc=yes
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31896 ac_header_preproc=no
31898 rm -f conftest.err conftest.$ac_ext
31899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31900 echo "${ECHO_T}$ac_header_preproc" >&6
31902 # So? What about this header?
31903 case $ac_header_compiler:$ac_header_preproc in
31905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31911 ## ------------------------------------ ##
31912 ## Report this to bug-autoconf@gnu.org. ##
31913 ## ------------------------------------ ##
31916 sed "s/^/$as_me: WARNING: /" >&2
31919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31927 ## ------------------------------------ ##
31928 ## Report this to bug-autoconf@gnu.org. ##
31929 ## ------------------------------------ ##
31932 sed "s/^/$as_me: WARNING: /" >&2
31935 echo "$as_me:$LINENO: checking for $ac_header" >&5
31936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31938 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 eval "$as_ac_Header=$ac_header_preproc"
31942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31947 cat >>confdefs.h <<_ACEOF
31948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31956 if test "$ac_cv_header_ole2_h" = "yes" ; then
31957 if test "$GCC" = yes ; then
31961 ac_cpp='$CXXCPP $CPPFLAGS'
31962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31967 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
31968 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
31969 cat >conftest.$ac_ext <<_ACEOF
31970 #line $LINENO "configure"
31973 cat confdefs.h >>conftest.$ac_ext
31974 cat >>conftest.$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31976 #include <windows.h>
31986 rm -f conftest.$ac_objext
31987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31988 (eval $ac_compile) 2>&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } &&
31992 { ac_try='test -s conftest.$ac_objext'
31993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994 (eval $ac_try) 2>&5
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; }; then
31998 echo "$as_me:$LINENO: result: no" >&5
31999 echo "${ECHO_T}no" >&6
32001 echo "$as_me: failed program was:" >&5
32002 sed 's/^/| /' conftest.$ac_ext >&5
32004 echo "$as_me:$LINENO: result: yes" >&5
32005 echo "${ECHO_T}yes" >&6
32006 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32008 rm -f conftest.$ac_objext conftest.$ac_ext
32010 ac_cpp='$CPP $CPPFLAGS'
32011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32015 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32016 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32017 cat >>confdefs.h <<\_ACEOF
32018 #define wxUSE_OLE 1
32024 cat >>confdefs.h <<\_ACEOF
32025 #define wxUSE_DATAOBJ 1
32029 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32030 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32033 wxUSE_DRAG_AND_DROP=no
32038 if test "$wxUSE_METAFILE" = "yes"; then
32039 cat >>confdefs.h <<\_ACEOF
32040 #define wxUSE_METAFILE 1
32044 cat >>confdefs.h <<\_ACEOF
32045 #define wxUSE_ENH_METAFILE 1
32051 if test "$wxUSE_IPC" = "yes"; then
32052 if test "$wxUSE_SOCKETS" != "yes"; then
32053 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32054 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32057 cat >>confdefs.h <<\_ACEOF
32058 #define wxUSE_IPC 1
32063 if test "$wxUSE_CLIPBOARD" = "yes"; then
32064 if test "$wxUSE_MGL" = 1; then
32065 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32066 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32070 if test "$wxUSE_CLIPBOARD" = "yes"; then
32071 cat >>confdefs.h <<\_ACEOF
32072 #define wxUSE_CLIPBOARD 1
32076 cat >>confdefs.h <<\_ACEOF
32077 #define wxUSE_DATAOBJ 1
32083 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32084 if test "$wxUSE_GTK" = 1; then
32085 if test "$WXGTK12" != 1; then
32086 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32087 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32088 wxUSE_DRAG_AND_DROP=no
32092 if test "$wxUSE_MOTIF" = 1; then
32093 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32094 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32095 wxUSE_DRAG_AND_DROP=no
32098 if test "$wxUSE_X11" = 1; then
32099 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32100 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32101 wxUSE_DRAG_AND_DROP=no
32104 if test "$wxUSE_MGL" = 1; then
32105 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32106 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32107 wxUSE_DRAG_AND_DROP=no
32110 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32111 cat >>confdefs.h <<\_ACEOF
32112 #define wxUSE_DRAG_AND_DROP 1
32115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32120 if test "$wxUSE_SPLINES" = "yes" ; then
32121 cat >>confdefs.h <<\_ACEOF
32122 #define wxUSE_SPLINES 1
32129 if test "$wxUSE_CONTROLS" = "yes"; then
32133 if test "$wxUSE_ACCEL" = "yes"; then
32134 cat >>confdefs.h <<\_ACEOF
32135 #define wxUSE_ACCEL 1
32141 if test "$wxUSE_BUTTON" = "yes"; then
32142 cat >>confdefs.h <<\_ACEOF
32143 #define wxUSE_BUTTON 1
32149 if test "$wxUSE_BMPBUTTON" = "yes"; then
32150 cat >>confdefs.h <<\_ACEOF
32151 #define wxUSE_BMPBUTTON 1
32157 if test "$wxUSE_CALCTRL" = "yes"; then
32158 cat >>confdefs.h <<\_ACEOF
32159 #define wxUSE_CALENDARCTRL 1
32163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32166 if test "$wxUSE_CARET" = "yes"; then
32167 cat >>confdefs.h <<\_ACEOF
32168 #define wxUSE_CARET 1
32172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32175 if test "$wxUSE_COMBOBOX" = "yes"; then
32176 cat >>confdefs.h <<\_ACEOF
32177 #define wxUSE_COMBOBOX 1
32183 if test "$wxUSE_CHOICE" = "yes"; then
32184 cat >>confdefs.h <<\_ACEOF
32185 #define wxUSE_CHOICE 1
32191 if test "$wxUSE_CHECKBOX" = "yes"; then
32192 cat >>confdefs.h <<\_ACEOF
32193 #define wxUSE_CHECKBOX 1
32199 if test "$wxUSE_CHECKLST" = "yes"; then
32200 cat >>confdefs.h <<\_ACEOF
32201 #define wxUSE_CHECKLISTBOX 1
32205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32208 if test "$wxUSE_DISPLAY" = "yes"; then
32209 cat >>confdefs.h <<\_ACEOF
32210 #define wxUSE_DISPLAY 1
32213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32216 if test "$wxUSE_GAUGE" = "yes"; then
32217 cat >>confdefs.h <<\_ACEOF
32218 #define wxUSE_GAUGE 1
32224 if test "$wxUSE_GRID" = "yes"; then
32225 cat >>confdefs.h <<\_ACEOF
32226 #define wxUSE_GRID 1
32230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32233 if test "$wxUSE_IMAGLIST" = "yes"; then
32234 cat >>confdefs.h <<\_ACEOF
32235 #define wxUSE_IMAGLIST 1
32240 if test "$wxUSE_LISTBOX" = "yes"; then
32241 cat >>confdefs.h <<\_ACEOF
32242 #define wxUSE_LISTBOX 1
32248 if test "$wxUSE_LISTCTRL" = "yes"; then
32249 if test "$wxUSE_IMAGLIST" = "yes"; then
32250 cat >>confdefs.h <<\_ACEOF
32251 #define wxUSE_LISTCTRL 1
32255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32257 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32258 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32262 if test "$wxUSE_NOTEBOOK" = "yes"; then
32263 cat >>confdefs.h <<\_ACEOF
32264 #define wxUSE_NOTEBOOK 1
32268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32272 if test "$wxUSE_RADIOBOX" = "yes"; then
32273 cat >>confdefs.h <<\_ACEOF
32274 #define wxUSE_RADIOBOX 1
32280 if test "$wxUSE_RADIOBTN" = "yes"; then
32281 cat >>confdefs.h <<\_ACEOF
32282 #define wxUSE_RADIOBTN 1
32288 if test "$wxUSE_SASH" = "yes"; then
32289 cat >>confdefs.h <<\_ACEOF
32290 #define wxUSE_SASH 1
32293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32296 if test "$wxUSE_SCROLLBAR" = "yes"; then
32297 cat >>confdefs.h <<\_ACEOF
32298 #define wxUSE_SCROLLBAR 1
32302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32305 if test "$wxUSE_SLIDER" = "yes"; then
32306 cat >>confdefs.h <<\_ACEOF
32307 #define wxUSE_SLIDER 1
32313 if test "$wxUSE_SPINBTN" = "yes"; then
32314 cat >>confdefs.h <<\_ACEOF
32315 #define wxUSE_SPINBTN 1
32321 if test "$wxUSE_SPINCTRL" = "yes"; then
32322 cat >>confdefs.h <<\_ACEOF
32323 #define wxUSE_SPINCTRL 1
32329 if test "$wxUSE_SPLITTER" = "yes"; then
32330 cat >>confdefs.h <<\_ACEOF
32331 #define wxUSE_SPLITTER 1
32334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32337 if test "$wxUSE_STATBMP" = "yes"; then
32338 cat >>confdefs.h <<\_ACEOF
32339 #define wxUSE_STATBMP 1
32345 if test "$wxUSE_STATBOX" = "yes"; then
32346 cat >>confdefs.h <<\_ACEOF
32347 #define wxUSE_STATBOX 1
32353 if test "$wxUSE_STATTEXT" = "yes"; then
32354 cat >>confdefs.h <<\_ACEOF
32355 #define wxUSE_STATTEXT 1
32361 if test "$wxUSE_STATLINE" = "yes"; then
32362 cat >>confdefs.h <<\_ACEOF
32363 #define wxUSE_STATLINE 1
32369 if test "$wxUSE_STATUSBAR" = "yes"; then
32370 cat >>confdefs.h <<\_ACEOF
32371 #define wxUSE_STATUSBAR 1
32376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32379 if test "$wxUSE_TABDIALOG" = "yes"; then
32380 cat >>confdefs.h <<\_ACEOF
32381 #define wxUSE_TAB_DIALOG 1
32384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32387 if test "$wxUSE_TEXTCTRL" = "yes"; then
32388 cat >>confdefs.h <<\_ACEOF
32389 #define wxUSE_TEXTCTRL 1
32393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32396 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32397 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32398 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32399 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32402 if test "$wxUSE_UNIVERSAL" = "yes"; then
32403 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32404 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32408 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32409 cat >>confdefs.h <<\_ACEOF
32410 #define wxUSE_TOGGLEBTN 1
32417 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32418 cat >>confdefs.h <<\_ACEOF
32419 #define wxUSE_TOOLBAR_SIMPLE 1
32422 wxUSE_TOOLBAR="yes"
32426 if test "$wxUSE_TOOLBAR" = "yes"; then
32427 cat >>confdefs.h <<\_ACEOF
32428 #define wxUSE_TOOLBAR 1
32433 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32434 wxUSE_TOOLBAR_NATIVE="yes"
32437 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32438 cat >>confdefs.h <<\_ACEOF
32439 #define wxUSE_TOOLBAR_NATIVE 1
32445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32448 if test "$wxUSE_TOOLTIPS" = "yes"; then
32449 if test "$wxUSE_MOTIF" = 1; then
32450 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32451 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32453 if test "$wxUSE_UNIVERSAL" = "yes"; then
32454 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32455 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32457 cat >>confdefs.h <<\_ACEOF
32458 #define wxUSE_TOOLTIPS 1
32465 if test "$wxUSE_TREECTRL" = "yes"; then
32466 if test "$wxUSE_IMAGLIST" = "yes"; then
32467 cat >>confdefs.h <<\_ACEOF
32468 #define wxUSE_TREECTRL 1
32472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32474 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32475 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32479 if test "$wxUSE_POPUPWIN" = "yes"; then
32480 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32481 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32482 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32484 if test "$wxUSE_MOTIF" = 1; then
32485 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32486 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32488 if test "$wxUSE_PM" = 1; then
32489 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32490 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32492 cat >>confdefs.h <<\_ACEOF
32493 #define wxUSE_POPUPWIN 1
32503 if test "$wxUSE_TIPWINDOW" = "yes"; then
32504 if test "$wxUSE_PM" = 1; then
32505 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32506 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32508 cat >>confdefs.h <<\_ACEOF
32509 #define wxUSE_TIPWINDOW 1
32515 if test "$USES_CONTROLS" = 1; then
32516 cat >>confdefs.h <<\_ACEOF
32517 #define wxUSE_CONTROLS 1
32524 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32525 cat >>confdefs.h <<\_ACEOF
32526 #define wxUSE_DRAGIMAGE 1
32529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32532 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32533 cat >>confdefs.h <<\_ACEOF
32534 #define wxUSE_ACCESSIBILITY 1
32537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32540 if test "$wxUSE_MENUS" = "yes"; then
32541 cat >>confdefs.h <<\_ACEOF
32542 #define wxUSE_MENUS 1
32545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32548 if test "$wxUSE_METAFILE" = "yes"; then
32549 cat >>confdefs.h <<\_ACEOF
32550 #define wxUSE_METAFILE 1
32555 if test "$wxUSE_MIMETYPE" = "yes"; then
32556 cat >>confdefs.h <<\_ACEOF
32557 #define wxUSE_MIMETYPE 1
32562 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564 #define wxUSE_SYSTEM_OPTIONS 1
32567 if test "$TOOLKIT" = "MSW"; then
32568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32573 if test "$wxUSE_PROTOCOL" = "yes"; then
32574 if test "$wxUSE_SOCKETS" != "yes"; then
32575 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32576 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32580 if test "$wxUSE_PROTOCOL" = "yes"; then
32581 cat >>confdefs.h <<\_ACEOF
32582 #define wxUSE_PROTOCOL 1
32586 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32587 cat >>confdefs.h <<\_ACEOF
32588 #define wxUSE_PROTOCOL_HTTP 1
32592 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32593 cat >>confdefs.h <<\_ACEOF
32594 #define wxUSE_PROTOCOL_FTP 1
32598 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32599 cat >>confdefs.h <<\_ACEOF
32600 #define wxUSE_PROTOCOL_FILE 1
32607 if test "$wxUSE_URL" = "yes"; then
32608 if test "$wxUSE_PROTOCOL" != "yes"; then
32609 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32610 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32613 if test "$wxUSE_URL" = "yes"; then
32614 cat >>confdefs.h <<\_ACEOF
32615 #define wxUSE_URL 1
32621 if test "$wxUSE_MINIFRAME" = "yes"; then
32622 cat >>confdefs.h <<\_ACEOF
32623 #define wxUSE_MINIFRAME 1
32626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32629 if test "$wxUSE_HTML" = "yes"; then
32630 cat >>confdefs.h <<\_ACEOF
32631 #define wxUSE_HTML 1
32634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32637 if test "$wxUSE_VALIDATORS" = "yes"; then
32638 cat >>confdefs.h <<\_ACEOF
32639 #define wxUSE_VALIDATORS 1
32642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32645 if test "$wxUSE_PALETTE" = "yes" ; then
32646 cat >>confdefs.h <<\_ACEOF
32647 #define wxUSE_PALETTE 1
32652 if test "$wxUSE_IMAGE" = "yes" ; then
32653 cat >>confdefs.h <<\_ACEOF
32654 #define wxUSE_IMAGE 1
32659 if test "$wxUSE_GIF" = "yes" ; then
32660 cat >>confdefs.h <<\_ACEOF
32661 #define wxUSE_GIF 1
32666 if test "$wxUSE_PCX" = "yes" ; then
32667 cat >>confdefs.h <<\_ACEOF
32668 #define wxUSE_PCX 1
32673 if test "$wxUSE_IFF" = "yes" ; then
32674 cat >>confdefs.h <<\_ACEOF
32675 #define wxUSE_IFF 1
32680 if test "$wxUSE_PNM" = "yes" ; then
32681 cat >>confdefs.h <<\_ACEOF
32682 #define wxUSE_PNM 1
32687 if test "$wxUSE_XPM" = "yes" ; then
32688 cat >>confdefs.h <<\_ACEOF
32689 #define wxUSE_XPM 1
32694 if test "$wxUSE_ICO_CUR" = "yes" ; then
32695 cat >>confdefs.h <<\_ACEOF
32696 #define wxUSE_ICO_CUR 1
32701 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32702 LIBS=" -lunicows $LIBS"
32706 if test "$wxUSE_CHOICEDLG" = "yes"; then
32707 cat >>confdefs.h <<\_ACEOF
32708 #define wxUSE_CHOICEDLG 1
32713 if test "$wxUSE_COLOURDLG" = "yes"; then
32714 cat >>confdefs.h <<\_ACEOF
32715 #define wxUSE_COLOURDLG 1
32720 if test "$wxUSE_FILEDLG" = "yes"; then
32721 cat >>confdefs.h <<\_ACEOF
32722 #define wxUSE_FILEDLG 1
32727 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32728 cat >>confdefs.h <<\_ACEOF
32729 #define wxUSE_FINDREPLDLG 1
32734 if test "$wxUSE_FONTDLG" = "yes"; then
32735 cat >>confdefs.h <<\_ACEOF
32736 #define wxUSE_FONTDLG 1
32741 if test "$wxUSE_DIRDLG" = "yes"; then
32742 if test "$wxUSE_TREECTRL" != "yes"; then
32743 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32744 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32746 cat >>confdefs.h <<\_ACEOF
32747 #define wxUSE_DIRDLG 1
32753 if test "$wxUSE_MSGDLG" = "yes"; then
32754 cat >>confdefs.h <<\_ACEOF
32755 #define wxUSE_MSGDLG 1
32760 if test "$wxUSE_NUMBERDLG" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define wxUSE_NUMBERDLG 1
32767 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32769 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32770 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32772 cat >>confdefs.h <<\_ACEOF
32773 #define wxUSE_PROGRESSDLG 1
32779 if test "$wxUSE_SPLASH" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781 #define wxUSE_SPLASH 1
32786 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32787 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32788 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32789 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32791 cat >>confdefs.h <<\_ACEOF
32792 #define wxUSE_STARTUP_TIPS 1
32798 if test "$wxUSE_TEXTDLG" = "yes"; then
32799 cat >>confdefs.h <<\_ACEOF
32800 #define wxUSE_TEXTDLG 1
32805 if test "$wxUSE_WIZARDDLG" = "yes"; then
32806 cat >>confdefs.h <<\_ACEOF
32807 #define wxUSE_WIZARDDLG 1
32810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32814 if test "$cross_compiling" = "yes"; then
32817 OSINFO=`uname -s -r -m`
32818 OSINFO="\"$OSINFO\""
32821 cat >>confdefs.h <<_ACEOF
32822 #define WXWIN_OS_DESCRIPTION $OSINFO
32827 if test "x$prefix" != "xNONE"; then
32830 wxPREFIX=$ac_default_prefix
32833 cat >>confdefs.h <<_ACEOF
32834 #define wxINSTALL_PREFIX "$wxPREFIX"
32838 top_builddir_wxconfig=`pwd`
32843 if test "$wxUSE_MAC" = 1 ; then
32844 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
32846 if test "$wxUSE_COCOA" = 1 ; then
32847 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
32851 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32859 echo "$as_me:$LINENO: checking for $ac_func" >&5
32860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32861 if eval "test \"\${$as_ac_var+set}\" = set"; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 cat >conftest.$ac_ext <<_ACEOF
32865 #line $LINENO "configure"
32868 cat confdefs.h >>conftest.$ac_ext
32869 cat >>conftest.$ac_ext <<_ACEOF
32870 /* end confdefs.h. */
32871 /* System header to define __stub macros and hopefully few prototypes,
32872 which can conflict with char $ac_func (); below.
32873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32874 <limits.h> exists even on freestanding compilers. */
32876 # include <limits.h>
32878 # include <assert.h>
32880 /* Override any gcc2 internal prototype to avoid an error. */
32885 /* We use char because int might match the return type of a gcc2
32886 builtin and then its argument prototype would still apply. */
32888 /* The GNU C library defines this for functions which it implements
32889 to always fail with ENOSYS. Some functions are actually named
32890 something starting with __ and the normal name is an alias. */
32891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32894 char (*f) () = $ac_func;
32903 return f != $ac_func;
32908 rm -f conftest.$ac_objext conftest$ac_exeext
32909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32910 (eval $ac_link) 2>&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } &&
32914 { ac_try='test -s conftest$ac_exeext'
32915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 (eval $ac_try) 2>&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; }; then
32920 eval "$as_ac_var=yes"
32922 echo "$as_me: failed program was:" >&5
32923 sed 's/^/| /' conftest.$ac_ext >&5
32925 eval "$as_ac_var=no"
32927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32931 if test `eval echo '${'$as_ac_var'}'` = yes; then
32932 cat >>confdefs.h <<_ACEOF
32933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32940 for ac_func in floor
32942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32943 echo "$as_me:$LINENO: checking for $ac_func" >&5
32944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32945 if eval "test \"\${$as_ac_var+set}\" = set"; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 cat >conftest.$ac_ext <<_ACEOF
32949 #line $LINENO "configure"
32952 cat confdefs.h >>conftest.$ac_ext
32953 cat >>conftest.$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32955 /* System header to define __stub macros and hopefully few prototypes,
32956 which can conflict with char $ac_func (); below.
32957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32958 <limits.h> exists even on freestanding compilers. */
32960 # include <limits.h>
32962 # include <assert.h>
32964 /* Override any gcc2 internal prototype to avoid an error. */
32969 /* We use char because int might match the return type of a gcc2
32970 builtin and then its argument prototype would still apply. */
32972 /* The GNU C library defines this for functions which it implements
32973 to always fail with ENOSYS. Some functions are actually named
32974 something starting with __ and the normal name is an alias. */
32975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32978 char (*f) () = $ac_func;
32987 return f != $ac_func;
32992 rm -f conftest.$ac_objext conftest$ac_exeext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32994 (eval $ac_link) 2>&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); } &&
32998 { ac_try='test -s conftest$ac_exeext'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; }; then
33004 eval "$as_ac_var=yes"
33006 echo "$as_me: failed program was:" >&5
33007 sed 's/^/| /' conftest.$ac_ext >&5
33009 eval "$as_ac_var=no"
33011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33015 if test `eval echo '${'$as_ac_var'}'` = yes; then
33016 cat >>confdefs.h <<_ACEOF
33017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33023 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33024 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33025 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33026 echo "$as_me:$LINENO: result: yes" >&5
33027 echo "${ECHO_T}yes" >&6
33029 echo "$as_me:$LINENO: result: no" >&5
33030 echo "${ECHO_T}no" >&6
33032 # use different functions to avoid configure caching
33038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33039 echo "$as_me:$LINENO: checking for $ac_func" >&5
33040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33041 if eval "test \"\${$as_ac_var+set}\" = set"; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 cat >conftest.$ac_ext <<_ACEOF
33045 #line $LINENO "configure"
33048 cat confdefs.h >>conftest.$ac_ext
33049 cat >>conftest.$ac_ext <<_ACEOF
33050 /* end confdefs.h. */
33051 /* System header to define __stub macros and hopefully few prototypes,
33052 which can conflict with char $ac_func (); below.
33053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33054 <limits.h> exists even on freestanding compilers. */
33056 # include <limits.h>
33058 # include <assert.h>
33060 /* Override any gcc2 internal prototype to avoid an error. */
33065 /* We use char because int might match the return type of a gcc2
33066 builtin and then its argument prototype would still apply. */
33068 /* The GNU C library defines this for functions which it implements
33069 to always fail with ENOSYS. Some functions are actually named
33070 something starting with __ and the normal name is an alias. */
33071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33074 char (*f) () = $ac_func;
33083 return f != $ac_func;
33088 rm -f conftest.$ac_objext conftest$ac_exeext
33089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33090 (eval $ac_link) 2>&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } &&
33094 { ac_try='test -s conftest$ac_exeext'
33095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 (eval $ac_try) 2>&5
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); }; }; then
33100 eval "$as_ac_var=yes"
33102 echo "$as_me: failed program was:" >&5
33103 sed 's/^/| /' conftest.$ac_ext >&5
33105 eval "$as_ac_var=no"
33107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33111 if test `eval echo '${'$as_ac_var'}'` = yes; then
33112 cat >>confdefs.h <<_ACEOF
33113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33120 for ac_func in ceil
33122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33123 echo "$as_me:$LINENO: checking for $ac_func" >&5
33124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33125 if eval "test \"\${$as_ac_var+set}\" = set"; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 cat >conftest.$ac_ext <<_ACEOF
33129 #line $LINENO "configure"
33132 cat confdefs.h >>conftest.$ac_ext
33133 cat >>conftest.$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33135 /* System header to define __stub macros and hopefully few prototypes,
33136 which can conflict with char $ac_func (); below.
33137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33138 <limits.h> exists even on freestanding compilers. */
33140 # include <limits.h>
33142 # include <assert.h>
33144 /* Override any gcc2 internal prototype to avoid an error. */
33149 /* We use char because int might match the return type of a gcc2
33150 builtin and then its argument prototype would still apply. */
33152 /* The GNU C library defines this for functions which it implements
33153 to always fail with ENOSYS. Some functions are actually named
33154 something starting with __ and the normal name is an alias. */
33155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33158 char (*f) () = $ac_func;
33167 return f != $ac_func;
33172 rm -f conftest.$ac_objext conftest$ac_exeext
33173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33174 (eval $ac_link) 2>&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); } &&
33178 { ac_try='test -s conftest$ac_exeext'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; }; then
33184 eval "$as_ac_var=yes"
33186 echo "$as_me: failed program was:" >&5
33187 sed 's/^/| /' conftest.$ac_ext >&5
33189 eval "$as_ac_var=no"
33191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33195 if test `eval echo '${'$as_ac_var'}'` = yes; then
33196 cat >>confdefs.h <<_ACEOF
33197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33203 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33204 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33205 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33206 echo "$as_me:$LINENO: result: yes" >&5
33207 echo "${ECHO_T}yes" >&6
33209 echo "$as_me:$LINENO: result: no" >&5
33210 echo "${ECHO_T}no" >&6
33211 # not sure we should warn the user, crash, etc.
33215 if test "$wxUSE_GUI" = "yes"; then
33218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33219 drawing dynamic erase event exec font image \
33220 minimal propsize rotate shaped widgets"
33222 if test "$wxUSE_MONOLITHIC" != "yes"; then
33223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33226 SAMPLES_SUBDIRS="console"
33230 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33231 -I\${top_srcdir}/include \
33232 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33235 if test "$GXX" = yes ; then
33236 CXXWARNINGS="-Wall"
33239 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33241 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33242 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33243 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33246 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33247 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33248 if test "$wxUSE_GUI" = "yes"; then
33249 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33252 LDFLAGS="$LDFLAGS $PROFILE"
33254 if test "$wxUSE_GTK" = 1; then
33257 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33260 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33273 if test $wxUSE_MONOLITHIC = "yes" ; then
33291 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33297 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33299 if test -n "$ac_tool_prefix"; then
33300 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33301 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33302 echo "$as_me:$LINENO: checking for $ac_word" >&5
33303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33304 if test "${ac_cv_prog_RANLIB+set}" = set; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33307 if test -n "$RANLIB"; then
33308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33311 for as_dir in $PATH
33314 test -z "$as_dir" && as_dir=.
33315 for ac_exec_ext in '' $ac_executable_extensions; do
33316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33326 RANLIB=$ac_cv_prog_RANLIB
33327 if test -n "$RANLIB"; then
33328 echo "$as_me:$LINENO: result: $RANLIB" >&5
33329 echo "${ECHO_T}$RANLIB" >&6
33331 echo "$as_me:$LINENO: result: no" >&5
33332 echo "${ECHO_T}no" >&6
33336 if test -z "$ac_cv_prog_RANLIB"; then
33337 ac_ct_RANLIB=$RANLIB
33338 # Extract the first word of "ranlib", so it can be a program name with args.
33339 set dummy ranlib; ac_word=$2
33340 echo "$as_me:$LINENO: checking for $ac_word" >&5
33341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33342 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33343 echo $ECHO_N "(cached) $ECHO_C" >&6
33345 if test -n "$ac_ct_RANLIB"; then
33346 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33349 for as_dir in $PATH
33352 test -z "$as_dir" && as_dir=.
33353 for ac_exec_ext in '' $ac_executable_extensions; do
33354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33355 ac_cv_prog_ac_ct_RANLIB="ranlib"
33356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33362 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33365 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33366 if test -n "$ac_ct_RANLIB"; then
33367 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33368 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33370 echo "$as_me:$LINENO: result: no" >&5
33371 echo "${ECHO_T}no" >&6
33374 RANLIB=$ac_ct_RANLIB
33376 RANLIB="$ac_cv_prog_RANLIB"
33379 # Find a good install program. We prefer a C program (faster),
33380 # so one script is as good as another. But avoid the broken or
33381 # incompatible versions:
33382 # SysV /etc/install, /usr/sbin/install
33383 # SunOS /usr/etc/install
33384 # IRIX /sbin/install
33386 # AmigaOS /C/install, which installs bootblocks on floppy discs
33387 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33388 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33389 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33390 # ./install, which can be erroneously created by make from ./install.sh.
33391 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33392 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33393 if test -z "$INSTALL"; then
33394 if test "${ac_cv_path_install+set}" = set; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33398 for as_dir in $PATH
33401 test -z "$as_dir" && as_dir=.
33402 # Account for people who put trailing slashes in PATH elements.
33404 ./ | .// | /cC/* | \
33405 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33408 # OSF1 and SCO ODT 3.0 have their own names for install.
33409 # Don't use installbsd from OSF since it installs stuff as root
33411 for ac_prog in ginstall scoinst install; do
33412 for ac_exec_ext in '' $ac_executable_extensions; do
33413 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33414 if test $ac_prog = install &&
33415 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33416 # AIX install. It has an incompatible calling convention.
33418 elif test $ac_prog = install &&
33419 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33420 # program-specific install script used by HP pwplus--don't use.
33423 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33435 if test "${ac_cv_path_install+set}" = set; then
33436 INSTALL=$ac_cv_path_install
33438 # As a last resort, use the slow shell script. We don't cache a
33439 # path for INSTALL within a source directory, because that will
33440 # break other packages using the cache if that directory is
33441 # removed, or if the path is relative.
33442 INSTALL=$ac_install_sh
33445 echo "$as_me:$LINENO: result: $INSTALL" >&5
33446 echo "${ECHO_T}$INSTALL" >&6
33448 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33449 # It thinks the first close brace ends the variable substitution.
33450 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33452 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33454 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33456 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33457 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33459 if test "$LN_S" = "ln -s"; then
33460 echo "$as_me:$LINENO: result: yes" >&5
33461 echo "${ECHO_T}yes" >&6
33463 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33464 echo "${ECHO_T}no, using $LN_S" >&6
33468 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33469 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33470 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33471 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 cat >conftest.make <<\_ACEOF
33476 @echo 'ac_maketemp="$(MAKE)"'
33478 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33479 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33480 if test -n "$ac_maketemp"; then
33481 eval ac_cv_prog_make_${ac_make}_set=yes
33483 eval ac_cv_prog_make_${ac_make}_set=no
33485 rm -f conftest.make
33487 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33488 echo "$as_me:$LINENO: result: yes" >&5
33489 echo "${ECHO_T}yes" >&6
33492 echo "$as_me:$LINENO: result: no" >&5
33493 echo "${ECHO_T}no" >&6
33494 SET_MAKE="MAKE=${MAKE-make}"
33499 if test "$build" != "$host" ; then
33501 STRIP=$host_alias-strip
33503 # Extract the first word of "ar", so it can be a program name with args.
33504 set dummy ar; ac_word=$2
33505 echo "$as_me:$LINENO: checking for $ac_word" >&5
33506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33507 if test "${ac_cv_prog_AR+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33510 if test -n "$AR"; then
33511 ac_cv_prog_AR="$AR" # Let the user override the test.
33513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33514 for as_dir in $PATH
33517 test -z "$as_dir" && as_dir=.
33518 for ac_exec_ext in '' $ac_executable_extensions; do
33519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33527 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33531 if test -n "$AR"; then
33532 echo "$as_me:$LINENO: result: $AR" >&5
33533 echo "${ECHO_T}$AR" >&6
33535 echo "$as_me:$LINENO: result: no" >&5
33536 echo "${ECHO_T}no" >&6
33539 # Extract the first word of "strip", so it can be a program name with args.
33540 set dummy strip; ac_word=$2
33541 echo "$as_me:$LINENO: checking for $ac_word" >&5
33542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33543 if test "${ac_cv_prog_STRIP+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33546 if test -n "$STRIP"; then
33547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33550 for as_dir in $PATH
33553 test -z "$as_dir" && as_dir=.
33554 for ac_exec_ext in '' $ac_executable_extensions; do
33555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33556 ac_cv_prog_STRIP="strip"
33557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33563 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33566 STRIP=$ac_cv_prog_STRIP
33567 if test -n "$STRIP"; then
33568 echo "$as_me:$LINENO: result: $STRIP" >&5
33569 echo "${ECHO_T}$STRIP" >&6
33571 echo "$as_me:$LINENO: result: no" >&5
33572 echo "${ECHO_T}no" >&6
33579 INSTALL_DIR="mkdir"
33581 *) INSTALL_DIR="$INSTALL -d"
33588 *-*-cygwin* | *-*-mingw32* )
33589 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33595 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33596 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33597 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33598 echo $ECHO_N "(cached) $ECHO_C" >&6
33601 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33602 egrep -s GNU > /dev/null); then
33603 bakefile_cv_prog_makeisgnu="yes"
33605 bakefile_cv_prog_makeisgnu="no"
33609 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33610 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33612 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33627 *-*-cygwin* | *-*-mingw32* )
33630 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33633 powerpc-*-darwin* )
33660 *-*-cygwin* | *-*-mingw32* )
33665 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33669 powerpc-*-darwin* )
33679 SHARED_LD_CC="\$(CC) -shared -o"
33680 SHARED_LD_CXX="\$(CXX) -shared -o"
33682 if test "x$GCC" = "xyes"; then
33688 if test "x$GCC" = "xyes"; then
33689 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33690 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33692 LDFLAGS="$LDFLAGS -L/usr/lib"
33694 SHARED_LD_CC="${CC} -b -o"
33695 SHARED_LD_CXX="${CXX} -b -o"
33701 if test "x$GCC" != "xyes"; then
33702 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33703 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33704 if test "${bakefile_cv_prog_icc+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 cat >conftest.$ac_ext <<_ACEOF
33709 #line $LINENO "configure"
33712 cat confdefs.h >>conftest.$ac_ext
33713 cat >>conftest.$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33720 #ifndef __INTEL_COMPILER
33728 rm -f conftest.$ac_objext
33729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33730 (eval $ac_compile) 2>&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); } &&
33734 { ac_try='test -s conftest.$ac_objext'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; }; then
33740 bakefile_cv_prog_icc=yes
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.$ac_ext >&5
33745 bakefile_cv_prog_icc=no
33748 rm -f conftest.$ac_objext conftest.$ac_ext
33751 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33752 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33753 if test "$bakefile_cv_prog_icc" = "yes"; then
33760 if test "x$GCC" != xyes ; then
33761 SHARED_LD_CC="${CC} -G -o"
33762 SHARED_LD_CXX="${CXX} -G -o"
33768 CFLAGS="$CFLAGS -fno-common"
33769 CXXFLAGS="$CXXFLAGS -fno-common"
33772 cat <<EOF >shared-ld-sh
33774 #-----------------------------------------------------------------------------
33775 #-- Name: distrib/mac/shared-ld-sh
33776 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33777 #-- Author: Gilles Depeyrot
33778 #-- Copyright: (c) 2002 Gilles Depeyrot
33779 #-- Licence: any use permitted
33780 #-----------------------------------------------------------------------------
33786 while test \${#} -gt 0; do
33793 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33794 # collect these options and values
33795 args="\${args} \${1} \${2}"
33799 -l*|-L*|-flat_namespace)
33800 # collect these options
33801 args="\${args} \${1}"
33805 # skip these options
33809 echo "shared-ld: unhandled option '\${1}'"
33814 # collect object files
33815 objects="\${objects} \${1}"
33819 echo "shared-ld: unhandled argument '\${1}'"
33828 # Link one module containing all the others
33830 if test \${verbose} = 1; then
33831 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33833 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33835 if test \${status} != 0; then
33840 # Link the shared library from the single module created
33842 if test \${verbose} = 1; then
33843 echo "cc -dynamiclib master.\$\$.o \${args}"
33845 c++ -dynamiclib master.\$\$.o \${args}
33847 if test \${status} != 0; then
33852 # Remove intermediate module
33854 rm -f master.\$\$.o
33858 chmod +x shared-ld-sh
33860 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33861 SHARED_LD_CXX="$SHARED_LD_CC"
33862 PIC_FLAG="-dynamic -fPIC"
33866 if test "x$GCC" != "xyes"; then
33867 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33868 set dummy makeC++SharedLib; ac_word=$2
33869 echo "$as_me:$LINENO: checking for $ac_word" >&5
33870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33871 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 if test -n "$AIX_CXX_LD"; then
33875 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
33877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33878 for as_dir in $PATH
33881 test -z "$as_dir" && as_dir=.
33882 for ac_exec_ext in '' $ac_executable_extensions; do
33883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33884 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
33885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33891 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
33894 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
33895 if test -n "$AIX_CXX_LD"; then
33896 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33897 echo "${ECHO_T}$AIX_CXX_LD" >&6
33899 echo "$as_me:$LINENO: result: no" >&5
33900 echo "${ECHO_T}no" >&6
33903 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
33904 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
33909 SHARED_LD_CC="${LD} -shared -o"
33910 SHARED_LD_CXX="${LD} -shared -o"
33914 if test "x$GCC" != "xyes"; then
33919 *-*-cygwin* | *-*-mingw32* )
33923 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33931 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33932 echo "$as_me: error: unknown system type $host." >&2;}
33933 { (exit 1); exit 1; }; }
33950 SONAME_FLAG="-Wl,-soname,"
33978 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
33979 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
33982 if test "x$GCC" = "xyes"; then
33985 echo "$as_me:$LINENO: result: gcc" >&5
33986 echo "${ECHO_T}gcc" >&6
33988 echo "$as_me:$LINENO: result: none" >&5
33989 echo "${ECHO_T}none" >&6
33992 if test $DEPS_TRACKING = 1 ; then
33996 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
33997 # It is used to track C/C++ files dependencies in portable way.
33999 # Permission is given to use this file in any way.
34006 if test \$DEPSMODE = gcc ; then
34009 if test \${status} != 0 ; then
34012 # move created file to the location we want it in:
34013 while test \${#} -gt 0; do
34027 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34028 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34029 if test -f \$depfile ; then
34030 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34033 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34034 if test -f \$depfile ; then
34035 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34055 *-*-cygwin* | *-*-mingw32* )
34056 if test "$build" != "$host" ; then
34057 RESCOMP=$host_alias-windres
34059 # Extract the first word of "windres", so it can be a program name with args.
34060 set dummy windres; ac_word=$2
34061 echo "$as_me:$LINENO: checking for $ac_word" >&5
34062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34063 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34064 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 if test -n "$RESCOMP"; then
34067 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34070 for as_dir in $PATH
34073 test -z "$as_dir" && as_dir=.
34074 for ac_exec_ext in '' $ac_executable_extensions; do
34075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34076 ac_cv_prog_RESCOMP="windres"
34077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34083 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34086 RESCOMP=$ac_cv_prog_RESCOMP
34087 if test -n "$RESCOMP"; then
34088 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34089 echo "${ECHO_T}$RESCOMP" >&6
34091 echo "$as_me:$LINENO: result: no" >&5
34092 echo "${ECHO_T}no" >&6
34099 # Extract the first word of "Rez", so it can be a program name with args.
34100 set dummy Rez; ac_word=$2
34101 echo "$as_me:$LINENO: checking for $ac_word" >&5
34102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34103 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34106 if test -n "$RESCOMP"; then
34107 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34110 for as_dir in $PATH
34113 test -z "$as_dir" && as_dir=.
34114 for ac_exec_ext in '' $ac_executable_extensions; do
34115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34116 ac_cv_prog_RESCOMP="Rez"
34117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34123 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34126 RESCOMP=$ac_cv_prog_RESCOMP
34127 if test -n "$RESCOMP"; then
34128 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34129 echo "${ECHO_T}$RESCOMP" >&6
34131 echo "$as_me:$LINENO: result: no" >&5
34132 echo "${ECHO_T}no" >&6
34135 # Extract the first word of "SetFile", so it can be a program name with args.
34136 set dummy SetFile; ac_word=$2
34137 echo "$as_me:$LINENO: checking for $ac_word" >&5
34138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34139 if test "${ac_cv_prog_SETFILE+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 if test -n "$SETFILE"; then
34143 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34146 for as_dir in $PATH
34149 test -z "$as_dir" && as_dir=.
34150 for ac_exec_ext in '' $ac_executable_extensions; do
34151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34152 ac_cv_prog_SETFILE="SetFile"
34153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34159 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34162 SETFILE=$ac_cv_prog_SETFILE
34163 if test -n "$SETFILE"; then
34164 echo "$as_me:$LINENO: result: $SETFILE" >&5
34165 echo "${ECHO_T}$SETFILE" >&6
34167 echo "$as_me:$LINENO: result: no" >&5
34168 echo "${ECHO_T}no" >&6
34180 COND_BUILD_DEBUG="#"
34181 if test "x$BUILD" = "xdebug" ; then
34182 COND_BUILD_DEBUG=""
34185 COND_BUILD_RELEASE="#"
34186 if test "x$BUILD" = "xrelease" ; then
34187 COND_BUILD_RELEASE=""
34190 COND_DEPS_TRACKING_0="#"
34191 if test "x$DEPS_TRACKING" = "x0" ; then
34192 COND_DEPS_TRACKING_0=""
34195 COND_DEPS_TRACKING_1="#"
34196 if test "x$DEPS_TRACKING" = "x1" ; then
34197 COND_DEPS_TRACKING_1=""
34200 COND_MONOLITHIC_0="#"
34201 if test "x$MONOLITHIC" = "x0" ; then
34202 COND_MONOLITHIC_0=""
34205 COND_MONOLITHIC_0_SHARED_0="#"
34206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34207 COND_MONOLITHIC_0_SHARED_0=""
34210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34215 COND_MONOLITHIC_0_SHARED_1="#"
34216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34217 COND_MONOLITHIC_0_SHARED_1=""
34220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34225 COND_MONOLITHIC_1="#"
34226 if test "x$MONOLITHIC" = "x1" ; then
34227 COND_MONOLITHIC_1=""
34230 COND_MONOLITHIC_1_SHARED_0="#"
34231 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34232 COND_MONOLITHIC_1_SHARED_0=""
34235 COND_MONOLITHIC_1_SHARED_1="#"
34236 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34237 COND_MONOLITHIC_1_SHARED_1=""
34240 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34241 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34242 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34245 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34246 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34247 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34250 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34251 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34252 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34255 COND_PLATFORM_MACOSX_1="#"
34256 if test "x$PLATFORM_MACOSX" = "x1" ; then
34257 COND_PLATFORM_MACOSX_1=""
34260 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34262 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34265 COND_PLATFORM_UNIX_1="#"
34266 if test "x$PLATFORM_UNIX" = "x1" ; then
34267 COND_PLATFORM_UNIX_1=""
34270 COND_PLATFORM_WIN32_0="#"
34271 if test "x$PLATFORM_WIN32" = "x0" ; then
34272 COND_PLATFORM_WIN32_0=""
34275 COND_PLATFORM_WIN32_1="#"
34276 if test "x$PLATFORM_WIN32" = "x1" ; then
34277 COND_PLATFORM_WIN32_1=""
34280 COND_TOOLKIT_COCOA="#"
34281 if test "x$TOOLKIT" = "xCOCOA" ; then
34282 COND_TOOLKIT_COCOA=""
34285 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34286 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34287 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34290 COND_TOOLKIT_GTK="#"
34291 if test "x$TOOLKIT" = "xGTK" ; then
34292 COND_TOOLKIT_GTK=""
34295 COND_TOOLKIT_GTK_USE_GUI_1="#"
34296 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34297 COND_TOOLKIT_GTK_USE_GUI_1=""
34300 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34301 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34302 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34305 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34306 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34307 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34310 COND_TOOLKIT_MAC="#"
34311 if test "x$TOOLKIT" = "xMAC" ; then
34312 COND_TOOLKIT_MAC=""
34315 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34316 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34317 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34320 COND_TOOLKIT_MGL="#"
34321 if test "x$TOOLKIT" = "xMGL" ; then
34322 COND_TOOLKIT_MGL=""
34325 COND_TOOLKIT_MGL_USE_GUI_1="#"
34326 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34327 COND_TOOLKIT_MGL_USE_GUI_1=""
34330 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34331 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34332 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34335 COND_TOOLKIT_MOTIF="#"
34336 if test "x$TOOLKIT" = "xMOTIF" ; then
34337 COND_TOOLKIT_MOTIF=""
34340 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34341 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34342 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34345 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34346 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34347 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34350 COND_TOOLKIT_MSW="#"
34351 if test "x$TOOLKIT" = "xMSW" ; then
34352 COND_TOOLKIT_MSW=""
34355 COND_TOOLKIT_MSW_USE_GUI_1="#"
34356 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34357 COND_TOOLKIT_MSW_USE_GUI_1=""
34360 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34361 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34362 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34365 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34366 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34367 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34370 COND_TOOLKIT_OS2="#"
34371 if test "x$TOOLKIT" = "xOS2" ; then
34372 COND_TOOLKIT_OS2=""
34375 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34376 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34377 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34380 COND_TOOLKIT_X11="#"
34381 if test "x$TOOLKIT" = "xX11" ; then
34382 COND_TOOLKIT_X11=""
34385 COND_TOOLKIT_X11_USE_GUI_1="#"
34386 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34387 COND_TOOLKIT_X11_USE_GUI_1=""
34390 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34391 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34392 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34396 if test "x$UNICODE" = "x1" ; then
34401 if test "x$USE_GUI" = "x0" ; then
34406 if test "x$USE_GUI" = "x1" ; then
34410 COND_USE_GUI_1_WXUNIV_0="#"
34411 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34412 COND_USE_GUI_1_WXUNIV_0=""
34415 COND_USE_GUI_1_WXUNIV_1="#"
34416 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34417 COND_USE_GUI_1_WXUNIV_1=""
34420 COND_USE_SOSYMLINKS_1="#"
34421 if test "x$USE_SOSYMLINKS" = "x1" ; then
34422 COND_USE_SOSYMLINKS_1=""
34425 COND_USE_SOVERLINUX_1="#"
34426 if test "x$USE_SOVERLINUX" = "x1" ; then
34427 COND_USE_SOVERLINUX_1=""
34430 COND_USE_SOVERSION_0="#"
34431 if test "x$USE_SOVERSION" = "x0" ; then
34432 COND_USE_SOVERSION_0=""
34435 COND_USE_SOVERSOLARIS_1="#"
34436 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34437 COND_USE_SOVERSOLARIS_1=""
34441 if test "x$WXUNIV" = "x1" ; then
34445 COND_WXUSE_LIBJPEG_BUILTIN="#"
34446 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34447 COND_WXUSE_LIBJPEG_BUILTIN=""
34450 COND_WXUSE_LIBPNG_BUILTIN="#"
34451 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34452 COND_WXUSE_LIBPNG_BUILTIN=""
34455 COND_WXUSE_LIBTIFF_BUILTIN="#"
34456 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34457 COND_WXUSE_LIBTIFF_BUILTIN=""
34460 COND_WXUSE_ODBC_BUILTIN="#"
34461 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34462 COND_WXUSE_ODBC_BUILTIN=""
34465 COND_WXUSE_REGEX_BUILTIN="#"
34466 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34467 COND_WXUSE_REGEX_BUILTIN=""
34470 COND_WXUSE_ZLIB_BUILTIN="#"
34471 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34472 COND_WXUSE_ZLIB_BUILTIN=""
34475 COND_PLATFORM_MAC_1="#"
34476 if test "x$PLATFORM_MAC" = "x1" ; then
34477 COND_PLATFORM_MAC_1=""
34481 if test "x$SHARED" = "x1" ; then
34486 if test "x$SHARED" = "x0" ; then
34495 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34596 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34597 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34598 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34599 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34600 echo $ECHO_N "(cached) $ECHO_C" >&6
34602 cat >conftest.make <<\_ACEOF
34604 @echo 'ac_maketemp="$(MAKE)"'
34606 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34607 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34608 if test -n "$ac_maketemp"; then
34609 eval ac_cv_prog_make_${ac_make}_set=yes
34611 eval ac_cv_prog_make_${ac_make}_set=no
34613 rm -f conftest.make
34615 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34616 echo "$as_me:$LINENO: result: yes" >&5
34617 echo "${ECHO_T}yes" >&6
34620 echo "$as_me:$LINENO: result: no" >&5
34621 echo "${ECHO_T}no" >&6
34622 SET_MAKE="MAKE=${MAKE-make}"
34626 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34627 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34630 ac_config_headers="$ac_config_headers setup.h"
34633 ac_config_files="$ac_config_files wx-config version-script Makefile"
34636 ac_config_commands="$ac_config_commands default"
34640 if test "$wxUSE_GUI" = "yes"; then
34641 SUBDIRS="samples demos utils contrib"
34642 else SUBDIRS="samples utils"
34645 for subdir in `echo $SUBDIRS`; do
34646 if test -d ${srcdir}/${subdir} ; then
34647 if test "$wxUSE_GUI" = "yes"; then
34648 if test ${subdir} = "samples"; then
34649 for sample in `echo $SAMPLES_SUBDIRS`; do
34650 if test -d $srcdir/samples/$sample; then
34651 makefiles="samples/$sample/Makefile.in $makefiles"
34654 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34656 else if test ${subdir} = "samples"; then
34657 makefiles="samples/console/Makefile.in"
34658 else makefiles="utils/HelpGen/Makefile.in \
34659 utils/HelpGen/src/Makefile.in \
34660 utils/makegen/Makefile.in"
34664 for mkin in $makefiles ; do
34665 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34666 ac_config_files="$ac_config_files $mk"
34673 cat >confcache <<\_ACEOF
34674 # This file is a shell script that caches the results of configure
34675 # tests run on this system so they can be shared between configure
34676 # scripts and configure runs, see configure's option --config-cache.
34677 # It is not useful on other systems. If it contains results you don't
34678 # want to keep, you may remove or edit it.
34680 # config.status only pays attention to the cache file if you give it
34681 # the --recheck option to rerun configure.
34683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34685 # following values.
34689 # The following way of writing the cache mishandles newlines in values,
34690 # but we know of no workaround that is simple, portable, and efficient.
34691 # So, don't put newlines in cache variables' values.
34692 # Ultrix sh set writes to stderr and can't be redirected directly,
34693 # and sets the high bit in the cache file unless we assign to the vars.
34696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34698 # `set' does not quote correctly, so add quotes (double-quote
34699 # substitution turns \\\\ into \\, and sed turns \\ into \).
34702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34705 # `set' quotes correctly as required by POSIX, so do not add quotes.
34707 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34716 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34718 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34719 if test -w $cache_file; then
34720 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34721 cat confcache >$cache_file
34723 echo "not updating unwritable cache $cache_file"
34728 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34729 # Let make expand exec_prefix.
34730 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34732 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34733 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34734 # trailing colons and then remove the whole line if VPATH becomes empty
34735 # (actually we leave an empty line to preserve line numbers).
34736 if test "x$srcdir" = x.; then
34737 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34738 s/:*\$(srcdir):*/:/;
34739 s/:*\${srcdir}:*/:/;
34741 s/^\([^=]*=[ ]*\):*/\1/;
34747 DEFS=-DHAVE_CONFIG_H
34751 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34752 # 1. Remove the extension, and $U if already installed.
34753 ac_i=`echo "$ac_i" |
34754 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34756 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34757 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34759 LIBOBJS=$ac_libobjs
34761 LTLIBOBJS=$ac_ltlibobjs
34765 : ${CONFIG_STATUS=./config.status}
34766 ac_clean_files_save=$ac_clean_files
34767 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34768 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34769 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34770 cat >$CONFIG_STATUS <<_ACEOF
34772 # Generated by $as_me.
34773 # Run this file to recreate the current configuration.
34774 # Compiler output produced by configure, useful for debugging
34775 # configure, is in config.log if it exists.
34778 ac_cs_recheck=false
34780 SHELL=\${CONFIG_SHELL-$SHELL}
34783 cat >>$CONFIG_STATUS <<\_ACEOF
34784 ## --------------------- ##
34785 ## M4sh Initialization. ##
34786 ## --------------------- ##
34788 # Be Bourne compatible
34789 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34792 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34793 # is contrary to our usage. Disable this feature.
34794 alias -g '${1+"$@"}'='"$@"'
34795 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34799 # Support unset when possible.
34800 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34807 # Work around bugs in pre-3.0 UWIN ksh.
34808 $as_unset ENV MAIL MAILPATH
34815 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34816 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34817 LC_TELEPHONE LC_TIME
34819 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34820 eval $as_var=C; export $as_var
34826 # Required to use basename.
34827 if expr a : '\(a\)' >/dev/null 2>&1; then
34833 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34834 as_basename=basename
34840 # Name of the executable.
34841 as_me=`$as_basename "$0" ||
34842 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34843 X"$0" : 'X\(//\)$' \| \
34844 X"$0" : 'X\(/\)$' \| \
34845 . : '\(.\)' 2>/dev/null ||
34847 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34848 /^X\/\(\/\/\)$/{ s//\1/; q; }
34849 /^X\/\(\/\).*/{ s//\1/; q; }
34853 # PATH needs CR, and LINENO needs CR and PATH.
34854 # Avoid depending upon Character Ranges.
34855 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34856 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34857 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34858 as_cr_digits='0123456789'
34859 as_cr_alnum=$as_cr_Letters$as_cr_digits
34861 # The user is always right.
34862 if test "${PATH_SEPARATOR+set}" != set; then
34863 echo "#! /bin/sh" >conf$$.sh
34864 echo "exit 0" >>conf$$.sh
34866 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34875 as_lineno_1=$LINENO
34876 as_lineno_2=$LINENO
34877 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34878 test "x$as_lineno_1" != "x$as_lineno_2" &&
34879 test "x$as_lineno_3" = "x$as_lineno_2" || {
34880 # Find who we are. Look in the path if we contain no path at all
34883 *[\\/]* ) as_myself=$0 ;;
34884 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34885 for as_dir in $PATH
34888 test -z "$as_dir" && as_dir=.
34889 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34894 # We did not find ourselves, most probably we were run as `sh COMMAND'
34895 # in which case we are not to be found in the path.
34896 if test "x$as_myself" = x; then
34899 if test ! -f "$as_myself"; then
34900 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34901 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34902 { (exit 1); exit 1; }; }
34904 case $CONFIG_SHELL in
34906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34907 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34910 test -z "$as_dir" && as_dir=.
34911 for as_base in sh bash ksh sh5; do
34914 if ("$as_dir/$as_base" -c '
34915 as_lineno_1=$LINENO
34916 as_lineno_2=$LINENO
34917 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34918 test "x$as_lineno_1" != "x$as_lineno_2" &&
34919 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34920 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34921 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34922 CONFIG_SHELL=$as_dir/$as_base
34923 export CONFIG_SHELL
34924 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34932 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34933 # uniformly replaced by the line number. The first 'sed' inserts a
34934 # line-number line before each line; the second 'sed' does the real
34935 # work. The second script uses 'N' to pair each line-number line
34936 # with the numbered line, and appends trailing '-' during
34937 # substitution so that $LINENO is not a special case at line end.
34938 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34939 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34940 sed '=' <$as_myself |
34945 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34948 s,^['$as_cr_digits']*\n,,
34949 ' >$as_me.lineno &&
34950 chmod +x $as_me.lineno ||
34951 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34952 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34953 { (exit 1); exit 1; }; }
34955 # Don't try to exec as it changes $[0], causing all sort of problems
34956 # (the dirname of $[0] is not the place where we might find the
34957 # original and so on. Autoconf is especially sensible to this).
34959 # Exit status is that of the last command.
34964 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34965 *c*,-n*) ECHO_N= ECHO_C='
34967 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34968 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34971 if expr a : '\(a\)' >/dev/null 2>&1; then
34977 rm -f conf$$ conf$$.exe conf$$.file
34979 if ln -s conf$$.file conf$$ 2>/dev/null; then
34980 # We could just check for DJGPP; but this test a) works b) is more generic
34981 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34982 if test -f conf$$.exe; then
34983 # Don't use ln at all; we don't have any links
34988 elif ln conf$$.file conf$$ 2>/dev/null; then
34993 rm -f conf$$ conf$$.exe conf$$.file
34995 if mkdir -p . 2>/dev/null; then
35001 as_executable_p="test -f"
35003 # Sed expression to map a string onto a valid CPP name.
35004 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35006 # Sed expression to map a string onto a valid variable name.
35007 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35011 # We need space, tab and new line, in precisely that order.
35021 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35022 # report actual input values of CONFIG_FILES etc. instead of their
35023 # values after options handling. Logging --version etc. is OK.
35027 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35028 ## Running $as_me. ##
35033 This file was extended by wxWindows $as_me 2.5.0, which was
35034 generated by GNU Autoconf 2.57. Invocation command line was
35036 CONFIG_FILES = $CONFIG_FILES
35037 CONFIG_HEADERS = $CONFIG_HEADERS
35038 CONFIG_LINKS = $CONFIG_LINKS
35039 CONFIG_COMMANDS = $CONFIG_COMMANDS
35043 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35047 # Files that config.status was made for.
35048 if test -n "$ac_config_files"; then
35049 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35052 if test -n "$ac_config_headers"; then
35053 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35056 if test -n "$ac_config_links"; then
35057 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35060 if test -n "$ac_config_commands"; then
35061 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35064 cat >>$CONFIG_STATUS <<\_ACEOF
35067 \`$as_me' instantiates files from templates according to the
35068 current configuration.
35070 Usage: $0 [OPTIONS] [FILE]...
35072 -h, --help print this help, then exit
35073 -V, --version print version number, then exit
35074 -q, --quiet do not print progress messages
35075 -d, --debug don't remove temporary files
35076 --recheck update $as_me by reconfiguring in the same conditions
35077 --file=FILE[:TEMPLATE]
35078 instantiate the configuration file FILE
35079 --header=FILE[:TEMPLATE]
35080 instantiate the configuration header FILE
35082 Configuration files:
35085 Configuration headers:
35088 Configuration commands:
35091 Report bugs to <bug-autoconf@gnu.org>."
35094 cat >>$CONFIG_STATUS <<_ACEOF
35096 wxWindows config.status 2.5.0
35097 configured by $0, generated by GNU Autoconf 2.57,
35098 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35100 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35101 Free Software Foundation, Inc.
35102 This config.status script is free software; the Free Software Foundation
35103 gives unlimited permission to copy, distribute and modify it."
35108 cat >>$CONFIG_STATUS <<\_ACEOF
35109 # If no file are specified by the user, then we need to provide default
35110 # value. By we need to know if files were specified by the user.
35116 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35117 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35125 *) # This is not an option, so the user has probably given explicit
35128 ac_need_defaults=false;;
35132 # Handling of the options.
35134 cat >>$CONFIG_STATUS <<\_ACEOF
35135 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35137 --version | --vers* | -V )
35138 echo "$ac_cs_version"; exit 0 ;;
35140 # Conflict between --help and --header
35141 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35142 Try \`$0 --help' for more information." >&5
35143 echo "$as_me: error: ambiguous option: $1
35144 Try \`$0 --help' for more information." >&2;}
35145 { (exit 1); exit 1; }; };;
35146 --help | --hel | -h )
35147 echo "$ac_cs_usage"; exit 0 ;;
35148 --debug | --d* | -d )
35150 --file | --fil | --fi | --f )
35152 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35153 ac_need_defaults=false;;
35154 --header | --heade | --head | --hea )
35156 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35157 ac_need_defaults=false;;
35158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35159 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35162 # This is an error.
35163 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35164 Try \`$0 --help' for more information." >&5
35165 echo "$as_me: error: unrecognized option: $1
35166 Try \`$0 --help' for more information." >&2;}
35167 { (exit 1); exit 1; }; } ;;
35169 *) ac_config_targets="$ac_config_targets $1" ;;
35175 ac_configure_extra_args=
35177 if $ac_cs_silent; then
35179 ac_configure_extra_args="$ac_configure_extra_args --silent"
35183 cat >>$CONFIG_STATUS <<_ACEOF
35184 if \$ac_cs_recheck; then
35185 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35186 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35191 cat >>$CONFIG_STATUS <<_ACEOF
35193 # INIT-COMMANDS section.
35197 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35206 cat >>$CONFIG_STATUS <<\_ACEOF
35207 for ac_config_target in $ac_config_targets
35209 case "$ac_config_target" in
35210 # Handling of arguments.
35211 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35212 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35213 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35214 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35215 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35216 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35217 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35218 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35219 { (exit 1); exit 1; }; };;
35223 # If the user did not use the arguments to specify the items to instantiate,
35224 # then the envvar interface is used. Set only those that are not.
35225 # We use the long form for the default assignment because of an extremely
35226 # bizarre bug on SunOS 4.1.3.
35227 if $ac_need_defaults; then
35228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35229 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35230 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35233 # Have a temporary directory for convenience. Make it in the build tree
35234 # simply because there is no reason to put it here, and in addition,
35235 # creating and moving files from /tmp can sometimes cause problems.
35236 # Create a temporary directory, and hook for its removal unless debugging.
35239 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35240 trap '{ (exit 1); exit 1; }' 1 2 13 15
35243 # Create a (secure) tmp directory for tmp files.
35246 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35247 test -n "$tmp" && test -d "$tmp"
35250 tmp=./confstat$$-$RANDOM
35251 (umask 077 && mkdir $tmp)
35254 echo "$me: cannot create a temporary directory in ." >&2
35255 { (exit 1); exit 1; }
35260 cat >>$CONFIG_STATUS <<_ACEOF
35263 # CONFIG_FILES section.
35266 # No need to generate the scripts if there are no CONFIG_FILES.
35267 # This happens for instance when ./config.status config.h
35268 if test -n "\$CONFIG_FILES"; then
35269 # Protect against being on the right side of a sed subst in config.status.
35270 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35271 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35272 s,@SHELL@,$SHELL,;t t
35273 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35274 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35275 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35276 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35277 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35278 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35279 s,@exec_prefix@,$exec_prefix,;t t
35280 s,@prefix@,$prefix,;t t
35281 s,@program_transform_name@,$program_transform_name,;t t
35282 s,@bindir@,$bindir,;t t
35283 s,@sbindir@,$sbindir,;t t
35284 s,@libexecdir@,$libexecdir,;t t
35285 s,@datadir@,$datadir,;t t
35286 s,@sysconfdir@,$sysconfdir,;t t
35287 s,@sharedstatedir@,$sharedstatedir,;t t
35288 s,@localstatedir@,$localstatedir,;t t
35289 s,@libdir@,$libdir,;t t
35290 s,@includedir@,$includedir,;t t
35291 s,@oldincludedir@,$oldincludedir,;t t
35292 s,@infodir@,$infodir,;t t
35293 s,@mandir@,$mandir,;t t
35294 s,@build_alias@,$build_alias,;t t
35295 s,@host_alias@,$host_alias,;t t
35296 s,@target_alias@,$target_alias,;t t
35297 s,@DEFS@,$DEFS,;t t
35298 s,@ECHO_C@,$ECHO_C,;t t
35299 s,@ECHO_N@,$ECHO_N,;t t
35300 s,@ECHO_T@,$ECHO_T,;t t
35301 s,@LIBS@,$LIBS,;t t
35302 s,@build@,$build,;t t
35303 s,@build_cpu@,$build_cpu,;t t
35304 s,@build_vendor@,$build_vendor,;t t
35305 s,@build_os@,$build_os,;t t
35306 s,@host@,$host,;t t
35307 s,@host_cpu@,$host_cpu,;t t
35308 s,@host_vendor@,$host_vendor,;t t
35309 s,@host_os@,$host_os,;t t
35310 s,@target@,$target,;t t
35311 s,@target_cpu@,$target_cpu,;t t
35312 s,@target_vendor@,$target_vendor,;t t
35313 s,@target_os@,$target_os,;t t
35315 s,@CFLAGS@,$CFLAGS,;t t
35316 s,@LDFLAGS@,$LDFLAGS,;t t
35317 s,@CPPFLAGS@,$CPPFLAGS,;t t
35318 s,@ac_ct_CC@,$ac_ct_CC,;t t
35319 s,@EXEEXT@,$EXEEXT,;t t
35320 s,@OBJEXT@,$OBJEXT,;t t
35322 s,@EGREP@,$EGREP,;t t
35324 s,@CXXFLAGS@,$CXXFLAGS,;t t
35325 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35326 s,@RANLIB@,$RANLIB,;t t
35327 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35329 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35330 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35331 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35332 s,@STRIP@,$STRIP,;t t
35333 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35334 s,@YACC@,$YACC,;t t
35336 s,@LEXLIB@,$LEXLIB,;t t
35337 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35338 s,@LN_S@,$LN_S,;t t
35339 s,@CXXCPP@,$CXXCPP,;t t
35340 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35341 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35342 s,@GTK_LIBS@,$GTK_LIBS,;t t
35343 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35344 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35345 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35346 s,@X_CFLAGS@,$X_CFLAGS,;t t
35347 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35348 s,@X_LIBS@,$X_LIBS,;t t
35349 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35350 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35351 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35352 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35353 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35354 s,@RESCOMP@,$RESCOMP,;t t
35355 s,@DEREZ@,$DEREZ,;t t
35356 s,@SETFILE@,$SETFILE,;t t
35357 s,@LIBICONV@,$LIBICONV,;t t
35358 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35359 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35360 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35361 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35362 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35363 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35364 s,@VENDOR@,$VENDOR,;t t
35365 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35366 s,@WXUNIV@,$WXUNIV,;t t
35367 s,@MONOLITHIC@,$MONOLITHIC,;t t
35368 s,@EXTRALIBS@,$EXTRALIBS,;t t
35369 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35370 s,@UNICODE@,$UNICODE,;t t
35371 s,@BUILD@,$BUILD,;t t
35372 s,@SHARED@,$SHARED,;t t
35373 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35374 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35375 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35376 s,@SET_MAKE@,$SET_MAKE,;t t
35377 s,@MAKE_SET@,$MAKE_SET,;t t
35378 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35379 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35380 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35381 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35382 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35383 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35384 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35385 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35386 s,@DLLPREFIX@,$DLLPREFIX,;t t
35387 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35388 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35389 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35390 s,@PIC_FLAG@,$PIC_FLAG,;t t
35391 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35392 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35393 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35394 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35395 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35396 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35397 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35398 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35399 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35400 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35401 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35402 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35403 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35404 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35405 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35406 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35407 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35408 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35409 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35410 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35411 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35412 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35413 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35414 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35415 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35416 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35417 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35418 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35419 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35420 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35421 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35422 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35423 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35424 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35425 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35426 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35427 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35428 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35429 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35430 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35431 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35432 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35433 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35434 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35435 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35436 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35437 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35438 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35439 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35440 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35441 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35442 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35443 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35444 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35445 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35446 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35447 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35448 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35449 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35450 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35451 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35452 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35453 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35454 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35455 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35456 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35457 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35458 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35459 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35460 s,@LEX_STEM@,$LEX_STEM,;t t
35461 s,@PATH_IFS@,$PATH_IFS,;t t
35462 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35463 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35464 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35465 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35466 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35467 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35468 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35469 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35470 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35471 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35472 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35473 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35474 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35475 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35476 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35477 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35478 s,@WX_ALL@,$WX_ALL,;t t
35479 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35480 s,@SHARED_LD@,$SHARED_LD,;t t
35481 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35482 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35483 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35484 s,@USE_GUI@,$USE_GUI,;t t
35485 s,@AFMINSTALL@,$AFMINSTALL,;t t
35486 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35487 s,@TOOLKIT@,$TOOLKIT,;t t
35488 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35489 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35490 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35491 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35492 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35493 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35494 s,@cross_compiling@,$cross_compiling,;t t
35495 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35496 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35497 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35498 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35499 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35500 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35501 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35502 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35503 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35504 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35505 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35506 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35507 s,@GUIDIST@,$GUIDIST,;t t
35508 s,@PORT_FILES@,$PORT_FILES,;t t
35509 s,@DISTDIR@,$DISTDIR,;t t
35510 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35511 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35512 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35513 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35514 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35515 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35516 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35517 s,@RESFLAGS@,$RESFLAGS,;t t
35518 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35519 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35520 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35521 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35522 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35523 s,@MACRESCOMP@,$MACRESCOMP,;t t
35524 s,@MACSETFILE@,$MACSETFILE,;t t
35525 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35527 s,@DLLTOOL@,$DLLTOOL,;t t
35531 s,@MAKEINFO@,$MAKEINFO,;t t
35532 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35533 s,@ESD_LINK@,$ESD_LINK,;t t
35534 s,@LIBOBJS@,$LIBOBJS,;t t
35535 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35540 cat >>$CONFIG_STATUS <<\_ACEOF
35541 # Split the substitutions into bite-sized pieces for seds with
35542 # small command number limits, like on Digital OSF/1 and HP-UX.
35543 ac_max_sed_lines=48
35544 ac_sed_frag=1 # Number of current file.
35545 ac_beg=1 # First line for current file.
35546 ac_end=$ac_max_sed_lines # Line after last line for current file.
35549 while $ac_more_lines; do
35550 if test $ac_beg -gt 1; then
35551 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35553 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35555 if test ! -s $tmp/subs.frag; then
35556 ac_more_lines=false
35558 # The purpose of the label and of the branching condition is to
35559 # speed up the sed processing (if there are no `@' at all, there
35560 # is no need to browse any of the substitutions).
35561 # These are the two extra sed commands mentioned above.
35563 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35564 if test -z "$ac_sed_cmds"; then
35565 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35567 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35569 ac_sed_frag=`expr $ac_sed_frag + 1`
35571 ac_end=`expr $ac_end + $ac_max_sed_lines`
35574 if test -z "$ac_sed_cmds"; then
35577 fi # test -n "$CONFIG_FILES"
35580 cat >>$CONFIG_STATUS <<\_ACEOF
35581 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35582 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35584 - | *:- | *:-:* ) # input from stdin
35586 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35587 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35588 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35589 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35590 * ) ac_file_in=$ac_file.in ;;
35593 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35594 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35595 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35596 X"$ac_file" : 'X\(//\)[^/]' \| \
35597 X"$ac_file" : 'X\(//\)$' \| \
35598 X"$ac_file" : 'X\(/\)' \| \
35599 . : '\(.\)' 2>/dev/null ||
35601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35603 /^X\(\/\/\)$/{ s//\1/; q; }
35604 /^X\(\/\).*/{ s//\1/; q; }
35606 { if $as_mkdir_p; then
35611 while test ! -d "$as_dir"; do
35612 as_dirs="$as_dir $as_dirs"
35613 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35614 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35615 X"$as_dir" : 'X\(//\)[^/]' \| \
35616 X"$as_dir" : 'X\(//\)$' \| \
35617 X"$as_dir" : 'X\(/\)' \| \
35618 . : '\(.\)' 2>/dev/null ||
35620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35621 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35622 /^X\(\/\/\)$/{ s//\1/; q; }
35623 /^X\(\/\).*/{ s//\1/; q; }
35626 test ! -n "$as_dirs" || mkdir $as_dirs
35627 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35628 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35629 { (exit 1); exit 1; }; }; }
35633 if test "$ac_dir" != .; then
35634 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35635 # A "../" for each directory in $ac_dir_suffix.
35636 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35638 ac_dir_suffix= ac_top_builddir=
35642 .) # No --srcdir option. We are building in place.
35644 if test -z "$ac_top_builddir"; then
35647 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35649 [\\/]* | ?:[\\/]* ) # Absolute path.
35650 ac_srcdir=$srcdir$ac_dir_suffix;
35651 ac_top_srcdir=$srcdir ;;
35652 *) # Relative path.
35653 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35654 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35656 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35658 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35659 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35660 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35661 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35665 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35666 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35669 if test x"$ac_file" != x-; then
35670 { echo "$as_me:$LINENO: creating $ac_file" >&5
35671 echo "$as_me: creating $ac_file" >&6;}
35674 # Let's still pretend it is `configure' which instantiates (i.e., don't
35675 # use $as_me), people would be surprised to read:
35676 # /* config.h. Generated by config.status. */
35677 if test x"$ac_file" = x-; then
35680 configure_input="$ac_file. "
35682 configure_input=$configure_input"Generated from `echo $ac_file_in |
35683 sed 's,.*/,,'` by configure."
35685 # First look for the input files in the build tree, otherwise in the
35687 ac_file_inputs=`IFS=:
35688 for f in $ac_file_in; do
35690 -) echo $tmp/stdin ;;
35692 # Absolute (can't be DOS-style, as IFS=:)
35693 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35694 echo "$as_me: error: cannot find input file: $f" >&2;}
35695 { (exit 1); exit 1; }; }
35698 if test -f "$f"; then
35701 elif test -f "$srcdir/$f"; then
35706 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35707 echo "$as_me: error: cannot find input file: $f" >&2;}
35708 { (exit 1); exit 1; }; }
35711 done` || { (exit 1); exit 1; }
35713 cat >>$CONFIG_STATUS <<_ACEOF
35717 cat >>$CONFIG_STATUS <<\_ACEOF
35719 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35720 s,@configure_input@,$configure_input,;t t
35721 s,@srcdir@,$ac_srcdir,;t t
35722 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35723 s,@top_srcdir@,$ac_top_srcdir,;t t
35724 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35725 s,@builddir@,$ac_builddir,;t t
35726 s,@abs_builddir@,$ac_abs_builddir,;t t
35727 s,@top_builddir@,$ac_top_builddir,;t t
35728 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35729 s,@INSTALL@,$ac_INSTALL,;t t
35730 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35732 if test x"$ac_file" != x-; then
35733 mv $tmp/out $ac_file
35741 cat >>$CONFIG_STATUS <<\_ACEOF
35744 # CONFIG_HEADER section.
35747 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35748 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35750 # ac_d sets the value in "#define NAME VALUE" lines.
35751 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35752 ac_dB='[ ].*$,\1#\2'
35755 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35756 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35757 ac_uB='$,\1#\2define\3'
35761 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35762 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35764 - | *:- | *:-:* ) # input from stdin
35766 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35767 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35768 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35769 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35770 * ) ac_file_in=$ac_file.in ;;
35773 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35774 echo "$as_me: creating $ac_file" >&6;}
35776 # First look for the input files in the build tree, otherwise in the
35778 ac_file_inputs=`IFS=:
35779 for f in $ac_file_in; do
35781 -) echo $tmp/stdin ;;
35783 # Absolute (can't be DOS-style, as IFS=:)
35784 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35785 echo "$as_me: error: cannot find input file: $f" >&2;}
35786 { (exit 1); exit 1; }; }
35789 if test -f "$f"; then
35792 elif test -f "$srcdir/$f"; then
35797 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35798 echo "$as_me: error: cannot find input file: $f" >&2;}
35799 { (exit 1); exit 1; }; }
35802 done` || { (exit 1); exit 1; }
35803 # Remove the trailing spaces.
35804 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35808 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35809 # `conftest.undefs', that substitutes the proper values into
35810 # config.h.in to produce config.h. The first handles `#define'
35811 # templates, and the second `#undef' templates.
35812 # And first: Protect against being on the right side of a sed subst in
35813 # config.status. Protect against being in an unquoted here document
35814 # in config.status.
35815 rm -f conftest.defines conftest.undefs
35816 # Using a here document instead of a string reduces the quoting nightmare.
35817 # Putting comments in sed scripts is not portable.
35819 # `end' is used to avoid that the second main sed command (meant for
35820 # 0-ary CPP macros) applies to n-ary macro definitions.
35821 # See the Autoconf documentation for `clear'.
35822 cat >confdef2sed.sed <<\_ACEOF
35827 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35829 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35832 # If some macros were called several times there might be several times
35833 # the same #defines, which is useless. Nevertheless, we may not want to
35834 # sort them, since we want the *last* AC-DEFINE to be honored.
35835 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35836 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35837 rm -f confdef2sed.sed
35839 # This sed command replaces #undef with comments. This is necessary, for
35840 # example, in the case of _POSIX_SOURCE, which is predefined and required
35841 # on some systems where configure will not decide to define it.
35842 cat >>conftest.undefs <<\_ACEOF
35843 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35846 # Break up conftest.defines because some shells have a limit on the size
35847 # of here documents, and old seds have small limits too (100 cmds).
35848 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35849 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35850 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35851 echo ' :' >>$CONFIG_STATUS
35852 rm -f conftest.tail
35853 while grep . conftest.defines >/dev/null
35855 # Write a limited-size here document to $tmp/defines.sed.
35856 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35857 # Speed up: don't consider the non `#define' lines.
35858 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35859 # Work around the forget-to-reset-the-flag bug.
35860 echo 't clr' >>$CONFIG_STATUS
35861 echo ': clr' >>$CONFIG_STATUS
35862 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35864 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35866 mv $tmp/out $tmp/in
35868 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35869 rm -f conftest.defines
35870 mv conftest.tail conftest.defines
35872 rm -f conftest.defines
35873 echo ' fi # grep' >>$CONFIG_STATUS
35874 echo >>$CONFIG_STATUS
35876 # Break up conftest.undefs because some shells have a limit on the size
35877 # of here documents, and old seds have small limits too (100 cmds).
35878 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35879 rm -f conftest.tail
35880 while grep . conftest.undefs >/dev/null
35882 # Write a limited-size here document to $tmp/undefs.sed.
35883 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35884 # Speed up: don't consider the non `#undef'
35885 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35886 # Work around the forget-to-reset-the-flag bug.
35887 echo 't clr' >>$CONFIG_STATUS
35888 echo ': clr' >>$CONFIG_STATUS
35889 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35891 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35893 mv $tmp/out $tmp/in
35895 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35896 rm -f conftest.undefs
35897 mv conftest.tail conftest.undefs
35899 rm -f conftest.undefs
35901 cat >>$CONFIG_STATUS <<\_ACEOF
35902 # Let's still pretend it is `configure' which instantiates (i.e., don't
35903 # use $as_me), people would be surprised to read:
35904 # /* config.h. Generated by config.status. */
35905 if test x"$ac_file" = x-; then
35906 echo "/* Generated by configure. */" >$tmp/config.h
35908 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35910 cat $tmp/in >>$tmp/config.h
35912 if test x"$ac_file" != x-; then
35913 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35914 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35915 echo "$as_me: $ac_file is unchanged" >&6;}
35917 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35918 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35919 X"$ac_file" : 'X\(//\)[^/]' \| \
35920 X"$ac_file" : 'X\(//\)$' \| \
35921 X"$ac_file" : 'X\(/\)' \| \
35922 . : '\(.\)' 2>/dev/null ||
35924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35925 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35926 /^X\(\/\/\)$/{ s//\1/; q; }
35927 /^X\(\/\).*/{ s//\1/; q; }
35929 { if $as_mkdir_p; then
35934 while test ! -d "$as_dir"; do
35935 as_dirs="$as_dir $as_dirs"
35936 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35937 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35938 X"$as_dir" : 'X\(//\)[^/]' \| \
35939 X"$as_dir" : 'X\(//\)$' \| \
35940 X"$as_dir" : 'X\(/\)' \| \
35941 . : '\(.\)' 2>/dev/null ||
35943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35944 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35945 /^X\(\/\/\)$/{ s//\1/; q; }
35946 /^X\(\/\).*/{ s//\1/; q; }
35949 test ! -n "$as_dirs" || mkdir $as_dirs
35950 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35951 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35952 { (exit 1); exit 1; }; }; }
35955 mv $tmp/config.h $ac_file
35959 rm -f $tmp/config.h
35963 cat >>$CONFIG_STATUS <<\_ACEOF
35966 # CONFIG_COMMANDS section.
35968 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35969 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35970 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35971 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35972 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35973 X"$ac_dest" : 'X\(//\)[^/]' \| \
35974 X"$ac_dest" : 'X\(//\)$' \| \
35975 X"$ac_dest" : 'X\(/\)' \| \
35976 . : '\(.\)' 2>/dev/null ||
35978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35980 /^X\(\/\/\)$/{ s//\1/; q; }
35981 /^X\(\/\).*/{ s//\1/; q; }
35985 if test "$ac_dir" != .; then
35986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35987 # A "../" for each directory in $ac_dir_suffix.
35988 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35990 ac_dir_suffix= ac_top_builddir=
35994 .) # No --srcdir option. We are building in place.
35996 if test -z "$ac_top_builddir"; then
35999 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36001 [\\/]* | ?:[\\/]* ) # Absolute path.
36002 ac_srcdir=$srcdir$ac_dir_suffix;
36003 ac_top_srcdir=$srcdir ;;
36004 *) # Relative path.
36005 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36006 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36008 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36010 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36011 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36012 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36013 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36016 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36017 echo "$as_me: executing $ac_dest commands" >&6;}
36020 if test ! -h wx-config; then
36022 mv wx-config wx${TOOLCHAIN_NAME}-config
36023 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36026 if test ! -d lib; then
36029 if test ! -d lib/wx; then
36032 if test ! -d lib/wx/include; then
36033 mkdir lib/wx/include
36035 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36036 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36038 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36039 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36041 if test -f setup.h; then
36042 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36049 cat >>$CONFIG_STATUS <<\_ACEOF
36051 { (exit 0); exit 0; }
36053 chmod +x $CONFIG_STATUS
36054 ac_clean_files=$ac_clean_files_save
36057 # configure is writing to config.log, and then calls config.status.
36058 # config.status does its own redirection, appending to config.log.
36059 # Unfortunately, on DOS this fails, as config.log is still kept open
36060 # by configure, so config.status won't be able to write to it; its
36061 # output is simply discarded. So we exec the FD to /dev/null,
36062 # effectively closing config.log, so it can be properly (re)opened and
36063 # appended to by config.status. When coming back to configure, we
36064 # need to make the FD available again.
36065 if test "$no_create" != yes; then
36067 ac_config_status_args=
36068 test "$silent" = yes &&
36069 ac_config_status_args="$ac_config_status_args --quiet"
36071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36074 # would make configure fail if this is the last instruction.
36075 $ac_cs_success || { (exit 1); exit 1; }
36080 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36082 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36083 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36085 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36086 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36087 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36089 echo " What level of wxWindows compatibility should be enabled?"
36090 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36091 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36092 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36094 echo " Which libraries should wxWindows use?"
36095 echo " jpeg ${wxUSE_LIBJPEG-none}"
36096 echo " png ${wxUSE_LIBPNG-none}"
36097 echo " regex ${wxUSE_REGEX}"
36098 echo " tiff ${wxUSE_LIBTIFF-none}"
36099 echo " zlib ${wxUSE_ZLIB}"
36100 echo " odbc ${wxUSE_ODBC}"