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 AIX_CXX_LD RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF WXUNIV MONOLITHIC EXTRALIBS UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_SHARED_1_MONOLITHIC_0 COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_GUI_1 COND_WXUSE_ODBC_BUILTIN COND_TOOLKIT_X11 COND_TOOLKIT_MGL COND_TOOLKIT_GTK COND_TOOLKIT_MSW COND_TOOLKIT_MAC COND_USE_SOVERSION_1_PLATFORM_MACOSX_0 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1 COND_PLATFORM_WIN32_1 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_MACOSX_1 COND_WXUSE_LIBTIFF_BUILTIN COND_SHARED_1_USE_GUI_1_MONOLITHIC_0 COND_MONOLITHIC_0 COND_WXUSE_REGEX_BUILTIN COND_TOOLKIT_MOTIF COND_TOOLKIT_COCOA COND_TOOLKIT_OS2 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_0 COND_SHARED_1_MONOLITHIC_1 COND_SHARED_0_MONOLITHIC_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSOLARIS_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_PLATFORM_WIN32_0 COND_MONOLITHIC_1 COND_SHARED_0_MONOLITHIC_0 COND_BUILD_DEBUG COND_DEPS_TYPE_GCC COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 COND_DEPS_TRACKING_1 COND_DEPS_TRACKING_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 CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX SONAME_FLAGS SONAME_FLAGS_GL WX_TARGET_LIBRARY_SONAME 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 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-soname set the DT_SONAME field in ELF shared libraries
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --disable-largefile omit support for large files
1028 --disable-gtktest do not try to compile and run a test GTK+ program
1029 --disable-gtktest Do not try to compile and run a test GTK program
1032 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1033 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1035 --with-motif use Motif/Lesstif
1036 --with-mac use Mac OS X
1037 --with-cocoa use Cocoa
1038 --with-wine use Wine
1039 --with-msw use MS-Windows
1040 --with-pm use OS/2 Presentation Manager
1041 --with-mgl use SciTech MGL
1042 --with-microwin use MicroWindows
1044 --with-libpng use libpng (PNG image format)
1045 --with-libjpeg use libjpeg (JPEG file format)
1046 --with-libtiff use libtiff (TIFF file format)
1047 --with-opengl use OpenGL (or Mesa)
1048 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1049 --with-regex enable support for wxRegEx class
1050 --with-zlib use zlib for LZW compression
1051 --with-odbc use the IODBC and wxODBC classes
1052 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1053 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1054 --with-x use the X Window System
1055 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1057 Some influential environment variables:
1058 CC C compiler command
1059 CFLAGS C compiler flags
1060 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1061 nonstandard directory <lib dir>
1062 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1063 headers in a nonstandard directory <include dir>
1065 CXX C++ compiler command
1066 CXXFLAGS C++ compiler flags
1067 CXXCPP C++ preprocessor
1069 Use these variables to override the choices made by `configure' or to help
1070 it to find libraries and programs with nonstandard names/locations.
1072 Report bugs to <wx-dev@lists.wxwindows.org>.
1076 if test "$ac_init_help" = "recursive"; then
1077 # If there are subdirs, report their specific --help.
1079 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080 test -d $ac_dir || continue
1083 if test "$ac_dir" != .; then
1084 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085 # A "../" for each directory in $ac_dir_suffix.
1086 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088 ac_dir_suffix= ac_top_builddir=
1092 .) # No --srcdir option. We are building in place.
1094 if test -z "$ac_top_builddir"; then
1097 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1099 [\\/]* | ?:[\\/]* ) # Absolute path.
1100 ac_srcdir=$srcdir$ac_dir_suffix;
1101 ac_top_srcdir=$srcdir ;;
1103 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1108 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1109 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1110 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1111 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1135 wxWindows configure 2.5.0
1136 generated by GNU Autoconf 2.57
1138 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1139 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by wxWindows $as_me 2.5.0, which was
1151 generated by GNU Autoconf 2.57. Invocation command line was
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_must_keep_next=false
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1239 -* ) ac_must_keep_next=true ;;
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1268 # The following way of writing the cache mishandles newlines in values,
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -n "$ac_subst_files"; then
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1313 if test -s confdefs.h; then
1320 sed "/^$/d" confdefs.h | sort
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1327 rm -f core core.* *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1331 for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1403 # Check that the precious variables saved in the cache have kept the same
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1490 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1491 if test -f $ac_dir/install-sh; then
1493 ac_install_sh="$ac_aux_dir/install-sh -c"
1495 elif test -f $ac_dir/install.sh; then
1497 ac_install_sh="$ac_aux_dir/install.sh -c"
1499 elif test -f $ac_dir/shtool; then
1501 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1507 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1508 { (exit 1); exit 1; }; }
1510 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1511 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1512 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 # Make sure we can run config.sub.
1515 $ac_config_sub sun4 >/dev/null 2>&1 ||
1516 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1517 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1518 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: checking build system type" >&5
1521 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1522 if test "${ac_cv_build+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 ac_cv_build_alias=$build_alias
1526 test -z "$ac_cv_build_alias" &&
1527 ac_cv_build_alias=`$ac_config_guess`
1528 test -z "$ac_cv_build_alias" &&
1529 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1530 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1531 { (exit 1); exit 1; }; }
1532 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1539 echo "${ECHO_T}$ac_cv_build" >&6
1541 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1546 echo "$as_me:$LINENO: checking host system type" >&5
1547 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1548 if test "${ac_cv_host+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 ac_cv_host_alias=$host_alias
1552 test -z "$ac_cv_host_alias" &&
1553 ac_cv_host_alias=$ac_cv_build_alias
1554 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1556 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1561 echo "${ECHO_T}$ac_cv_host" >&6
1563 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1568 echo "$as_me:$LINENO: checking target system type" >&5
1569 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1570 if test "${ac_cv_target+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 ac_cv_target_alias=$target_alias
1574 test "x$ac_cv_target_alias" = "x" &&
1575 ac_cv_target_alias=$ac_cv_host_alias
1576 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1578 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1583 echo "${ECHO_T}$ac_cv_target" >&6
1584 target=$ac_cv_target
1585 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590 # The aliases save the names the user supplied, while $host etc.
1591 # will get canonicalized.
1592 test -n "$target_alias" &&
1593 test "$program_prefix$program_suffix$program_transform_name" = \
1595 program_prefix=${target_alias}-
1599 WX_MAJOR_VERSION_NUMBER=2
1600 WX_MINOR_VERSION_NUMBER=5
1603 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1604 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1606 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1621 USE_BSD= USE_DARWIN= USE_FREEBSD=
1627 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1633 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1635 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1637 DEFAULT_wxUSE_COCOA=0
1641 DEFAULT_wxUSE_MICROWIN=0
1642 DEFAULT_wxUSE_MOTIF=0
1647 DEFAULT_DEFAULT_wxUSE_COCOA=0
1648 DEFAULT_DEFAULT_wxUSE_GTK=0
1649 DEFAULT_DEFAULT_wxUSE_MAC=0
1650 DEFAULT_DEFAULT_wxUSE_MGL=0
1651 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1652 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1653 DEFAULT_DEFAULT_wxUSE_MSW=0
1654 DEFAULT_DEFAULT_wxUSE_PM=0
1655 DEFAULT_DEFAULT_wxUSE_X11=0
1664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1665 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1667 cat >>confdefs.h <<\_ACEOF
1674 cat >>confdefs.h <<\_ACEOF
1679 if test "x$TMP" = "xalpha"; then
1681 cat >>confdefs.h <<\_ACEOF
1686 DEFAULT_DEFAULT_wxUSE_GTK=1
1690 cat >>confdefs.h <<\_ACEOF
1695 if test "x$TMP" = "xalpha"; then
1697 cat >>confdefs.h <<\_ACEOF
1702 DEFAULT_DEFAULT_wxUSE_GTK=1
1704 *-*-irix5* | *-*-irix6* )
1707 cat >>confdefs.h <<\_ACEOF
1711 cat >>confdefs.h <<\_ACEOF
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1721 cat >>confdefs.h <<\_ACEOF
1725 cat >>confdefs.h <<\_ACEOF
1726 #define __SOLARIS__ 1
1729 cat >>confdefs.h <<\_ACEOF
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740 cat >>confdefs.h <<\_ACEOF
1744 cat >>confdefs.h <<\_ACEOF
1748 cat >>confdefs.h <<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __FREEBSD__ 1
1761 cat >>confdefs.h <<\_ACEOF
1765 DEFAULT_DEFAULT_wxUSE_GTK=1
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __OPENBSD__ 1
1774 cat >>confdefs.h <<\_ACEOF
1778 DEFAULT_DEFAULT_wxUSE_GTK=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __NETBSD__ 1
1787 cat >>confdefs.h <<\_ACEOF
1791 DEFAULT_DEFAULT_wxUSE_GTK=1
1796 cat >>confdefs.h <<\_ACEOF
1800 cat >>confdefs.h <<\_ACEOF
1804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1805 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1810 cat >>confdefs.h <<\_ACEOF
1814 cat >>confdefs.h <<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1823 cat >>confdefs.h <<\_ACEOF
1827 cat >>confdefs.h <<\_ACEOF
1831 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1838 cat >>confdefs.h <<\_ACEOF
1842 cat >>confdefs.h <<\_ACEOF
1846 cat >>confdefs.h <<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __UNIXWARE__ 1
1863 *-*-cygwin* | *-*-mingw32* )
1867 DEFAULT_DEFAULT_wxUSE_MSW=1
1873 cat >>confdefs.h <<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MGL=1
1879 LIBS="$LIBS -lstdc++"
1882 *-pc-os2_emx | *-pc-os2-emx )
1883 cat >>confdefs.h <<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_PM=1
1895 cat >>confdefs.h <<\_ACEOF
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __DARWIN__ 1
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __POWERPC__ 1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define TARGET_CARBON 1
1911 DEFAULT_DEFAULT_wxUSE_MAC=1
1916 cat >>confdefs.h <<\_ACEOF
1923 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1924 echo "$as_me: error: unknown system type ${host}." >&2;}
1925 { (exit 1); exit 1; }; }
1931 wx_arg_cache_file="configarg.cache"
1932 echo "loading argument cache $wx_arg_cache_file"
1933 rm -f ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}.tmp
1935 touch ${wx_arg_cache_file}
1939 if test $DEBUG_CONFIGURE = 1; then
1940 DEFAULT_wxUSE_UNIVERSAL=no
1942 DEFAULT_wxUSE_NANOX=no
1944 DEFAULT_wxUSE_THREADS=yes
1946 DEFAULT_wxUSE_SHARED=yes
1947 DEFAULT_wxUSE_SONAME=no
1948 DEFAULT_wxUSE_OPTIMISE=no
1949 DEFAULT_wxUSE_PROFILE=no
1950 DEFAULT_wxUSE_NO_DEPS=no
1951 DEFAULT_wxUSE_NO_RTTI=no
1952 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1953 DEFAULT_wxUSE_PERMISSIVE=no
1954 DEFAULT_wxUSE_DEBUG_FLAG=yes
1955 DEFAULT_wxUSE_DEBUG_INFO=yes
1956 DEFAULT_wxUSE_DEBUG_GDB=yes
1957 DEFAULT_wxUSE_MEM_TRACING=no
1958 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1959 DEFAULT_wxUSE_DMALLOC=no
1960 DEFAULT_wxUSE_PRECOMP=no
1961 DEFAULT_wxUSE_APPLE_IEEE=no
1963 DEFAULT_wxUSE_LOG=yes
1964 DEFAULT_wxUSE_LOGWINDOW=no
1965 DEFAULT_wxUSE_LOGGUI=no
1966 DEFAULT_wxUSE_LOGDIALOG=no
1968 DEFAULT_wxUSE_GUI=yes
1969 DEFAULT_wxUSE_CONTROLS=no
1971 DEFAULT_wxUSE_REGEX=no
1972 DEFAULT_wxUSE_ZLIB=no
1973 DEFAULT_wxUSE_LIBPNG=no
1974 DEFAULT_wxUSE_LIBJPEG=no
1975 DEFAULT_wxUSE_LIBTIFF=no
1976 DEFAULT_wxUSE_ODBC=no
1977 DEFAULT_wxUSE_OPENGL=no
1979 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1980 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1981 DEFAULT_wxUSE_STD_IOSTREAM=no
1982 DEFAULT_wxUSE_CMDLINE_PARSER=no
1983 DEFAULT_wxUSE_DATETIME=no
1984 DEFAULT_wxUSE_TIMER=no
1985 DEFAULT_wxUSE_STOPWATCH=no
1986 DEFAULT_wxUSE_FILE=no
1987 DEFAULT_wxUSE_FFILE=no
1988 DEFAULT_wxUSE_TEXTBUFFER=no
1989 DEFAULT_wxUSE_TEXTFILE=no
1990 DEFAULT_wxUSE_WAVE=no
1991 DEFAULT_wxUSE_INTL=no
1992 DEFAULT_wxUSE_CONFIG=no
1993 DEFAULT_wxUSE_FONTMAP=no
1994 DEFAULT_wxUSE_STREAMS=no
1995 DEFAULT_wxUSE_SOCKETS=no
1996 DEFAULT_wxUSE_OLE=no
1997 DEFAULT_wxUSE_DATAOBJ=no
1998 DEFAULT_wxUSE_DIALUP_MANAGER=no
1999 DEFAULT_wxUSE_JOYSTICK=no
2000 DEFAULT_wxUSE_DYNLIB_CLASS=no
2001 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2002 DEFAULT_wxUSE_LONGLONG=no
2003 DEFAULT_wxUSE_GEOMETRY=no
2005 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2006 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2007 DEFAULT_wxUSE_POSTSCRIPT=no
2009 DEFAULT_wxUSE_CLIPBOARD=no
2010 DEFAULT_wxUSE_TOOLTIPS=no
2011 DEFAULT_wxUSE_DRAG_AND_DROP=no
2012 DEFAULT_wxUSE_DRAGIMAGE=no
2013 DEFAULT_wxUSE_SPLINES=no
2015 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2016 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2017 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2019 DEFAULT_wxUSE_RESOURCES=no
2020 DEFAULT_wxUSE_CONSTRAINTS=no
2021 DEFAULT_wxUSE_IPC=no
2022 DEFAULT_wxUSE_HELP=no
2023 DEFAULT_wxUSE_MS_HTML_HELP=no
2024 DEFAULT_wxUSE_WXHTML_HELP=no
2025 DEFAULT_wxUSE_TREELAYOUT=no
2026 DEFAULT_wxUSE_METAFILE=no
2027 DEFAULT_wxUSE_MIMETYPE=no
2028 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2029 DEFAULT_wxUSE_PROTOCOL=no
2030 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2031 DEFAULT_wxUSE_PROTOCOL_FTP=no
2032 DEFAULT_wxUSE_PROTOCOL_FILE=no
2033 DEFAULT_wxUSE_URL=no
2035 DEFAULT_wxUSE_COMMONDLGS=no
2036 DEFAULT_wxUSE_CHOICEDLG=no
2037 DEFAULT_wxUSE_COLOURDLG=no
2038 DEFAULT_wxUSE_DIRDLG=no
2039 DEFAULT_wxUSE_FILEDLG=no
2040 DEFAULT_wxUSE_FINDREPLDLG=no
2041 DEFAULT_wxUSE_FONTDLG=no
2042 DEFAULT_wxUSE_MSGDLG=no
2043 DEFAULT_wxUSE_NUMBERDLG=no
2044 DEFAULT_wxUSE_TEXTDLG=no
2045 DEFAULT_wxUSE_SPLASH=no
2046 DEFAULT_wxUSE_STARTUP_TIPS=no
2047 DEFAULT_wxUSE_PROGRESSDLG=no
2048 DEFAULT_wxUSE_WIZARDDLG=no
2050 DEFAULT_wxUSE_MENUS=no
2051 DEFAULT_wxUSE_MINIFRAME=no
2052 DEFAULT_wxUSE_HTML=no
2053 DEFAULT_wxUSE_FILESYSTEM=no
2054 DEFAULT_wxUSE_FS_INET=no
2055 DEFAULT_wxUSE_FS_ZIP=no
2056 DEFAULT_wxUSE_BUSYINFO=no
2057 DEFAULT_wxUSE_ZIPSTREAM=no
2058 DEFAULT_wxUSE_VALIDATORS=no
2060 DEFAULT_wxUSE_ACCEL=no
2061 DEFAULT_wxUSE_BUTTON=no
2062 DEFAULT_wxUSE_BMPBUTTON=no
2063 DEFAULT_wxUSE_CALCTRL=no
2064 DEFAULT_wxUSE_CARET=no
2065 DEFAULT_wxUSE_CHECKBOX=no
2066 DEFAULT_wxUSE_CHECKLST=no
2067 DEFAULT_wxUSE_CHOICE=no
2068 DEFAULT_wxUSE_COMBOBOX=no
2069 DEFAULT_wxUSE_DISPLAY=no
2070 DEFAULT_wxUSE_GAUGE=no
2071 DEFAULT_wxUSE_GRID=no
2072 DEFAULT_wxUSE_IMAGLIST=no
2073 DEFAULT_wxUSE_LISTBOX=no
2074 DEFAULT_wxUSE_LISTCTRL=no
2075 DEFAULT_wxUSE_NOTEBOOK=no
2076 DEFAULT_wxUSE_RADIOBOX=no
2077 DEFAULT_wxUSE_RADIOBTN=no
2078 DEFAULT_wxUSE_SASH=no
2079 DEFAULT_wxUSE_SCROLLBAR=no
2080 DEFAULT_wxUSE_SLIDER=no
2081 DEFAULT_wxUSE_SPINBTN=no
2082 DEFAULT_wxUSE_SPINCTRL=no
2083 DEFAULT_wxUSE_SPLITTER=no
2084 DEFAULT_wxUSE_STATBMP=no
2085 DEFAULT_wxUSE_STATBOX=no
2086 DEFAULT_wxUSE_STATLINE=no
2087 DEFAULT_wxUSE_STATTEXT=no
2088 DEFAULT_wxUSE_STATUSBAR=yes
2089 DEFAULT_wxUSE_TABDIALOG=no
2090 DEFAULT_wxUSE_TEXTCTRL=no
2091 DEFAULT_wxUSE_TOGGLEBTN=no
2092 DEFAULT_wxUSE_TOOLBAR=no
2093 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2094 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2095 DEFAULT_wxUSE_TREECTRL=no
2096 DEFAULT_wxUSE_POPUPWIN=no
2097 DEFAULT_wxUSE_TIPWINDOW=no
2099 DEFAULT_wxUSE_UNICODE=no
2100 DEFAULT_wxUSE_UNICODE_MSLU=no
2101 DEFAULT_wxUSE_WCSRTOMBS=no
2103 DEFAULT_wxUSE_PALETTE=no
2104 DEFAULT_wxUSE_IMAGE=no
2105 DEFAULT_wxUSE_GIF=no
2106 DEFAULT_wxUSE_PCX=no
2107 DEFAULT_wxUSE_PNM=no
2108 DEFAULT_wxUSE_IFF=no
2109 DEFAULT_wxUSE_XPM=no
2110 DEFAULT_wxUSE_ICO_CUR=no
2111 DEFAULT_wxUSE_ACCESSIBILITY=no
2113 DEFAULT_wxUSE_MONOLITHIC=yes
2115 DEFAULT_wxUSE_UNIVERSAL=no
2117 DEFAULT_wxUSE_NANOX=no
2119 DEFAULT_wxUSE_THREADS=yes
2121 DEFAULT_wxUSE_SHARED=yes
2122 DEFAULT_wxUSE_SONAME=no
2123 DEFAULT_wxUSE_OPTIMISE=yes
2124 DEFAULT_wxUSE_PROFILE=no
2125 DEFAULT_wxUSE_NO_DEPS=no
2126 DEFAULT_wxUSE_NO_RTTI=no
2127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2128 DEFAULT_wxUSE_PERMISSIVE=no
2129 DEFAULT_wxUSE_DEBUG_FLAG=no
2130 DEFAULT_wxUSE_DEBUG_INFO=no
2131 DEFAULT_wxUSE_DEBUG_GDB=no
2132 DEFAULT_wxUSE_MEM_TRACING=no
2133 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2134 DEFAULT_wxUSE_DMALLOC=no
2135 DEFAULT_wxUSE_PRECOMP=no
2136 DEFAULT_wxUSE_APPLE_IEEE=yes
2138 DEFAULT_wxUSE_LOG=yes
2139 DEFAULT_wxUSE_LOGWINDOW=yes
2140 DEFAULT_wxUSE_LOGGUI=yes
2141 DEFAULT_wxUSE_LOGDIALOG=yes
2143 DEFAULT_wxUSE_GUI=yes
2145 DEFAULT_wxUSE_REGEX=yes
2146 DEFAULT_wxUSE_ZLIB=yes
2147 DEFAULT_wxUSE_LIBPNG=yes
2148 DEFAULT_wxUSE_LIBJPEG=yes
2149 DEFAULT_wxUSE_LIBTIFF=yes
2150 DEFAULT_wxUSE_ODBC=no
2151 DEFAULT_wxUSE_OPENGL=no
2153 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2154 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2155 DEFAULT_wxUSE_STD_IOSTREAM=no
2156 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2157 DEFAULT_wxUSE_DATETIME=yes
2158 DEFAULT_wxUSE_TIMER=yes
2159 DEFAULT_wxUSE_STOPWATCH=yes
2160 DEFAULT_wxUSE_FILE=yes
2161 DEFAULT_wxUSE_FFILE=yes
2162 DEFAULT_wxUSE_TEXTBUFFER=yes
2163 DEFAULT_wxUSE_TEXTFILE=yes
2164 DEFAULT_wxUSE_WAVE=no
2165 DEFAULT_wxUSE_INTL=yes
2166 DEFAULT_wxUSE_CONFIG=yes
2167 DEFAULT_wxUSE_FONTMAP=yes
2168 DEFAULT_wxUSE_STREAMS=yes
2169 DEFAULT_wxUSE_SOCKETS=yes
2170 DEFAULT_wxUSE_OLE=yes
2171 DEFAULT_wxUSE_DATAOBJ=yes
2172 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2173 DEFAULT_wxUSE_JOYSTICK=yes
2174 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2175 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2176 DEFAULT_wxUSE_LONGLONG=yes
2177 DEFAULT_wxUSE_GEOMETRY=yes
2179 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2180 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2181 DEFAULT_wxUSE_POSTSCRIPT=yes
2183 DEFAULT_wxUSE_CLIPBOARD=yes
2184 DEFAULT_wxUSE_TOOLTIPS=yes
2185 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2186 DEFAULT_wxUSE_DRAGIMAGE=yes
2187 DEFAULT_wxUSE_SPLINES=yes
2189 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2190 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2191 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2193 DEFAULT_wxUSE_RESOURCES=no
2194 DEFAULT_wxUSE_CONSTRAINTS=yes
2195 DEFAULT_wxUSE_IPC=yes
2196 DEFAULT_wxUSE_HELP=yes
2197 DEFAULT_wxUSE_MS_HTML_HELP=yes
2198 DEFAULT_wxUSE_WXHTML_HELP=yes
2199 DEFAULT_wxUSE_TREELAYOUT=yes
2200 DEFAULT_wxUSE_METAFILE=yes
2201 DEFAULT_wxUSE_MIMETYPE=yes
2202 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2203 DEFAULT_wxUSE_PROTOCOL=yes
2204 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2205 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2206 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2207 DEFAULT_wxUSE_URL=yes
2209 DEFAULT_wxUSE_COMMONDLGS=yes
2210 DEFAULT_wxUSE_CHOICEDLG=yes
2211 DEFAULT_wxUSE_COLOURDLG=yes
2212 DEFAULT_wxUSE_DIRDLG=yes
2213 DEFAULT_wxUSE_FILEDLG=yes
2214 DEFAULT_wxUSE_FINDREPLDLG=yes
2215 DEFAULT_wxUSE_FONTDLG=yes
2216 DEFAULT_wxUSE_MSGDLG=yes
2217 DEFAULT_wxUSE_NUMBERDLG=yes
2218 DEFAULT_wxUSE_TEXTDLG=yes
2219 DEFAULT_wxUSE_SPLASH=yes
2220 DEFAULT_wxUSE_STARTUP_TIPS=yes
2221 DEFAULT_wxUSE_PROGRESSDLG=yes
2222 DEFAULT_wxUSE_WIZARDDLG=yes
2224 DEFAULT_wxUSE_MENUS=yes
2225 DEFAULT_wxUSE_MINIFRAME=yes
2226 DEFAULT_wxUSE_HTML=yes
2227 DEFAULT_wxUSE_FILESYSTEM=yes
2228 DEFAULT_wxUSE_FS_INET=yes
2229 DEFAULT_wxUSE_FS_ZIP=yes
2230 DEFAULT_wxUSE_BUSYINFO=yes
2231 DEFAULT_wxUSE_ZIPSTREAM=yes
2232 DEFAULT_wxUSE_VALIDATORS=yes
2234 DEFAULT_wxUSE_ACCEL=yes
2235 DEFAULT_wxUSE_BUTTON=yes
2236 DEFAULT_wxUSE_BMPBUTTON=yes
2237 DEFAULT_wxUSE_CALCTRL=yes
2238 DEFAULT_wxUSE_CARET=yes
2239 DEFAULT_wxUSE_CHECKBOX=yes
2240 DEFAULT_wxUSE_CHECKLST=yes
2241 DEFAULT_wxUSE_CHOICE=yes
2242 DEFAULT_wxUSE_COMBOBOX=yes
2243 DEFAULT_wxUSE_DISPLAY=no
2244 DEFAULT_wxUSE_GAUGE=yes
2245 DEFAULT_wxUSE_GRID=yes
2246 DEFAULT_wxUSE_IMAGLIST=yes
2247 DEFAULT_wxUSE_LISTBOX=yes
2248 DEFAULT_wxUSE_LISTCTRL=yes
2249 DEFAULT_wxUSE_NOTEBOOK=yes
2250 DEFAULT_wxUSE_RADIOBOX=yes
2251 DEFAULT_wxUSE_RADIOBTN=yes
2252 DEFAULT_wxUSE_SASH=yes
2253 DEFAULT_wxUSE_SCROLLBAR=yes
2254 DEFAULT_wxUSE_SLIDER=yes
2255 DEFAULT_wxUSE_SPINBTN=yes
2256 DEFAULT_wxUSE_SPINCTRL=yes
2257 DEFAULT_wxUSE_SPLITTER=yes
2258 DEFAULT_wxUSE_STATBMP=yes
2259 DEFAULT_wxUSE_STATBOX=yes
2260 DEFAULT_wxUSE_STATLINE=yes
2261 DEFAULT_wxUSE_STATTEXT=yes
2262 DEFAULT_wxUSE_STATUSBAR=yes
2263 DEFAULT_wxUSE_TABDIALOG=no
2264 DEFAULT_wxUSE_TEXTCTRL=yes
2265 DEFAULT_wxUSE_TOGGLEBTN=yes
2266 DEFAULT_wxUSE_TOOLBAR=yes
2267 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2268 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2269 DEFAULT_wxUSE_TREECTRL=yes
2270 DEFAULT_wxUSE_POPUPWIN=yes
2271 DEFAULT_wxUSE_TIPWINDOW=yes
2273 DEFAULT_wxUSE_UNICODE=no
2274 DEFAULT_wxUSE_UNICODE_MSLU=yes
2275 DEFAULT_wxUSE_WCSRTOMBS=no
2277 DEFAULT_wxUSE_PALETTE=yes
2278 DEFAULT_wxUSE_IMAGE=yes
2279 DEFAULT_wxUSE_GIF=yes
2280 DEFAULT_wxUSE_PCX=yes
2281 DEFAULT_wxUSE_IFF=no
2282 DEFAULT_wxUSE_PNM=yes
2283 DEFAULT_wxUSE_XPM=yes
2284 DEFAULT_wxUSE_ICO_CUR=yes
2285 DEFAULT_wxUSE_ACCESSIBILITY=no
2287 DEFAULT_wxUSE_MONOLITHIC=yes
2292 for toolkit in `echo $ALL_TOOLKITS`; do
2293 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2294 if test "x$LINE" != "x" ; then
2295 has_toolkit_in_cache=1
2296 eval "DEFAULT_$LINE"
2297 eval "CACHE_$toolkit=1"
2304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2305 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2307 # Check whether --enable-gui or --disable-gui was given.
2308 if test "${enable_gui+set}" = set; then
2309 enableval="$enable_gui"
2311 if test "$enableval" = yes; then
2312 ac_cv_use_gui='wxUSE_GUI=yes'
2314 ac_cv_use_gui='wxUSE_GUI=no'
2319 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2320 if test "x$LINE" != x ; then
2321 eval "DEFAULT_$LINE"
2326 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2330 eval "$ac_cv_use_gui"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2335 if test "$wxUSE_GUI" = yes; then
2336 echo "$as_me:$LINENO: result: yes" >&5
2337 echo "${ECHO_T}yes" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2346 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2348 # Check whether --enable-monolithic or --disable-monolithic was given.
2349 if test "${enable_monolithic+set}" = set; then
2350 enableval="$enable_monolithic"
2352 if test "$enableval" = yes; then
2353 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2355 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2360 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2371 eval "$ac_cv_use_monolithic"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2376 if test "$wxUSE_MONOLITHIC" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378 echo "${ECHO_T}yes" >&6
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2385 if test "$wxUSE_GUI" = "yes"; then
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2392 # Check whether --enable-universal or --disable-universal was given.
2393 if test "${enable_universal+set}" = set; then
2394 enableval="$enable_universal"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2399 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2404 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2415 eval "$ac_cv_use_universal"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_UNIVERSAL" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 # Check whether --with-gtk or --without-gtk was given.
2430 if test "${with_gtk+set}" = set; then
2432 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2435 # Check whether --with-motif or --without-motif was given.
2436 if test "${with_motif+set}" = set; then
2437 withval="$with_motif"
2438 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2441 # Check whether --with-mac or --without-mac was given.
2442 if test "${with_mac+set}" = set; then
2444 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2447 # Check whether --with-cocoa or --without-cocoa was given.
2448 if test "${with_cocoa+set}" = set; then
2449 withval="$with_cocoa"
2450 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2453 # Check whether --with-wine or --without-wine was given.
2454 if test "${with_wine+set}" = set; then
2455 withval="$with_wine"
2456 wxUSE_WINE="$withval" CACHE_WINE=1
2459 # Check whether --with-msw or --without-msw was given.
2460 if test "${with_msw+set}" = set; then
2462 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2465 # Check whether --with-pm or --without-pm was given.
2466 if test "${with_pm+set}" = set; then
2468 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2471 # Check whether --with-mgl or --without-mgl was given.
2472 if test "${with_mgl+set}" = set; then
2474 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2477 # Check whether --with-microwin or --without-microwin was given.
2478 if test "${with_microwin+set}" = set; then
2479 withval="$with_microwin"
2480 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2483 # Check whether --with-x11 or --without-x11 was given.
2484 if test "${with_x11+set}" = set; then
2486 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2493 # Check whether --enable-nanox or --disable-nanox was given.
2494 if test "${enable_nanox+set}" = set; then
2495 enableval="$enable_nanox"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_nanox='wxUSE_NANOX=yes'
2500 ac_cv_use_nanox='wxUSE_NANOX=no'
2505 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2516 eval "$ac_cv_use_nanox"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_NANOX" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2533 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2535 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2536 if test "${enable_gtk2+set}" = set; then
2537 enableval="$enable_gtk2"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2542 ac_cv_use_gtk2='wxUSE_GTK2=no'
2547 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x ; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2558 eval "$ac_cv_use_gtk2"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2563 if test "$wxUSE_GTK2" = yes; then
2564 echo "$as_me:$LINENO: result: yes" >&5
2565 echo "${ECHO_T}yes" >&6
2567 echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2573 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2574 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2577 # Check whether --with-libpng or --without-libpng was given.
2578 if test "${with_libpng+set}" = set; then
2579 withval="$with_libpng"
2581 if test "$withval" = yes; then
2582 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2583 elif test "$withval" = no; then
2584 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2585 elif test "$withval" = sys; then
2586 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2587 elif test "$withval" = builtin; then
2588 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2592 { (exit 1); exit 1; }; }
2597 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x ; then
2599 eval "DEFAULT_$LINE"
2604 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2608 eval "$ac_cv_use_libpng"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_LIBPNG" = yes; then
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2616 elif test "$wxUSE_LIBPNG" = no; then
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2619 elif test "$wxUSE_LIBPNG" = sys; then
2620 echo "$as_me:$LINENO: result: system version" >&5
2621 echo "${ECHO_T}system version" >&6
2622 elif test "$wxUSE_LIBPNG" = builtin; then
2623 echo "$as_me:$LINENO: result: builtin version" >&5
2624 echo "${ECHO_T}builtin version" >&6
2626 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2627 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2628 { (exit 1); exit 1; }; }
2632 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2633 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2636 # Check whether --with-libjpeg or --without-libjpeg was given.
2637 if test "${with_libjpeg+set}" = set; then
2638 withval="$with_libjpeg"
2640 if test "$withval" = yes; then
2641 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2642 elif test "$withval" = no; then
2643 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2644 elif test "$withval" = sys; then
2645 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2646 elif test "$withval" = builtin; then
2647 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2649 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2650 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2651 { (exit 1); exit 1; }; }
2656 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x ; then
2658 eval "DEFAULT_$LINE"
2663 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2667 eval "$ac_cv_use_libjpeg"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_LIBJPEG" = yes; then
2673 echo "$as_me:$LINENO: result: yes" >&5
2674 echo "${ECHO_T}yes" >&6
2675 elif test "$wxUSE_LIBJPEG" = no; then
2676 echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6
2678 elif test "$wxUSE_LIBJPEG" = sys; then
2679 echo "$as_me:$LINENO: result: system version" >&5
2680 echo "${ECHO_T}system version" >&6
2681 elif test "$wxUSE_LIBJPEG" = builtin; then
2682 echo "$as_me:$LINENO: result: builtin version" >&5
2683 echo "${ECHO_T}builtin version" >&6
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2686 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2691 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2692 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2695 # Check whether --with-libtiff or --without-libtiff was given.
2696 if test "${with_libtiff+set}" = set; then
2697 withval="$with_libtiff"
2699 if test "$withval" = yes; then
2700 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2701 elif test "$withval" = no; then
2702 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2703 elif test "$withval" = sys; then
2704 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2705 elif test "$withval" = builtin; then
2706 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2709 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2710 { (exit 1); exit 1; }; }
2715 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x ; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2726 eval "$ac_cv_use_libtiff"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2731 if test "$wxUSE_LIBTIFF" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2734 elif test "$wxUSE_LIBTIFF" = no; then
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 elif test "$wxUSE_LIBTIFF" = sys; then
2738 echo "$as_me:$LINENO: result: system version" >&5
2739 echo "${ECHO_T}system version" >&6
2740 elif test "$wxUSE_LIBTIFF" = builtin; then
2741 echo "$as_me:$LINENO: result: builtin version" >&5
2742 echo "${ECHO_T}builtin version" >&6
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2745 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2750 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2751 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2754 # Check whether --with-opengl or --without-opengl was given.
2755 if test "${with_opengl+set}" = set; then
2756 withval="$with_opengl"
2758 if test "$withval" = yes; then
2759 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2761 ac_cv_use_opengl='wxUSE_OPENGL=no'
2766 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x ; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2777 eval "$ac_cv_use_opengl"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_OPENGL" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2794 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2795 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2798 # Check whether --with-dmalloc or --without-dmalloc was given.
2799 if test "${with_dmalloc+set}" = set; then
2800 withval="$with_dmalloc"
2802 if test "$withval" = yes; then
2803 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2805 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2810 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2821 eval "$ac_cv_use_dmalloc"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2826 if test "$wxUSE_DMALLOC" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 echo "$as_me:$LINENO: checking for --with-regex" >&5
2836 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2839 # Check whether --with-regex or --without-regex was given.
2840 if test "${with_regex+set}" = set; then
2841 withval="$with_regex"
2843 if test "$withval" = yes; then
2844 ac_cv_use_regex='wxUSE_REGEX=yes'
2845 elif test "$withval" = no; then
2846 ac_cv_use_regex='wxUSE_REGEX=no'
2847 elif test "$withval" = sys; then
2848 ac_cv_use_regex='wxUSE_REGEX=sys'
2849 elif test "$withval" = builtin; then
2850 ac_cv_use_regex='wxUSE_REGEX=builtin'
2852 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2853 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2854 { (exit 1); exit 1; }; }
2859 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2860 if test "x$LINE" != x ; then
2861 eval "DEFAULT_$LINE"
2866 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2870 eval "$ac_cv_use_regex"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2875 if test "$wxUSE_REGEX" = yes; then
2876 echo "$as_me:$LINENO: result: yes" >&5
2877 echo "${ECHO_T}yes" >&6
2878 elif test "$wxUSE_REGEX" = no; then
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2881 elif test "$wxUSE_REGEX" = sys; then
2882 echo "$as_me:$LINENO: result: system version" >&5
2883 echo "${ECHO_T}system version" >&6
2884 elif test "$wxUSE_REGEX" = builtin; then
2885 echo "$as_me:$LINENO: result: builtin version" >&5
2886 echo "${ECHO_T}builtin version" >&6
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2894 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2895 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2898 # Check whether --with-zlib or --without-zlib was given.
2899 if test "${with_zlib+set}" = set; then
2900 withval="$with_zlib"
2902 if test "$withval" = yes; then
2903 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2904 elif test "$withval" = no; then
2905 ac_cv_use_zlib='wxUSE_ZLIB=no'
2906 elif test "$withval" = sys; then
2907 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2908 elif test "$withval" = builtin; then
2909 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2911 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2912 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2913 { (exit 1); exit 1; }; }
2918 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x ; then
2920 eval "DEFAULT_$LINE"
2925 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2929 eval "$ac_cv_use_zlib"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2934 if test "$wxUSE_ZLIB" = yes; then
2935 echo "$as_me:$LINENO: result: yes" >&5
2936 echo "${ECHO_T}yes" >&6
2937 elif test "$wxUSE_ZLIB" = no; then
2938 echo "$as_me:$LINENO: result: no" >&5
2939 echo "${ECHO_T}no" >&6
2940 elif test "$wxUSE_ZLIB" = sys; then
2941 echo "$as_me:$LINENO: result: system version" >&5
2942 echo "${ECHO_T}system version" >&6
2943 elif test "$wxUSE_ZLIB" = builtin; then
2944 echo "$as_me:$LINENO: result: builtin version" >&5
2945 echo "${ECHO_T}builtin version" >&6
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2953 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2954 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2957 # Check whether --with-odbc or --without-odbc was given.
2958 if test "${with_odbc+set}" = set; then
2959 withval="$with_odbc"
2961 if test "$withval" = yes; then
2962 ac_cv_use_odbc='wxUSE_ODBC=yes'
2963 elif test "$withval" = no; then
2964 ac_cv_use_odbc='wxUSE_ODBC=no'
2965 elif test "$withval" = sys; then
2966 ac_cv_use_odbc='wxUSE_ODBC=sys'
2967 elif test "$withval" = builtin; then
2968 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2971 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2977 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x ; then
2979 eval "DEFAULT_$LINE"
2984 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2988 eval "$ac_cv_use_odbc"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2993 if test "$wxUSE_ODBC" = yes; then
2994 echo "$as_me:$LINENO: result: yes" >&5
2995 echo "${ECHO_T}yes" >&6
2996 elif test "$wxUSE_ODBC" = no; then
2997 echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6
2999 elif test "$wxUSE_ODBC" = sys; then
3000 echo "$as_me:$LINENO: result: system version" >&5
3001 echo "${ECHO_T}system version" >&6
3002 elif test "$wxUSE_ODBC" = builtin; then
3003 echo "$as_me:$LINENO: result: builtin version" >&5
3004 echo "${ECHO_T}builtin version" >&6
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3007 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3018 # Check whether --enable-shared or --disable-shared was given.
3019 if test "${enable_shared+set}" = set; then
3020 enableval="$enable_shared"
3022 if test "$enableval" = yes; then
3023 ac_cv_use_shared='wxUSE_SHARED=yes'
3025 ac_cv_use_shared='wxUSE_SHARED=no'
3030 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x ; then
3032 eval "DEFAULT_$LINE"
3037 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3041 eval "$ac_cv_use_shared"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3046 if test "$wxUSE_SHARED" = yes; then
3047 echo "$as_me:$LINENO: result: yes" >&5
3048 echo "${ECHO_T}yes" >&6
3050 echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6
3056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-soname" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-soname... $ECHO_C" >&6
3059 # Check whether --enable-soname or --disable-soname was given.
3060 if test "${enable_soname+set}" = set; then
3061 enableval="$enable_soname"
3063 if test "$enableval" = yes; then
3064 ac_cv_use_soname='wxUSE_SONAME=yes'
3066 ac_cv_use_soname='wxUSE_SONAME=no'
3071 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x ; then
3073 eval "DEFAULT_$LINE"
3078 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
3082 eval "$ac_cv_use_soname"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_SONAME" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3100 # Check whether --enable-optimise or --disable-optimise was given.
3101 if test "${enable_optimise+set}" = set; then
3102 enableval="$enable_optimise"
3104 if test "$enableval" = yes; then
3105 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3107 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3112 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x ; then
3114 eval "DEFAULT_$LINE"
3119 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3123 eval "$ac_cv_use_optimise"
3124 if test "$no_cache" != 1; then
3125 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3128 if test "$wxUSE_OPTIMISE" = yes; then
3129 echo "$as_me:$LINENO: result: yes" >&5
3130 echo "${ECHO_T}yes" >&6
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3139 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3141 # Check whether --enable-debug or --disable-debug was given.
3142 if test "${enable_debug+set}" = set; then
3143 enableval="$enable_debug"
3145 if test "$enableval" = yes; then
3146 ac_cv_use_debug='wxUSE_DEBUG=yes'
3148 ac_cv_use_debug='wxUSE_DEBUG=no'
3153 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3160 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3164 eval "$ac_cv_use_debug"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3169 if test "$wxUSE_DEBUG" = yes; then
3170 echo "$as_me:$LINENO: result: yes" >&5
3171 echo "${ECHO_T}yes" >&6
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3181 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3183 # Check whether --enable-precomp or --disable-precomp was given.
3184 if test "${enable_precomp+set}" = set; then
3185 enableval="$enable_precomp"
3187 if test "$enableval" = yes; then
3188 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3190 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3195 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x ; then
3197 eval "DEFAULT_$LINE"
3202 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3206 eval "$ac_cv_use_precomp"
3207 if test "$no_cache" != 1; then
3208 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3211 if test "$wxUSE_PRECOMP" = yes; then
3212 echo "$as_me:$LINENO: result: yes" >&5
3213 echo "${ECHO_T}yes" >&6
3215 echo "$as_me:$LINENO: result: no" >&5
3216 echo "${ECHO_T}no" >&6
3220 if test "$wxUSE_DEBUG" = "yes"; then
3221 DEFAULT_wxUSE_DEBUG_FLAG=yes
3222 DEFAULT_wxUSE_DEBUG_INFO=yes
3223 elif test "$wxUSE_DEBUG" = "no"; then
3224 DEFAULT_wxUSE_DEBUG_FLAG=no
3225 DEFAULT_wxUSE_DEBUG_INFO=no
3230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3231 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3233 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3234 if test "${enable_debug_flag+set}" = set; then
3235 enableval="$enable_debug_flag"
3237 if test "$enableval" = yes; then
3238 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3240 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3245 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3256 eval "$ac_cv_use_debug_flag"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_DEBUG_FLAG" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3272 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3274 # Check whether --enable-debug_info or --disable-debug_info was given.
3275 if test "${enable_debug_info+set}" = set; then
3276 enableval="$enable_debug_info"
3278 if test "$enableval" = yes; then
3279 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3281 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3286 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x ; then
3288 eval "DEFAULT_$LINE"
3293 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3297 eval "$ac_cv_use_debug_info"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_DEBUG_INFO" = yes; then
3303 echo "$as_me:$LINENO: result: yes" >&5
3304 echo "${ECHO_T}yes" >&6
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3313 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3315 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3316 if test "${enable_debug_gdb+set}" = set; then
3317 enableval="$enable_debug_gdb"
3319 if test "$enableval" = yes; then
3320 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3322 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3327 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x ; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3338 eval "$ac_cv_use_debug_gdb"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_DEBUG_GDB" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3354 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3356 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3357 if test "${enable_debug_cntxt+set}" = set; then
3358 enableval="$enable_debug_cntxt"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3363 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3368 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x ; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3379 eval "$ac_cv_use_debug_cntxt"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3395 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3397 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3398 if test "${enable_mem_tracing+set}" = set; then
3399 enableval="$enable_mem_tracing"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3404 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3409 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3420 eval "$ac_cv_use_mem_tracing"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_MEM_TRACING" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3436 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3438 # Check whether --enable-profile or --disable-profile was given.
3439 if test "${enable_profile+set}" = set; then
3440 enableval="$enable_profile"
3442 if test "$enableval" = yes; then
3443 ac_cv_use_profile='wxUSE_PROFILE=yes'
3445 ac_cv_use_profile='wxUSE_PROFILE=no'
3450 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x ; then
3452 eval "DEFAULT_$LINE"
3457 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3461 eval "$ac_cv_use_profile"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_PROFILE" = yes; then
3467 echo "$as_me:$LINENO: result: yes" >&5
3468 echo "${ECHO_T}yes" >&6
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3479 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3480 if test "${enable_no_rtti+set}" = set; then
3481 enableval="$enable_no_rtti"
3483 if test "$enableval" = yes; then
3484 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3486 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3491 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x ; then
3493 eval "DEFAULT_$LINE"
3498 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3502 eval "$ac_cv_use_no_rtti"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3507 if test "$wxUSE_NO_RTTI" = yes; then
3508 echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3520 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3521 if test "${enable_no_exceptions+set}" = set; then
3522 enableval="$enable_no_exceptions"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3527 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3532 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3543 eval "$ac_cv_use_no_exceptions"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3561 # Check whether --enable-permissive or --disable-permissive was given.
3562 if test "${enable_permissive+set}" = set; then
3563 enableval="$enable_permissive"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3568 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3573 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3584 eval "$ac_cv_use_permissive"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_PERMISSIVE" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3600 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3602 # Check whether --enable-no_deps or --disable-no_deps was given.
3603 if test "${enable_no_deps+set}" = set; then
3604 enableval="$enable_no_deps"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3609 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3614 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3625 eval "$ac_cv_use_no_deps"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3630 if test "$wxUSE_NO_DEPS" = yes; then
3631 echo "$as_me:$LINENO: result: yes" >&5
3632 echo "${ECHO_T}yes" >&6
3634 echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3644 # Check whether --enable-compat20 or --disable-compat20 was given.
3645 if test "${enable_compat20+set}" = set; then
3646 enableval="$enable_compat20"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3651 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3656 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x ; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3667 eval "$ac_cv_use_compat20"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3672 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3685 # Check whether --enable-compat22 or --disable-compat22 was given.
3686 if test "${enable_compat22+set}" = set; then
3687 enableval="$enable_compat22"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3692 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3697 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x ; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3708 eval "$ac_cv_use_compat22"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3713 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3722 enablestring=disable
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3726 # Check whether --enable-compat24 or --disable-compat24 was given.
3727 if test "${enable_compat24+set}" = set; then
3728 enableval="$enable_compat24"
3730 if test "$enableval" = yes; then
3731 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3733 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3738 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3749 eval "$ac_cv_use_compat24"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3754 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3763 # Check whether --enable-rpath or --disable-rpath was given.
3764 if test "${enable_rpath+set}" = set; then
3765 enableval="$enable_rpath"
3766 wxRPATH_DIR="$enableval"
3769 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3770 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3778 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3780 # Check whether --enable-intl or --disable-intl was given.
3781 if test "${enable_intl+set}" = set; then
3782 enableval="$enable_intl"
3784 if test "$enableval" = yes; then
3785 ac_cv_use_intl='wxUSE_INTL=yes'
3787 ac_cv_use_intl='wxUSE_INTL=no'
3792 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x ; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3803 eval "$ac_cv_use_intl"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_INTL" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3819 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3821 # Check whether --enable-config or --disable-config was given.
3822 if test "${enable_config+set}" = set; then
3823 enableval="$enable_config"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_config='wxUSE_CONFIG=yes'
3828 ac_cv_use_config='wxUSE_CONFIG=no'
3833 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3844 eval "$ac_cv_use_config"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3849 if test "$wxUSE_CONFIG" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3861 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3863 # Check whether --enable-protocols or --disable-protocols was given.
3864 if test "${enable_protocols+set}" = set; then
3865 enableval="$enable_protocols"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3870 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3875 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x ; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3886 eval "$ac_cv_use_protocols"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3891 if test "$wxUSE_PROTOCOL" = yes; then
3892 echo "$as_me:$LINENO: result: yes" >&5
3893 echo "${ECHO_T}yes" >&6
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3902 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3904 # Check whether --enable-ftp or --disable-ftp was given.
3905 if test "${enable_ftp+set}" = set; then
3906 enableval="$enable_ftp"
3908 if test "$enableval" = yes; then
3909 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3911 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3916 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x ; then
3918 eval "DEFAULT_$LINE"
3923 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3927 eval "$ac_cv_use_ftp"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3933 echo "$as_me:$LINENO: result: yes" >&5
3934 echo "${ECHO_T}yes" >&6
3936 echo "$as_me:$LINENO: result: no" >&5
3937 echo "${ECHO_T}no" >&6
3942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3943 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3945 # Check whether --enable-http or --disable-http was given.
3946 if test "${enable_http+set}" = set; then
3947 enableval="$enable_http"
3949 if test "$enableval" = yes; then
3950 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3952 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3957 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3964 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3968 eval "$ac_cv_use_http"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3974 echo "$as_me:$LINENO: result: yes" >&5
3975 echo "${ECHO_T}yes" >&6
3977 echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6
3983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3984 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3986 # Check whether --enable-fileproto or --disable-fileproto was given.
3987 if test "${enable_fileproto+set}" = set; then
3988 enableval="$enable_fileproto"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3993 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3998 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x ; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4009 eval "$ac_cv_use_fileproto"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4014 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4015 echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6
4018 echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4027 # Check whether --enable-sockets or --disable-sockets was given.
4028 if test "${enable_sockets+set}" = set; then
4029 enableval="$enable_sockets"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4034 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4039 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4050 eval "$ac_cv_use_sockets"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4055 if test "$wxUSE_SOCKETS" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4068 # Check whether --enable-ole or --disable-ole was given.
4069 if test "${enable_ole+set}" = set; then
4070 enableval="$enable_ole"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_ole='wxUSE_OLE=yes'
4075 ac_cv_use_ole='wxUSE_OLE=no'
4080 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4091 eval "$ac_cv_use_ole"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_OLE" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4109 # Check whether --enable-dataobj or --disable-dataobj was given.
4110 if test "${enable_dataobj+set}" = set; then
4111 enableval="$enable_dataobj"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4116 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4121 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4132 eval "$ac_cv_use_dataobj"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_DATAOBJ" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4149 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4151 # Check whether --enable-ipc or --disable-ipc was given.
4152 if test "${enable_ipc+set}" = set; then
4153 enableval="$enable_ipc"
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ipc='wxUSE_IPC=yes'
4158 ac_cv_use_ipc='wxUSE_IPC=no'
4163 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x ; then
4165 eval "DEFAULT_$LINE"
4170 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4174 eval "$ac_cv_use_ipc"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_IPC" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4193 # Check whether --enable-cmdline or --disable-cmdline was given.
4194 if test "${enable_cmdline+set}" = set; then
4195 enableval="$enable_cmdline"
4197 if test "$enableval" = yes; then
4198 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4200 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4205 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x ; then
4207 eval "DEFAULT_$LINE"
4212 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4216 eval "$ac_cv_use_cmdline"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4234 # Check whether --enable-datetime or --disable-datetime was given.
4235 if test "${enable_datetime+set}" = set; then
4236 enableval="$enable_datetime"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4241 ac_cv_use_datetime='wxUSE_DATETIME=no'
4246 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x ; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4257 eval "$ac_cv_use_datetime"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4262 if test "$wxUSE_DATETIME" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4275 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4276 if test "${enable_stopwatch+set}" = set; then
4277 enableval="$enable_stopwatch"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4282 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4287 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4298 eval "$ac_cv_use_stopwatch"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_STOPWATCH" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4316 # Check whether --enable-dialupman or --disable-dialupman was given.
4317 if test "${enable_dialupman+set}" = set; then
4318 enableval="$enable_dialupman"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4323 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4328 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4339 eval "$ac_cv_use_dialupman"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4357 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4358 if test "${enable_apple_ieee+set}" = set; then
4359 enableval="$enable_apple_ieee"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4364 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4369 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4380 eval "$ac_cv_use_apple_ieee"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_APPLE_IEEE" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4398 # Check whether --enable-timer or --disable-timer was given.
4399 if test "${enable_timer+set}" = set; then
4400 enableval="$enable_timer"
4402 if test "$enableval" = yes; then
4403 ac_cv_use_timer='wxUSE_TIMER=yes'
4405 ac_cv_use_timer='wxUSE_TIMER=no'
4410 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x ; then
4412 eval "DEFAULT_$LINE"
4417 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4421 eval "$ac_cv_use_timer"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4426 if test "$wxUSE_TIMER" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6
4430 echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6
4436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4437 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4439 # Check whether --enable-wave or --disable-wave was given.
4440 if test "${enable_wave+set}" = set; then
4441 enableval="$enable_wave"
4443 if test "$enableval" = yes; then
4444 ac_cv_use_wave='wxUSE_WAVE=yes'
4446 ac_cv_use_wave='wxUSE_WAVE=no'
4451 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4458 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4462 eval "$ac_cv_use_wave"
4463 if test "$no_cache" != 1; then
4464 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4467 if test "$wxUSE_WAVE" = yes; then
4468 echo "$as_me:$LINENO: result: yes" >&5
4469 echo "${ECHO_T}yes" >&6
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4478 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4480 # Check whether --enable-fraction or --disable-fraction was given.
4481 if test "${enable_fraction+set}" = set; then
4482 enableval="$enable_fraction"
4484 if test "$enableval" = yes; then
4485 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4487 ac_cv_use_fraction='wxUSE_FRACTION=no'
4492 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x ; then
4494 eval "DEFAULT_$LINE"
4499 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4503 eval "$ac_cv_use_fraction"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_FRACTION" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510 echo "${ECHO_T}yes" >&6
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4519 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4521 # Check whether --enable-dynlib or --disable-dynlib was given.
4522 if test "${enable_dynlib+set}" = set; then
4523 enableval="$enable_dynlib"
4525 if test "$enableval" = yes; then
4526 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4528 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4533 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x ; then
4535 eval "DEFAULT_$LINE"
4540 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4544 eval "$ac_cv_use_dynlib"
4545 if test "$no_cache" != 1; then
4546 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4549 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4550 echo "$as_me:$LINENO: result: yes" >&5
4551 echo "${ECHO_T}yes" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4562 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4563 if test "${enable_dynamicloader+set}" = set; then
4564 enableval="$enable_dynamicloader"
4566 if test "$enableval" = yes; then
4567 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4569 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4574 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x ; then
4576 eval "DEFAULT_$LINE"
4581 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4585 eval "$ac_cv_use_dynamicloader"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4590 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4591 echo "$as_me:$LINENO: result: yes" >&5
4592 echo "${ECHO_T}yes" >&6
4594 echo "$as_me:$LINENO: result: no" >&5
4595 echo "${ECHO_T}no" >&6
4600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4603 # Check whether --enable-longlong or --disable-longlong was given.
4604 if test "${enable_longlong+set}" = set; then
4605 enableval="$enable_longlong"
4607 if test "$enableval" = yes; then
4608 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4610 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4615 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x ; then
4617 eval "DEFAULT_$LINE"
4622 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4626 eval "$ac_cv_use_longlong"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_LONGLONG" = yes; then
4632 echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4642 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4644 # Check whether --enable-geometry or --disable-geometry was given.
4645 if test "${enable_geometry+set}" = set; then
4646 enableval="$enable_geometry"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4651 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4656 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x ; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4667 eval "$ac_cv_use_geometry"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4672 if test "$wxUSE_GEOMETRY" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4685 # Check whether --enable-log or --disable-log was given.
4686 if test "${enable_log+set}" = set; then
4687 enableval="$enable_log"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_log='wxUSE_LOG=yes'
4692 ac_cv_use_log='wxUSE_LOG=no'
4697 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x ; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4708 eval "$ac_cv_use_log"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4713 if test "$wxUSE_LOG" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6
4717 echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4726 # Check whether --enable-streams or --disable-streams was given.
4727 if test "${enable_streams+set}" = set; then
4728 enableval="$enable_streams"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_streams='wxUSE_STREAMS=yes'
4733 ac_cv_use_streams='wxUSE_STREAMS=no'
4738 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4749 eval "$ac_cv_use_streams"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_STREAMS" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4767 # Check whether --enable-file or --disable-file was given.
4768 if test "${enable_file+set}" = set; then
4769 enableval="$enable_file"
4771 if test "$enableval" = yes; then
4772 ac_cv_use_file='wxUSE_FILE=yes'
4774 ac_cv_use_file='wxUSE_FILE=no'
4779 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x ; then
4781 eval "DEFAULT_$LINE"
4786 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4790 eval "$ac_cv_use_file"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_FILE" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4808 # Check whether --enable-ffile or --disable-ffile was given.
4809 if test "${enable_ffile+set}" = set; then
4810 enableval="$enable_ffile"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_ffile='wxUSE_FFILE=yes'
4815 ac_cv_use_ffile='wxUSE_FFILE=no'
4820 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x ; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4831 eval "$ac_cv_use_ffile"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_FFILE" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4849 # Check whether --enable-textbuf or --disable-textbuf was given.
4850 if test "${enable_textbuf+set}" = set; then
4851 enableval="$enable_textbuf"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4856 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4861 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4872 eval "$ac_cv_use_textbuf"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_TEXTBUFFER" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4890 # Check whether --enable-textfile or --disable-textfile was given.
4891 if test "${enable_textfile+set}" = set; then
4892 enableval="$enable_textfile"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4897 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4902 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x ; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4913 eval "$ac_cv_use_textfile"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_TEXTFILE" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4931 # Check whether --enable-fontmap or --disable-fontmap was given.
4932 if test "${enable_fontmap+set}" = set; then
4933 enableval="$enable_fontmap"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4938 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4943 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x ; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4954 eval "$ac_cv_use_fontmap"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_FONTMAP" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4972 # Check whether --enable-unicode or --disable-unicode was given.
4973 if test "${enable_unicode+set}" = set; then
4974 enableval="$enable_unicode"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4979 ac_cv_use_unicode='wxUSE_UNICODE=no'
4984 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4995 eval "$ac_cv_use_unicode"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_UNICODE" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5013 # Check whether --enable-mslu or --disable-mslu was given.
5014 if test "${enable_mslu+set}" = set; then
5015 enableval="$enable_mslu"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5020 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5025 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5036 eval "$ac_cv_use_mslu"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_UNICODE_MSLU" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5054 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5055 if test "${enable_wxprintfv+set}" = set; then
5056 enableval="$enable_wxprintfv"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5061 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5066 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5077 eval "$ac_cv_use_wxprintfv"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5095 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5096 if test "${enable_std_iostreams+set}" = set; then
5097 enableval="$enable_std_iostreams"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5102 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5107 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5118 eval "$ac_cv_use_std_iostreams"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_STD_IOSTREAM" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5136 # Check whether --enable-filesystem or --disable-filesystem was given.
5137 if test "${enable_filesystem+set}" = set; then
5138 enableval="$enable_filesystem"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5143 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5148 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5159 eval "$ac_cv_use_filesystem"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_FILESYSTEM" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5177 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5178 if test "${enable_fs_inet+set}" = set; then
5179 enableval="$enable_fs_inet"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5184 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5189 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5200 eval "$ac_cv_use_fs_inet"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_FS_INET" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5218 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5219 if test "${enable_fs_zip+set}" = set; then
5220 enableval="$enable_fs_zip"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5225 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5230 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5241 eval "$ac_cv_use_fs_zip"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_FS_ZIP" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5259 # Check whether --enable-zipstream or --disable-zipstream was given.
5260 if test "${enable_zipstream+set}" = set; then
5261 enableval="$enable_zipstream"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5266 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5271 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5282 eval "$ac_cv_use_zipstream"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_ZIPSTREAM" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5301 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5302 if test "${enable_catch_segvs+set}" = set; then
5303 enableval="$enable_catch_segvs"
5305 if test "$enableval" = yes; then
5306 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5308 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5313 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5324 eval "$ac_cv_use_catch_segvs"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5342 # Check whether --enable-snglinst or --disable-snglinst was given.
5343 if test "${enable_snglinst+set}" = set; then
5344 enableval="$enable_snglinst"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5349 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5354 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5365 eval "$ac_cv_use_snglinst"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5384 # Check whether --enable-mimetype or --disable-mimetype was given.
5385 if test "${enable_mimetype+set}" = set; then
5386 enableval="$enable_mimetype"
5388 if test "$enableval" = yes; then
5389 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5391 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5396 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x ; then
5398 eval "DEFAULT_$LINE"
5403 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5407 eval "$ac_cv_use_mimetype"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5412 if test "$wxUSE_MIMETYPE" = yes; then
5413 echo "$as_me:$LINENO: result: yes" >&5
5414 echo "${ECHO_T}yes" >&6
5416 echo "$as_me:$LINENO: result: no" >&5
5417 echo "${ECHO_T}no" >&6
5422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5425 # Check whether --enable-system_options or --disable-system_options was given.
5426 if test "${enable_system_options+set}" = set; then
5427 enableval="$enable_system_options"
5429 if test "$enableval" = yes; then
5430 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5432 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5437 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x ; then
5439 eval "DEFAULT_$LINE"
5444 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5448 eval "$ac_cv_use_system_options"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5453 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5454 echo "$as_me:$LINENO: result: yes" >&5
5455 echo "${ECHO_T}yes" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5467 # Check whether --enable-url or --disable-url was given.
5468 if test "${enable_url+set}" = set; then
5469 enableval="$enable_url"
5471 if test "$enableval" = yes; then
5472 ac_cv_use_url='wxUSE_URL=yes'
5474 ac_cv_use_url='wxUSE_URL=no'
5479 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x ; then
5481 eval "DEFAULT_$LINE"
5486 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5490 eval "$ac_cv_use_url"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5495 if test "$wxUSE_URL" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5508 # Check whether --enable-protocol or --disable-protocol was given.
5509 if test "${enable_protocol+set}" = set; then
5510 enableval="$enable_protocol"
5512 if test "$enableval" = yes; then
5513 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5515 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5520 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x ; then
5522 eval "DEFAULT_$LINE"
5527 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5531 eval "$ac_cv_use_protocol"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5536 if test "$wxUSE_PROTOCOL" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5549 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5550 if test "${enable_protocol_http+set}" = set; then
5551 enableval="$enable_protocol_http"
5553 if test "$enableval" = yes; then
5554 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5556 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5561 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5568 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5572 eval "$ac_cv_use_protocol_http"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5590 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5591 if test "${enable_protocol_ftp+set}" = set; then
5592 enableval="$enable_protocol_ftp"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5597 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5602 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5613 eval "$ac_cv_use_protocol_ftp"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5618 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5631 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5632 if test "${enable_protocol_file+set}" = set; then
5633 enableval="$enable_protocol_file"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5638 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5643 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5654 eval "$ac_cv_use_protocol_file"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5659 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5675 # Check whether --enable-threads or --disable-threads was given.
5676 if test "${enable_threads+set}" = set; then
5677 enableval="$enable_threads"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_threads='wxUSE_THREADS=yes'
5682 ac_cv_use_threads='wxUSE_THREADS=no'
5687 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x ; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5698 eval "$ac_cv_use_threads"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5703 if test "$wxUSE_THREADS" = 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
5712 if test "$wxUSE_GUI" = "yes"; then
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5720 # Check whether --enable-docview or --disable-docview was given.
5721 if test "${enable_docview+set}" = set; then
5722 enableval="$enable_docview"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5727 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5732 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5743 eval "$ac_cv_use_docview"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5761 # Check whether --enable-help or --disable-help was given.
5762 if test "${enable_help+set}" = set; then
5763 enableval="$enable_help"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_help='wxUSE_HELP=yes'
5768 ac_cv_use_help='wxUSE_HELP=no'
5773 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5784 eval "$ac_cv_use_help"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_HELP" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5802 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5803 if test "${enable_mshtmlhelp+set}" = set; then
5804 enableval="$enable_mshtmlhelp"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5809 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5814 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5825 eval "$ac_cv_use_mshtmlhelp"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_MS_HTML_HELP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5843 # Check whether --enable-html or --disable-html was given.
5844 if test "${enable_html+set}" = set; then
5845 enableval="$enable_html"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_html='wxUSE_HTML=yes'
5850 ac_cv_use_html='wxUSE_HTML=no'
5855 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5866 eval "$ac_cv_use_html"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_HTML" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5884 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5885 if test "${enable_htmlhelp+set}" = set; then
5886 enableval="$enable_htmlhelp"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5891 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5896 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5907 eval "$ac_cv_use_htmlhelp"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_WXHTML_HELP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5925 # Check whether --enable-constraints or --disable-constraints was given.
5926 if test "${enable_constraints+set}" = set; then
5927 enableval="$enable_constraints"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5932 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5937 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5948 eval "$ac_cv_use_constraints"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_CONSTRAINTS" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5966 # Check whether --enable-printarch or --disable-printarch was given.
5967 if test "${enable_printarch+set}" = set; then
5968 enableval="$enable_printarch"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5973 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5978 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5989 eval "$ac_cv_use_printarch"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6007 # Check whether --enable-mdi or --disable-mdi was given.
6008 if test "${enable_mdi+set}" = set; then
6009 enableval="$enable_mdi"
6011 if test "$enableval" = yes; then
6012 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6014 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6019 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6026 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6030 eval "$ac_cv_use_mdi"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6
6039 echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6048 # Check whether --enable-loggui or --disable-loggui was given.
6049 if test "${enable_loggui+set}" = set; then
6050 enableval="$enable_loggui"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6055 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6060 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6071 eval "$ac_cv_use_loggui"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_LOGGUI" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6089 # Check whether --enable-logwin or --disable-logwin was given.
6090 if test "${enable_logwin+set}" = set; then
6091 enableval="$enable_logwin"
6093 if test "$enableval" = yes; then
6094 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6096 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6101 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6112 eval "$ac_cv_use_logwin"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_LOGWINDOW" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6130 # Check whether --enable-logdialog or --disable-logdialog was given.
6131 if test "${enable_logdialog+set}" = set; then
6132 enableval="$enable_logdialog"
6134 if test "$enableval" = yes; then
6135 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6137 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6142 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6153 eval "$ac_cv_use_logdialog"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_LOGDIALOG" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6172 # Check whether --enable-postscript or --disable-postscript was given.
6173 if test "${enable_postscript+set}" = set; then
6174 enableval="$enable_postscript"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6179 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6184 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6195 eval "$ac_cv_use_postscript"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_POSTSCRIPT" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6216 # Check whether --enable-prologio or --disable-prologio was given.
6217 if test "${enable_prologio+set}" = set; then
6218 enableval="$enable_prologio"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6223 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6228 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x ; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6239 eval "$ac_cv_use_prologio"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6244 if test "$wxUSE_PROLOGIO" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6257 # Check whether --enable-resources or --disable-resources was given.
6258 if test "${enable_resources+set}" = set; then
6259 enableval="$enable_resources"
6261 if test "$enableval" = yes; then
6262 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6264 ac_cv_use_resources='wxUSE_RESOURCES=no'
6269 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x ; then
6271 eval "DEFAULT_$LINE"
6276 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6280 eval "$ac_cv_use_resources"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_RESOURCES" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6300 # Check whether --enable-clipboard or --disable-clipboard was given.
6301 if test "${enable_clipboard+set}" = set; then
6302 enableval="$enable_clipboard"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6307 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6312 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6323 eval "$ac_cv_use_clipboard"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_CLIPBOARD" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6341 # Check whether --enable-dnd or --disable-dnd was given.
6342 if test "${enable_dnd+set}" = set; then
6343 enableval="$enable_dnd"
6345 if test "$enableval" = yes; then
6346 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6348 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6353 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6364 eval "$ac_cv_use_dnd"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6369 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6370 echo "$as_me:$LINENO: result: yes" >&5
6371 echo "${ECHO_T}yes" >&6
6373 echo "$as_me:$LINENO: result: no" >&5
6374 echo "${ECHO_T}no" >&6
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6382 # Check whether --enable-metafile or --disable-metafile was given.
6383 if test "${enable_metafile+set}" = set; then
6384 enableval="$enable_metafile"
6386 if test "$enableval" = yes; then
6387 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6389 ac_cv_use_metafile='wxUSE_METAFILE=no'
6394 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6401 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6405 eval "$ac_cv_use_metafile"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6410 if test "$wxUSE_METAFILE" = yes; then
6411 echo "$as_me:$LINENO: result: yes" >&5
6412 echo "${ECHO_T}yes" >&6
6414 echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6
6423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6424 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6426 # Check whether --enable-controls or --disable-controls was given.
6427 if test "${enable_controls+set}" = set; then
6428 enableval="$enable_controls"
6430 if test "$enableval" = yes; then
6431 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6433 ac_cv_use_controls='wxUSE_CONTROLS=no'
6438 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6439 if test "x$LINE" != x ; then
6440 eval "DEFAULT_$LINE"
6445 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6449 eval "$ac_cv_use_controls"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6454 if test "$wxUSE_CONTROLS" = yes; then
6455 echo "$as_me:$LINENO: result: yes" >&5
6456 echo "${ECHO_T}yes" >&6
6458 echo "$as_me:$LINENO: result: no" >&5
6459 echo "${ECHO_T}no" >&6
6463 if test "$wxUSE_CONTROLS" = "yes"; then
6464 DEFAULT_wxUSE_ACCEL=yes
6465 DEFAULT_wxUSE_BMPBUTTON=yes
6466 DEFAULT_wxUSE_BUTTON=yes
6467 DEFAULT_wxUSE_CALCTRL=no
6468 DEFAULT_wxUSE_CARET=yes
6469 DEFAULT_wxUSE_COMBOBOX=yes
6470 DEFAULT_wxUSE_CHECKBOX=yes
6471 DEFAULT_wxUSE_CHECKLISTBOX=yes
6472 DEFAULT_wxUSE_CHOICE=yes
6473 DEFAULT_wxUSE_GAUGE=yes
6474 DEFAULT_wxUSE_GRID=yes
6475 DEFAULT_wxUSE_IMAGLIST=yes
6476 DEFAULT_wxUSE_LISTBOX=yes
6477 DEFAULT_wxUSE_LISTCTRL=yes
6478 DEFAULT_wxUSE_NOTEBOOK=yes
6479 DEFAULT_wxUSE_RADIOBOX=yes
6480 DEFAULT_wxUSE_RADIOBTN=yes
6481 DEFAULT_wxUSE_SASH=yes
6482 DEFAULT_wxUSE_SCROLLBAR=yes
6483 DEFAULT_wxUSE_SLIDER=yes
6484 DEFAULT_wxUSE_SPINBTN=yes
6485 DEFAULT_wxUSE_SPINCTRL=yes
6486 DEFAULT_wxUSE_SPLITTER=yes
6487 DEFAULT_wxUSE_STATBMP=yes
6488 DEFAULT_wxUSE_STATBOX=yes
6489 DEFAULT_wxUSE_STATLINE=yes
6490 DEFAULT_wxUSE_STATUSBAR=yes
6491 DEFAULT_wxUSE_TAB_DIALOG=yes
6492 DEFAULT_wxUSE_TOGGLEBTN=yes
6493 DEFAULT_wxUSE_TOOLBAR=yes
6494 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6495 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6496 DEFAULT_wxUSE_TOOLTIPS=yes
6497 DEFAULT_wxUSE_TREECTRL=yes
6498 DEFAULT_wxUSE_POPUPWIN=yes
6499 DEFAULT_wxUSE_TIPWINDOW=yes
6500 elif test "$wxUSE_CONTROLS" = "no"; then
6501 DEFAULT_wxUSE_ACCEL=no
6502 DEFAULT_wxUSE_BMPBUTTON=no
6503 DEFAULT_wxUSE_BUTTON=no
6504 DEFAULT_wxUSE_CALCTRL=no
6505 DEFAULT_wxUSE_CARET=no
6506 DEFAULT_wxUSE_COMBOBOX=no
6507 DEFAULT_wxUSE_CHECKBOX=no
6508 DEFAULT_wxUSE_CHECKLISTBOX=no
6509 DEFAULT_wxUSE_CHOICE=no
6510 DEFAULT_wxUSE_GAUGE=no
6511 DEFAULT_wxUSE_GRID=no
6512 DEFAULT_wxUSE_IMAGLIST=no
6513 DEFAULT_wxUSE_LISTBOX=no
6514 DEFAULT_wxUSE_LISTCTRL=no
6515 DEFAULT_wxUSE_NOTEBOOK=no
6516 DEFAULT_wxUSE_RADIOBOX=no
6517 DEFAULT_wxUSE_RADIOBTN=no
6518 DEFAULT_wxUSE_SASH=no
6519 DEFAULT_wxUSE_SCROLLBAR=no
6520 DEFAULT_wxUSE_SLIDER=no
6521 DEFAULT_wxUSE_SPINBTN=no
6522 DEFAULT_wxUSE_SPINCTRL=no
6523 DEFAULT_wxUSE_SPLITTER=no
6524 DEFAULT_wxUSE_STATBMP=no
6525 DEFAULT_wxUSE_STATBOX=no
6526 DEFAULT_wxUSE_STATLINE=no
6527 DEFAULT_wxUSE_STATUSBAR=no
6528 DEFAULT_wxUSE_TAB_DIALOG=no
6529 DEFAULT_wxUSE_TOGGLEBTN=no
6530 DEFAULT_wxUSE_TOOLBAR=no
6531 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6532 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6533 DEFAULT_wxUSE_TOOLTIPS=no
6534 DEFAULT_wxUSE_TREECTRL=no
6535 DEFAULT_wxUSE_POPUPWIN=no
6536 DEFAULT_wxUSE_TIPWINDOW=no
6539 ## FIXME: This is a blatant hack
6540 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6541 wxUSE_PRINTING_ARCHITECTURE=no
6544 wxUSE_DRAG_AND_DROP=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6549 DEFAULT_wxUSE_GAUGE=no
6550 DEFAULT_wxUSE_SCROLLBAR=no
6551 DEFAULT_wxUSE_COMBOBOX=no
6552 DEFAULT_wxUSE_CALCTRL=no
6553 DEFAULT_wxUSE_SPINBTN=no
6554 DEFAULT_wxUSE_SPINCTRL=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6557 DEFAULT_wxUSE_FINDREPLDLG=no
6558 DEFAULT_wxUSE_FONTDLG=no
6559 DEFAULT_wxUSE_GRID=no
6560 DEFAULT_wxUSE_NUMBERDLG=no
6561 DEFAULT_wxUSE_PROGRESSDLG=no
6562 DEFAULT_wxUSE_SASH=no
6563 DEFAULT_wxUSE_SPLITTER=no
6564 DEFAULT_wxUSE_WIZARDDLG=no
6565 DEFAULT_wxUSE_SPLITTER=no
6566 DEFAULT_wxUSE_STARTUP_TIPS=no
6571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6572 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6574 # Check whether --enable-accel or --disable-accel was given.
6575 if test "${enable_accel+set}" = set; then
6576 enableval="$enable_accel"
6578 if test "$enableval" = yes; then
6579 ac_cv_use_accel='wxUSE_ACCEL=yes'
6581 ac_cv_use_accel='wxUSE_ACCEL=no'
6586 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6587 if test "x$LINE" != x ; then
6588 eval "DEFAULT_$LINE"
6593 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6597 eval "$ac_cv_use_accel"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6602 if test "$wxUSE_ACCEL" = yes; then
6603 echo "$as_me:$LINENO: result: yes" >&5
6604 echo "${ECHO_T}yes" >&6
6606 echo "$as_me:$LINENO: result: no" >&5
6607 echo "${ECHO_T}no" >&6
6612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6613 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6615 # Check whether --enable-button or --disable-button was given.
6616 if test "${enable_button+set}" = set; then
6617 enableval="$enable_button"
6619 if test "$enableval" = yes; then
6620 ac_cv_use_button='wxUSE_BUTTON=yes'
6622 ac_cv_use_button='wxUSE_BUTTON=no'
6627 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x ; then
6629 eval "DEFAULT_$LINE"
6634 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6638 eval "$ac_cv_use_button"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_BUTTON" = yes; then
6644 echo "$as_me:$LINENO: result: yes" >&5
6645 echo "${ECHO_T}yes" >&6
6647 echo "$as_me:$LINENO: result: no" >&5
6648 echo "${ECHO_T}no" >&6
6653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6656 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6657 if test "${enable_bmpbutton+set}" = set; then
6658 enableval="$enable_bmpbutton"
6660 if test "$enableval" = yes; then
6661 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6663 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6668 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x ; then
6670 eval "DEFAULT_$LINE"
6675 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6679 eval "$ac_cv_use_bmpbutton"
6680 if test "$no_cache" != 1; then
6681 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6684 if test "$wxUSE_BMPBUTTON" = yes; then
6685 echo "$as_me:$LINENO: result: yes" >&5
6686 echo "${ECHO_T}yes" >&6
6688 echo "$as_me:$LINENO: result: no" >&5
6689 echo "${ECHO_T}no" >&6
6694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6697 # Check whether --enable-calendar or --disable-calendar was given.
6698 if test "${enable_calendar+set}" = set; then
6699 enableval="$enable_calendar"
6701 if test "$enableval" = yes; then
6702 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6704 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6709 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x ; then
6711 eval "DEFAULT_$LINE"
6716 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6720 eval "$ac_cv_use_calendar"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_CALCTRL" = yes; then
6726 echo "$as_me:$LINENO: result: yes" >&5
6727 echo "${ECHO_T}yes" >&6
6729 echo "$as_me:$LINENO: result: no" >&5
6730 echo "${ECHO_T}no" >&6
6735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6738 # Check whether --enable-caret or --disable-caret was given.
6739 if test "${enable_caret+set}" = set; then
6740 enableval="$enable_caret"
6742 if test "$enableval" = yes; then
6743 ac_cv_use_caret='wxUSE_CARET=yes'
6745 ac_cv_use_caret='wxUSE_CARET=no'
6750 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6751 if test "x$LINE" != x ; then
6752 eval "DEFAULT_$LINE"
6757 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6761 eval "$ac_cv_use_caret"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6766 if test "$wxUSE_CARET" = yes; then
6767 echo "$as_me:$LINENO: result: yes" >&5
6768 echo "${ECHO_T}yes" >&6
6770 echo "$as_me:$LINENO: result: no" >&5
6771 echo "${ECHO_T}no" >&6
6776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6779 # Check whether --enable-checkbox or --disable-checkbox was given.
6780 if test "${enable_checkbox+set}" = set; then
6781 enableval="$enable_checkbox"
6783 if test "$enableval" = yes; then
6784 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6786 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6791 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x ; then
6793 eval "DEFAULT_$LINE"
6798 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6802 eval "$ac_cv_use_checkbox"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6807 if test "$wxUSE_CHECKBOX" = yes; then
6808 echo "$as_me:$LINENO: result: yes" >&5
6809 echo "${ECHO_T}yes" >&6
6811 echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6
6817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6820 # Check whether --enable-checklst or --disable-checklst was given.
6821 if test "${enable_checklst+set}" = set; then
6822 enableval="$enable_checklst"
6824 if test "$enableval" = yes; then
6825 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6827 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6832 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6833 if test "x$LINE" != x ; then
6834 eval "DEFAULT_$LINE"
6839 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6843 eval "$ac_cv_use_checklst"
6844 if test "$no_cache" != 1; then
6845 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6848 if test "$wxUSE_CHECKLST" = yes; then
6849 echo "$as_me:$LINENO: result: yes" >&5
6850 echo "${ECHO_T}yes" >&6
6852 echo "$as_me:$LINENO: result: no" >&5
6853 echo "${ECHO_T}no" >&6
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6861 # Check whether --enable-choice or --disable-choice was given.
6862 if test "${enable_choice+set}" = set; then
6863 enableval="$enable_choice"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_choice='wxUSE_CHOICE=yes'
6868 ac_cv_use_choice='wxUSE_CHOICE=no'
6873 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6884 eval "$ac_cv_use_choice"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_CHOICE" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6900 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6902 # Check whether --enable-combobox or --disable-combobox was given.
6903 if test "${enable_combobox+set}" = set; then
6904 enableval="$enable_combobox"
6906 if test "$enableval" = yes; then
6907 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6909 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6914 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x ; then
6916 eval "DEFAULT_$LINE"
6921 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6925 eval "$ac_cv_use_combobox"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6930 if test "$wxUSE_COMBOBOX" = yes; then
6931 echo "$as_me:$LINENO: result: yes" >&5
6932 echo "${ECHO_T}yes" >&6
6934 echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6
6940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6941 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6943 # Check whether --enable-display or --disable-display was given.
6944 if test "${enable_display+set}" = set; then
6945 enableval="$enable_display"
6947 if test "$enableval" = yes; then
6948 ac_cv_use_display='wxUSE_DISPLAY=yes'
6950 ac_cv_use_display='wxUSE_DISPLAY=no'
6955 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x ; then
6957 eval "DEFAULT_$LINE"
6962 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6966 eval "$ac_cv_use_display"
6967 if test "$no_cache" != 1; then
6968 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6971 if test "$wxUSE_DISPLAY" = yes; then
6972 echo "$as_me:$LINENO: result: yes" >&5
6973 echo "${ECHO_T}yes" >&6
6975 echo "$as_me:$LINENO: result: no" >&5
6976 echo "${ECHO_T}no" >&6
6981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6982 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6984 # Check whether --enable-gauge or --disable-gauge was given.
6985 if test "${enable_gauge+set}" = set; then
6986 enableval="$enable_gauge"
6988 if test "$enableval" = yes; then
6989 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6991 ac_cv_use_gauge='wxUSE_GAUGE=no'
6996 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x ; then
6998 eval "DEFAULT_$LINE"
7003 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7007 eval "$ac_cv_use_gauge"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7012 if test "$wxUSE_GAUGE" = yes; then
7013 echo "$as_me:$LINENO: result: yes" >&5
7014 echo "${ECHO_T}yes" >&6
7016 echo "$as_me:$LINENO: result: no" >&5
7017 echo "${ECHO_T}no" >&6
7022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7025 # Check whether --enable-grid or --disable-grid was given.
7026 if test "${enable_grid+set}" = set; then
7027 enableval="$enable_grid"
7029 if test "$enableval" = yes; then
7030 ac_cv_use_grid='wxUSE_GRID=yes'
7032 ac_cv_use_grid='wxUSE_GRID=no'
7037 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7038 if test "x$LINE" != x ; then
7039 eval "DEFAULT_$LINE"
7044 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7048 eval "$ac_cv_use_grid"
7049 if test "$no_cache" != 1; then
7050 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7053 if test "$wxUSE_GRID" = yes; then
7054 echo "$as_me:$LINENO: result: yes" >&5
7055 echo "${ECHO_T}yes" >&6
7057 echo "$as_me:$LINENO: result: no" >&5
7058 echo "${ECHO_T}no" >&6
7063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7066 # Check whether --enable-imaglist or --disable-imaglist was given.
7067 if test "${enable_imaglist+set}" = set; then
7068 enableval="$enable_imaglist"
7070 if test "$enableval" = yes; then
7071 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7073 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7078 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7079 if test "x$LINE" != x ; then
7080 eval "DEFAULT_$LINE"
7085 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7089 eval "$ac_cv_use_imaglist"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7094 if test "$wxUSE_IMAGLIST" = yes; then
7095 echo "$as_me:$LINENO: result: yes" >&5
7096 echo "${ECHO_T}yes" >&6
7098 echo "$as_me:$LINENO: result: no" >&5
7099 echo "${ECHO_T}no" >&6
7104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7105 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7107 # Check whether --enable-listbox or --disable-listbox was given.
7108 if test "${enable_listbox+set}" = set; then
7109 enableval="$enable_listbox"
7111 if test "$enableval" = yes; then
7112 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7114 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7119 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7120 if test "x$LINE" != x ; then
7121 eval "DEFAULT_$LINE"
7126 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7130 eval "$ac_cv_use_listbox"
7131 if test "$no_cache" != 1; then
7132 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7135 if test "$wxUSE_LISTBOX" = yes; then
7136 echo "$as_me:$LINENO: result: yes" >&5
7137 echo "${ECHO_T}yes" >&6
7139 echo "$as_me:$LINENO: result: no" >&5
7140 echo "${ECHO_T}no" >&6
7145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7146 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7148 # Check whether --enable-listctrl or --disable-listctrl was given.
7149 if test "${enable_listctrl+set}" = set; then
7150 enableval="$enable_listctrl"
7152 if test "$enableval" = yes; then
7153 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7155 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7160 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7161 if test "x$LINE" != x ; then
7162 eval "DEFAULT_$LINE"
7167 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7171 eval "$ac_cv_use_listctrl"
7172 if test "$no_cache" != 1; then
7173 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7176 if test "$wxUSE_LISTCTRL" = yes; then
7177 echo "$as_me:$LINENO: result: yes" >&5
7178 echo "${ECHO_T}yes" >&6
7180 echo "$as_me:$LINENO: result: no" >&5
7181 echo "${ECHO_T}no" >&6
7186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7187 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7189 # Check whether --enable-notebook or --disable-notebook was given.
7190 if test "${enable_notebook+set}" = set; then
7191 enableval="$enable_notebook"
7193 if test "$enableval" = yes; then
7194 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7196 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7201 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7208 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7212 eval "$ac_cv_use_notebook"
7213 if test "$no_cache" != 1; then
7214 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7217 if test "$wxUSE_NOTEBOOK" = yes; then
7218 echo "$as_me:$LINENO: result: yes" >&5
7219 echo "${ECHO_T}yes" >&6
7221 echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6
7227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7228 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7230 # Check whether --enable-radiobox or --disable-radiobox was given.
7231 if test "${enable_radiobox+set}" = set; then
7232 enableval="$enable_radiobox"
7234 if test "$enableval" = yes; then
7235 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7237 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7242 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7243 if test "x$LINE" != x ; then
7244 eval "DEFAULT_$LINE"
7249 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7253 eval "$ac_cv_use_radiobox"
7254 if test "$no_cache" != 1; then
7255 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7258 if test "$wxUSE_RADIOBOX" = yes; then
7259 echo "$as_me:$LINENO: result: yes" >&5
7260 echo "${ECHO_T}yes" >&6
7262 echo "$as_me:$LINENO: result: no" >&5
7263 echo "${ECHO_T}no" >&6
7268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7269 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7271 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7272 if test "${enable_radiobtn+set}" = set; then
7273 enableval="$enable_radiobtn"
7275 if test "$enableval" = yes; then
7276 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7278 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7283 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7284 if test "x$LINE" != x ; then
7285 eval "DEFAULT_$LINE"
7290 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7294 eval "$ac_cv_use_radiobtn"
7295 if test "$no_cache" != 1; then
7296 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7299 if test "$wxUSE_RADIOBTN" = yes; then
7300 echo "$as_me:$LINENO: result: yes" >&5
7301 echo "${ECHO_T}yes" >&6
7303 echo "$as_me:$LINENO: result: no" >&5
7304 echo "${ECHO_T}no" >&6
7309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7312 # Check whether --enable-sash or --disable-sash was given.
7313 if test "${enable_sash+set}" = set; then
7314 enableval="$enable_sash"
7316 if test "$enableval" = yes; then
7317 ac_cv_use_sash='wxUSE_SASH=yes'
7319 ac_cv_use_sash='wxUSE_SASH=no'
7324 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7331 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7335 eval "$ac_cv_use_sash"
7336 if test "$no_cache" != 1; then
7337 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7340 if test "$wxUSE_SASH" = yes; then
7341 echo "$as_me:$LINENO: result: yes" >&5
7342 echo "${ECHO_T}yes" >&6
7344 echo "$as_me:$LINENO: result: no" >&5
7345 echo "${ECHO_T}no" >&6
7350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7351 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7353 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7354 if test "${enable_scrollbar+set}" = set; then
7355 enableval="$enable_scrollbar"
7357 if test "$enableval" = yes; then
7358 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7360 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7365 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7366 if test "x$LINE" != x ; then
7367 eval "DEFAULT_$LINE"
7372 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7376 eval "$ac_cv_use_scrollbar"
7377 if test "$no_cache" != 1; then
7378 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7381 if test "$wxUSE_SCROLLBAR" = yes; then
7382 echo "$as_me:$LINENO: result: yes" >&5
7383 echo "${ECHO_T}yes" >&6
7385 echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6
7391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7394 # Check whether --enable-slider or --disable-slider was given.
7395 if test "${enable_slider+set}" = set; then
7396 enableval="$enable_slider"
7398 if test "$enableval" = yes; then
7399 ac_cv_use_slider='wxUSE_SLIDER=yes'
7401 ac_cv_use_slider='wxUSE_SLIDER=no'
7406 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7407 if test "x$LINE" != x ; then
7408 eval "DEFAULT_$LINE"
7413 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7417 eval "$ac_cv_use_slider"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_SLIDER" = yes; then
7423 echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6
7426 echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6
7432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7435 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7436 if test "${enable_spinbtn+set}" = set; then
7437 enableval="$enable_spinbtn"
7439 if test "$enableval" = yes; then
7440 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7442 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7447 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x ; then
7449 eval "DEFAULT_$LINE"
7454 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7458 eval "$ac_cv_use_spinbtn"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7463 if test "$wxUSE_SPINBTN" = yes; then
7464 echo "$as_me:$LINENO: result: yes" >&5
7465 echo "${ECHO_T}yes" >&6
7467 echo "$as_me:$LINENO: result: no" >&5
7468 echo "${ECHO_T}no" >&6
7473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7476 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7477 if test "${enable_spinctrl+set}" = set; then
7478 enableval="$enable_spinctrl"
7480 if test "$enableval" = yes; then
7481 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7483 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7488 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7489 if test "x$LINE" != x ; then
7490 eval "DEFAULT_$LINE"
7495 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7499 eval "$ac_cv_use_spinctrl"
7500 if test "$no_cache" != 1; then
7501 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7504 if test "$wxUSE_SPINCTRL" = yes; then
7505 echo "$as_me:$LINENO: result: yes" >&5
7506 echo "${ECHO_T}yes" >&6
7508 echo "$as_me:$LINENO: result: no" >&5
7509 echo "${ECHO_T}no" >&6
7514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7515 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7517 # Check whether --enable-splitter or --disable-splitter was given.
7518 if test "${enable_splitter+set}" = set; then
7519 enableval="$enable_splitter"
7521 if test "$enableval" = yes; then
7522 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7524 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7529 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x ; then
7531 eval "DEFAULT_$LINE"
7536 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7540 eval "$ac_cv_use_splitter"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7545 if test "$wxUSE_SPLITTER" = yes; then
7546 echo "$as_me:$LINENO: result: yes" >&5
7547 echo "${ECHO_T}yes" >&6
7549 echo "$as_me:$LINENO: result: no" >&5
7550 echo "${ECHO_T}no" >&6
7555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7558 # Check whether --enable-statbmp or --disable-statbmp was given.
7559 if test "${enable_statbmp+set}" = set; then
7560 enableval="$enable_statbmp"
7562 if test "$enableval" = yes; then
7563 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7565 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7570 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7571 if test "x$LINE" != x ; then
7572 eval "DEFAULT_$LINE"
7577 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7581 eval "$ac_cv_use_statbmp"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7586 if test "$wxUSE_STATBMP" = yes; then
7587 echo "$as_me:$LINENO: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6
7590 echo "$as_me:$LINENO: result: no" >&5
7591 echo "${ECHO_T}no" >&6
7596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7597 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7599 # Check whether --enable-statbox or --disable-statbox was given.
7600 if test "${enable_statbox+set}" = set; then
7601 enableval="$enable_statbox"
7603 if test "$enableval" = yes; then
7604 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7606 ac_cv_use_statbox='wxUSE_STATBOX=no'
7611 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7612 if test "x$LINE" != x ; then
7613 eval "DEFAULT_$LINE"
7618 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7622 eval "$ac_cv_use_statbox"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7627 if test "$wxUSE_STATBOX" = yes; then
7628 echo "$as_me:$LINENO: result: yes" >&5
7629 echo "${ECHO_T}yes" >&6
7631 echo "$as_me:$LINENO: result: no" >&5
7632 echo "${ECHO_T}no" >&6
7637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7640 # Check whether --enable-statline or --disable-statline was given.
7641 if test "${enable_statline+set}" = set; then
7642 enableval="$enable_statline"
7644 if test "$enableval" = yes; then
7645 ac_cv_use_statline='wxUSE_STATLINE=yes'
7647 ac_cv_use_statline='wxUSE_STATLINE=no'
7652 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x ; then
7654 eval "DEFAULT_$LINE"
7659 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7663 eval "$ac_cv_use_statline"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7668 if test "$wxUSE_STATLINE" = yes; then
7669 echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6
7672 echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6
7678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7681 # Check whether --enable-stattext or --disable-stattext was given.
7682 if test "${enable_stattext+set}" = set; then
7683 enableval="$enable_stattext"
7685 if test "$enableval" = yes; then
7686 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7688 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7693 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x ; then
7695 eval "DEFAULT_$LINE"
7700 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7704 eval "$ac_cv_use_stattext"
7705 if test "$no_cache" != 1; then
7706 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7709 if test "$wxUSE_STATTEXT" = yes; then
7710 echo "$as_me:$LINENO: result: yes" >&5
7711 echo "${ECHO_T}yes" >&6
7713 echo "$as_me:$LINENO: result: no" >&5
7714 echo "${ECHO_T}no" >&6
7719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7720 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7722 # Check whether --enable-statusbar or --disable-statusbar was given.
7723 if test "${enable_statusbar+set}" = set; then
7724 enableval="$enable_statusbar"
7726 if test "$enableval" = yes; then
7727 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7729 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7734 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7741 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7745 eval "$ac_cv_use_statusbar"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7750 if test "$wxUSE_STATUSBAR" = yes; then
7751 echo "$as_me:$LINENO: result: yes" >&5
7752 echo "${ECHO_T}yes" >&6
7754 echo "$as_me:$LINENO: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7763 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7764 if test "${enable_tabdialog+set}" = set; then
7765 enableval="$enable_tabdialog"
7767 if test "$enableval" = yes; then
7768 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7770 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7775 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7782 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7786 eval "$ac_cv_use_tabdialog"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7791 if test "$wxUSE_TABDIALOG" = yes; then
7792 echo "$as_me:$LINENO: result: yes" >&5
7793 echo "${ECHO_T}yes" >&6
7795 echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6
7801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7802 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7804 # Check whether --enable-textctrl or --disable-textctrl was given.
7805 if test "${enable_textctrl+set}" = set; then
7806 enableval="$enable_textctrl"
7808 if test "$enableval" = yes; then
7809 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7811 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7816 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7827 eval "$ac_cv_use_textctrl"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7832 if test "$wxUSE_TEXTCTRL" = yes; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7836 echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6
7842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7843 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7845 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7846 if test "${enable_togglebtn+set}" = set; then
7847 enableval="$enable_togglebtn"
7849 if test "$enableval" = yes; then
7850 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7852 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7857 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x ; then
7859 eval "DEFAULT_$LINE"
7864 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7868 eval "$ac_cv_use_togglebtn"
7869 if test "$no_cache" != 1; then
7870 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7873 if test "$wxUSE_TOGGLEBTN" = yes; then
7874 echo "$as_me:$LINENO: result: yes" >&5
7875 echo "${ECHO_T}yes" >&6
7877 echo "$as_me:$LINENO: result: no" >&5
7878 echo "${ECHO_T}no" >&6
7883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7884 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7886 # Check whether --enable-toolbar or --disable-toolbar was given.
7887 if test "${enable_toolbar+set}" = set; then
7888 enableval="$enable_toolbar"
7890 if test "$enableval" = yes; then
7891 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7893 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7898 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x ; then
7900 eval "DEFAULT_$LINE"
7905 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7909 eval "$ac_cv_use_toolbar"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7914 if test "$wxUSE_TOOLBAR" = yes; then
7915 echo "$as_me:$LINENO: result: yes" >&5
7916 echo "${ECHO_T}yes" >&6
7918 echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6
7924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7927 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7928 if test "${enable_tbarnative+set}" = set; then
7929 enableval="$enable_tbarnative"
7931 if test "$enableval" = yes; then
7932 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7934 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7939 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7946 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7950 eval "$ac_cv_use_tbarnative"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7955 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7956 echo "$as_me:$LINENO: result: yes" >&5
7957 echo "${ECHO_T}yes" >&6
7959 echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6
7965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7968 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7969 if test "${enable_tbarsmpl+set}" = set; then
7970 enableval="$enable_tbarsmpl"
7972 if test "$enableval" = yes; then
7973 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7975 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7980 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x ; then
7982 eval "DEFAULT_$LINE"
7987 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7991 eval "$ac_cv_use_tbarsmpl"
7992 if test "$no_cache" != 1; then
7993 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7996 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7997 echo "$as_me:$LINENO: result: yes" >&5
7998 echo "${ECHO_T}yes" >&6
8000 echo "$as_me:$LINENO: result: no" >&5
8001 echo "${ECHO_T}no" >&6
8006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8009 # Check whether --enable-treectrl or --disable-treectrl was given.
8010 if test "${enable_treectrl+set}" = set; then
8011 enableval="$enable_treectrl"
8013 if test "$enableval" = yes; then
8014 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8016 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8021 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8028 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8032 eval "$ac_cv_use_treectrl"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8037 if test "$wxUSE_TREECTRL" = yes; then
8038 echo "$as_me:$LINENO: result: yes" >&5
8039 echo "${ECHO_T}yes" >&6
8041 echo "$as_me:$LINENO: result: no" >&5
8042 echo "${ECHO_T}no" >&6
8047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8048 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8050 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8051 if test "${enable_tipwindow+set}" = set; then
8052 enableval="$enable_tipwindow"
8054 if test "$enableval" = yes; then
8055 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8057 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8062 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8063 if test "x$LINE" != x ; then
8064 eval "DEFAULT_$LINE"
8069 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8073 eval "$ac_cv_use_tipwindow"
8074 if test "$no_cache" != 1; then
8075 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8078 if test "$wxUSE_TIPWINDOW" = yes; then
8079 echo "$as_me:$LINENO: result: yes" >&5
8080 echo "${ECHO_T}yes" >&6
8082 echo "$as_me:$LINENO: result: no" >&5
8083 echo "${ECHO_T}no" >&6
8088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8089 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8091 # Check whether --enable-popupwin or --disable-popupwin was given.
8092 if test "${enable_popupwin+set}" = set; then
8093 enableval="$enable_popupwin"
8095 if test "$enableval" = yes; then
8096 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8098 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8103 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8104 if test "x$LINE" != x ; then
8105 eval "DEFAULT_$LINE"
8110 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8114 eval "$ac_cv_use_popupwin"
8115 if test "$no_cache" != 1; then
8116 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8119 if test "$wxUSE_POPUPWIN" = yes; then
8120 echo "$as_me:$LINENO: result: yes" >&5
8121 echo "${ECHO_T}yes" >&6
8123 echo "$as_me:$LINENO: result: no" >&5
8124 echo "${ECHO_T}no" >&6
8131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8134 # Check whether --enable-commondlg or --disable-commondlg was given.
8135 if test "${enable_commondlg+set}" = set; then
8136 enableval="$enable_commondlg"
8138 if test "$enableval" = yes; then
8139 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8141 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8146 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8147 if test "x$LINE" != x ; then
8148 eval "DEFAULT_$LINE"
8153 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8157 eval "$ac_cv_use_commondlg"
8158 if test "$no_cache" != 1; then
8159 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8162 if test "$wxUSE_COMMONDLGS" = yes; then
8163 echo "$as_me:$LINENO: result: yes" >&5
8164 echo "${ECHO_T}yes" >&6
8166 echo "$as_me:$LINENO: result: no" >&5
8167 echo "${ECHO_T}no" >&6
8172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8173 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8175 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8176 if test "${enable_choicedlg+set}" = set; then
8177 enableval="$enable_choicedlg"
8179 if test "$enableval" = yes; then
8180 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8182 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8187 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8188 if test "x$LINE" != x ; then
8189 eval "DEFAULT_$LINE"
8194 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8198 eval "$ac_cv_use_choicedlg"
8199 if test "$no_cache" != 1; then
8200 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8203 if test "$wxUSE_CHOICEDLG" = yes; then
8204 echo "$as_me:$LINENO: result: yes" >&5
8205 echo "${ECHO_T}yes" >&6
8207 echo "$as_me:$LINENO: result: no" >&5
8208 echo "${ECHO_T}no" >&6
8213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8214 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8216 # Check whether --enable-coldlg or --disable-coldlg was given.
8217 if test "${enable_coldlg+set}" = set; then
8218 enableval="$enable_coldlg"
8220 if test "$enableval" = yes; then
8221 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8223 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8228 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x ; then
8230 eval "DEFAULT_$LINE"
8235 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8239 eval "$ac_cv_use_coldlg"
8240 if test "$no_cache" != 1; then
8241 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8244 if test "$wxUSE_COLOURDLG" = yes; then
8245 echo "$as_me:$LINENO: result: yes" >&5
8246 echo "${ECHO_T}yes" >&6
8248 echo "$as_me:$LINENO: result: no" >&5
8249 echo "${ECHO_T}no" >&6
8254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8255 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8257 # Check whether --enable-filedlg or --disable-filedlg was given.
8258 if test "${enable_filedlg+set}" = set; then
8259 enableval="$enable_filedlg"
8261 if test "$enableval" = yes; then
8262 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8264 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8269 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8270 if test "x$LINE" != x ; then
8271 eval "DEFAULT_$LINE"
8276 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8280 eval "$ac_cv_use_filedlg"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8285 if test "$wxUSE_FILEDLG" = yes; then
8286 echo "$as_me:$LINENO: result: yes" >&5
8287 echo "${ECHO_T}yes" >&6
8289 echo "$as_me:$LINENO: result: no" >&5
8290 echo "${ECHO_T}no" >&6
8295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8298 # Check whether --enable-finddlg or --disable-finddlg was given.
8299 if test "${enable_finddlg+set}" = set; then
8300 enableval="$enable_finddlg"
8302 if test "$enableval" = yes; then
8303 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8305 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8310 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8311 if test "x$LINE" != x ; then
8312 eval "DEFAULT_$LINE"
8317 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8321 eval "$ac_cv_use_finddlg"
8322 if test "$no_cache" != 1; then
8323 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8326 if test "$wxUSE_FINDREPLDLG" = yes; then
8327 echo "$as_me:$LINENO: result: yes" >&5
8328 echo "${ECHO_T}yes" >&6
8330 echo "$as_me:$LINENO: result: no" >&5
8331 echo "${ECHO_T}no" >&6
8336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8337 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8339 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8340 if test "${enable_fontdlg+set}" = set; then
8341 enableval="$enable_fontdlg"
8343 if test "$enableval" = yes; then
8344 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8346 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8351 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8352 if test "x$LINE" != x ; then
8353 eval "DEFAULT_$LINE"
8358 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8362 eval "$ac_cv_use_fontdlg"
8363 if test "$no_cache" != 1; then
8364 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8367 if test "$wxUSE_FONTDLG" = yes; then
8368 echo "$as_me:$LINENO: result: yes" >&5
8369 echo "${ECHO_T}yes" >&6
8371 echo "$as_me:$LINENO: result: no" >&5
8372 echo "${ECHO_T}no" >&6
8377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8380 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8381 if test "${enable_dirdlg+set}" = set; then
8382 enableval="$enable_dirdlg"
8384 if test "$enableval" = yes; then
8385 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8387 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8392 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x ; then
8394 eval "DEFAULT_$LINE"
8399 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8403 eval "$ac_cv_use_dirdlg"
8404 if test "$no_cache" != 1; then
8405 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8408 if test "$wxUSE_DIRDLG" = yes; then
8409 echo "$as_me:$LINENO: result: yes" >&5
8410 echo "${ECHO_T}yes" >&6
8412 echo "$as_me:$LINENO: result: no" >&5
8413 echo "${ECHO_T}no" >&6
8418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8419 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8421 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8422 if test "${enable_msgdlg+set}" = set; then
8423 enableval="$enable_msgdlg"
8425 if test "$enableval" = yes; then
8426 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8428 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8433 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8440 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8444 eval "$ac_cv_use_msgdlg"
8445 if test "$no_cache" != 1; then
8446 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8449 if test "$wxUSE_MSGDLG" = yes; then
8450 echo "$as_me:$LINENO: result: yes" >&5
8451 echo "${ECHO_T}yes" >&6
8453 echo "$as_me:$LINENO: result: no" >&5
8454 echo "${ECHO_T}no" >&6
8459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8460 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8462 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8463 if test "${enable_numberdlg+set}" = set; then
8464 enableval="$enable_numberdlg"
8466 if test "$enableval" = yes; then
8467 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8469 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8474 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8475 if test "x$LINE" != x ; then
8476 eval "DEFAULT_$LINE"
8481 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8485 eval "$ac_cv_use_numberdlg"
8486 if test "$no_cache" != 1; then
8487 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8490 if test "$wxUSE_NUMBERDLG" = yes; then
8491 echo "$as_me:$LINENO: result: yes" >&5
8492 echo "${ECHO_T}yes" >&6
8494 echo "$as_me:$LINENO: result: no" >&5
8495 echo "${ECHO_T}no" >&6
8500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8501 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8503 # Check whether --enable-splash or --disable-splash was given.
8504 if test "${enable_splash+set}" = set; then
8505 enableval="$enable_splash"
8507 if test "$enableval" = yes; then
8508 ac_cv_use_splash='wxUSE_SPLASH=yes'
8510 ac_cv_use_splash='wxUSE_SPLASH=no'
8515 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x ; then
8517 eval "DEFAULT_$LINE"
8522 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8526 eval "$ac_cv_use_splash"
8527 if test "$no_cache" != 1; then
8528 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8531 if test "$wxUSE_SPLASH" = yes; then
8532 echo "$as_me:$LINENO: result: yes" >&5
8533 echo "${ECHO_T}yes" >&6
8535 echo "$as_me:$LINENO: result: no" >&5
8536 echo "${ECHO_T}no" >&6
8541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8544 # Check whether --enable-textdlg or --disable-textdlg was given.
8545 if test "${enable_textdlg+set}" = set; then
8546 enableval="$enable_textdlg"
8548 if test "$enableval" = yes; then
8549 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8551 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8556 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x ; then
8558 eval "DEFAULT_$LINE"
8563 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8567 eval "$ac_cv_use_textdlg"
8568 if test "$no_cache" != 1; then
8569 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8572 if test "$wxUSE_TEXTDLG" = yes; then
8573 echo "$as_me:$LINENO: result: yes" >&5
8574 echo "${ECHO_T}yes" >&6
8576 echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6
8582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8583 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8585 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8586 if test "${enable_tipdlg+set}" = set; then
8587 enableval="$enable_tipdlg"
8589 if test "$enableval" = yes; then
8590 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8592 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8597 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8598 if test "x$LINE" != x ; then
8599 eval "DEFAULT_$LINE"
8604 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8608 eval "$ac_cv_use_tipdlg"
8609 if test "$no_cache" != 1; then
8610 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8613 if test "$wxUSE_STARTUP_TIPS" = yes; then
8614 echo "$as_me:$LINENO: result: yes" >&5
8615 echo "${ECHO_T}yes" >&6
8617 echo "$as_me:$LINENO: result: no" >&5
8618 echo "${ECHO_T}no" >&6
8623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8626 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8627 if test "${enable_progressdlg+set}" = set; then
8628 enableval="$enable_progressdlg"
8630 if test "$enableval" = yes; then
8631 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8633 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8638 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8639 if test "x$LINE" != x ; then
8640 eval "DEFAULT_$LINE"
8645 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8649 eval "$ac_cv_use_progressdlg"
8650 if test "$no_cache" != 1; then
8651 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8654 if test "$wxUSE_PROGRESSDLG" = yes; then
8655 echo "$as_me:$LINENO: result: yes" >&5
8656 echo "${ECHO_T}yes" >&6
8658 echo "$as_me:$LINENO: result: no" >&5
8659 echo "${ECHO_T}no" >&6
8664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8665 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8667 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8668 if test "${enable_wizarddlg+set}" = set; then
8669 enableval="$enable_wizarddlg"
8671 if test "$enableval" = yes; then
8672 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8674 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8679 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8680 if test "x$LINE" != x ; then
8681 eval "DEFAULT_$LINE"
8686 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8690 eval "$ac_cv_use_wizarddlg"
8691 if test "$no_cache" != 1; then
8692 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8695 if test "$wxUSE_WIZARDDLG" = yes; then
8696 echo "$as_me:$LINENO: result: yes" >&5
8697 echo "${ECHO_T}yes" >&6
8699 echo "$as_me:$LINENO: result: no" >&5
8700 echo "${ECHO_T}no" >&6
8707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8708 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8710 # Check whether --enable-menus or --disable-menus was given.
8711 if test "${enable_menus+set}" = set; then
8712 enableval="$enable_menus"
8714 if test "$enableval" = yes; then
8715 ac_cv_use_menus='wxUSE_MENUS=yes'
8717 ac_cv_use_menus='wxUSE_MENUS=no'
8722 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8723 if test "x$LINE" != x ; then
8724 eval "DEFAULT_$LINE"
8729 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8733 eval "$ac_cv_use_menus"
8734 if test "$no_cache" != 1; then
8735 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8738 if test "$wxUSE_MENUS" = yes; then
8739 echo "$as_me:$LINENO: result: yes" >&5
8740 echo "${ECHO_T}yes" >&6
8742 echo "$as_me:$LINENO: result: no" >&5
8743 echo "${ECHO_T}no" >&6
8748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8751 # Check whether --enable-miniframe or --disable-miniframe was given.
8752 if test "${enable_miniframe+set}" = set; then
8753 enableval="$enable_miniframe"
8755 if test "$enableval" = yes; then
8756 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8758 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8763 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8764 if test "x$LINE" != x ; then
8765 eval "DEFAULT_$LINE"
8770 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8774 eval "$ac_cv_use_miniframe"
8775 if test "$no_cache" != 1; then
8776 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8779 if test "$wxUSE_MINIFRAME" = yes; then
8780 echo "$as_me:$LINENO: result: yes" >&5
8781 echo "${ECHO_T}yes" >&6
8783 echo "$as_me:$LINENO: result: no" >&5
8784 echo "${ECHO_T}no" >&6
8789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8790 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8792 # Check whether --enable-tooltips or --disable-tooltips was given.
8793 if test "${enable_tooltips+set}" = set; then
8794 enableval="$enable_tooltips"
8796 if test "$enableval" = yes; then
8797 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8799 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8804 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8805 if test "x$LINE" != x ; then
8806 eval "DEFAULT_$LINE"
8811 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8815 eval "$ac_cv_use_tooltips"
8816 if test "$no_cache" != 1; then
8817 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8820 if test "$wxUSE_TOOLTIPS" = yes; then
8821 echo "$as_me:$LINENO: result: yes" >&5
8822 echo "${ECHO_T}yes" >&6
8824 echo "$as_me:$LINENO: result: no" >&5
8825 echo "${ECHO_T}no" >&6
8830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8833 # Check whether --enable-splines or --disable-splines was given.
8834 if test "${enable_splines+set}" = set; then
8835 enableval="$enable_splines"
8837 if test "$enableval" = yes; then
8838 ac_cv_use_splines='wxUSE_SPLINES=yes'
8840 ac_cv_use_splines='wxUSE_SPLINES=no'
8845 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8846 if test "x$LINE" != x ; then
8847 eval "DEFAULT_$LINE"
8852 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8856 eval "$ac_cv_use_splines"
8857 if test "$no_cache" != 1; then
8858 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8861 if test "$wxUSE_SPLINES" = yes; then
8862 echo "$as_me:$LINENO: result: yes" >&5
8863 echo "${ECHO_T}yes" >&6
8865 echo "$as_me:$LINENO: result: no" >&5
8866 echo "${ECHO_T}no" >&6
8871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8872 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8874 # Check whether --enable-validators or --disable-validators was given.
8875 if test "${enable_validators+set}" = set; then
8876 enableval="$enable_validators"
8878 if test "$enableval" = yes; then
8879 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8881 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8886 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8887 if test "x$LINE" != x ; then
8888 eval "DEFAULT_$LINE"
8893 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8897 eval "$ac_cv_use_validators"
8898 if test "$no_cache" != 1; then
8899 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8902 if test "$wxUSE_VALIDATORS" = yes; then
8903 echo "$as_me:$LINENO: result: yes" >&5
8904 echo "${ECHO_T}yes" >&6
8906 echo "$as_me:$LINENO: result: no" >&5
8907 echo "${ECHO_T}no" >&6
8912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8913 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8915 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8916 if test "${enable_busyinfo+set}" = set; then
8917 enableval="$enable_busyinfo"
8919 if test "$enableval" = yes; then
8920 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8922 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8927 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8934 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8938 eval "$ac_cv_use_busyinfo"
8939 if test "$no_cache" != 1; then
8940 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8943 if test "$wxUSE_BUSYINFO" = yes; then
8944 echo "$as_me:$LINENO: result: yes" >&5
8945 echo "${ECHO_T}yes" >&6
8947 echo "$as_me:$LINENO: result: no" >&5
8948 echo "${ECHO_T}no" >&6
8953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8954 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8956 # Check whether --enable-joystick or --disable-joystick was given.
8957 if test "${enable_joystick+set}" = set; then
8958 enableval="$enable_joystick"
8960 if test "$enableval" = yes; then
8961 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8963 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8968 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8969 if test "x$LINE" != x ; then
8970 eval "DEFAULT_$LINE"
8975 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8979 eval "$ac_cv_use_joystick"
8980 if test "$no_cache" != 1; then
8981 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8984 if test "$wxUSE_JOYSTICK" = yes; then
8985 echo "$as_me:$LINENO: result: yes" >&5
8986 echo "${ECHO_T}yes" >&6
8988 echo "$as_me:$LINENO: result: no" >&5
8989 echo "${ECHO_T}no" >&6
8994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8995 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8997 # Check whether --enable-metafile or --disable-metafile was given.
8998 if test "${enable_metafile+set}" = set; then
8999 enableval="$enable_metafile"
9001 if test "$enableval" = yes; then
9002 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9004 ac_cv_use_metafile='wxUSE_METAFILE=no'
9009 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9010 if test "x$LINE" != x ; then
9011 eval "DEFAULT_$LINE"
9016 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9020 eval "$ac_cv_use_metafile"
9021 if test "$no_cache" != 1; then
9022 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9025 if test "$wxUSE_METAFILE" = yes; then
9026 echo "$as_me:$LINENO: result: yes" >&5
9027 echo "${ECHO_T}yes" >&6
9029 echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6
9035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9036 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9038 # Check whether --enable-dragimage or --disable-dragimage was given.
9039 if test "${enable_dragimage+set}" = set; then
9040 enableval="$enable_dragimage"
9042 if test "$enableval" = yes; then
9043 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9045 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9050 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9057 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9061 eval "$ac_cv_use_dragimage"
9062 if test "$no_cache" != 1; then
9063 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9066 if test "$wxUSE_DRAGIMAGE" = yes; then
9067 echo "$as_me:$LINENO: result: yes" >&5
9068 echo "${ECHO_T}yes" >&6
9070 echo "$as_me:$LINENO: result: no" >&5
9071 echo "${ECHO_T}no" >&6
9076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9077 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9079 # Check whether --enable-accessibility or --disable-accessibility was given.
9080 if test "${enable_accessibility+set}" = set; then
9081 enableval="$enable_accessibility"
9083 if test "$enableval" = yes; then
9084 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9086 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9091 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9092 if test "x$LINE" != x ; then
9093 eval "DEFAULT_$LINE"
9098 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9102 eval "$ac_cv_use_accessibility"
9103 if test "$no_cache" != 1; then
9104 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9107 if test "$wxUSE_ACCESSIBILITY" = yes; then
9108 echo "$as_me:$LINENO: result: yes" >&5
9109 echo "${ECHO_T}yes" >&6
9111 echo "$as_me:$LINENO: result: no" >&5
9112 echo "${ECHO_T}no" >&6
9119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9122 # Check whether --enable-palette or --disable-palette was given.
9123 if test "${enable_palette+set}" = set; then
9124 enableval="$enable_palette"
9126 if test "$enableval" = yes; then
9127 ac_cv_use_palette='wxUSE_PALETTE=yes'
9129 ac_cv_use_palette='wxUSE_PALETTE=no'
9134 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9135 if test "x$LINE" != x ; then
9136 eval "DEFAULT_$LINE"
9141 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9145 eval "$ac_cv_use_palette"
9146 if test "$no_cache" != 1; then
9147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9150 if test "$wxUSE_PALETTE" = yes; then
9151 echo "$as_me:$LINENO: result: yes" >&5
9152 echo "${ECHO_T}yes" >&6
9154 echo "$as_me:$LINENO: result: no" >&5
9155 echo "${ECHO_T}no" >&6
9160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9163 # Check whether --enable-image or --disable-image was given.
9164 if test "${enable_image+set}" = set; then
9165 enableval="$enable_image"
9167 if test "$enableval" = yes; then
9168 ac_cv_use_image='wxUSE_IMAGE=yes'
9170 ac_cv_use_image='wxUSE_IMAGE=no'
9175 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9176 if test "x$LINE" != x ; then
9177 eval "DEFAULT_$LINE"
9182 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9186 eval "$ac_cv_use_image"
9187 if test "$no_cache" != 1; then
9188 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9191 if test "$wxUSE_IMAGE" = yes; then
9192 echo "$as_me:$LINENO: result: yes" >&5
9193 echo "${ECHO_T}yes" >&6
9195 echo "$as_me:$LINENO: result: no" >&5
9196 echo "${ECHO_T}no" >&6
9201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9204 # Check whether --enable-gif or --disable-gif was given.
9205 if test "${enable_gif+set}" = set; then
9206 enableval="$enable_gif"
9208 if test "$enableval" = yes; then
9209 ac_cv_use_gif='wxUSE_GIF=yes'
9211 ac_cv_use_gif='wxUSE_GIF=no'
9216 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9217 if test "x$LINE" != x ; then
9218 eval "DEFAULT_$LINE"
9223 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9227 eval "$ac_cv_use_gif"
9228 if test "$no_cache" != 1; then
9229 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9232 if test "$wxUSE_GIF" = yes; then
9233 echo "$as_me:$LINENO: result: yes" >&5
9234 echo "${ECHO_T}yes" >&6
9236 echo "$as_me:$LINENO: result: no" >&5
9237 echo "${ECHO_T}no" >&6
9242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9243 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9245 # Check whether --enable-pcx or --disable-pcx was given.
9246 if test "${enable_pcx+set}" = set; then
9247 enableval="$enable_pcx"
9249 if test "$enableval" = yes; then
9250 ac_cv_use_pcx='wxUSE_PCX=yes'
9252 ac_cv_use_pcx='wxUSE_PCX=no'
9257 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9258 if test "x$LINE" != x ; then
9259 eval "DEFAULT_$LINE"
9264 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9268 eval "$ac_cv_use_pcx"
9269 if test "$no_cache" != 1; then
9270 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9273 if test "$wxUSE_PCX" = yes; then
9274 echo "$as_me:$LINENO: result: yes" >&5
9275 echo "${ECHO_T}yes" >&6
9277 echo "$as_me:$LINENO: result: no" >&5
9278 echo "${ECHO_T}no" >&6
9283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9284 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9286 # Check whether --enable-iff or --disable-iff was given.
9287 if test "${enable_iff+set}" = set; then
9288 enableval="$enable_iff"
9290 if test "$enableval" = yes; then
9291 ac_cv_use_iff='wxUSE_IFF=yes'
9293 ac_cv_use_iff='wxUSE_IFF=no'
9298 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9299 if test "x$LINE" != x ; then
9300 eval "DEFAULT_$LINE"
9305 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9309 eval "$ac_cv_use_iff"
9310 if test "$no_cache" != 1; then
9311 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9314 if test "$wxUSE_IFF" = yes; then
9315 echo "$as_me:$LINENO: result: yes" >&5
9316 echo "${ECHO_T}yes" >&6
9318 echo "$as_me:$LINENO: result: no" >&5
9319 echo "${ECHO_T}no" >&6
9324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9325 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9327 # Check whether --enable-pnm or --disable-pnm was given.
9328 if test "${enable_pnm+set}" = set; then
9329 enableval="$enable_pnm"
9331 if test "$enableval" = yes; then
9332 ac_cv_use_pnm='wxUSE_PNM=yes'
9334 ac_cv_use_pnm='wxUSE_PNM=no'
9339 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9340 if test "x$LINE" != x ; then
9341 eval "DEFAULT_$LINE"
9346 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9350 eval "$ac_cv_use_pnm"
9351 if test "$no_cache" != 1; then
9352 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9355 if test "$wxUSE_PNM" = yes; then
9356 echo "$as_me:$LINENO: result: yes" >&5
9357 echo "${ECHO_T}yes" >&6
9359 echo "$as_me:$LINENO: result: no" >&5
9360 echo "${ECHO_T}no" >&6
9365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9366 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9368 # Check whether --enable-xpm or --disable-xpm was given.
9369 if test "${enable_xpm+set}" = set; then
9370 enableval="$enable_xpm"
9372 if test "$enableval" = yes; then
9373 ac_cv_use_xpm='wxUSE_XPM=yes'
9375 ac_cv_use_xpm='wxUSE_XPM=no'
9380 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9381 if test "x$LINE" != x ; then
9382 eval "DEFAULT_$LINE"
9387 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9391 eval "$ac_cv_use_xpm"
9392 if test "$no_cache" != 1; then
9393 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9396 if test "$wxUSE_XPM" = yes; then
9397 echo "$as_me:$LINENO: result: yes" >&5
9398 echo "${ECHO_T}yes" >&6
9400 echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6
9406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9409 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9410 if test "${enable_ico_cur+set}" = set; then
9411 enableval="$enable_ico_cur"
9413 if test "$enableval" = yes; then
9414 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9416 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9421 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9422 if test "x$LINE" != x ; then
9423 eval "DEFAULT_$LINE"
9428 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9432 eval "$ac_cv_use_ico_cur"
9433 if test "$no_cache" != 1; then
9434 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9437 if test "$wxUSE_ICO_CUR" = yes; then
9438 echo "$as_me:$LINENO: result: yes" >&5
9439 echo "${ECHO_T}yes" >&6
9441 echo "$as_me:$LINENO: result: no" >&5
9442 echo "${ECHO_T}no" >&6
9449 *-pc-os2_emx | *-pc-os2-emx )
9461 echo "saving argument cache $wx_arg_cache_file"
9462 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9466 echo "$as_me:$LINENO: checking for toolkit" >&5
9467 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9469 # In Wine, we need to default to MSW, not GTK or MOTIF
9470 if test "$wxUSE_WINE" = "yes"; then
9471 DEFAULT_DEFAULT_wxUSE_GTK=0
9472 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9473 DEFAULT_DEFAULT_wxUSE_MSW=1
9476 if test "$wxUSE_GUI" = "yes"; then
9478 if test "$USE_BEOS" = 1; then
9479 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9480 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9481 { (exit 1); exit 1; }; }
9484 if test "$TOOLKIT_GIVEN" = 1; then
9485 for toolkit in `echo $ALL_TOOLKITS`; do
9487 eval "value=\$${var}"
9488 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9491 for toolkit in `echo $ALL_TOOLKITS`; do
9492 if test "$has_toolkit_in_cache" != 1; then
9493 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9495 var=DEFAULT_wxUSE_$toolkit
9497 eval "wxUSE_$toolkit=\$${var}"
9501 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9502 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9503 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9506 *-pc-os2_emx | *-pc-os2-emx )
9507 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9510 case "$NUM_TOOLKITS" in
9514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9516 { (exit 1); exit 1; }; }
9519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9520 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9521 { (exit 1); exit 1; }; }
9524 for toolkit in `echo $ALL_TOOLKITS`; do
9526 eval "value=\$${var}"
9527 if test "x$value" != x; then
9528 cache_var=CACHE_$toolkit
9529 eval "cache=\$${cache_var}"
9530 if test "$cache" = 1; then
9531 echo "$var=$value" >> ${wx_arg_cache_file}
9533 if test "$value" = 1; then
9534 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9535 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9536 echo "${ECHO_T}$toolkit_echo" >&6
9541 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9542 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9549 if test "$wxUSE_MSW" = 1 ; then
9560 if test "$wxUSE_WINE" = "yes"; then
9567 if test "$wants_win32" = 1 ; then
9570 cat >>confdefs.h <<\_ACEOF
9574 cat >>confdefs.h <<\_ACEOF
9578 cat >>confdefs.h <<\_ACEOF
9579 #define __WINDOWS__ 1
9582 cat >>confdefs.h <<\_ACEOF
9583 #define __GNUWIN32__ 1
9586 cat >>confdefs.h <<\_ACEOF
9590 cat >>confdefs.h <<\_ACEOF
9591 #define WINVER 0x0400
9595 if test "$doesnt_want_win32" = 1 ; then
9600 if test "$USE_UNIX" = 1 ; then
9602 cat >>confdefs.h <<\_ACEOF
9609 cat >confcache <<\_ACEOF
9610 # This file is a shell script that caches the results of configure
9611 # tests run on this system so they can be shared between configure
9612 # scripts and configure runs, see configure's option --config-cache.
9613 # It is not useful on other systems. If it contains results you don't
9614 # want to keep, you may remove or edit it.
9616 # config.status only pays attention to the cache file if you give it
9617 # the --recheck option to rerun configure.
9619 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9620 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9625 # The following way of writing the cache mishandles newlines in values,
9626 # but we know of no workaround that is simple, portable, and efficient.
9627 # So, don't put newlines in cache variables' values.
9628 # Ultrix sh set writes to stderr and can't be redirected directly,
9629 # and sets the high bit in the cache file unless we assign to the vars.
9632 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9634 # `set' does not quote correctly, so add quotes (double-quote
9635 # substitution turns \\\\ into \\, and sed turns \\ into \).
9638 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9641 # `set' quotes correctly as required by POSIX, so do not add quotes.
9643 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9650 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9652 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9654 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9655 if test -w $cache_file; then
9656 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9657 cat confcache >$cache_file
9659 echo "not updating unwritable cache $cache_file"
9664 if test "$build" != "$host" ; then
9665 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9669 RANLIB=$host_alias-ranlib
9670 DLLTOOL=$host_alias-dlltool
9671 RESCOMP=$host_alias-windres
9674 STRIP=$host_alias-strip
9676 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9677 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9678 { (exit 1); exit 1; }; }
9684 ac_cpp='$CPP $CPPFLAGS'
9685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9688 if test -n "$ac_tool_prefix"; then
9689 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9690 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9691 echo "$as_me:$LINENO: checking for $ac_word" >&5
9692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9693 if test "${ac_cv_prog_CC+set}" = set; then
9694 echo $ECHO_N "(cached) $ECHO_C" >&6
9696 if test -n "$CC"; then
9697 ac_cv_prog_CC="$CC" # Let the user override the test.
9699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9703 test -z "$as_dir" && as_dir=.
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9706 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9716 if test -n "$CC"; then
9717 echo "$as_me:$LINENO: result: $CC" >&5
9718 echo "${ECHO_T}$CC" >&6
9720 echo "$as_me:$LINENO: result: no" >&5
9721 echo "${ECHO_T}no" >&6
9725 if test -z "$ac_cv_prog_CC"; then
9727 # Extract the first word of "gcc", so it can be a program name with args.
9728 set dummy gcc; ac_word=$2
9729 echo "$as_me:$LINENO: checking for $ac_word" >&5
9730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9732 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 if test -n "$ac_ct_CC"; then
9735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9741 test -z "$as_dir" && as_dir=.
9742 for ac_exec_ext in '' $ac_executable_extensions; do
9743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9744 ac_cv_prog_ac_ct_CC="gcc"
9745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9753 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9754 if test -n "$ac_ct_CC"; then
9755 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9756 echo "${ECHO_T}$ac_ct_CC" >&6
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9767 if test -z "$CC"; then
9768 if test -n "$ac_tool_prefix"; then
9769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9770 set dummy ${ac_tool_prefix}cc; ac_word=$2
9771 echo "$as_me:$LINENO: checking for $ac_word" >&5
9772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9773 if test "${ac_cv_prog_CC+set}" = set; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 if test -n "$CC"; then
9777 ac_cv_prog_CC="$CC" # Let the user override the test.
9779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9783 test -z "$as_dir" && as_dir=.
9784 for ac_exec_ext in '' $ac_executable_extensions; do
9785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9786 ac_cv_prog_CC="${ac_tool_prefix}cc"
9787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9796 if test -n "$CC"; then
9797 echo "$as_me:$LINENO: result: $CC" >&5
9798 echo "${ECHO_T}$CC" >&6
9800 echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6
9805 if test -z "$ac_cv_prog_CC"; then
9807 # Extract the first word of "cc", so it can be a program name with args.
9808 set dummy cc; ac_word=$2
9809 echo "$as_me:$LINENO: checking for $ac_word" >&5
9810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 if test -n "$ac_ct_CC"; then
9815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 test -z "$as_dir" && as_dir=.
9822 for ac_exec_ext in '' $ac_executable_extensions; do
9823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_ac_ct_CC="cc"
9825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9833 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9834 if test -n "$ac_ct_CC"; then
9835 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9836 echo "${ECHO_T}$ac_ct_CC" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9848 if test -z "$CC"; then
9849 # Extract the first word of "cc", so it can be a program name with args.
9850 set dummy cc; ac_word=$2
9851 echo "$as_me:$LINENO: checking for $ac_word" >&5
9852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9853 if test "${ac_cv_prog_CC+set}" = set; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 if test -n "$CC"; then
9857 ac_cv_prog_CC="$CC" # Let the user override the test.
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9867 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9868 ac_prog_rejected=yes
9872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9878 if test $ac_prog_rejected = yes; then
9879 # We found a bogon in the path, so make sure we never use it.
9880 set dummy $ac_cv_prog_CC
9882 if test $# != 0; then
9883 # We chose a different compiler from the bogus one.
9884 # However, it has the same basename, so the bogon will be chosen
9885 # first if we set CC to just the basename; use the full file name.
9887 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9893 if test -n "$CC"; then
9894 echo "$as_me:$LINENO: result: $CC" >&5
9895 echo "${ECHO_T}$CC" >&6
9897 echo "$as_me:$LINENO: result: no" >&5
9898 echo "${ECHO_T}no" >&6
9902 if test -z "$CC"; then
9903 if test -n "$ac_tool_prefix"; then
9906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9907 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9908 echo "$as_me:$LINENO: checking for $ac_word" >&5
9909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9910 if test "${ac_cv_prog_CC+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 if test -n "$CC"; then
9914 ac_cv_prog_CC="$CC" # Let the user override the test.
9916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9920 test -z "$as_dir" && as_dir=.
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9933 if test -n "$CC"; then
9934 echo "$as_me:$LINENO: result: $CC" >&5
9935 echo "${ECHO_T}$CC" >&6
9937 echo "$as_me:$LINENO: result: no" >&5
9938 echo "${ECHO_T}no" >&6
9941 test -n "$CC" && break
9944 if test -z "$CC"; then
9948 # Extract the first word of "$ac_prog", so it can be a program name with args.
9949 set dummy $ac_prog; ac_word=$2
9950 echo "$as_me:$LINENO: checking for $ac_word" >&5
9951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9953 echo $ECHO_N "(cached) $ECHO_C" >&6
9955 if test -n "$ac_ct_CC"; then
9956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9962 test -z "$as_dir" && as_dir=.
9963 for ac_exec_ext in '' $ac_executable_extensions; do
9964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9965 ac_cv_prog_ac_ct_CC="$ac_prog"
9966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9974 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9975 if test -n "$ac_ct_CC"; then
9976 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9977 echo "${ECHO_T}$ac_ct_CC" >&6
9979 echo "$as_me:$LINENO: result: no" >&5
9980 echo "${ECHO_T}no" >&6
9983 test -n "$ac_ct_CC" && break
9992 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9993 See \`config.log' for more details." >&5
9994 echo "$as_me: error: no acceptable C compiler found in \$PATH
9995 See \`config.log' for more details." >&2;}
9996 { (exit 1); exit 1; }; }
9998 # Provide some information about the compiler.
9999 echo "$as_me:$LINENO:" \
10000 "checking for C compiler version" >&5
10001 ac_compiler=`set X $ac_compile; echo $2`
10002 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10003 (eval $ac_compiler --version </dev/null >&5) 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }
10007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10008 (eval $ac_compiler -v </dev/null >&5) 2>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); }
10012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10013 (eval $ac_compiler -V </dev/null >&5) 2>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }
10018 cat >conftest.$ac_ext <<_ACEOF
10019 #line $LINENO "configure"
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10034 ac_clean_files_save=$ac_clean_files
10035 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10036 # Try to create an executable without -o first, disregard a.out.
10037 # It will help us diagnose broken compilers, and finding out an intuition
10039 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10040 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10041 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10042 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10043 (eval $ac_link_default) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; then
10047 # Find the output, starting from the most likely. This scheme is
10048 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10051 # Be careful to initialize this variable, since it used to be cached.
10052 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10054 # b.out is created by i960 compilers.
10055 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10057 test -f "$ac_file" || continue
10059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10062 # This is the source file.
10065 # We found the default executable, but exeext='' is most
10069 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10070 # FIXME: I believe we export ac_cv_exeext for Libtool,
10071 # but it would be cool to find out if it's true. Does anybody
10072 # maintain Libtool? --akim.
10073 export ac_cv_exeext
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.$ac_ext >&5
10083 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10084 See \`config.log' for more details." >&5
10085 echo "$as_me: error: C compiler cannot create executables
10086 See \`config.log' for more details." >&2;}
10087 { (exit 77); exit 77; }; }
10090 ac_exeext=$ac_cv_exeext
10091 echo "$as_me:$LINENO: result: $ac_file" >&5
10092 echo "${ECHO_T}$ac_file" >&6
10094 # Check the compiler produces executables we can run. If not, either
10095 # the compiler is broken, or we cross compile.
10096 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10097 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10098 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10099 # If not cross compiling, check that we can run a simple program.
10100 if test "$cross_compiling" != yes; then
10101 if { ac_try='./$ac_file'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then
10109 if test "$cross_compiling" = maybe; then
10110 cross_compiling=yes
10112 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10113 If you meant to cross compile, use \`--host'.
10114 See \`config.log' for more details." >&5
10115 echo "$as_me: error: cannot run C compiled programs.
10116 If you meant to cross compile, use \`--host'.
10117 See \`config.log' for more details." >&2;}
10118 { (exit 1); exit 1; }; }
10122 echo "$as_me:$LINENO: result: yes" >&5
10123 echo "${ECHO_T}yes" >&6
10125 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10126 ac_clean_files=$ac_clean_files_save
10127 # Check the compiler produces executables we can run. If not, either
10128 # the compiler is broken, or we cross compile.
10129 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10130 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10131 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10132 echo "${ECHO_T}$cross_compiling" >&6
10134 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10135 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10137 (eval $ac_link) 2>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; then
10141 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10142 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10143 # work properly (i.e., refer to `conftest.exe'), while it won't with
10145 for ac_file in conftest.exe conftest conftest.*; do
10146 test -f "$ac_file" || continue
10148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10150 export ac_cv_exeext
10156 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10157 See \`config.log' for more details." >&5
10158 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10159 See \`config.log' for more details." >&2;}
10160 { (exit 1); exit 1; }; }
10163 rm -f conftest$ac_cv_exeext
10164 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10165 echo "${ECHO_T}$ac_cv_exeext" >&6
10167 rm -f conftest.$ac_ext
10168 EXEEXT=$ac_cv_exeext
10170 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10171 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10172 if test "${ac_cv_objext+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 cat >conftest.$ac_ext <<_ACEOF
10176 #line $LINENO "configure"
10179 cat confdefs.h >>conftest.$ac_ext
10180 cat >>conftest.$ac_ext <<_ACEOF
10181 /* end confdefs.h. */
10191 rm -f conftest.o conftest.obj
10192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10193 (eval $ac_compile) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; then
10197 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10200 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10205 echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.$ac_ext >&5
10208 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10209 See \`config.log' for more details." >&5
10210 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10211 See \`config.log' for more details." >&2;}
10212 { (exit 1); exit 1; }; }
10215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10217 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10218 echo "${ECHO_T}$ac_cv_objext" >&6
10219 OBJEXT=$ac_cv_objext
10221 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10222 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10223 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 cat >conftest.$ac_ext <<_ACEOF
10227 #line $LINENO "configure"
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10245 rm -f conftest.$ac_objext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10247 (eval $ac_compile) 2>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try='test -s conftest.$ac_objext'
10252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 (eval $ac_try) 2>&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }; }; then
10257 ac_compiler_gnu=yes
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.$ac_ext >&5
10264 rm -f conftest.$ac_objext conftest.$ac_ext
10265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10268 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10269 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10270 GCC=`test $ac_compiler_gnu = yes && echo yes`
10271 ac_test_CFLAGS=${CFLAGS+set}
10272 ac_save_CFLAGS=$CFLAGS
10274 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10275 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10276 if test "${ac_cv_prog_cc_g+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 cat >conftest.$ac_ext <<_ACEOF
10280 #line $LINENO "configure"
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10295 rm -f conftest.$ac_objext
10296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297 (eval $ac_compile) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } &&
10301 { ac_try='test -s conftest.$ac_objext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10307 ac_cv_prog_cc_g=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10314 rm -f conftest.$ac_objext conftest.$ac_ext
10316 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10317 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10318 if test "$ac_test_CFLAGS" = set; then
10319 CFLAGS=$ac_save_CFLAGS
10320 elif test $ac_cv_prog_cc_g = yes; then
10321 if test "$GCC" = yes; then
10327 if test "$GCC" = yes; then
10333 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10334 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10335 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 ac_cv_prog_cc_stdc=no
10340 cat >conftest.$ac_ext <<_ACEOF
10341 #line $LINENO "configure"
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 #include <stdarg.h>
10349 #include <sys/types.h>
10350 #include <sys/stat.h>
10351 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10352 struct buf { int x; };
10353 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10354 static char *e (p, i)
10360 static char *f (char * (*g) (char **, int), char **p, ...)
10365 s = g (p, va_arg (v,int));
10369 int test (int i, double x);
10370 struct s1 {int (*f) (int a);};
10371 struct s2 {int (*f) (double a);};
10372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10383 # Don't try gcc -ansi; that turns off useful extensions and
10384 # breaks some systems' header files.
10385 # AIX -qlanglvl=ansi
10386 # Ultrix and OSF/1 -std1
10387 # HP-UX 10.20 and later -Ae
10388 # HP-UX older versions -Aa -D_HPUX_SOURCE
10389 # SVR4 -Xc -D__EXTENSIONS__
10390 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10392 CC="$ac_save_CC $ac_arg"
10393 rm -f conftest.$ac_objext
10394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10395 (eval $ac_compile) 2>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } &&
10399 { ac_try='test -s conftest.$ac_objext'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; }; then
10405 ac_cv_prog_cc_stdc=$ac_arg
10408 echo "$as_me: failed program was:" >&5
10409 sed 's/^/| /' conftest.$ac_ext >&5
10412 rm -f conftest.$ac_objext
10414 rm -f conftest.$ac_ext conftest.$ac_objext
10419 case "x$ac_cv_prog_cc_stdc" in
10421 echo "$as_me:$LINENO: result: none needed" >&5
10422 echo "${ECHO_T}none needed" >&6 ;;
10424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10425 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10426 CC="$CC $ac_cv_prog_cc_stdc" ;;
10429 # Some people use a C++ compiler to compile C. Since we use `exit',
10430 # in C++ we need to declare it. In case someone uses the same compiler
10431 # for both compiling C and C++ we need to have the C++ compiler decide
10432 # the declaration of exit, since it's the most demanding environment.
10433 cat >conftest.$ac_ext <<_ACEOF
10434 #ifndef __cplusplus
10438 rm -f conftest.$ac_objext
10439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10440 (eval $ac_compile) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); } &&
10444 { ac_try='test -s conftest.$ac_objext'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; }; then
10450 for ac_declaration in \
10452 '#include <stdlib.h>' \
10453 'extern "C" void std::exit (int) throw (); using std::exit;' \
10454 'extern "C" void std::exit (int); using std::exit;' \
10455 'extern "C" void exit (int) throw ();' \
10456 'extern "C" void exit (int);' \
10459 cat >conftest.$ac_ext <<_ACEOF
10460 #line $LINENO "configure"
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10466 #include <stdlib.h>
10476 rm -f conftest.$ac_objext
10477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10478 (eval $ac_compile) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } &&
10482 { ac_try='test -s conftest.$ac_objext'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.$ac_ext >&5
10495 rm -f conftest.$ac_objext conftest.$ac_ext
10496 cat >conftest.$ac_ext <<_ACEOF
10497 #line $LINENO "configure"
10500 cat confdefs.h >>conftest.$ac_ext
10501 cat >>conftest.$ac_ext <<_ACEOF
10502 /* end confdefs.h. */
10512 rm -f conftest.$ac_objext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514 (eval $ac_compile) 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } &&
10518 { ac_try='test -s conftest.$ac_objext'
10519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 (eval $ac_try) 2>&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); }; }; then
10526 echo "$as_me: failed program was:" >&5
10527 sed 's/^/| /' conftest.$ac_ext >&5
10530 rm -f conftest.$ac_objext conftest.$ac_ext
10533 if test -n "$ac_declaration"; then
10534 echo '#ifdef __cplusplus' >>confdefs.h
10535 echo $ac_declaration >>confdefs.h
10536 echo '#endif' >>confdefs.h
10540 echo "$as_me: failed program was:" >&5
10541 sed 's/^/| /' conftest.$ac_ext >&5
10544 rm -f conftest.$ac_objext conftest.$ac_ext
10546 ac_cpp='$CPP $CPPFLAGS'
10547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10554 ac_cpp='$CPP $CPPFLAGS'
10555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10558 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10559 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10560 # On Suns, sometimes $CPP names a directory.
10561 if test -n "$CPP" && test -d "$CPP"; then
10564 if test -z "$CPP"; then
10565 if test "${ac_cv_prog_CPP+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 # Double quotes because CPP needs to be expanded
10569 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10571 ac_preproc_ok=false
10572 for ac_c_preproc_warn_flag in '' yes
10574 # Use a header file that comes with gcc, so configuring glibc
10575 # with a fresh cross-compiler works.
10576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10577 # <limits.h> exists even on freestanding compilers.
10578 # On the NeXT, cc -E runs the code through the compiler's parser,
10579 # not just through cpp. "Syntax error" is here to catch this case.
10580 cat >conftest.$ac_ext <<_ACEOF
10581 #line $LINENO "configure"
10584 cat confdefs.h >>conftest.$ac_ext
10585 cat >>conftest.$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10588 # include <limits.h>
10590 # include <assert.h>
10594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10597 grep -v '^ *+' conftest.er1 >conftest.err
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } >/dev/null; then
10602 if test -s conftest.err; then
10603 ac_cpp_err=$ac_c_preproc_warn_flag
10610 if test -z "$ac_cpp_err"; then
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.$ac_ext >&5
10616 # Broken: fails on valid input.
10619 rm -f conftest.err conftest.$ac_ext
10621 # OK, works on sane cases. Now check whether non-existent headers
10622 # can be detected and how.
10623 cat >conftest.$ac_ext <<_ACEOF
10624 #line $LINENO "configure"
10627 cat confdefs.h >>conftest.$ac_ext
10628 cat >>conftest.$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 #include <ac_nonexistent.h>
10632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10635 grep -v '^ *+' conftest.er1 >conftest.err
10637 cat conftest.err >&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } >/dev/null; then
10640 if test -s conftest.err; then
10641 ac_cpp_err=$ac_c_preproc_warn_flag
10648 if test -z "$ac_cpp_err"; then
10649 # Broken: success on invalid input.
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 # Passes both tests.
10659 rm -f conftest.err conftest.$ac_ext
10662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10663 rm -f conftest.err conftest.$ac_ext
10664 if $ac_preproc_ok; then
10669 ac_cv_prog_CPP=$CPP
10672 CPP=$ac_cv_prog_CPP
10674 ac_cv_prog_CPP=$CPP
10676 echo "$as_me:$LINENO: result: $CPP" >&5
10677 echo "${ECHO_T}$CPP" >&6
10678 ac_preproc_ok=false
10679 for ac_c_preproc_warn_flag in '' yes
10681 # Use a header file that comes with gcc, so configuring glibc
10682 # with a fresh cross-compiler works.
10683 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10684 # <limits.h> exists even on freestanding compilers.
10685 # On the NeXT, cc -E runs the code through the compiler's parser,
10686 # not just through cpp. "Syntax error" is here to catch this case.
10687 cat >conftest.$ac_ext <<_ACEOF
10688 #line $LINENO "configure"
10691 cat confdefs.h >>conftest.$ac_ext
10692 cat >>conftest.$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10695 # include <limits.h>
10697 # include <assert.h>
10701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10704 grep -v '^ *+' conftest.er1 >conftest.err
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } >/dev/null; then
10709 if test -s conftest.err; then
10710 ac_cpp_err=$ac_c_preproc_warn_flag
10717 if test -z "$ac_cpp_err"; then
10720 echo "$as_me: failed program was:" >&5
10721 sed 's/^/| /' conftest.$ac_ext >&5
10723 # Broken: fails on valid input.
10726 rm -f conftest.err conftest.$ac_ext
10728 # OK, works on sane cases. Now check whether non-existent headers
10729 # can be detected and how.
10730 cat >conftest.$ac_ext <<_ACEOF
10731 #line $LINENO "configure"
10734 cat confdefs.h >>conftest.$ac_ext
10735 cat >>conftest.$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10737 #include <ac_nonexistent.h>
10739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10742 grep -v '^ *+' conftest.er1 >conftest.err
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } >/dev/null; then
10747 if test -s conftest.err; then
10748 ac_cpp_err=$ac_c_preproc_warn_flag
10755 if test -z "$ac_cpp_err"; then
10756 # Broken: success on invalid input.
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10762 # Passes both tests.
10766 rm -f conftest.err conftest.$ac_ext
10769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10770 rm -f conftest.err conftest.$ac_ext
10771 if $ac_preproc_ok; then
10774 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10775 See \`config.log' for more details." >&5
10776 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10777 See \`config.log' for more details." >&2;}
10778 { (exit 1); exit 1; }; }
10782 ac_cpp='$CPP $CPPFLAGS'
10783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10788 echo "$as_me:$LINENO: checking for egrep" >&5
10789 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10790 if test "${ac_cv_prog_egrep+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10794 then ac_cv_prog_egrep='grep -E'
10795 else ac_cv_prog_egrep='egrep'
10798 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10799 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10800 EGREP=$ac_cv_prog_egrep
10803 if test $ac_cv_c_compiler_gnu = yes; then
10804 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10805 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10806 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 ac_pattern="Autoconf.*'x'"
10810 cat >conftest.$ac_ext <<_ACEOF
10811 #line $LINENO "configure"
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10821 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10822 ac_cv_prog_gcc_traditional=yes
10824 ac_cv_prog_gcc_traditional=no
10829 if test $ac_cv_prog_gcc_traditional = no; then
10830 cat >conftest.$ac_ext <<_ACEOF
10831 #line $LINENO "configure"
10834 cat confdefs.h >>conftest.$ac_ext
10835 cat >>conftest.$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837 #include <termio.h>
10840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10841 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10842 ac_cv_prog_gcc_traditional=yes
10848 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10849 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10850 if test $ac_cv_prog_gcc_traditional = yes; then
10851 CC="$CC -traditional"
10859 ac_cpp='$CXXCPP $CPPFLAGS'
10860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10865 CXXFLAGS=${CXXFLAGS:=}
10867 ac_cpp='$CXXCPP $CPPFLAGS'
10868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10871 if test -n "$ac_tool_prefix"; then
10872 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10876 echo "$as_me:$LINENO: checking for $ac_word" >&5
10877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10878 if test "${ac_cv_prog_CXX+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10881 if test -n "$CXX"; then
10882 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10885 for as_dir in $PATH
10888 test -z "$as_dir" && as_dir=.
10889 for ac_exec_ext in '' $ac_executable_extensions; do
10890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10891 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10900 CXX=$ac_cv_prog_CXX
10901 if test -n "$CXX"; then
10902 echo "$as_me:$LINENO: result: $CXX" >&5
10903 echo "${ECHO_T}$CXX" >&6
10905 echo "$as_me:$LINENO: result: no" >&5
10906 echo "${ECHO_T}no" >&6
10909 test -n "$CXX" && break
10912 if test -z "$CXX"; then
10914 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10916 # Extract the first word of "$ac_prog", so it can be a program name with args.
10917 set dummy $ac_prog; ac_word=$2
10918 echo "$as_me:$LINENO: checking for $ac_word" >&5
10919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10920 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 if test -n "$ac_ct_CXX"; then
10924 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10927 for as_dir in $PATH
10930 test -z "$as_dir" && as_dir=.
10931 for ac_exec_ext in '' $ac_executable_extensions; do
10932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10933 ac_cv_prog_ac_ct_CXX="$ac_prog"
10934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10942 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10943 if test -n "$ac_ct_CXX"; then
10944 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10945 echo "${ECHO_T}$ac_ct_CXX" >&6
10947 echo "$as_me:$LINENO: result: no" >&5
10948 echo "${ECHO_T}no" >&6
10951 test -n "$ac_ct_CXX" && break
10953 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10959 # Provide some information about the compiler.
10960 echo "$as_me:$LINENO:" \
10961 "checking for C++ compiler version" >&5
10962 ac_compiler=`set X $ac_compile; echo $2`
10963 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10964 (eval $ac_compiler --version </dev/null >&5) 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }
10968 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10969 (eval $ac_compiler -v </dev/null >&5) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }
10973 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10974 (eval $ac_compiler -V </dev/null >&5) 2>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }
10979 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10980 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10981 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10982 echo $ECHO_N "(cached) $ECHO_C" >&6
10984 cat >conftest.$ac_ext <<_ACEOF
10985 #line $LINENO "configure"
10988 cat confdefs.h >>conftest.$ac_ext
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
11003 rm -f conftest.$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); } &&
11009 { ac_try='test -s conftest.$ac_objext'
11010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011 (eval $ac_try) 2>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); }; }; then
11015 ac_compiler_gnu=yes
11017 echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11022 rm -f conftest.$ac_objext conftest.$ac_ext
11023 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11026 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11027 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11028 GXX=`test $ac_compiler_gnu = yes && echo yes`
11029 ac_test_CXXFLAGS=${CXXFLAGS+set}
11030 ac_save_CXXFLAGS=$CXXFLAGS
11032 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11033 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11034 if test "${ac_cv_prog_cxx_g+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 cat >conftest.$ac_ext <<_ACEOF
11038 #line $LINENO "configure"
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11053 rm -f conftest.$ac_objext
11054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11055 (eval $ac_compile) 2>&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } &&
11059 { ac_try='test -s conftest.$ac_objext'
11060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11061 (eval $ac_try) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; }; then
11065 ac_cv_prog_cxx_g=yes
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.$ac_ext >&5
11070 ac_cv_prog_cxx_g=no
11072 rm -f conftest.$ac_objext conftest.$ac_ext
11074 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11075 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11076 if test "$ac_test_CXXFLAGS" = set; then
11077 CXXFLAGS=$ac_save_CXXFLAGS
11078 elif test $ac_cv_prog_cxx_g = yes; then
11079 if test "$GXX" = yes; then
11085 if test "$GXX" = yes; then
11091 for ac_declaration in \
11093 '#include <stdlib.h>' \
11094 'extern "C" void std::exit (int) throw (); using std::exit;' \
11095 'extern "C" void std::exit (int); using std::exit;' \
11096 'extern "C" void exit (int) throw ();' \
11097 'extern "C" void exit (int);' \
11100 cat >conftest.$ac_ext <<_ACEOF
11101 #line $LINENO "configure"
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11107 #include <stdlib.h>
11117 rm -f conftest.$ac_objext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try='test -s conftest.$ac_objext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11136 rm -f conftest.$ac_objext conftest.$ac_ext
11137 cat >conftest.$ac_ext <<_ACEOF
11138 #line $LINENO "configure"
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11153 rm -f conftest.$ac_objext
11154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11155 (eval $ac_compile) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } &&
11159 { ac_try='test -s conftest.$ac_objext'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; }; then
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11171 rm -f conftest.$ac_objext conftest.$ac_ext
11174 if test -n "$ac_declaration"; then
11175 echo '#ifdef __cplusplus' >>confdefs.h
11176 echo $ac_declaration >>confdefs.h
11177 echo '#endif' >>confdefs.h
11181 ac_cpp='$CXXCPP $CPPFLAGS'
11182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11188 ac_cpp='$CPP $CPPFLAGS'
11189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11194 if test -n "$ac_tool_prefix"; then
11195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11197 echo "$as_me:$LINENO: checking for $ac_word" >&5
11198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11199 if test "${ac_cv_prog_RANLIB+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 if test -n "$RANLIB"; then
11203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11206 for as_dir in $PATH
11209 test -z "$as_dir" && as_dir=.
11210 for ac_exec_ext in '' $ac_executable_extensions; do
11211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11221 RANLIB=$ac_cv_prog_RANLIB
11222 if test -n "$RANLIB"; then
11223 echo "$as_me:$LINENO: result: $RANLIB" >&5
11224 echo "${ECHO_T}$RANLIB" >&6
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11231 if test -z "$ac_cv_prog_RANLIB"; then
11232 ac_ct_RANLIB=$RANLIB
11233 # Extract the first word of "ranlib", so it can be a program name with args.
11234 set dummy ranlib; ac_word=$2
11235 echo "$as_me:$LINENO: checking for $ac_word" >&5
11236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11237 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 if test -n "$ac_ct_RANLIB"; then
11241 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11244 for as_dir in $PATH
11247 test -z "$as_dir" && as_dir=.
11248 for ac_exec_ext in '' $ac_executable_extensions; do
11249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11250 ac_cv_prog_ac_ct_RANLIB="ranlib"
11251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11257 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11260 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11261 if test -n "$ac_ct_RANLIB"; then
11262 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11263 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11265 echo "$as_me:$LINENO: result: no" >&5
11266 echo "${ECHO_T}no" >&6
11269 RANLIB=$ac_ct_RANLIB
11271 RANLIB="$ac_cv_prog_RANLIB"
11275 # Extract the first word of "ar", so it can be a program name with args.
11276 set dummy ar; ac_word=$2
11277 echo "$as_me:$LINENO: checking for $ac_word" >&5
11278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11279 if test "${ac_cv_prog_AR+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 if test -n "$AR"; then
11283 ac_cv_prog_AR="$AR" # Let the user override the test.
11285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286 for as_dir in $PATH
11289 test -z "$as_dir" && as_dir=.
11290 for ac_exec_ext in '' $ac_executable_extensions; do
11291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11299 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11303 if test -n "$AR"; then
11304 echo "$as_me:$LINENO: result: $AR" >&5
11305 echo "${ECHO_T}$AR" >&6
11307 echo "$as_me:$LINENO: result: no" >&5
11308 echo "${ECHO_T}no" >&6
11312 # Find a good install program. We prefer a C program (faster),
11313 # so one script is as good as another. But avoid the broken or
11314 # incompatible versions:
11315 # SysV /etc/install, /usr/sbin/install
11316 # SunOS /usr/etc/install
11317 # IRIX /sbin/install
11319 # AmigaOS /C/install, which installs bootblocks on floppy discs
11320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11323 # ./install, which can be erroneously created by make from ./install.sh.
11324 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11325 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11326 if test -z "$INSTALL"; then
11327 if test "${ac_cv_path_install+set}" = set; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331 for as_dir in $PATH
11334 test -z "$as_dir" && as_dir=.
11335 # Account for people who put trailing slashes in PATH elements.
11337 ./ | .// | /cC/* | \
11338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11341 # OSF1 and SCO ODT 3.0 have their own names for install.
11342 # Don't use installbsd from OSF since it installs stuff as root
11344 for ac_prog in ginstall scoinst install; do
11345 for ac_exec_ext in '' $ac_executable_extensions; do
11346 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11347 if test $ac_prog = install &&
11348 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11349 # AIX install. It has an incompatible calling convention.
11351 elif test $ac_prog = install &&
11352 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11353 # program-specific install script used by HP pwplus--don't use.
11356 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11368 if test "${ac_cv_path_install+set}" = set; then
11369 INSTALL=$ac_cv_path_install
11371 # As a last resort, use the slow shell script. We don't cache a
11372 # path for INSTALL within a source directory, because that will
11373 # break other packages using the cache if that directory is
11374 # removed, or if the path is relative.
11375 INSTALL=$ac_install_sh
11378 echo "$as_me:$LINENO: result: $INSTALL" >&5
11379 echo "${ECHO_T}$INSTALL" >&6
11381 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11382 # It thinks the first close brace ends the variable substitution.
11383 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11385 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11387 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11393 ?:* ) # Drive letter, considered as absolute.
11396 INSTALL=`pwd`/${INSTALL} ;;
11401 INSTALL_DIR="mkdir"
11404 *) INSTALL_DIR="$INSTALL -d"
11411 powerpc-*-darwin* )
11412 INSTALL_PROGRAM="cp -fp"
11413 INSTALL_DATA="cp -fp"
11419 # Extract the first word of "strip", so it can be a program name with args.
11420 set dummy strip; ac_word=$2
11421 echo "$as_me:$LINENO: checking for $ac_word" >&5
11422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11423 if test "${ac_cv_prog_STRIP+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 if test -n "$STRIP"; then
11427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11430 for as_dir in $PATH
11433 test -z "$as_dir" && as_dir=.
11434 for ac_exec_ext in '' $ac_executable_extensions; do
11435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11436 ac_cv_prog_STRIP="strip"
11437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11443 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11446 STRIP=$ac_cv_prog_STRIP
11447 if test -n "$STRIP"; then
11448 echo "$as_me:$LINENO: result: $STRIP" >&5
11449 echo "${ECHO_T}$STRIP" >&6
11451 echo "$as_me:$LINENO: result: no" >&5
11452 echo "${ECHO_T}no" >&6
11456 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11457 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11458 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11462 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11463 egrep -s GNU > /dev/null); then
11464 wx_cv_prog_makeisgnu="yes"
11466 wx_cv_prog_makeisgnu="no"
11470 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11471 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11473 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11481 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11482 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11483 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11484 if test "${wx_cv_prog_makevpath+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 cat - << EOF > confMake
11494 if test ! -d sub ; then
11497 echo dummy > sub/file
11498 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11500 rm -f sub/file check final_file confMake
11502 if test "$RESULT" = 0; then
11503 wx_cv_prog_makevpath="yes"
11505 wx_cv_prog_makevpath="no"
11509 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11510 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11512 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11513 { { echo "$as_me:$LINENO: error:
11514 You need a make-utility that is able to use the variable
11516 If your version of make does not support VPATH correctly,
11517 please install GNU-make (possibly as gmake), and start
11518 configure with the following command:
11519 export MAKE=gmake; ./configure for sh-type shells
11520 setenv MAKE gmake; ./configure for csh-type shells
11521 Also please do remember to use gmake in this case every time
11522 you are trying to compile.
11524 echo "$as_me: error:
11525 You need a make-utility that is able to use the variable
11527 If your version of make does not support VPATH correctly,
11528 please install GNU-make (possibly as gmake), and start
11529 configure with the following command:
11530 export MAKE=gmake; ./configure for sh-type shells
11531 setenv MAKE gmake; ./configure for csh-type shells
11532 Also please do remember to use gmake in this case every time
11533 you are trying to compile.
11535 { (exit 1); exit 1; }; }
11537 for ac_prog in 'bison -y' byacc
11539 # Extract the first word of "$ac_prog", so it can be a program name with args.
11540 set dummy $ac_prog; ac_word=$2
11541 echo "$as_me:$LINENO: checking for $ac_word" >&5
11542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11543 if test "${ac_cv_prog_YACC+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 if test -n "$YACC"; then
11547 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11550 for as_dir in $PATH
11553 test -z "$as_dir" && as_dir=.
11554 for ac_exec_ext in '' $ac_executable_extensions; do
11555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11556 ac_cv_prog_YACC="$ac_prog"
11557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11565 YACC=$ac_cv_prog_YACC
11566 if test -n "$YACC"; then
11567 echo "$as_me:$LINENO: result: $YACC" >&5
11568 echo "${ECHO_T}$YACC" >&6
11570 echo "$as_me:$LINENO: result: no" >&5
11571 echo "${ECHO_T}no" >&6
11574 test -n "$YACC" && break
11576 test -n "$YACC" || YACC="yacc"
11579 for ac_prog in flex lex
11581 # Extract the first word of "$ac_prog", so it can be a program name with args.
11582 set dummy $ac_prog; ac_word=$2
11583 echo "$as_me:$LINENO: checking for $ac_word" >&5
11584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11585 if test "${ac_cv_prog_LEX+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 if test -n "$LEX"; then
11589 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592 for as_dir in $PATH
11595 test -z "$as_dir" && as_dir=.
11596 for ac_exec_ext in '' $ac_executable_extensions; do
11597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11598 ac_cv_prog_LEX="$ac_prog"
11599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11607 LEX=$ac_cv_prog_LEX
11608 if test -n "$LEX"; then
11609 echo "$as_me:$LINENO: result: $LEX" >&5
11610 echo "${ECHO_T}$LEX" >&6
11612 echo "$as_me:$LINENO: result: no" >&5
11613 echo "${ECHO_T}no" >&6
11616 test -n "$LEX" && break
11618 test -n "$LEX" || LEX=":"
11620 if test -z "$LEXLIB"
11622 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11623 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11624 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 ac_check_lib_save_LIBS=$LIBS
11629 cat >conftest.$ac_ext <<_ACEOF
11630 #line $LINENO "configure"
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11637 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11652 rm -f conftest.$ac_objext conftest$ac_exeext
11653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11654 (eval $ac_link) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } &&
11658 { ac_try='test -s conftest$ac_exeext'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; }; then
11664 ac_cv_lib_fl_yywrap=yes
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.$ac_ext >&5
11669 ac_cv_lib_fl_yywrap=no
11671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11675 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11676 if test $ac_cv_lib_fl_yywrap = yes; then
11679 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11680 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11681 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 ac_check_lib_save_LIBS=$LIBS
11686 cat >conftest.$ac_ext <<_ACEOF
11687 #line $LINENO "configure"
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11694 /* Override any gcc2 internal prototype to avoid an error. */
11698 /* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11709 rm -f conftest.$ac_objext conftest$ac_exeext
11710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11711 (eval $ac_link) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try='test -s conftest$ac_exeext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_lib_l_yywrap=yes
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11726 ac_cv_lib_l_yywrap=no
11728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11729 LIBS=$ac_check_lib_save_LIBS
11731 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11732 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11733 if test $ac_cv_lib_l_yywrap = yes; then
11741 if test "x$LEX" != "x:"; then
11742 echo "$as_me:$LINENO: checking lex output file root" >&5
11743 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11744 if test "${ac_cv_prog_lex_root+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11747 # The minimal lex program is just a single line: %%. But some broken lexes
11748 # (Solaris, I think it was) want two %% lines, so accommodate them.
11749 cat >conftest.l <<_ACEOF
11753 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11754 (eval $LEX conftest.l) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }
11758 if test -f lex.yy.c; then
11759 ac_cv_prog_lex_root=lex.yy
11760 elif test -f lexyy.c; then
11761 ac_cv_prog_lex_root=lexyy
11763 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11764 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11765 { (exit 1); exit 1; }; }
11768 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11769 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11771 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11773 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11774 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11775 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 # POSIX says lex can declare yytext either as a pointer or an array; the
11779 # default is implementation-dependent. Figure out which it is, since
11780 # not all implementations provide the %pointer and %array declarations.
11781 ac_cv_prog_lex_yytext_pointer=no
11782 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11784 LIBS="$LIBS $LEXLIB"
11785 cat >conftest.$ac_ext <<_ACEOF
11786 `cat $LEX_OUTPUT_ROOT.c`
11788 rm -f conftest.$ac_objext conftest$ac_exeext
11789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11790 (eval $ac_link) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try='test -s conftest$ac_exeext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 ac_cv_prog_lex_yytext_pointer=yes
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11808 rm -f "${LEX_OUTPUT_ROOT}.c"
11811 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11812 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11813 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11815 cat >>confdefs.h <<\_ACEOF
11816 #define YYTEXT_POINTER 1
11823 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11824 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11826 if test "$LN_S" = "ln -s"; then
11827 echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6
11830 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11831 echo "${ECHO_T}no, using $LN_S" >&6
11836 *-pc-os2_emx | *-pc-os2-emx )
11837 LIBS="$LIBS -lstdcpp"
11838 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11839 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11840 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11841 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-lcExt $LIBS"
11846 cat >conftest.$ac_ext <<_ACEOF
11847 #line $LINENO "configure"
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11854 /* Override any gcc2 internal prototype to avoid an error. */
11858 /* We use char because int might match the return type of a gcc2
11859 builtin and then its argument prototype would still apply. */
11869 rm -f conftest.$ac_objext conftest$ac_exeext
11870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11871 (eval $ac_link) 2>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } &&
11875 { ac_try='test -s conftest$ac_exeext'
11876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11877 (eval $ac_try) 2>&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); }; }; then
11881 ac_cv_lib_cExt_drand48=yes
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11886 ac_cv_lib_cExt_drand48=no
11888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11889 LIBS=$ac_check_lib_save_LIBS
11891 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11892 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11893 if test $ac_cv_lib_cExt_drand48 = yes; then
11894 LIBS="$LIBS -lcExt"
11898 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11904 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11905 echo "$as_me:$LINENO: checking for strings.h" >&5
11906 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11907 if test "${ac_cv_header_strings_h+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 ac_cv_header_strings_h=no
11912 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11913 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11914 if test "$ac_cv_header_strings_h" = "no"; then
11915 echo "$as_me:$LINENO: result: forced no into cache" >&5
11916 echo "${ECHO_T}forced no into cache" >&6
11918 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11919 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11922 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11923 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11924 if test "${ac_cv_header_stdc+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 cat >conftest.$ac_ext <<_ACEOF
11928 #line $LINENO "configure"
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11934 #include <stdlib.h>
11935 #include <stdarg.h>
11936 #include <string.h>
11947 rm -f conftest.$ac_objext
11948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11949 (eval $ac_compile) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } &&
11953 { ac_try='test -s conftest.$ac_objext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 ac_cv_header_stdc=yes
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11964 ac_cv_header_stdc=no
11966 rm -f conftest.$ac_objext conftest.$ac_ext
11968 if test $ac_cv_header_stdc = yes; then
11969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11970 cat >conftest.$ac_ext <<_ACEOF
11971 #line $LINENO "configure"
11974 cat confdefs.h >>conftest.$ac_ext
11975 cat >>conftest.$ac_ext <<_ACEOF
11976 /* end confdefs.h. */
11977 #include <string.h>
11980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11981 $EGREP "memchr" >/dev/null 2>&1; then
11984 ac_cv_header_stdc=no
11990 if test $ac_cv_header_stdc = yes; then
11991 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11992 cat >conftest.$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 #include <stdlib.h>
12002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12003 $EGREP "free" >/dev/null 2>&1; then
12006 ac_cv_header_stdc=no
12012 if test $ac_cv_header_stdc = yes; then
12013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12014 if test "$cross_compiling" = yes; then
12017 cat >conftest.$ac_ext <<_ACEOF
12018 #line $LINENO "configure"
12021 cat confdefs.h >>conftest.$ac_ext
12022 cat >>conftest.$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12025 #if ((' ' & 0x0FF) == 0x020)
12026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12029 # define ISLOWER(c) \
12030 (('a' <= (c) && (c) <= 'i') \
12031 || ('j' <= (c) && (c) <= 'r') \
12032 || ('s' <= (c) && (c) <= 'z'))
12033 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12036 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12041 for (i = 0; i < 256; i++)
12042 if (XOR (islower (i), ISLOWER (i))
12043 || toupper (i) != TOUPPER (i))
12048 rm -f conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; }; then
12061 echo "$as_me: program exited with status $ac_status" >&5
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ( exit $ac_status )
12066 ac_cv_header_stdc=no
12068 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12072 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12073 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12074 if test $ac_cv_header_stdc = yes; then
12076 cat >>confdefs.h <<\_ACEOF
12077 #define STDC_HEADERS 1
12082 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12092 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12093 inttypes.h stdint.h unistd.h
12095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12096 echo "$as_me:$LINENO: checking for $ac_header" >&5
12097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 cat >conftest.$ac_ext <<_ACEOF
12102 #line $LINENO "configure"
12105 cat confdefs.h >>conftest.$ac_ext
12106 cat >>conftest.$ac_ext <<_ACEOF
12107 /* end confdefs.h. */
12108 $ac_includes_default
12110 #include <$ac_header>
12112 rm -f conftest.$ac_objext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12114 (eval $ac_compile) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try='test -s conftest.$ac_objext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 eval "$as_ac_Header=yes"
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.$ac_ext >&5
12129 eval "$as_ac_Header=no"
12131 rm -f conftest.$ac_objext conftest.$ac_ext
12133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12136 cat >>confdefs.h <<_ACEOF
12137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12146 for ac_header in strings.h
12148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12150 echo "$as_me:$LINENO: checking for $ac_header" >&5
12151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12158 # Is the header compilable?
12159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12161 cat >conftest.$ac_ext <<_ACEOF
12162 #line $LINENO "configure"
12165 cat confdefs.h >>conftest.$ac_ext
12166 cat >>conftest.$ac_ext <<_ACEOF
12167 /* end confdefs.h. */
12168 $ac_includes_default
12169 #include <$ac_header>
12171 rm -f conftest.$ac_objext
12172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12173 (eval $ac_compile) 2>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try='test -s conftest.$ac_objext'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; }; then
12183 ac_header_compiler=yes
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 ac_header_compiler=no
12190 rm -f conftest.$ac_objext conftest.$ac_ext
12191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12192 echo "${ECHO_T}$ac_header_compiler" >&6
12194 # Is the header present?
12195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12197 cat >conftest.$ac_ext <<_ACEOF
12198 #line $LINENO "configure"
12201 cat confdefs.h >>conftest.$ac_ext
12202 cat >>conftest.$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12204 #include <$ac_header>
12206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12209 grep -v '^ *+' conftest.er1 >conftest.err
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } >/dev/null; then
12214 if test -s conftest.err; then
12215 ac_cpp_err=$ac_c_preproc_warn_flag
12222 if test -z "$ac_cpp_err"; then
12223 ac_header_preproc=yes
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12228 ac_header_preproc=no
12230 rm -f conftest.err conftest.$ac_ext
12231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12232 echo "${ECHO_T}$ac_header_preproc" >&6
12234 # So? What about this header?
12235 case $ac_header_compiler:$ac_header_preproc in
12237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12243 ## ------------------------------------ ##
12244 ## Report this to bug-autoconf@gnu.org. ##
12245 ## ------------------------------------ ##
12248 sed "s/^/$as_me: WARNING: /" >&2
12251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12259 ## ------------------------------------ ##
12260 ## Report this to bug-autoconf@gnu.org. ##
12261 ## ------------------------------------ ##
12264 sed "s/^/$as_me: WARNING: /" >&2
12267 echo "$as_me:$LINENO: checking for $ac_header" >&5
12268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 eval "$as_ac_Header=$ac_header_preproc"
12274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12279 cat >>confdefs.h <<_ACEOF
12280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12289 for ac_header in stdlib.h
12291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12293 echo "$as_me:$LINENO: checking for $ac_header" >&5
12294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12296 echo $ECHO_N "(cached) $ECHO_C" >&6
12298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12301 # Is the header compilable?
12302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12304 cat >conftest.$ac_ext <<_ACEOF
12305 #line $LINENO "configure"
12308 cat confdefs.h >>conftest.$ac_ext
12309 cat >>conftest.$ac_ext <<_ACEOF
12310 /* end confdefs.h. */
12311 $ac_includes_default
12312 #include <$ac_header>
12314 rm -f conftest.$ac_objext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12316 (eval $ac_compile) 2>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try='test -s conftest.$ac_objext'
12321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322 (eval $ac_try) 2>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); }; }; then
12326 ac_header_compiler=yes
12328 echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12331 ac_header_compiler=no
12333 rm -f conftest.$ac_objext conftest.$ac_ext
12334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12335 echo "${ECHO_T}$ac_header_compiler" >&6
12337 # Is the header present?
12338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12340 cat >conftest.$ac_ext <<_ACEOF
12341 #line $LINENO "configure"
12344 cat confdefs.h >>conftest.$ac_ext
12345 cat >>conftest.$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12347 #include <$ac_header>
12349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12352 grep -v '^ *+' conftest.er1 >conftest.err
12354 cat conftest.err >&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); } >/dev/null; then
12357 if test -s conftest.err; then
12358 ac_cpp_err=$ac_c_preproc_warn_flag
12365 if test -z "$ac_cpp_err"; then
12366 ac_header_preproc=yes
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.$ac_ext >&5
12371 ac_header_preproc=no
12373 rm -f conftest.err conftest.$ac_ext
12374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12375 echo "${ECHO_T}$ac_header_preproc" >&6
12377 # So? What about this header?
12378 case $ac_header_compiler:$ac_header_preproc in
12380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12386 ## ------------------------------------ ##
12387 ## Report this to bug-autoconf@gnu.org. ##
12388 ## ------------------------------------ ##
12391 sed "s/^/$as_me: WARNING: /" >&2
12394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12402 ## ------------------------------------ ##
12403 ## Report this to bug-autoconf@gnu.org. ##
12404 ## ------------------------------------ ##
12407 sed "s/^/$as_me: WARNING: /" >&2
12410 echo "$as_me:$LINENO: checking for $ac_header" >&5
12411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 eval "$as_ac_Header=$ac_header_preproc"
12417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12422 cat >>confdefs.h <<_ACEOF
12423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12431 for ac_header in malloc.h
12433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12435 echo "$as_me:$LINENO: checking for $ac_header" >&5
12436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12443 # Is the header compilable?
12444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12446 cat >conftest.$ac_ext <<_ACEOF
12447 #line $LINENO "configure"
12450 cat confdefs.h >>conftest.$ac_ext
12451 cat >>conftest.$ac_ext <<_ACEOF
12452 /* end confdefs.h. */
12453 $ac_includes_default
12454 #include <$ac_header>
12456 rm -f conftest.$ac_objext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12458 (eval $ac_compile) 2>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } &&
12462 { ac_try='test -s conftest.$ac_objext'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; }; then
12468 ac_header_compiler=yes
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_header_compiler=no
12475 rm -f conftest.$ac_objext conftest.$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12477 echo "${ECHO_T}$ac_header_compiler" >&6
12479 # Is the header present?
12480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12482 cat >conftest.$ac_ext <<_ACEOF
12483 #line $LINENO "configure"
12486 cat confdefs.h >>conftest.$ac_ext
12487 cat >>conftest.$ac_ext <<_ACEOF
12488 /* end confdefs.h. */
12489 #include <$ac_header>
12491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12494 grep -v '^ *+' conftest.er1 >conftest.err
12496 cat conftest.err >&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } >/dev/null; then
12499 if test -s conftest.err; then
12500 ac_cpp_err=$ac_c_preproc_warn_flag
12507 if test -z "$ac_cpp_err"; then
12508 ac_header_preproc=yes
12510 echo "$as_me: failed program was:" >&5
12511 sed 's/^/| /' conftest.$ac_ext >&5
12513 ac_header_preproc=no
12515 rm -f conftest.err conftest.$ac_ext
12516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12517 echo "${ECHO_T}$ac_header_preproc" >&6
12519 # So? What about this header?
12520 case $ac_header_compiler:$ac_header_preproc in
12522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12528 ## ------------------------------------ ##
12529 ## Report this to bug-autoconf@gnu.org. ##
12530 ## ------------------------------------ ##
12533 sed "s/^/$as_me: WARNING: /" >&2
12536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12544 ## ------------------------------------ ##
12545 ## Report this to bug-autoconf@gnu.org. ##
12546 ## ------------------------------------ ##
12549 sed "s/^/$as_me: WARNING: /" >&2
12552 echo "$as_me:$LINENO: checking for $ac_header" >&5
12553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12557 eval "$as_ac_Header=$ac_header_preproc"
12559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12564 cat >>confdefs.h <<_ACEOF
12565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12573 for ac_header in unistd.h
12575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12577 echo "$as_me:$LINENO: checking for $ac_header" >&5
12578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12585 # Is the header compilable?
12586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12588 cat >conftest.$ac_ext <<_ACEOF
12589 #line $LINENO "configure"
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12595 $ac_includes_default
12596 #include <$ac_header>
12598 rm -f conftest.$ac_objext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -s conftest.$ac_objext'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; }; then
12610 ac_header_compiler=yes
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.$ac_ext >&5
12615 ac_header_compiler=no
12617 rm -f conftest.$ac_objext conftest.$ac_ext
12618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12619 echo "${ECHO_T}$ac_header_compiler" >&6
12621 # Is the header present?
12622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12624 cat >conftest.$ac_ext <<_ACEOF
12625 #line $LINENO "configure"
12628 cat confdefs.h >>conftest.$ac_ext
12629 cat >>conftest.$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12631 #include <$ac_header>
12633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1 >conftest.err
12638 cat conftest.err >&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } >/dev/null; then
12641 if test -s conftest.err; then
12642 ac_cpp_err=$ac_c_preproc_warn_flag
12649 if test -z "$ac_cpp_err"; then
12650 ac_header_preproc=yes
12652 echo "$as_me: failed program was:" >&5
12653 sed 's/^/| /' conftest.$ac_ext >&5
12655 ac_header_preproc=no
12657 rm -f conftest.err conftest.$ac_ext
12658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12659 echo "${ECHO_T}$ac_header_preproc" >&6
12661 # So? What about this header?
12662 case $ac_header_compiler:$ac_header_preproc in
12664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12670 ## ------------------------------------ ##
12671 ## Report this to bug-autoconf@gnu.org. ##
12672 ## ------------------------------------ ##
12675 sed "s/^/$as_me: WARNING: /" >&2
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12686 ## ------------------------------------ ##
12687 ## Report this to bug-autoconf@gnu.org. ##
12688 ## ------------------------------------ ##
12691 sed "s/^/$as_me: WARNING: /" >&2
12694 echo "$as_me:$LINENO: checking for $ac_header" >&5
12695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 eval "$as_ac_Header=$ac_header_preproc"
12701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12706 cat >>confdefs.h <<_ACEOF
12707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12715 for ac_header in wchar.h
12717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12719 echo "$as_me:$LINENO: checking for $ac_header" >&5
12720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12722 echo $ECHO_N "(cached) $ECHO_C" >&6
12724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12727 # Is the header compilable?
12728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12730 cat >conftest.$ac_ext <<_ACEOF
12731 #line $LINENO "configure"
12734 cat confdefs.h >>conftest.$ac_ext
12735 cat >>conftest.$ac_ext <<_ACEOF
12736 /* end confdefs.h. */
12737 $ac_includes_default
12738 #include <$ac_header>
12740 rm -f conftest.$ac_objext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742 (eval $ac_compile) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } &&
12746 { ac_try='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 ac_header_compiler=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12757 ac_header_compiler=no
12759 rm -f conftest.$ac_objext conftest.$ac_ext
12760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12761 echo "${ECHO_T}$ac_header_compiler" >&6
12763 # Is the header present?
12764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12766 cat >conftest.$ac_ext <<_ACEOF
12767 #line $LINENO "configure"
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773 #include <$ac_header>
12775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12778 grep -v '^ *+' conftest.er1 >conftest.err
12780 cat conftest.err >&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); } >/dev/null; then
12783 if test -s conftest.err; then
12784 ac_cpp_err=$ac_c_preproc_warn_flag
12791 if test -z "$ac_cpp_err"; then
12792 ac_header_preproc=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12797 ac_header_preproc=no
12799 rm -f conftest.err conftest.$ac_ext
12800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12801 echo "${ECHO_T}$ac_header_preproc" >&6
12803 # So? What about this header?
12804 case $ac_header_compiler:$ac_header_preproc in
12806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12812 ## ------------------------------------ ##
12813 ## Report this to bug-autoconf@gnu.org. ##
12814 ## ------------------------------------ ##
12817 sed "s/^/$as_me: WARNING: /" >&2
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12828 ## ------------------------------------ ##
12829 ## Report this to bug-autoconf@gnu.org. ##
12830 ## ------------------------------------ ##
12833 sed "s/^/$as_me: WARNING: /" >&2
12836 echo "$as_me:$LINENO: checking for $ac_header" >&5
12837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 eval "$as_ac_Header=$ac_header_preproc"
12843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12848 cat >>confdefs.h <<_ACEOF
12849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12857 if test "$ac_cv_header_wchar_h" != "yes"; then
12859 for ac_header in wcstr.h
12861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12863 echo "$as_me:$LINENO: checking for $ac_header" >&5
12864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12871 # Is the header compilable?
12872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12874 cat >conftest.$ac_ext <<_ACEOF
12875 #line $LINENO "configure"
12878 cat confdefs.h >>conftest.$ac_ext
12879 cat >>conftest.$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12881 $ac_includes_default
12882 #include <$ac_header>
12884 rm -f conftest.$ac_objext
12885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12886 (eval $ac_compile) 2>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 ac_header_compiler=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.$ac_ext >&5
12901 ac_header_compiler=no
12903 rm -f conftest.$ac_objext conftest.$ac_ext
12904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12905 echo "${ECHO_T}$ac_header_compiler" >&6
12907 # Is the header present?
12908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12910 cat >conftest.$ac_ext <<_ACEOF
12911 #line $LINENO "configure"
12914 cat confdefs.h >>conftest.$ac_ext
12915 cat >>conftest.$ac_ext <<_ACEOF
12916 /* end confdefs.h. */
12917 #include <$ac_header>
12919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12922 grep -v '^ *+' conftest.er1 >conftest.err
12924 cat conftest.err >&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); } >/dev/null; then
12927 if test -s conftest.err; then
12928 ac_cpp_err=$ac_c_preproc_warn_flag
12935 if test -z "$ac_cpp_err"; then
12936 ac_header_preproc=yes
12938 echo "$as_me: failed program was:" >&5
12939 sed 's/^/| /' conftest.$ac_ext >&5
12941 ac_header_preproc=no
12943 rm -f conftest.err conftest.$ac_ext
12944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12945 echo "${ECHO_T}$ac_header_preproc" >&6
12947 # So? What about this header?
12948 case $ac_header_compiler:$ac_header_preproc in
12950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12956 ## ------------------------------------ ##
12957 ## Report this to bug-autoconf@gnu.org. ##
12958 ## ------------------------------------ ##
12961 sed "s/^/$as_me: WARNING: /" >&2
12964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12972 ## ------------------------------------ ##
12973 ## Report this to bug-autoconf@gnu.org. ##
12974 ## ------------------------------------ ##
12977 sed "s/^/$as_me: WARNING: /" >&2
12980 echo "$as_me:$LINENO: checking for $ac_header" >&5
12981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 eval "$as_ac_Header=$ac_header_preproc"
12987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12992 cat >>confdefs.h <<_ACEOF
12993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13003 for ac_header in fnmatch.h
13005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13007 echo "$as_me:$LINENO: checking for $ac_header" >&5
13008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13015 # Is the header compilable?
13016 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13018 cat >conftest.$ac_ext <<_ACEOF
13019 #line $LINENO "configure"
13022 cat confdefs.h >>conftest.$ac_ext
13023 cat >>conftest.$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13025 $ac_includes_default
13026 #include <$ac_header>
13028 rm -f conftest.$ac_objext
13029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13030 (eval $ac_compile) 2>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } &&
13034 { ac_try='test -s conftest.$ac_objext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_header_compiler=yes
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.$ac_ext >&5
13045 ac_header_compiler=no
13047 rm -f conftest.$ac_objext conftest.$ac_ext
13048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13049 echo "${ECHO_T}$ac_header_compiler" >&6
13051 # Is the header present?
13052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13054 cat >conftest.$ac_ext <<_ACEOF
13055 #line $LINENO "configure"
13058 cat confdefs.h >>conftest.$ac_ext
13059 cat >>conftest.$ac_ext <<_ACEOF
13060 /* end confdefs.h. */
13061 #include <$ac_header>
13063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13066 grep -v '^ *+' conftest.er1 >conftest.err
13068 cat conftest.err >&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } >/dev/null; then
13071 if test -s conftest.err; then
13072 ac_cpp_err=$ac_c_preproc_warn_flag
13079 if test -z "$ac_cpp_err"; then
13080 ac_header_preproc=yes
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13085 ac_header_preproc=no
13087 rm -f conftest.err conftest.$ac_ext
13088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13089 echo "${ECHO_T}$ac_header_preproc" >&6
13091 # So? What about this header?
13092 case $ac_header_compiler:$ac_header_preproc in
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13100 ## ------------------------------------ ##
13101 ## Report this to bug-autoconf@gnu.org. ##
13102 ## ------------------------------------ ##
13105 sed "s/^/$as_me: WARNING: /" >&2
13108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13116 ## ------------------------------------ ##
13117 ## Report this to bug-autoconf@gnu.org. ##
13118 ## ------------------------------------ ##
13121 sed "s/^/$as_me: WARNING: /" >&2
13124 echo "$as_me:$LINENO: checking for $ac_header" >&5
13125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 eval "$as_ac_Header=$ac_header_preproc"
13131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13136 cat >>confdefs.h <<_ACEOF
13137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13145 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13147 for ac_func in fnmatch
13149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13150 echo "$as_me:$LINENO: checking for $ac_func" >&5
13151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13152 if eval "test \"\${$as_ac_var+set}\" = set"; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 cat >conftest.$ac_ext <<_ACEOF
13156 #line $LINENO "configure"
13159 cat confdefs.h >>conftest.$ac_ext
13160 cat >>conftest.$ac_ext <<_ACEOF
13161 /* end confdefs.h. */
13162 /* System header to define __stub macros and hopefully few prototypes,
13163 which can conflict with char $ac_func (); below.
13164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13165 <limits.h> exists even on freestanding compilers. */
13167 # include <limits.h>
13169 # include <assert.h>
13171 /* Override any gcc2 internal prototype to avoid an error. */
13176 /* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13179 /* The GNU C library defines this for functions which it implements
13180 to always fail with ENOSYS. Some functions are actually named
13181 something starting with __ and the normal name is an alias. */
13182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13185 char (*f) () = $ac_func;
13194 return f != $ac_func;
13199 rm -f conftest.$ac_objext conftest$ac_exeext
13200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13201 (eval $ac_link) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try='test -s conftest$ac_exeext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13211 eval "$as_ac_var=yes"
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.$ac_ext >&5
13216 eval "$as_ac_var=no"
13218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13222 if test `eval echo '${'$as_ac_var'}'` = yes; then
13223 cat >>confdefs.h <<_ACEOF
13224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13233 for ac_header in langinfo.h
13235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo "$as_me:$LINENO: checking for $ac_header" >&5
13238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13245 # Is the header compilable?
13246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13248 cat >conftest.$ac_ext <<_ACEOF
13249 #line $LINENO "configure"
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13256 #include <$ac_header>
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } &&
13264 { ac_try='test -s conftest.$ac_objext'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; }; then
13270 ac_header_compiler=yes
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.$ac_ext >&5
13275 ac_header_compiler=no
13277 rm -f conftest.$ac_objext conftest.$ac_ext
13278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13279 echo "${ECHO_T}$ac_header_compiler" >&6
13281 # Is the header present?
13282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13284 cat >conftest.$ac_ext <<_ACEOF
13285 #line $LINENO "configure"
13288 cat confdefs.h >>conftest.$ac_ext
13289 cat >>conftest.$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 #include <$ac_header>
13293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13296 grep -v '^ *+' conftest.er1 >conftest.err
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } >/dev/null; then
13301 if test -s conftest.err; then
13302 ac_cpp_err=$ac_c_preproc_warn_flag
13309 if test -z "$ac_cpp_err"; then
13310 ac_header_preproc=yes
13312 echo "$as_me: failed program was:" >&5
13313 sed 's/^/| /' conftest.$ac_ext >&5
13315 ac_header_preproc=no
13317 rm -f conftest.err conftest.$ac_ext
13318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13319 echo "${ECHO_T}$ac_header_preproc" >&6
13321 # So? What about this header?
13322 case $ac_header_compiler:$ac_header_preproc in
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13330 ## ------------------------------------ ##
13331 ## Report this to bug-autoconf@gnu.org. ##
13332 ## ------------------------------------ ##
13335 sed "s/^/$as_me: WARNING: /" >&2
13338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13346 ## ------------------------------------ ##
13347 ## Report this to bug-autoconf@gnu.org. ##
13348 ## ------------------------------------ ##
13351 sed "s/^/$as_me: WARNING: /" >&2
13354 echo "$as_me:$LINENO: checking for $ac_header" >&5
13355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 eval "$as_ac_Header=$ac_header_preproc"
13361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13366 cat >>confdefs.h <<_ACEOF
13367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13376 *-pc-os2_emx | *-pc-os2-emx )
13377 if test $ac_cv_header_langinfo_h = "yes"; then
13378 LIBS="$LIBS -lintl"
13383 if test "$wxUSE_GUI" = "yes"; then
13384 if test "$wxUSE_UNIX" = "yes"; then
13386 for ac_header in X11/XKBlib.h
13388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13390 echo "$as_me:$LINENO: checking for $ac_header" >&5
13391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13398 # Is the header compilable?
13399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13401 cat >conftest.$ac_ext <<_ACEOF
13402 #line $LINENO "configure"
13405 cat confdefs.h >>conftest.$ac_ext
13406 cat >>conftest.$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13408 $ac_includes_default
13409 #include <$ac_header>
13411 rm -f conftest.$ac_objext
13412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13413 (eval $ac_compile) 2>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -s conftest.$ac_objext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 ac_header_compiler=yes
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13428 ac_header_compiler=no
13430 rm -f conftest.$ac_objext conftest.$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13432 echo "${ECHO_T}$ac_header_compiler" >&6
13434 # Is the header present?
13435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13437 cat >conftest.$ac_ext <<_ACEOF
13438 #line $LINENO "configure"
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 #include <$ac_header>
13446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13449 grep -v '^ *+' conftest.er1 >conftest.err
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } >/dev/null; then
13454 if test -s conftest.err; then
13455 ac_cpp_err=$ac_c_preproc_warn_flag
13462 if test -z "$ac_cpp_err"; then
13463 ac_header_preproc=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13468 ac_header_preproc=no
13470 rm -f conftest.err conftest.$ac_ext
13471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13472 echo "${ECHO_T}$ac_header_preproc" >&6
13474 # So? What about this header?
13475 case $ac_header_compiler:$ac_header_preproc in
13477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13483 ## ------------------------------------ ##
13484 ## Report this to bug-autoconf@gnu.org. ##
13485 ## ------------------------------------ ##
13488 sed "s/^/$as_me: WARNING: /" >&2
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13499 ## ------------------------------------ ##
13500 ## Report this to bug-autoconf@gnu.org. ##
13501 ## ------------------------------------ ##
13504 sed "s/^/$as_me: WARNING: /" >&2
13507 echo "$as_me:$LINENO: checking for $ac_header" >&5
13508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 eval "$as_ac_Header=$ac_header_preproc"
13514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13519 cat >>confdefs.h <<_ACEOF
13520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13531 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13532 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13533 if test "${ac_cv_c_const+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 cat >conftest.$ac_ext <<_ACEOF
13537 #line $LINENO "configure"
13540 cat confdefs.h >>conftest.$ac_ext
13541 cat >>conftest.$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13547 /* FIXME: Include the comments suggested by Paul. */
13548 #ifndef __cplusplus
13549 /* Ultrix mips cc rejects this. */
13550 typedef int charset[2];
13552 /* SunOS 4.1.1 cc rejects this. */
13553 char const *const *ccp;
13555 /* NEC SVR4.0.2 mips cc rejects this. */
13556 struct point {int x, y;};
13557 static struct point const zero = {0,0};
13558 /* AIX XL C 1.02.0.0 rejects this.
13559 It does not let you subtract one const X* pointer from another in
13560 an arm of an if-expression whose if-part is not a constant
13562 const char *g = "string";
13563 ccp = &g + (g ? g-g : 0);
13564 /* HPUX 7.0 cc rejects these. */
13567 ccp = (char const *const *) p;
13568 { /* SCO 3.2v4 cc rejects this. */
13570 char const *s = 0 ? (char *) 0 : (char const *) 0;
13574 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13575 int x[] = {25, 17};
13576 const int *foo = &x[0];
13579 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13580 typedef const int *iptr;
13584 { /* AIX XL C 1.02.0.0 rejects this saying
13585 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13586 struct s { int j; const int *ap[3]; };
13587 struct s *b; b->j = 5;
13589 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13590 const int foo = 10;
13598 rm -f conftest.$ac_objext
13599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13600 (eval $ac_compile) 2>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try='test -s conftest.$ac_objext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13617 rm -f conftest.$ac_objext conftest.$ac_ext
13619 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13620 echo "${ECHO_T}$ac_cv_c_const" >&6
13621 if test $ac_cv_c_const = no; then
13623 cat >>confdefs.h <<\_ACEOF
13629 echo "$as_me:$LINENO: checking for inline" >&5
13630 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13631 if test "${ac_cv_c_inline+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 for ac_kw in inline __inline__ __inline; do
13636 cat >conftest.$ac_ext <<_ACEOF
13637 #line $LINENO "configure"
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 #ifndef __cplusplus
13645 static $ac_kw foo_t static_foo () {return 0; }
13646 $ac_kw foo_t foo () {return 0; }
13650 rm -f conftest.$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } &&
13656 { ac_try='test -s conftest.$ac_objext'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; }; then
13662 ac_cv_c_inline=$ac_kw; break
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13668 rm -f conftest.$ac_objext conftest.$ac_ext
13672 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13673 echo "${ECHO_T}$ac_cv_c_inline" >&6
13674 case $ac_cv_c_inline in
13677 cat >>confdefs.h <<\_ACEOF
13681 *) cat >>confdefs.h <<_ACEOF
13682 #define inline $ac_cv_c_inline
13688 echo "$as_me:$LINENO: checking for char" >&5
13689 echo $ECHO_N "checking for char... $ECHO_C" >&6
13690 if test "${ac_cv_type_char+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 cat >conftest.$ac_ext <<_ACEOF
13694 #line $LINENO "configure"
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h. */
13700 $ac_includes_default
13712 rm -f conftest.$ac_objext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 ac_cv_type_char=yes
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13731 rm -f conftest.$ac_objext conftest.$ac_ext
13733 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13734 echo "${ECHO_T}$ac_cv_type_char" >&6
13736 echo "$as_me:$LINENO: checking size of char" >&5
13737 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13738 if test "${ac_cv_sizeof_char+set}" = set; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13741 if test "$ac_cv_type_char" = yes; then
13742 # The cast to unsigned long works around a bug in the HP C Compiler
13743 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13744 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13745 # This bug is HP SR number 8606223364.
13746 if test "$cross_compiling" = yes; then
13747 # Depending upon the size, compute the lo and hi bounds.
13748 cat >conftest.$ac_ext <<_ACEOF
13749 #line $LINENO "configure"
13752 cat confdefs.h >>conftest.$ac_ext
13753 cat >>conftest.$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 $ac_includes_default
13759 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13766 rm -f conftest.$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try='test -s conftest.$ac_objext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13780 cat >conftest.$ac_ext <<_ACEOF
13781 #line $LINENO "configure"
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 $ac_includes_default
13791 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13798 rm -f conftest.$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } &&
13804 { ac_try='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_hi=$ac_mid; break
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.$ac_ext >&5
13815 ac_lo=`expr $ac_mid + 1`
13816 if test $ac_lo -le $ac_mid; then
13820 ac_mid=`expr 2 '*' $ac_mid + 1`
13822 rm -f conftest.$ac_objext conftest.$ac_ext
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.$ac_ext >&5
13828 cat >conftest.$ac_ext <<_ACEOF
13829 #line $LINENO "configure"
13832 cat confdefs.h >>conftest.$ac_ext
13833 cat >>conftest.$ac_ext <<_ACEOF
13834 /* end confdefs.h. */
13835 $ac_includes_default
13839 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13846 rm -f conftest.$ac_objext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13848 (eval $ac_compile) 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try='test -s conftest.$ac_objext'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; }; then
13860 cat >conftest.$ac_ext <<_ACEOF
13861 #line $LINENO "configure"
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13871 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13878 rm -f conftest.$ac_objext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } &&
13884 { ac_try='test -s conftest.$ac_objext'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; }; then
13890 ac_lo=$ac_mid; break
13892 echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.$ac_ext >&5
13895 ac_hi=`expr '(' $ac_mid ')' - 1`
13896 if test $ac_mid -le $ac_hi; then
13900 ac_mid=`expr 2 '*' $ac_mid`
13902 rm -f conftest.$ac_objext conftest.$ac_ext
13905 echo "$as_me: failed program was:" >&5
13906 sed 's/^/| /' conftest.$ac_ext >&5
13910 rm -f conftest.$ac_objext conftest.$ac_ext
13912 rm -f conftest.$ac_objext conftest.$ac_ext
13913 # Binary search between lo and hi bounds.
13914 while test "x$ac_lo" != "x$ac_hi"; do
13915 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13916 cat >conftest.$ac_ext <<_ACEOF
13917 #line $LINENO "configure"
13920 cat confdefs.h >>conftest.$ac_ext
13921 cat >>conftest.$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13923 $ac_includes_default
13927 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13934 rm -f conftest.$ac_objext
13935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13936 (eval $ac_compile) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try='test -s conftest.$ac_objext'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; }; then
13948 echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.$ac_ext >&5
13951 ac_lo=`expr '(' $ac_mid ')' + 1`
13953 rm -f conftest.$ac_objext conftest.$ac_ext
13956 ?*) ac_cv_sizeof_char=$ac_lo;;
13957 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13958 See \`config.log' for more details." >&5
13959 echo "$as_me: error: cannot compute sizeof (char), 77
13960 See \`config.log' for more details." >&2;}
13961 { (exit 1); exit 1; }; } ;;
13964 if test "$cross_compiling" = yes; then
13965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13966 See \`config.log' for more details." >&5
13967 echo "$as_me: error: cannot run test program while cross compiling
13968 See \`config.log' for more details." >&2;}
13969 { (exit 1); exit 1; }; }
13971 cat >conftest.$ac_ext <<_ACEOF
13972 #line $LINENO "configure"
13975 cat confdefs.h >>conftest.$ac_ext
13976 cat >>conftest.$ac_ext <<_ACEOF
13977 /* end confdefs.h. */
13978 $ac_includes_default
13979 long longval () { return (long) (sizeof (char)); }
13980 unsigned long ulongval () { return (long) (sizeof (char)); }
13982 #include <stdlib.h>
13987 FILE *f = fopen ("conftest.val", "w");
13990 if (((long) (sizeof (char))) < 0)
13992 long i = longval ();
13993 if (i != ((long) (sizeof (char))))
13995 fprintf (f, "%ld\n", i);
13999 unsigned long i = ulongval ();
14000 if (i != ((long) (sizeof (char))))
14002 fprintf (f, "%lu\n", i);
14004 exit (ferror (f) || fclose (f) != 0);
14010 rm -f conftest$ac_exeext
14011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14012 (eval $ac_link) 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_sizeof_char=`cat conftest.val`
14023 echo "$as_me: program exited with status $ac_status" >&5
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.$ac_ext >&5
14027 ( exit $ac_status )
14028 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14029 See \`config.log' for more details." >&5
14030 echo "$as_me: error: cannot compute sizeof (char), 77
14031 See \`config.log' for more details." >&2;}
14032 { (exit 1); exit 1; }; }
14034 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14039 ac_cv_sizeof_char=0
14042 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14043 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14044 cat >>confdefs.h <<_ACEOF
14045 #define SIZEOF_CHAR $ac_cv_sizeof_char
14049 echo "$as_me:$LINENO: checking for short" >&5
14050 echo $ECHO_N "checking for short... $ECHO_C" >&6
14051 if test "${ac_cv_type_short+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 cat >conftest.$ac_ext <<_ACEOF
14055 #line $LINENO "configure"
14058 cat confdefs.h >>conftest.$ac_ext
14059 cat >>conftest.$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 $ac_includes_default
14067 if (sizeof (short))
14073 rm -f conftest.$ac_objext
14074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 (eval $ac_compile) 2>&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } &&
14079 { ac_try='test -s conftest.$ac_objext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 ac_cv_type_short=yes
14087 echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14090 ac_cv_type_short=no
14092 rm -f conftest.$ac_objext conftest.$ac_ext
14094 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14095 echo "${ECHO_T}$ac_cv_type_short" >&6
14097 echo "$as_me:$LINENO: checking size of short" >&5
14098 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14099 if test "${ac_cv_sizeof_short+set}" = set; then
14100 echo $ECHO_N "(cached) $ECHO_C" >&6
14102 if test "$ac_cv_type_short" = yes; then
14103 # The cast to unsigned long works around a bug in the HP C Compiler
14104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14106 # This bug is HP SR number 8606223364.
14107 if test "$cross_compiling" = yes; then
14108 # Depending upon the size, compute the lo and hi bounds.
14109 cat >conftest.$ac_ext <<_ACEOF
14110 #line $LINENO "configure"
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_includes_default
14120 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14127 rm -f conftest.$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } &&
14133 { ac_try='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14141 cat >conftest.$ac_ext <<_ACEOF
14142 #line $LINENO "configure"
14145 cat confdefs.h >>conftest.$ac_ext
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 $ac_includes_default
14152 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14159 rm -f conftest.$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try='test -s conftest.$ac_objext'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; }; then
14171 ac_hi=$ac_mid; break
14173 echo "$as_me: failed program was:" >&5
14174 sed 's/^/| /' conftest.$ac_ext >&5
14176 ac_lo=`expr $ac_mid + 1`
14177 if test $ac_lo -le $ac_mid; then
14181 ac_mid=`expr 2 '*' $ac_mid + 1`
14183 rm -f conftest.$ac_objext conftest.$ac_ext
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14189 cat >conftest.$ac_ext <<_ACEOF
14190 #line $LINENO "configure"
14193 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14196 $ac_includes_default
14200 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14207 rm -f conftest.$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14221 cat >conftest.$ac_ext <<_ACEOF
14222 #line $LINENO "configure"
14225 cat confdefs.h >>conftest.$ac_ext
14226 cat >>conftest.$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 $ac_includes_default
14232 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14239 rm -f conftest.$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 ac_lo=$ac_mid; break
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.$ac_ext >&5
14256 ac_hi=`expr '(' $ac_mid ')' - 1`
14257 if test $ac_mid -le $ac_hi; then
14261 ac_mid=`expr 2 '*' $ac_mid`
14263 rm -f conftest.$ac_objext conftest.$ac_ext
14266 echo "$as_me: failed program was:" >&5
14267 sed 's/^/| /' conftest.$ac_ext >&5
14271 rm -f conftest.$ac_objext conftest.$ac_ext
14273 rm -f conftest.$ac_objext conftest.$ac_ext
14274 # Binary search between lo and hi bounds.
14275 while test "x$ac_lo" != "x$ac_hi"; do
14276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14277 cat >conftest.$ac_ext <<_ACEOF
14278 #line $LINENO "configure"
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14284 $ac_includes_default
14288 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14295 rm -f conftest.$ac_objext
14296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14297 (eval $ac_compile) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); } &&
14301 { ac_try='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.$ac_ext >&5
14312 ac_lo=`expr '(' $ac_mid ')' + 1`
14314 rm -f conftest.$ac_objext conftest.$ac_ext
14317 ?*) ac_cv_sizeof_short=$ac_lo;;
14318 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14319 See \`config.log' for more details." >&5
14320 echo "$as_me: error: cannot compute sizeof (short), 77
14321 See \`config.log' for more details." >&2;}
14322 { (exit 1); exit 1; }; } ;;
14325 if test "$cross_compiling" = yes; then
14326 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14327 See \`config.log' for more details." >&5
14328 echo "$as_me: error: cannot run test program while cross compiling
14329 See \`config.log' for more details." >&2;}
14330 { (exit 1); exit 1; }; }
14332 cat >conftest.$ac_ext <<_ACEOF
14333 #line $LINENO "configure"
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14339 $ac_includes_default
14340 long longval () { return (long) (sizeof (short)); }
14341 unsigned long ulongval () { return (long) (sizeof (short)); }
14343 #include <stdlib.h>
14348 FILE *f = fopen ("conftest.val", "w");
14351 if (((long) (sizeof (short))) < 0)
14353 long i = longval ();
14354 if (i != ((long) (sizeof (short))))
14356 fprintf (f, "%ld\n", i);
14360 unsigned long i = ulongval ();
14361 if (i != ((long) (sizeof (short))))
14363 fprintf (f, "%lu\n", i);
14365 exit (ferror (f) || fclose (f) != 0);
14371 rm -f conftest$ac_exeext
14372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14373 (eval $ac_link) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14382 ac_cv_sizeof_short=`cat conftest.val`
14384 echo "$as_me: program exited with status $ac_status" >&5
14385 echo "$as_me: failed program was:" >&5
14386 sed 's/^/| /' conftest.$ac_ext >&5
14388 ( exit $ac_status )
14389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14390 See \`config.log' for more details." >&5
14391 echo "$as_me: error: cannot compute sizeof (short), 77
14392 See \`config.log' for more details." >&2;}
14393 { (exit 1); exit 1; }; }
14395 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14400 ac_cv_sizeof_short=0
14403 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14404 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14405 cat >>confdefs.h <<_ACEOF
14406 #define SIZEOF_SHORT $ac_cv_sizeof_short
14410 echo "$as_me:$LINENO: checking for void *" >&5
14411 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14412 if test "${ac_cv_type_void_p+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 cat >conftest.$ac_ext <<_ACEOF
14416 #line $LINENO "configure"
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 $ac_includes_default
14428 if (sizeof (void *))
14434 rm -f conftest.$ac_objext
14435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14436 (eval $ac_compile) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } &&
14440 { ac_try='test -s conftest.$ac_objext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_type_void_p=yes
14448 echo "$as_me: failed program was:" >&5
14449 sed 's/^/| /' conftest.$ac_ext >&5
14451 ac_cv_type_void_p=no
14453 rm -f conftest.$ac_objext conftest.$ac_ext
14455 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14456 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14458 echo "$as_me:$LINENO: checking size of void *" >&5
14459 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14460 if test "${ac_cv_sizeof_void_p+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 if test "$ac_cv_type_void_p" = yes; then
14464 # The cast to unsigned long works around a bug in the HP C Compiler
14465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14467 # This bug is HP SR number 8606223364.
14468 if test "$cross_compiling" = yes; then
14469 # Depending upon the size, compute the lo and hi bounds.
14470 cat >conftest.$ac_ext <<_ACEOF
14471 #line $LINENO "configure"
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 $ac_includes_default
14481 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14502 cat >conftest.$ac_ext <<_ACEOF
14503 #line $LINENO "configure"
14506 cat confdefs.h >>conftest.$ac_ext
14507 cat >>conftest.$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14509 $ac_includes_default
14513 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14520 rm -f conftest.$ac_objext
14521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14522 (eval $ac_compile) 2>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try='test -s conftest.$ac_objext'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; }; then
14532 ac_hi=$ac_mid; break
14534 echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.$ac_ext >&5
14537 ac_lo=`expr $ac_mid + 1`
14538 if test $ac_lo -le $ac_mid; then
14542 ac_mid=`expr 2 '*' $ac_mid + 1`
14544 rm -f conftest.$ac_objext conftest.$ac_ext
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.$ac_ext >&5
14550 cat >conftest.$ac_ext <<_ACEOF
14551 #line $LINENO "configure"
14554 cat confdefs.h >>conftest.$ac_ext
14555 cat >>conftest.$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14557 $ac_includes_default
14561 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14568 rm -f conftest.$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14582 cat >conftest.$ac_ext <<_ACEOF
14583 #line $LINENO "configure"
14586 cat confdefs.h >>conftest.$ac_ext
14587 cat >>conftest.$ac_ext <<_ACEOF
14588 /* end confdefs.h. */
14589 $ac_includes_default
14593 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14600 rm -f conftest.$ac_objext
14601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602 (eval $ac_compile) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try='test -s conftest.$ac_objext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14612 ac_lo=$ac_mid; break
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14617 ac_hi=`expr '(' $ac_mid ')' - 1`
14618 if test $ac_mid -le $ac_hi; then
14622 ac_mid=`expr 2 '*' $ac_mid`
14624 rm -f conftest.$ac_objext conftest.$ac_ext
14627 echo "$as_me: failed program was:" >&5
14628 sed 's/^/| /' conftest.$ac_ext >&5
14632 rm -f conftest.$ac_objext conftest.$ac_ext
14634 rm -f conftest.$ac_objext conftest.$ac_ext
14635 # Binary search between lo and hi bounds.
14636 while test "x$ac_lo" != "x$ac_hi"; do
14637 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14638 cat >conftest.$ac_ext <<_ACEOF
14639 #line $LINENO "configure"
14642 cat confdefs.h >>conftest.$ac_ext
14643 cat >>conftest.$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14649 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14656 rm -f conftest.$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } &&
14662 { ac_try='test -s conftest.$ac_objext'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; }; then
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.$ac_ext >&5
14673 ac_lo=`expr '(' $ac_mid ')' + 1`
14675 rm -f conftest.$ac_objext conftest.$ac_ext
14678 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14679 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14680 See \`config.log' for more details." >&5
14681 echo "$as_me: error: cannot compute sizeof (void *), 77
14682 See \`config.log' for more details." >&2;}
14683 { (exit 1); exit 1; }; } ;;
14686 if test "$cross_compiling" = yes; then
14687 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14688 See \`config.log' for more details." >&5
14689 echo "$as_me: error: cannot run test program while cross compiling
14690 See \`config.log' for more details." >&2;}
14691 { (exit 1); exit 1; }; }
14693 cat >conftest.$ac_ext <<_ACEOF
14694 #line $LINENO "configure"
14697 cat confdefs.h >>conftest.$ac_ext
14698 cat >>conftest.$ac_ext <<_ACEOF
14699 /* end confdefs.h. */
14700 $ac_includes_default
14701 long longval () { return (long) (sizeof (void *)); }
14702 unsigned long ulongval () { return (long) (sizeof (void *)); }
14704 #include <stdlib.h>
14709 FILE *f = fopen ("conftest.val", "w");
14712 if (((long) (sizeof (void *))) < 0)
14714 long i = longval ();
14715 if (i != ((long) (sizeof (void *))))
14717 fprintf (f, "%ld\n", i);
14721 unsigned long i = ulongval ();
14722 if (i != ((long) (sizeof (void *))))
14724 fprintf (f, "%lu\n", i);
14726 exit (ferror (f) || fclose (f) != 0);
14732 rm -f conftest$ac_exeext
14733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14734 (eval $ac_link) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_sizeof_void_p=`cat conftest.val`
14745 echo "$as_me: program exited with status $ac_status" >&5
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.$ac_ext >&5
14749 ( exit $ac_status )
14750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14751 See \`config.log' for more details." >&5
14752 echo "$as_me: error: cannot compute sizeof (void *), 77
14753 See \`config.log' for more details." >&2;}
14754 { (exit 1); exit 1; }; }
14756 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14761 ac_cv_sizeof_void_p=0
14764 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14765 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14766 cat >>confdefs.h <<_ACEOF
14767 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14771 echo "$as_me:$LINENO: checking for int" >&5
14772 echo $ECHO_N "checking for int... $ECHO_C" >&6
14773 if test "${ac_cv_type_int+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 cat >conftest.$ac_ext <<_ACEOF
14777 #line $LINENO "configure"
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14783 $ac_includes_default
14795 rm -f conftest.$ac_objext
14796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14797 (eval $ac_compile) 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -s conftest.$ac_objext'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; }; then
14809 echo "$as_me: failed program was:" >&5
14810 sed 's/^/| /' conftest.$ac_ext >&5
14814 rm -f conftest.$ac_objext conftest.$ac_ext
14816 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14817 echo "${ECHO_T}$ac_cv_type_int" >&6
14819 echo "$as_me:$LINENO: checking size of int" >&5
14820 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14821 if test "${ac_cv_sizeof_int+set}" = set; then
14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14824 if test "$ac_cv_type_int" = yes; then
14825 # The cast to unsigned long works around a bug in the HP C Compiler
14826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14828 # This bug is HP SR number 8606223364.
14829 if test "$cross_compiling" = yes; then
14830 # Depending upon the size, compute the lo and hi bounds.
14831 cat >conftest.$ac_ext <<_ACEOF
14832 #line $LINENO "configure"
14835 cat confdefs.h >>conftest.$ac_ext
14836 cat >>conftest.$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14838 $ac_includes_default
14842 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14849 rm -f conftest.$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14863 cat >conftest.$ac_ext <<_ACEOF
14864 #line $LINENO "configure"
14867 cat confdefs.h >>conftest.$ac_ext
14868 cat >>conftest.$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14870 $ac_includes_default
14874 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14881 rm -f conftest.$ac_objext
14882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14883 (eval $ac_compile) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } &&
14887 { ac_try='test -s conftest.$ac_objext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_hi=$ac_mid; break
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.$ac_ext >&5
14898 ac_lo=`expr $ac_mid + 1`
14899 if test $ac_lo -le $ac_mid; then
14903 ac_mid=`expr 2 '*' $ac_mid + 1`
14905 rm -f conftest.$ac_objext conftest.$ac_ext
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14911 cat >conftest.$ac_ext <<_ACEOF
14912 #line $LINENO "configure"
14915 cat confdefs.h >>conftest.$ac_ext
14916 cat >>conftest.$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14918 $ac_includes_default
14922 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14929 rm -f conftest.$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14943 cat >conftest.$ac_ext <<_ACEOF
14944 #line $LINENO "configure"
14947 cat confdefs.h >>conftest.$ac_ext
14948 cat >>conftest.$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14950 $ac_includes_default
14954 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14961 rm -f conftest.$ac_objext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14963 (eval $ac_compile) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 ac_lo=$ac_mid; break
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14978 ac_hi=`expr '(' $ac_mid ')' - 1`
14979 if test $ac_mid -le $ac_hi; then
14983 ac_mid=`expr 2 '*' $ac_mid`
14985 rm -f conftest.$ac_objext conftest.$ac_ext
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14993 rm -f conftest.$ac_objext conftest.$ac_ext
14995 rm -f conftest.$ac_objext conftest.$ac_ext
14996 # Binary search between lo and hi bounds.
14997 while test "x$ac_lo" != "x$ac_hi"; do
14998 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14999 cat >conftest.$ac_ext <<_ACEOF
15000 #line $LINENO "configure"
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006 $ac_includes_default
15010 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15017 rm -f conftest.$ac_objext
15018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15019 (eval $ac_compile) 2>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } &&
15023 { ac_try='test -s conftest.$ac_objext'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.$ac_ext >&5
15034 ac_lo=`expr '(' $ac_mid ')' + 1`
15036 rm -f conftest.$ac_objext conftest.$ac_ext
15039 ?*) ac_cv_sizeof_int=$ac_lo;;
15040 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15041 See \`config.log' for more details." >&5
15042 echo "$as_me: error: cannot compute sizeof (int), 77
15043 See \`config.log' for more details." >&2;}
15044 { (exit 1); exit 1; }; } ;;
15047 if test "$cross_compiling" = yes; then
15048 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15049 See \`config.log' for more details." >&5
15050 echo "$as_me: error: cannot run test program while cross compiling
15051 See \`config.log' for more details." >&2;}
15052 { (exit 1); exit 1; }; }
15054 cat >conftest.$ac_ext <<_ACEOF
15055 #line $LINENO "configure"
15058 cat confdefs.h >>conftest.$ac_ext
15059 cat >>conftest.$ac_ext <<_ACEOF
15060 /* end confdefs.h. */
15061 $ac_includes_default
15062 long longval () { return (long) (sizeof (int)); }
15063 unsigned long ulongval () { return (long) (sizeof (int)); }
15065 #include <stdlib.h>
15070 FILE *f = fopen ("conftest.val", "w");
15073 if (((long) (sizeof (int))) < 0)
15075 long i = longval ();
15076 if (i != ((long) (sizeof (int))))
15078 fprintf (f, "%ld\n", i);
15082 unsigned long i = ulongval ();
15083 if (i != ((long) (sizeof (int))))
15085 fprintf (f, "%lu\n", i);
15087 exit (ferror (f) || fclose (f) != 0);
15093 rm -f conftest$ac_exeext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15095 (eval $ac_link) 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 ac_cv_sizeof_int=`cat conftest.val`
15106 echo "$as_me: program exited with status $ac_status" >&5
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15110 ( exit $ac_status )
15111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15112 See \`config.log' for more details." >&5
15113 echo "$as_me: error: cannot compute sizeof (int), 77
15114 See \`config.log' for more details." >&2;}
15115 { (exit 1); exit 1; }; }
15117 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15125 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15126 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15127 cat >>confdefs.h <<_ACEOF
15128 #define SIZEOF_INT $ac_cv_sizeof_int
15132 echo "$as_me:$LINENO: checking for long" >&5
15133 echo $ECHO_N "checking for long... $ECHO_C" >&6
15134 if test "${ac_cv_type_long+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 cat >conftest.$ac_ext <<_ACEOF
15138 #line $LINENO "configure"
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144 $ac_includes_default
15156 rm -f conftest.$ac_objext
15157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15158 (eval $ac_compile) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); } &&
15162 { ac_try='test -s conftest.$ac_objext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_type_long=yes
15170 echo "$as_me: failed program was:" >&5
15171 sed 's/^/| /' conftest.$ac_ext >&5
15175 rm -f conftest.$ac_objext conftest.$ac_ext
15177 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15178 echo "${ECHO_T}$ac_cv_type_long" >&6
15180 echo "$as_me:$LINENO: checking size of long" >&5
15181 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15182 if test "${ac_cv_sizeof_long+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 if test "$ac_cv_type_long" = yes; then
15186 # The cast to unsigned long works around a bug in the HP C Compiler
15187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15189 # This bug is HP SR number 8606223364.
15190 if test "$cross_compiling" = yes; then
15191 # Depending upon the size, compute the lo and hi bounds.
15192 cat >conftest.$ac_ext <<_ACEOF
15193 #line $LINENO "configure"
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 $ac_includes_default
15203 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15210 rm -f conftest.$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15224 cat >conftest.$ac_ext <<_ACEOF
15225 #line $LINENO "configure"
15228 cat confdefs.h >>conftest.$ac_ext
15229 cat >>conftest.$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 $ac_includes_default
15235 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15242 rm -f conftest.$ac_objext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15244 (eval $ac_compile) 2>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } &&
15248 { ac_try='test -s conftest.$ac_objext'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; }; then
15254 ac_hi=$ac_mid; break
15256 echo "$as_me: failed program was:" >&5
15257 sed 's/^/| /' conftest.$ac_ext >&5
15259 ac_lo=`expr $ac_mid + 1`
15260 if test $ac_lo -le $ac_mid; then
15264 ac_mid=`expr 2 '*' $ac_mid + 1`
15266 rm -f conftest.$ac_objext conftest.$ac_ext
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 cat >conftest.$ac_ext <<_ACEOF
15273 #line $LINENO "configure"
15276 cat confdefs.h >>conftest.$ac_ext
15277 cat >>conftest.$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 $ac_includes_default
15283 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15290 rm -f conftest.$ac_objext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15304 cat >conftest.$ac_ext <<_ACEOF
15305 #line $LINENO "configure"
15308 cat confdefs.h >>conftest.$ac_ext
15309 cat >>conftest.$ac_ext <<_ACEOF
15310 /* end confdefs.h. */
15311 $ac_includes_default
15315 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15322 rm -f conftest.$ac_objext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15324 (eval $ac_compile) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_lo=$ac_mid; break
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15339 ac_hi=`expr '(' $ac_mid ')' - 1`
15340 if test $ac_mid -le $ac_hi; then
15344 ac_mid=`expr 2 '*' $ac_mid`
15346 rm -f conftest.$ac_objext conftest.$ac_ext
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.$ac_ext >&5
15354 rm -f conftest.$ac_objext conftest.$ac_ext
15356 rm -f conftest.$ac_objext conftest.$ac_ext
15357 # Binary search between lo and hi bounds.
15358 while test "x$ac_lo" != "x$ac_hi"; do
15359 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15360 cat >conftest.$ac_ext <<_ACEOF
15361 #line $LINENO "configure"
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367 $ac_includes_default
15371 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15378 rm -f conftest.$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15395 ac_lo=`expr '(' $ac_mid ')' + 1`
15397 rm -f conftest.$ac_objext conftest.$ac_ext
15400 ?*) ac_cv_sizeof_long=$ac_lo;;
15401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15402 See \`config.log' for more details." >&5
15403 echo "$as_me: error: cannot compute sizeof (long), 77
15404 See \`config.log' for more details." >&2;}
15405 { (exit 1); exit 1; }; } ;;
15408 if test "$cross_compiling" = yes; then
15409 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15410 See \`config.log' for more details." >&5
15411 echo "$as_me: error: cannot run test program while cross compiling
15412 See \`config.log' for more details." >&2;}
15413 { (exit 1); exit 1; }; }
15415 cat >conftest.$ac_ext <<_ACEOF
15416 #line $LINENO "configure"
15419 cat confdefs.h >>conftest.$ac_ext
15420 cat >>conftest.$ac_ext <<_ACEOF
15421 /* end confdefs.h. */
15422 $ac_includes_default
15423 long longval () { return (long) (sizeof (long)); }
15424 unsigned long ulongval () { return (long) (sizeof (long)); }
15426 #include <stdlib.h>
15431 FILE *f = fopen ("conftest.val", "w");
15434 if (((long) (sizeof (long))) < 0)
15436 long i = longval ();
15437 if (i != ((long) (sizeof (long))))
15439 fprintf (f, "%ld\n", i);
15443 unsigned long i = ulongval ();
15444 if (i != ((long) (sizeof (long))))
15446 fprintf (f, "%lu\n", i);
15448 exit (ferror (f) || fclose (f) != 0);
15454 rm -f conftest$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_cv_sizeof_long=`cat conftest.val`
15467 echo "$as_me: program exited with status $ac_status" >&5
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.$ac_ext >&5
15471 ( exit $ac_status )
15472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15473 See \`config.log' for more details." >&5
15474 echo "$as_me: error: cannot compute sizeof (long), 77
15475 See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; }
15478 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15483 ac_cv_sizeof_long=0
15486 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15487 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15488 cat >>confdefs.h <<_ACEOF
15489 #define SIZEOF_LONG $ac_cv_sizeof_long
15496 echo "$as_me:$LINENO: checking for long long" >&5
15497 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15498 if test "${ac_cv_type_long_long+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 cat >conftest.$ac_ext <<_ACEOF
15502 #line $LINENO "configure"
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15508 $ac_includes_default
15512 if ((long long *) 0)
15514 if (sizeof (long long))
15520 rm -f conftest.$ac_objext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_cv_type_long_long=yes
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15537 ac_cv_type_long_long=no
15539 rm -f conftest.$ac_objext conftest.$ac_ext
15541 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15542 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15544 echo "$as_me:$LINENO: checking size of long long" >&5
15545 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15546 if test "${ac_cv_sizeof_long_long+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 if test "$ac_cv_type_long_long" = yes; then
15550 # The cast to unsigned long works around a bug in the HP C Compiler
15551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15553 # This bug is HP SR number 8606223364.
15554 if test "$cross_compiling" = yes; then
15555 # Depending upon the size, compute the lo and hi bounds.
15556 cat >conftest.$ac_ext <<_ACEOF
15557 #line $LINENO "configure"
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15567 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15574 rm -f conftest.$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15588 cat >conftest.$ac_ext <<_ACEOF
15589 #line $LINENO "configure"
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 $ac_includes_default
15599 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15606 rm -f conftest.$ac_objext
15607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } &&
15612 { ac_try='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_hi=$ac_mid; break
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.$ac_ext >&5
15623 ac_lo=`expr $ac_mid + 1`
15624 if test $ac_lo -le $ac_mid; then
15628 ac_mid=`expr 2 '*' $ac_mid + 1`
15630 rm -f conftest.$ac_objext conftest.$ac_ext
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15636 cat >conftest.$ac_ext <<_ACEOF
15637 #line $LINENO "configure"
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643 $ac_includes_default
15647 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15654 rm -f conftest.$ac_objext
15655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 (eval $ac_compile) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try='test -s conftest.$ac_objext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15668 cat >conftest.$ac_ext <<_ACEOF
15669 #line $LINENO "configure"
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15675 $ac_includes_default
15679 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15686 rm -f conftest.$ac_objext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15688 (eval $ac_compile) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_lo=$ac_mid; break
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15703 ac_hi=`expr '(' $ac_mid ')' - 1`
15704 if test $ac_mid -le $ac_hi; then
15708 ac_mid=`expr 2 '*' $ac_mid`
15710 rm -f conftest.$ac_objext conftest.$ac_ext
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15718 rm -f conftest.$ac_objext conftest.$ac_ext
15720 rm -f conftest.$ac_objext conftest.$ac_ext
15721 # Binary search between lo and hi bounds.
15722 while test "x$ac_lo" != "x$ac_hi"; do
15723 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15724 cat >conftest.$ac_ext <<_ACEOF
15725 #line $LINENO "configure"
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15731 $ac_includes_default
15735 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15742 rm -f conftest.$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } &&
15748 { ac_try='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15759 ac_lo=`expr '(' $ac_mid ')' + 1`
15761 rm -f conftest.$ac_objext conftest.$ac_ext
15764 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15765 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15766 See \`config.log' for more details." >&5
15767 echo "$as_me: error: cannot compute sizeof (long long), 77
15768 See \`config.log' for more details." >&2;}
15769 { (exit 1); exit 1; }; } ;;
15772 if test "$cross_compiling" = yes; then
15773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15774 See \`config.log' for more details." >&5
15775 echo "$as_me: error: cannot run test program while cross compiling
15776 See \`config.log' for more details." >&2;}
15777 { (exit 1); exit 1; }; }
15779 cat >conftest.$ac_ext <<_ACEOF
15780 #line $LINENO "configure"
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15786 $ac_includes_default
15787 long longval () { return (long) (sizeof (long long)); }
15788 unsigned long ulongval () { return (long) (sizeof (long long)); }
15790 #include <stdlib.h>
15795 FILE *f = fopen ("conftest.val", "w");
15798 if (((long) (sizeof (long long))) < 0)
15800 long i = longval ();
15801 if (i != ((long) (sizeof (long long))))
15803 fprintf (f, "%ld\n", i);
15807 unsigned long i = ulongval ();
15808 if (i != ((long) (sizeof (long long))))
15810 fprintf (f, "%lu\n", i);
15812 exit (ferror (f) || fclose (f) != 0);
15818 rm -f conftest$ac_exeext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15820 (eval $ac_link) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; }; then
15829 ac_cv_sizeof_long_long=`cat conftest.val`
15831 echo "$as_me: program exited with status $ac_status" >&5
15832 echo "$as_me: failed program was:" >&5
15833 sed 's/^/| /' conftest.$ac_ext >&5
15835 ( exit $ac_status )
15836 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15837 See \`config.log' for more details." >&5
15838 echo "$as_me: error: cannot compute sizeof (long long), 77
15839 See \`config.log' for more details." >&2;}
15840 { (exit 1); exit 1; }; }
15842 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15847 ac_cv_sizeof_long_long=0
15850 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15851 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15852 cat >>confdefs.h <<_ACEOF
15853 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15859 echo "$as_me:$LINENO: checking for long long" >&5
15860 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15861 if test "${ac_cv_type_long_long+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 cat >conftest.$ac_ext <<_ACEOF
15865 #line $LINENO "configure"
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 $ac_includes_default
15875 if ((long long *) 0)
15877 if (sizeof (long long))
15883 rm -f conftest.$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_cv_type_long_long=yes
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15900 ac_cv_type_long_long=no
15902 rm -f conftest.$ac_objext conftest.$ac_ext
15904 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15905 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15907 echo "$as_me:$LINENO: checking size of long long" >&5
15908 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15909 if test "${ac_cv_sizeof_long_long+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 if test "$ac_cv_type_long_long" = yes; then
15913 # The cast to unsigned long works around a bug in the HP C Compiler
15914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15916 # This bug is HP SR number 8606223364.
15917 if test "$cross_compiling" = yes; then
15918 # Depending upon the size, compute the lo and hi bounds.
15919 cat >conftest.$ac_ext <<_ACEOF
15920 #line $LINENO "configure"
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 $ac_includes_default
15930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15937 rm -f conftest.$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15951 cat >conftest.$ac_ext <<_ACEOF
15952 #line $LINENO "configure"
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 $ac_includes_default
15962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15969 rm -f conftest.$ac_objext
15970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15971 (eval $ac_compile) 2>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try='test -s conftest.$ac_objext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 ac_hi=$ac_mid; break
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 ac_lo=`expr $ac_mid + 1`
15987 if test $ac_lo -le $ac_mid; then
15991 ac_mid=`expr 2 '*' $ac_mid + 1`
15993 rm -f conftest.$ac_objext conftest.$ac_ext
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15999 cat >conftest.$ac_ext <<_ACEOF
16000 #line $LINENO "configure"
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16010 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16017 rm -f conftest.$ac_objext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16031 cat >conftest.$ac_ext <<_ACEOF
16032 #line $LINENO "configure"
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16038 $ac_includes_default
16042 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16049 rm -f conftest.$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 ac_lo=$ac_mid; break
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16066 ac_hi=`expr '(' $ac_mid ')' - 1`
16067 if test $ac_mid -le $ac_hi; then
16071 ac_mid=`expr 2 '*' $ac_mid`
16073 rm -f conftest.$ac_objext conftest.$ac_ext
16076 echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16081 rm -f conftest.$ac_objext conftest.$ac_ext
16083 rm -f conftest.$ac_objext conftest.$ac_ext
16084 # Binary search between lo and hi bounds.
16085 while test "x$ac_lo" != "x$ac_hi"; do
16086 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16087 cat >conftest.$ac_ext <<_ACEOF
16088 #line $LINENO "configure"
16091 cat confdefs.h >>conftest.$ac_ext
16092 cat >>conftest.$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 $ac_includes_default
16098 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16105 rm -f conftest.$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } &&
16111 { ac_try='test -s conftest.$ac_objext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16122 ac_lo=`expr '(' $ac_mid ')' + 1`
16124 rm -f conftest.$ac_objext conftest.$ac_ext
16127 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16128 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16129 See \`config.log' for more details." >&5
16130 echo "$as_me: error: cannot compute sizeof (long long), 77
16131 See \`config.log' for more details." >&2;}
16132 { (exit 1); exit 1; }; } ;;
16135 if test "$cross_compiling" = yes; then
16136 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16137 See \`config.log' for more details." >&5
16138 echo "$as_me: error: cannot run test program while cross compiling
16139 See \`config.log' for more details." >&2;}
16140 { (exit 1); exit 1; }; }
16142 cat >conftest.$ac_ext <<_ACEOF
16143 #line $LINENO "configure"
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16149 $ac_includes_default
16150 long longval () { return (long) (sizeof (long long)); }
16151 unsigned long ulongval () { return (long) (sizeof (long long)); }
16153 #include <stdlib.h>
16158 FILE *f = fopen ("conftest.val", "w");
16161 if (((long) (sizeof (long long))) < 0)
16163 long i = longval ();
16164 if (i != ((long) (sizeof (long long))))
16166 fprintf (f, "%ld\n", i);
16170 unsigned long i = ulongval ();
16171 if (i != ((long) (sizeof (long long))))
16173 fprintf (f, "%lu\n", i);
16175 exit (ferror (f) || fclose (f) != 0);
16181 rm -f conftest$ac_exeext
16182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16183 (eval $ac_link) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; }; then
16192 ac_cv_sizeof_long_long=`cat conftest.val`
16194 echo "$as_me: program exited with status $ac_status" >&5
16195 echo "$as_me: failed program was:" >&5
16196 sed 's/^/| /' conftest.$ac_ext >&5
16198 ( exit $ac_status )
16199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16200 See \`config.log' for more details." >&5
16201 echo "$as_me: error: cannot compute sizeof (long long), 77
16202 See \`config.log' for more details." >&2;}
16203 { (exit 1); exit 1; }; }
16205 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16210 ac_cv_sizeof_long_long=0
16213 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16214 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16215 cat >>confdefs.h <<_ACEOF
16216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16220 if test "$ac_cv_sizeof_long_long" != "0"; then
16221 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16225 echo "$as_me:$LINENO: checking for long long" >&5
16226 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16227 if test "${ac_cv_type_long_long+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 cat >conftest.$ac_ext <<_ACEOF
16231 #line $LINENO "configure"
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 $ac_includes_default
16241 if ((long long *) 0)
16243 if (sizeof (long long))
16249 rm -f conftest.$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } &&
16255 { ac_try='test -s conftest.$ac_objext'
16256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16257 (eval $ac_try) 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }; }; then
16261 ac_cv_type_long_long=yes
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16266 ac_cv_type_long_long=no
16268 rm -f conftest.$ac_objext conftest.$ac_ext
16270 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16271 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16273 echo "$as_me:$LINENO: checking size of long long" >&5
16274 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16275 if test "${ac_cv_sizeof_long_long+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 if test "$ac_cv_type_long_long" = yes; then
16279 # The cast to unsigned long works around a bug in the HP C Compiler
16280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16282 # This bug is HP SR number 8606223364.
16283 if test "$cross_compiling" = yes; then
16284 # Depending upon the size, compute the lo and hi bounds.
16285 cat >conftest.$ac_ext <<_ACEOF
16286 #line $LINENO "configure"
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 $ac_includes_default
16296 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16303 rm -f conftest.$ac_objext
16304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16305 (eval $ac_compile) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16317 cat >conftest.$ac_ext <<_ACEOF
16318 #line $LINENO "configure"
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16328 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16335 rm -f conftest.$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try='test -s conftest.$ac_objext'
16342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343 (eval $ac_try) 2>&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; }; then
16347 ac_hi=$ac_mid; break
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.$ac_ext >&5
16352 ac_lo=`expr $ac_mid + 1`
16353 if test $ac_lo -le $ac_mid; then
16357 ac_mid=`expr 2 '*' $ac_mid + 1`
16359 rm -f conftest.$ac_objext conftest.$ac_ext
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16365 cat >conftest.$ac_ext <<_ACEOF
16366 #line $LINENO "configure"
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16376 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16383 rm -f conftest.$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16397 cat >conftest.$ac_ext <<_ACEOF
16398 #line $LINENO "configure"
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 $ac_includes_default
16408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16415 rm -f conftest.$ac_objext
16416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16417 (eval $ac_compile) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 ac_lo=$ac_mid; break
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16432 ac_hi=`expr '(' $ac_mid ')' - 1`
16433 if test $ac_mid -le $ac_hi; then
16437 ac_mid=`expr 2 '*' $ac_mid`
16439 rm -f conftest.$ac_objext conftest.$ac_ext
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16447 rm -f conftest.$ac_objext conftest.$ac_ext
16449 rm -f conftest.$ac_objext conftest.$ac_ext
16450 # Binary search between lo and hi bounds.
16451 while test "x$ac_lo" != "x$ac_hi"; do
16452 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16453 cat >conftest.$ac_ext <<_ACEOF
16454 #line $LINENO "configure"
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 $ac_includes_default
16464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16471 rm -f conftest.$ac_objext
16472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16473 (eval $ac_compile) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } &&
16477 { ac_try='test -s conftest.$ac_objext'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16488 ac_lo=`expr '(' $ac_mid ')' + 1`
16490 rm -f conftest.$ac_objext conftest.$ac_ext
16493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16494 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16495 See \`config.log' for more details." >&5
16496 echo "$as_me: error: cannot compute sizeof (long long), 77
16497 See \`config.log' for more details." >&2;}
16498 { (exit 1); exit 1; }; } ;;
16501 if test "$cross_compiling" = yes; then
16502 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16503 See \`config.log' for more details." >&5
16504 echo "$as_me: error: cannot run test program while cross compiling
16505 See \`config.log' for more details." >&2;}
16506 { (exit 1); exit 1; }; }
16508 cat >conftest.$ac_ext <<_ACEOF
16509 #line $LINENO "configure"
16512 cat confdefs.h >>conftest.$ac_ext
16513 cat >>conftest.$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 $ac_includes_default
16516 long longval () { return (long) (sizeof (long long)); }
16517 unsigned long ulongval () { return (long) (sizeof (long long)); }
16519 #include <stdlib.h>
16524 FILE *f = fopen ("conftest.val", "w");
16527 if (((long) (sizeof (long long))) < 0)
16529 long i = longval ();
16530 if (i != ((long) (sizeof (long long))))
16532 fprintf (f, "%ld\n", i);
16536 unsigned long i = ulongval ();
16537 if (i != ((long) (sizeof (long long))))
16539 fprintf (f, "%lu\n", i);
16541 exit (ferror (f) || fclose (f) != 0);
16547 rm -f conftest$ac_exeext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16549 (eval $ac_link) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16558 ac_cv_sizeof_long_long=`cat conftest.val`
16560 echo "$as_me: program exited with status $ac_status" >&5
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.$ac_ext >&5
16564 ( exit $ac_status )
16565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16566 See \`config.log' for more details." >&5
16567 echo "$as_me: error: cannot compute sizeof (long long), 77
16568 See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; }
16571 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16576 ac_cv_sizeof_long_long=0
16579 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16580 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16581 cat >>confdefs.h <<_ACEOF
16582 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16588 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16589 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16590 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 if test "$cross_compiling" = yes; then
16598 wx_cv_sizeof_wchar_t=0
16601 wx_cv_sizeof_wchar_t=4
16607 cat >conftest.$ac_ext <<_ACEOF
16608 #line $LINENO "configure"
16611 cat confdefs.h >>conftest.$ac_ext
16612 cat >>conftest.$ac_ext <<_ACEOF
16613 /* end confdefs.h. */
16615 /* DJGPP only has fake wchar_t: */
16617 # error "fake wchar_t"
16619 #ifdef HAVE_WCHAR_H
16621 # include <stddef.h>
16623 # include <wchar.h>
16625 #ifdef HAVE_STDLIB_H
16626 # include <stdlib.h>
16631 FILE *f=fopen("conftestval", "w");
16633 fprintf(f, "%i", sizeof(wchar_t));
16638 rm -f conftest$ac_exeext
16639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16640 (eval $ac_link) 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 wx_cv_sizeof_wchar_t=`cat conftestval`
16651 echo "$as_me: program exited with status $ac_status" >&5
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16655 ( exit $ac_status )
16656 wx_cv_sizeof_wchar_t=0
16658 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16662 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16663 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16665 cat >>confdefs.h <<_ACEOF
16666 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16670 # Check whether --enable-largefile or --disable-largefile was given.
16671 if test "${enable_largefile+set}" = set; then
16672 enableval="$enable_largefile"
16675 if test "$enable_largefile" != no; then
16678 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16679 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16680 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 cat >conftest.$ac_ext <<_ACEOF
16685 #line $LINENO "configure"
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #define _FILE_OFFSET_BITS 64
16692 #include <sys/types.h>
16697 unsigned int field: sizeof(off_t) == 8;
16704 rm -f conftest.$ac_objext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16706 (eval $ac_compile) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16716 ac_cv_sys_file_offset_bits=64
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16721 ac_cv_sys_file_offset_bits=no
16723 rm -f conftest.$ac_objext conftest.$ac_ext
16727 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16728 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16730 if test "$ac_cv_sys_file_offset_bits" != no; then
16732 cat >>confdefs.h <<_ACEOF
16733 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16738 if test "x$wx_largefile" != "xyes"; then
16740 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16741 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16742 if test "${ac_cv_sys_large_files+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 cat >conftest.$ac_ext <<_ACEOF
16747 #line $LINENO "configure"
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 #define _LARGE_FILES 1
16754 #include <sys/types.h>
16759 unsigned int field: sizeof(off_t) == 8;
16766 rm -f conftest.$ac_objext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -s conftest.$ac_objext'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; }; then
16778 ac_cv_sys_large_files=1
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16783 ac_cv_sys_large_files=no
16785 rm -f conftest.$ac_objext conftest.$ac_ext
16789 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16790 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16792 if test "$ac_cv_sys_large_files" != no; then
16794 cat >>confdefs.h <<_ACEOF
16795 #define _LARGE_FILES $ac_cv_sys_large_files
16802 echo "$as_me:$LINENO: checking if large file support is available" >&5
16803 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16804 if test "x$wx_largefile" = "xyes"; then
16805 cat >>confdefs.h <<\_ACEOF
16806 #define HAVE_LARGEFILE_SUPPORT 1
16810 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16811 echo "${ECHO_T}$wx_largefile" >&6
16815 if test "x$wx_largefile" = "xyes"; then
16816 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16817 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16819 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16821 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16824 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16825 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16826 if test "${ac_cv_c_bigendian+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 ac_cv_c_bigendian=unknown
16830 # See if sys/param.h defines the BYTE_ORDER macro.
16831 cat >conftest.$ac_ext <<_ACEOF
16832 #line $LINENO "configure"
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16838 #include <sys/types.h>
16839 #include <sys/param.h>
16844 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16845 bogus endian macros
16851 rm -f conftest.$ac_objext
16852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16853 (eval $ac_compile) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try='test -s conftest.$ac_objext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16863 # It does; now see whether it defined to BIG_ENDIAN or not.
16864 cat >conftest.$ac_ext <<_ACEOF
16865 #line $LINENO "configure"
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 #include <sys/types.h>
16872 #include <sys/param.h>
16877 #if BYTE_ORDER != BIG_ENDIAN
16884 rm -f conftest.$ac_objext
16885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16886 (eval $ac_compile) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
16890 { ac_try='test -s conftest.$ac_objext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16896 ac_cv_c_bigendian=yes
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.$ac_ext >&5
16901 ac_cv_c_bigendian=no
16903 rm -f conftest.$ac_objext conftest.$ac_ext
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16909 rm -f conftest.$ac_objext conftest.$ac_ext
16910 if test $ac_cv_c_bigendian = unknown; then
16911 if test "$cross_compiling" = yes; then
16912 ac_cv_c_bigendian=unknown
16914 cat >conftest.$ac_ext <<_ACEOF
16915 #line $LINENO "configure"
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16922 /* Are we little or big endian? From Harbison&Steele. */
16926 char c[sizeof (long)];
16929 exit (u.c[sizeof (long) - 1] == 1);
16932 rm -f conftest$ac_exeext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16934 (eval $ac_link) 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 ac_cv_c_bigendian=no
16945 echo "$as_me: program exited with status $ac_status" >&5
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ( exit $ac_status )
16950 ac_cv_c_bigendian=yes
16952 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16956 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16957 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16958 if test $ac_cv_c_bigendian = unknown; then
16959 { 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
16960 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;}
16962 if test $ac_cv_c_bigendian = yes; then
16963 cat >>confdefs.h <<\_ACEOF
16964 #define WORDS_BIGENDIAN 1
16972 ac_cpp='$CXXCPP $CPPFLAGS'
16973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16976 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16977 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16978 if test -z "$CXXCPP"; then
16979 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 # Double quotes because CXXCPP needs to be expanded
16983 for CXXCPP in "$CXX -E" "/lib/cpp"
16985 ac_preproc_ok=false
16986 for ac_cxx_preproc_warn_flag in '' yes
16988 # Use a header file that comes with gcc, so configuring glibc
16989 # with a fresh cross-compiler works.
16990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16991 # <limits.h> exists even on freestanding compilers.
16992 # On the NeXT, cc -E runs the code through the compiler's parser,
16993 # not just through cpp. "Syntax error" is here to catch this case.
16994 cat >conftest.$ac_ext <<_ACEOF
16995 #line $LINENO "configure"
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17002 # include <limits.h>
17004 # include <assert.h>
17008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17011 grep -v '^ *+' conftest.er1 >conftest.err
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } >/dev/null; then
17016 if test -s conftest.err; then
17017 ac_cpp_err=$ac_cxx_preproc_warn_flag
17024 if test -z "$ac_cpp_err"; then
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17030 # Broken: fails on valid input.
17033 rm -f conftest.err conftest.$ac_ext
17035 # OK, works on sane cases. Now check whether non-existent headers
17036 # can be detected and how.
17037 cat >conftest.$ac_ext <<_ACEOF
17038 #line $LINENO "configure"
17041 cat confdefs.h >>conftest.$ac_ext
17042 cat >>conftest.$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 #include <ac_nonexistent.h>
17046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } >/dev/null; then
17054 if test -s conftest.err; then
17055 ac_cpp_err=$ac_cxx_preproc_warn_flag
17062 if test -z "$ac_cpp_err"; then
17063 # Broken: success on invalid input.
17066 echo "$as_me: failed program was:" >&5
17067 sed 's/^/| /' conftest.$ac_ext >&5
17069 # Passes both tests.
17073 rm -f conftest.err conftest.$ac_ext
17076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17077 rm -f conftest.err conftest.$ac_ext
17078 if $ac_preproc_ok; then
17083 ac_cv_prog_CXXCPP=$CXXCPP
17086 CXXCPP=$ac_cv_prog_CXXCPP
17088 ac_cv_prog_CXXCPP=$CXXCPP
17090 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17091 echo "${ECHO_T}$CXXCPP" >&6
17092 ac_preproc_ok=false
17093 for ac_cxx_preproc_warn_flag in '' yes
17095 # Use a header file that comes with gcc, so configuring glibc
17096 # with a fresh cross-compiler works.
17097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17098 # <limits.h> exists even on freestanding compilers.
17099 # On the NeXT, cc -E runs the code through the compiler's parser,
17100 # not just through cpp. "Syntax error" is here to catch this case.
17101 cat >conftest.$ac_ext <<_ACEOF
17102 #line $LINENO "configure"
17105 cat confdefs.h >>conftest.$ac_ext
17106 cat >>conftest.$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17109 # include <limits.h>
17111 # include <assert.h>
17115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17118 grep -v '^ *+' conftest.er1 >conftest.err
17120 cat conftest.err >&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } >/dev/null; then
17123 if test -s conftest.err; then
17124 ac_cpp_err=$ac_cxx_preproc_warn_flag
17131 if test -z "$ac_cpp_err"; then
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17137 # Broken: fails on valid input.
17140 rm -f conftest.err conftest.$ac_ext
17142 # OK, works on sane cases. Now check whether non-existent headers
17143 # can be detected and how.
17144 cat >conftest.$ac_ext <<_ACEOF
17145 #line $LINENO "configure"
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151 #include <ac_nonexistent.h>
17153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17156 grep -v '^ *+' conftest.er1 >conftest.err
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } >/dev/null; then
17161 if test -s conftest.err; then
17162 ac_cpp_err=$ac_cxx_preproc_warn_flag
17169 if test -z "$ac_cpp_err"; then
17170 # Broken: success on invalid input.
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17176 # Passes both tests.
17180 rm -f conftest.err conftest.$ac_ext
17183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17184 rm -f conftest.err conftest.$ac_ext
17185 if $ac_preproc_ok; then
17188 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17189 See \`config.log' for more details." >&5
17190 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17191 See \`config.log' for more details." >&2;}
17192 { (exit 1); exit 1; }; }
17196 ac_cpp='$CXXCPP $CPPFLAGS'
17197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17203 if test "$cross_compiling" = "yes"; then
17204 cat >>confdefs.h <<\_ACEOF
17205 #define wxUSE_IOSTREAMH 1
17212 ac_cpp='$CXXCPP $CPPFLAGS'
17213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17219 for ac_header in iostream
17221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17223 echo "$as_me:$LINENO: checking for $ac_header" >&5
17224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17231 # Is the header compilable?
17232 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17233 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17234 cat >conftest.$ac_ext <<_ACEOF
17235 #line $LINENO "configure"
17238 cat confdefs.h >>conftest.$ac_ext
17239 cat >>conftest.$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17241 $ac_includes_default
17242 #include <$ac_header>
17244 rm -f conftest.$ac_objext
17245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_header_compiler=yes
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17261 ac_header_compiler=no
17263 rm -f conftest.$ac_objext conftest.$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17265 echo "${ECHO_T}$ac_header_compiler" >&6
17267 # Is the header present?
17268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17270 cat >conftest.$ac_ext <<_ACEOF
17271 #line $LINENO "configure"
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 #include <$ac_header>
17279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17282 grep -v '^ *+' conftest.er1 >conftest.err
17284 cat conftest.err >&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } >/dev/null; then
17287 if test -s conftest.err; then
17288 ac_cpp_err=$ac_cxx_preproc_warn_flag
17295 if test -z "$ac_cpp_err"; then
17296 ac_header_preproc=yes
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17301 ac_header_preproc=no
17303 rm -f conftest.err conftest.$ac_ext
17304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17305 echo "${ECHO_T}$ac_header_preproc" >&6
17307 # So? What about this header?
17308 case $ac_header_compiler:$ac_header_preproc in
17310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17316 ## ------------------------------------ ##
17317 ## Report this to bug-autoconf@gnu.org. ##
17318 ## ------------------------------------ ##
17321 sed "s/^/$as_me: WARNING: /" >&2
17324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17332 ## ------------------------------------ ##
17333 ## Report this to bug-autoconf@gnu.org. ##
17334 ## ------------------------------------ ##
17337 sed "s/^/$as_me: WARNING: /" >&2
17340 echo "$as_me:$LINENO: checking for $ac_header" >&5
17341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 eval "$as_ac_Header=$ac_header_preproc"
17347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17352 cat >>confdefs.h <<_ACEOF
17353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17361 if test "$ac_cv_header_iostream" = "yes" ; then
17364 cat >>confdefs.h <<\_ACEOF
17365 #define wxUSE_IOSTREAMH 1
17371 ac_cpp='$CPP $CPPFLAGS'
17372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17381 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17382 if test "${wx_cv_cpp_bool+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 ac_cpp='$CXXCPP $CPPFLAGS'
17390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17395 cat >conftest.$ac_ext <<_ACEOF
17396 #line $LINENO "configure"
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17416 rm -f conftest.$ac_objext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try='test -s conftest.$ac_objext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17440 rm -f conftest.$ac_objext conftest.$ac_ext
17443 ac_cpp='$CPP $CPPFLAGS'
17444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17450 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17451 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17453 if test "$wx_cv_cpp_bool" = "yes"; then
17454 cat >>confdefs.h <<\_ACEOF
17455 #define HAVE_BOOL 1
17462 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17463 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17464 if test "${wx_cv_explicit+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 ac_cpp='$CXXCPP $CPPFLAGS'
17472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17477 cat >conftest.$ac_ext <<_ACEOF
17478 #line $LINENO "configure"
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17485 class Foo { public: explicit Foo(int) {} };
17497 rm -f conftest.$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -s conftest.$ac_objext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17510 cat >conftest.$ac_ext <<_ACEOF
17511 #line $LINENO "configure"
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17518 class Foo { public: explicit Foo(int) {} };
17519 static void TakeFoo(const Foo& foo) { }
17532 rm -f conftest.$ac_objext
17533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17534 (eval $ac_compile) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -s conftest.$ac_objext'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; }; then
17546 echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17552 rm -f conftest.$ac_objext conftest.$ac_ext
17555 echo "$as_me: failed program was:" >&5
17556 sed 's/^/| /' conftest.$ac_ext >&5
17561 rm -f conftest.$ac_objext conftest.$ac_ext
17564 ac_cpp='$CPP $CPPFLAGS'
17565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17572 echo "${ECHO_T}$wx_cv_explicit" >&6
17574 if test "$wx_cv_explicit" = "yes"; then
17575 cat >>confdefs.h <<\_ACEOF
17576 #define HAVE_EXPLICIT 1
17582 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17583 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17584 if test "${ac_cv_cxx_const_cast+set}" = set; then
17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 ac_cpp='$CXXCPP $CPPFLAGS'
17591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17595 cat >conftest.$ac_ext <<_ACEOF
17596 #line $LINENO "configure"
17599 cat confdefs.h >>conftest.$ac_ext
17600 cat >>conftest.$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17606 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17611 rm -f conftest.$ac_objext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17613 (eval $ac_compile) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
17617 { ac_try='test -s conftest.$ac_objext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 ac_cv_cxx_const_cast=yes
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 ac_cv_cxx_const_cast=no
17630 rm -f conftest.$ac_objext conftest.$ac_ext
17632 ac_cpp='$CPP $CPPFLAGS'
17633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17640 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17641 if test "$ac_cv_cxx_const_cast" = yes; then
17643 cat >>confdefs.h <<\_ACEOF
17644 #define HAVE_CONST_CAST
17652 /usr/local/include \
17654 /usr/Motif-1.2/include \
17655 /usr/Motif-2.1/include \
17657 /usr/include/Motif1.2 \
17658 /opt/xpm/include/X11 \
17659 /opt/GBxpm/include/ \
17660 /opt/GBxpm/X11/include/ \
17662 /usr/Motif1.2/include \
17664 /usr/openwin/include \
17668 /usr/X11R6/include \
17669 /usr/X11R6.4/include \
17670 /usr/X11R5/include \
17671 /usr/X11R4/include \
17673 /usr/include/X11R6 \
17674 /usr/include/X11R5 \
17675 /usr/include/X11R4 \
17677 /usr/local/X11R6/include \
17678 /usr/local/X11R5/include \
17679 /usr/local/X11R4/include \
17681 /usr/local/include/X11R6 \
17682 /usr/local/include/X11R5 \
17683 /usr/local/include/X11R4 \
17687 /usr/local/X11/include \
17688 /usr/local/include/X11 \
17690 /usr/X386/include \
17691 /usr/x386/include \
17692 /usr/XFree86/include/X11 \
17694 X:/XFree86/include \
17695 X:/XFree86/include/X11 \
17698 /usr/local/include/gtk \
17699 /usr/include/glib \
17700 /usr/local/include/glib \
17703 /usr/local/include/qt \
17705 /usr/include/windows \
17706 /usr/include/wine \
17707 /usr/local/include/wine \
17709 /usr/unsupported/include \
17710 /usr/athena/include \
17711 /usr/local/x11r5/include \
17712 /usr/lpp/Xamples/include \
17714 /usr/openwin/share/include"
17716 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17719 cat >confcache <<\_ACEOF
17720 # This file is a shell script that caches the results of configure
17721 # tests run on this system so they can be shared between configure
17722 # scripts and configure runs, see configure's option --config-cache.
17723 # It is not useful on other systems. If it contains results you don't
17724 # want to keep, you may remove or edit it.
17726 # config.status only pays attention to the cache file if you give it
17727 # the --recheck option to rerun configure.
17729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17731 # following values.
17735 # The following way of writing the cache mishandles newlines in values,
17736 # but we know of no workaround that is simple, portable, and efficient.
17737 # So, don't put newlines in cache variables' values.
17738 # Ultrix sh set writes to stderr and can't be redirected directly,
17739 # and sets the high bit in the cache file unless we assign to the vars.
17742 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17744 # `set' does not quote correctly, so add quotes (double-quote
17745 # substitution turns \\\\ into \\, and sed turns \\ into \).
17748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17751 # `set' quotes correctly as required by POSIX, so do not add quotes.
17753 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17762 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17764 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17765 if test -w $cache_file; then
17766 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17767 cat confcache >$cache_file
17769 echo "not updating unwritable cache $cache_file"
17774 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17775 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17776 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17777 if test "${wx_cv_lib_glibc21+set}" = set; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17781 cat >conftest.$ac_ext <<_ACEOF
17782 #line $LINENO "configure"
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17788 #include <features.h>
17793 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17794 #error not glibc2.1
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17814 wx_cv_lib_glibc21=yes
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17821 wx_cv_lib_glibc21=no
17825 rm -f conftest.$ac_objext conftest.$ac_ext
17828 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17829 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17830 if test "$wx_cv_lib_glibc21" = "yes"; then
17831 cat >>confdefs.h <<\_ACEOF
17832 #define wxHAVE_GLIBC2 1
17838 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17839 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17840 cat >>confdefs.h <<\_ACEOF
17841 #define _GNU_SOURCE 1
17850 if test "$wxUSE_REGEX" != "no"; then
17851 cat >>confdefs.h <<\_ACEOF
17852 #define wxUSE_REGEX 1
17856 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17857 if test "${ac_cv_header_regex_h+set}" = set; then
17858 echo "$as_me:$LINENO: checking for regex.h" >&5
17859 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17860 if test "${ac_cv_header_regex_h+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17864 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17866 # Is the header compilable?
17867 echo "$as_me:$LINENO: checking regex.h usability" >&5
17868 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17869 cat >conftest.$ac_ext <<_ACEOF
17870 #line $LINENO "configure"
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876 $ac_includes_default
17879 rm -f conftest.$ac_objext
17880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } &&
17885 { ac_try='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_header_compiler=yes
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.$ac_ext >&5
17896 ac_header_compiler=no
17898 rm -f conftest.$ac_objext conftest.$ac_ext
17899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17900 echo "${ECHO_T}$ac_header_compiler" >&6
17902 # Is the header present?
17903 echo "$as_me:$LINENO: checking regex.h presence" >&5
17904 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17905 cat >conftest.$ac_ext <<_ACEOF
17906 #line $LINENO "configure"
17909 cat confdefs.h >>conftest.$ac_ext
17910 cat >>conftest.$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17917 grep -v '^ *+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } >/dev/null; then
17922 if test -s conftest.err; then
17923 ac_cpp_err=$ac_c_preproc_warn_flag
17930 if test -z "$ac_cpp_err"; then
17931 ac_header_preproc=yes
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 ac_header_preproc=no
17938 rm -f conftest.err conftest.$ac_ext
17939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17940 echo "${ECHO_T}$ac_header_preproc" >&6
17942 # So? What about this header?
17943 case $ac_header_compiler:$ac_header_preproc in
17945 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17946 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17947 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17948 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17951 ## ------------------------------------ ##
17952 ## Report this to bug-autoconf@gnu.org. ##
17953 ## ------------------------------------ ##
17956 sed "s/^/$as_me: WARNING: /" >&2
17959 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17960 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17961 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17962 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17963 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17964 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17967 ## ------------------------------------ ##
17968 ## Report this to bug-autoconf@gnu.org. ##
17969 ## ------------------------------------ ##
17972 sed "s/^/$as_me: WARNING: /" >&2
17975 echo "$as_me:$LINENO: checking for regex.h" >&5
17976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17977 if test "${ac_cv_header_regex_h+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 ac_cv_header_regex_h=$ac_header_preproc
17982 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17983 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17986 if test $ac_cv_header_regex_h = yes; then
17988 for ac_func in regcomp
17990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17991 echo "$as_me:$LINENO: checking for $ac_func" >&5
17992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17993 if eval "test \"\${$as_ac_var+set}\" = set"; then
17994 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 cat >conftest.$ac_ext <<_ACEOF
17997 #line $LINENO "configure"
18000 cat confdefs.h >>conftest.$ac_ext
18001 cat >>conftest.$ac_ext <<_ACEOF
18002 /* end confdefs.h. */
18003 /* System header to define __stub macros and hopefully few prototypes,
18004 which can conflict with char $ac_func (); below.
18005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18006 <limits.h> exists even on freestanding compilers. */
18008 # include <limits.h>
18010 # include <assert.h>
18012 /* Override any gcc2 internal prototype to avoid an error. */
18017 /* We use char because int might match the return type of a gcc2
18018 builtin and then its argument prototype would still apply. */
18020 /* The GNU C library defines this for functions which it implements
18021 to always fail with ENOSYS. Some functions are actually named
18022 something starting with __ and the normal name is an alias. */
18023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18026 char (*f) () = $ac_func;
18035 return f != $ac_func;
18040 rm -f conftest.$ac_objext conftest$ac_exeext
18041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18042 (eval $ac_link) 2>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try='test -s conftest$ac_exeext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 eval "$as_ac_var=yes"
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 eval "$as_ac_var=no"
18059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18063 if test `eval echo '${'$as_ac_var'}'` = yes; then
18064 cat >>confdefs.h <<_ACEOF
18065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18075 if test "x$ac_cv_func_regcomp" != "xyes"; then
18076 if test "$wxUSE_REGEX" = "sys" ; then
18077 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18078 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18079 { (exit 1); exit 1; }; }
18081 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18082 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18083 wxUSE_REGEX=builtin
18090 if test "$wxUSE_REGEX" = "builtin" ; then
18091 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18098 if test "$wxUSE_ZLIB" != "no" ; then
18099 cat >>confdefs.h <<\_ACEOF
18100 #define wxUSE_ZLIB 1
18104 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18105 if test "$USE_DARWIN" = 1; then
18106 system_zlib_h_ok="yes"
18108 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18109 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18110 if test "${ac_cv_header_zlib_h+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 if test "$cross_compiling" = yes; then
18114 unset ac_cv_header_zlib_h
18117 cat >conftest.$ac_ext <<_ACEOF
18118 #line $LINENO "configure"
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18130 FILE *f=fopen("conftestval", "w");
18133 ZLIB_VERSION[0] == '1' &&
18134 (ZLIB_VERSION[2] > '1' ||
18135 (ZLIB_VERSION[2] == '1' &&
18136 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18141 rm -f conftest$ac_exeext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18143 (eval $ac_link) 2>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_header_zlib_h=`cat conftestval`
18154 echo "$as_me: program exited with status $ac_status" >&5
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 ( exit $ac_status )
18159 ac_cv_header_zlib_h=no
18161 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18165 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18166 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18167 if test "${ac_cv_header_zlib_h+set}" = set; then
18168 echo "$as_me:$LINENO: checking for zlib.h" >&5
18169 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18170 if test "${ac_cv_header_zlib_h+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18174 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18176 # Is the header compilable?
18177 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18178 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18179 cat >conftest.$ac_ext <<_ACEOF
18180 #line $LINENO "configure"
18183 cat confdefs.h >>conftest.$ac_ext
18184 cat >>conftest.$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 $ac_includes_default
18189 rm -f conftest.$ac_objext
18190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18191 (eval $ac_compile) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try='test -s conftest.$ac_objext'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; }; then
18201 ac_header_compiler=yes
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18206 ac_header_compiler=no
18208 rm -f conftest.$ac_objext conftest.$ac_ext
18209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18210 echo "${ECHO_T}$ac_header_compiler" >&6
18212 # Is the header present?
18213 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18214 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18215 cat >conftest.$ac_ext <<_ACEOF
18216 #line $LINENO "configure"
18219 cat confdefs.h >>conftest.$ac_ext
18220 cat >>conftest.$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18227 grep -v '^ *+' conftest.er1 >conftest.err
18229 cat conftest.err >&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); } >/dev/null; then
18232 if test -s conftest.err; then
18233 ac_cpp_err=$ac_c_preproc_warn_flag
18240 if test -z "$ac_cpp_err"; then
18241 ac_header_preproc=yes
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.$ac_ext >&5
18246 ac_header_preproc=no
18248 rm -f conftest.err conftest.$ac_ext
18249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18250 echo "${ECHO_T}$ac_header_preproc" >&6
18252 # So? What about this header?
18253 case $ac_header_compiler:$ac_header_preproc in
18255 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18256 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18257 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18258 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18261 ## ------------------------------------ ##
18262 ## Report this to bug-autoconf@gnu.org. ##
18263 ## ------------------------------------ ##
18266 sed "s/^/$as_me: WARNING: /" >&2
18269 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18270 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18271 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18272 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18273 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18274 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18277 ## ------------------------------------ ##
18278 ## Report this to bug-autoconf@gnu.org. ##
18279 ## ------------------------------------ ##
18282 sed "s/^/$as_me: WARNING: /" >&2
18285 echo "$as_me:$LINENO: checking for zlib.h" >&5
18286 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18287 if test "${ac_cv_header_zlib_h+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 ac_cv_header_zlib_h=$ac_header_preproc
18292 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18293 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18299 system_zlib_h_ok=$ac_cv_header_zlib_h
18302 if test "$system_zlib_h_ok" = "yes"; then
18303 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18304 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18305 if test "${ac_cv_lib_z_deflate+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18308 ac_check_lib_save_LIBS=$LIBS
18310 cat >conftest.$ac_ext <<_ACEOF
18311 #line $LINENO "configure"
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18318 /* Override any gcc2 internal prototype to avoid an error. */
18322 /* We use char because int might match the return type of a gcc2
18323 builtin and then its argument prototype would still apply. */
18333 rm -f conftest.$ac_objext conftest$ac_exeext
18334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18335 (eval $ac_link) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -s conftest$ac_exeext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 ac_cv_lib_z_deflate=yes
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18350 ac_cv_lib_z_deflate=no
18352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18353 LIBS=$ac_check_lib_save_LIBS
18355 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18356 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18357 if test $ac_cv_lib_z_deflate = yes; then
18363 if test "x$ZLIB_LINK" = "x" ; then
18364 if test "$wxUSE_ZLIB" = "sys" ; then
18365 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18366 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18367 { (exit 1); exit 1; }; }
18369 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18370 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18378 if test "$wxUSE_ZLIB" = "builtin" ; then
18379 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18386 if test "$wxUSE_LIBPNG" != "no" ; then
18387 cat >>confdefs.h <<\_ACEOF
18388 #define wxUSE_LIBPNG 1
18392 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18393 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18394 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18398 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18399 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18400 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18401 wxUSE_LIBPNG=builtin
18404 if test "$wxUSE_MGL" != 1 ; then
18405 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18406 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18407 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18408 if test "${ac_cv_header_png_h+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 if test "$cross_compiling" = yes; then
18412 unset ac_cv_header_png_h
18415 cat >conftest.$ac_ext <<_ACEOF
18416 #line $LINENO "configure"
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18428 FILE *f=fopen("conftestval", "w");
18431 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18436 rm -f conftest$ac_exeext
18437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18438 (eval $ac_link) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_header_png_h=`cat conftestval`
18449 echo "$as_me: program exited with status $ac_status" >&5
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18453 ( exit $ac_status )
18454 ac_cv_header_png_h=no
18456 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18460 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18461 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18462 if test "${ac_cv_header_png_h+set}" = set; then
18463 echo "$as_me:$LINENO: checking for png.h" >&5
18464 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18465 if test "${ac_cv_header_png_h+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18469 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18471 # Is the header compilable?
18472 echo "$as_me:$LINENO: checking png.h usability" >&5
18473 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18474 cat >conftest.$ac_ext <<_ACEOF
18475 #line $LINENO "configure"
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481 $ac_includes_default
18484 rm -f conftest.$ac_objext
18485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18486 (eval $ac_compile) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try='test -s conftest.$ac_objext'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; }; then
18496 ac_header_compiler=yes
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18501 ac_header_compiler=no
18503 rm -f conftest.$ac_objext conftest.$ac_ext
18504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18505 echo "${ECHO_T}$ac_header_compiler" >&6
18507 # Is the header present?
18508 echo "$as_me:$LINENO: checking png.h presence" >&5
18509 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18510 cat >conftest.$ac_ext <<_ACEOF
18511 #line $LINENO "configure"
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18522 grep -v '^ *+' conftest.er1 >conftest.err
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } >/dev/null; then
18527 if test -s conftest.err; then
18528 ac_cpp_err=$ac_c_preproc_warn_flag
18535 if test -z "$ac_cpp_err"; then
18536 ac_header_preproc=yes
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18541 ac_header_preproc=no
18543 rm -f conftest.err conftest.$ac_ext
18544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18545 echo "${ECHO_T}$ac_header_preproc" >&6
18547 # So? What about this header?
18548 case $ac_header_compiler:$ac_header_preproc in
18550 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18551 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18552 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18553 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18556 ## ------------------------------------ ##
18557 ## Report this to bug-autoconf@gnu.org. ##
18558 ## ------------------------------------ ##
18561 sed "s/^/$as_me: WARNING: /" >&2
18564 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18565 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18566 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18567 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18568 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18569 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18572 ## ------------------------------------ ##
18573 ## Report this to bug-autoconf@gnu.org. ##
18574 ## ------------------------------------ ##
18577 sed "s/^/$as_me: WARNING: /" >&2
18580 echo "$as_me:$LINENO: checking for png.h" >&5
18581 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18582 if test "${ac_cv_header_png_h+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 ac_cv_header_png_h=$ac_header_preproc
18587 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18588 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18594 if test "$ac_cv_header_png_h" = "yes"; then
18595 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18596 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18597 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18600 ac_check_lib_save_LIBS=$LIBS
18601 LIBS="-lpng -lz -lm $LIBS"
18602 cat >conftest.$ac_ext <<_ACEOF
18603 #line $LINENO "configure"
18606 cat confdefs.h >>conftest.$ac_ext
18607 cat >>conftest.$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18610 /* Override any gcc2 internal prototype to avoid an error. */
18614 /* We use char because int might match the return type of a gcc2
18615 builtin and then its argument prototype would still apply. */
18616 char png_check_sig ();
18625 rm -f conftest.$ac_objext conftest$ac_exeext
18626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18627 (eval $ac_link) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try='test -s conftest$ac_exeext'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; }; then
18637 ac_cv_lib_png_png_check_sig=yes
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.$ac_ext >&5
18642 ac_cv_lib_png_png_check_sig=no
18644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18645 LIBS=$ac_check_lib_save_LIBS
18647 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18648 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18649 if test $ac_cv_lib_png_png_check_sig = yes; then
18655 if test "x$PNG_LINK" = "x" ; then
18656 if test "$wxUSE_LIBPNG" = "sys" ; then
18657 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18658 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18659 { (exit 1); exit 1; }; }
18661 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18662 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18663 wxUSE_LIBPNG=builtin
18671 if test "$wxUSE_LIBPNG" = "builtin" ; then
18672 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18681 if test "$wxUSE_LIBJPEG" != "no" ; then
18682 cat >>confdefs.h <<\_ACEOF
18683 #define wxUSE_LIBJPEG 1
18687 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18688 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18689 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18693 if test "$wxUSE_MGL" != 1 ; then
18694 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18695 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18696 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18697 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 cat >conftest.$ac_ext <<_ACEOF
18701 #line $LINENO "configure"
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18708 #undef HAVE_STDLIB_H
18710 #include <jpeglib.h>
18721 rm -f conftest.$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_cv_header_jpeglib_h=yes
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18738 ac_cv_header_jpeglib_h=no
18741 rm -f conftest.$ac_objext conftest.$ac_ext
18745 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18746 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18748 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18749 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18750 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18751 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 ac_check_lib_save_LIBS=$LIBS
18755 LIBS="-ljpeg $LIBS"
18756 cat >conftest.$ac_ext <<_ACEOF
18757 #line $LINENO "configure"
18760 cat confdefs.h >>conftest.$ac_ext
18761 cat >>conftest.$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18764 /* Override any gcc2 internal prototype to avoid an error. */
18768 /* We use char because int might match the return type of a gcc2
18769 builtin and then its argument prototype would still apply. */
18770 char jpeg_read_header ();
18774 jpeg_read_header ();
18779 rm -f conftest.$ac_objext conftest$ac_exeext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -s conftest$ac_exeext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 ac_cv_lib_jpeg_jpeg_read_header=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 ac_cv_lib_jpeg_jpeg_read_header=no
18798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18799 LIBS=$ac_check_lib_save_LIBS
18801 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18802 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18803 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18804 JPEG_LINK=" -ljpeg"
18809 if test "x$JPEG_LINK" = "x" ; then
18810 if test "$wxUSE_LIBJPEG" = "sys" ; then
18811 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18812 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18813 { (exit 1); exit 1; }; }
18815 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18816 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18817 wxUSE_LIBJPEG=builtin
18825 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18826 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18833 TIFF_PREREQ_LINKS=-lm
18834 if test "$wxUSE_LIBTIFF" != "no" ; then
18835 cat >>confdefs.h <<\_ACEOF
18836 #define wxUSE_LIBTIFF 1
18840 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18841 if test "$wxUSE_LIBJPEG" = "sys"; then
18842 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18844 if test "$wxUSE_ZLIB" = "sys"; then
18845 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18847 if test "${ac_cv_header_tiffio_h+set}" = set; then
18848 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18849 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18850 if test "${ac_cv_header_tiffio_h+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18854 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18856 # Is the header compilable?
18857 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18858 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18859 cat >conftest.$ac_ext <<_ACEOF
18860 #line $LINENO "configure"
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 #include <tiffio.h>
18869 rm -f conftest.$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try='test -s conftest.$ac_objext'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; }; then
18881 ac_header_compiler=yes
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18886 ac_header_compiler=no
18888 rm -f conftest.$ac_objext conftest.$ac_ext
18889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18890 echo "${ECHO_T}$ac_header_compiler" >&6
18892 # Is the header present?
18893 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18894 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18895 cat >conftest.$ac_ext <<_ACEOF
18896 #line $LINENO "configure"
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 #include <tiffio.h>
18904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18907 grep -v '^ *+' conftest.er1 >conftest.err
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } >/dev/null; then
18912 if test -s conftest.err; then
18913 ac_cpp_err=$ac_c_preproc_warn_flag
18920 if test -z "$ac_cpp_err"; then
18921 ac_header_preproc=yes
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18926 ac_header_preproc=no
18928 rm -f conftest.err conftest.$ac_ext
18929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18930 echo "${ECHO_T}$ac_header_preproc" >&6
18932 # So? What about this header?
18933 case $ac_header_compiler:$ac_header_preproc in
18935 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18936 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18937 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18938 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18941 ## ------------------------------------ ##
18942 ## Report this to bug-autoconf@gnu.org. ##
18943 ## ------------------------------------ ##
18946 sed "s/^/$as_me: WARNING: /" >&2
18949 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18950 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18951 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18952 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18953 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18954 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18957 ## ------------------------------------ ##
18958 ## Report this to bug-autoconf@gnu.org. ##
18959 ## ------------------------------------ ##
18962 sed "s/^/$as_me: WARNING: /" >&2
18965 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18966 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18967 if test "${ac_cv_header_tiffio_h+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 ac_cv_header_tiffio_h=$ac_header_preproc
18972 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18973 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18976 if test $ac_cv_header_tiffio_h = yes; then
18977 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18978 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18979 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 ac_check_lib_save_LIBS=$LIBS
18983 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18984 cat >conftest.$ac_ext <<_ACEOF
18985 #line $LINENO "configure"
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18992 /* Override any gcc2 internal prototype to avoid an error. */
18996 /* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
19007 rm -f conftest.$ac_objext conftest$ac_exeext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_lib_tiff_TIFFError=yes
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.$ac_ext >&5
19024 ac_cv_lib_tiff_TIFFError=no
19026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19027 LIBS=$ac_check_lib_save_LIBS
19029 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19030 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19031 if test $ac_cv_lib_tiff_TIFFError = yes; then
19032 TIFF_LINK=" -ltiff"
19040 if test "x$TIFF_LINK" = "x" ; then
19041 if test "$wxUSE_LIBTIFF" = "sys" ; then
19042 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19043 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19044 { (exit 1); exit 1; }; }
19046 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19047 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19048 wxUSE_LIBTIFF=builtin
19055 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19056 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19068 if test "$USE_WIN32" = 1 ; then
19070 for ac_header in w32api.h
19072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19074 echo "$as_me:$LINENO: checking for $ac_header" >&5
19075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19082 # Is the header compilable?
19083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19085 cat >conftest.$ac_ext <<_ACEOF
19086 #line $LINENO "configure"
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 $ac_includes_default
19093 #include <$ac_header>
19095 rm -f conftest.$ac_objext
19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_header_compiler=yes
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.$ac_ext >&5
19112 ac_header_compiler=no
19114 rm -f conftest.$ac_objext conftest.$ac_ext
19115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19116 echo "${ECHO_T}$ac_header_compiler" >&6
19118 # Is the header present?
19119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19121 cat >conftest.$ac_ext <<_ACEOF
19122 #line $LINENO "configure"
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <$ac_header>
19130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19133 grep -v '^ *+' conftest.er1 >conftest.err
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } >/dev/null; then
19138 if test -s conftest.err; then
19139 ac_cpp_err=$ac_c_preproc_warn_flag
19146 if test -z "$ac_cpp_err"; then
19147 ac_header_preproc=yes
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19152 ac_header_preproc=no
19154 rm -f conftest.err conftest.$ac_ext
19155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19156 echo "${ECHO_T}$ac_header_preproc" >&6
19158 # So? What about this header?
19159 case $ac_header_compiler:$ac_header_preproc in
19161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19167 ## ------------------------------------ ##
19168 ## Report this to bug-autoconf@gnu.org. ##
19169 ## ------------------------------------ ##
19172 sed "s/^/$as_me: WARNING: /" >&2
19175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19183 ## ------------------------------------ ##
19184 ## Report this to bug-autoconf@gnu.org. ##
19185 ## ------------------------------------ ##
19188 sed "s/^/$as_me: WARNING: /" >&2
19191 echo "$as_me:$LINENO: checking for $ac_header" >&5
19192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 eval "$as_ac_Header=$ac_header_preproc"
19198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19203 cat >>confdefs.h <<_ACEOF
19204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19211 if test "${ac_cv_header_windows_h+set}" = set; then
19212 echo "$as_me:$LINENO: checking for windows.h" >&5
19213 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19214 if test "${ac_cv_header_windows_h+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19218 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19220 # Is the header compilable?
19221 echo "$as_me:$LINENO: checking windows.h usability" >&5
19222 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19223 cat >conftest.$ac_ext <<_ACEOF
19224 #line $LINENO "configure"
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 $ac_includes_default
19231 #include <windows.h>
19233 rm -f conftest.$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -s conftest.$ac_objext'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; }; then
19245 ac_header_compiler=yes
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19250 ac_header_compiler=no
19252 rm -f conftest.$ac_objext conftest.$ac_ext
19253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19254 echo "${ECHO_T}$ac_header_compiler" >&6
19256 # Is the header present?
19257 echo "$as_me:$LINENO: checking windows.h presence" >&5
19258 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19259 cat >conftest.$ac_ext <<_ACEOF
19260 #line $LINENO "configure"
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 #include <windows.h>
19268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19271 grep -v '^ *+' conftest.er1 >conftest.err
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } >/dev/null; then
19276 if test -s conftest.err; then
19277 ac_cpp_err=$ac_c_preproc_warn_flag
19284 if test -z "$ac_cpp_err"; then
19285 ac_header_preproc=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 ac_header_preproc=no
19292 rm -f conftest.err conftest.$ac_ext
19293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19294 echo "${ECHO_T}$ac_header_preproc" >&6
19296 # So? What about this header?
19297 case $ac_header_compiler:$ac_header_preproc in
19299 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19300 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19301 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19302 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19305 ## ------------------------------------ ##
19306 ## Report this to bug-autoconf@gnu.org. ##
19307 ## ------------------------------------ ##
19310 sed "s/^/$as_me: WARNING: /" >&2
19313 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19314 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19315 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19316 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19317 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19318 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19321 ## ------------------------------------ ##
19322 ## Report this to bug-autoconf@gnu.org. ##
19323 ## ------------------------------------ ##
19326 sed "s/^/$as_me: WARNING: /" >&2
19329 echo "$as_me:$LINENO: checking for windows.h" >&5
19330 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19331 if test "${ac_cv_header_windows_h+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 ac_cv_header_windows_h=$ac_header_preproc
19336 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19337 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19340 if test $ac_cv_header_windows_h = yes; then
19344 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19345 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19346 { (exit 1); exit 1; }; }
19352 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19353 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19354 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19358 cat >conftest.$ac_ext <<_ACEOF
19359 #line $LINENO "configure"
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #include <w32api.h>
19370 #define wxCHECK_W32API_VERSION( major, minor ) \
19371 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19372 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19373 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19375 #if !wxCHECK_W32API_VERSION(1,1)
19376 #error You need w32api 1.1 or newer
19383 rm -f conftest.$ac_objext
19384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19385 (eval $ac_compile) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19396 wx_cv_w32api_win32_ie=yes
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19403 wx_cv_w32api_win32_ie=no
19406 rm -f conftest.$ac_objext conftest.$ac_ext
19409 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19410 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19411 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19412 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19415 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
19417 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19418 LIBS="$LIBS -loleacc"
19423 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
19424 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19427 if test "$wxUSE_ODBC" = "sys" ; then
19430 if test "$wxUSE_ODBC" = "yes" ; then
19431 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19432 cat >>confdefs.h <<\_ACEOF
19433 #define wxUSE_ODBC 1
19438 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19439 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19441 WIN32INSTALL=win32install
19444 if test "$USE_DARWIN" = 1; then
19445 if test "$wxUSE_PRECOMP" = "yes"; then
19446 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19448 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19452 if test "$wxUSE_GUI" = "yes"; then
19461 if test "$wxUSE_MSW" = 1 ; then
19465 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19468 if test "$wxUSE_GTK" = 1; then
19469 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19470 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19472 gtk_version_cached=1
19473 if test "${wx_cv_lib_gtk+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 gtk_version_cached=0
19478 echo "$as_me:$LINENO: result: " >&5
19479 echo "${ECHO_T}" >&6
19482 if test "$wxUSE_THREADS" = "yes"; then
19483 GTK_MODULES=gthread
19487 if test "x$wxUSE_GTK2" = "xyes"; then
19488 # Check whether --enable-gtktest or --disable-gtktest was given.
19489 if test "${enable_gtktest+set}" = set; then
19490 enableval="$enable_gtktest"
19496 pkg_config_args=gtk+-2.0
19497 for module in . $GTK_MODULES
19501 pkg_config_args="$pkg_config_args gthread-2.0"
19508 # Extract the first word of "pkg-config", so it can be a program name with args.
19509 set dummy pkg-config; ac_word=$2
19510 echo "$as_me:$LINENO: checking for $ac_word" >&5
19511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19512 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 case $PKG_CONFIG in
19517 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19521 for as_dir in $PATH
19524 test -z "$as_dir" && as_dir=.
19525 for ac_exec_ext in '' $ac_executable_extensions; do
19526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19527 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19534 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19538 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19540 if test -n "$PKG_CONFIG"; then
19541 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19542 echo "${ECHO_T}$PKG_CONFIG" >&6
19544 echo "$as_me:$LINENO: result: no" >&5
19545 echo "${ECHO_T}no" >&6
19549 if test x$PKG_CONFIG != xno ; then
19550 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19553 echo *** pkg-config too old; version 0.7 or better required.
19561 min_gtk_version=2.0.0
19562 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19563 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19565 if test x$PKG_CONFIG != xno ; then
19566 ## don't try to run the test against uninstalled libtool libs
19567 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19568 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19572 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19579 if test x"$no_gtk" = x ; then
19580 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19581 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19582 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19584 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19586 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19588 if test "x$enable_gtktest" = "xyes" ; then
19589 ac_save_CFLAGS="$CFLAGS"
19590 ac_save_LIBS="$LIBS"
19591 CFLAGS="$CFLAGS $GTK_CFLAGS"
19592 LIBS="$GTK_LIBS $LIBS"
19594 if test "$cross_compiling" = yes; then
19595 echo $ac_n "cross compiling; assumed OK... $ac_c"
19597 cat >conftest.$ac_ext <<_ACEOF
19598 #line $LINENO "configure"
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19605 #include <gtk/gtk.h>
19607 #include <stdlib.h>
19612 int major, minor, micro;
19615 system ("touch conf.gtktest");
19617 /* HP/UX 9 (%@#!) writes to sscanf strings */
19618 tmp_version = g_strdup("$min_gtk_version");
19619 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19620 printf("%s, bad version string\n", "$min_gtk_version");
19624 if ((gtk_major_version != $gtk_config_major_version) ||
19625 (gtk_minor_version != $gtk_config_minor_version) ||
19626 (gtk_micro_version != $gtk_config_micro_version))
19628 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19629 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19630 gtk_major_version, gtk_minor_version, gtk_micro_version);
19631 printf ("*** was found! If pkg-config was correct, then it is best\n");
19632 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19633 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19634 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19635 printf("*** required on your system.\n");
19636 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19637 printf("*** to point to the correct configuration files\n");
19639 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19640 (gtk_minor_version != GTK_MINOR_VERSION) ||
19641 (gtk_micro_version != GTK_MICRO_VERSION))
19643 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19644 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19645 printf("*** library (version %d.%d.%d)\n",
19646 gtk_major_version, gtk_minor_version, gtk_micro_version);
19650 if ((gtk_major_version > major) ||
19651 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19652 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19658 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19659 gtk_major_version, gtk_minor_version, gtk_micro_version);
19660 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19661 major, minor, micro);
19662 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19664 printf("*** If you have already installed a sufficiently new version, this error\n");
19665 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19666 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19667 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19668 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19669 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19670 printf("*** so that the correct libraries are found at run-time))\n");
19677 rm -f conftest$ac_exeext
19678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19679 (eval $ac_link) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19690 echo "$as_me: program exited with status $ac_status" >&5
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 ( exit $ac_status )
19697 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19699 CFLAGS="$ac_save_CFLAGS"
19700 LIBS="$ac_save_LIBS"
19703 if test "x$no_gtk" = x ; then
19704 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19705 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19708 echo "$as_me:$LINENO: result: no" >&5
19709 echo "${ECHO_T}no" >&6
19710 if test "$PKG_CONFIG" = "no" ; then
19711 echo "*** A new enough version of pkg-config was not found."
19712 echo "*** See http://pkgconfig.sourceforge.net"
19714 if test -f conf.gtktest ; then
19717 echo "*** Could not run GTK+ test program, checking why..."
19718 ac_save_CFLAGS="$CFLAGS"
19719 ac_save_LIBS="$LIBS"
19720 CFLAGS="$CFLAGS $GTK_CFLAGS"
19721 LIBS="$LIBS $GTK_LIBS"
19722 cat >conftest.$ac_ext <<_ACEOF
19723 #line $LINENO "configure"
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19730 #include <gtk/gtk.h>
19736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19741 rm -f conftest.$ac_objext conftest$ac_exeext
19742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19743 (eval $ac_link) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try='test -s conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 echo "*** The test program compiled, but did not run. This usually means"
19754 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19755 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19757 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19758 echo "*** is required on your system"
19760 echo "*** If you have an old version installed, it is best to remove it, although"
19761 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19766 echo "*** The test program failed to compile or link. See the file config.log for the"
19767 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19770 CFLAGS="$ac_save_CFLAGS"
19771 LIBS="$ac_save_LIBS"
19784 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19785 if test "${with_gtk_prefix+set}" = set; then
19786 withval="$with_gtk_prefix"
19787 gtk_config_prefix="$withval"
19789 gtk_config_prefix=""
19792 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19793 if test "${with_gtk_exec_prefix+set}" = set; then
19794 withval="$with_gtk_exec_prefix"
19795 gtk_config_exec_prefix="$withval"
19797 gtk_config_exec_prefix=""
19799 # Check whether --enable-gtktest or --disable-gtktest was given.
19800 if test "${enable_gtktest+set}" = set; then
19801 enableval="$enable_gtktest"
19807 for module in . $GTK_MODULES
19811 gtk_config_args="$gtk_config_args gthread"
19816 if test x$gtk_config_exec_prefix != x ; then
19817 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19818 if test x${GTK_CONFIG+set} != xset ; then
19819 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19822 if test x$gtk_config_prefix != x ; then
19823 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19824 if test x${GTK_CONFIG+set} != xset ; then
19825 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19829 # Extract the first word of "gtk-config", so it can be a program name with args.
19830 set dummy gtk-config; ac_word=$2
19831 echo "$as_me:$LINENO: checking for $ac_word" >&5
19832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19833 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 case $GTK_CONFIG in
19838 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19842 for as_dir in $PATH
19845 test -z "$as_dir" && as_dir=.
19846 for ac_exec_ext in '' $ac_executable_extensions; do
19847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19848 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19855 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19859 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19861 if test -n "$GTK_CONFIG"; then
19862 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19863 echo "${ECHO_T}$GTK_CONFIG" >&6
19865 echo "$as_me:$LINENO: result: no" >&5
19866 echo "${ECHO_T}no" >&6
19869 min_gtk_version=1.2.7
19870 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19871 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19873 if test "$GTK_CONFIG" = "no" ; then
19876 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19877 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19878 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19880 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19882 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19884 if test "x$enable_gtktest" = "xyes" ; then
19885 ac_save_CFLAGS="$CFLAGS"
19886 ac_save_LIBS="$LIBS"
19887 CFLAGS="$CFLAGS $GTK_CFLAGS"
19888 LIBS="$GTK_LIBS $LIBS"
19890 if test "$cross_compiling" = yes; then
19891 echo $ac_n "cross compiling; assumed OK... $ac_c"
19893 cat >conftest.$ac_ext <<_ACEOF
19894 #line $LINENO "configure"
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19901 #include <gtk/gtk.h>
19903 #include <stdlib.h>
19908 int major, minor, micro;
19911 system ("touch conf.gtktest");
19913 /* HP/UX 9 (%@#!) writes to sscanf strings */
19914 tmp_version = g_strdup("$min_gtk_version");
19915 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19916 printf("%s, bad version string\n", "$min_gtk_version");
19920 if ((gtk_major_version != $gtk_config_major_version) ||
19921 (gtk_minor_version != $gtk_config_minor_version) ||
19922 (gtk_micro_version != $gtk_config_micro_version))
19924 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19925 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19926 gtk_major_version, gtk_minor_version, gtk_micro_version);
19927 printf ("*** was found! If gtk-config was correct, then it is best\n");
19928 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19929 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19930 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19931 printf("*** required on your system.\n");
19932 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19933 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19934 printf("*** before re-running configure\n");
19936 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19937 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19938 (gtk_minor_version != GTK_MINOR_VERSION) ||
19939 (gtk_micro_version != GTK_MICRO_VERSION))
19941 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19942 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19943 printf("*** library (version %d.%d.%d)\n",
19944 gtk_major_version, gtk_minor_version, gtk_micro_version);
19946 #endif /* defined (GTK_MAJOR_VERSION) ... */
19949 if ((gtk_major_version > major) ||
19950 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19951 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19957 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19958 gtk_major_version, gtk_minor_version, gtk_micro_version);
19959 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19960 major, minor, micro);
19961 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19963 printf("*** If you have already installed a sufficiently new version, this error\n");
19964 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19965 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19966 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19967 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19968 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19969 printf("*** so that the correct libraries are found at run-time))\n");
19976 rm -f conftest$ac_exeext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19978 (eval $ac_link) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19989 echo "$as_me: program exited with status $ac_status" >&5
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19993 ( exit $ac_status )
19996 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19998 CFLAGS="$ac_save_CFLAGS"
19999 LIBS="$ac_save_LIBS"
20002 if test "x$no_gtk" = x ; then
20003 echo "$as_me:$LINENO: result: yes" >&5
20004 echo "${ECHO_T}yes" >&6
20005 wx_cv_lib_gtk=1.2.7
20007 echo "$as_me:$LINENO: result: no" >&5
20008 echo "${ECHO_T}no" >&6
20009 if test "$GTK_CONFIG" = "no" ; then
20010 echo "*** The gtk-config script installed by GTK could not be found"
20011 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20012 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20013 echo "*** full path to gtk-config."
20015 if test -f conf.gtktest ; then
20018 echo "*** Could not run GTK test program, checking why..."
20019 CFLAGS="$CFLAGS $GTK_CFLAGS"
20020 LIBS="$LIBS $GTK_LIBS"
20021 cat >conftest.$ac_ext <<_ACEOF
20022 #line $LINENO "configure"
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20029 #include <gtk/gtk.h>
20035 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20040 rm -f conftest.$ac_objext conftest$ac_exeext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20042 (eval $ac_link) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try='test -s conftest$ac_exeext'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; }; then
20052 echo "*** The test program compiled, but did not run. This usually means"
20053 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20054 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20055 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20056 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20057 echo "*** is required on your system"
20059 echo "*** If you have an old version installed, it is best to remove it, although"
20060 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20062 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20063 echo "*** came with the system with the command"
20065 echo "*** rpm --erase --nodeps gtk gtk-devel"
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 echo "*** The test program failed to compile or link. See the file config.log for the"
20071 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20072 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20073 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20076 CFLAGS="$ac_save_CFLAGS"
20077 LIBS="$ac_save_LIBS"
20089 if test -z "$wx_cv_lib_gtk"; then
20091 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20092 if test "${with_gtk_prefix+set}" = set; then
20093 withval="$with_gtk_prefix"
20094 gtk_config_prefix="$withval"
20096 gtk_config_prefix=""
20099 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20100 if test "${with_gtk_exec_prefix+set}" = set; then
20101 withval="$with_gtk_exec_prefix"
20102 gtk_config_exec_prefix="$withval"
20104 gtk_config_exec_prefix=""
20106 # Check whether --enable-gtktest or --disable-gtktest was given.
20107 if test "${enable_gtktest+set}" = set; then
20108 enableval="$enable_gtktest"
20114 for module in . $GTK_MODULES
20118 gtk_config_args="$gtk_config_args gthread"
20123 if test x$gtk_config_exec_prefix != x ; then
20124 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20125 if test x${GTK_CONFIG+set} != xset ; then
20126 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20129 if test x$gtk_config_prefix != x ; then
20130 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20131 if test x${GTK_CONFIG+set} != xset ; then
20132 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20136 # Extract the first word of "gtk-config", so it can be a program name with args.
20137 set dummy gtk-config; ac_word=$2
20138 echo "$as_me:$LINENO: checking for $ac_word" >&5
20139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20140 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 case $GTK_CONFIG in
20145 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20149 for as_dir in $PATH
20152 test -z "$as_dir" && as_dir=.
20153 for ac_exec_ext in '' $ac_executable_extensions; do
20154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20155 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20162 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20166 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20168 if test -n "$GTK_CONFIG"; then
20169 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20170 echo "${ECHO_T}$GTK_CONFIG" >&6
20172 echo "$as_me:$LINENO: result: no" >&5
20173 echo "${ECHO_T}no" >&6
20176 min_gtk_version=1.2.3
20177 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20178 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20180 if test "$GTK_CONFIG" = "no" ; then
20183 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20184 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20185 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20187 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20189 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20191 if test "x$enable_gtktest" = "xyes" ; then
20192 ac_save_CFLAGS="$CFLAGS"
20193 ac_save_LIBS="$LIBS"
20194 CFLAGS="$CFLAGS $GTK_CFLAGS"
20195 LIBS="$GTK_LIBS $LIBS"
20197 if test "$cross_compiling" = yes; then
20198 echo $ac_n "cross compiling; assumed OK... $ac_c"
20200 cat >conftest.$ac_ext <<_ACEOF
20201 #line $LINENO "configure"
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20208 #include <gtk/gtk.h>
20210 #include <stdlib.h>
20215 int major, minor, micro;
20218 system ("touch conf.gtktest");
20220 /* HP/UX 9 (%@#!) writes to sscanf strings */
20221 tmp_version = g_strdup("$min_gtk_version");
20222 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20223 printf("%s, bad version string\n", "$min_gtk_version");
20227 if ((gtk_major_version != $gtk_config_major_version) ||
20228 (gtk_minor_version != $gtk_config_minor_version) ||
20229 (gtk_micro_version != $gtk_config_micro_version))
20231 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20232 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20233 gtk_major_version, gtk_minor_version, gtk_micro_version);
20234 printf ("*** was found! If gtk-config was correct, then it is best\n");
20235 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20236 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20237 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20238 printf("*** required on your system.\n");
20239 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20240 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20241 printf("*** before re-running configure\n");
20243 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20244 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20245 (gtk_minor_version != GTK_MINOR_VERSION) ||
20246 (gtk_micro_version != GTK_MICRO_VERSION))
20248 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20249 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20250 printf("*** library (version %d.%d.%d)\n",
20251 gtk_major_version, gtk_minor_version, gtk_micro_version);
20253 #endif /* defined (GTK_MAJOR_VERSION) ... */
20256 if ((gtk_major_version > major) ||
20257 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20258 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20264 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20265 gtk_major_version, gtk_minor_version, gtk_micro_version);
20266 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20267 major, minor, micro);
20268 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20270 printf("*** If you have already installed a sufficiently new version, this error\n");
20271 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20272 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20273 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20274 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20275 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20276 printf("*** so that the correct libraries are found at run-time))\n");
20283 rm -f conftest$ac_exeext
20284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20285 (eval $ac_link) 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; }; then
20296 echo "$as_me: program exited with status $ac_status" >&5
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20300 ( exit $ac_status )
20303 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20305 CFLAGS="$ac_save_CFLAGS"
20306 LIBS="$ac_save_LIBS"
20309 if test "x$no_gtk" = x ; then
20310 echo "$as_me:$LINENO: result: yes" >&5
20311 echo "${ECHO_T}yes" >&6
20312 wx_cv_lib_gtk=1.2.3
20314 echo "$as_me:$LINENO: result: no" >&5
20315 echo "${ECHO_T}no" >&6
20316 if test "$GTK_CONFIG" = "no" ; then
20317 echo "*** The gtk-config script installed by GTK could not be found"
20318 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20319 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20320 echo "*** full path to gtk-config."
20322 if test -f conf.gtktest ; then
20325 echo "*** Could not run GTK test program, checking why..."
20326 CFLAGS="$CFLAGS $GTK_CFLAGS"
20327 LIBS="$LIBS $GTK_LIBS"
20328 cat >conftest.$ac_ext <<_ACEOF
20329 #line $LINENO "configure"
20332 cat confdefs.h >>conftest.$ac_ext
20333 cat >>conftest.$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20336 #include <gtk/gtk.h>
20342 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20347 rm -f conftest.$ac_objext conftest$ac_exeext
20348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20349 (eval $ac_link) 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } &&
20353 { ac_try='test -s conftest$ac_exeext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 echo "*** The test program compiled, but did not run. This usually means"
20360 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20361 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20362 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20363 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20364 echo "*** is required on your system"
20366 echo "*** If you have an old version installed, it is best to remove it, although"
20367 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20369 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20370 echo "*** came with the system with the command"
20372 echo "*** rpm --erase --nodeps gtk gtk-devel"
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20377 echo "*** The test program failed to compile or link. See the file config.log for the"
20378 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20379 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20380 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20383 CFLAGS="$ac_save_CFLAGS"
20384 LIBS="$ac_save_LIBS"
20398 if test -z "$wx_cv_lib_gtk"; then
20401 wx_cv_cflags_gtk=$GTK_CFLAGS
20402 wx_cv_libs_gtk=$GTK_LIBS
20409 if test "$gtk_version_cached" = 1; then
20410 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20411 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20414 case "$wx_cv_lib_gtk" in
20423 *) { { echo "$as_me:$LINENO: error:
20424 Please check that gtk-config is in path, the directory
20425 where GTK+ libraries are installed (returned by
20426 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20427 equivalent variable and GTK+ is version 1.2.3 or above.
20429 echo "$as_me: error:
20430 Please check that gtk-config is in path, the directory
20431 where GTK+ libraries are installed (returned by
20432 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20433 equivalent variable and GTK+ is version 1.2.3 or above.
20435 { (exit 1); exit 1; }; }
20439 if test "$WXGTK20" = 1; then
20440 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20444 if test -z "$PKG_CONFIG"; then
20445 # Extract the first word of "pkg-config", so it can be a program name with args.
20446 set dummy pkg-config; ac_word=$2
20447 echo "$as_me:$LINENO: checking for $ac_word" >&5
20448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20449 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20452 case $PKG_CONFIG in
20454 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20458 for as_dir in $PATH
20461 test -z "$as_dir" && as_dir=.
20462 for ac_exec_ext in '' $ac_executable_extensions; do
20463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20464 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20471 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20475 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20477 if test -n "$PKG_CONFIG"; then
20478 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20479 echo "${ECHO_T}$PKG_CONFIG" >&6
20481 echo "$as_me:$LINENO: result: no" >&5
20482 echo "${ECHO_T}no" >&6
20487 if test "$PKG_CONFIG" = "no" ; then
20488 echo "*** The pkg-config script could not be found. Make sure it is"
20489 echo "*** in your path, or set the PKG_CONFIG environment variable"
20490 echo "*** to the full path to pkg-config."
20491 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20493 PKG_CONFIG_MIN_VERSION=0.9.0
20494 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20495 echo "$as_me:$LINENO: checking for pangoft2" >&5
20496 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20498 if $PKG_CONFIG --exists "pangoft2" ; then
20499 echo "$as_me:$LINENO: result: yes" >&5
20500 echo "${ECHO_T}yes" >&6
20503 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20504 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20505 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20506 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20507 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20509 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20510 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20511 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20512 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20513 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20517 ## If we have a custom action on failure, don't print errors, but
20518 ## do set a variable so people can do so.
20519 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20526 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20527 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20531 if test $succeeded = yes; then
20533 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20534 LIBS="$LIBS $PANGOFT2_LIBS"
20538 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20539 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20540 wxUSE_PRINTING_ARCHITECTURE="no"
20547 if test "$wxUSE_UNICODE" = "yes"; then
20548 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20549 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20554 if test "$USE_DARWIN" != 1; then
20556 for ac_func in poll
20558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20559 echo "$as_me:$LINENO: checking for $ac_func" >&5
20560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20561 if eval "test \"\${$as_ac_var+set}\" = set"; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 cat >conftest.$ac_ext <<_ACEOF
20565 #line $LINENO "configure"
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 /* System header to define __stub macros and hopefully few prototypes,
20572 which can conflict with char $ac_func (); below.
20573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20574 <limits.h> exists even on freestanding compilers. */
20576 # include <limits.h>
20578 # include <assert.h>
20580 /* Override any gcc2 internal prototype to avoid an error. */
20585 /* We use char because int might match the return type of a gcc2
20586 builtin and then its argument prototype would still apply. */
20588 /* The GNU C library defines this for functions which it implements
20589 to always fail with ENOSYS. Some functions are actually named
20590 something starting with __ and the normal name is an alias. */
20591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20594 char (*f) () = $ac_func;
20603 return f != $ac_func;
20608 rm -f conftest.$ac_objext conftest$ac_exeext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20610 (eval $ac_link) 2>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try='test -s conftest$ac_exeext'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; }; then
20620 eval "$as_ac_var=yes"
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.$ac_ext >&5
20625 eval "$as_ac_var=no"
20627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20631 if test `eval echo '${'$as_ac_var'}'` = yes; then
20632 cat >>confdefs.h <<_ACEOF
20633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20641 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20642 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
20644 AFMINSTALL=afminstall
20648 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20649 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20650 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 ac_check_lib_save_LIBS=$LIBS
20655 cat >conftest.$ac_ext <<_ACEOF
20656 #line $LINENO "configure"
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20663 /* Override any gcc2 internal prototype to avoid an error. */
20667 /* We use char because int might match the return type of a gcc2
20668 builtin and then its argument prototype would still apply. */
20669 char gdk_im_open ();
20678 rm -f conftest.$ac_objext conftest$ac_exeext
20679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20680 (eval $ac_link) 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try='test -s conftest$ac_exeext'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_lib_gdk_gdk_im_open=yes
20692 echo "$as_me: failed program was:" >&5
20693 sed 's/^/| /' conftest.$ac_ext >&5
20695 ac_cv_lib_gdk_gdk_im_open=no
20697 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20698 LIBS=$ac_check_lib_save_LIBS
20700 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20701 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20702 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20703 cat >>confdefs.h <<\_ACEOF
20711 if test "$wxUSE_MGL" = 1; then
20712 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20713 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20714 if test "x$MGL_ROOT" = x ; then
20715 echo "$as_me:$LINENO: result: not found" >&5
20716 echo "${ECHO_T}not found" >&6
20717 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20718 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20719 { (exit 1); exit 1; }; }
20721 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20722 echo "${ECHO_T}$MGL_ROOT" >&6
20725 echo "$as_me:$LINENO: checking for libmgl location" >&5
20726 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20729 if test "x$wxUSE_SHARED" = xyes ; then
20730 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20732 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20736 mgl_os_candidates="dos32/dj2"
20739 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20740 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20741 { (exit 1); exit 1; }; }
20747 for mgl_os_i in $mgl_os_candidates ; do
20748 if test "x$mgl_os" = x ; then
20749 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20750 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20751 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20756 if test "x$mgl_lib_type" = x ; then
20757 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20758 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20759 mgl_lib_type=release
20766 if test "x$mgl_os" = x ; then
20767 echo "$as_me:$LINENO: result: not found" >&5
20768 echo "${ECHO_T}not found" >&6
20769 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20770 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20771 { (exit 1); exit 1; }; }
20773 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20774 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20776 wxUSE_UNIVERSAL="yes"
20778 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20779 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20781 AFMINSTALL=afminstall
20786 if test "$wxUSE_MICROWIN" = 1; then
20787 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20788 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20789 if test "x$MICROWINDOWS" = x ; then
20790 echo "$as_me:$LINENO: result: not found" >&5
20791 echo "${ECHO_T}not found" >&6
20792 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20793 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20794 { (exit 1); exit 1; }; }
20796 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20797 echo "${ECHO_T}$MICROWINDOWS" >&6
20800 if test -f $MICROWINDOWS/lib/libmwin.a; then
20801 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20802 echo "${ECHO_T}MicroWindows' libraries found." >&6
20804 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20805 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20806 { (exit 1); exit 1; }; }
20809 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20810 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20812 wxUSE_UNIVERSAL="yes"
20814 AFMINSTALL=afminstall
20816 GUIDIST=MICROWIN_DIST
20818 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20821 if test "$wxUSE_X11" = 1; then
20822 echo "$as_me:$LINENO: checking for X" >&5
20823 echo $ECHO_N "checking for X... $ECHO_C" >&6
20826 # Check whether --with-x or --without-x was given.
20827 if test "${with_x+set}" = set; then
20831 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20832 if test "x$with_x" = xno; then
20833 # The user explicitly disabled X.
20836 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20837 # Both variables are already set.
20840 if test "${ac_cv_have_x+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 # One or both of the vars are not set, and there is no cached value.
20844 ac_x_includes=no ac_x_libraries=no
20845 rm -fr conftest.dir
20846 if mkdir conftest.dir; then
20848 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20849 cat >Imakefile <<'_ACEOF'
20851 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20853 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20854 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20855 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20856 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20857 for ac_extension in a so sl; do
20858 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20859 test -f $ac_im_libdir/libX11.$ac_extension; then
20860 ac_im_usrlibdir=$ac_im_libdir; break
20863 # Screen out bogus values from the imake configuration. They are
20864 # bogus both because they are the default anyway, and because
20865 # using them would break gcc on systems where it needs fixed includes.
20866 case $ac_im_incroot in
20868 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20870 case $ac_im_usrlibdir in
20871 /usr/lib | /lib) ;;
20872 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20876 rm -fr conftest.dir
20879 # Standard set of common directories for X headers.
20880 # Check X11 before X11Rn because it is often a symlink to the current release.
20892 /usr/local/X11/include
20893 /usr/local/X11R6/include
20894 /usr/local/X11R5/include
20895 /usr/local/X11R4/include
20897 /usr/local/include/X11
20898 /usr/local/include/X11R6
20899 /usr/local/include/X11R5
20900 /usr/local/include/X11R4
20904 /usr/XFree86/include/X11
20908 /usr/unsupported/include
20909 /usr/athena/include
20910 /usr/local/x11r5/include
20911 /usr/lpp/Xamples/include
20913 /usr/openwin/include
20914 /usr/openwin/share/include'
20916 if test "$ac_x_includes" = no; then
20917 # Guess where to find include files, by looking for Intrinsic.h.
20918 # First, try using that file with no special directory specified.
20919 cat >conftest.$ac_ext <<_ACEOF
20920 #line $LINENO "configure"
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926 #include <X11/Intrinsic.h>
20928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20931 grep -v '^ *+' conftest.er1 >conftest.err
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } >/dev/null; then
20936 if test -s conftest.err; then
20937 ac_cpp_err=$ac_c_preproc_warn_flag
20944 if test -z "$ac_cpp_err"; then
20945 # We can compile using X headers with no special include directory.
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.$ac_ext >&5
20951 for ac_dir in $ac_x_header_dirs; do
20952 if test -r "$ac_dir/X11/Intrinsic.h"; then
20953 ac_x_includes=$ac_dir
20958 rm -f conftest.err conftest.$ac_ext
20959 fi # $ac_x_includes = no
20961 if test "$ac_x_libraries" = no; then
20962 # Check for the libraries.
20963 # See if we find them without any special options.
20964 # Don't add to $LIBS permanently.
20967 cat >conftest.$ac_ext <<_ACEOF
20968 #line $LINENO "configure"
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 #include <X11/Intrinsic.h>
20983 rm -f conftest.$ac_objext conftest$ac_exeext
20984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20985 (eval $ac_link) 2>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try='test -s conftest$ac_exeext'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; }; then
20996 # We can link X programs with no special library path.
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21003 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21005 # Don't even attempt the hair of trying to link an X program!
21006 for ac_extension in a so sl; do
21007 if test -r $ac_dir/libXt.$ac_extension; then
21008 ac_x_libraries=$ac_dir
21014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21015 fi # $ac_x_libraries = no
21017 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21018 # Didn't find X anywhere. Cache the known absence of X.
21019 ac_cv_have_x="have_x=no"
21021 # Record where we found X for the cache.
21022 ac_cv_have_x="have_x=yes \
21023 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21028 eval "$ac_cv_have_x"
21031 if test "$have_x" != yes; then
21032 echo "$as_me:$LINENO: result: $have_x" >&5
21033 echo "${ECHO_T}$have_x" >&6
21036 # If each of the values was on the command line, it overrides each guess.
21037 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21038 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21039 # Update the cache value to reflect the command line values.
21040 ac_cv_have_x="have_x=yes \
21041 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21042 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21043 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21046 if test "$no_x" = yes; then
21047 # Not all programs may use this symbol, but it does not hurt to define it.
21049 cat >>confdefs.h <<\_ACEOF
21050 #define X_DISPLAY_MISSING 1
21053 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21055 if test -n "$x_includes"; then
21056 X_CFLAGS="$X_CFLAGS -I$x_includes"
21059 # It would also be nice to do this for all -L options, not just this one.
21060 if test -n "$x_libraries"; then
21061 X_LIBS="$X_LIBS -L$x_libraries"
21062 # For Solaris; some versions of Sun CC require a space after -R and
21063 # others require no space. Words are not sufficient . . . .
21064 case `(uname -sr) 2>/dev/null` in
21066 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21067 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21068 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21069 cat >conftest.$ac_ext <<_ACEOF
21070 #line $LINENO "configure"
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21085 rm -f conftest.$ac_objext conftest$ac_exeext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21087 (eval $ac_link) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -s conftest$ac_exeext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21105 if test $ac_R_nospace = yes; then
21106 echo "$as_me:$LINENO: result: no" >&5
21107 echo "${ECHO_T}no" >&6
21108 X_LIBS="$X_LIBS -R$x_libraries"
21110 LIBS="$ac_xsave_LIBS -R $x_libraries"
21111 cat >conftest.$ac_ext <<_ACEOF
21112 #line $LINENO "configure"
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21127 rm -f conftest.$ac_objext conftest$ac_exeext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21129 (eval $ac_link) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21147 if test $ac_R_space = yes; then
21148 echo "$as_me:$LINENO: result: yes" >&5
21149 echo "${ECHO_T}yes" >&6
21150 X_LIBS="$X_LIBS -R $x_libraries"
21152 echo "$as_me:$LINENO: result: neither works" >&5
21153 echo "${ECHO_T}neither works" >&6
21156 LIBS=$ac_xsave_LIBS
21160 # Check for system-dependent libraries X programs must link with.
21161 # Do this before checking for the system-independent R6 libraries
21162 # (-lICE), since we may need -lsocket or whatever for X linking.
21164 if test "$ISC" = yes; then
21165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21167 # Martyn Johnson says this is needed for Ultrix, if the X
21168 # libraries were built with DECnet support. And Karl Berry says
21169 # the Alpha needs dnet_stub (dnet does not exist).
21170 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21171 cat >conftest.$ac_ext <<_ACEOF
21172 #line $LINENO "configure"
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21179 /* Override any gcc2 internal prototype to avoid an error. */
21183 /* We use char because int might match the return type of a gcc2
21184 builtin and then its argument prototype would still apply. */
21185 char XOpenDisplay ();
21194 rm -f conftest.$ac_objext conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } &&
21200 { ac_try='test -s conftest$ac_exeext'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; }; then
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21211 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21212 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21213 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21216 ac_check_lib_save_LIBS=$LIBS
21217 LIBS="-ldnet $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_dnet_ntoa=yes
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 ac_cv_lib_dnet_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_dnet_ntoa" >&5
21264 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21265 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21266 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21269 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21270 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21271 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21272 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21275 ac_check_lib_save_LIBS=$LIBS
21276 LIBS="-ldnet_stub $LIBS"
21277 cat >conftest.$ac_ext <<_ACEOF
21278 #line $LINENO "configure"
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21285 /* Override any gcc2 internal prototype to avoid an error. */
21289 /* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21300 rm -f conftest.$ac_objext conftest$ac_exeext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21302 (eval $ac_link) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } &&
21306 { ac_try='test -s conftest$ac_exeext'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; }; then
21312 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21314 echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21317 ac_cv_lib_dnet_stub_dnet_ntoa=no
21319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21320 LIBS=$ac_check_lib_save_LIBS
21322 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21323 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21324 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21325 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21331 LIBS="$ac_xsave_LIBS"
21333 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21334 # to get the SysV transport functions.
21335 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21337 # The nsl library prevents programs from opening the X display
21338 # on Irix 5.2, according to T.E. Dickey.
21339 # The functions gethostbyname, getservbyname, and inet_addr are
21340 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21341 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21342 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21343 if test "${ac_cv_func_gethostbyname+set}" = set; then
21344 echo $ECHO_N "(cached) $ECHO_C" >&6
21346 cat >conftest.$ac_ext <<_ACEOF
21347 #line $LINENO "configure"
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 /* System header to define __stub macros and hopefully few prototypes,
21354 which can conflict with char gethostbyname (); below.
21355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21356 <limits.h> exists even on freestanding compilers. */
21358 # include <limits.h>
21360 # include <assert.h>
21362 /* Override any gcc2 internal prototype to avoid an error. */
21367 /* We use char because int might match the return type of a gcc2
21368 builtin and then its argument prototype would still apply. */
21369 char gethostbyname ();
21370 /* The GNU C library defines this for functions which it implements
21371 to always fail with ENOSYS. Some functions are actually named
21372 something starting with __ and the normal name is an alias. */
21373 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21376 char (*f) () = gethostbyname;
21385 return f != gethostbyname;
21390 rm -f conftest.$ac_objext conftest$ac_exeext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21392 (eval $ac_link) 2>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } &&
21396 { ac_try='test -s conftest$ac_exeext'
21397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398 (eval $ac_try) 2>&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; }; then
21402 ac_cv_func_gethostbyname=yes
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21407 ac_cv_func_gethostbyname=no
21409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21411 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21412 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21414 if test $ac_cv_func_gethostbyname = no; then
21415 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21416 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21417 if test "${ac_cv_lib_nsl_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_nsl_gethostbyname=yes
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21462 ac_cv_lib_nsl_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_nsl_gethostbyname" >&5
21468 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21469 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21473 if test $ac_cv_lib_nsl_gethostbyname = no; then
21474 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21475 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21476 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21477 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 ac_check_lib_save_LIBS=$LIBS
21481 cat >conftest.$ac_ext <<_ACEOF
21482 #line $LINENO "configure"
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21489 /* Override any gcc2 internal prototype to avoid an error. */
21493 /* We use char because int might match the return type of a gcc2
21494 builtin and then its argument prototype would still apply. */
21495 char gethostbyname ();
21504 rm -f conftest.$ac_objext conftest$ac_exeext
21505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21506 (eval $ac_link) 2>&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } &&
21510 { ac_try='test -s conftest$ac_exeext'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 ac_cv_lib_bsd_gethostbyname=yes
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.$ac_ext >&5
21521 ac_cv_lib_bsd_gethostbyname=no
21523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21524 LIBS=$ac_check_lib_save_LIBS
21526 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21527 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21528 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21529 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21535 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21536 # socket/setsockopt and other routines are undefined under SCO ODT
21537 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21538 # on later versions), says Simon Leinen: it contains gethostby*
21539 # variants that don't use the name server (or something). -lsocket
21540 # must be given before -lnsl if both are needed. We assume that
21541 # if connect needs -lnsl, so does gethostbyname.
21542 echo "$as_me:$LINENO: checking for connect" >&5
21543 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21544 if test "${ac_cv_func_connect+set}" = set; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21547 cat >conftest.$ac_ext <<_ACEOF
21548 #line $LINENO "configure"
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 /* System header to define __stub macros and hopefully few prototypes,
21555 which can conflict with char connect (); below.
21556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21557 <limits.h> exists even on freestanding compilers. */
21559 # include <limits.h>
21561 # include <assert.h>
21563 /* Override any gcc2 internal prototype to avoid an error. */
21568 /* We use char because int might match the return type of a gcc2
21569 builtin and then its argument prototype would still apply. */
21571 /* The GNU C library defines this for functions which it implements
21572 to always fail with ENOSYS. Some functions are actually named
21573 something starting with __ and the normal name is an alias. */
21574 #if defined (__stub_connect) || defined (__stub___connect)
21577 char (*f) () = connect;
21586 return f != connect;
21591 rm -f conftest.$ac_objext conftest$ac_exeext
21592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21593 (eval $ac_link) 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try='test -s conftest$ac_exeext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 ac_cv_func_connect=yes
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21608 ac_cv_func_connect=no
21610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21612 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21613 echo "${ECHO_T}$ac_cv_func_connect" >&6
21615 if test $ac_cv_func_connect = no; then
21616 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21617 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21618 if test "${ac_cv_lib_socket_connect+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 ac_check_lib_save_LIBS=$LIBS
21622 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
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. */
21631 /* Override any gcc2 internal prototype to avoid an error. */
21635 /* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21646 rm -f conftest.$ac_objext conftest$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } &&
21652 { ac_try='test -s conftest$ac_exeext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_cv_lib_socket_connect=yes
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21663 ac_cv_lib_socket_connect=no
21665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21666 LIBS=$ac_check_lib_save_LIBS
21668 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21669 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21670 if test $ac_cv_lib_socket_connect = yes; then
21671 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21676 # Guillermo Gomez says -lposix is necessary on A/UX.
21677 echo "$as_me:$LINENO: checking for remove" >&5
21678 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21679 if test "${ac_cv_func_remove+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 cat >conftest.$ac_ext <<_ACEOF
21683 #line $LINENO "configure"
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 /* System header to define __stub macros and hopefully few prototypes,
21690 which can conflict with char remove (); below.
21691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21692 <limits.h> exists even on freestanding compilers. */
21694 # include <limits.h>
21696 # include <assert.h>
21698 /* Override any gcc2 internal prototype to avoid an error. */
21703 /* We use char because int might match the return type of a gcc2
21704 builtin and then its argument prototype would still apply. */
21706 /* The GNU C library defines this for functions which it implements
21707 to always fail with ENOSYS. Some functions are actually named
21708 something starting with __ and the normal name is an alias. */
21709 #if defined (__stub_remove) || defined (__stub___remove)
21712 char (*f) () = remove;
21721 return f != remove;
21726 rm -f conftest.$ac_objext conftest$ac_exeext
21727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21728 (eval $ac_link) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } &&
21732 { ac_try='test -s conftest$ac_exeext'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_cv_func_remove=yes
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.$ac_ext >&5
21743 ac_cv_func_remove=no
21745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21747 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21748 echo "${ECHO_T}$ac_cv_func_remove" >&6
21750 if test $ac_cv_func_remove = no; then
21751 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21752 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21753 if test "${ac_cv_lib_posix_remove+set}" = set; then
21754 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 ac_check_lib_save_LIBS=$LIBS
21757 LIBS="-lposix $LIBS"
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. */
21766 /* Override any gcc2 internal prototype to avoid an error. */
21770 /* We use char because int might match the return type of a gcc2
21771 builtin and then its argument prototype would still apply. */
21781 rm -f conftest.$ac_objext conftest$ac_exeext
21782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21783 (eval $ac_link) 2>&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } &&
21787 { ac_try='test -s conftest$ac_exeext'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; }; then
21793 ac_cv_lib_posix_remove=yes
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21798 ac_cv_lib_posix_remove=no
21800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21801 LIBS=$ac_check_lib_save_LIBS
21803 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21804 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21805 if test $ac_cv_lib_posix_remove = yes; then
21806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21811 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21812 echo "$as_me:$LINENO: checking for shmat" >&5
21813 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21814 if test "${ac_cv_func_shmat+set}" = set; then
21815 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 cat >conftest.$ac_ext <<_ACEOF
21818 #line $LINENO "configure"
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 /* System header to define __stub macros and hopefully few prototypes,
21825 which can conflict with char shmat (); below.
21826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21827 <limits.h> exists even on freestanding compilers. */
21829 # include <limits.h>
21831 # include <assert.h>
21833 /* Override any gcc2 internal prototype to avoid an error. */
21838 /* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21841 /* The GNU C library defines this for functions which it implements
21842 to always fail with ENOSYS. Some functions are actually named
21843 something starting with __ and the normal name is an alias. */
21844 #if defined (__stub_shmat) || defined (__stub___shmat)
21847 char (*f) () = shmat;
21861 rm -f conftest.$ac_objext conftest$ac_exeext
21862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21863 (eval $ac_link) 2>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } &&
21867 { ac_try='test -s conftest$ac_exeext'
21868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21869 (eval $ac_try) 2>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_func_shmat=yes
21875 echo "$as_me: failed program was:" >&5
21876 sed 's/^/| /' conftest.$ac_ext >&5
21878 ac_cv_func_shmat=no
21880 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21882 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21883 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21885 if test $ac_cv_func_shmat = no; then
21886 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21887 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21888 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21889 echo $ECHO_N "(cached) $ECHO_C" >&6
21891 ac_check_lib_save_LIBS=$LIBS
21893 cat >conftest.$ac_ext <<_ACEOF
21894 #line $LINENO "configure"
21897 cat confdefs.h >>conftest.$ac_ext
21898 cat >>conftest.$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21901 /* Override any gcc2 internal prototype to avoid an error. */
21905 /* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21916 rm -f conftest.$ac_objext conftest$ac_exeext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21918 (eval $ac_link) 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } &&
21922 { ac_try='test -s conftest$ac_exeext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_cv_lib_ipc_shmat=yes
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 ac_cv_lib_ipc_shmat=no
21935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21936 LIBS=$ac_check_lib_save_LIBS
21938 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21939 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21940 if test $ac_cv_lib_ipc_shmat = yes; then
21941 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21947 # Check for libraries that X11R6 Xt/Xaw programs need.
21948 ac_save_LDFLAGS=$LDFLAGS
21949 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21950 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21951 # check for ICE first), but we must link in the order -lSM -lICE or
21952 # we get undefined symbols. So assume we have SM if we have ICE.
21953 # These have to be linked with before -lX11, unlike the other
21954 # libraries we check for below, so use a different variable.
21955 # John Interrante, Karl Berry
21956 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21957 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21958 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21959 echo $ECHO_N "(cached) $ECHO_C" >&6
21961 ac_check_lib_save_LIBS=$LIBS
21962 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21963 cat >conftest.$ac_ext <<_ACEOF
21964 #line $LINENO "configure"
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21971 /* Override any gcc2 internal prototype to avoid an error. */
21975 /* We use char because int might match the return type of a gcc2
21976 builtin and then its argument prototype would still apply. */
21977 char IceConnectionNumber ();
21981 IceConnectionNumber ();
21986 rm -f conftest.$ac_objext conftest$ac_exeext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21988 (eval $ac_link) 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -s conftest$ac_exeext'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; }; then
21998 ac_cv_lib_ICE_IceConnectionNumber=yes
22000 echo "$as_me: failed program was:" >&5
22001 sed 's/^/| /' conftest.$ac_ext >&5
22003 ac_cv_lib_ICE_IceConnectionNumber=no
22005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22006 LIBS=$ac_check_lib_save_LIBS
22008 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22009 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22010 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22011 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22014 LDFLAGS=$ac_save_LDFLAGS
22019 if test "$no_x" = "yes"; then
22020 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22021 echo "$as_me: error: X11 not found" >&2;}
22022 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22025 GUI_TK_LIBRARY="$X_LIBS"
22026 TOOLKIT_INCLUDE="$X_CFLAGS"
22027 AFMINSTALL=afminstall
22028 COMPILED_X_PROGRAM=0
22030 if test "$wxUSE_NANOX" = "yes"; then
22031 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22032 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22033 if test "x$MICROWIN" = x ; then
22034 echo "$as_me:$LINENO: result: not found" >&5
22035 echo "${ECHO_T}not found" >&6
22036 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22037 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22038 { (exit 1); exit 1; }; }
22040 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22041 echo "${ECHO_T}$MICROWIN" >&6
22042 cat >>confdefs.h <<\_ACEOF
22043 #define wxUSE_NANOX 1
22050 echo "$as_me:$LINENO: checking for Xpm library" >&5
22051 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22054 for ac_dir in $SEARCH_LIB /usr/lib;
22056 for ac_extension in a so sl dylib; do
22057 if test -f "$ac_dir/libXpm.$ac_extension"; then
22058 ac_find_libraries=$ac_dir
22064 if test "$ac_find_libraries" != "" ; then
22066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22068 if test $result = 0; then
22071 ac_path_to_link=" -L$ac_find_libraries"
22074 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22076 cat >>confdefs.h <<\_ACEOF
22077 #define wxHAVE_LIB_XPM 1
22080 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22081 echo "${ECHO_T}found at $ac_find_libraries" >&6
22083 cat >conftest.$ac_ext <<_ACEOF
22084 #line $LINENO "configure"
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22091 #include <X11/xpm.h>
22098 version = XpmLibraryVersion();
22104 rm -f conftest.$ac_objext
22105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22106 (eval $ac_compile) 2>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } &&
22110 { ac_try='test -s conftest.$ac_objext'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; }; then
22118 cat >>confdefs.h <<\_ACEOF
22119 #define wxHAVE_LIB_XPM 1
22122 echo "$as_me:$LINENO: result: found in default search path" >&5
22123 echo "${ECHO_T}found in default search path" >&6
22124 COMPILED_X_PROGRAM=0
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22131 echo "$as_me:$LINENO: result: no" >&5
22132 echo "${ECHO_T}no" >&6
22133 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22134 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22138 rm -f conftest.$ac_objext conftest.$ac_ext
22141 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22142 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22143 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 ac_check_lib_save_LIBS=$LIBS
22147 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22148 cat >conftest.$ac_ext <<_ACEOF
22149 #line $LINENO "configure"
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22156 /* Override any gcc2 internal prototype to avoid an error. */
22160 /* We use char because int might match the return type of a gcc2
22161 builtin and then its argument prototype would still apply. */
22162 char XShapeQueryExtension ();
22166 XShapeQueryExtension ();
22171 rm -f conftest.$ac_objext conftest$ac_exeext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22173 (eval $ac_link) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } &&
22177 { ac_try='test -s conftest$ac_exeext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 ac_cv_lib_Xext_XShapeQueryExtension=yes
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22188 ac_cv_lib_Xext_XShapeQueryExtension=no
22190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22191 LIBS=$ac_check_lib_save_LIBS
22193 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22194 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22195 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22197 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22203 if test "$wxUSE_UNICODE" = "yes"; then
22207 if test -z "$PKG_CONFIG"; then
22208 # Extract the first word of "pkg-config", so it can be a program name with args.
22209 set dummy pkg-config; ac_word=$2
22210 echo "$as_me:$LINENO: checking for $ac_word" >&5
22211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22212 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 case $PKG_CONFIG in
22217 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22221 for as_dir in $PATH
22224 test -z "$as_dir" && as_dir=.
22225 for ac_exec_ext in '' $ac_executable_extensions; do
22226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22227 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22234 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22238 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22240 if test -n "$PKG_CONFIG"; then
22241 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22242 echo "${ECHO_T}$PKG_CONFIG" >&6
22244 echo "$as_me:$LINENO: result: no" >&5
22245 echo "${ECHO_T}no" >&6
22250 if test "$PKG_CONFIG" = "no" ; then
22251 echo "*** The pkg-config script could not be found. Make sure it is"
22252 echo "*** in your path, or set the PKG_CONFIG environment variable"
22253 echo "*** to the full path to pkg-config."
22254 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22256 PKG_CONFIG_MIN_VERSION=0.9.0
22257 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22258 echo "$as_me:$LINENO: checking for pangox" >&5
22259 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22261 if $PKG_CONFIG --exists "pangox" ; then
22262 echo "$as_me:$LINENO: result: yes" >&5
22263 echo "${ECHO_T}yes" >&6
22266 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22267 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22268 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22269 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22270 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22272 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22273 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22274 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22275 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22276 echo "${ECHO_T}$PANGOX_LIBS" >&6
22280 ## If we have a custom action on failure, don't print errors, but
22281 ## do set a variable so people can do so.
22282 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22289 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22290 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22294 if test $succeeded = yes; then
22296 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22297 LIBS="$LIBS $PANGOX_LIBS"
22301 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22302 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22303 { (exit 1); exit 1; }; }
22311 if test -z "$PKG_CONFIG"; then
22312 # Extract the first word of "pkg-config", so it can be a program name with args.
22313 set dummy pkg-config; ac_word=$2
22314 echo "$as_me:$LINENO: checking for $ac_word" >&5
22315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22316 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 case $PKG_CONFIG in
22321 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22325 for as_dir in $PATH
22328 test -z "$as_dir" && as_dir=.
22329 for ac_exec_ext in '' $ac_executable_extensions; do
22330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22331 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22338 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22342 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22344 if test -n "$PKG_CONFIG"; then
22345 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22346 echo "${ECHO_T}$PKG_CONFIG" >&6
22348 echo "$as_me:$LINENO: result: no" >&5
22349 echo "${ECHO_T}no" >&6
22354 if test "$PKG_CONFIG" = "no" ; then
22355 echo "*** The pkg-config script could not be found. Make sure it is"
22356 echo "*** in your path, or set the PKG_CONFIG environment variable"
22357 echo "*** to the full path to pkg-config."
22358 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22360 PKG_CONFIG_MIN_VERSION=0.9.0
22361 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22362 echo "$as_me:$LINENO: checking for pangoft2" >&5
22363 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22365 if $PKG_CONFIG --exists "pangoft2" ; then
22366 echo "$as_me:$LINENO: result: yes" >&5
22367 echo "${ECHO_T}yes" >&6
22370 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22371 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22372 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22373 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22374 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22376 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22377 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22378 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22379 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22380 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22384 ## If we have a custom action on failure, don't print errors, but
22385 ## do set a variable so people can do so.
22386 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22393 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22394 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22398 if test $succeeded = yes; then
22400 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22401 LIBS="$LIBS $PANGOFT2_LIBS"
22405 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22406 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22407 wxUSE_PRINTING_ARCHITECTURE="no"
22415 if test -z "$PKG_CONFIG"; then
22416 # Extract the first word of "pkg-config", so it can be a program name with args.
22417 set dummy pkg-config; ac_word=$2
22418 echo "$as_me:$LINENO: checking for $ac_word" >&5
22419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22420 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22421 echo $ECHO_N "(cached) $ECHO_C" >&6
22423 case $PKG_CONFIG in
22425 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22429 for as_dir in $PATH
22432 test -z "$as_dir" && as_dir=.
22433 for ac_exec_ext in '' $ac_executable_extensions; do
22434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22435 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22446 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22448 if test -n "$PKG_CONFIG"; then
22449 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22450 echo "${ECHO_T}$PKG_CONFIG" >&6
22452 echo "$as_me:$LINENO: result: no" >&5
22453 echo "${ECHO_T}no" >&6
22458 if test "$PKG_CONFIG" = "no" ; then
22459 echo "*** The pkg-config script could not be found. Make sure it is"
22460 echo "*** in your path, or set the PKG_CONFIG environment variable"
22461 echo "*** to the full path to pkg-config."
22462 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22464 PKG_CONFIG_MIN_VERSION=0.9.0
22465 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22466 echo "$as_me:$LINENO: checking for pangoxft" >&5
22467 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22469 if $PKG_CONFIG --exists "pangoxft" ; then
22470 echo "$as_me:$LINENO: result: yes" >&5
22471 echo "${ECHO_T}yes" >&6
22474 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22475 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22476 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22477 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22478 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22480 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22481 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22482 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22483 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22484 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22488 ## If we have a custom action on failure, don't print errors, but
22489 ## do set a variable so people can do so.
22490 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22497 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22498 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22502 if test $succeeded = yes; then
22504 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22505 LIBS="$LIBS $PANGOXFT_LIBS"
22509 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22510 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22517 wxUSE_UNIVERSAL="yes"
22519 if test "$wxUSE_NANOX" = "yes"; then
22520 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22521 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"
22522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22527 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22532 if test "$wxUSE_MOTIF" = 1; then
22533 if test "$no_x" = yes; then
22534 # Not all programs may use this symbol, but it does not hurt to define it.
22536 cat >>confdefs.h <<\_ACEOF
22537 #define X_DISPLAY_MISSING 1
22540 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22542 if test -n "$x_includes"; then
22543 X_CFLAGS="$X_CFLAGS -I$x_includes"
22546 # It would also be nice to do this for all -L options, not just this one.
22547 if test -n "$x_libraries"; then
22548 X_LIBS="$X_LIBS -L$x_libraries"
22549 # For Solaris; some versions of Sun CC require a space after -R and
22550 # others require no space. Words are not sufficient . . . .
22551 case `(uname -sr) 2>/dev/null` in
22553 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22554 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22555 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22556 cat >conftest.$ac_ext <<_ACEOF
22557 #line $LINENO "configure"
22560 cat confdefs.h >>conftest.$ac_ext
22561 cat >>conftest.$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22572 rm -f conftest.$ac_objext conftest$ac_exeext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } &&
22578 { ac_try='test -s conftest$ac_exeext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22592 if test $ac_R_nospace = yes; then
22593 echo "$as_me:$LINENO: result: no" >&5
22594 echo "${ECHO_T}no" >&6
22595 X_LIBS="$X_LIBS -R$x_libraries"
22597 LIBS="$ac_xsave_LIBS -R $x_libraries"
22598 cat >conftest.$ac_ext <<_ACEOF
22599 #line $LINENO "configure"
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22614 rm -f conftest.$ac_objext conftest$ac_exeext
22615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22616 (eval $ac_link) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } &&
22620 { ac_try='test -s conftest$ac_exeext'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22634 if test $ac_R_space = yes; then
22635 echo "$as_me:$LINENO: result: yes" >&5
22636 echo "${ECHO_T}yes" >&6
22637 X_LIBS="$X_LIBS -R $x_libraries"
22639 echo "$as_me:$LINENO: result: neither works" >&5
22640 echo "${ECHO_T}neither works" >&6
22643 LIBS=$ac_xsave_LIBS
22647 # Check for system-dependent libraries X programs must link with.
22648 # Do this before checking for the system-independent R6 libraries
22649 # (-lICE), since we may need -lsocket or whatever for X linking.
22651 if test "$ISC" = yes; then
22652 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22654 # Martyn Johnson says this is needed for Ultrix, if the X
22655 # libraries were built with DECnet support. And Karl Berry says
22656 # the Alpha needs dnet_stub (dnet does not exist).
22657 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22658 cat >conftest.$ac_ext <<_ACEOF
22659 #line $LINENO "configure"
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22666 /* Override any gcc2 internal prototype to avoid an error. */
22670 /* We use char because int might match the return type of a gcc2
22671 builtin and then its argument prototype would still apply. */
22672 char XOpenDisplay ();
22681 rm -f conftest.$ac_objext conftest$ac_exeext
22682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22683 (eval $ac_link) 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); } &&
22687 { ac_try='test -s conftest$ac_exeext'
22688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22689 (eval $ac_try) 2>&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); }; }; then
22695 echo "$as_me: failed program was:" >&5
22696 sed 's/^/| /' conftest.$ac_ext >&5
22698 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22699 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22700 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 ac_check_lib_save_LIBS=$LIBS
22704 LIBS="-ldnet $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_dnet_ntoa=yes
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22745 ac_cv_lib_dnet_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_dnet_ntoa" >&5
22751 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22752 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22753 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22756 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22757 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22758 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22759 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22760 echo $ECHO_N "(cached) $ECHO_C" >&6
22762 ac_check_lib_save_LIBS=$LIBS
22763 LIBS="-ldnet_stub $LIBS"
22764 cat >conftest.$ac_ext <<_ACEOF
22765 #line $LINENO "configure"
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22772 /* Override any gcc2 internal prototype to avoid an error. */
22776 /* We use char because int might match the return type of a gcc2
22777 builtin and then its argument prototype would still apply. */
22787 rm -f conftest.$ac_objext conftest$ac_exeext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22789 (eval $ac_link) 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try='test -s conftest$ac_exeext'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; }; then
22799 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22801 echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.$ac_ext >&5
22804 ac_cv_lib_dnet_stub_dnet_ntoa=no
22806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22807 LIBS=$ac_check_lib_save_LIBS
22809 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22810 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22811 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22812 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22818 LIBS="$ac_xsave_LIBS"
22820 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22821 # to get the SysV transport functions.
22822 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22824 # The nsl library prevents programs from opening the X display
22825 # on Irix 5.2, according to T.E. Dickey.
22826 # The functions gethostbyname, getservbyname, and inet_addr are
22827 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22828 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22829 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22830 if test "${ac_cv_func_gethostbyname+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 cat >conftest.$ac_ext <<_ACEOF
22834 #line $LINENO "configure"
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840 /* System header to define __stub macros and hopefully few prototypes,
22841 which can conflict with char gethostbyname (); below.
22842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22843 <limits.h> exists even on freestanding compilers. */
22845 # include <limits.h>
22847 # include <assert.h>
22849 /* Override any gcc2 internal prototype to avoid an error. */
22854 /* We use char because int might match the return type of a gcc2
22855 builtin and then its argument prototype would still apply. */
22856 char gethostbyname ();
22857 /* The GNU C library defines this for functions which it implements
22858 to always fail with ENOSYS. Some functions are actually named
22859 something starting with __ and the normal name is an alias. */
22860 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22863 char (*f) () = gethostbyname;
22872 return f != gethostbyname;
22877 rm -f conftest.$ac_objext conftest$ac_exeext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); } &&
22883 { ac_try='test -s conftest$ac_exeext'
22884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22885 (eval $ac_try) 2>&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); }; }; then
22889 ac_cv_func_gethostbyname=yes
22891 echo "$as_me: failed program was:" >&5
22892 sed 's/^/| /' conftest.$ac_ext >&5
22894 ac_cv_func_gethostbyname=no
22896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22898 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22899 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22901 if test $ac_cv_func_gethostbyname = no; then
22902 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22903 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22904 if test "${ac_cv_lib_nsl_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_nsl_gethostbyname=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22949 ac_cv_lib_nsl_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_nsl_gethostbyname" >&5
22955 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22956 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22960 if test $ac_cv_lib_nsl_gethostbyname = no; then
22961 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22962 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22963 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22966 ac_check_lib_save_LIBS=$LIBS
22968 cat >conftest.$ac_ext <<_ACEOF
22969 #line $LINENO "configure"
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22976 /* Override any gcc2 internal prototype to avoid an error. */
22980 /* We use char because int might match the return type of a gcc2
22981 builtin and then its argument prototype would still apply. */
22982 char gethostbyname ();
22991 rm -f conftest.$ac_objext conftest$ac_exeext
22992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22993 (eval $ac_link) 2>&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } &&
22997 { ac_try='test -s conftest$ac_exeext'
22998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22999 (eval $ac_try) 2>&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); }; }; then
23003 ac_cv_lib_bsd_gethostbyname=yes
23005 echo "$as_me: failed program was:" >&5
23006 sed 's/^/| /' conftest.$ac_ext >&5
23008 ac_cv_lib_bsd_gethostbyname=no
23010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23011 LIBS=$ac_check_lib_save_LIBS
23013 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23014 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23015 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23022 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23023 # socket/setsockopt and other routines are undefined under SCO ODT
23024 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23025 # on later versions), says Simon Leinen: it contains gethostby*
23026 # variants that don't use the name server (or something). -lsocket
23027 # must be given before -lnsl if both are needed. We assume that
23028 # if connect needs -lnsl, so does gethostbyname.
23029 echo "$as_me:$LINENO: checking for connect" >&5
23030 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23031 if test "${ac_cv_func_connect+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23034 cat >conftest.$ac_ext <<_ACEOF
23035 #line $LINENO "configure"
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 /* System header to define __stub macros and hopefully few prototypes,
23042 which can conflict with char connect (); below.
23043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23044 <limits.h> exists even on freestanding compilers. */
23046 # include <limits.h>
23048 # include <assert.h>
23050 /* Override any gcc2 internal prototype to avoid an error. */
23055 /* We use char because int might match the return type of a gcc2
23056 builtin and then its argument prototype would still apply. */
23058 /* The GNU C library defines this for functions which it implements
23059 to always fail with ENOSYS. Some functions are actually named
23060 something starting with __ and the normal name is an alias. */
23061 #if defined (__stub_connect) || defined (__stub___connect)
23064 char (*f) () = connect;
23073 return f != connect;
23078 rm -f conftest.$ac_objext conftest$ac_exeext
23079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23080 (eval $ac_link) 2>&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } &&
23084 { ac_try='test -s conftest$ac_exeext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_cv_func_connect=yes
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23095 ac_cv_func_connect=no
23097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23099 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23100 echo "${ECHO_T}$ac_cv_func_connect" >&6
23102 if test $ac_cv_func_connect = no; then
23103 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23104 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23105 if test "${ac_cv_lib_socket_connect+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 ac_check_lib_save_LIBS=$LIBS
23109 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
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. */
23118 /* Override any gcc2 internal prototype to avoid an error. */
23122 /* We use char because int might match the return type of a gcc2
23123 builtin and then its argument prototype would still apply. */
23133 rm -f conftest.$ac_objext conftest$ac_exeext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23135 (eval $ac_link) 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try='test -s conftest$ac_exeext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23145 ac_cv_lib_socket_connect=yes
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.$ac_ext >&5
23150 ac_cv_lib_socket_connect=no
23152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23153 LIBS=$ac_check_lib_save_LIBS
23155 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23156 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23157 if test $ac_cv_lib_socket_connect = yes; then
23158 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23163 # Guillermo Gomez says -lposix is necessary on A/UX.
23164 echo "$as_me:$LINENO: checking for remove" >&5
23165 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23166 if test "${ac_cv_func_remove+set}" = set; then
23167 echo $ECHO_N "(cached) $ECHO_C" >&6
23169 cat >conftest.$ac_ext <<_ACEOF
23170 #line $LINENO "configure"
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23176 /* System header to define __stub macros and hopefully few prototypes,
23177 which can conflict with char remove (); below.
23178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23179 <limits.h> exists even on freestanding compilers. */
23181 # include <limits.h>
23183 # include <assert.h>
23185 /* Override any gcc2 internal prototype to avoid an error. */
23190 /* We use char because int might match the return type of a gcc2
23191 builtin and then its argument prototype would still apply. */
23193 /* The GNU C library defines this for functions which it implements
23194 to always fail with ENOSYS. Some functions are actually named
23195 something starting with __ and the normal name is an alias. */
23196 #if defined (__stub_remove) || defined (__stub___remove)
23199 char (*f) () = remove;
23208 return f != remove;
23213 rm -f conftest.$ac_objext conftest$ac_exeext
23214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23215 (eval $ac_link) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); } &&
23219 { ac_try='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 ac_cv_func_remove=yes
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23230 ac_cv_func_remove=no
23232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23234 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23235 echo "${ECHO_T}$ac_cv_func_remove" >&6
23237 if test $ac_cv_func_remove = no; then
23238 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23239 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23240 if test "${ac_cv_lib_posix_remove+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 ac_check_lib_save_LIBS=$LIBS
23244 LIBS="-lposix $LIBS"
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. */
23253 /* Override any gcc2 internal prototype to avoid an error. */
23257 /* We use char because int might match the return type of a gcc2
23258 builtin and then its argument prototype would still apply. */
23268 rm -f conftest.$ac_objext conftest$ac_exeext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23270 (eval $ac_link) 2>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try='test -s conftest$ac_exeext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 ac_cv_lib_posix_remove=yes
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 ac_cv_lib_posix_remove=no
23287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23288 LIBS=$ac_check_lib_save_LIBS
23290 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23291 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23292 if test $ac_cv_lib_posix_remove = yes; then
23293 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23298 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23299 echo "$as_me:$LINENO: checking for shmat" >&5
23300 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23301 if test "${ac_cv_func_shmat+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23304 cat >conftest.$ac_ext <<_ACEOF
23305 #line $LINENO "configure"
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311 /* System header to define __stub macros and hopefully few prototypes,
23312 which can conflict with char shmat (); below.
23313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23314 <limits.h> exists even on freestanding compilers. */
23316 # include <limits.h>
23318 # include <assert.h>
23320 /* Override any gcc2 internal prototype to avoid an error. */
23325 /* We use char because int might match the return type of a gcc2
23326 builtin and then its argument prototype would still apply. */
23328 /* The GNU C library defines this for functions which it implements
23329 to always fail with ENOSYS. Some functions are actually named
23330 something starting with __ and the normal name is an alias. */
23331 #if defined (__stub_shmat) || defined (__stub___shmat)
23334 char (*f) () = shmat;
23348 rm -f conftest.$ac_objext conftest$ac_exeext
23349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350 (eval $ac_link) 2>&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } &&
23354 { ac_try='test -s conftest$ac_exeext'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; }; then
23360 ac_cv_func_shmat=yes
23362 echo "$as_me: failed program was:" >&5
23363 sed 's/^/| /' conftest.$ac_ext >&5
23365 ac_cv_func_shmat=no
23367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23369 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23370 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23372 if test $ac_cv_func_shmat = no; then
23373 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23374 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23375 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23376 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 ac_check_lib_save_LIBS=$LIBS
23380 cat >conftest.$ac_ext <<_ACEOF
23381 #line $LINENO "configure"
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23388 /* Override any gcc2 internal prototype to avoid an error. */
23392 /* We use char because int might match the return type of a gcc2
23393 builtin and then its argument prototype would still apply. */
23403 rm -f conftest.$ac_objext conftest$ac_exeext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23405 (eval $ac_link) 2>&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } &&
23409 { ac_try='test -s conftest$ac_exeext'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; }; then
23415 ac_cv_lib_ipc_shmat=yes
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23420 ac_cv_lib_ipc_shmat=no
23422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23423 LIBS=$ac_check_lib_save_LIBS
23425 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23426 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23427 if test $ac_cv_lib_ipc_shmat = yes; then
23428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23434 # Check for libraries that X11R6 Xt/Xaw programs need.
23435 ac_save_LDFLAGS=$LDFLAGS
23436 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23437 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23438 # check for ICE first), but we must link in the order -lSM -lICE or
23439 # we get undefined symbols. So assume we have SM if we have ICE.
23440 # These have to be linked with before -lX11, unlike the other
23441 # libraries we check for below, so use a different variable.
23442 # John Interrante, Karl Berry
23443 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23444 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23445 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23446 echo $ECHO_N "(cached) $ECHO_C" >&6
23448 ac_check_lib_save_LIBS=$LIBS
23449 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23450 cat >conftest.$ac_ext <<_ACEOF
23451 #line $LINENO "configure"
23454 cat confdefs.h >>conftest.$ac_ext
23455 cat >>conftest.$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23458 /* Override any gcc2 internal prototype to avoid an error. */
23462 /* We use char because int might match the return type of a gcc2
23463 builtin and then its argument prototype would still apply. */
23464 char IceConnectionNumber ();
23468 IceConnectionNumber ();
23473 rm -f conftest.$ac_objext conftest$ac_exeext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23475 (eval $ac_link) 2>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } &&
23479 { ac_try='test -s conftest$ac_exeext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_cv_lib_ICE_IceConnectionNumber=yes
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23490 ac_cv_lib_ICE_IceConnectionNumber=no
23492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23493 LIBS=$ac_check_lib_save_LIBS
23495 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23496 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23497 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23498 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23501 LDFLAGS=$ac_save_LDFLAGS
23506 if test "$no_x" = "yes"; then
23507 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23508 echo "$as_me: error: X11 not found" >&2;}
23509 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23512 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23513 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23514 AFMINSTALL=afminstall
23515 COMPILED_X_PROGRAM=0
23517 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23518 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23521 for ac_dir in $SEARCH_INCLUDE /usr/include;
23523 if test -f "$ac_dir/Xm/Xm.h"; then
23524 ac_find_includes=$ac_dir
23529 if test "$ac_find_includes" != "" ; then
23530 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23531 echo "${ECHO_T}found in $ac_find_includes" >&6
23533 if test "x$ac_find_includes" = "x/usr/include"; then
23534 ac_path_to_include=""
23536 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23538 if test $result = 0; then
23539 ac_path_to_include=""
23541 ac_path_to_include=" -I$ac_find_includes"
23545 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23547 cat >conftest.$ac_ext <<_ACEOF
23548 #line $LINENO "configure"
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23562 version = xmUseVersion;
23568 rm -f conftest.$ac_objext
23569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23570 (eval $ac_compile) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } &&
23574 { ac_try='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23581 echo "$as_me:$LINENO: result: found in default search path" >&5
23582 echo "${ECHO_T}found in default search path" >&6
23583 COMPILED_X_PROGRAM=1
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.$ac_ext >&5
23590 echo "$as_me:$LINENO: result: no" >&5
23591 echo "${ECHO_T}no" >&6
23592 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23593 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23594 { (exit 1); exit 1; }; }
23598 rm -f conftest.$ac_objext conftest.$ac_ext
23601 if test "$COMPILED_X_PROGRAM" = 0; then
23602 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23603 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23606 for ac_dir in $SEARCH_LIB /usr/lib;
23608 for ac_extension in a so sl dylib; do
23609 if test -f "$ac_dir/libXm.$ac_extension"; then
23610 ac_find_libraries=$ac_dir
23616 if test "$ac_find_libraries" != "" ; then
23617 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23618 echo "${ECHO_T}found at $ac_find_libraries" >&6
23621 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23623 if test $result = 0; then
23626 ac_path_to_link=" -L$ac_find_libraries"
23629 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23631 save_CFLAGS=$CFLAGS
23632 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23634 cat >conftest.$ac_ext <<_ACEOF
23635 #line $LINENO "configure"
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23649 version = xmUseVersion;
23655 rm -f conftest.$ac_objext
23656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23657 (eval $ac_compile) 2>&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); } &&
23661 { ac_try='test -s conftest.$ac_objext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23668 echo "$as_me:$LINENO: result: found in default search path" >&5
23669 echo "${ECHO_T}found in default search path" >&6
23670 COMPILED_X_PROGRAM=1
23673 echo "$as_me: failed program was:" >&5
23674 sed 's/^/| /' conftest.$ac_ext >&5
23677 echo "$as_me:$LINENO: result: no" >&5
23678 echo "${ECHO_T}no" >&6
23679 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23680 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23681 { (exit 1); exit 1; }; }
23685 rm -f conftest.$ac_objext conftest.$ac_ext
23687 CFLAGS=$save_CFLAGS
23692 echo "$as_me:$LINENO: checking for Xpm library" >&5
23693 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23696 for ac_dir in $SEARCH_LIB /usr/lib;
23698 for ac_extension in a so sl dylib; do
23699 if test -f "$ac_dir/libXpm.$ac_extension"; then
23700 ac_find_libraries=$ac_dir
23706 if test "$ac_find_libraries" != "" ; then
23708 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23710 if test $result = 0; then
23713 ac_path_to_link=" -L$ac_find_libraries"
23716 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23719 cat >>confdefs.h <<\_ACEOF
23720 #define wxHAVE_LIB_XPM 1
23723 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23724 echo "${ECHO_T}found at $ac_find_libraries" >&6
23726 save_CFLAGS=$CFLAGS
23727 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23729 cat >conftest.$ac_ext <<_ACEOF
23730 #line $LINENO "configure"
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23737 #include <X11/xpm.h>
23744 version = XpmLibraryVersion();
23750 rm -f conftest.$ac_objext
23751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23752 (eval $ac_compile) 2>&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try='test -s conftest.$ac_objext'
23757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23758 (eval $ac_try) 2>&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; }; then
23764 cat >>confdefs.h <<\_ACEOF
23765 #define wxHAVE_LIB_XPM 1
23768 echo "$as_me:$LINENO: result: found in default search path" >&5
23769 echo "${ECHO_T}found in default search path" >&6
23770 COMPILED_X_PROGRAM=0
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23777 echo "$as_me:$LINENO: result: no" >&5
23778 echo "${ECHO_T}no" >&6
23779 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23780 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23784 rm -f conftest.$ac_objext conftest.$ac_ext
23786 CFLAGS=$save_CFLAGS
23789 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23790 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23794 for libp in "" " -lXp"; do
23795 if test "$libs_found" = "0"; then
23796 for libsm_ice in " -lSM -lICE"; do
23797 if test "$libs_found" = "0"; then
23799 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23800 save_CFLAGS=$CFLAGS
23801 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23803 cat >conftest.$ac_ext <<_ACEOF
23804 #line $LINENO "configure"
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23812 #include <Xm/List.h>
23818 XmString string = NULL;
23821 XmListAddItem(w, string, position);
23827 rm -f conftest.$ac_objext conftest$ac_exeext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23829 (eval $ac_link) 2>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } &&
23833 { ac_try='test -s conftest$ac_exeext'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; }; then
23841 libsm_ice_link="$libsm_ice"
23842 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23843 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23856 CFLAGS=$save_CFLAGS
23862 if test "$libs_found" = "0"; then
23863 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23864 echo "${ECHO_T}can't find the right libraries" >&6
23865 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23866 echo "$as_me: error: can't link a simple motif program" >&2;}
23867 { (exit 1); exit 1; }; }
23870 save_CFLAGS=$CFLAGS
23871 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23872 echo "$as_me:$LINENO: checking for Motif 2" >&5
23873 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23874 cat >conftest.$ac_ext <<_ACEOF
23875 #line $LINENO "configure"
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23888 #if XmVersion < 2000
23889 #error "Not Motif 2"
23896 rm -f conftest.$ac_objext
23897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23898 (eval $ac_compile) 2>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -s conftest.$ac_objext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23909 cat >>confdefs.h <<\_ACEOF
23910 #define __WXMOTIF20__ 1
23913 echo "$as_me:$LINENO: result: found" >&5
23914 echo "${ECHO_T}found" >&6
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23921 cat >>confdefs.h <<\_ACEOF
23922 #define __WXMOTIF20__ 0
23925 echo "$as_me:$LINENO: result: not found" >&5
23926 echo "${ECHO_T}not found" >&6
23929 rm -f conftest.$ac_objext conftest.$ac_ext
23930 CFLAGS=$save_CFLAGS
23932 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23933 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23939 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23940 test "$wxHAVE_XEXT_LIB" = 1; then
23941 save_CFLAGS="$CFLAGS"
23942 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23944 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23945 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23946 cat >conftest.$ac_ext <<_ACEOF
23947 #line $LINENO "configure"
23950 cat confdefs.h >>conftest.$ac_ext
23951 cat >>conftest.$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23954 #include <X11/Xlib.h>
23955 #include <X11/extensions/shape.h>
23961 int dummy1, dummy2;
23962 XShapeQueryExtension((Display*)NULL,
23963 (int*)NULL, (int*)NULL);
23969 rm -f conftest.$ac_objext
23970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23971 (eval $ac_compile) 2>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } &&
23975 { ac_try='test -s conftest.$ac_objext'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23982 cat >>confdefs.h <<\_ACEOF
23983 #define HAVE_XSHAPE 1
23986 echo "$as_me:$LINENO: result: found" >&5
23987 echo "${ECHO_T}found" >&6
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23994 echo "$as_me:$LINENO: result: not found" >&5
23995 echo "${ECHO_T}not found" >&6
23998 rm -f conftest.$ac_objext conftest.$ac_ext
23999 CFLAGS="$save_CFLAGS"
24002 if test "$wxUSE_MAC" = 1; then
24003 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24005 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24010 if test "$wxUSE_COCOA" = 1; then
24011 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24016 if test "$wxUSE_PM" = 1; then
24019 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24020 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24024 if test "$TOOLKIT" = "PM" ; then
24027 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24030 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24032 if test "$wxUSE_UNIVERSAL" = "yes"; then
24033 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24035 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24036 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24038 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24039 if test "$wxUSE_X11" = 1; then
24040 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24042 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24044 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24047 ALL_OBJECTS="\$(GUIOBJS)"
24048 ALL_SOURCES="\$(ALL_SOURCES)"
24049 ALL_HEADERS="\$(ALL_HEADERS)"
24052 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24054 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24055 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24058 if test "$wxUSE_HTML" = "yes"; then
24059 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24063 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24065 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24066 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24068 if test "$wxUSE_LIBPNG" = "builtin" ; then
24069 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24072 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24073 DISTDIR="wx\$(TOOLKIT)"
24079 if test "$USE_WIN32" = 1 ; then
24080 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24081 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24085 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24086 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24089 ALL_SOURCES="\$(ALL_SOURCES)"
24090 ALL_HEADERS="\$(ALL_HEADERS)"
24092 PORT_FILES="\${top_srcdir}/src/files.lst"
24094 GUIDIST="BASE_DIST"
24104 if test "$TOOLKIT" != "MSW" ; then
24106 if test "$wxUSE_ODBC" != "no" ; then
24107 cat >>confdefs.h <<\_ACEOF
24108 #define wxUSE_ODBC 1
24111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24113 WXODBCFLAG="-D_IODBC_"
24116 if test "$wxUSE_ODBC" = "sys" ; then
24118 if test "${ac_cv_header_sql_h+set}" = set; then
24119 echo "$as_me:$LINENO: checking for sql.h" >&5
24120 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24121 if test "${ac_cv_header_sql_h+set}" = set; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24124 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24125 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24127 # Is the header compilable?
24128 echo "$as_me:$LINENO: checking sql.h usability" >&5
24129 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24130 cat >conftest.$ac_ext <<_ACEOF
24131 #line $LINENO "configure"
24134 cat confdefs.h >>conftest.$ac_ext
24135 cat >>conftest.$ac_ext <<_ACEOF
24136 /* end confdefs.h. */
24137 $ac_includes_default
24140 rm -f conftest.$ac_objext
24141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24142 (eval $ac_compile) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); } &&
24146 { ac_try='test -s conftest.$ac_objext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 ac_header_compiler=yes
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.$ac_ext >&5
24157 ac_header_compiler=no
24159 rm -f conftest.$ac_objext conftest.$ac_ext
24160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24161 echo "${ECHO_T}$ac_header_compiler" >&6
24163 # Is the header present?
24164 echo "$as_me:$LINENO: checking sql.h presence" >&5
24165 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24166 cat >conftest.$ac_ext <<_ACEOF
24167 #line $LINENO "configure"
24170 cat confdefs.h >>conftest.$ac_ext
24171 cat >>conftest.$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24178 grep -v '^ *+' conftest.er1 >conftest.err
24180 cat conftest.err >&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } >/dev/null; then
24183 if test -s conftest.err; then
24184 ac_cpp_err=$ac_c_preproc_warn_flag
24191 if test -z "$ac_cpp_err"; then
24192 ac_header_preproc=yes
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24197 ac_header_preproc=no
24199 rm -f conftest.err conftest.$ac_ext
24200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24201 echo "${ECHO_T}$ac_header_preproc" >&6
24203 # So? What about this header?
24204 case $ac_header_compiler:$ac_header_preproc in
24206 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24207 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24208 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24209 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24212 ## ------------------------------------ ##
24213 ## Report this to bug-autoconf@gnu.org. ##
24214 ## ------------------------------------ ##
24217 sed "s/^/$as_me: WARNING: /" >&2
24220 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24221 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24222 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24223 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24225 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24228 ## ------------------------------------ ##
24229 ## Report this to bug-autoconf@gnu.org. ##
24230 ## ------------------------------------ ##
24233 sed "s/^/$as_me: WARNING: /" >&2
24236 echo "$as_me:$LINENO: checking for sql.h" >&5
24237 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24238 if test "${ac_cv_header_sql_h+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 ac_cv_header_sql_h=$ac_header_preproc
24243 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24244 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24249 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24250 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24251 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24252 echo $ECHO_N "(cached) $ECHO_C" >&6
24254 ac_func_search_save_LIBS=$LIBS
24255 ac_cv_search_SQLAllocEnv=no
24256 cat >conftest.$ac_ext <<_ACEOF
24257 #line $LINENO "configure"
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24264 /* Override any gcc2 internal prototype to avoid an error. */
24268 /* We use char because int might match the return type of a gcc2
24269 builtin and then its argument prototype would still apply. */
24270 char SQLAllocEnv ();
24279 rm -f conftest.$ac_objext conftest$ac_exeext
24280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24281 (eval $ac_link) 2>&5
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); } &&
24285 { ac_try='test -s conftest$ac_exeext'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; }; then
24291 ac_cv_search_SQLAllocEnv="none required"
24293 echo "$as_me: failed program was:" >&5
24294 sed 's/^/| /' conftest.$ac_ext >&5
24297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24298 if test "$ac_cv_search_SQLAllocEnv" = no; then
24299 for ac_lib in iodbc unixodbc odbc ; do
24300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24301 cat >conftest.$ac_ext <<_ACEOF
24302 #line $LINENO "configure"
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24309 /* Override any gcc2 internal prototype to avoid an error. */
24313 /* We use char because int might match the return type of a gcc2
24314 builtin and then its argument prototype would still apply. */
24315 char SQLAllocEnv ();
24324 rm -f conftest.$ac_objext conftest$ac_exeext
24325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24326 (eval $ac_link) 2>&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); } &&
24330 { ac_try='test -s conftest$ac_exeext'
24331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332 (eval $ac_try) 2>&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); }; }; then
24336 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.$ac_ext >&5
24343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24346 LIBS=$ac_func_search_save_LIBS
24348 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24349 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24350 if test "$ac_cv_search_SQLAllocEnv" != no; then
24351 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24355 wxUSE_ODBC=builtin;
24356 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24357 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24362 if test "$wxUSE_ODBC" != "sys" ; then
24363 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24370 if test "$wxUSE_REGEX" = "builtin" ; then
24371 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24373 if test "$wxUSE_ZLIB" = "builtin" ; then
24374 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24378 if test "$wxUSE_OPENGL" = "yes"; then
24379 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24380 OPENGL_LIBS="-framework OpenGL -framework AGL"
24381 elif test "$wxUSE_MSW" = 1; then
24382 OPENGL_LIBS="-lopengl32 -lglu32"
24387 for ac_dir in $SEARCH_INCLUDE /usr/include;
24389 if test -f "$ac_dir/GL/gl.h"; then
24390 ac_find_includes=$ac_dir
24395 if test "$ac_find_includes" != "" ; then
24396 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24397 echo "${ECHO_T}found in $ac_find_includes" >&6
24400 if test "x$ac_find_includes" = "x/usr/include"; then
24401 ac_path_to_include=""
24403 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24405 if test $result = 0; then
24406 ac_path_to_include=""
24408 ac_path_to_include=" -I$ac_find_includes"
24412 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24416 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24417 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24418 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24419 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24423 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24425 # Is the header compilable?
24426 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24427 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24428 cat >conftest.$ac_ext <<_ACEOF
24429 #line $LINENO "configure"
24432 cat confdefs.h >>conftest.$ac_ext
24433 cat >>conftest.$ac_ext <<_ACEOF
24434 /* end confdefs.h. */
24435 $ac_includes_default
24438 rm -f conftest.$ac_objext
24439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24440 (eval $ac_compile) 2>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try='test -s conftest.$ac_objext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450 ac_header_compiler=yes
24452 echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.$ac_ext >&5
24455 ac_header_compiler=no
24457 rm -f conftest.$ac_objext conftest.$ac_ext
24458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24459 echo "${ECHO_T}$ac_header_compiler" >&6
24461 # Is the header present?
24462 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24463 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24464 cat >conftest.$ac_ext <<_ACEOF
24465 #line $LINENO "configure"
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24476 grep -v '^ *+' conftest.er1 >conftest.err
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } >/dev/null; then
24481 if test -s conftest.err; then
24482 ac_cpp_err=$ac_c_preproc_warn_flag
24489 if test -z "$ac_cpp_err"; then
24490 ac_header_preproc=yes
24492 echo "$as_me: failed program was:" >&5
24493 sed 's/^/| /' conftest.$ac_ext >&5
24495 ac_header_preproc=no
24497 rm -f conftest.err conftest.$ac_ext
24498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24499 echo "${ECHO_T}$ac_header_preproc" >&6
24501 # So? What about this header?
24502 case $ac_header_compiler:$ac_header_preproc in
24504 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24505 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24507 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24510 ## ------------------------------------ ##
24511 ## Report this to bug-autoconf@gnu.org. ##
24512 ## ------------------------------------ ##
24515 sed "s/^/$as_me: WARNING: /" >&2
24518 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24519 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24521 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24523 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24526 ## ------------------------------------ ##
24527 ## Report this to bug-autoconf@gnu.org. ##
24528 ## ------------------------------------ ##
24531 sed "s/^/$as_me: WARNING: /" >&2
24534 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24535 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24536 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24537 echo $ECHO_N "(cached) $ECHO_C" >&6
24539 ac_cv_header_GL_gl_h=$ac_header_preproc
24541 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24542 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24545 if test $ac_cv_header_GL_gl_h = yes; then
24549 echo "$as_me:$LINENO: checking for -lGL" >&5
24550 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24553 for ac_dir in $SEARCH_LIB /usr/lib;
24555 for ac_extension in a so sl dylib; do
24556 if test -f "$ac_dir/libGL.$ac_extension"; then
24557 ac_find_libraries=$ac_dir
24563 if test "$ac_find_libraries" != "" ; then
24565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24567 if test $result = 0; then
24570 ac_path_to_link=" -L$ac_find_libraries"
24573 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24574 LDFLAGS_GL="$ac_path_to_link"
24579 for ac_dir in $SEARCH_LIB /usr/lib;
24581 for ac_extension in a so sl dylib; do
24582 if test -f "$ac_dir/libGLU.$ac_extension"; then
24583 ac_find_libraries=$ac_dir
24589 if test "$ac_find_libraries" != "" ; then
24591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24593 if test $result = 0; then
24596 ac_path_to_link=" -L$ac_find_libraries"
24599 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24600 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24601 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24605 OPENGL_LIBS="-lGL -lGLU"
24606 echo "$as_me:$LINENO: result: yes" >&5
24607 echo "${ECHO_T}yes" >&6
24611 if "$found_gl" != 1; then
24612 echo "$as_me:$LINENO: result: no" >&5
24613 echo "${ECHO_T}no" >&6
24614 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24615 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24618 for ac_dir in $SEARCH_LIB /usr/lib;
24620 for ac_extension in a so sl dylib; do
24621 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24622 ac_find_libraries=$ac_dir
24628 if test "$ac_find_libraries" != "" ; then
24630 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24632 if test $result = 0; then
24635 ac_path_to_link=" -L$ac_find_libraries"
24638 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24639 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24640 echo "$as_me:$LINENO: result: yes" >&5
24641 echo "${ECHO_T}yes" >&6
24643 echo "$as_me:$LINENO: result: no" >&5
24644 echo "${ECHO_T}no" >&6
24652 if test "x$OPENGL_LIBS" = "x"; then
24653 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24654 echo "$as_me: error: OpenGL libraries not available" >&2;}
24655 { (exit 1); exit 1; }; }
24659 if test "$wxUSE_OPENGL" = "yes"; then
24660 cat >>confdefs.h <<\_ACEOF
24661 #define wxUSE_OPENGL 1
24664 cat >>confdefs.h <<\_ACEOF
24665 #define wxUSE_GLCANVAS 1
24668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24672 if test -z "$TOOLKIT_VPATH" ; then
24673 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24676 if test -n "$TOOLKIT" ; then
24677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24681 lib_unicode_suffix=
24682 if test "$wxUSE_UNICODE" = "yes"; then
24683 lib_unicode_suffix=u
24689 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24694 WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24696 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24697 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24699 if test "$cross_compiling" = "yes"; then
24700 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24701 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24704 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24705 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24706 WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24708 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24709 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24711 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24712 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24713 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24714 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24717 *-*-cygwin* | *-*-mingw32* )
24721 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24722 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24723 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24724 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24725 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24727 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24728 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24734 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24735 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24737 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24738 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24739 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24740 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24742 if test "$wxUSE_MAC" = 1; then
24743 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24744 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24749 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24750 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24752 WXCONFIG_LIBS="-l${WX_LIBRARY}"
24753 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24755 if test "$wxUSE_OPENGL" = "yes"; then
24756 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24757 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24762 if test "$wxUSE_SHARED" = "yes"; then
24764 *-pc-os2_emx | *-pc-os2-emx | \
24767 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24768 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24774 if test "$wxUSE_SHARED" = "yes"; then
24777 if test "$wxUSE_OPENGL" = "yes"; then
24778 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24779 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24781 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24782 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24785 if test "$GCC" = "yes"; then
24791 found_versioning=no
24794 if test $found_versioning = no ; then
24795 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24796 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24797 if test "${wx_cv_version_script+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 echo "VER_1 { *; };" >conftest.sym
24802 echo "int main() { return 0; }" >conftest.cpp
24805 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24806 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; } ; then
24812 if test -s conftest.stderr ; then
24813 wx_cv_version_script=no
24815 wx_cv_version_script=yes
24818 wx_cv_version_script=no
24820 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24823 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24824 echo "${ECHO_T}$wx_cv_version_script" >&6
24825 if test $wx_cv_version_script = yes ; then
24826 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24831 SHARED_LD="${CXX} -shared -o"
24835 if test "$GCC" = "yes"; then
24836 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
24838 LDFLAGS="$LDFLAGS -L/usr/lib"
24840 SHARED_LD="${CXX} -b -o"
24844 if test "$wxUSE_OPENGL" = "yes"; then
24845 WX_ALL_INSTALLED="preinstall_gl"
24846 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24848 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24852 *-*-linux* | *-*-gnu* )
24853 if test "$GCC" != "yes"; then
24854 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24855 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24856 if test "${wx_cv_prog_icc+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 cat >conftest.$ac_ext <<_ACEOF
24861 #line $LINENO "configure"
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24872 #ifndef __INTEL_COMPILER
24880 rm -f conftest.$ac_objext
24881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24882 (eval $ac_compile) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try='test -s conftest.$ac_objext'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; }; then
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24900 rm -f conftest.$ac_objext conftest.$ac_ext
24903 echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24904 echo "${ECHO_T}$wx_cv_prog_icc" >&6
24905 if test "$wx_cv_prog_icc" = "yes"; then
24910 if test "$wxUSE_SONAME" = "yes" ; then
24911 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
24912 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
24913 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
24915 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24919 if test "$GCC" = yes ; then
24920 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24922 saveLdflags="$LDFLAGS"
24923 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24924 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24925 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24926 cat >conftest.$ac_ext <<_ACEOF
24927 #line $LINENO "configure"
24930 cat confdefs.h >>conftest.$ac_ext
24931 cat >>conftest.$ac_ext <<_ACEOF
24932 /* end confdefs.h. */
24942 rm -f conftest.$ac_objext conftest$ac_exeext
24943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24944 (eval $ac_link) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); } &&
24948 { ac_try='test -s conftest$ac_exeext'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; }; then
24955 echo "$as_me:$LINENO: result: yes" >&5
24956 echo "${ECHO_T}yes" >&6
24957 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.$ac_ext >&5
24964 echo "$as_me:$LINENO: result: no" >&5
24965 echo "${ECHO_T}no" >&6
24966 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24967 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24968 LDFLAGS="$saveLdflags -Wl,-R,/"
24969 cat >conftest.$ac_ext <<_ACEOF
24970 #line $LINENO "configure"
24973 cat confdefs.h >>conftest.$ac_ext
24974 cat >>conftest.$ac_ext <<_ACEOF
24975 /* end confdefs.h. */
24985 rm -f conftest.$ac_objext conftest$ac_exeext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24987 (eval $ac_link) 2>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } &&
24991 { ac_try='test -s conftest$ac_exeext'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; }; then
24998 echo "$as_me:$LINENO: result: yes" >&5
24999 echo "${ECHO_T}yes" >&6
25000 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25006 echo "$as_me:$LINENO: result: no" >&5
25007 echo "${ECHO_T}no" >&6
25010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25014 LDFLAGS="$saveLdflags"
25016 SHARED_LD="${CXX} -G -o"
25018 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
25019 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
25020 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25025 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
25026 CFLAGS="$CFLAGS -fno-common"
25027 CXXFLAGS="$CXXFLAGS -fno-common"
25028 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
25029 PIC_FLAG="-dynamic -fPIC"
25030 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
25031 SONAME_FLAGS_GL="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
25035 if test "$GCC" != "yes"; then
25036 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
25037 set dummy makeC++SharedLib; ac_word=$2
25038 echo "$as_me:$LINENO: checking for $ac_word" >&5
25039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25040 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
25041 echo $ECHO_N "(cached) $ECHO_C" >&6
25043 if test -n "$AIX_CXX_LD"; then
25044 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
25046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25047 for as_dir in $PATH
25050 test -z "$as_dir" && as_dir=.
25051 for ac_exec_ext in '' $ac_executable_extensions; do
25052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25053 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
25054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25060 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
25063 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
25064 if test -n "$AIX_CXX_LD"; then
25065 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
25066 echo "${ECHO_T}$AIX_CXX_LD" >&6
25068 echo "$as_me:$LINENO: result: no" >&5
25069 echo "${ECHO_T}no" >&6
25073 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
25077 *-*-cygwin* | *-*-mingw32* )
25078 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
25080 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
25081 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
25083 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
25085 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
25086 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
25088 if test "$wxUSE_OPENGL" = "yes"; then
25089 LIBS="${LIBS} ${OPENGL_LIBS}"
25094 SHARED_LD="${LD} -shared -o"
25098 if test "$GCC" != "yes"; then
25103 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25111 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25112 echo "$as_me: error: unknown system type $host." >&2;}
25113 { (exit 1); exit 1; }; }
25116 if test "x$WX_TARGET_LIBRARY" = "x"; then
25117 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25118 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25121 WX_TARGET_LIBRARY_TYPE="so"
25122 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25125 if test "$wxUSE_SHARED" = "no"; then
25127 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25128 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25131 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25132 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25135 if test "$wxUSE_OPENGL" = "yes"; then
25136 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25137 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25139 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25142 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25143 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25145 WX_TARGET_LIBRARY_TYPE="a"
25146 INSTALL_LIBRARY='$(INSTALL_DATA)'
25156 if test "$wxUSE_MAC" = 1; then
25157 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25158 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25159 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25160 # Extract the first word of "Rez", so it can be a program name with args.
25161 set dummy Rez; ac_word=$2
25162 echo "$as_me:$LINENO: checking for $ac_word" >&5
25163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25164 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 if test -n "$RESCOMP"; then
25168 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25171 for as_dir in $PATH
25174 test -z "$as_dir" && as_dir=.
25175 for ac_exec_ext in '' $ac_executable_extensions; do
25176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25177 ac_cv_prog_RESCOMP="Rez"
25178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25184 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25187 RESCOMP=$ac_cv_prog_RESCOMP
25188 if test -n "$RESCOMP"; then
25189 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25190 echo "${ECHO_T}$RESCOMP" >&6
25192 echo "$as_me:$LINENO: result: no" >&5
25193 echo "${ECHO_T}no" >&6
25196 # Extract the first word of "DeRez", so it can be a program name with args.
25197 set dummy DeRez; ac_word=$2
25198 echo "$as_me:$LINENO: checking for $ac_word" >&5
25199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25200 if test "${ac_cv_prog_DEREZ+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 if test -n "$DEREZ"; then
25204 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25207 for as_dir in $PATH
25210 test -z "$as_dir" && as_dir=.
25211 for ac_exec_ext in '' $ac_executable_extensions; do
25212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25213 ac_cv_prog_DEREZ="DeRez"
25214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25220 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25223 DEREZ=$ac_cv_prog_DEREZ
25224 if test -n "$DEREZ"; then
25225 echo "$as_me:$LINENO: result: $DEREZ" >&5
25226 echo "${ECHO_T}$DEREZ" >&6
25228 echo "$as_me:$LINENO: result: no" >&5
25229 echo "${ECHO_T}no" >&6
25232 # Extract the first word of "SetFile", so it can be a program name with args.
25233 set dummy SetFile; ac_word=$2
25234 echo "$as_me:$LINENO: checking for $ac_word" >&5
25235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25236 if test "${ac_cv_prog_SETFILE+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 if test -n "$SETFILE"; then
25240 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25243 for as_dir in $PATH
25246 test -z "$as_dir" && as_dir=.
25247 for ac_exec_ext in '' $ac_executable_extensions; do
25248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25249 ac_cv_prog_SETFILE="SetFile"
25250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25256 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25259 SETFILE=$ac_cv_prog_SETFILE
25260 if test -n "$SETFILE"; then
25261 echo "$as_me:$LINENO: result: $SETFILE" >&5
25262 echo "${ECHO_T}$SETFILE" >&6
25264 echo "$as_me:$LINENO: result: no" >&5
25265 echo "${ECHO_T}no" >&6
25268 MACOSX_BUNDLE="bundle"
25269 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25270 MACSETFILE="\$(SETFILE)"
25271 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25272 elif test "$wxUSE_COCOA" = 1; then
25273 # Extract the first word of "Rez", so it can be a program name with args.
25274 set dummy Rez; ac_word=$2
25275 echo "$as_me:$LINENO: checking for $ac_word" >&5
25276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25277 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 if test -n "$RESCOMP"; then
25281 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25284 for as_dir in $PATH
25287 test -z "$as_dir" && as_dir=.
25288 for ac_exec_ext in '' $ac_executable_extensions; do
25289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25290 ac_cv_prog_RESCOMP="Rez"
25291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25297 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25300 RESCOMP=$ac_cv_prog_RESCOMP
25301 if test -n "$RESCOMP"; then
25302 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25303 echo "${ECHO_T}$RESCOMP" >&6
25305 echo "$as_me:$LINENO: result: no" >&5
25306 echo "${ECHO_T}no" >&6
25309 # Extract the first word of "DeRez", so it can be a program name with args.
25310 set dummy DeRez; ac_word=$2
25311 echo "$as_me:$LINENO: checking for $ac_word" >&5
25312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25313 if test "${ac_cv_prog_DEREZ+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 if test -n "$DEREZ"; then
25317 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25320 for as_dir in $PATH
25323 test -z "$as_dir" && as_dir=.
25324 for ac_exec_ext in '' $ac_executable_extensions; do
25325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25326 ac_cv_prog_DEREZ="DeRez"
25327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25333 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25336 DEREZ=$ac_cv_prog_DEREZ
25337 if test -n "$DEREZ"; then
25338 echo "$as_me:$LINENO: result: $DEREZ" >&5
25339 echo "${ECHO_T}$DEREZ" >&6
25341 echo "$as_me:$LINENO: result: no" >&5
25342 echo "${ECHO_T}no" >&6
25345 # Extract the first word of "SetFile", so it can be a program name with args.
25346 set dummy SetFile; ac_word=$2
25347 echo "$as_me:$LINENO: checking for $ac_word" >&5
25348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25349 if test "${ac_cv_prog_SETFILE+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 if test -n "$SETFILE"; then
25353 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25356 for as_dir in $PATH
25359 test -z "$as_dir" && as_dir=.
25360 for ac_exec_ext in '' $ac_executable_extensions; do
25361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25362 ac_cv_prog_SETFILE="SetFile"
25363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25369 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25372 SETFILE=$ac_cv_prog_SETFILE
25373 if test -n "$SETFILE"; then
25374 echo "$as_me:$LINENO: result: $SETFILE" >&5
25375 echo "${ECHO_T}$SETFILE" >&6
25377 echo "$as_me:$LINENO: result: no" >&5
25378 echo "${ECHO_T}no" >&6
25381 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25382 MACSETFILE="\$(SETFILE)"
25383 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25385 if test "$wxUSE_PM" = 1; then
25386 MACRESCOMP="emxbind -ep"
25391 echo "$as_me:$LINENO: checking for mode_t" >&5
25392 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25393 if test "${ac_cv_type_mode_t+set}" = set; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 cat >conftest.$ac_ext <<_ACEOF
25397 #line $LINENO "configure"
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403 $ac_includes_default
25409 if (sizeof (mode_t))
25415 rm -f conftest.$ac_objext
25416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25417 (eval $ac_compile) 2>&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); } &&
25421 { ac_try='test -s conftest.$ac_objext'
25422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25423 (eval $ac_try) 2>&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); }; }; then
25427 ac_cv_type_mode_t=yes
25429 echo "$as_me: failed program was:" >&5
25430 sed 's/^/| /' conftest.$ac_ext >&5
25432 ac_cv_type_mode_t=no
25434 rm -f conftest.$ac_objext conftest.$ac_ext
25436 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25437 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25438 if test $ac_cv_type_mode_t = yes; then
25442 cat >>confdefs.h <<_ACEOF
25448 echo "$as_me:$LINENO: checking for off_t" >&5
25449 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25450 if test "${ac_cv_type_off_t+set}" = set; then
25451 echo $ECHO_N "(cached) $ECHO_C" >&6
25453 cat >conftest.$ac_ext <<_ACEOF
25454 #line $LINENO "configure"
25457 cat confdefs.h >>conftest.$ac_ext
25458 cat >>conftest.$ac_ext <<_ACEOF
25459 /* end confdefs.h. */
25460 $ac_includes_default
25466 if (sizeof (off_t))
25472 rm -f conftest.$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } &&
25478 { ac_try='test -s conftest.$ac_objext'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; }; then
25484 ac_cv_type_off_t=yes
25486 echo "$as_me: failed program was:" >&5
25487 sed 's/^/| /' conftest.$ac_ext >&5
25489 ac_cv_type_off_t=no
25491 rm -f conftest.$ac_objext conftest.$ac_ext
25493 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25494 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25495 if test $ac_cv_type_off_t = yes; then
25499 cat >>confdefs.h <<_ACEOF
25505 echo "$as_me:$LINENO: checking for pid_t" >&5
25506 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25507 if test "${ac_cv_type_pid_t+set}" = set; then
25508 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 cat >conftest.$ac_ext <<_ACEOF
25511 #line $LINENO "configure"
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25517 $ac_includes_default
25523 if (sizeof (pid_t))
25529 rm -f conftest.$ac_objext
25530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25531 (eval $ac_compile) 2>&5
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); } &&
25535 { ac_try='test -s conftest.$ac_objext'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; }; then
25541 ac_cv_type_pid_t=yes
25543 echo "$as_me: failed program was:" >&5
25544 sed 's/^/| /' conftest.$ac_ext >&5
25546 ac_cv_type_pid_t=no
25548 rm -f conftest.$ac_objext conftest.$ac_ext
25550 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25551 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25552 if test $ac_cv_type_pid_t = yes; then
25556 cat >>confdefs.h <<_ACEOF
25562 echo "$as_me:$LINENO: checking for size_t" >&5
25563 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25564 if test "${ac_cv_type_size_t+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 cat >conftest.$ac_ext <<_ACEOF
25568 #line $LINENO "configure"
25571 cat confdefs.h >>conftest.$ac_ext
25572 cat >>conftest.$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25574 $ac_includes_default
25580 if (sizeof (size_t))
25586 rm -f conftest.$ac_objext
25587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25588 (eval $ac_compile) 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } &&
25592 { ac_try='test -s conftest.$ac_objext'
25593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25594 (eval $ac_try) 2>&5
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); }; }; then
25598 ac_cv_type_size_t=yes
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25603 ac_cv_type_size_t=no
25605 rm -f conftest.$ac_objext conftest.$ac_ext
25607 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25608 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25609 if test $ac_cv_type_size_t = yes; then
25613 cat >>confdefs.h <<_ACEOF
25614 #define size_t unsigned
25619 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25620 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25621 if test "${ac_cv_type_uid_t+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 cat >conftest.$ac_ext <<_ACEOF
25625 #line $LINENO "configure"
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 #include <sys/types.h>
25634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25635 $EGREP "uid_t" >/dev/null 2>&1; then
25636 ac_cv_type_uid_t=yes
25638 ac_cv_type_uid_t=no
25643 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25644 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25645 if test $ac_cv_type_uid_t = no; then
25647 cat >>confdefs.h <<\_ACEOF
25652 cat >>confdefs.h <<\_ACEOF
25662 ac_cpp='$CXXCPP $CPPFLAGS'
25663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25667 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25668 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25669 if test "${wx_cv_size_t_is_uint+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 cat >conftest.$ac_ext <<_ACEOF
25674 #line $LINENO "configure"
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 #include <stddef.h>
25687 struct Foo { void foo(size_t); void foo(unsigned int); };
25695 rm -f conftest.$ac_objext
25696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25697 (eval $ac_compile) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } &&
25701 { ac_try='test -s conftest.$ac_objext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 wx_cv_size_t_is_uint=no
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.$ac_ext >&5
25712 wx_cv_size_t_is_uint=yes
25715 rm -f conftest.$ac_objext conftest.$ac_ext
25719 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25720 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25722 if test "$wx_cv_size_t_is_uint" = "yes"; then
25723 cat >>confdefs.h <<\_ACEOF
25724 #define wxSIZE_T_IS_UINT 1
25728 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25729 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25730 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 cat >conftest.$ac_ext <<_ACEOF
25734 #line $LINENO "configure"
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25740 #include <stddef.h>
25747 struct Foo { void foo(size_t); void foo(unsigned long); };
25755 rm -f conftest.$ac_objext
25756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25757 (eval $ac_compile) 2>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } &&
25761 { ac_try='test -s conftest.$ac_objext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 wx_cv_size_t_is_ulong=no
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25772 wx_cv_size_t_is_ulong=yes
25775 rm -f conftest.$ac_objext conftest.$ac_ext
25778 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25779 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25781 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25782 cat >>confdefs.h <<\_ACEOF
25783 #define wxSIZE_T_IS_ULONG 1
25790 ac_cpp='$CPP $CPPFLAGS'
25791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25797 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25798 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25799 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25800 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 cat >conftest.$ac_ext <<_ACEOF
25804 #line $LINENO "configure"
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25823 rm -f conftest.$ac_objext
25824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25825 (eval $ac_compile) 2>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try='test -s conftest.$ac_objext'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; }; then
25836 wx_cv_struct_pw_gecos=yes
25839 echo "$as_me: failed program was:" >&5
25840 sed 's/^/| /' conftest.$ac_ext >&5
25843 wx_cv_struct_pw_gecos=no
25847 rm -f conftest.$ac_objext conftest.$ac_ext
25851 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25852 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25854 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25855 cat >>confdefs.h <<\_ACEOF
25856 #define HAVE_PW_GECOS 1
25862 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25863 cat >>confdefs.h <<\_ACEOF
25864 #define wxUSE_WCHAR_T 1
25871 for ac_func in wcslen
25873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25874 echo "$as_me:$LINENO: checking for $ac_func" >&5
25875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25876 if eval "test \"\${$as_ac_var+set}\" = set"; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25879 cat >conftest.$ac_ext <<_ACEOF
25880 #line $LINENO "configure"
25883 cat confdefs.h >>conftest.$ac_ext
25884 cat >>conftest.$ac_ext <<_ACEOF
25885 /* end confdefs.h. */
25886 /* System header to define __stub macros and hopefully few prototypes,
25887 which can conflict with char $ac_func (); below.
25888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25889 <limits.h> exists even on freestanding compilers. */
25891 # include <limits.h>
25893 # include <assert.h>
25895 /* Override any gcc2 internal prototype to avoid an error. */
25900 /* We use char because int might match the return type of a gcc2
25901 builtin and then its argument prototype would still apply. */
25903 /* The GNU C library defines this for functions which it implements
25904 to always fail with ENOSYS. Some functions are actually named
25905 something starting with __ and the normal name is an alias. */
25906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25909 char (*f) () = $ac_func;
25918 return f != $ac_func;
25923 rm -f conftest.$ac_objext conftest$ac_exeext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25925 (eval $ac_link) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -s conftest$ac_exeext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 eval "$as_ac_var=yes"
25937 echo "$as_me: failed program was:" >&5
25938 sed 's/^/| /' conftest.$ac_ext >&5
25940 eval "$as_ac_var=no"
25942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25946 if test `eval echo '${'$as_ac_var'}'` = yes; then
25947 cat >>confdefs.h <<_ACEOF
25948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25955 if test "$WCSLEN_FOUND" = 0; then
25956 if test "$TOOLKIT" = "MSW"; then
25957 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25958 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25959 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 ac_check_lib_save_LIBS=$LIBS
25963 LIBS="-lmsvcrt $LIBS"
25964 cat >conftest.$ac_ext <<_ACEOF
25965 #line $LINENO "configure"
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25972 /* Override any gcc2 internal prototype to avoid an error. */
25976 /* We use char because int might match the return type of a gcc2
25977 builtin and then its argument prototype would still apply. */
25987 rm -f conftest.$ac_objext conftest$ac_exeext
25988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25989 (eval $ac_link) 2>&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } &&
25993 { ac_try='test -s conftest$ac_exeext'
25994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25995 (eval $ac_try) 2>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); }; }; then
25999 ac_cv_lib_msvcrt_wcslen=yes
26001 echo "$as_me: failed program was:" >&5
26002 sed 's/^/| /' conftest.$ac_ext >&5
26004 ac_cv_lib_msvcrt_wcslen=no
26006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26007 LIBS=$ac_check_lib_save_LIBS
26009 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26010 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26011 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26016 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26017 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26018 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26021 ac_check_lib_save_LIBS=$LIBS
26023 cat >conftest.$ac_ext <<_ACEOF
26024 #line $LINENO "configure"
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26031 /* Override any gcc2 internal prototype to avoid an error. */
26035 /* We use char because int might match the return type of a gcc2
26036 builtin and then its argument prototype would still apply. */
26046 rm -f conftest.$ac_objext conftest$ac_exeext
26047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26048 (eval $ac_link) 2>&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); } &&
26052 { ac_try='test -s conftest$ac_exeext'
26053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26054 (eval $ac_try) 2>&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); }; }; then
26058 ac_cv_lib_w_wcslen=yes
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.$ac_ext >&5
26063 ac_cv_lib_w_wcslen=no
26065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26066 LIBS=$ac_check_lib_save_LIBS
26068 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26069 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26070 if test $ac_cv_lib_w_wcslen = yes; then
26080 if test "$WCSLEN_FOUND" = 1; then
26081 cat >>confdefs.h <<\_ACEOF
26082 #define HAVE_WCSLEN 1
26088 for ac_func in wcsrtombs
26090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26091 echo "$as_me:$LINENO: checking for $ac_func" >&5
26092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26093 if eval "test \"\${$as_ac_var+set}\" = set"; then
26094 echo $ECHO_N "(cached) $ECHO_C" >&6
26096 cat >conftest.$ac_ext <<_ACEOF
26097 #line $LINENO "configure"
26100 cat confdefs.h >>conftest.$ac_ext
26101 cat >>conftest.$ac_ext <<_ACEOF
26102 /* end confdefs.h. */
26103 /* System header to define __stub macros and hopefully few prototypes,
26104 which can conflict with char $ac_func (); below.
26105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26106 <limits.h> exists even on freestanding compilers. */
26108 # include <limits.h>
26110 # include <assert.h>
26112 /* Override any gcc2 internal prototype to avoid an error. */
26117 /* We use char because int might match the return type of a gcc2
26118 builtin and then its argument prototype would still apply. */
26120 /* The GNU C library defines this for functions which it implements
26121 to always fail with ENOSYS. Some functions are actually named
26122 something starting with __ and the normal name is an alias. */
26123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26126 char (*f) () = $ac_func;
26135 return f != $ac_func;
26140 rm -f conftest.$ac_objext conftest$ac_exeext
26141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26142 (eval $ac_link) 2>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } &&
26146 { ac_try='test -s conftest$ac_exeext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 eval "$as_ac_var=yes"
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26157 eval "$as_ac_var=no"
26159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26163 if test `eval echo '${'$as_ac_var'}'` = yes; then
26164 cat >>confdefs.h <<_ACEOF
26165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26172 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26173 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26179 ac_cpp='$CXXCPP $CPPFLAGS'
26180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26186 for ac_func in vsnprintf
26188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26189 echo "$as_me:$LINENO: checking for $ac_func" >&5
26190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26191 if eval "test \"\${$as_ac_var+set}\" = set"; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 cat >conftest.$ac_ext <<_ACEOF
26195 #line $LINENO "configure"
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201 /* System header to define __stub macros and hopefully few prototypes,
26202 which can conflict with char $ac_func (); below.
26203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26204 <limits.h> exists even on freestanding compilers. */
26206 # include <limits.h>
26208 # include <assert.h>
26210 /* Override any gcc2 internal prototype to avoid an error. */
26215 /* We use char because int might match the return type of a gcc2
26216 builtin and then its argument prototype would still apply. */
26218 /* The GNU C library defines this for functions which it implements
26219 to always fail with ENOSYS. Some functions are actually named
26220 something starting with __ and the normal name is an alias. */
26221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26224 char (*f) () = $ac_func;
26233 return f != $ac_func;
26238 rm -f conftest.$ac_objext conftest$ac_exeext
26239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26240 (eval $ac_link) 2>&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } &&
26244 { ac_try='test -s conftest$ac_exeext'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; }; then
26250 eval "$as_ac_var=yes"
26252 echo "$as_me: failed program was:" >&5
26253 sed 's/^/| /' conftest.$ac_ext >&5
26255 eval "$as_ac_var=no"
26257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26261 if test `eval echo '${'$as_ac_var'}'` = yes; then
26262 cat >>confdefs.h <<_ACEOF
26263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26270 if test "$ac_cv_func_vsnprintf" = "yes"; then
26271 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26272 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26273 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26277 cat >conftest.$ac_ext <<_ACEOF
26278 #line $LINENO "configure"
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h. */
26286 #include <stdarg.h>
26294 vsnprintf(buf, 10u, "%s", ap);
26300 rm -f conftest.$ac_objext
26301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26302 (eval $ac_compile) 2>&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try='test -s conftest.$ac_objext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 wx_cv_func_vsnprintf_decl=yes
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26317 wx_cv_func_vsnprintf_decl=no
26320 rm -f conftest.$ac_objext conftest.$ac_ext
26324 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26325 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26327 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26328 cat >>confdefs.h <<\_ACEOF
26329 #define HAVE_VSNPRINTF_DECL 1
26335 if test "$wxUSE_UNICODE" = yes; then
26339 for ac_func in fputwc wprintf vswprintf
26341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26342 echo "$as_me:$LINENO: checking for $ac_func" >&5
26343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26344 if eval "test \"\${$as_ac_var+set}\" = set"; then
26345 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 cat >conftest.$ac_ext <<_ACEOF
26348 #line $LINENO "configure"
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 /* System header to define __stub macros and hopefully few prototypes,
26355 which can conflict with char $ac_func (); below.
26356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26357 <limits.h> exists even on freestanding compilers. */
26359 # include <limits.h>
26361 # include <assert.h>
26363 /* Override any gcc2 internal prototype to avoid an error. */
26368 /* We use char because int might match the return type of a gcc2
26369 builtin and then its argument prototype would still apply. */
26371 /* The GNU C library defines this for functions which it implements
26372 to always fail with ENOSYS. Some functions are actually named
26373 something starting with __ and the normal name is an alias. */
26374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26377 char (*f) () = $ac_func;
26386 return f != $ac_func;
26391 rm -f conftest.$ac_objext conftest$ac_exeext
26392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26393 (eval $ac_link) 2>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try='test -s conftest$ac_exeext'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26403 eval "$as_ac_var=yes"
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26408 eval "$as_ac_var=no"
26410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26414 if test `eval echo '${'$as_ac_var'}'` = yes; then
26415 cat >>confdefs.h <<_ACEOF
26416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26423 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26424 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26425 cat >conftest.$ac_ext <<_ACEOF
26426 #line $LINENO "configure"
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26441 rm -f conftest.$ac_objext
26442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26443 (eval $ac_compile) 2>&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try='test -s conftest.$ac_objext'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; }; then
26453 echo "$as_me:$LINENO: result: yes" >&5
26454 echo "${ECHO_T}yes" >&6
26455 cat >>confdefs.h <<\_ACEOF
26456 #define HAVE__VSNWPRINTF 1
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.$ac_ext >&5
26463 echo "$as_me:$LINENO: result: no" >&5
26464 echo "${ECHO_T}no" >&6
26466 rm -f conftest.$ac_objext conftest.$ac_ext;
26470 ac_cpp='$CPP $CPPFLAGS'
26471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26478 if test "$TOOLKIT" != "MSW"; then
26484 ac_cpp='$CXXCPP $CPPFLAGS'
26485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26492 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26493 if test "${with_libiconv_prefix+set}" = set; then
26494 withval="$with_libiconv_prefix"
26496 for dir in `echo "$withval" | tr : ' '`; do
26497 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26498 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26503 echo "$as_me:$LINENO: checking for iconv" >&5
26504 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26505 if test "${am_cv_func_iconv+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 am_cv_func_iconv="no, consider installing GNU libiconv"
26511 cat >conftest.$ac_ext <<_ACEOF
26512 #line $LINENO "configure"
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518 #include <stdlib.h>
26523 iconv_t cd = iconv_open("","");
26524 iconv(cd,NULL,NULL,NULL,NULL);
26530 rm -f conftest.$ac_objext conftest$ac_exeext
26531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26532 (eval $ac_link) 2>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 { ac_try='test -s conftest$ac_exeext'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; }; then
26542 am_cv_func_iconv=yes
26544 echo "$as_me: failed program was:" >&5
26545 sed 's/^/| /' conftest.$ac_ext >&5
26548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26549 if test "$am_cv_func_iconv" != yes; then
26550 am_save_LIBS="$LIBS"
26551 LIBS="$LIBS -liconv"
26552 cat >conftest.$ac_ext <<_ACEOF
26553 #line $LINENO "configure"
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559 #include <stdlib.h>
26564 iconv_t cd = iconv_open("","");
26565 iconv(cd,NULL,NULL,NULL,NULL);
26571 rm -f conftest.$ac_objext conftest$ac_exeext
26572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26573 (eval $ac_link) 2>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } &&
26577 { ac_try='test -s conftest$ac_exeext'
26578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26579 (eval $ac_try) 2>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); }; }; then
26583 am_cv_lib_iconv=yes
26584 am_cv_func_iconv=yes
26586 echo "$as_me: failed program was:" >&5
26587 sed 's/^/| /' conftest.$ac_ext >&5
26590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26591 LIBS="$am_save_LIBS"
26595 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26596 echo "${ECHO_T}$am_cv_func_iconv" >&6
26597 if test "$am_cv_func_iconv" = yes; then
26599 cat >>confdefs.h <<\_ACEOF
26600 #define HAVE_ICONV 1
26603 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26604 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26605 if test "${wx_cv_func_iconv_const+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 cat >conftest.$ac_ext <<_ACEOF
26609 #line $LINENO "configure"
26612 cat confdefs.h >>conftest.$ac_ext
26613 cat >>conftest.$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26616 #include <stdlib.h>
26622 #if defined(__STDC__) || defined(__cplusplus)
26623 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26636 rm -f conftest.$ac_objext
26637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26638 (eval $ac_compile) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 wx_cv_func_iconv_const="no"
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26653 wx_cv_func_iconv_const="yes"
26656 rm -f conftest.$ac_objext conftest.$ac_ext
26659 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26660 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26663 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26664 iconv_const="const"
26668 cat >>confdefs.h <<_ACEOF
26669 #define ICONV_CONST $iconv_const
26674 if test "$am_cv_lib_iconv" = yes; then
26679 LIBS="$LIBICONV $LIBS"
26681 ac_cpp='$CPP $CPPFLAGS'
26682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26687 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26689 for ac_func in sigaction
26691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26692 echo "$as_me:$LINENO: checking for $ac_func" >&5
26693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26694 if eval "test \"\${$as_ac_var+set}\" = set"; then
26695 echo $ECHO_N "(cached) $ECHO_C" >&6
26697 cat >conftest.$ac_ext <<_ACEOF
26698 #line $LINENO "configure"
26701 cat confdefs.h >>conftest.$ac_ext
26702 cat >>conftest.$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26704 /* System header to define __stub macros and hopefully few prototypes,
26705 which can conflict with char $ac_func (); below.
26706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26707 <limits.h> exists even on freestanding compilers. */
26709 # include <limits.h>
26711 # include <assert.h>
26713 /* Override any gcc2 internal prototype to avoid an error. */
26718 /* We use char because int might match the return type of a gcc2
26719 builtin and then its argument prototype would still apply. */
26721 /* The GNU C library defines this for functions which it implements
26722 to always fail with ENOSYS. Some functions are actually named
26723 something starting with __ and the normal name is an alias. */
26724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26727 char (*f) () = $ac_func;
26736 return f != $ac_func;
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } &&
26747 { ac_try='test -s conftest$ac_exeext'
26748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26749 (eval $ac_try) 2>&5
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); }; }; then
26753 eval "$as_ac_var=yes"
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26758 eval "$as_ac_var=no"
26760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26764 if test `eval echo '${'$as_ac_var'}'` = yes; then
26765 cat >>confdefs.h <<_ACEOF
26766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26773 if test "$ac_cv_func_sigaction" = "no"; then
26774 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26775 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26776 wxUSE_ON_FATAL_EXCEPTION=no
26779 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26783 ac_cpp='$CXXCPP $CPPFLAGS'
26784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26789 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26790 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26791 if test "${wx_cv_type_sa_handler+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 cat >conftest.$ac_ext <<_ACEOF
26796 #line $LINENO "configure"
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26802 #include <signal.h>
26807 extern void testSigHandler(int);
26809 struct sigaction sa;
26810 sa.sa_handler = testSigHandler;
26816 rm -f conftest.$ac_objext
26817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26818 (eval $ac_compile) 2>&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); } &&
26822 { ac_try='test -s conftest.$ac_objext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26829 wx_cv_type_sa_handler=int
26832 echo "$as_me: failed program was:" >&5
26833 sed 's/^/| /' conftest.$ac_ext >&5
26836 wx_cv_type_sa_handler=void
26839 rm -f conftest.$ac_objext conftest.$ac_ext
26842 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26843 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26846 ac_cpp='$CPP $CPPFLAGS'
26847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26852 cat >>confdefs.h <<_ACEOF
26853 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26861 for ac_func in mkstemp mktemp
26863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26864 echo "$as_me:$LINENO: checking for $ac_func" >&5
26865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26866 if eval "test \"\${$as_ac_var+set}\" = set"; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 cat >conftest.$ac_ext <<_ACEOF
26870 #line $LINENO "configure"
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26876 /* System header to define __stub macros and hopefully few prototypes,
26877 which can conflict with char $ac_func (); below.
26878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26879 <limits.h> exists even on freestanding compilers. */
26881 # include <limits.h>
26883 # include <assert.h>
26885 /* Override any gcc2 internal prototype to avoid an error. */
26890 /* We use char because int might match the return type of a gcc2
26891 builtin and then its argument prototype would still apply. */
26893 /* The GNU C library defines this for functions which it implements
26894 to always fail with ENOSYS. Some functions are actually named
26895 something starting with __ and the normal name is an alias. */
26896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26899 char (*f) () = $ac_func;
26908 return f != $ac_func;
26913 rm -f conftest.$ac_objext conftest$ac_exeext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26915 (eval $ac_link) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } &&
26919 { ac_try='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 eval "$as_ac_var=yes"
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26930 eval "$as_ac_var=no"
26932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26936 if test `eval echo '${'$as_ac_var'}'` = yes; then
26937 cat >>confdefs.h <<_ACEOF
26938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26945 echo "$as_me:$LINENO: checking for statfs" >&5
26946 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26947 if test "${wx_cv_func_statfs+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 cat >conftest.$ac_ext <<_ACEOF
26951 #line $LINENO "configure"
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26958 #if defined(__BSD__)
26959 #include <sys/param.h>
26960 #include <sys/mount.h>
26962 #include <sys/vfs.h>
26980 rm -f conftest.$ac_objext
26981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26982 (eval $ac_compile) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -s conftest.$ac_objext'
26987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988 (eval $ac_try) 2>&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); }; }; then
26993 wx_cv_func_statfs=yes
26996 echo "$as_me: failed program was:" >&5
26997 sed 's/^/| /' conftest.$ac_ext >&5
27000 wx_cv_func_statfs=no
27004 rm -f conftest.$ac_objext conftest.$ac_ext
27007 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27008 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27010 if test "$wx_cv_func_statfs" = "yes"; then
27011 wx_cv_type_statvfs_t="struct statfs"
27012 cat >>confdefs.h <<\_ACEOF
27013 #define HAVE_STATFS 1
27017 echo "$as_me:$LINENO: checking for statvfs" >&5
27018 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27019 if test "${wx_cv_func_statvfs+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 cat >conftest.$ac_ext <<_ACEOF
27023 #line $LINENO "configure"
27026 cat confdefs.h >>conftest.$ac_ext
27027 cat >>conftest.$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27030 #include <stddef.h>
27031 #include <sys/statvfs.h>
27037 statvfs("/", NULL);
27043 rm -f conftest.$ac_objext
27044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27045 (eval $ac_compile) 2>&5
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); } &&
27049 { ac_try='test -s conftest.$ac_objext'
27050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051 (eval $ac_try) 2>&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); }; }; then
27055 wx_cv_func_statvfs=yes
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27060 wx_cv_func_statvfs=no
27063 rm -f conftest.$ac_objext conftest.$ac_ext
27066 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27067 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27069 if test "$wx_cv_func_statvfs" = "yes"; then
27073 ac_cpp='$CXXCPP $CPPFLAGS'
27074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27079 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27080 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27081 if test "${wx_cv_type_statvfs_t+set}" = set; then
27082 echo $ECHO_N "(cached) $ECHO_C" >&6
27084 cat >conftest.$ac_ext <<_ACEOF
27085 #line $LINENO "configure"
27088 cat confdefs.h >>conftest.$ac_ext
27089 cat >>conftest.$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27092 #include <sys/statvfs.h>
27109 rm -f conftest.$ac_objext
27110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27111 (eval $ac_compile) 2>&5
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); } &&
27115 { ac_try='test -s conftest.$ac_objext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 wx_cv_type_statvfs_t=statvfs_t
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27127 cat >conftest.$ac_ext <<_ACEOF
27128 #line $LINENO "configure"
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 #include <sys/statvfs.h>
27152 rm -f conftest.$ac_objext
27153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27154 (eval $ac_compile) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); } &&
27158 { ac_try='test -s conftest.$ac_objext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 wx_cv_type_statvfs_t="struct statvfs"
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27169 wx_cv_type_statvfs_t="unknown"
27172 rm -f conftest.$ac_objext conftest.$ac_ext
27176 rm -f conftest.$ac_objext conftest.$ac_ext
27179 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27180 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27183 ac_cpp='$CPP $CPPFLAGS'
27184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27189 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27190 cat >>confdefs.h <<\_ACEOF
27191 #define HAVE_STATVFS 1
27196 wx_cv_type_statvfs_t="unknown"
27200 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27201 cat >>confdefs.h <<_ACEOF
27202 #define WX_STATFS_T $wx_cv_type_statvfs_t
27206 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27207 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27210 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27213 for ac_func in fcntl flock
27215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27216 echo "$as_me:$LINENO: checking for $ac_func" >&5
27217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27218 if eval "test \"\${$as_ac_var+set}\" = set"; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 cat >conftest.$ac_ext <<_ACEOF
27222 #line $LINENO "configure"
27225 cat confdefs.h >>conftest.$ac_ext
27226 cat >>conftest.$ac_ext <<_ACEOF
27227 /* end confdefs.h. */
27228 /* System header to define __stub macros and hopefully few prototypes,
27229 which can conflict with char $ac_func (); below.
27230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27231 <limits.h> exists even on freestanding compilers. */
27233 # include <limits.h>
27235 # include <assert.h>
27237 /* Override any gcc2 internal prototype to avoid an error. */
27242 /* We use char because int might match the return type of a gcc2
27243 builtin and then its argument prototype would still apply. */
27245 /* The GNU C library defines this for functions which it implements
27246 to always fail with ENOSYS. Some functions are actually named
27247 something starting with __ and the normal name is an alias. */
27248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27251 char (*f) () = $ac_func;
27260 return f != $ac_func;
27265 rm -f conftest.$ac_objext conftest$ac_exeext
27266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27267 (eval $ac_link) 2>&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } &&
27271 { ac_try='test -s conftest$ac_exeext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277 eval "$as_ac_var=yes"
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27282 eval "$as_ac_var=no"
27284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27288 if test `eval echo '${'$as_ac_var'}'` = yes; then
27289 cat >>confdefs.h <<_ACEOF
27290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27297 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27298 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27299 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27300 wxUSE_SNGLINST_CHECKER=no
27305 for ac_func in timegm
27307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27308 echo "$as_me:$LINENO: checking for $ac_func" >&5
27309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27310 if eval "test \"\${$as_ac_var+set}\" = set"; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27313 cat >conftest.$ac_ext <<_ACEOF
27314 #line $LINENO "configure"
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 /* System header to define __stub macros and hopefully few prototypes,
27321 which can conflict with char $ac_func (); below.
27322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27323 <limits.h> exists even on freestanding compilers. */
27325 # include <limits.h>
27327 # include <assert.h>
27329 /* Override any gcc2 internal prototype to avoid an error. */
27334 /* We use char because int might match the return type of a gcc2
27335 builtin and then its argument prototype would still apply. */
27337 /* The GNU C library defines this for functions which it implements
27338 to always fail with ENOSYS. Some functions are actually named
27339 something starting with __ and the normal name is an alias. */
27340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27343 char (*f) () = $ac_func;
27352 return f != $ac_func;
27357 rm -f conftest.$ac_objext conftest$ac_exeext
27358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27359 (eval $ac_link) 2>&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try='test -s conftest$ac_exeext'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; }; then
27369 eval "$as_ac_var=yes"
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.$ac_ext >&5
27374 eval "$as_ac_var=no"
27376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27380 if test `eval echo '${'$as_ac_var'}'` = yes; then
27381 cat >>confdefs.h <<_ACEOF
27382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27391 for ac_func in putenv setenv
27393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27394 echo "$as_me:$LINENO: checking for $ac_func" >&5
27395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27396 if eval "test \"\${$as_ac_var+set}\" = set"; then
27397 echo $ECHO_N "(cached) $ECHO_C" >&6
27399 cat >conftest.$ac_ext <<_ACEOF
27400 #line $LINENO "configure"
27403 cat confdefs.h >>conftest.$ac_ext
27404 cat >>conftest.$ac_ext <<_ACEOF
27405 /* end confdefs.h. */
27406 /* System header to define __stub macros and hopefully few prototypes,
27407 which can conflict with char $ac_func (); below.
27408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27409 <limits.h> exists even on freestanding compilers. */
27411 # include <limits.h>
27413 # include <assert.h>
27415 /* Override any gcc2 internal prototype to avoid an error. */
27420 /* We use char because int might match the return type of a gcc2
27421 builtin and then its argument prototype would still apply. */
27423 /* The GNU C library defines this for functions which it implements
27424 to always fail with ENOSYS. Some functions are actually named
27425 something starting with __ and the normal name is an alias. */
27426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27429 char (*f) () = $ac_func;
27438 return f != $ac_func;
27443 rm -f conftest.$ac_objext conftest$ac_exeext
27444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27445 (eval $ac_link) 2>&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } &&
27449 { ac_try='test -s conftest$ac_exeext'
27450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27451 (eval $ac_try) 2>&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); }; }; then
27455 eval "$as_ac_var=yes"
27457 echo "$as_me: failed program was:" >&5
27458 sed 's/^/| /' conftest.$ac_ext >&5
27460 eval "$as_ac_var=no"
27462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27466 if test `eval echo '${'$as_ac_var'}'` = yes; then
27467 cat >>confdefs.h <<_ACEOF
27468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27475 HAVE_SOME_SLEEP_FUNC=0
27476 if test "$USE_BEOS" = 1; then
27477 cat >>confdefs.h <<\_ACEOF
27478 #define HAVE_SLEEP 1
27481 HAVE_SOME_SLEEP_FUNC=1
27484 if test "$USE_DARWIN" = 1; then
27485 cat >>confdefs.h <<\_ACEOF
27486 #define HAVE_USLEEP 1
27489 HAVE_SOME_SLEEP_FUNC=1
27492 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27495 for ac_func in nanosleep
27497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27498 echo "$as_me:$LINENO: checking for $ac_func" >&5
27499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_var+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 cat >conftest.$ac_ext <<_ACEOF
27504 #line $LINENO "configure"
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27515 # include <limits.h>
27517 # include <assert.h>
27519 /* Override any gcc2 internal prototype to avoid an error. */
27524 /* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27527 /* The GNU C library defines this for functions which it implements
27528 to always fail with ENOSYS. Some functions are actually named
27529 something starting with __ and the normal name is an alias. */
27530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27533 char (*f) () = $ac_func;
27542 return f != $ac_func;
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } &&
27553 { ac_try='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 eval "$as_ac_var=yes"
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27564 eval "$as_ac_var=no"
27566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27570 if test `eval echo '${'$as_ac_var'}'` = yes; then
27571 cat >>confdefs.h <<_ACEOF
27572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27574 cat >>confdefs.h <<\_ACEOF
27575 #define HAVE_NANOSLEEP 1
27580 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27581 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27582 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 ac_check_lib_save_LIBS=$LIBS
27586 LIBS="-lposix4 $LIBS"
27587 cat >conftest.$ac_ext <<_ACEOF
27588 #line $LINENO "configure"
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27595 /* Override any gcc2 internal prototype to avoid an error. */
27599 /* We use char because int might match the return type of a gcc2
27600 builtin and then its argument prototype would still apply. */
27610 rm -f conftest.$ac_objext conftest$ac_exeext
27611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27612 (eval $ac_link) 2>&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } &&
27616 { ac_try='test -s conftest$ac_exeext'
27617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27618 (eval $ac_try) 2>&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); }; }; then
27622 ac_cv_lib_posix4_nanosleep=yes
27624 echo "$as_me: failed program was:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27627 ac_cv_lib_posix4_nanosleep=no
27629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27630 LIBS=$ac_check_lib_save_LIBS
27632 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27633 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27634 if test $ac_cv_lib_posix4_nanosleep = yes; then
27636 cat >>confdefs.h <<\_ACEOF
27637 #define HAVE_NANOSLEEP 1
27640 POSIX4_LINK=" -lposix4"
27645 for ac_func in usleep
27647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648 echo "$as_me:$LINENO: checking for $ac_func" >&5
27649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27650 if eval "test \"\${$as_ac_var+set}\" = set"; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27653 cat >conftest.$ac_ext <<_ACEOF
27654 #line $LINENO "configure"
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 /* System header to define __stub macros and hopefully few prototypes,
27661 which can conflict with char $ac_func (); below.
27662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27663 <limits.h> exists even on freestanding compilers. */
27665 # include <limits.h>
27667 # include <assert.h>
27669 /* Override any gcc2 internal prototype to avoid an error. */
27674 /* We use char because int might match the return type of a gcc2
27675 builtin and then its argument prototype would still apply. */
27677 /* The GNU C library defines this for functions which it implements
27678 to always fail with ENOSYS. Some functions are actually named
27679 something starting with __ and the normal name is an alias. */
27680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27683 char (*f) () = $ac_func;
27692 return f != $ac_func;
27697 rm -f conftest.$ac_objext conftest$ac_exeext
27698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27699 (eval $ac_link) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); } &&
27703 { ac_try='test -s conftest$ac_exeext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 eval "$as_ac_var=yes"
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27714 eval "$as_ac_var=no"
27716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27720 if test `eval echo '${'$as_ac_var'}'` = yes; then
27721 cat >>confdefs.h <<_ACEOF
27722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27724 cat >>confdefs.h <<\_ACEOF
27725 #define HAVE_USLEEP 1
27729 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27730 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27748 for ac_func in uname gethostname
27750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27751 echo "$as_me:$LINENO: checking for $ac_func" >&5
27752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27753 if eval "test \"\${$as_ac_var+set}\" = set"; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 cat >conftest.$ac_ext <<_ACEOF
27757 #line $LINENO "configure"
27760 cat confdefs.h >>conftest.$ac_ext
27761 cat >>conftest.$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27768 # include <limits.h>
27770 # include <assert.h>
27772 /* Override any gcc2 internal prototype to avoid an error. */
27777 /* We use char because int might match the return type of a gcc2
27778 builtin and then its argument prototype would still apply. */
27780 /* The GNU C library defines this for functions which it implements
27781 to always fail with ENOSYS. Some functions are actually named
27782 something starting with __ and the normal name is an alias. */
27783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27786 char (*f) () = $ac_func;
27795 return f != $ac_func;
27800 rm -f conftest.$ac_objext conftest$ac_exeext
27801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27802 (eval $ac_link) 2>&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } &&
27806 { ac_try='test -s conftest$ac_exeext'
27807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808 (eval $ac_try) 2>&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; }; then
27812 eval "$as_ac_var=yes"
27814 echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.$ac_ext >&5
27817 eval "$as_ac_var=no"
27819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27823 if test `eval echo '${'$as_ac_var'}'` = yes; then
27824 cat >>confdefs.h <<_ACEOF
27825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27835 ac_cpp='$CXXCPP $CPPFLAGS'
27836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27842 for ac_func in strtok_r
27844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27845 echo "$as_me:$LINENO: checking for $ac_func" >&5
27846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27847 if eval "test \"\${$as_ac_var+set}\" = set"; then
27848 echo $ECHO_N "(cached) $ECHO_C" >&6
27850 cat >conftest.$ac_ext <<_ACEOF
27851 #line $LINENO "configure"
27854 cat confdefs.h >>conftest.$ac_ext
27855 cat >>conftest.$ac_ext <<_ACEOF
27856 /* end confdefs.h. */
27857 /* System header to define __stub macros and hopefully few prototypes,
27858 which can conflict with char $ac_func (); below.
27859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27860 <limits.h> exists even on freestanding compilers. */
27862 # include <limits.h>
27864 # include <assert.h>
27866 /* Override any gcc2 internal prototype to avoid an error. */
27871 /* We use char because int might match the return type of a gcc2
27872 builtin and then its argument prototype would still apply. */
27874 /* The GNU C library defines this for functions which it implements
27875 to always fail with ENOSYS. Some functions are actually named
27876 something starting with __ and the normal name is an alias. */
27877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27880 char (*f) () = $ac_func;
27889 return f != $ac_func;
27894 rm -f conftest.$ac_objext conftest$ac_exeext
27895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27896 (eval $ac_link) 2>&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } &&
27900 { ac_try='test -s conftest$ac_exeext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 eval "$as_ac_var=yes"
27908 echo "$as_me: failed program was:" >&5
27909 sed 's/^/| /' conftest.$ac_ext >&5
27911 eval "$as_ac_var=no"
27913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27917 if test `eval echo '${'$as_ac_var'}'` = yes; then
27918 cat >>confdefs.h <<_ACEOF
27919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27927 ac_cpp='$CPP $CPPFLAGS'
27928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27935 for ac_func in inet_addr
27937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27938 echo "$as_me:$LINENO: checking for $ac_func" >&5
27939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27940 if eval "test \"\${$as_ac_var+set}\" = set"; then
27941 echo $ECHO_N "(cached) $ECHO_C" >&6
27943 cat >conftest.$ac_ext <<_ACEOF
27944 #line $LINENO "configure"
27947 cat confdefs.h >>conftest.$ac_ext
27948 cat >>conftest.$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27950 /* System header to define __stub macros and hopefully few prototypes,
27951 which can conflict with char $ac_func (); below.
27952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27953 <limits.h> exists even on freestanding compilers. */
27955 # include <limits.h>
27957 # include <assert.h>
27959 /* Override any gcc2 internal prototype to avoid an error. */
27964 /* We use char because int might match the return type of a gcc2
27965 builtin and then its argument prototype would still apply. */
27967 /* The GNU C library defines this for functions which it implements
27968 to always fail with ENOSYS. Some functions are actually named
27969 something starting with __ and the normal name is an alias. */
27970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27973 char (*f) () = $ac_func;
27982 return f != $ac_func;
27987 rm -f conftest.$ac_objext conftest$ac_exeext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } &&
27993 { ac_try='test -s conftest$ac_exeext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
27999 eval "$as_ac_var=yes"
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 eval "$as_ac_var=no"
28006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28010 if test `eval echo '${'$as_ac_var'}'` = yes; then
28011 cat >>confdefs.h <<_ACEOF
28012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28014 cat >>confdefs.h <<\_ACEOF
28015 #define HAVE_INET_ADDR 1
28020 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28021 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28022 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28025 ac_check_lib_save_LIBS=$LIBS
28027 cat >conftest.$ac_ext <<_ACEOF
28028 #line $LINENO "configure"
28031 cat confdefs.h >>conftest.$ac_ext
28032 cat >>conftest.$ac_ext <<_ACEOF
28033 /* end confdefs.h. */
28035 /* Override any gcc2 internal prototype to avoid an error. */
28039 /* We use char because int might match the return type of a gcc2
28040 builtin and then its argument prototype would still apply. */
28050 rm -f conftest.$ac_objext conftest$ac_exeext
28051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28052 (eval $ac_link) 2>&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } &&
28056 { ac_try='test -s conftest$ac_exeext'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; }; then
28062 ac_cv_lib_nsl_inet_addr=yes
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.$ac_ext >&5
28067 ac_cv_lib_nsl_inet_addr=no
28069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28070 LIBS=$ac_check_lib_save_LIBS
28072 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28073 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28074 if test $ac_cv_lib_nsl_inet_addr = yes; then
28077 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28078 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28079 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28082 ac_check_lib_save_LIBS=$LIBS
28083 LIBS="-lresolv $LIBS"
28084 cat >conftest.$ac_ext <<_ACEOF
28085 #line $LINENO "configure"
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28092 /* Override any gcc2 internal prototype to avoid an error. */
28096 /* We use char because int might match the return type of a gcc2
28097 builtin and then its argument prototype would still apply. */
28107 rm -f conftest.$ac_objext conftest$ac_exeext
28108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28109 (eval $ac_link) 2>&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); } &&
28113 { ac_try='test -s conftest$ac_exeext'
28114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115 (eval $ac_try) 2>&5
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); }; }; then
28119 ac_cv_lib_resolv_inet_addr=yes
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28124 ac_cv_lib_resolv_inet_addr=no
28126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28127 LIBS=$ac_check_lib_save_LIBS
28129 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28130 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28131 if test $ac_cv_lib_resolv_inet_addr = yes; then
28134 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28135 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28136 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28137 echo $ECHO_N "(cached) $ECHO_C" >&6
28139 ac_check_lib_save_LIBS=$LIBS
28140 LIBS="-lsocket $LIBS"
28141 cat >conftest.$ac_ext <<_ACEOF
28142 #line $LINENO "configure"
28145 cat confdefs.h >>conftest.$ac_ext
28146 cat >>conftest.$ac_ext <<_ACEOF
28147 /* end confdefs.h. */
28149 /* Override any gcc2 internal prototype to avoid an error. */
28153 /* We use char because int might match the return type of a gcc2
28154 builtin and then its argument prototype would still apply. */
28164 rm -f conftest.$ac_objext conftest$ac_exeext
28165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166 (eval $ac_link) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 ac_cv_lib_socket_inet_addr=yes
28178 echo "$as_me: failed program was:" >&5
28179 sed 's/^/| /' conftest.$ac_ext >&5
28181 ac_cv_lib_socket_inet_addr=no
28183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28184 LIBS=$ac_check_lib_save_LIBS
28186 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28187 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28188 if test $ac_cv_lib_socket_inet_addr = yes; then
28206 for ac_func in inet_aton
28208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28209 echo "$as_me:$LINENO: checking for $ac_func" >&5
28210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28211 if eval "test \"\${$as_ac_var+set}\" = set"; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28214 cat >conftest.$ac_ext <<_ACEOF
28215 #line $LINENO "configure"
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221 /* System header to define __stub macros and hopefully few prototypes,
28222 which can conflict with char $ac_func (); below.
28223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28224 <limits.h> exists even on freestanding compilers. */
28226 # include <limits.h>
28228 # include <assert.h>
28230 /* Override any gcc2 internal prototype to avoid an error. */
28235 /* We use char because int might match the return type of a gcc2
28236 builtin and then its argument prototype would still apply. */
28238 /* The GNU C library defines this for functions which it implements
28239 to always fail with ENOSYS. Some functions are actually named
28240 something starting with __ and the normal name is an alias. */
28241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28244 char (*f) () = $ac_func;
28253 return f != $ac_func;
28258 rm -f conftest.$ac_objext conftest$ac_exeext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28260 (eval $ac_link) 2>&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } &&
28264 { ac_try='test -s conftest$ac_exeext'
28265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28266 (eval $ac_try) 2>&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); }; }; then
28270 eval "$as_ac_var=yes"
28272 echo "$as_me: failed program was:" >&5
28273 sed 's/^/| /' conftest.$ac_ext >&5
28275 eval "$as_ac_var=no"
28277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28281 if test `eval echo '${'$as_ac_var'}'` = yes; then
28282 cat >>confdefs.h <<_ACEOF
28283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28285 cat >>confdefs.h <<\_ACEOF
28286 #define HAVE_INET_ATON 1
28291 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28292 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28293 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28294 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28295 echo $ECHO_N "(cached) $ECHO_C" >&6
28297 ac_check_lib_save_LIBS=$LIBS
28298 LIBS="-l$INET_LINK $LIBS"
28299 cat >conftest.$ac_ext <<_ACEOF
28300 #line $LINENO "configure"
28303 cat confdefs.h >>conftest.$ac_ext
28304 cat >>conftest.$ac_ext <<_ACEOF
28305 /* end confdefs.h. */
28307 /* Override any gcc2 internal prototype to avoid an error. */
28311 /* We use char because int might match the return type of a gcc2
28312 builtin and then its argument prototype would still apply. */
28322 rm -f conftest.$ac_objext conftest$ac_exeext
28323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28324 (eval $ac_link) 2>&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } &&
28328 { ac_try='test -s conftest$ac_exeext'
28329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330 (eval $ac_try) 2>&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; }; then
28334 eval "$as_ac_Lib=yes"
28336 echo "$as_me: failed program was:" >&5
28337 sed 's/^/| /' conftest.$ac_ext >&5
28339 eval "$as_ac_Lib=no"
28341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28342 LIBS=$ac_check_lib_save_LIBS
28344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28345 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28346 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28347 cat >>confdefs.h <<\_ACEOF
28348 #define HAVE_INET_ATON 1
28358 if test "x$INET_LINK" != "x"; then
28359 cat >>confdefs.h <<\_ACEOF
28360 #define HAVE_INET_ADDR 1
28363 INET_LINK=" -l$INET_LINK"
28371 if test "${ac_cv_header_esd_h+set}" = set; then
28372 echo "$as_me:$LINENO: checking for esd.h" >&5
28373 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28374 if test "${ac_cv_header_esd_h+set}" = set; then
28375 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28378 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28380 # Is the header compilable?
28381 echo "$as_me:$LINENO: checking esd.h usability" >&5
28382 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28383 cat >conftest.$ac_ext <<_ACEOF
28384 #line $LINENO "configure"
28387 cat confdefs.h >>conftest.$ac_ext
28388 cat >>conftest.$ac_ext <<_ACEOF
28389 /* end confdefs.h. */
28390 $ac_includes_default
28393 rm -f conftest.$ac_objext
28394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28395 (eval $ac_compile) 2>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -s conftest.$ac_objext'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; }; then
28405 ac_header_compiler=yes
28407 echo "$as_me: failed program was:" >&5
28408 sed 's/^/| /' conftest.$ac_ext >&5
28410 ac_header_compiler=no
28412 rm -f conftest.$ac_objext conftest.$ac_ext
28413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28414 echo "${ECHO_T}$ac_header_compiler" >&6
28416 # Is the header present?
28417 echo "$as_me:$LINENO: checking esd.h presence" >&5
28418 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28419 cat >conftest.$ac_ext <<_ACEOF
28420 #line $LINENO "configure"
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28431 grep -v '^ *+' conftest.er1 >conftest.err
28433 cat conftest.err >&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); } >/dev/null; then
28436 if test -s conftest.err; then
28437 ac_cpp_err=$ac_c_preproc_warn_flag
28444 if test -z "$ac_cpp_err"; then
28445 ac_header_preproc=yes
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28450 ac_header_preproc=no
28452 rm -f conftest.err conftest.$ac_ext
28453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28454 echo "${ECHO_T}$ac_header_preproc" >&6
28456 # So? What about this header?
28457 case $ac_header_compiler:$ac_header_preproc in
28459 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28460 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28461 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28462 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28465 ## ------------------------------------ ##
28466 ## Report this to bug-autoconf@gnu.org. ##
28467 ## ------------------------------------ ##
28470 sed "s/^/$as_me: WARNING: /" >&2
28473 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28474 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28475 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28476 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28477 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28478 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28481 ## ------------------------------------ ##
28482 ## Report this to bug-autoconf@gnu.org. ##
28483 ## ------------------------------------ ##
28486 sed "s/^/$as_me: WARNING: /" >&2
28489 echo "$as_me:$LINENO: checking for esd.h" >&5
28490 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28491 if test "${ac_cv_header_esd_h+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28494 ac_cv_header_esd_h=$ac_header_preproc
28496 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28497 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28500 if test $ac_cv_header_esd_h = yes; then
28502 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28503 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28504 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28505 echo $ECHO_N "(cached) $ECHO_C" >&6
28507 ac_check_lib_save_LIBS=$LIBS
28509 cat >conftest.$ac_ext <<_ACEOF
28510 #line $LINENO "configure"
28513 cat confdefs.h >>conftest.$ac_ext
28514 cat >>conftest.$ac_ext <<_ACEOF
28515 /* end confdefs.h. */
28517 /* Override any gcc2 internal prototype to avoid an error. */
28521 /* We use char because int might match the return type of a gcc2
28522 builtin and then its argument prototype would still apply. */
28532 rm -f conftest.$ac_objext conftest$ac_exeext
28533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28534 (eval $ac_link) 2>&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } &&
28538 { ac_try='test -s conftest$ac_exeext'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; }; then
28544 ac_cv_lib_esd_esd_close=yes
28546 echo "$as_me: failed program was:" >&5
28547 sed 's/^/| /' conftest.$ac_ext >&5
28549 ac_cv_lib_esd_esd_close=no
28551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28552 LIBS=$ac_check_lib_save_LIBS
28554 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28555 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28556 if test $ac_cv_lib_esd_esd_close = yes; then
28569 cat >confcache <<\_ACEOF
28570 # This file is a shell script that caches the results of configure
28571 # tests run on this system so they can be shared between configure
28572 # scripts and configure runs, see configure's option --config-cache.
28573 # It is not useful on other systems. If it contains results you don't
28574 # want to keep, you may remove or edit it.
28576 # config.status only pays attention to the cache file if you give it
28577 # the --recheck option to rerun configure.
28579 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28580 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28581 # following values.
28585 # The following way of writing the cache mishandles newlines in values,
28586 # but we know of no workaround that is simple, portable, and efficient.
28587 # So, don't put newlines in cache variables' values.
28588 # Ultrix sh set writes to stderr and can't be redirected directly,
28589 # and sets the high bit in the cache file unless we assign to the vars.
28592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28594 # `set' does not quote correctly, so add quotes (double-quote
28595 # substitution turns \\\\ into \\, and sed turns \\ into \).
28598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28601 # `set' quotes correctly as required by POSIX, so do not add quotes.
28603 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28612 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28614 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28615 if test -w $cache_file; then
28616 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28617 cat confcache >$cache_file
28619 echo "not updating unwritable cache $cache_file"
28626 if test "$TOOLKIT" != "MSW"; then
28632 if test "$wxUSE_THREADS" = "yes" ; then
28633 if test "$USE_BEOS" = 1; then
28634 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28635 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28640 if test "$wxUSE_THREADS" = "yes" ; then
28643 THREAD_OPTS="-pthread"
28645 *-*-solaris2* | *-*-sunos4* )
28646 if test "x$GCC" = "xyes"; then
28647 THREAD_OPTS="-pthreads $THREAD_OPTS"
28649 THREAD_OPTS="-mt $THREAD_OPTS"
28653 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28655 *-*-darwin* | *-*-cygwin* )
28659 THREAD_OPTS="pthreads"
28662 if test "x$GCC" != "xyes"; then
28668 if test "x$GCC" = "xyes"; then
28674 if test "x$GCC" != "xyes"; then
28675 THREAD_OPTS="-Ethread"
28680 THREAD_OPTS="$THREAD_OPTS pthread none"
28683 for flag in $THREAD_OPTS; do
28686 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28687 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28691 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28692 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28693 THREADS_CFLAGS="$flag"
28697 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28698 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28699 THREADS_LINK="-l$flag"
28704 save_CFLAGS="$CFLAGS"
28705 LIBS="$THREADS_LINK $LIBS"
28706 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28708 cat >conftest.$ac_ext <<_ACEOF
28709 #line $LINENO "configure"
28712 cat confdefs.h >>conftest.$ac_ext
28713 cat >>conftest.$ac_ext <<_ACEOF
28714 /* end confdefs.h. */
28715 #include <pthread.h>
28719 pthread_create(0,0,0,0);
28724 rm -f conftest.$ac_objext conftest$ac_exeext
28725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28726 (eval $ac_link) 2>&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } &&
28730 { ac_try='test -s conftest$ac_exeext'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; }; then
28738 echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.$ac_ext >&5
28742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28745 CFLAGS="$save_CFLAGS"
28747 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28748 echo "${ECHO_T}$THREADS_OK" >&6
28749 if test "x$THREADS_OK" = "xyes"; then
28757 if test "x$THREADS_OK" != "xyes"; then
28759 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28760 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28762 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28763 LIBS="$THREADS_LINK $LIBS"
28765 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28766 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28770 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28771 flag="-D_THREAD_SAFE"
28774 flag="-D_THREAD_SAFE"
28777 flag="-D_REENTRANT"
28778 if test "x$GCC" != "xyes"; then
28779 flag="$flag -D_RWSTD_MULTI_THREAD"
28782 *solaris* | alpha*-osf*)
28783 flag="-D_REENTRANT"
28786 echo "$as_me:$LINENO: result: ${flag}" >&5
28787 echo "${ECHO_T}${flag}" >&6
28788 if test "x$flag" != xno; then
28789 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28792 if test "x$THREADS_CFLAGS" != "x"; then
28793 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28794 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28799 if test "$wxUSE_THREADS" = "yes" ; then
28801 for ac_func in thr_setconcurrency
28803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28804 echo "$as_me:$LINENO: checking for $ac_func" >&5
28805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28806 if eval "test \"\${$as_ac_var+set}\" = set"; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28809 cat >conftest.$ac_ext <<_ACEOF
28810 #line $LINENO "configure"
28813 cat confdefs.h >>conftest.$ac_ext
28814 cat >>conftest.$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28816 /* System header to define __stub macros and hopefully few prototypes,
28817 which can conflict with char $ac_func (); below.
28818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28819 <limits.h> exists even on freestanding compilers. */
28821 # include <limits.h>
28823 # include <assert.h>
28825 /* Override any gcc2 internal prototype to avoid an error. */
28830 /* We use char because int might match the return type of a gcc2
28831 builtin and then its argument prototype would still apply. */
28833 /* The GNU C library defines this for functions which it implements
28834 to always fail with ENOSYS. Some functions are actually named
28835 something starting with __ and the normal name is an alias. */
28836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28839 char (*f) () = $ac_func;
28848 return f != $ac_func;
28853 rm -f conftest.$ac_objext conftest$ac_exeext
28854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28855 (eval $ac_link) 2>&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try='test -s conftest$ac_exeext'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; }; then
28865 eval "$as_ac_var=yes"
28867 echo "$as_me: failed program was:" >&5
28868 sed 's/^/| /' conftest.$ac_ext >&5
28870 eval "$as_ac_var=no"
28872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28876 if test `eval echo '${'$as_ac_var'}'` = yes; then
28877 cat >>confdefs.h <<_ACEOF
28878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28886 for ac_header in sched.h
28888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28890 echo "$as_me:$LINENO: checking for $ac_header" >&5
28891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28898 # Is the header compilable?
28899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28901 cat >conftest.$ac_ext <<_ACEOF
28902 #line $LINENO "configure"
28905 cat confdefs.h >>conftest.$ac_ext
28906 cat >>conftest.$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28908 $ac_includes_default
28909 #include <$ac_header>
28911 rm -f conftest.$ac_objext
28912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28913 (eval $ac_compile) 2>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } &&
28917 { ac_try='test -s conftest.$ac_objext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_header_compiler=yes
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.$ac_ext >&5
28928 ac_header_compiler=no
28930 rm -f conftest.$ac_objext conftest.$ac_ext
28931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28932 echo "${ECHO_T}$ac_header_compiler" >&6
28934 # Is the header present?
28935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28937 cat >conftest.$ac_ext <<_ACEOF
28938 #line $LINENO "configure"
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28944 #include <$ac_header>
28946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28949 grep -v '^ *+' conftest.er1 >conftest.err
28951 cat conftest.err >&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } >/dev/null; then
28954 if test -s conftest.err; then
28955 ac_cpp_err=$ac_c_preproc_warn_flag
28962 if test -z "$ac_cpp_err"; then
28963 ac_header_preproc=yes
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.$ac_ext >&5
28968 ac_header_preproc=no
28970 rm -f conftest.err conftest.$ac_ext
28971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28972 echo "${ECHO_T}$ac_header_preproc" >&6
28974 # So? What about this header?
28975 case $ac_header_compiler:$ac_header_preproc in
28977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28983 ## ------------------------------------ ##
28984 ## Report this to bug-autoconf@gnu.org. ##
28985 ## ------------------------------------ ##
28988 sed "s/^/$as_me: WARNING: /" >&2
28991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28999 ## ------------------------------------ ##
29000 ## Report this to bug-autoconf@gnu.org. ##
29001 ## ------------------------------------ ##
29004 sed "s/^/$as_me: WARNING: /" >&2
29007 echo "$as_me:$LINENO: checking for $ac_header" >&5
29008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29010 echo $ECHO_N "(cached) $ECHO_C" >&6
29012 eval "$as_ac_Header=$ac_header_preproc"
29014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29019 cat >>confdefs.h <<_ACEOF
29020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29027 if test "$ac_cv_header_sched_h" = "yes"; then
29028 echo "$as_me:$LINENO: checking for sched_yield" >&5
29029 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29030 if test "${ac_cv_func_sched_yield+set}" = set; then
29031 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 cat >conftest.$ac_ext <<_ACEOF
29034 #line $LINENO "configure"
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29040 /* System header to define __stub macros and hopefully few prototypes,
29041 which can conflict with char sched_yield (); below.
29042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29043 <limits.h> exists even on freestanding compilers. */
29045 # include <limits.h>
29047 # include <assert.h>
29049 /* Override any gcc2 internal prototype to avoid an error. */
29054 /* We use char because int might match the return type of a gcc2
29055 builtin and then its argument prototype would still apply. */
29056 char sched_yield ();
29057 /* The GNU C library defines this for functions which it implements
29058 to always fail with ENOSYS. Some functions are actually named
29059 something starting with __ and the normal name is an alias. */
29060 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29063 char (*f) () = sched_yield;
29072 return f != sched_yield;
29077 rm -f conftest.$ac_objext conftest$ac_exeext
29078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29079 (eval $ac_link) 2>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); } &&
29083 { ac_try='test -s conftest$ac_exeext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_func_sched_yield=yes
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29094 ac_cv_func_sched_yield=no
29096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29098 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29099 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29100 if test $ac_cv_func_sched_yield = yes; then
29101 cat >>confdefs.h <<\_ACEOF
29102 #define HAVE_SCHED_YIELD 1
29107 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29108 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29109 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29112 ac_check_lib_save_LIBS=$LIBS
29113 LIBS="-lposix4 $LIBS"
29114 cat >conftest.$ac_ext <<_ACEOF
29115 #line $LINENO "configure"
29118 cat confdefs.h >>conftest.$ac_ext
29119 cat >>conftest.$ac_ext <<_ACEOF
29120 /* end confdefs.h. */
29122 /* Override any gcc2 internal prototype to avoid an error. */
29126 /* We use char because int might match the return type of a gcc2
29127 builtin and then its argument prototype would still apply. */
29128 char sched_yield ();
29137 rm -f conftest.$ac_objext conftest$ac_exeext
29138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29139 (eval $ac_link) 2>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try='test -s conftest$ac_exeext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 ac_cv_lib_posix4_sched_yield=yes
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29154 ac_cv_lib_posix4_sched_yield=no
29156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29157 LIBS=$ac_check_lib_save_LIBS
29159 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29160 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29161 if test $ac_cv_lib_posix4_sched_yield = yes; then
29162 cat >>confdefs.h <<\_ACEOF
29163 #define HAVE_SCHED_YIELD 1
29165 POSIX4_LINK=" -lposix4"
29167 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29168 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29179 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29180 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29181 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 cat >conftest.$ac_ext <<_ACEOF
29185 #line $LINENO "configure"
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191 /* System header to define __stub macros and hopefully few prototypes,
29192 which can conflict with char pthread_attr_getschedpolicy (); below.
29193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29194 <limits.h> exists even on freestanding compilers. */
29196 # include <limits.h>
29198 # include <assert.h>
29200 /* Override any gcc2 internal prototype to avoid an error. */
29205 /* We use char because int might match the return type of a gcc2
29206 builtin and then its argument prototype would still apply. */
29207 char pthread_attr_getschedpolicy ();
29208 /* The GNU C library defines this for functions which it implements
29209 to always fail with ENOSYS. Some functions are actually named
29210 something starting with __ and the normal name is an alias. */
29211 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29214 char (*f) () = pthread_attr_getschedpolicy;
29223 return f != pthread_attr_getschedpolicy;
29228 rm -f conftest.$ac_objext conftest$ac_exeext
29229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29230 (eval $ac_link) 2>&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } &&
29234 { ac_try='test -s conftest$ac_exeext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240 ac_cv_func_pthread_attr_getschedpolicy=yes
29242 echo "$as_me: failed program was:" >&5
29243 sed 's/^/| /' conftest.$ac_ext >&5
29245 ac_cv_func_pthread_attr_getschedpolicy=no
29247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29249 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29250 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29251 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29252 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29253 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29254 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29255 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 cat >conftest.$ac_ext <<_ACEOF
29258 #line $LINENO "configure"
29261 cat confdefs.h >>conftest.$ac_ext
29262 cat >>conftest.$ac_ext <<_ACEOF
29263 /* end confdefs.h. */
29264 /* System header to define __stub macros and hopefully few prototypes,
29265 which can conflict with char pthread_attr_setschedparam (); below.
29266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29267 <limits.h> exists even on freestanding compilers. */
29269 # include <limits.h>
29271 # include <assert.h>
29273 /* Override any gcc2 internal prototype to avoid an error. */
29278 /* We use char because int might match the return type of a gcc2
29279 builtin and then its argument prototype would still apply. */
29280 char pthread_attr_setschedparam ();
29281 /* The GNU C library defines this for functions which it implements
29282 to always fail with ENOSYS. Some functions are actually named
29283 something starting with __ and the normal name is an alias. */
29284 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29287 char (*f) () = pthread_attr_setschedparam;
29296 return f != pthread_attr_setschedparam;
29301 rm -f conftest.$ac_objext conftest$ac_exeext
29302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29303 (eval $ac_link) 2>&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try='test -s conftest$ac_exeext'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; }; then
29313 ac_cv_func_pthread_attr_setschedparam=yes
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.$ac_ext >&5
29318 ac_cv_func_pthread_attr_setschedparam=no
29320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29322 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29323 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29324 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29325 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29326 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29327 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 cat >conftest.$ac_ext <<_ACEOF
29331 #line $LINENO "configure"
29334 cat confdefs.h >>conftest.$ac_ext
29335 cat >>conftest.$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337 /* System header to define __stub macros and hopefully few prototypes,
29338 which can conflict with char sched_get_priority_max (); below.
29339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29340 <limits.h> exists even on freestanding compilers. */
29342 # include <limits.h>
29344 # include <assert.h>
29346 /* Override any gcc2 internal prototype to avoid an error. */
29351 /* We use char because int might match the return type of a gcc2
29352 builtin and then its argument prototype would still apply. */
29353 char sched_get_priority_max ();
29354 /* The GNU C library defines this for functions which it implements
29355 to always fail with ENOSYS. Some functions are actually named
29356 something starting with __ and the normal name is an alias. */
29357 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29360 char (*f) () = sched_get_priority_max;
29369 return f != sched_get_priority_max;
29374 rm -f conftest.$ac_objext conftest$ac_exeext
29375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29376 (eval $ac_link) 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } &&
29380 { ac_try='test -s conftest$ac_exeext'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; }; then
29386 ac_cv_func_sched_get_priority_max=yes
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29391 ac_cv_func_sched_get_priority_max=no
29393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29395 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29396 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29397 if test $ac_cv_func_sched_get_priority_max = yes; then
29400 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29401 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29402 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 ac_check_lib_save_LIBS=$LIBS
29406 LIBS="-lposix4 $LIBS"
29407 cat >conftest.$ac_ext <<_ACEOF
29408 #line $LINENO "configure"
29411 cat confdefs.h >>conftest.$ac_ext
29412 cat >>conftest.$ac_ext <<_ACEOF
29413 /* end confdefs.h. */
29415 /* Override any gcc2 internal prototype to avoid an error. */
29419 /* We use char because int might match the return type of a gcc2
29420 builtin and then its argument prototype would still apply. */
29421 char sched_get_priority_max ();
29425 sched_get_priority_max ();
29430 rm -f conftest.$ac_objext conftest$ac_exeext
29431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29432 (eval $ac_link) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 ac_cv_lib_posix4_sched_get_priority_max=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29447 ac_cv_lib_posix4_sched_get_priority_max=no
29449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29450 LIBS=$ac_check_lib_save_LIBS
29452 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29453 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29454 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29457 POSIX4_LINK=" -lposix4"
29471 if test "$HAVE_PRIOR_FUNCS" = 1; then
29472 cat >>confdefs.h <<\_ACEOF
29473 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29477 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29478 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29481 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29482 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29483 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29484 echo $ECHO_N "(cached) $ECHO_C" >&6
29486 cat >conftest.$ac_ext <<_ACEOF
29487 #line $LINENO "configure"
29490 cat confdefs.h >>conftest.$ac_ext
29491 cat >>conftest.$ac_ext <<_ACEOF
29492 /* end confdefs.h. */
29493 /* System header to define __stub macros and hopefully few prototypes,
29494 which can conflict with char pthread_cancel (); below.
29495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29496 <limits.h> exists even on freestanding compilers. */
29498 # include <limits.h>
29500 # include <assert.h>
29502 /* Override any gcc2 internal prototype to avoid an error. */
29507 /* We use char because int might match the return type of a gcc2
29508 builtin and then its argument prototype would still apply. */
29509 char pthread_cancel ();
29510 /* The GNU C library defines this for functions which it implements
29511 to always fail with ENOSYS. Some functions are actually named
29512 something starting with __ and the normal name is an alias. */
29513 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29516 char (*f) () = pthread_cancel;
29525 return f != pthread_cancel;
29530 rm -f conftest.$ac_objext conftest$ac_exeext
29531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29532 (eval $ac_link) 2>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try='test -s conftest$ac_exeext'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; }; then
29542 ac_cv_func_pthread_cancel=yes
29544 echo "$as_me: failed program was:" >&5
29545 sed 's/^/| /' conftest.$ac_ext >&5
29547 ac_cv_func_pthread_cancel=no
29549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29551 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29552 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29553 if test $ac_cv_func_pthread_cancel = yes; then
29554 cat >>confdefs.h <<\_ACEOF
29555 #define HAVE_PTHREAD_CANCEL 1
29559 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29560 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29564 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29565 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29566 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29567 echo $ECHO_N "(cached) $ECHO_C" >&6
29570 cat >conftest.$ac_ext <<_ACEOF
29571 #line $LINENO "configure"
29574 cat confdefs.h >>conftest.$ac_ext
29575 cat >>conftest.$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29577 #include <pthread.h>
29582 pthread_cleanup_push(NULL, NULL);
29583 pthread_cleanup_pop(0);
29589 rm -f conftest.$ac_objext
29590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29591 (eval $ac_compile) 2>&5
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); } &&
29595 { ac_try='test -s conftest.$ac_objext'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; }; then
29602 wx_cv_func_pthread_cleanup_push=yes
29605 echo "$as_me: failed program was:" >&5
29606 sed 's/^/| /' conftest.$ac_ext >&5
29609 wx_cv_func_pthread_cleanup_push=no
29612 rm -f conftest.$ac_objext conftest.$ac_ext
29615 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29616 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29618 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29619 cat >>confdefs.h <<\_ACEOF
29620 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29626 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29627 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29628 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29629 echo $ECHO_N "(cached) $ECHO_C" >&6
29632 cat >conftest.$ac_ext <<_ACEOF
29633 #line $LINENO "configure"
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639 #include <pthread.h>
29644 pthread_mutexattr_t attr;
29645 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29651 rm -f conftest.$ac_objext
29652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29653 (eval $ac_compile) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } &&
29657 { ac_try='test -s conftest.$ac_objext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29664 wx_cv_type_pthread_mutexattr_t=yes
29667 echo "$as_me: failed program was:" >&5
29668 sed 's/^/| /' conftest.$ac_ext >&5
29671 wx_cv_type_pthread_mutexattr_t=no
29675 rm -f conftest.$ac_objext conftest.$ac_ext
29678 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29679 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29681 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29682 cat >>confdefs.h <<\_ACEOF
29683 #define HAVE_PTHREAD_MUTEXATTR_T 1
29687 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29688 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29689 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 cat >conftest.$ac_ext <<_ACEOF
29694 #line $LINENO "configure"
29697 cat confdefs.h >>conftest.$ac_ext
29698 cat >>conftest.$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 #include <pthread.h>
29705 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29711 rm -f conftest.$ac_objext
29712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29713 (eval $ac_compile) 2>&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try='test -s conftest.$ac_objext'
29718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29719 (eval $ac_try) 2>&5
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); }; }; then
29724 wx_cv_type_pthread_rec_mutex_init=yes
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.$ac_ext >&5
29731 wx_cv_type_pthread_rec_mutex_init=no
29735 rm -f conftest.$ac_objext conftest.$ac_ext
29738 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29739 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29740 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29741 cat >>confdefs.h <<\_ACEOF
29742 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29746 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29747 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29753 if test "$wxUSE_THREADS" = "yes" ; then
29756 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29757 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29758 if test "${wx_cv_cflags_mthread+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 CFLAGS_OLD="$CFLAGS"
29763 CFLAGS="$CFLAGS -mthreads"
29764 cat >conftest.$ac_ext <<_ACEOF
29765 #line $LINENO "configure"
29768 cat confdefs.h >>conftest.$ac_ext
29769 cat >>conftest.$ac_ext <<_ACEOF
29770 /* end confdefs.h. */
29780 rm -f conftest.$ac_objext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } &&
29786 { ac_try='test -s conftest.$ac_objext'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; }; then
29792 wx_cv_cflags_mthread=yes
29794 echo "$as_me: failed program was:" >&5
29795 sed 's/^/| /' conftest.$ac_ext >&5
29797 wx_cv_cflags_mthread=no
29800 rm -f conftest.$ac_objext conftest.$ac_ext
29804 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29805 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29807 if test "$wx_cv_cflags_mthread" = "yes"; then
29808 CXXFLAGS="$CXXFLAGS -mthreads"
29809 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29810 LDFLAGS="$LDFLAGS -mthreads"
29812 CFLAGS="$CFLAGS_OLD"
29819 if test "$wxUSE_THREADS" = "yes"; then
29820 cat >>confdefs.h <<\_ACEOF
29821 #define wxUSE_THREADS 1
29825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29827 if test "$ac_cv_func_strtok_r" = "yes"; then
29828 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29829 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29830 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29831 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29832 echo "$as_me:$LINENO: result: yes" >&5
29833 echo "${ECHO_T}yes" >&6
29835 echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6
29841 if test "$WXGTK20" = 1 ; then
29842 cat >>confdefs.h <<_ACEOF
29843 #define __WXGTK20__ $WXGTK20
29849 if test "$WXGTK12" = 1 ; then
29850 cat >>confdefs.h <<_ACEOF
29851 #define __WXGTK12__ $WXGTK12
29856 if test "$WXGTK127" = 1 ; then
29857 cat >>confdefs.h <<_ACEOF
29858 #define __WXGTK127__ $WXGTK127
29865 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29870 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29871 wxUSE_DEBUG_INFO=yes
29875 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29876 cat >>confdefs.h <<\_ACEOF
29880 WXDEBUG_DEFINE="-D__WXDEBUG__"
29882 if test "$wxUSE_GTK" = 1 ; then
29883 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29887 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29888 cat >>confdefs.h <<\_ACEOF
29889 #define wxUSE_MEMORY_TRACING 1
29892 cat >>confdefs.h <<\_ACEOF
29893 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29896 cat >>confdefs.h <<\_ACEOF
29897 #define wxUSE_DEBUG_NEW_ALWAYS 1
29900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29903 if test "$wxUSE_DMALLOC" = "yes" ; then
29904 DMALLOC_LIBS="-ldmalloc"
29908 if test "$wxUSE_PROFILE" = "yes" ; then
29913 CODE_GEN_FLAGS_CXX=
29914 if test "$GCC" = "yes" ; then
29915 if test "$wxUSE_NO_RTTI" = "yes" ; then
29916 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29918 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29919 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29921 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29922 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29924 if test "$USE_WIN32" = 1 ; then
29925 # I'm not even really sure what this was ever added to solve,
29926 # but someone added it for mingw native builds, so I guess
29927 # they had a reason, right??
29928 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29933 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29936 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29942 if test "$wxUSE_OPTIMISE" = "no" ; then
29943 if test "$GCC" = yes ; then
29947 if test "$GCC" = yes ; then
29951 i586-*-*|i686-*-* )
29952 OPTIMISE="${OPTIMISE} "
29961 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29962 cat >>confdefs.h <<\_ACEOF
29963 #define WXWIN_COMPATIBILITY_2 1
29967 WXWIN_COMPATIBILITY_2_2="yes"
29970 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29971 cat >>confdefs.h <<\_ACEOF
29972 #define WXWIN_COMPATIBILITY_2_2 1
29976 WXWIN_COMPATIBILITY_2_4="yes"
29979 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29980 cat >>confdefs.h <<\_ACEOF
29981 #define WXWIN_COMPATIBILITY_2_4 1
29987 if test "$wxUSE_GUI" = "yes"; then
29988 cat >>confdefs.h <<\_ACEOF
29989 #define wxUSE_GUI 1
29994 cat >>confdefs.h <<\_ACEOF
29995 #define wxUSE_NOGUI 1
30001 if test "$wxUSE_UNIX" = "yes"; then
30002 cat >>confdefs.h <<\_ACEOF
30003 #define wxUSE_UNIX 1
30009 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30010 cat >>confdefs.h <<\_ACEOF
30011 #define wxUSE_APPLE_IEEE 1
30016 if test "$wxUSE_TIMER" = "yes"; then
30017 cat >>confdefs.h <<\_ACEOF
30018 #define wxUSE_TIMER 1
30023 if test "$wxUSE_WAVE" = "yes"; then
30024 cat >>confdefs.h <<\_ACEOF
30025 #define wxUSE_WAVE 1
30030 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30031 cat >>confdefs.h <<\_ACEOF
30032 #define wxUSE_CMDLINE_PARSER 1
30037 if test "$wxUSE_STOPWATCH" = "yes"; then
30038 cat >>confdefs.h <<\_ACEOF
30039 #define wxUSE_STOPWATCH 1
30044 if test "$wxUSE_DATETIME" = "yes"; then
30045 cat >>confdefs.h <<\_ACEOF
30046 #define wxUSE_DATETIME 1
30051 if test "$wxUSE_FILE" = "yes"; then
30052 cat >>confdefs.h <<\_ACEOF
30053 #define wxUSE_FILE 1
30058 if test "$wxUSE_FFILE" = "yes"; then
30059 cat >>confdefs.h <<\_ACEOF
30060 #define wxUSE_FFILE 1
30065 if test "$wxUSE_FILESYSTEM" = "yes"; then
30066 cat >>confdefs.h <<\_ACEOF
30067 #define wxUSE_FILESYSTEM 1
30072 if test "$wxUSE_FS_INET" = "yes"; then
30073 cat >>confdefs.h <<\_ACEOF
30074 #define wxUSE_FS_INET 1
30079 if test "$wxUSE_FS_ZIP" = "yes"; then
30080 cat >>confdefs.h <<\_ACEOF
30081 #define wxUSE_FS_ZIP 1
30086 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_ZIPSTREAM 1
30093 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30094 cat >>confdefs.h <<\_ACEOF
30095 #define wxUSE_ON_FATAL_EXCEPTION 1
30100 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30101 cat >>confdefs.h <<\_ACEOF
30102 #define wxUSE_SNGLINST_CHECKER 1
30107 if test "$wxUSE_BUSYINFO" = "yes"; then
30108 cat >>confdefs.h <<\_ACEOF
30109 #define wxUSE_BUSYINFO 1
30114 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30115 cat >>confdefs.h <<\_ACEOF
30116 #define wxUSE_STD_IOSTREAM 1
30121 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30122 cat >>confdefs.h <<\_ACEOF
30123 #define wxUSE_TEXTBUFFER 1
30128 if test "$wxUSE_TEXTFILE" = "yes"; then
30129 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30130 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30131 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30133 cat >>confdefs.h <<\_ACEOF
30134 #define wxUSE_TEXTFILE 1
30140 if test "$wxUSE_CONFIG" = "yes" ; then
30141 if test "$wxUSE_TEXTFILE" != "yes"; then
30142 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30143 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30145 cat >>confdefs.h <<\_ACEOF
30146 #define wxUSE_CONFIG 1
30149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30153 if test "$wxUSE_INTL" = "yes" ; then
30154 if test "$wxUSE_FILE" != "yes"; then
30155 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30156 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30158 cat >>confdefs.h <<\_ACEOF
30159 #define wxUSE_INTL 1
30162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30163 GUIDIST="$GUIDIST INTL_DIST"
30167 if test "$wxUSE_LOG" = "yes"; then
30168 cat >>confdefs.h <<\_ACEOF
30169 #define wxUSE_LOG 1
30173 if test "$wxUSE_LOGGUI" = "yes"; then
30174 cat >>confdefs.h <<\_ACEOF
30175 #define wxUSE_LOGGUI 1
30180 if test "$wxUSE_LOGWINDOW" = "yes"; then
30181 cat >>confdefs.h <<\_ACEOF
30182 #define wxUSE_LOGWINDOW 1
30187 if test "$wxUSE_LOGDIALOG" = "yes"; then
30188 cat >>confdefs.h <<\_ACEOF
30189 #define wxUSE_LOG_DIALOG 1
30195 if test "$wxUSE_LONGLONG" = "yes"; then
30196 cat >>confdefs.h <<\_ACEOF
30197 #define wxUSE_LONGLONG 1
30202 if test "$wxUSE_GEOMETRY" = "yes"; then
30203 cat >>confdefs.h <<\_ACEOF
30204 #define wxUSE_GEOMETRY 1
30209 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30210 cat >>confdefs.h <<\_ACEOF
30211 #define wxUSE_DIALUP_MANAGER 1
30214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30217 if test "$wxUSE_STREAMS" = "yes" ; then
30218 cat >>confdefs.h <<\_ACEOF
30219 #define wxUSE_STREAMS 1
30225 if test "$wxUSE_DATETIME" = "yes"; then
30227 for ac_func in strptime
30229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30230 echo "$as_me:$LINENO: checking for $ac_func" >&5
30231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30232 if eval "test \"\${$as_ac_var+set}\" = set"; then
30233 echo $ECHO_N "(cached) $ECHO_C" >&6
30235 cat >conftest.$ac_ext <<_ACEOF
30236 #line $LINENO "configure"
30239 cat confdefs.h >>conftest.$ac_ext
30240 cat >>conftest.$ac_ext <<_ACEOF
30241 /* end confdefs.h. */
30242 /* System header to define __stub macros and hopefully few prototypes,
30243 which can conflict with char $ac_func (); below.
30244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30245 <limits.h> exists even on freestanding compilers. */
30247 # include <limits.h>
30249 # include <assert.h>
30251 /* Override any gcc2 internal prototype to avoid an error. */
30256 /* We use char because int might match the return type of a gcc2
30257 builtin and then its argument prototype would still apply. */
30259 /* The GNU C library defines this for functions which it implements
30260 to always fail with ENOSYS. Some functions are actually named
30261 something starting with __ and the normal name is an alias. */
30262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30265 char (*f) () = $ac_func;
30274 return f != $ac_func;
30279 rm -f conftest.$ac_objext conftest$ac_exeext
30280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30281 (eval $ac_link) 2>&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } &&
30285 { ac_try='test -s conftest$ac_exeext'
30286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287 (eval $ac_try) 2>&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; }; then
30291 eval "$as_ac_var=yes"
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.$ac_ext >&5
30296 eval "$as_ac_var=no"
30298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30302 if test `eval echo '${'$as_ac_var'}'` = yes; then
30303 cat >>confdefs.h <<_ACEOF
30304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30311 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30312 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30313 if test "${wx_cv_var_timezone+set}" = set; then
30314 echo $ECHO_N "(cached) $ECHO_C" >&6
30317 cat >conftest.$ac_ext <<_ACEOF
30318 #line $LINENO "configure"
30321 cat confdefs.h >>conftest.$ac_ext
30322 cat >>conftest.$ac_ext <<_ACEOF
30323 /* end confdefs.h. */
30338 rm -f conftest.$ac_objext
30339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30340 (eval $ac_compile) 2>&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); } &&
30344 { ac_try='test -s conftest.$ac_objext'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; }; then
30351 wx_cv_var_timezone=timezone
30354 echo "$as_me: failed program was:" >&5
30355 sed 's/^/| /' conftest.$ac_ext >&5
30358 cat >conftest.$ac_ext <<_ACEOF
30359 #line $LINENO "configure"
30362 cat confdefs.h >>conftest.$ac_ext
30363 cat >>conftest.$ac_ext <<_ACEOF
30364 /* end confdefs.h. */
30379 rm -f conftest.$ac_objext
30380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30381 (eval $ac_compile) 2>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -s conftest.$ac_objext'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; }; then
30392 wx_cv_var_timezone=_timezone
30395 echo "$as_me: failed program was:" >&5
30396 sed 's/^/| /' conftest.$ac_ext >&5
30399 cat >conftest.$ac_ext <<_ACEOF
30400 #line $LINENO "configure"
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30420 rm -f conftest.$ac_objext
30421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30422 (eval $ac_compile) 2>&5
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); } &&
30426 { ac_try='test -s conftest.$ac_objext'
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; }; then
30433 wx_cv_var_timezone=__timezone
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30440 if test "$USE_DOS" = 0 ; then
30441 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30442 echo "$as_me: WARNING: no timezone variable" >&2;}
30447 rm -f conftest.$ac_objext conftest.$ac_ext
30451 rm -f conftest.$ac_objext conftest.$ac_ext
30455 rm -f conftest.$ac_objext conftest.$ac_ext
30459 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30460 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30462 if test "x$wx_cv_var_timezone" != x ; then
30463 cat >>confdefs.h <<_ACEOF
30464 #define WX_TIMEZONE $wx_cv_var_timezone
30470 for ac_func in localtime
30472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30473 echo "$as_me:$LINENO: checking for $ac_func" >&5
30474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30475 if eval "test \"\${$as_ac_var+set}\" = set"; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30478 cat >conftest.$ac_ext <<_ACEOF
30479 #line $LINENO "configure"
30482 cat confdefs.h >>conftest.$ac_ext
30483 cat >>conftest.$ac_ext <<_ACEOF
30484 /* end confdefs.h. */
30485 /* System header to define __stub macros and hopefully few prototypes,
30486 which can conflict with char $ac_func (); below.
30487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30488 <limits.h> exists even on freestanding compilers. */
30490 # include <limits.h>
30492 # include <assert.h>
30494 /* Override any gcc2 internal prototype to avoid an error. */
30499 /* We use char because int might match the return type of a gcc2
30500 builtin and then its argument prototype would still apply. */
30502 /* The GNU C library defines this for functions which it implements
30503 to always fail with ENOSYS. Some functions are actually named
30504 something starting with __ and the normal name is an alias. */
30505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30508 char (*f) () = $ac_func;
30517 return f != $ac_func;
30522 rm -f conftest.$ac_objext conftest$ac_exeext
30523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30524 (eval $ac_link) 2>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } &&
30528 { ac_try='test -s conftest$ac_exeext'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; }; then
30534 eval "$as_ac_var=yes"
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30539 eval "$as_ac_var=no"
30541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30545 if test `eval echo '${'$as_ac_var'}'` = yes; then
30546 cat >>confdefs.h <<_ACEOF
30547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30554 if test "$ac_cv_func_localtime" = "yes"; then
30555 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30556 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30557 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 cat >conftest.$ac_ext <<_ACEOF
30562 #line $LINENO "configure"
30565 cat confdefs.h >>conftest.$ac_ext
30566 cat >>conftest.$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30582 rm -f conftest.$ac_objext
30583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30584 (eval $ac_compile) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); } &&
30588 { ac_try='test -s conftest.$ac_objext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30595 wx_cv_struct_tm_has_gmtoff=yes
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.$ac_ext >&5
30601 wx_cv_struct_tm_has_gmtoff=no
30604 rm -f conftest.$ac_objext conftest.$ac_ext
30607 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30608 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30611 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30612 cat >>confdefs.h <<\_ACEOF
30613 #define WX_GMTOFF_IN_TM 1
30620 for ac_func in gettimeofday ftime
30622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30623 echo "$as_me:$LINENO: checking for $ac_func" >&5
30624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30625 if eval "test \"\${$as_ac_var+set}\" = set"; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30628 cat >conftest.$ac_ext <<_ACEOF
30629 #line $LINENO "configure"
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 /* System header to define __stub macros and hopefully few prototypes,
30636 which can conflict with char $ac_func (); below.
30637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30638 <limits.h> exists even on freestanding compilers. */
30640 # include <limits.h>
30642 # include <assert.h>
30644 /* Override any gcc2 internal prototype to avoid an error. */
30649 /* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30652 /* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30658 char (*f) () = $ac_func;
30667 return f != $ac_func;
30672 rm -f conftest.$ac_objext conftest$ac_exeext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>&5
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } &&
30678 { ac_try='test -s conftest$ac_exeext'
30679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30680 (eval $ac_try) 2>&5
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); }; }; then
30684 eval "$as_ac_var=yes"
30686 echo "$as_me: failed program was:" >&5
30687 sed 's/^/| /' conftest.$ac_ext >&5
30689 eval "$as_ac_var=no"
30691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30695 if test `eval echo '${'$as_ac_var'}'` = yes; then
30696 cat >>confdefs.h <<_ACEOF
30697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30704 if test "$ac_cv_func_gettimeofday" = "yes"; then
30705 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30706 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30707 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30714 ac_cpp='$CXXCPP $CPPFLAGS'
30715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720 cat >conftest.$ac_ext <<_ACEOF
30721 #line $LINENO "configure"
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30728 #include <sys/time.h>
30729 #include <unistd.h>
30736 gettimeofday(&tv, NULL);
30742 rm -f conftest.$ac_objext
30743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30744 (eval $ac_compile) 2>&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } &&
30748 { ac_try='test -s conftest.$ac_objext'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; }; then
30754 wx_cv_func_gettimeofday_has_2_args=yes
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30759 cat >conftest.$ac_ext <<_ACEOF
30760 #line $LINENO "configure"
30763 cat confdefs.h >>conftest.$ac_ext
30764 cat >>conftest.$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30767 #include <sys/time.h>
30768 #include <unistd.h>
30781 rm -f conftest.$ac_objext
30782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30783 (eval $ac_compile) 2>&5
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); } &&
30787 { ac_try='test -s conftest.$ac_objext'
30788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30789 (eval $ac_try) 2>&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; }; then
30793 wx_cv_func_gettimeofday_has_2_args=no
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30799 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30800 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30801 wx_cv_func_gettimeofday_has_2_args=unknown
30805 rm -f conftest.$ac_objext conftest.$ac_ext
30808 rm -f conftest.$ac_objext conftest.$ac_ext
30810 ac_cpp='$CPP $CPPFLAGS'
30811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30817 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30818 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30820 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30821 cat >>confdefs.h <<\_ACEOF
30822 #define WX_GETTIMEOFDAY_NO_TZ 1
30828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30832 if test "$wxUSE_SOCKETS" = "yes"; then
30833 if test "$wxUSE_MGL" = "1"; then
30834 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30835 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30840 if test "$wxUSE_SOCKETS" = "yes"; then
30841 if test "$TOOLKIT" != "MSW"; then
30842 echo "$as_me:$LINENO: checking for socket" >&5
30843 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30844 if test "${ac_cv_func_socket+set}" = set; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30847 cat >conftest.$ac_ext <<_ACEOF
30848 #line $LINENO "configure"
30851 cat confdefs.h >>conftest.$ac_ext
30852 cat >>conftest.$ac_ext <<_ACEOF
30853 /* end confdefs.h. */
30854 /* System header to define __stub macros and hopefully few prototypes,
30855 which can conflict with char socket (); below.
30856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30857 <limits.h> exists even on freestanding compilers. */
30859 # include <limits.h>
30861 # include <assert.h>
30863 /* Override any gcc2 internal prototype to avoid an error. */
30868 /* We use char because int might match the return type of a gcc2
30869 builtin and then its argument prototype would still apply. */
30871 /* The GNU C library defines this for functions which it implements
30872 to always fail with ENOSYS. Some functions are actually named
30873 something starting with __ and the normal name is an alias. */
30874 #if defined (__stub_socket) || defined (__stub___socket)
30877 char (*f) () = socket;
30886 return f != socket;
30891 rm -f conftest.$ac_objext conftest$ac_exeext
30892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30893 (eval $ac_link) 2>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); } &&
30897 { ac_try='test -s conftest$ac_exeext'
30898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30899 (eval $ac_try) 2>&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); }; }; then
30903 ac_cv_func_socket=yes
30905 echo "$as_me: failed program was:" >&5
30906 sed 's/^/| /' conftest.$ac_ext >&5
30908 ac_cv_func_socket=no
30910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30912 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30913 echo "${ECHO_T}$ac_cv_func_socket" >&6
30914 if test $ac_cv_func_socket = yes; then
30917 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30918 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30919 if test "${ac_cv_lib_socket_socket+set}" = set; then
30920 echo $ECHO_N "(cached) $ECHO_C" >&6
30922 ac_check_lib_save_LIBS=$LIBS
30923 LIBS="-lsocket $LIBS"
30924 cat >conftest.$ac_ext <<_ACEOF
30925 #line $LINENO "configure"
30928 cat confdefs.h >>conftest.$ac_ext
30929 cat >>conftest.$ac_ext <<_ACEOF
30930 /* end confdefs.h. */
30932 /* Override any gcc2 internal prototype to avoid an error. */
30936 /* We use char because int might match the return type of a gcc2
30937 builtin and then its argument prototype would still apply. */
30947 rm -f conftest.$ac_objext conftest$ac_exeext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30949 (eval $ac_link) 2>&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); } &&
30953 { ac_try='test -s conftest$ac_exeext'
30954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30955 (eval $ac_try) 2>&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); }; }; then
30959 ac_cv_lib_socket_socket=yes
30961 echo "$as_me: failed program was:" >&5
30962 sed 's/^/| /' conftest.$ac_ext >&5
30964 ac_cv_lib_socket_socket=no
30966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30967 LIBS=$ac_check_lib_save_LIBS
30969 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30970 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30971 if test $ac_cv_lib_socket_socket = yes; then
30972 if test "$INET_LINK" != " -lsocket"; then
30973 INET_LINK="$INET_LINK -lsocket"
30977 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30978 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30990 if test "$wxUSE_SOCKETS" = "yes" ; then
30991 if test "$TOOLKIT" != "MSW"; then
30992 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30993 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30994 if test "${wx_cv_type_getsockname3+set}" = set; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30998 cat >conftest.$ac_ext <<_ACEOF
30999 #line $LINENO "configure"
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31006 #include <sys/types.h>
31007 #include <sys/socket.h>
31014 getsockname(0, 0, &len);
31020 rm -f conftest.$ac_objext
31021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31022 (eval $ac_compile) 2>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try='test -s conftest.$ac_objext'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; }; then
31032 wx_cv_type_getsockname3=socklen_t
31034 echo "$as_me: failed program was:" >&5
31035 sed 's/^/| /' conftest.$ac_ext >&5
31038 CFLAGS_OLD="$CFLAGS"
31039 if test "$GCC" = yes ; then
31040 CFLAGS="$CFLAGS -Werror"
31043 cat >conftest.$ac_ext <<_ACEOF
31044 #line $LINENO "configure"
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31051 #include <sys/types.h>
31052 #include <sys/socket.h>
31059 getsockname(0, 0, &len);
31065 rm -f conftest.$ac_objext
31066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31067 (eval $ac_compile) 2>&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } &&
31071 { ac_try='test -s conftest.$ac_objext'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; }; then
31077 wx_cv_type_getsockname3=size_t
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.$ac_ext >&5
31082 cat >conftest.$ac_ext <<_ACEOF
31083 #line $LINENO "configure"
31086 cat confdefs.h >>conftest.$ac_ext
31087 cat >>conftest.$ac_ext <<_ACEOF
31088 /* end confdefs.h. */
31090 #include <sys/types.h>
31091 #include <sys/socket.h>
31098 getsockname(0, 0, &len);
31104 rm -f conftest.$ac_objext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31106 (eval $ac_compile) 2>&5
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); } &&
31110 { ac_try='test -s conftest.$ac_objext'
31111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31112 (eval $ac_try) 2>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; }; then
31116 wx_cv_type_getsockname3=int
31118 echo "$as_me: failed program was:" >&5
31119 sed 's/^/| /' conftest.$ac_ext >&5
31121 wx_cv_type_getsockname3=unknown
31124 rm -f conftest.$ac_objext conftest.$ac_ext
31127 rm -f conftest.$ac_objext conftest.$ac_ext
31129 CFLAGS="$CFLAGS_OLD"
31133 rm -f conftest.$ac_objext conftest.$ac_ext
31136 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31137 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31139 if test "$wx_cv_type_getsockname3" = "unknown"; then
31141 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31142 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31144 cat >>confdefs.h <<_ACEOF
31145 #define SOCKLEN_T $wx_cv_type_getsockname3
31152 if test "$wxUSE_SOCKETS" = "yes" ; then
31153 cat >>confdefs.h <<\_ACEOF
31154 #define wxUSE_SOCKETS 1
31157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31161 if test "$wxUSE_GUI" = "yes"; then
31163 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31164 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31165 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31168 if test "$TOOLKIT" = "MOTIF"; then
31169 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31170 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31173 if test "$TOOLKIT" = "X11"; then
31174 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31175 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31179 if test "$TOOLKIT" != "MSW"; then
31180 if test "$wxUSE_JOYSTICK" = "yes"; then
31182 for ac_header in linux/joystick.h
31184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31186 echo "$as_me:$LINENO: checking for $ac_header" >&5
31187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31194 # Is the header compilable?
31195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31197 cat >conftest.$ac_ext <<_ACEOF
31198 #line $LINENO "configure"
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31204 $ac_includes_default
31205 #include <$ac_header>
31207 rm -f conftest.$ac_objext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31209 (eval $ac_compile) 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -s conftest.$ac_objext'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 ac_header_compiler=yes
31221 echo "$as_me: failed program was:" >&5
31222 sed 's/^/| /' conftest.$ac_ext >&5
31224 ac_header_compiler=no
31226 rm -f conftest.$ac_objext conftest.$ac_ext
31227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31228 echo "${ECHO_T}$ac_header_compiler" >&6
31230 # Is the header present?
31231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31233 cat >conftest.$ac_ext <<_ACEOF
31234 #line $LINENO "configure"
31237 cat confdefs.h >>conftest.$ac_ext
31238 cat >>conftest.$ac_ext <<_ACEOF
31239 /* end confdefs.h. */
31240 #include <$ac_header>
31242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31245 grep -v '^ *+' conftest.er1 >conftest.err
31247 cat conftest.err >&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); } >/dev/null; then
31250 if test -s conftest.err; then
31251 ac_cpp_err=$ac_c_preproc_warn_flag
31258 if test -z "$ac_cpp_err"; then
31259 ac_header_preproc=yes
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.$ac_ext >&5
31264 ac_header_preproc=no
31266 rm -f conftest.err conftest.$ac_ext
31267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31268 echo "${ECHO_T}$ac_header_preproc" >&6
31270 # So? What about this header?
31271 case $ac_header_compiler:$ac_header_preproc in
31273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31279 ## ------------------------------------ ##
31280 ## Report this to bug-autoconf@gnu.org. ##
31281 ## ------------------------------------ ##
31284 sed "s/^/$as_me: WARNING: /" >&2
31287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31295 ## ------------------------------------ ##
31296 ## Report this to bug-autoconf@gnu.org. ##
31297 ## ------------------------------------ ##
31300 sed "s/^/$as_me: WARNING: /" >&2
31303 echo "$as_me:$LINENO: checking for $ac_header" >&5
31304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31306 echo $ECHO_N "(cached) $ECHO_C" >&6
31308 eval "$as_ac_Header=$ac_header_preproc"
31310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31315 cat >>confdefs.h <<_ACEOF
31316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31323 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31325 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31326 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31331 if test "$wxUSE_JOYSTICK" = "yes"; then
31332 cat >>confdefs.h <<\_ACEOF
31333 #define wxUSE_JOYSTICK 1
31336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31341 if test "$TOOLKIT" != "MSW"; then
31345 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31346 if test "$USE_DARWIN" = 1; then
31350 for ac_func in dlopen
31352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31353 echo "$as_me:$LINENO: checking for $ac_func" >&5
31354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31355 if eval "test \"\${$as_ac_var+set}\" = set"; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 cat >conftest.$ac_ext <<_ACEOF
31359 #line $LINENO "configure"
31362 cat confdefs.h >>conftest.$ac_ext
31363 cat >>conftest.$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 /* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char $ac_func (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31370 # include <limits.h>
31372 # include <assert.h>
31374 /* Override any gcc2 internal prototype to avoid an error. */
31379 /* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31382 /* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31388 char (*f) () = $ac_func;
31397 return f != $ac_func;
31402 rm -f conftest.$ac_objext conftest$ac_exeext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 eval "$as_ac_var=yes"
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31419 eval "$as_ac_var=no"
31421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31425 if test `eval echo '${'$as_ac_var'}'` = yes; then
31426 cat >>confdefs.h <<_ACEOF
31427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31430 cat >>confdefs.h <<\_ACEOF
31431 #define HAVE_DLOPEN 1
31438 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31439 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31440 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31441 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 ac_check_lib_save_LIBS=$LIBS
31445 cat >conftest.$ac_ext <<_ACEOF
31446 #line $LINENO "configure"
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31453 /* Override any gcc2 internal prototype to avoid an error. */
31457 /* We use char because int might match the return type of a gcc2
31458 builtin and then its argument prototype would still apply. */
31468 rm -f conftest.$ac_objext conftest$ac_exeext
31469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31470 (eval $ac_link) 2>&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try='test -s conftest$ac_exeext'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; }; then
31480 ac_cv_lib_dl_dlopen=yes
31482 echo "$as_me: failed program was:" >&5
31483 sed 's/^/| /' conftest.$ac_ext >&5
31485 ac_cv_lib_dl_dlopen=no
31487 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31488 LIBS=$ac_check_lib_save_LIBS
31490 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31491 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31492 if test $ac_cv_lib_dl_dlopen = yes; then
31494 cat >>confdefs.h <<\_ACEOF
31495 #define HAVE_DLOPEN 1
31499 DL_LINK=" -ldl$DL_LINK"
31504 for ac_func in shl_load
31506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31507 echo "$as_me:$LINENO: checking for $ac_func" >&5
31508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31509 if eval "test \"\${$as_ac_var+set}\" = set"; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 cat >conftest.$ac_ext <<_ACEOF
31513 #line $LINENO "configure"
31516 cat confdefs.h >>conftest.$ac_ext
31517 cat >>conftest.$ac_ext <<_ACEOF
31518 /* end confdefs.h. */
31519 /* System header to define __stub macros and hopefully few prototypes,
31520 which can conflict with char $ac_func (); below.
31521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31522 <limits.h> exists even on freestanding compilers. */
31524 # include <limits.h>
31526 # include <assert.h>
31528 /* Override any gcc2 internal prototype to avoid an error. */
31533 /* We use char because int might match the return type of a gcc2
31534 builtin and then its argument prototype would still apply. */
31536 /* The GNU C library defines this for functions which it implements
31537 to always fail with ENOSYS. Some functions are actually named
31538 something starting with __ and the normal name is an alias. */
31539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31542 char (*f) () = $ac_func;
31551 return f != $ac_func;
31556 rm -f conftest.$ac_objext conftest$ac_exeext
31557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31558 (eval $ac_link) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } &&
31562 { ac_try='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 eval "$as_ac_var=yes"
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31573 eval "$as_ac_var=no"
31575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31579 if test `eval echo '${'$as_ac_var'}'` = yes; then
31580 cat >>confdefs.h <<_ACEOF
31581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31584 cat >>confdefs.h <<\_ACEOF
31585 #define HAVE_SHL_LOAD 1
31592 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31593 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31594 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31595 echo $ECHO_N "(cached) $ECHO_C" >&6
31597 ac_check_lib_save_LIBS=$LIBS
31598 LIBS="-lshl_load $LIBS"
31599 cat >conftest.$ac_ext <<_ACEOF
31600 #line $LINENO "configure"
31603 cat confdefs.h >>conftest.$ac_ext
31604 cat >>conftest.$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31607 /* Override any gcc2 internal prototype to avoid an error. */
31611 /* We use char because int might match the return type of a gcc2
31612 builtin and then its argument prototype would still apply. */
31622 rm -f conftest.$ac_objext conftest$ac_exeext
31623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31624 (eval $ac_link) 2>&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); } &&
31628 { ac_try='test -s conftest$ac_exeext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634 ac_cv_lib_shl_load_dld=yes
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.$ac_ext >&5
31639 ac_cv_lib_shl_load_dld=no
31641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31642 LIBS=$ac_check_lib_save_LIBS
31644 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31645 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31646 if test $ac_cv_lib_shl_load_dld = yes; then
31649 DL_LINK=" -ldld$DL_LINK"
31665 if test "$HAVE_DL_FUNCS" = 1; then
31667 for ac_func in dlerror
31669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31670 echo "$as_me:$LINENO: checking for $ac_func" >&5
31671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31672 if eval "test \"\${$as_ac_var+set}\" = set"; then
31673 echo $ECHO_N "(cached) $ECHO_C" >&6
31675 cat >conftest.$ac_ext <<_ACEOF
31676 #line $LINENO "configure"
31679 cat confdefs.h >>conftest.$ac_ext
31680 cat >>conftest.$ac_ext <<_ACEOF
31681 /* end confdefs.h. */
31682 /* System header to define __stub macros and hopefully few prototypes,
31683 which can conflict with char $ac_func (); below.
31684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31685 <limits.h> exists even on freestanding compilers. */
31687 # include <limits.h>
31689 # include <assert.h>
31691 /* Override any gcc2 internal prototype to avoid an error. */
31696 /* We use char because int might match the return type of a gcc2
31697 builtin and then its argument prototype would still apply. */
31699 /* The GNU C library defines this for functions which it implements
31700 to always fail with ENOSYS. Some functions are actually named
31701 something starting with __ and the normal name is an alias. */
31702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31705 char (*f) () = $ac_func;
31714 return f != $ac_func;
31719 rm -f conftest.$ac_objext conftest$ac_exeext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31721 (eval $ac_link) 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); } &&
31725 { ac_try='test -s conftest$ac_exeext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 eval "$as_ac_var=yes"
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31736 eval "$as_ac_var=no"
31738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31742 if test `eval echo '${'$as_ac_var'}'` = yes; then
31743 cat >>confdefs.h <<_ACEOF
31744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31746 cat >>confdefs.h <<\_ACEOF
31747 #define HAVE_DLERROR 1
31751 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31752 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31753 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 ac_check_lib_save_LIBS=$LIBS
31758 cat >conftest.$ac_ext <<_ACEOF
31759 #line $LINENO "configure"
31762 cat confdefs.h >>conftest.$ac_ext
31763 cat >>conftest.$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31766 /* Override any gcc2 internal prototype to avoid an error. */
31770 /* We use char because int might match the return type of a gcc2
31771 builtin and then its argument prototype would still apply. */
31781 rm -f conftest.$ac_objext conftest$ac_exeext
31782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31783 (eval $ac_link) 2>&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } &&
31787 { ac_try='test -s conftest$ac_exeext'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; }; then
31793 ac_cv_lib_dl_dlerror=yes
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31798 ac_cv_lib_dl_dlerror=no
31800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31801 LIBS=$ac_check_lib_save_LIBS
31803 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31804 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31805 if test $ac_cv_lib_dl_dlerror = yes; then
31806 cat >>confdefs.h <<\_ACEOF
31807 #define HAVE_DLERROR 1
31818 if test "$HAVE_DL_FUNCS" = 0; then
31819 if test "$HAVE_SHL_FUNCS" = 0; then
31820 if test "$USE_UNIX" = 1; then
31821 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31822 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31823 wxUSE_DYNAMIC_LOADER=no
31824 wxUSE_DYNLIB_CLASS=no
31826 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31827 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31834 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31835 cat >>confdefs.h <<\_ACEOF
31836 #define wxUSE_DYNAMIC_LOADER 1
31839 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31840 cat >>confdefs.h <<\_ACEOF
31841 #define wxUSE_DYNLIB_CLASS 1
31847 if test "$wxUSE_FONTMAP" = "yes" ; then
31848 cat >>confdefs.h <<\_ACEOF
31849 #define wxUSE_FONTMAP 1
31854 if test "$wxUSE_UNICODE" = "yes" ; then
31855 cat >>confdefs.h <<\_ACEOF
31856 #define wxUSE_UNICODE 1
31860 if test "$wxUSE_MSW" != 1; then
31861 wxUSE_UNICODE_MSLU=no
31864 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31865 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31866 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31867 if test "${ac_cv_lib_unicows_main+set}" = set; then
31868 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 ac_check_lib_save_LIBS=$LIBS
31871 LIBS="-lunicows $LIBS"
31872 cat >conftest.$ac_ext <<_ACEOF
31873 #line $LINENO "configure"
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31889 rm -f conftest.$ac_objext conftest$ac_exeext
31890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31891 (eval $ac_link) 2>&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); } &&
31895 { ac_try='test -s conftest$ac_exeext'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 ac_cv_lib_unicows_main=yes
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.$ac_ext >&5
31906 ac_cv_lib_unicows_main=no
31908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31909 LIBS=$ac_check_lib_save_LIBS
31911 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31912 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31913 if test $ac_cv_lib_unicows_main = yes; then
31915 cat >>confdefs.h <<\_ACEOF
31916 #define wxUSE_UNICODE_MSLU 1
31922 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31923 Applications will only run on Windows NT/2000/XP!" >&5
31924 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31925 Applications will only run on Windows NT/2000/XP!" >&2;}
31926 wxUSE_UNICODE_MSLU=no
31933 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31934 cat >>confdefs.h <<\_ACEOF
31935 #define wxUSE_EXPERIMENTAL_PRINTF 1
31941 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31942 cat >>confdefs.h <<\_ACEOF
31943 #define wxUSE_POSTSCRIPT 1
31948 cat >>confdefs.h <<\_ACEOF
31949 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31953 cat >>confdefs.h <<\_ACEOF
31954 #define wxUSE_NORMALIZED_PS_FONTS 1
31959 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31960 cat >>confdefs.h <<\_ACEOF
31961 #define wxUSE_CONSTRAINTS 1
31964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31967 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31970 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31971 cat >>confdefs.h <<\_ACEOF
31972 #define wxUSE_MDI_ARCHITECTURE 1
31975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31979 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31980 cat >>confdefs.h <<\_ACEOF
31981 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31985 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31990 if test "$wxUSE_HELP" = "yes"; then
31991 cat >>confdefs.h <<\_ACEOF
31992 #define wxUSE_HELP 1
31995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31997 if test "$wxUSE_MSW" = 1; then
31998 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31999 cat >>confdefs.h <<\_ACEOF
32000 #define wxUSE_MS_HTML_HELP 1
32006 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32007 if test "$wxUSE_HTML" = "yes"; then
32008 cat >>confdefs.h <<\_ACEOF
32009 #define wxUSE_WXHTML_HELP 1
32013 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32014 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32015 wxUSE_WXHTML_HELP=no
32020 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32022 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32023 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32025 cat >>confdefs.h <<\_ACEOF
32026 #define wxUSE_PRINTING_ARCHITECTURE 1
32030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32033 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32034 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32035 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32036 { (exit 1); exit 1; }; }
32040 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32041 -o "$wxUSE_CLIPBOARD" = "yes" \
32042 -o "$wxUSE_OLE" = "yes" \
32043 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32045 for ac_header in ole2.h
32047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32049 echo "$as_me:$LINENO: checking for $ac_header" >&5
32050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32052 echo $ECHO_N "(cached) $ECHO_C" >&6
32054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32057 # Is the header compilable?
32058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32060 cat >conftest.$ac_ext <<_ACEOF
32061 #line $LINENO "configure"
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067 $ac_includes_default
32068 #include <$ac_header>
32070 rm -f conftest.$ac_objext
32071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32072 (eval $ac_compile) 2>&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); } &&
32076 { ac_try='test -s conftest.$ac_objext'
32077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078 (eval $ac_try) 2>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; }; then
32082 ac_header_compiler=yes
32084 echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.$ac_ext >&5
32087 ac_header_compiler=no
32089 rm -f conftest.$ac_objext conftest.$ac_ext
32090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32091 echo "${ECHO_T}$ac_header_compiler" >&6
32093 # Is the header present?
32094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32096 cat >conftest.$ac_ext <<_ACEOF
32097 #line $LINENO "configure"
32100 cat confdefs.h >>conftest.$ac_ext
32101 cat >>conftest.$ac_ext <<_ACEOF
32102 /* end confdefs.h. */
32103 #include <$ac_header>
32105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32108 grep -v '^ *+' conftest.er1 >conftest.err
32110 cat conftest.err >&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } >/dev/null; then
32113 if test -s conftest.err; then
32114 ac_cpp_err=$ac_c_preproc_warn_flag
32121 if test -z "$ac_cpp_err"; then
32122 ac_header_preproc=yes
32124 echo "$as_me: failed program was:" >&5
32125 sed 's/^/| /' conftest.$ac_ext >&5
32127 ac_header_preproc=no
32129 rm -f conftest.err conftest.$ac_ext
32130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32131 echo "${ECHO_T}$ac_header_preproc" >&6
32133 # So? What about this header?
32134 case $ac_header_compiler:$ac_header_preproc in
32136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32142 ## ------------------------------------ ##
32143 ## Report this to bug-autoconf@gnu.org. ##
32144 ## ------------------------------------ ##
32147 sed "s/^/$as_me: WARNING: /" >&2
32150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32158 ## ------------------------------------ ##
32159 ## Report this to bug-autoconf@gnu.org. ##
32160 ## ------------------------------------ ##
32163 sed "s/^/$as_me: WARNING: /" >&2
32166 echo "$as_me:$LINENO: checking for $ac_header" >&5
32167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 eval "$as_ac_Header=$ac_header_preproc"
32173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32178 cat >>confdefs.h <<_ACEOF
32179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32187 if test "$ac_cv_header_ole2_h" = "yes" ; then
32188 if test "$GCC" = yes ; then
32192 ac_cpp='$CXXCPP $CPPFLAGS'
32193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32198 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32199 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32200 cat >conftest.$ac_ext <<_ACEOF
32201 #line $LINENO "configure"
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h. */
32207 #include <windows.h>
32217 rm -f conftest.$ac_objext
32218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32219 (eval $ac_compile) 2>&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); } &&
32223 { ac_try='test -s conftest.$ac_objext'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; }; then
32229 echo "$as_me:$LINENO: result: no" >&5
32230 echo "${ECHO_T}no" >&6
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.$ac_ext >&5
32235 echo "$as_me:$LINENO: result: yes" >&5
32236 echo "${ECHO_T}yes" >&6
32237 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32239 rm -f conftest.$ac_objext conftest.$ac_ext
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32246 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32247 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32248 cat >>confdefs.h <<\_ACEOF
32249 #define wxUSE_OLE 1
32255 cat >>confdefs.h <<\_ACEOF
32256 #define wxUSE_DATAOBJ 1
32260 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32261 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32264 wxUSE_DRAG_AND_DROP=no
32269 if test "$wxUSE_METAFILE" = "yes"; then
32270 cat >>confdefs.h <<\_ACEOF
32271 #define wxUSE_METAFILE 1
32275 cat >>confdefs.h <<\_ACEOF
32276 #define wxUSE_ENH_METAFILE 1
32282 if test "$wxUSE_IPC" = "yes"; then
32283 if test "$wxUSE_SOCKETS" != "yes"; then
32284 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32285 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32288 cat >>confdefs.h <<\_ACEOF
32289 #define wxUSE_IPC 1
32294 if test "$wxUSE_CLIPBOARD" = "yes"; then
32295 if test "$wxUSE_MGL" = 1; then
32296 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32297 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32301 if test "$wxUSE_CLIPBOARD" = "yes"; then
32302 cat >>confdefs.h <<\_ACEOF
32303 #define wxUSE_CLIPBOARD 1
32307 cat >>confdefs.h <<\_ACEOF
32308 #define wxUSE_DATAOBJ 1
32314 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32315 if test "$wxUSE_GTK" = 1; then
32316 if test "$WXGTK12" != 1; then
32317 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32318 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32319 wxUSE_DRAG_AND_DROP=no
32323 if test "$wxUSE_MOTIF" = 1; then
32324 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32325 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32326 wxUSE_DRAG_AND_DROP=no
32329 if test "$wxUSE_X11" = 1; then
32330 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32331 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32332 wxUSE_DRAG_AND_DROP=no
32335 if test "$wxUSE_MGL" = 1; then
32336 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32337 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32338 wxUSE_DRAG_AND_DROP=no
32341 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32342 cat >>confdefs.h <<\_ACEOF
32343 #define wxUSE_DRAG_AND_DROP 1
32346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32351 if test "$wxUSE_SPLINES" = "yes" ; then
32352 cat >>confdefs.h <<\_ACEOF
32353 #define wxUSE_SPLINES 1
32360 if test "$wxUSE_CONTROLS" = "yes"; then
32364 if test "$wxUSE_ACCEL" = "yes"; then
32365 cat >>confdefs.h <<\_ACEOF
32366 #define wxUSE_ACCEL 1
32372 if test "$wxUSE_BUTTON" = "yes"; then
32373 cat >>confdefs.h <<\_ACEOF
32374 #define wxUSE_BUTTON 1
32380 if test "$wxUSE_BMPBUTTON" = "yes"; then
32381 cat >>confdefs.h <<\_ACEOF
32382 #define wxUSE_BMPBUTTON 1
32388 if test "$wxUSE_CALCTRL" = "yes"; then
32389 cat >>confdefs.h <<\_ACEOF
32390 #define wxUSE_CALENDARCTRL 1
32394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32397 if test "$wxUSE_CARET" = "yes"; then
32398 cat >>confdefs.h <<\_ACEOF
32399 #define wxUSE_CARET 1
32403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32406 if test "$wxUSE_COMBOBOX" = "yes"; then
32407 cat >>confdefs.h <<\_ACEOF
32408 #define wxUSE_COMBOBOX 1
32414 if test "$wxUSE_CHOICE" = "yes"; then
32415 cat >>confdefs.h <<\_ACEOF
32416 #define wxUSE_CHOICE 1
32422 if test "$wxUSE_CHECKBOX" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define wxUSE_CHECKBOX 1
32430 if test "$wxUSE_CHECKLST" = "yes"; then
32431 cat >>confdefs.h <<\_ACEOF
32432 #define wxUSE_CHECKLISTBOX 1
32436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32439 if test "$wxUSE_DISPLAY" = "yes"; then
32440 cat >>confdefs.h <<\_ACEOF
32441 #define wxUSE_DISPLAY 1
32444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32447 if test "$wxUSE_GAUGE" = "yes"; then
32448 cat >>confdefs.h <<\_ACEOF
32449 #define wxUSE_GAUGE 1
32455 if test "$wxUSE_GRID" = "yes"; then
32456 cat >>confdefs.h <<\_ACEOF
32457 #define wxUSE_GRID 1
32461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32464 if test "$wxUSE_IMAGLIST" = "yes"; then
32465 cat >>confdefs.h <<\_ACEOF
32466 #define wxUSE_IMAGLIST 1
32471 if test "$wxUSE_LISTBOX" = "yes"; then
32472 cat >>confdefs.h <<\_ACEOF
32473 #define wxUSE_LISTBOX 1
32479 if test "$wxUSE_LISTCTRL" = "yes"; then
32480 if test "$wxUSE_IMAGLIST" = "yes"; then
32481 cat >>confdefs.h <<\_ACEOF
32482 #define wxUSE_LISTCTRL 1
32486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32488 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32489 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32493 if test "$wxUSE_NOTEBOOK" = "yes"; then
32494 cat >>confdefs.h <<\_ACEOF
32495 #define wxUSE_NOTEBOOK 1
32499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32503 if test "$wxUSE_RADIOBOX" = "yes"; then
32504 cat >>confdefs.h <<\_ACEOF
32505 #define wxUSE_RADIOBOX 1
32511 if test "$wxUSE_RADIOBTN" = "yes"; then
32512 cat >>confdefs.h <<\_ACEOF
32513 #define wxUSE_RADIOBTN 1
32519 if test "$wxUSE_SASH" = "yes"; then
32520 cat >>confdefs.h <<\_ACEOF
32521 #define wxUSE_SASH 1
32524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32527 if test "$wxUSE_SCROLLBAR" = "yes"; then
32528 cat >>confdefs.h <<\_ACEOF
32529 #define wxUSE_SCROLLBAR 1
32533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32536 if test "$wxUSE_SLIDER" = "yes"; then
32537 cat >>confdefs.h <<\_ACEOF
32538 #define wxUSE_SLIDER 1
32544 if test "$wxUSE_SPINBTN" = "yes"; then
32545 cat >>confdefs.h <<\_ACEOF
32546 #define wxUSE_SPINBTN 1
32552 if test "$wxUSE_SPINCTRL" = "yes"; then
32553 cat >>confdefs.h <<\_ACEOF
32554 #define wxUSE_SPINCTRL 1
32560 if test "$wxUSE_SPLITTER" = "yes"; then
32561 cat >>confdefs.h <<\_ACEOF
32562 #define wxUSE_SPLITTER 1
32565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32568 if test "$wxUSE_STATBMP" = "yes"; then
32569 cat >>confdefs.h <<\_ACEOF
32570 #define wxUSE_STATBMP 1
32576 if test "$wxUSE_STATBOX" = "yes"; then
32577 cat >>confdefs.h <<\_ACEOF
32578 #define wxUSE_STATBOX 1
32584 if test "$wxUSE_STATTEXT" = "yes"; then
32585 cat >>confdefs.h <<\_ACEOF
32586 #define wxUSE_STATTEXT 1
32592 if test "$wxUSE_STATLINE" = "yes"; then
32593 cat >>confdefs.h <<\_ACEOF
32594 #define wxUSE_STATLINE 1
32600 if test "$wxUSE_STATUSBAR" = "yes"; then
32601 cat >>confdefs.h <<\_ACEOF
32602 #define wxUSE_STATUSBAR 1
32607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32610 if test "$wxUSE_TABDIALOG" = "yes"; then
32611 cat >>confdefs.h <<\_ACEOF
32612 #define wxUSE_TAB_DIALOG 1
32615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32618 if test "$wxUSE_TEXTCTRL" = "yes"; then
32619 cat >>confdefs.h <<\_ACEOF
32620 #define wxUSE_TEXTCTRL 1
32624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32627 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32629 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32630 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32633 if test "$wxUSE_UNIVERSAL" = "yes"; then
32634 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32635 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32639 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32640 cat >>confdefs.h <<\_ACEOF
32641 #define wxUSE_TOGGLEBTN 1
32648 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32649 cat >>confdefs.h <<\_ACEOF
32650 #define wxUSE_TOOLBAR_SIMPLE 1
32653 wxUSE_TOOLBAR="yes"
32657 if test "$wxUSE_TOOLBAR" = "yes"; then
32658 cat >>confdefs.h <<\_ACEOF
32659 #define wxUSE_TOOLBAR 1
32664 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32665 wxUSE_TOOLBAR_NATIVE="yes"
32668 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32669 cat >>confdefs.h <<\_ACEOF
32670 #define wxUSE_TOOLBAR_NATIVE 1
32676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32679 if test "$wxUSE_TOOLTIPS" = "yes"; then
32680 if test "$wxUSE_MOTIF" = 1; then
32681 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32682 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32684 if test "$wxUSE_UNIVERSAL" = "yes"; then
32685 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32686 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32688 cat >>confdefs.h <<\_ACEOF
32689 #define wxUSE_TOOLTIPS 1
32696 if test "$wxUSE_TREECTRL" = "yes"; then
32697 if test "$wxUSE_IMAGLIST" = "yes"; then
32698 cat >>confdefs.h <<\_ACEOF
32699 #define wxUSE_TREECTRL 1
32703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32705 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32706 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32710 if test "$wxUSE_POPUPWIN" = "yes"; then
32711 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32712 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32713 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32715 if test "$wxUSE_MOTIF" = 1; then
32716 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32717 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32719 if test "$wxUSE_PM" = 1; then
32720 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32721 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32723 cat >>confdefs.h <<\_ACEOF
32724 #define wxUSE_POPUPWIN 1
32734 if test "$wxUSE_TIPWINDOW" = "yes"; then
32735 if test "$wxUSE_PM" = 1; then
32736 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32737 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32739 cat >>confdefs.h <<\_ACEOF
32740 #define wxUSE_TIPWINDOW 1
32746 if test "$USES_CONTROLS" = 1; then
32747 cat >>confdefs.h <<\_ACEOF
32748 #define wxUSE_CONTROLS 1
32755 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32756 cat >>confdefs.h <<\_ACEOF
32757 #define wxUSE_DRAGIMAGE 1
32760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32763 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32764 cat >>confdefs.h <<\_ACEOF
32765 #define wxUSE_ACCESSIBILITY 1
32768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32771 if test "$wxUSE_MENUS" = "yes"; then
32772 cat >>confdefs.h <<\_ACEOF
32773 #define wxUSE_MENUS 1
32776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32779 if test "$wxUSE_METAFILE" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781 #define wxUSE_METAFILE 1
32786 if test "$wxUSE_MIMETYPE" = "yes"; then
32787 cat >>confdefs.h <<\_ACEOF
32788 #define wxUSE_MIMETYPE 1
32793 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32794 cat >>confdefs.h <<\_ACEOF
32795 #define wxUSE_SYSTEM_OPTIONS 1
32798 if test "$TOOLKIT" = "MSW"; then
32799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32804 if test "$wxUSE_PROTOCOL" = "yes"; then
32805 if test "$wxUSE_SOCKETS" != "yes"; then
32806 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32807 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32811 if test "$wxUSE_PROTOCOL" = "yes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813 #define wxUSE_PROTOCOL 1
32817 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819 #define wxUSE_PROTOCOL_HTTP 1
32823 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32824 cat >>confdefs.h <<\_ACEOF
32825 #define wxUSE_PROTOCOL_FTP 1
32829 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32830 cat >>confdefs.h <<\_ACEOF
32831 #define wxUSE_PROTOCOL_FILE 1
32838 if test "$wxUSE_URL" = "yes"; then
32839 if test "$wxUSE_PROTOCOL" != "yes"; then
32840 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32841 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32844 if test "$wxUSE_URL" = "yes"; then
32845 cat >>confdefs.h <<\_ACEOF
32846 #define wxUSE_URL 1
32852 if test "$wxUSE_MINIFRAME" = "yes"; then
32853 cat >>confdefs.h <<\_ACEOF
32854 #define wxUSE_MINIFRAME 1
32857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32860 if test "$wxUSE_HTML" = "yes"; then
32861 cat >>confdefs.h <<\_ACEOF
32862 #define wxUSE_HTML 1
32865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html htlbox"
32868 if test "$wxUSE_VALIDATORS" = "yes"; then
32869 cat >>confdefs.h <<\_ACEOF
32870 #define wxUSE_VALIDATORS 1
32873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32876 if test "$wxUSE_PALETTE" = "yes" ; then
32877 cat >>confdefs.h <<\_ACEOF
32878 #define wxUSE_PALETTE 1
32883 if test "$wxUSE_IMAGE" = "yes" ; then
32884 cat >>confdefs.h <<\_ACEOF
32885 #define wxUSE_IMAGE 1
32890 if test "$wxUSE_GIF" = "yes" ; then
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_GIF 1
32897 if test "$wxUSE_PCX" = "yes" ; then
32898 cat >>confdefs.h <<\_ACEOF
32899 #define wxUSE_PCX 1
32904 if test "$wxUSE_IFF" = "yes" ; then
32905 cat >>confdefs.h <<\_ACEOF
32906 #define wxUSE_IFF 1
32911 if test "$wxUSE_PNM" = "yes" ; then
32912 cat >>confdefs.h <<\_ACEOF
32913 #define wxUSE_PNM 1
32918 if test "$wxUSE_XPM" = "yes" ; then
32919 cat >>confdefs.h <<\_ACEOF
32920 #define wxUSE_XPM 1
32925 if test "$wxUSE_ICO_CUR" = "yes" ; then
32926 cat >>confdefs.h <<\_ACEOF
32927 #define wxUSE_ICO_CUR 1
32932 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32933 LIBS=" -lunicows $LIBS"
32937 if test "$wxUSE_CHOICEDLG" = "yes"; then
32938 cat >>confdefs.h <<\_ACEOF
32939 #define wxUSE_CHOICEDLG 1
32944 if test "$wxUSE_COLOURDLG" = "yes"; then
32945 cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_COLOURDLG 1
32951 if test "$wxUSE_FILEDLG" = "yes"; then
32952 cat >>confdefs.h <<\_ACEOF
32953 #define wxUSE_FILEDLG 1
32958 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960 #define wxUSE_FINDREPLDLG 1
32965 if test "$wxUSE_FONTDLG" = "yes"; then
32966 cat >>confdefs.h <<\_ACEOF
32967 #define wxUSE_FONTDLG 1
32972 if test "$wxUSE_DIRDLG" = "yes"; then
32973 if test "$wxUSE_TREECTRL" != "yes"; then
32974 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32975 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32977 cat >>confdefs.h <<\_ACEOF
32978 #define wxUSE_DIRDLG 1
32984 if test "$wxUSE_MSGDLG" = "yes"; then
32985 cat >>confdefs.h <<\_ACEOF
32986 #define wxUSE_MSGDLG 1
32991 if test "$wxUSE_NUMBERDLG" = "yes"; then
32992 cat >>confdefs.h <<\_ACEOF
32993 #define wxUSE_NUMBERDLG 1
32998 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32999 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33000 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33001 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33003 cat >>confdefs.h <<\_ACEOF
33004 #define wxUSE_PROGRESSDLG 1
33010 if test "$wxUSE_SPLASH" = "yes"; then
33011 cat >>confdefs.h <<\_ACEOF
33012 #define wxUSE_SPLASH 1
33017 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33018 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33019 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33020 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33022 cat >>confdefs.h <<\_ACEOF
33023 #define wxUSE_STARTUP_TIPS 1
33029 if test "$wxUSE_TEXTDLG" = "yes"; then
33030 cat >>confdefs.h <<\_ACEOF
33031 #define wxUSE_TEXTDLG 1
33036 if test "$wxUSE_WIZARDDLG" = "yes"; then
33037 cat >>confdefs.h <<\_ACEOF
33038 #define wxUSE_WIZARDDLG 1
33041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33045 if test "$cross_compiling" = "yes"; then
33048 OSINFO=`uname -s -r -m`
33049 OSINFO="\"$OSINFO\""
33052 cat >>confdefs.h <<_ACEOF
33053 #define WXWIN_OS_DESCRIPTION $OSINFO
33058 if test "x$prefix" != "xNONE"; then
33061 wxPREFIX=$ac_default_prefix
33064 cat >>confdefs.h <<_ACEOF
33065 #define wxINSTALL_PREFIX "$wxPREFIX"
33069 top_builddir_wxconfig=`pwd`
33074 if test "$wxUSE_MAC" = 1 ; then
33075 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33077 if test "$wxUSE_COCOA" = 1 ; then
33078 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33082 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33090 echo "$as_me:$LINENO: checking for $ac_func" >&5
33091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33092 if eval "test \"\${$as_ac_var+set}\" = set"; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 cat >conftest.$ac_ext <<_ACEOF
33096 #line $LINENO "configure"
33099 cat confdefs.h >>conftest.$ac_ext
33100 cat >>conftest.$ac_ext <<_ACEOF
33101 /* end confdefs.h. */
33102 /* System header to define __stub macros and hopefully few prototypes,
33103 which can conflict with char $ac_func (); below.
33104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33105 <limits.h> exists even on freestanding compilers. */
33107 # include <limits.h>
33109 # include <assert.h>
33111 /* Override any gcc2 internal prototype to avoid an error. */
33116 /* We use char because int might match the return type of a gcc2
33117 builtin and then its argument prototype would still apply. */
33119 /* The GNU C library defines this for functions which it implements
33120 to always fail with ENOSYS. Some functions are actually named
33121 something starting with __ and the normal name is an alias. */
33122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33125 char (*f) () = $ac_func;
33134 return f != $ac_func;
33139 rm -f conftest.$ac_objext conftest$ac_exeext
33140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33141 (eval $ac_link) 2>&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } &&
33145 { ac_try='test -s conftest$ac_exeext'
33146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33147 (eval $ac_try) 2>&5
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); }; }; then
33151 eval "$as_ac_var=yes"
33153 echo "$as_me: failed program was:" >&5
33154 sed 's/^/| /' conftest.$ac_ext >&5
33156 eval "$as_ac_var=no"
33158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33162 if test `eval echo '${'$as_ac_var'}'` = yes; then
33163 cat >>confdefs.h <<_ACEOF
33164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33171 for ac_func in floor
33173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33174 echo "$as_me:$LINENO: checking for $ac_func" >&5
33175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33176 if eval "test \"\${$as_ac_var+set}\" = set"; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.$ac_ext <<_ACEOF
33180 #line $LINENO "configure"
33183 cat confdefs.h >>conftest.$ac_ext
33184 cat >>conftest.$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33186 /* System header to define __stub macros and hopefully few prototypes,
33187 which can conflict with char $ac_func (); below.
33188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33189 <limits.h> exists even on freestanding compilers. */
33191 # include <limits.h>
33193 # include <assert.h>
33195 /* Override any gcc2 internal prototype to avoid an error. */
33200 /* We use char because int might match the return type of a gcc2
33201 builtin and then its argument prototype would still apply. */
33203 /* The GNU C library defines this for functions which it implements
33204 to always fail with ENOSYS. Some functions are actually named
33205 something starting with __ and the normal name is an alias. */
33206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33209 char (*f) () = $ac_func;
33218 return f != $ac_func;
33223 rm -f conftest.$ac_objext conftest$ac_exeext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33225 (eval $ac_link) 2>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try='test -s conftest$ac_exeext'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; }; then
33235 eval "$as_ac_var=yes"
33237 echo "$as_me: failed program was:" >&5
33238 sed 's/^/| /' conftest.$ac_ext >&5
33240 eval "$as_ac_var=no"
33242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33246 if test `eval echo '${'$as_ac_var'}'` = yes; then
33247 cat >>confdefs.h <<_ACEOF
33248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33254 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33255 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33256 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33257 echo "$as_me:$LINENO: result: yes" >&5
33258 echo "${ECHO_T}yes" >&6
33260 echo "$as_me:$LINENO: result: no" >&5
33261 echo "${ECHO_T}no" >&6
33263 # use different functions to avoid configure caching
33269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33270 echo "$as_me:$LINENO: checking for $ac_func" >&5
33271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33272 if eval "test \"\${$as_ac_var+set}\" = set"; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33275 cat >conftest.$ac_ext <<_ACEOF
33276 #line $LINENO "configure"
33279 cat confdefs.h >>conftest.$ac_ext
33280 cat >>conftest.$ac_ext <<_ACEOF
33281 /* end confdefs.h. */
33282 /* System header to define __stub macros and hopefully few prototypes,
33283 which can conflict with char $ac_func (); below.
33284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33285 <limits.h> exists even on freestanding compilers. */
33287 # include <limits.h>
33289 # include <assert.h>
33291 /* Override any gcc2 internal prototype to avoid an error. */
33296 /* We use char because int might match the return type of a gcc2
33297 builtin and then its argument prototype would still apply. */
33299 /* The GNU C library defines this for functions which it implements
33300 to always fail with ENOSYS. Some functions are actually named
33301 something starting with __ and the normal name is an alias. */
33302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33305 char (*f) () = $ac_func;
33314 return f != $ac_func;
33319 rm -f conftest.$ac_objext conftest$ac_exeext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33321 (eval $ac_link) 2>&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); } &&
33325 { ac_try='test -s conftest$ac_exeext'
33326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33327 (eval $ac_try) 2>&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); }; }; then
33331 eval "$as_ac_var=yes"
33333 echo "$as_me: failed program was:" >&5
33334 sed 's/^/| /' conftest.$ac_ext >&5
33336 eval "$as_ac_var=no"
33338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33342 if test `eval echo '${'$as_ac_var'}'` = yes; then
33343 cat >>confdefs.h <<_ACEOF
33344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33351 for ac_func in ceil
33353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33354 echo "$as_me:$LINENO: checking for $ac_func" >&5
33355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33356 if eval "test \"\${$as_ac_var+set}\" = set"; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33359 cat >conftest.$ac_ext <<_ACEOF
33360 #line $LINENO "configure"
33363 cat confdefs.h >>conftest.$ac_ext
33364 cat >>conftest.$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33366 /* System header to define __stub macros and hopefully few prototypes,
33367 which can conflict with char $ac_func (); below.
33368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33369 <limits.h> exists even on freestanding compilers. */
33371 # include <limits.h>
33373 # include <assert.h>
33375 /* Override any gcc2 internal prototype to avoid an error. */
33380 /* We use char because int might match the return type of a gcc2
33381 builtin and then its argument prototype would still apply. */
33383 /* The GNU C library defines this for functions which it implements
33384 to always fail with ENOSYS. Some functions are actually named
33385 something starting with __ and the normal name is an alias. */
33386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33389 char (*f) () = $ac_func;
33398 return f != $ac_func;
33403 rm -f conftest.$ac_objext conftest$ac_exeext
33404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33405 (eval $ac_link) 2>&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } &&
33409 { ac_try='test -s conftest$ac_exeext'
33410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33411 (eval $ac_try) 2>&5
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); }; }; then
33415 eval "$as_ac_var=yes"
33417 echo "$as_me: failed program was:" >&5
33418 sed 's/^/| /' conftest.$ac_ext >&5
33420 eval "$as_ac_var=no"
33422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426 if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33434 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33435 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33436 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33437 echo "$as_me:$LINENO: result: yes" >&5
33438 echo "${ECHO_T}yes" >&6
33440 echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6
33442 # not sure we should warn the user, crash, etc.
33446 if test "$wxUSE_GUI" = "yes"; then
33448 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33452 drawing dynamic erase event exec font image \
33453 minimal propsize rotate shaped widgets"
33455 SAMPLES_SUBDIRS="console"
33459 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33460 -I\${top_srcdir}/include \
33461 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33464 if test "$wxUSE_GTK" = 1; then
33467 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33470 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33483 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33485 if test $wxUSE_MONOLITHIC = "yes" ; then
33497 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33503 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33505 if test -n "$ac_tool_prefix"; then
33506 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33507 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33508 echo "$as_me:$LINENO: checking for $ac_word" >&5
33509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33510 if test "${ac_cv_prog_RANLIB+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 if test -n "$RANLIB"; then
33514 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33517 for as_dir in $PATH
33520 test -z "$as_dir" && as_dir=.
33521 for ac_exec_ext in '' $ac_executable_extensions; do
33522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33523 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33532 RANLIB=$ac_cv_prog_RANLIB
33533 if test -n "$RANLIB"; then
33534 echo "$as_me:$LINENO: result: $RANLIB" >&5
33535 echo "${ECHO_T}$RANLIB" >&6
33537 echo "$as_me:$LINENO: result: no" >&5
33538 echo "${ECHO_T}no" >&6
33542 if test -z "$ac_cv_prog_RANLIB"; then
33543 ac_ct_RANLIB=$RANLIB
33544 # Extract the first word of "ranlib", so it can be a program name with args.
33545 set dummy ranlib; ac_word=$2
33546 echo "$as_me:$LINENO: checking for $ac_word" >&5
33547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33548 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33549 echo $ECHO_N "(cached) $ECHO_C" >&6
33551 if test -n "$ac_ct_RANLIB"; then
33552 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33555 for as_dir in $PATH
33558 test -z "$as_dir" && as_dir=.
33559 for ac_exec_ext in '' $ac_executable_extensions; do
33560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33561 ac_cv_prog_ac_ct_RANLIB="ranlib"
33562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33568 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33571 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33572 if test -n "$ac_ct_RANLIB"; then
33573 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33574 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33576 echo "$as_me:$LINENO: result: no" >&5
33577 echo "${ECHO_T}no" >&6
33580 RANLIB=$ac_ct_RANLIB
33582 RANLIB="$ac_cv_prog_RANLIB"
33585 # Find a good install program. We prefer a C program (faster),
33586 # so one script is as good as another. But avoid the broken or
33587 # incompatible versions:
33588 # SysV /etc/install, /usr/sbin/install
33589 # SunOS /usr/etc/install
33590 # IRIX /sbin/install
33592 # AmigaOS /C/install, which installs bootblocks on floppy discs
33593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33596 # ./install, which can be erroneously created by make from ./install.sh.
33597 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33598 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33599 if test -z "$INSTALL"; then
33600 if test "${ac_cv_path_install+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33604 for as_dir in $PATH
33607 test -z "$as_dir" && as_dir=.
33608 # Account for people who put trailing slashes in PATH elements.
33610 ./ | .// | /cC/* | \
33611 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33614 # OSF1 and SCO ODT 3.0 have their own names for install.
33615 # Don't use installbsd from OSF since it installs stuff as root
33617 for ac_prog in ginstall scoinst install; do
33618 for ac_exec_ext in '' $ac_executable_extensions; do
33619 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33620 if test $ac_prog = install &&
33621 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33622 # AIX install. It has an incompatible calling convention.
33624 elif test $ac_prog = install &&
33625 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33626 # program-specific install script used by HP pwplus--don't use.
33629 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33641 if test "${ac_cv_path_install+set}" = set; then
33642 INSTALL=$ac_cv_path_install
33644 # As a last resort, use the slow shell script. We don't cache a
33645 # path for INSTALL within a source directory, because that will
33646 # break other packages using the cache if that directory is
33647 # removed, or if the path is relative.
33648 INSTALL=$ac_install_sh
33651 echo "$as_me:$LINENO: result: $INSTALL" >&5
33652 echo "${ECHO_T}$INSTALL" >&6
33654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33655 # It thinks the first close brace ends the variable substitution.
33656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33660 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33662 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33663 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33665 if test "$LN_S" = "ln -s"; then
33666 echo "$as_me:$LINENO: result: yes" >&5
33667 echo "${ECHO_T}yes" >&6
33669 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33670 echo "${ECHO_T}no, using $LN_S" >&6
33674 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33675 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33676 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33677 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33680 cat >conftest.make <<\_ACEOF
33682 @echo 'ac_maketemp="$(MAKE)"'
33684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33685 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33686 if test -n "$ac_maketemp"; then
33687 eval ac_cv_prog_make_${ac_make}_set=yes
33689 eval ac_cv_prog_make_${ac_make}_set=no
33691 rm -f conftest.make
33693 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33694 echo "$as_me:$LINENO: result: yes" >&5
33695 echo "${ECHO_T}yes" >&6
33698 echo "$as_me:$LINENO: result: no" >&5
33699 echo "${ECHO_T}no" >&6
33700 SET_MAKE="MAKE=${MAKE-make}"
33705 if test "$build" != "$host" ; then
33707 STRIP=$host_alias-strip
33709 # Extract the first word of "ar", so it can be a program name with args.
33710 set dummy ar; ac_word=$2
33711 echo "$as_me:$LINENO: checking for $ac_word" >&5
33712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33713 if test "${ac_cv_prog_AR+set}" = set; then
33714 echo $ECHO_N "(cached) $ECHO_C" >&6
33716 if test -n "$AR"; then
33717 ac_cv_prog_AR="$AR" # Let the user override the test.
33719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33720 for as_dir in $PATH
33723 test -z "$as_dir" && as_dir=.
33724 for ac_exec_ext in '' $ac_executable_extensions; do
33725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33733 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33737 if test -n "$AR"; then
33738 echo "$as_me:$LINENO: result: $AR" >&5
33739 echo "${ECHO_T}$AR" >&6
33741 echo "$as_me:$LINENO: result: no" >&5
33742 echo "${ECHO_T}no" >&6
33745 # Extract the first word of "strip", so it can be a program name with args.
33746 set dummy strip; ac_word=$2
33747 echo "$as_me:$LINENO: checking for $ac_word" >&5
33748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33749 if test "${ac_cv_prog_STRIP+set}" = set; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33752 if test -n "$STRIP"; then
33753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33756 for as_dir in $PATH
33759 test -z "$as_dir" && as_dir=.
33760 for ac_exec_ext in '' $ac_executable_extensions; do
33761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33762 ac_cv_prog_STRIP="strip"
33763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33769 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33772 STRIP=$ac_cv_prog_STRIP
33773 if test -n "$STRIP"; then
33774 echo "$as_me:$LINENO: result: $STRIP" >&5
33775 echo "${ECHO_T}$STRIP" >&6
33777 echo "$as_me:$LINENO: result: no" >&5
33778 echo "${ECHO_T}no" >&6
33785 INSTALL_DIR="mkdir"
33787 *) INSTALL_DIR="$INSTALL -d"
33794 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33795 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33796 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33800 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33801 egrep -s GNU > /dev/null); then
33802 bakefile_cv_prog_makeisgnu="yes"
33804 bakefile_cv_prog_makeisgnu="no"
33808 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33809 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33811 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33826 *-*-cygwin* | *-*-mingw32* )
33829 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33832 powerpc-*-darwin* )
33859 *-*-cygwin* | *-*-mingw32* )
33864 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33868 powerpc-*-darwin* )
33878 SHARED_LD_CC="\$(CC) -shared -o"
33879 SHARED_LD_CXX="\$(CXX) -shared -o"
33881 if test "x$GCC" = "xyes"; then
33887 if test "x$GCC" = "xyes"; then
33888 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33889 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33891 LDFLAGS="$LDFLAGS -L/usr/lib"
33893 SHARED_LD_CC="${CC} -b -o"
33894 SHARED_LD_CXX="${CXX} -b -o"
33900 if test "x$GCC" != "xyes"; then
33901 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33902 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33903 if test "${bakefile_cv_prog_icc+set}" = set; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33907 cat >conftest.$ac_ext <<_ACEOF
33908 #line $LINENO "configure"
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33919 #ifndef __INTEL_COMPILER
33927 rm -f conftest.$ac_objext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33929 (eval $ac_compile) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); } &&
33933 { ac_try='test -s conftest.$ac_objext'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; }; then
33939 bakefile_cv_prog_icc=yes
33941 echo "$as_me: failed program was:" >&5
33942 sed 's/^/| /' conftest.$ac_ext >&5
33944 bakefile_cv_prog_icc=no
33947 rm -f conftest.$ac_objext conftest.$ac_ext
33950 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33951 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33952 if test "$bakefile_cv_prog_icc" = "yes"; then
33959 if test "x$GCC" != xyes ; then
33960 SHARED_LD_CC="${CC} -G -o"
33961 SHARED_LD_CXX="${CXX} -G -o"
33967 CFLAGS="$CFLAGS -fno-common"
33968 CXXFLAGS="$CXXFLAGS -fno-common"
33971 cat <<EOF >shared-ld-sh
33973 #-----------------------------------------------------------------------------
33974 #-- Name: distrib/mac/shared-ld-sh
33975 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33976 #-- Author: Gilles Depeyrot
33977 #-- Copyright: (c) 2002 Gilles Depeyrot
33978 #-- Licence: any use permitted
33979 #-----------------------------------------------------------------------------
33985 while test \${#} -gt 0; do
33992 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33993 # collect these options and values
33994 args="\${args} \${1} \${2}"
33998 -l*|-L*|-flat_namespace)
33999 # collect these options
34000 args="\${args} \${1}"
34004 # skip these options
34008 echo "shared-ld: unhandled option '\${1}'"
34013 # collect object files
34014 objects="\${objects} \${1}"
34018 echo "shared-ld: unhandled argument '\${1}'"
34027 # Link one module containing all the others
34029 if test \${verbose} = 1; then
34030 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34032 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34034 if test \${status} != 0; then
34039 # Link the shared library from the single module created
34041 if test \${verbose} = 1; then
34042 echo "cc -dynamiclib master.\$\$.o \${args}"
34044 c++ -dynamiclib master.\$\$.o \${args}
34046 if test \${status} != 0; then
34051 # Remove intermediate module
34053 rm -f master.\$\$.o
34057 chmod +x shared-ld-sh
34059 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34060 SHARED_LD_CXX="$SHARED_LD_CC"
34061 PIC_FLAG="-dynamic -fPIC"
34065 if test "x$GCC" != "xyes"; then
34066 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34067 set dummy makeC++SharedLib; ac_word=$2
34068 echo "$as_me:$LINENO: checking for $ac_word" >&5
34069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34070 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34073 if test -n "$AIX_CXX_LD"; then
34074 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34077 for as_dir in $PATH
34080 test -z "$as_dir" && as_dir=.
34081 for ac_exec_ext in '' $ac_executable_extensions; do
34082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34083 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34090 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34093 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34094 if test -n "$AIX_CXX_LD"; then
34095 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34096 echo "${ECHO_T}$AIX_CXX_LD" >&6
34098 echo "$as_me:$LINENO: result: no" >&5
34099 echo "${ECHO_T}no" >&6
34102 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34103 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34108 SHARED_LD_CC="${LD} -shared -o"
34109 SHARED_LD_CXX="${LD} -shared -o"
34113 if test "x$GCC" != "xyes"; then
34118 *-*-cygwin* | *-*-mingw32* )
34122 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34130 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34131 echo "$as_me: error: unknown system type $host." >&2;}
34132 { (exit 1); exit 1; }; }
34149 SONAME_FLAG="-Wl,-soname,"
34177 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34178 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34181 if test "x$GCC" = "xyes"; then
34184 echo "$as_me:$LINENO: result: gcc" >&5
34185 echo "${ECHO_T}gcc" >&6
34187 echo "$as_me:$LINENO: result: none" >&5
34188 echo "${ECHO_T}none" >&6
34191 if test $DEPS_TRACKING = 1 ; then
34195 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34196 # It is used to track C/C++ files dependencies in portable way.
34198 # Permission is given to use this file in any way.
34205 if test \$DEPSMODE = gcc ; then
34208 if test \${status} != 0 ; then
34211 # move created file to the location we want it in:
34212 while test \${#} -gt 0; do
34226 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34227 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34228 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34246 *-*-cygwin* | *-*-mingw32* )
34247 if test "$build" != "$host" ; then
34248 RESCOMP=$host_alias-windres
34250 # Extract the first word of "windres", so it can be a program name with args.
34251 set dummy windres; ac_word=$2
34252 echo "$as_me:$LINENO: checking for $ac_word" >&5
34253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34254 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 if test -n "$RESCOMP"; then
34258 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34261 for as_dir in $PATH
34264 test -z "$as_dir" && as_dir=.
34265 for ac_exec_ext in '' $ac_executable_extensions; do
34266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34267 ac_cv_prog_RESCOMP="windres"
34268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34274 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34277 RESCOMP=$ac_cv_prog_RESCOMP
34278 if test -n "$RESCOMP"; then
34279 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34280 echo "${ECHO_T}$RESCOMP" >&6
34282 echo "$as_me:$LINENO: result: no" >&5
34283 echo "${ECHO_T}no" >&6
34290 # Extract the first word of "Rez", so it can be a program name with args.
34291 set dummy Rez; ac_word=$2
34292 echo "$as_me:$LINENO: checking for $ac_word" >&5
34293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34294 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 if test -n "$RESCOMP"; then
34298 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34301 for as_dir in $PATH
34304 test -z "$as_dir" && as_dir=.
34305 for ac_exec_ext in '' $ac_executable_extensions; do
34306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34307 ac_cv_prog_RESCOMP="Rez"
34308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34314 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34317 RESCOMP=$ac_cv_prog_RESCOMP
34318 if test -n "$RESCOMP"; then
34319 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34320 echo "${ECHO_T}$RESCOMP" >&6
34322 echo "$as_me:$LINENO: result: no" >&5
34323 echo "${ECHO_T}no" >&6
34326 # Extract the first word of "SetFile", so it can be a program name with args.
34327 set dummy SetFile; ac_word=$2
34328 echo "$as_me:$LINENO: checking for $ac_word" >&5
34329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34330 if test "${ac_cv_prog_SETFILE+set}" = set; then
34331 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 if test -n "$SETFILE"; then
34334 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34337 for as_dir in $PATH
34340 test -z "$as_dir" && as_dir=.
34341 for ac_exec_ext in '' $ac_executable_extensions; do
34342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34343 ac_cv_prog_SETFILE="SetFile"
34344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34350 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34353 SETFILE=$ac_cv_prog_SETFILE
34354 if test -n "$SETFILE"; then
34355 echo "$as_me:$LINENO: result: $SETFILE" >&5
34356 echo "${ECHO_T}$SETFILE" >&6
34358 echo "$as_me:$LINENO: result: no" >&5
34359 echo "${ECHO_T}no" >&6
34371 COND_SHARED_1_MONOLITHIC_0="#"
34372 if test "x$SHARED" = "x1" -a \
34373 "x$MONOLITHIC" = "x0" ; then
34374 COND_SHARED_1_MONOLITHIC_0=
34377 COND_WXUSE_LIBPNG_BUILTIN="#"
34378 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34379 COND_WXUSE_LIBPNG_BUILTIN=
34382 COND_WXUSE_ZLIB_BUILTIN="#"
34383 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34384 COND_WXUSE_ZLIB_BUILTIN=
34387 COND_USE_SOSYMLINKS_1="#"
34388 if test "x$USE_SOSYMLINKS" = "x1" ; then
34389 COND_USE_SOSYMLINKS_1=
34393 if test "x$USE_GUI" = "x1" ; then
34397 COND_WXUSE_ODBC_BUILTIN="#"
34398 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34399 COND_WXUSE_ODBC_BUILTIN=
34402 COND_TOOLKIT_X11="#"
34403 if test "x$TOOLKIT" = "xX11" ; then
34407 COND_TOOLKIT_MGL="#"
34408 if test "x$TOOLKIT" = "xMGL" ; then
34412 COND_TOOLKIT_GTK="#"
34413 if test "x$TOOLKIT" = "xGTK" ; then
34417 COND_TOOLKIT_MSW="#"
34418 if test "x$TOOLKIT" = "xMSW" ; then
34422 COND_TOOLKIT_MAC="#"
34423 if test "x$TOOLKIT" = "xMAC" ; then
34427 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0="#"
34428 if test "x$USE_SOVERSION" = "x1" -a \
34429 "x$PLATFORM_MACOSX" = "x0" ; then
34430 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0=
34433 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1="#"
34434 if test "x$USE_SOVERSION" = "x1" -a \
34435 "x$PLATFORM_MACOSX" = "x1" ; then
34436 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1=
34439 COND_PLATFORM_WIN32_1="#"
34440 if test "x$PLATFORM_WIN32" = "x1" ; then
34441 COND_PLATFORM_WIN32_1=
34444 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0="#"
34445 if test "x$SHARED" = "x0" -a \
34446 "x$USE_GUI" = "x1" -a \
34447 "x$MONOLITHIC" = "x0" ; then
34448 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0=
34451 COND_PLATFORM_UNIX_1="#"
34452 if test "x$PLATFORM_UNIX" = "x1" ; then
34453 COND_PLATFORM_UNIX_1=
34456 COND_PLATFORM_MACOSX_1="#"
34457 if test "x$PLATFORM_MACOSX" = "x1" ; then
34458 COND_PLATFORM_MACOSX_1=
34461 COND_WXUSE_LIBTIFF_BUILTIN="#"
34462 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34463 COND_WXUSE_LIBTIFF_BUILTIN=
34466 COND_SHARED_1_USE_GUI_1_MONOLITHIC_0="#"
34467 if test "x$SHARED" = "x1" -a \
34468 "x$USE_GUI" = "x1" -a \
34469 "x$MONOLITHIC" = "x0" ; then
34470 COND_SHARED_1_USE_GUI_1_MONOLITHIC_0=
34473 COND_MONOLITHIC_0="#"
34474 if test "x$MONOLITHIC" = "x0" ; then
34478 COND_WXUSE_REGEX_BUILTIN="#"
34479 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34480 COND_WXUSE_REGEX_BUILTIN=
34483 COND_TOOLKIT_MOTIF="#"
34484 if test "x$TOOLKIT" = "xMOTIF" ; then
34485 COND_TOOLKIT_MOTIF=
34488 COND_TOOLKIT_COCOA="#"
34489 if test "x$TOOLKIT" = "xCOCOA" ; then
34490 COND_TOOLKIT_COCOA=
34493 COND_TOOLKIT_OS2="#"
34494 if test "x$TOOLKIT" = "xOS2" ; then
34499 if test "x$WXUNIV" = "x1" ; then
34503 COND_WXUSE_LIBJPEG_BUILTIN="#"
34504 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34505 COND_WXUSE_LIBJPEG_BUILTIN=
34509 if test "x$USE_GUI" = "x0" ; then
34513 COND_SHARED_1_MONOLITHIC_1="#"
34514 if test "x$SHARED" = "x1" -a \
34515 "x$MONOLITHIC" = "x1" ; then
34516 COND_SHARED_1_MONOLITHIC_1=
34519 COND_SHARED_0_MONOLITHIC_1="#"
34520 if test "x$SHARED" = "x0" -a \
34521 "x$MONOLITHIC" = "x1" ; then
34522 COND_SHARED_0_MONOLITHIC_1=
34525 COND_USE_SOVERLINUX_1="#"
34526 if test "x$USE_SOVERLINUX" = "x1" ; then
34527 COND_USE_SOVERLINUX_1=
34530 COND_USE_SOVERSOLARIS_1="#"
34531 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34532 COND_USE_SOVERSOLARIS_1=
34535 COND_USE_GUI_1_WXUNIV_0="#"
34536 if test "x$USE_GUI" = "x1" -a \
34537 "x$WXUNIV" = "x0" ; then
34538 COND_USE_GUI_1_WXUNIV_0=
34541 COND_USE_GUI_1_WXUNIV_1="#"
34542 if test "x$USE_GUI" = "x1" -a \
34543 "x$WXUNIV" = "x1" ; then
34544 COND_USE_GUI_1_WXUNIV_1=
34548 if test "x$UNICODE" = "x1" ; then
34552 COND_PLATFORM_WIN32_0="#"
34553 if test "x$PLATFORM_WIN32" = "x0" ; then
34554 COND_PLATFORM_WIN32_0=
34557 COND_MONOLITHIC_1="#"
34558 if test "x$MONOLITHIC" = "x1" ; then
34562 COND_SHARED_0_MONOLITHIC_0="#"
34563 if test "x$SHARED" = "x0" -a \
34564 "x$MONOLITHIC" = "x0" ; then
34565 COND_SHARED_0_MONOLITHIC_0=
34568 COND_BUILD_DEBUG="#"
34569 if test "x$BUILD" = "xdebug" ; then
34573 COND_DEPS_TYPE_GCC="#"
34574 if test "x$DEPS_TYPE" = "xgcc" ; then
34575 COND_DEPS_TYPE_GCC=
34578 COND_PLATFORM_MAC_1="#"
34579 if test "x$PLATFORM_MAC" = "x1" ; then
34580 COND_PLATFORM_MAC_1=
34584 if test "x$SHARED" = "x1" ; then
34589 if test "x$SHARED" = "x0" ; then
34593 COND_DEPS_TRACKING_1="#"
34594 if test "x$DEPS_TRACKING" = "x1" ; then
34595 COND_DEPS_TRACKING_1=
34598 COND_DEPS_TRACKING_0="#"
34599 if test "x$DEPS_TRACKING" = "x0" ; then
34600 COND_DEPS_TRACKING_0=
34606 if test "$GXX" = yes ; then
34607 CXXWARNINGS="-Wall"
34610 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34612 CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34613 CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34614 CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34615 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34617 LDFLAGS="$LDFLAGS $PROFILE"
34619 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34723 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34724 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34725 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34726 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 cat >conftest.make <<\_ACEOF
34731 @echo 'ac_maketemp="$(MAKE)"'
34733 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34734 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34735 if test -n "$ac_maketemp"; then
34736 eval ac_cv_prog_make_${ac_make}_set=yes
34738 eval ac_cv_prog_make_${ac_make}_set=no
34740 rm -f conftest.make
34742 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34743 echo "$as_me:$LINENO: result: yes" >&5
34744 echo "${ECHO_T}yes" >&6
34747 echo "$as_me:$LINENO: result: no" >&5
34748 echo "${ECHO_T}no" >&6
34749 SET_MAKE="MAKE=${MAKE-make}"
34753 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34754 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34757 ac_config_headers="$ac_config_headers setup.h"
34760 ac_config_files="$ac_config_files wx-config version-script Makefile"
34763 ac_config_commands="$ac_config_commands default"
34767 for subdir in samples demos utils contrib ; do
34768 if test -d ${srcdir}/${subdir} ; then
34769 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34770 for mkin in $makefiles ; do
34771 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34772 ac_config_files="$ac_config_files $mk"
34779 cat >confcache <<\_ACEOF
34780 # This file is a shell script that caches the results of configure
34781 # tests run on this system so they can be shared between configure
34782 # scripts and configure runs, see configure's option --config-cache.
34783 # It is not useful on other systems. If it contains results you don't
34784 # want to keep, you may remove or edit it.
34786 # config.status only pays attention to the cache file if you give it
34787 # the --recheck option to rerun configure.
34789 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34790 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34791 # following values.
34795 # The following way of writing the cache mishandles newlines in values,
34796 # but we know of no workaround that is simple, portable, and efficient.
34797 # So, don't put newlines in cache variables' values.
34798 # Ultrix sh set writes to stderr and can't be redirected directly,
34799 # and sets the high bit in the cache file unless we assign to the vars.
34802 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34804 # `set' does not quote correctly, so add quotes (double-quote
34805 # substitution turns \\\\ into \\, and sed turns \\ into \).
34808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34811 # `set' quotes correctly as required by POSIX, so do not add quotes.
34813 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34822 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34824 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34825 if test -w $cache_file; then
34826 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34827 cat confcache >$cache_file
34829 echo "not updating unwritable cache $cache_file"
34834 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34835 # Let make expand exec_prefix.
34836 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34838 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34839 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34840 # trailing colons and then remove the whole line if VPATH becomes empty
34841 # (actually we leave an empty line to preserve line numbers).
34842 if test "x$srcdir" = x.; then
34843 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34844 s/:*\$(srcdir):*/:/;
34845 s/:*\${srcdir}:*/:/;
34847 s/^\([^=]*=[ ]*\):*/\1/;
34853 DEFS=-DHAVE_CONFIG_H
34857 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34858 # 1. Remove the extension, and $U if already installed.
34859 ac_i=`echo "$ac_i" |
34860 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34862 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34863 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34865 LIBOBJS=$ac_libobjs
34867 LTLIBOBJS=$ac_ltlibobjs
34871 : ${CONFIG_STATUS=./config.status}
34872 ac_clean_files_save=$ac_clean_files
34873 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34874 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34875 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34876 cat >$CONFIG_STATUS <<_ACEOF
34878 # Generated by $as_me.
34879 # Run this file to recreate the current configuration.
34880 # Compiler output produced by configure, useful for debugging
34881 # configure, is in config.log if it exists.
34884 ac_cs_recheck=false
34886 SHELL=\${CONFIG_SHELL-$SHELL}
34889 cat >>$CONFIG_STATUS <<\_ACEOF
34890 ## --------------------- ##
34891 ## M4sh Initialization. ##
34892 ## --------------------- ##
34894 # Be Bourne compatible
34895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34898 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34899 # is contrary to our usage. Disable this feature.
34900 alias -g '${1+"$@"}'='"$@"'
34901 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34905 # Support unset when possible.
34906 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34913 # Work around bugs in pre-3.0 UWIN ksh.
34914 $as_unset ENV MAIL MAILPATH
34921 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34922 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34923 LC_TELEPHONE LC_TIME
34925 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34926 eval $as_var=C; export $as_var
34932 # Required to use basename.
34933 if expr a : '\(a\)' >/dev/null 2>&1; then
34939 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34940 as_basename=basename
34946 # Name of the executable.
34947 as_me=`$as_basename "$0" ||
34948 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34949 X"$0" : 'X\(//\)$' \| \
34950 X"$0" : 'X\(/\)$' \| \
34951 . : '\(.\)' 2>/dev/null ||
34953 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34954 /^X\/\(\/\/\)$/{ s//\1/; q; }
34955 /^X\/\(\/\).*/{ s//\1/; q; }
34959 # PATH needs CR, and LINENO needs CR and PATH.
34960 # Avoid depending upon Character Ranges.
34961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34964 as_cr_digits='0123456789'
34965 as_cr_alnum=$as_cr_Letters$as_cr_digits
34967 # The user is always right.
34968 if test "${PATH_SEPARATOR+set}" != set; then
34969 echo "#! /bin/sh" >conf$$.sh
34970 echo "exit 0" >>conf$$.sh
34972 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34981 as_lineno_1=$LINENO
34982 as_lineno_2=$LINENO
34983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34984 test "x$as_lineno_1" != "x$as_lineno_2" &&
34985 test "x$as_lineno_3" = "x$as_lineno_2" || {
34986 # Find who we are. Look in the path if we contain no path at all
34989 *[\\/]* ) as_myself=$0 ;;
34990 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34991 for as_dir in $PATH
34994 test -z "$as_dir" && as_dir=.
34995 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35000 # We did not find ourselves, most probably we were run as `sh COMMAND'
35001 # in which case we are not to be found in the path.
35002 if test "x$as_myself" = x; then
35005 if test ! -f "$as_myself"; then
35006 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35007 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35008 { (exit 1); exit 1; }; }
35010 case $CONFIG_SHELL in
35012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35013 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35016 test -z "$as_dir" && as_dir=.
35017 for as_base in sh bash ksh sh5; do
35020 if ("$as_dir/$as_base" -c '
35021 as_lineno_1=$LINENO
35022 as_lineno_2=$LINENO
35023 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35024 test "x$as_lineno_1" != "x$as_lineno_2" &&
35025 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35026 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35027 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35028 CONFIG_SHELL=$as_dir/$as_base
35029 export CONFIG_SHELL
35030 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35038 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35039 # uniformly replaced by the line number. The first 'sed' inserts a
35040 # line-number line before each line; the second 'sed' does the real
35041 # work. The second script uses 'N' to pair each line-number line
35042 # with the numbered line, and appends trailing '-' during
35043 # substitution so that $LINENO is not a special case at line end.
35044 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35045 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35046 sed '=' <$as_myself |
35051 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35054 s,^['$as_cr_digits']*\n,,
35055 ' >$as_me.lineno &&
35056 chmod +x $as_me.lineno ||
35057 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35058 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35059 { (exit 1); exit 1; }; }
35061 # Don't try to exec as it changes $[0], causing all sort of problems
35062 # (the dirname of $[0] is not the place where we might find the
35063 # original and so on. Autoconf is especially sensible to this).
35065 # Exit status is that of the last command.
35070 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35071 *c*,-n*) ECHO_N= ECHO_C='
35073 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35074 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35077 if expr a : '\(a\)' >/dev/null 2>&1; then
35083 rm -f conf$$ conf$$.exe conf$$.file
35085 if ln -s conf$$.file conf$$ 2>/dev/null; then
35086 # We could just check for DJGPP; but this test a) works b) is more generic
35087 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35088 if test -f conf$$.exe; then
35089 # Don't use ln at all; we don't have any links
35094 elif ln conf$$.file conf$$ 2>/dev/null; then
35099 rm -f conf$$ conf$$.exe conf$$.file
35101 if mkdir -p . 2>/dev/null; then
35107 as_executable_p="test -f"
35109 # Sed expression to map a string onto a valid CPP name.
35110 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35112 # Sed expression to map a string onto a valid variable name.
35113 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35117 # We need space, tab and new line, in precisely that order.
35127 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35128 # report actual input values of CONFIG_FILES etc. instead of their
35129 # values after options handling. Logging --version etc. is OK.
35133 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35134 ## Running $as_me. ##
35139 This file was extended by wxWindows $as_me 2.5.0, which was
35140 generated by GNU Autoconf 2.57. Invocation command line was
35142 CONFIG_FILES = $CONFIG_FILES
35143 CONFIG_HEADERS = $CONFIG_HEADERS
35144 CONFIG_LINKS = $CONFIG_LINKS
35145 CONFIG_COMMANDS = $CONFIG_COMMANDS
35149 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35153 # Files that config.status was made for.
35154 if test -n "$ac_config_files"; then
35155 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35158 if test -n "$ac_config_headers"; then
35159 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35162 if test -n "$ac_config_links"; then
35163 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35166 if test -n "$ac_config_commands"; then
35167 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35170 cat >>$CONFIG_STATUS <<\_ACEOF
35173 \`$as_me' instantiates files from templates according to the
35174 current configuration.
35176 Usage: $0 [OPTIONS] [FILE]...
35178 -h, --help print this help, then exit
35179 -V, --version print version number, then exit
35180 -q, --quiet do not print progress messages
35181 -d, --debug don't remove temporary files
35182 --recheck update $as_me by reconfiguring in the same conditions
35183 --file=FILE[:TEMPLATE]
35184 instantiate the configuration file FILE
35185 --header=FILE[:TEMPLATE]
35186 instantiate the configuration header FILE
35188 Configuration files:
35191 Configuration headers:
35194 Configuration commands:
35197 Report bugs to <bug-autoconf@gnu.org>."
35200 cat >>$CONFIG_STATUS <<_ACEOF
35202 wxWindows config.status 2.5.0
35203 configured by $0, generated by GNU Autoconf 2.57,
35204 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35206 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35207 Free Software Foundation, Inc.
35208 This config.status script is free software; the Free Software Foundation
35209 gives unlimited permission to copy, distribute and modify it."
35214 cat >>$CONFIG_STATUS <<\_ACEOF
35215 # If no file are specified by the user, then we need to provide default
35216 # value. By we need to know if files were specified by the user.
35222 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35223 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35231 *) # This is not an option, so the user has probably given explicit
35234 ac_need_defaults=false;;
35238 # Handling of the options.
35240 cat >>$CONFIG_STATUS <<\_ACEOF
35241 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35243 --version | --vers* | -V )
35244 echo "$ac_cs_version"; exit 0 ;;
35246 # Conflict between --help and --header
35247 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35248 Try \`$0 --help' for more information." >&5
35249 echo "$as_me: error: ambiguous option: $1
35250 Try \`$0 --help' for more information." >&2;}
35251 { (exit 1); exit 1; }; };;
35252 --help | --hel | -h )
35253 echo "$ac_cs_usage"; exit 0 ;;
35254 --debug | --d* | -d )
35256 --file | --fil | --fi | --f )
35258 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35259 ac_need_defaults=false;;
35260 --header | --heade | --head | --hea )
35262 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35263 ac_need_defaults=false;;
35264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35268 # This is an error.
35269 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35270 Try \`$0 --help' for more information." >&5
35271 echo "$as_me: error: unrecognized option: $1
35272 Try \`$0 --help' for more information." >&2;}
35273 { (exit 1); exit 1; }; } ;;
35275 *) ac_config_targets="$ac_config_targets $1" ;;
35281 ac_configure_extra_args=
35283 if $ac_cs_silent; then
35285 ac_configure_extra_args="$ac_configure_extra_args --silent"
35289 cat >>$CONFIG_STATUS <<_ACEOF
35290 if \$ac_cs_recheck; then
35291 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35292 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35297 cat >>$CONFIG_STATUS <<_ACEOF
35299 # INIT-COMMANDS section.
35303 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35312 cat >>$CONFIG_STATUS <<\_ACEOF
35313 for ac_config_target in $ac_config_targets
35315 case "$ac_config_target" in
35316 # Handling of arguments.
35317 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35318 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35319 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35320 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35321 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35322 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35323 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35324 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35325 { (exit 1); exit 1; }; };;
35329 # If the user did not use the arguments to specify the items to instantiate,
35330 # then the envvar interface is used. Set only those that are not.
35331 # We use the long form for the default assignment because of an extremely
35332 # bizarre bug on SunOS 4.1.3.
35333 if $ac_need_defaults; then
35334 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35335 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35336 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35339 # Have a temporary directory for convenience. Make it in the build tree
35340 # simply because there is no reason to put it here, and in addition,
35341 # creating and moving files from /tmp can sometimes cause problems.
35342 # Create a temporary directory, and hook for its removal unless debugging.
35345 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35346 trap '{ (exit 1); exit 1; }' 1 2 13 15
35349 # Create a (secure) tmp directory for tmp files.
35352 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35353 test -n "$tmp" && test -d "$tmp"
35356 tmp=./confstat$$-$RANDOM
35357 (umask 077 && mkdir $tmp)
35360 echo "$me: cannot create a temporary directory in ." >&2
35361 { (exit 1); exit 1; }
35366 cat >>$CONFIG_STATUS <<_ACEOF
35369 # CONFIG_FILES section.
35372 # No need to generate the scripts if there are no CONFIG_FILES.
35373 # This happens for instance when ./config.status config.h
35374 if test -n "\$CONFIG_FILES"; then
35375 # Protect against being on the right side of a sed subst in config.status.
35376 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35377 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35378 s,@SHELL@,$SHELL,;t t
35379 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35380 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35381 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35382 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35383 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35384 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35385 s,@exec_prefix@,$exec_prefix,;t t
35386 s,@prefix@,$prefix,;t t
35387 s,@program_transform_name@,$program_transform_name,;t t
35388 s,@bindir@,$bindir,;t t
35389 s,@sbindir@,$sbindir,;t t
35390 s,@libexecdir@,$libexecdir,;t t
35391 s,@datadir@,$datadir,;t t
35392 s,@sysconfdir@,$sysconfdir,;t t
35393 s,@sharedstatedir@,$sharedstatedir,;t t
35394 s,@localstatedir@,$localstatedir,;t t
35395 s,@libdir@,$libdir,;t t
35396 s,@includedir@,$includedir,;t t
35397 s,@oldincludedir@,$oldincludedir,;t t
35398 s,@infodir@,$infodir,;t t
35399 s,@mandir@,$mandir,;t t
35400 s,@build_alias@,$build_alias,;t t
35401 s,@host_alias@,$host_alias,;t t
35402 s,@target_alias@,$target_alias,;t t
35403 s,@DEFS@,$DEFS,;t t
35404 s,@ECHO_C@,$ECHO_C,;t t
35405 s,@ECHO_N@,$ECHO_N,;t t
35406 s,@ECHO_T@,$ECHO_T,;t t
35407 s,@LIBS@,$LIBS,;t t
35408 s,@build@,$build,;t t
35409 s,@build_cpu@,$build_cpu,;t t
35410 s,@build_vendor@,$build_vendor,;t t
35411 s,@build_os@,$build_os,;t t
35412 s,@host@,$host,;t t
35413 s,@host_cpu@,$host_cpu,;t t
35414 s,@host_vendor@,$host_vendor,;t t
35415 s,@host_os@,$host_os,;t t
35416 s,@target@,$target,;t t
35417 s,@target_cpu@,$target_cpu,;t t
35418 s,@target_vendor@,$target_vendor,;t t
35419 s,@target_os@,$target_os,;t t
35421 s,@CFLAGS@,$CFLAGS,;t t
35422 s,@LDFLAGS@,$LDFLAGS,;t t
35423 s,@CPPFLAGS@,$CPPFLAGS,;t t
35424 s,@ac_ct_CC@,$ac_ct_CC,;t t
35425 s,@EXEEXT@,$EXEEXT,;t t
35426 s,@OBJEXT@,$OBJEXT,;t t
35428 s,@EGREP@,$EGREP,;t t
35430 s,@CXXFLAGS@,$CXXFLAGS,;t t
35431 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35432 s,@RANLIB@,$RANLIB,;t t
35433 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35435 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35436 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35437 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35438 s,@STRIP@,$STRIP,;t t
35439 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35440 s,@YACC@,$YACC,;t t
35442 s,@LEXLIB@,$LEXLIB,;t t
35443 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35444 s,@LN_S@,$LN_S,;t t
35445 s,@CXXCPP@,$CXXCPP,;t t
35446 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35447 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35448 s,@GTK_LIBS@,$GTK_LIBS,;t t
35449 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35450 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35451 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35452 s,@X_CFLAGS@,$X_CFLAGS,;t t
35453 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35454 s,@X_LIBS@,$X_LIBS,;t t
35455 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35456 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35457 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35458 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35459 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35460 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35461 s,@RESCOMP@,$RESCOMP,;t t
35462 s,@DEREZ@,$DEREZ,;t t
35463 s,@SETFILE@,$SETFILE,;t t
35464 s,@LIBICONV@,$LIBICONV,;t t
35465 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35466 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35467 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35468 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35469 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35470 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35471 s,@WXUNIV@,$WXUNIV,;t t
35472 s,@MONOLITHIC@,$MONOLITHIC,;t t
35473 s,@EXTRALIBS@,$EXTRALIBS,;t t
35474 s,@UNICODE@,$UNICODE,;t t
35475 s,@BUILD@,$BUILD,;t t
35476 s,@SHARED@,$SHARED,;t t
35477 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35478 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35479 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35480 s,@SET_MAKE@,$SET_MAKE,;t t
35481 s,@MAKE_SET@,$MAKE_SET,;t t
35482 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35483 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35484 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35485 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35486 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35487 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35488 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35489 s,@DLLPREFIX@,$DLLPREFIX,;t t
35490 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35491 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35492 s,@PIC_FLAG@,$PIC_FLAG,;t t
35493 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35494 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35495 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35496 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35497 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35498 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35499 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35500 s,@COND_SHARED_1_MONOLITHIC_0@,$COND_SHARED_1_MONOLITHIC_0,;t t
35501 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35502 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35503 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35504 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35505 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35506 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35507 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35508 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35509 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35510 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35511 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_0@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_0,;t t
35512 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_1@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_1,;t t
35513 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35514 s,@COND_SHARED_0_USE_GUI_1_MONOLITHIC_0@,$COND_SHARED_0_USE_GUI_1_MONOLITHIC_0,;t t
35515 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35516 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35517 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35518 s,@COND_SHARED_1_USE_GUI_1_MONOLITHIC_0@,$COND_SHARED_1_USE_GUI_1_MONOLITHIC_0,;t t
35519 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35520 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35521 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35522 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35523 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35524 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35525 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35526 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35527 s,@COND_SHARED_1_MONOLITHIC_1@,$COND_SHARED_1_MONOLITHIC_1,;t t
35528 s,@COND_SHARED_0_MONOLITHIC_1@,$COND_SHARED_0_MONOLITHIC_1,;t t
35529 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35530 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35531 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35532 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35533 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35534 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35535 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35536 s,@COND_SHARED_0_MONOLITHIC_0@,$COND_SHARED_0_MONOLITHIC_0,;t t
35537 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35538 s,@COND_DEPS_TYPE_GCC@,$COND_DEPS_TYPE_GCC,;t t
35539 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35540 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35541 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35542 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35543 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35544 s,@LEX_STEM@,$LEX_STEM,;t t
35545 s,@PATH_IFS@,$PATH_IFS,;t t
35546 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35547 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35548 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35549 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35550 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35551 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35552 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35553 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35554 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35555 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35556 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35557 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35558 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35559 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35560 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35561 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35562 s,@WX_ALL@,$WX_ALL,;t t
35563 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35564 s,@SHARED_LD@,$SHARED_LD,;t t
35565 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35566 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35567 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
35568 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
35569 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
35570 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35571 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35572 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35573 s,@USE_GUI@,$USE_GUI,;t t
35574 s,@AFMINSTALL@,$AFMINSTALL,;t t
35575 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35576 s,@TOOLKIT@,$TOOLKIT,;t t
35577 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35578 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35579 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35580 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35581 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35582 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35583 s,@cross_compiling@,$cross_compiling,;t t
35584 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35585 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35586 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35587 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35588 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35589 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35590 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35591 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35592 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35593 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35594 s,@GUIDIST@,$GUIDIST,;t t
35595 s,@PORT_FILES@,$PORT_FILES,;t t
35596 s,@DISTDIR@,$DISTDIR,;t t
35597 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35598 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35599 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35600 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35601 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35602 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35603 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35604 s,@RESFLAGS@,$RESFLAGS,;t t
35605 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35606 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35607 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35608 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35609 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35610 s,@MACRESCOMP@,$MACRESCOMP,;t t
35611 s,@MACSETFILE@,$MACSETFILE,;t t
35612 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35614 s,@DLLTOOL@,$DLLTOOL,;t t
35618 s,@MAKEINFO@,$MAKEINFO,;t t
35619 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35620 s,@ESD_LINK@,$ESD_LINK,;t t
35621 s,@LIBOBJS@,$LIBOBJS,;t t
35622 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35627 cat >>$CONFIG_STATUS <<\_ACEOF
35628 # Split the substitutions into bite-sized pieces for seds with
35629 # small command number limits, like on Digital OSF/1 and HP-UX.
35630 ac_max_sed_lines=48
35631 ac_sed_frag=1 # Number of current file.
35632 ac_beg=1 # First line for current file.
35633 ac_end=$ac_max_sed_lines # Line after last line for current file.
35636 while $ac_more_lines; do
35637 if test $ac_beg -gt 1; then
35638 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35640 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35642 if test ! -s $tmp/subs.frag; then
35643 ac_more_lines=false
35645 # The purpose of the label and of the branching condition is to
35646 # speed up the sed processing (if there are no `@' at all, there
35647 # is no need to browse any of the substitutions).
35648 # These are the two extra sed commands mentioned above.
35650 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35651 if test -z "$ac_sed_cmds"; then
35652 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35654 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35656 ac_sed_frag=`expr $ac_sed_frag + 1`
35658 ac_end=`expr $ac_end + $ac_max_sed_lines`
35661 if test -z "$ac_sed_cmds"; then
35664 fi # test -n "$CONFIG_FILES"
35667 cat >>$CONFIG_STATUS <<\_ACEOF
35668 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35669 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35671 - | *:- | *:-:* ) # input from stdin
35673 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35674 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35675 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35676 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35677 * ) ac_file_in=$ac_file.in ;;
35680 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35681 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35682 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35683 X"$ac_file" : 'X\(//\)[^/]' \| \
35684 X"$ac_file" : 'X\(//\)$' \| \
35685 X"$ac_file" : 'X\(/\)' \| \
35686 . : '\(.\)' 2>/dev/null ||
35688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35689 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35690 /^X\(\/\/\)$/{ s//\1/; q; }
35691 /^X\(\/\).*/{ s//\1/; q; }
35693 { if $as_mkdir_p; then
35698 while test ! -d "$as_dir"; do
35699 as_dirs="$as_dir $as_dirs"
35700 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35702 X"$as_dir" : 'X\(//\)[^/]' \| \
35703 X"$as_dir" : 'X\(//\)$' \| \
35704 X"$as_dir" : 'X\(/\)' \| \
35705 . : '\(.\)' 2>/dev/null ||
35707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35709 /^X\(\/\/\)$/{ s//\1/; q; }
35710 /^X\(\/\).*/{ s//\1/; q; }
35713 test ! -n "$as_dirs" || mkdir $as_dirs
35714 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35715 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35716 { (exit 1); exit 1; }; }; }
35720 if test "$ac_dir" != .; then
35721 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35722 # A "../" for each directory in $ac_dir_suffix.
35723 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35725 ac_dir_suffix= ac_top_builddir=
35729 .) # No --srcdir option. We are building in place.
35731 if test -z "$ac_top_builddir"; then
35734 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35736 [\\/]* | ?:[\\/]* ) # Absolute path.
35737 ac_srcdir=$srcdir$ac_dir_suffix;
35738 ac_top_srcdir=$srcdir ;;
35739 *) # Relative path.
35740 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35741 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35743 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35745 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35746 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35747 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35748 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35752 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35753 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35756 if test x"$ac_file" != x-; then
35757 { echo "$as_me:$LINENO: creating $ac_file" >&5
35758 echo "$as_me: creating $ac_file" >&6;}
35761 # Let's still pretend it is `configure' which instantiates (i.e., don't
35762 # use $as_me), people would be surprised to read:
35763 # /* config.h. Generated by config.status. */
35764 if test x"$ac_file" = x-; then
35767 configure_input="$ac_file. "
35769 configure_input=$configure_input"Generated from `echo $ac_file_in |
35770 sed 's,.*/,,'` by configure."
35772 # First look for the input files in the build tree, otherwise in the
35774 ac_file_inputs=`IFS=:
35775 for f in $ac_file_in; do
35777 -) echo $tmp/stdin ;;
35779 # Absolute (can't be DOS-style, as IFS=:)
35780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35781 echo "$as_me: error: cannot find input file: $f" >&2;}
35782 { (exit 1); exit 1; }; }
35785 if test -f "$f"; then
35788 elif test -f "$srcdir/$f"; then
35793 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35794 echo "$as_me: error: cannot find input file: $f" >&2;}
35795 { (exit 1); exit 1; }; }
35798 done` || { (exit 1); exit 1; }
35800 cat >>$CONFIG_STATUS <<_ACEOF
35804 cat >>$CONFIG_STATUS <<\_ACEOF
35806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35807 s,@configure_input@,$configure_input,;t t
35808 s,@srcdir@,$ac_srcdir,;t t
35809 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35810 s,@top_srcdir@,$ac_top_srcdir,;t t
35811 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35812 s,@builddir@,$ac_builddir,;t t
35813 s,@abs_builddir@,$ac_abs_builddir,;t t
35814 s,@top_builddir@,$ac_top_builddir,;t t
35815 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35816 s,@INSTALL@,$ac_INSTALL,;t t
35817 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35819 if test x"$ac_file" != x-; then
35820 mv $tmp/out $ac_file
35828 cat >>$CONFIG_STATUS <<\_ACEOF
35831 # CONFIG_HEADER section.
35834 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35835 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35837 # ac_d sets the value in "#define NAME VALUE" lines.
35838 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35839 ac_dB='[ ].*$,\1#\2'
35842 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35843 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35844 ac_uB='$,\1#\2define\3'
35848 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35851 - | *:- | *:-:* ) # input from stdin
35853 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35854 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35855 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35857 * ) ac_file_in=$ac_file.in ;;
35860 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35861 echo "$as_me: creating $ac_file" >&6;}
35863 # First look for the input files in the build tree, otherwise in the
35865 ac_file_inputs=`IFS=:
35866 for f in $ac_file_in; do
35868 -) echo $tmp/stdin ;;
35870 # Absolute (can't be DOS-style, as IFS=:)
35871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35872 echo "$as_me: error: cannot find input file: $f" >&2;}
35873 { (exit 1); exit 1; }; }
35876 if test -f "$f"; then
35879 elif test -f "$srcdir/$f"; then
35884 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35885 echo "$as_me: error: cannot find input file: $f" >&2;}
35886 { (exit 1); exit 1; }; }
35889 done` || { (exit 1); exit 1; }
35890 # Remove the trailing spaces.
35891 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35895 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35896 # `conftest.undefs', that substitutes the proper values into
35897 # config.h.in to produce config.h. The first handles `#define'
35898 # templates, and the second `#undef' templates.
35899 # And first: Protect against being on the right side of a sed subst in
35900 # config.status. Protect against being in an unquoted here document
35901 # in config.status.
35902 rm -f conftest.defines conftest.undefs
35903 # Using a here document instead of a string reduces the quoting nightmare.
35904 # Putting comments in sed scripts is not portable.
35906 # `end' is used to avoid that the second main sed command (meant for
35907 # 0-ary CPP macros) applies to n-ary macro definitions.
35908 # See the Autoconf documentation for `clear'.
35909 cat >confdef2sed.sed <<\_ACEOF
35914 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35916 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35919 # If some macros were called several times there might be several times
35920 # the same #defines, which is useless. Nevertheless, we may not want to
35921 # sort them, since we want the *last* AC-DEFINE to be honored.
35922 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35923 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35924 rm -f confdef2sed.sed
35926 # This sed command replaces #undef with comments. This is necessary, for
35927 # example, in the case of _POSIX_SOURCE, which is predefined and required
35928 # on some systems where configure will not decide to define it.
35929 cat >>conftest.undefs <<\_ACEOF
35930 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35933 # Break up conftest.defines because some shells have a limit on the size
35934 # of here documents, and old seds have small limits too (100 cmds).
35935 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35936 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35937 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35938 echo ' :' >>$CONFIG_STATUS
35939 rm -f conftest.tail
35940 while grep . conftest.defines >/dev/null
35942 # Write a limited-size here document to $tmp/defines.sed.
35943 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35944 # Speed up: don't consider the non `#define' lines.
35945 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35946 # Work around the forget-to-reset-the-flag bug.
35947 echo 't clr' >>$CONFIG_STATUS
35948 echo ': clr' >>$CONFIG_STATUS
35949 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35951 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35953 mv $tmp/out $tmp/in
35955 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35956 rm -f conftest.defines
35957 mv conftest.tail conftest.defines
35959 rm -f conftest.defines
35960 echo ' fi # grep' >>$CONFIG_STATUS
35961 echo >>$CONFIG_STATUS
35963 # Break up conftest.undefs because some shells have a limit on the size
35964 # of here documents, and old seds have small limits too (100 cmds).
35965 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35966 rm -f conftest.tail
35967 while grep . conftest.undefs >/dev/null
35969 # Write a limited-size here document to $tmp/undefs.sed.
35970 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35971 # Speed up: don't consider the non `#undef'
35972 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35973 # Work around the forget-to-reset-the-flag bug.
35974 echo 't clr' >>$CONFIG_STATUS
35975 echo ': clr' >>$CONFIG_STATUS
35976 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35978 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35980 mv $tmp/out $tmp/in
35982 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35983 rm -f conftest.undefs
35984 mv conftest.tail conftest.undefs
35986 rm -f conftest.undefs
35988 cat >>$CONFIG_STATUS <<\_ACEOF
35989 # Let's still pretend it is `configure' which instantiates (i.e., don't
35990 # use $as_me), people would be surprised to read:
35991 # /* config.h. Generated by config.status. */
35992 if test x"$ac_file" = x-; then
35993 echo "/* Generated by configure. */" >$tmp/config.h
35995 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35997 cat $tmp/in >>$tmp/config.h
35999 if test x"$ac_file" != x-; then
36000 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36001 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36002 echo "$as_me: $ac_file is unchanged" >&6;}
36004 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36005 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36006 X"$ac_file" : 'X\(//\)[^/]' \| \
36007 X"$ac_file" : 'X\(//\)$' \| \
36008 X"$ac_file" : 'X\(/\)' \| \
36009 . : '\(.\)' 2>/dev/null ||
36011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36013 /^X\(\/\/\)$/{ s//\1/; q; }
36014 /^X\(\/\).*/{ s//\1/; q; }
36016 { if $as_mkdir_p; then
36021 while test ! -d "$as_dir"; do
36022 as_dirs="$as_dir $as_dirs"
36023 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36025 X"$as_dir" : 'X\(//\)[^/]' \| \
36026 X"$as_dir" : 'X\(//\)$' \| \
36027 X"$as_dir" : 'X\(/\)' \| \
36028 . : '\(.\)' 2>/dev/null ||
36030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36032 /^X\(\/\/\)$/{ s//\1/; q; }
36033 /^X\(\/\).*/{ s//\1/; q; }
36036 test ! -n "$as_dirs" || mkdir $as_dirs
36037 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36038 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36039 { (exit 1); exit 1; }; }; }
36042 mv $tmp/config.h $ac_file
36046 rm -f $tmp/config.h
36050 cat >>$CONFIG_STATUS <<\_ACEOF
36053 # CONFIG_COMMANDS section.
36055 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36056 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36057 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36058 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36059 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36060 X"$ac_dest" : 'X\(//\)[^/]' \| \
36061 X"$ac_dest" : 'X\(//\)$' \| \
36062 X"$ac_dest" : 'X\(/\)' \| \
36063 . : '\(.\)' 2>/dev/null ||
36065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36067 /^X\(\/\/\)$/{ s//\1/; q; }
36068 /^X\(\/\).*/{ s//\1/; q; }
36072 if test "$ac_dir" != .; then
36073 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36074 # A "../" for each directory in $ac_dir_suffix.
36075 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36077 ac_dir_suffix= ac_top_builddir=
36081 .) # No --srcdir option. We are building in place.
36083 if test -z "$ac_top_builddir"; then
36086 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36088 [\\/]* | ?:[\\/]* ) # Absolute path.
36089 ac_srcdir=$srcdir$ac_dir_suffix;
36090 ac_top_srcdir=$srcdir ;;
36091 *) # Relative path.
36092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36095 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36097 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36098 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36099 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36100 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36103 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36104 echo "$as_me: executing $ac_dest commands" >&6;}
36107 if test ! -h wx-config; then
36109 mv wx-config wx${TOOLCHAIN_NAME}-config
36110 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36113 if test ! -d lib; then
36116 if test ! -d lib/wx; then
36119 if test ! -d lib/wx/include; then
36120 mkdir lib/wx/include
36122 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36123 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36125 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36126 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36128 if test -f setup.h; then
36129 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36136 cat >>$CONFIG_STATUS <<\_ACEOF
36138 { (exit 0); exit 0; }
36140 chmod +x $CONFIG_STATUS
36141 ac_clean_files=$ac_clean_files_save
36144 # configure is writing to config.log, and then calls config.status.
36145 # config.status does its own redirection, appending to config.log.
36146 # Unfortunately, on DOS this fails, as config.log is still kept open
36147 # by configure, so config.status won't be able to write to it; its
36148 # output is simply discarded. So we exec the FD to /dev/null,
36149 # effectively closing config.log, so it can be properly (re)opened and
36150 # appended to by config.status. When coming back to configure, we
36151 # need to make the FD available again.
36152 if test "$no_create" != yes; then
36154 ac_config_status_args=
36155 test "$silent" = yes &&
36156 ac_config_status_args="$ac_config_status_args --quiet"
36158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36161 # would make configure fail if this is the last instruction.
36162 $ac_cs_success || { (exit 1); exit 1; }
36167 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36169 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36170 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36172 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36173 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36174 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36176 echo " What level of wxWindows compatibility should be enabled?"
36177 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36178 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36179 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36181 echo " Which libraries should wxWindows use?"
36182 echo " jpeg ${wxUSE_LIBJPEG-none}"
36183 echo " png ${wxUSE_LIBPNG-none}"
36184 echo " regex ${wxUSE_REGEX}"
36185 echo " tiff ${wxUSE_LIBTIFF-none}"
36186 echo " zlib ${wxUSE_ZLIB}"
36187 echo " odbc ${wxUSE_ODBC}"