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_TYPE COND_WXUSE_ZLIB_BUILTIN COND_UNICODE_1 COND_BUILD_DEBUG COND_WXUSE_REGEX_BUILTIN COND_USE_SOSYMLINKS_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_SHARED_1_MONOLITHIC_1 COND_WXUSE_ODBC_BUILTIN COND_TOOLKIT_GTK COND_TOOLKIT_MOTIF COND_TOOLKIT_MSW COND_TOOLKIT_MAC COND_TOOLKIT_COCOA COND_TOOLKIT_OS2 COND_TOOLKIT_X11 COND_TOOLKIT_MGL COND_WXUNIV_1 COND_WXUSE_LIBTIFF_BUILTIN COND_PLATFORM_UNIX_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_WIN32_1 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1 COND_PLATFORM_WIN32_0 COND_MONOLITHIC_1 COND_MONOLITHIC_0 COND_USE_GUI_1 COND_DEPS_TYPE_GCC COND_USE_GUI_0 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_SHARED_0_MONOLITHIC_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSOLARIS_1 COND_PLATFORM_MAC_1 COND_SHARED_0 COND_SHARED_1 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 --enable-universal use wxWindows GUI controls instead of native ones
870 --enable-nanox use NanoX
871 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
872 --enable-shared create shared library code
873 --enable-soname set the DT_SONAME field
in ELF shared libraries
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-precomp enable use of precompiled headers
(Mac OS X
/Darwin
)
877 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C
++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows
2.0 compatibility
888 --enable-compat22 enable wxWindows
2.2 compatibility
889 --disable-compat24 disable wxWindows
2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx
-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig
(and derived
) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP
(requires wxProtocol
895 --enable-http use wxHTTP
(requires wxProtocol
896 --enable-fileproto use wxFileProto class
(requires wxProtocol
897 --enable-sockets use socket
/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication
(wxSocket etc.
)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class
for DLL loading
910 --enable-dynamicloader use
(new
) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer
for Unicode on Windows
9x
(win32 only
)
922 --enable-wxprintfv use wxWindows implementation of vprintf
()
923 --enable-std_iostreams use standard C
++ stream classes
924 --enable-filesystem use virtual
file systems classes
925 --enable-fs_inet use virtual HTTP
/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp
::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support
in wxProtocol
935 --enable-protocol-ftp FTP support
in wxProtocol
936 --enable-protocol-file FILE support
in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use
help subsystem
940 --enable-mshtmlhelp use MS HTML Help
(win32
)
941 --enable-html use wxHTML sub
-library
942 --enable-htmlhelp use wxHTML
-based help
943 --enable-constraints use layout
-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
950 --enable-prologio not available
; see contrib
951 --enable-resources not available
; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag
'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick
(Linux only
)
1015 --enable-metafiles use wxMetaFile
(Windows only
)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images
(GIF
file format
)
1021 --enable-pcx use pcx images
(PCX
file format
)
1022 --enable-iff use iff images
(IFF
file format
)
1023 --enable-pnm use pnm images
(PNM
file format
)
1024 --enable-xpm use xpm images
(XPM
file format
)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support
for large files
1027 --disable-gtktest do not try to compile and run a
test GTK
+ program
1028 --disable-gtktest Do not try to compile and run a
test GTK program
1031 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1032 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1034 --with-motif use Motif
/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS
-Windows
1039 --with-pm use OS
/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1043 --with-libpng use libpng
(PNG image format
)
1044 --with-libjpeg use libjpeg
(JPEG
file format
)
1045 --with-libtiff use libtiff
(TIFF
file format
)
1046 --with-opengl use OpenGL
(or Mesa
)
1047 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1048 --with-regex enable support
for wxRegEx class
1049 --with-zlib use zlib
for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1056 Some influential environment variables
:
1057 CC C compiler
command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1060 nonstandard directory
<lib dir
>
1061 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1062 headers
in a nonstandard directory
<include dir
>
1064 CXX C
++ compiler
command
1065 CXXFLAGS C
++ compiler flags
1066 CXXCPP C
++ preprocessor
1068 Use these variables to override the choices made by
`configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <wx-dev@lists.wxwindows.org>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 wxWindows configure 2.5.0
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by wxWindows $as_me 2.5.0, which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1162 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1163 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1164 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1165 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1167 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1168 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1170 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1171 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1172 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1173 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1174 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1175 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1176 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close
' the trap.
1256 trap 'exit_status
=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var
in $ac_subst_vars
1292 eval ac_val
=$
`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var
in $ac_subst_files
1306 eval ac_val
=$
`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h
; then
1319 sed "/^$/d" confdefs.h
| sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.
* *.core
&&
1327 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's
/^
/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1424 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1449 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1456 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1540 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1542 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1545 echo "$as_me:$LINENO: checking host system type" >&5
1546 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547 if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 ac_cv_host_alias=$host_alias
1551 test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias=$ac_cv_build_alias
1553 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1559 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560 echo "${ECHO_T}$ac_cv_host" >&6
1562 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1563 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1564 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1567 echo "$as_me:$LINENO: checking target system type" >&5
1568 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569 if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 ac_cv_target_alias=$target_alias
1573 test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias=$ac_cv_host_alias
1575 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582 echo "${ECHO_T}$ac_cv_target" >&6
1583 target=$ac_cv_target
1584 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1585 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1586 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1589 # The aliases save the names the user supplied, while $host etc.
1590 # will get canonicalized.
1591 test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1594 program_prefix=${target_alias}-
1598 WX_MAJOR_VERSION_NUMBER=2
1599 WX_MINOR_VERSION_NUMBER=5
1602 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1603 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1605 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1620 USE_BSD= USE_DARWIN= USE_FREEBSD=
1626 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1632 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1634 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1636 DEFAULT_wxUSE_COCOA=0
1640 DEFAULT_wxUSE_MICROWIN=0
1641 DEFAULT_wxUSE_MOTIF=0
1646 DEFAULT_DEFAULT_wxUSE_COCOA=0
1647 DEFAULT_DEFAULT_wxUSE_GTK=0
1648 DEFAULT_DEFAULT_wxUSE_MAC=0
1649 DEFAULT_DEFAULT_wxUSE_MGL=0
1650 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1651 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1652 DEFAULT_DEFAULT_wxUSE_MSW=0
1653 DEFAULT_DEFAULT_wxUSE_PM=0
1654 DEFAULT_DEFAULT_wxUSE_X11=0
1663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1666 cat >>confdefs.h <<\_ACEOF
1673 cat >>confdefs.h <<\_ACEOF
1678 if test "x$TMP" = "xalpha"; then
1680 cat >>confdefs.h <<\_ACEOF
1685 DEFAULT_DEFAULT_wxUSE_GTK=1
1689 cat >>confdefs.h <<\_ACEOF
1694 if test "x$TMP" = "xalpha"; then
1696 cat >>confdefs.h <<\_ACEOF
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1703 *-*-irix5* | *-*-irix6* )
1706 cat >>confdefs.h <<\_ACEOF
1710 cat >>confdefs.h <<\_ACEOF
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1720 cat >>confdefs.h <<\_ACEOF
1724 cat >>confdefs.h <<\_ACEOF
1725 #define __SOLARIS__ 1
1728 cat >>confdefs.h <<\_ACEOF
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1739 cat >>confdefs.h <<\_ACEOF
1743 cat >>confdefs.h <<\_ACEOF
1747 cat >>confdefs.h <<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __FREEBSD__ 1
1760 cat >>confdefs.h <<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __OPENBSD__ 1
1773 cat >>confdefs.h <<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_GTK=1
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __NETBSD__ 1
1786 cat >>confdefs.h <<\_ACEOF
1790 DEFAULT_DEFAULT_wxUSE_GTK=1
1795 cat >>confdefs.h <<\_ACEOF
1799 cat >>confdefs.h <<\_ACEOF
1803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1809 cat >>confdefs.h <<\_ACEOF
1813 cat >>confdefs.h <<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 cat >>confdefs.h <<\_ACEOF
1826 cat >>confdefs.h <<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1837 cat >>confdefs.h <<\_ACEOF
1841 cat >>confdefs.h <<\_ACEOF
1845 cat >>confdefs.h <<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __UNIXWARE__ 1
1862 *-*-cygwin* | *-*-mingw32* )
1866 DEFAULT_DEFAULT_wxUSE_MSW=1
1872 cat >>confdefs.h <<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_MGL=1
1878 LIBS="$LIBS -lstdc++"
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_PM=1
1894 cat >>confdefs.h <<\_ACEOF
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __DARWIN__ 1
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __POWERPC__ 1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define TARGET_CARBON 1
1910 DEFAULT_DEFAULT_wxUSE_MAC=1
1915 cat >>confdefs.h <<\_ACEOF
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923 echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1930 wx_arg_cache_file="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1938 if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL=no
1941 DEFAULT_wxUSE_NANOX=no
1943 DEFAULT_wxUSE_THREADS=yes
1945 DEFAULT_wxUSE_SHARED=yes
1946 DEFAULT_wxUSE_SONAME=no
1947 DEFAULT_wxUSE_OPTIMISE=no
1948 DEFAULT_wxUSE_PROFILE=no
1949 DEFAULT_wxUSE_NO_DEPS=no
1950 DEFAULT_wxUSE_NO_RTTI=no
1951 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1952 DEFAULT_wxUSE_PERMISSIVE=no
1953 DEFAULT_wxUSE_DEBUG_FLAG=yes
1954 DEFAULT_wxUSE_DEBUG_INFO=yes
1955 DEFAULT_wxUSE_DEBUG_GDB=yes
1956 DEFAULT_wxUSE_MEM_TRACING=no
1957 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1958 DEFAULT_wxUSE_DMALLOC=no
1959 DEFAULT_wxUSE_PRECOMP=no
1960 DEFAULT_wxUSE_APPLE_IEEE=no
1962 DEFAULT_wxUSE_LOG=yes
1963 DEFAULT_wxUSE_LOGWINDOW=no
1964 DEFAULT_wxUSE_LOGGUI=no
1965 DEFAULT_wxUSE_LOGDIALOG=no
1967 DEFAULT_wxUSE_GUI=yes
1968 DEFAULT_wxUSE_CONTROLS=no
1970 DEFAULT_wxUSE_REGEX=no
1971 DEFAULT_wxUSE_ZLIB=no
1972 DEFAULT_wxUSE_LIBPNG=no
1973 DEFAULT_wxUSE_LIBJPEG=no
1974 DEFAULT_wxUSE_LIBTIFF=no
1975 DEFAULT_wxUSE_ODBC=no
1976 DEFAULT_wxUSE_OPENGL=no
1978 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1979 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1980 DEFAULT_wxUSE_STD_IOSTREAM=no
1981 DEFAULT_wxUSE_CMDLINE_PARSER=no
1982 DEFAULT_wxUSE_DATETIME=no
1983 DEFAULT_wxUSE_TIMER=no
1984 DEFAULT_wxUSE_STOPWATCH=no
1985 DEFAULT_wxUSE_FILE=no
1986 DEFAULT_wxUSE_FFILE=no
1987 DEFAULT_wxUSE_TEXTBUFFER=no
1988 DEFAULT_wxUSE_TEXTFILE=no
1989 DEFAULT_wxUSE_WAVE=no
1990 DEFAULT_wxUSE_INTL=no
1991 DEFAULT_wxUSE_CONFIG=no
1992 DEFAULT_wxUSE_FONTMAP=no
1993 DEFAULT_wxUSE_STREAMS=no
1994 DEFAULT_wxUSE_SOCKETS=no
1995 DEFAULT_wxUSE_OLE=no
1996 DEFAULT_wxUSE_DATAOBJ=no
1997 DEFAULT_wxUSE_DIALUP_MANAGER=no
1998 DEFAULT_wxUSE_JOYSTICK=no
1999 DEFAULT_wxUSE_DYNLIB_CLASS=no
2000 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2001 DEFAULT_wxUSE_LONGLONG=no
2002 DEFAULT_wxUSE_GEOMETRY=no
2004 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2005 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2006 DEFAULT_wxUSE_POSTSCRIPT=no
2008 DEFAULT_wxUSE_CLIPBOARD=no
2009 DEFAULT_wxUSE_TOOLTIPS=no
2010 DEFAULT_wxUSE_DRAG_AND_DROP=no
2011 DEFAULT_wxUSE_DRAGIMAGE=no
2012 DEFAULT_wxUSE_SPLINES=no
2014 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2015 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2016 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2018 DEFAULT_wxUSE_RESOURCES=no
2019 DEFAULT_wxUSE_CONSTRAINTS=no
2020 DEFAULT_wxUSE_IPC=no
2021 DEFAULT_wxUSE_HELP=no
2022 DEFAULT_wxUSE_MS_HTML_HELP=no
2023 DEFAULT_wxUSE_WXHTML_HELP=no
2024 DEFAULT_wxUSE_TREELAYOUT=no
2025 DEFAULT_wxUSE_METAFILE=no
2026 DEFAULT_wxUSE_MIMETYPE=no
2027 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2028 DEFAULT_wxUSE_PROTOCOL=no
2029 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FTP=no
2031 DEFAULT_wxUSE_PROTOCOL_FILE=no
2032 DEFAULT_wxUSE_URL=no
2034 DEFAULT_wxUSE_COMMONDLGS=no
2035 DEFAULT_wxUSE_CHOICEDLG=no
2036 DEFAULT_wxUSE_COLOURDLG=no
2037 DEFAULT_wxUSE_DIRDLG=no
2038 DEFAULT_wxUSE_FILEDLG=no
2039 DEFAULT_wxUSE_FINDREPLDLG=no
2040 DEFAULT_wxUSE_FONTDLG=no
2041 DEFAULT_wxUSE_MSGDLG=no
2042 DEFAULT_wxUSE_NUMBERDLG=no
2043 DEFAULT_wxUSE_TEXTDLG=no
2044 DEFAULT_wxUSE_SPLASH=no
2045 DEFAULT_wxUSE_STARTUP_TIPS=no
2046 DEFAULT_wxUSE_PROGRESSDLG=no
2047 DEFAULT_wxUSE_WIZARDDLG=no
2049 DEFAULT_wxUSE_MENUS=no
2050 DEFAULT_wxUSE_MINIFRAME=no
2051 DEFAULT_wxUSE_HTML=no
2052 DEFAULT_wxUSE_FILESYSTEM=no
2053 DEFAULT_wxUSE_FS_INET=no
2054 DEFAULT_wxUSE_FS_ZIP=no
2055 DEFAULT_wxUSE_BUSYINFO=no
2056 DEFAULT_wxUSE_ZIPSTREAM=no
2057 DEFAULT_wxUSE_VALIDATORS=no
2059 DEFAULT_wxUSE_ACCEL=no
2060 DEFAULT_wxUSE_BUTTON=no
2061 DEFAULT_wxUSE_BMPBUTTON=no
2062 DEFAULT_wxUSE_CALCTRL=no
2063 DEFAULT_wxUSE_CARET=no
2064 DEFAULT_wxUSE_CHECKBOX=no
2065 DEFAULT_wxUSE_CHECKLST=no
2066 DEFAULT_wxUSE_CHOICE=no
2067 DEFAULT_wxUSE_COMBOBOX=no
2068 DEFAULT_wxUSE_DISPLAY=no
2069 DEFAULT_wxUSE_GAUGE=no
2070 DEFAULT_wxUSE_GRID=no
2071 DEFAULT_wxUSE_IMAGLIST=no
2072 DEFAULT_wxUSE_LISTBOX=no
2073 DEFAULT_wxUSE_LISTCTRL=no
2074 DEFAULT_wxUSE_NOTEBOOK=no
2075 DEFAULT_wxUSE_RADIOBOX=no
2076 DEFAULT_wxUSE_RADIOBTN=no
2077 DEFAULT_wxUSE_SASH=no
2078 DEFAULT_wxUSE_SCROLLBAR=no
2079 DEFAULT_wxUSE_SLIDER=no
2080 DEFAULT_wxUSE_SPINBTN=no
2081 DEFAULT_wxUSE_SPINCTRL=no
2082 DEFAULT_wxUSE_SPLITTER=no
2083 DEFAULT_wxUSE_STATBMP=no
2084 DEFAULT_wxUSE_STATBOX=no
2085 DEFAULT_wxUSE_STATLINE=no
2086 DEFAULT_wxUSE_STATTEXT=no
2087 DEFAULT_wxUSE_STATUSBAR=yes
2088 DEFAULT_wxUSE_TABDIALOG=no
2089 DEFAULT_wxUSE_TEXTCTRL=no
2090 DEFAULT_wxUSE_TOGGLEBTN=no
2091 DEFAULT_wxUSE_TOOLBAR=no
2092 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2093 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2094 DEFAULT_wxUSE_TREECTRL=no
2095 DEFAULT_wxUSE_POPUPWIN=no
2096 DEFAULT_wxUSE_TIPWINDOW=no
2098 DEFAULT_wxUSE_UNICODE=no
2099 DEFAULT_wxUSE_UNICODE_MSLU=no
2100 DEFAULT_wxUSE_WCSRTOMBS=no
2102 DEFAULT_wxUSE_PALETTE=no
2103 DEFAULT_wxUSE_IMAGE=no
2104 DEFAULT_wxUSE_GIF=no
2105 DEFAULT_wxUSE_PCX=no
2106 DEFAULT_wxUSE_PNM=no
2107 DEFAULT_wxUSE_IFF=no
2108 DEFAULT_wxUSE_XPM=no
2109 DEFAULT_wxUSE_ICO_CUR=no
2110 DEFAULT_wxUSE_ACCESSIBILITY=no
2112 DEFAULT_wxUSE_UNIVERSAL=no
2114 DEFAULT_wxUSE_NANOX=no
2116 DEFAULT_wxUSE_THREADS=yes
2118 DEFAULT_wxUSE_SHARED=yes
2119 DEFAULT_wxUSE_SONAME=no
2120 DEFAULT_wxUSE_OPTIMISE=yes
2121 DEFAULT_wxUSE_PROFILE=no
2122 DEFAULT_wxUSE_NO_DEPS=no
2123 DEFAULT_wxUSE_NO_RTTI=no
2124 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2125 DEFAULT_wxUSE_PERMISSIVE=no
2126 DEFAULT_wxUSE_DEBUG_FLAG=no
2127 DEFAULT_wxUSE_DEBUG_INFO=no
2128 DEFAULT_wxUSE_DEBUG_GDB=no
2129 DEFAULT_wxUSE_MEM_TRACING=no
2130 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2131 DEFAULT_wxUSE_DMALLOC=no
2132 DEFAULT_wxUSE_PRECOMP=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2140 DEFAULT_wxUSE_GUI=yes
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2287 for toolkit in `echo $ALL_TOOLKITS`; do
2288 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2289 if test "x$LINE" != "x" ; then
2290 has_toolkit_in_cache=1
2291 eval "DEFAULT_$LINE"
2292 eval "CACHE_$toolkit=1"
2299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2300 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2302 # Check whether --enable-gui or --disable-gui was given.
2303 if test "${enable_gui+set}" = set; then
2304 enableval="$enable_gui"
2306 if test "$enableval" = yes; then
2307 ac_cv_use_gui='wxUSE_GUI
=yes'
2309 ac_cv_use_gui='wxUSE_GUI
=no
'
2314 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2315 if test "x$LINE" != x ; then
2316 eval "DEFAULT_$LINE"
2321 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2325 eval "$ac_cv_use_gui"
2326 if test "$no_cache" != 1; then
2327 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2330 if test "$wxUSE_GUI" = yes; then
2331 echo "$as_me:$LINENO: result: yes" >&5
2332 echo "${ECHO_T}yes" >&6
2334 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2339 if test "$wxUSE_GUI" = "yes"; then
2343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2344 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2346 # Check whether --enable-universal or --disable-universal was given.
2347 if test "${enable_universal+set}" = set; then
2348 enableval="$enable_universal"
2350 if test "$enableval" = yes; then
2351 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2353 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2358 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2365 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2369 eval "$ac_cv_use_universal"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2374 if test "$wxUSE_UNIVERSAL" = yes; then
2375 echo "$as_me:$LINENO: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2378 echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2383 # Check whether --with-gtk or --without-gtk was given.
2384 if test "${with_gtk+set}" = set; then
2386 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2389 # Check whether --with-motif or --without-motif was given.
2390 if test "${with_motif+set}" = set; then
2391 withval="$with_motif"
2392 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2395 # Check whether --with-mac or --without-mac was given.
2396 if test "${with_mac+set}" = set; then
2398 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2401 # Check whether --with-cocoa or --without-cocoa was given.
2402 if test "${with_cocoa+set}" = set; then
2403 withval="$with_cocoa"
2404 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2407 # Check whether --with-wine or --without-wine was given.
2408 if test "${with_wine+set}" = set; then
2409 withval="$with_wine"
2410 wxUSE_WINE="$withval" CACHE_WINE=1
2413 # Check whether --with-msw or --without-msw was given.
2414 if test "${with_msw+set}" = set; then
2416 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2419 # Check whether --with-pm or --without-pm was given.
2420 if test "${with_pm+set}" = set; then
2422 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2425 # Check whether --with-mgl or --without-mgl was given.
2426 if test "${with_mgl+set}" = set; then
2428 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2431 # Check whether --with-microwin or --without-microwin was given.
2432 if test "${with_microwin+set}" = set; then
2433 withval="$with_microwin"
2434 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2437 # Check whether --with-x11 or --without-x11 was given.
2438 if test "${with_x11+set}" = set; then
2440 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2445 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2447 # Check whether --enable-nanox or --disable-nanox was given.
2448 if test "${enable_nanox+set}" = set; then
2449 enableval="$enable_nanox"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2454 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2459 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x ; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2470 eval "$ac_cv_use_nanox"
2471 if test "$no_cache" != 1; then
2472 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2475 if test "$wxUSE_NANOX" = yes; then
2476 echo "$as_me:$LINENO: result: yes" >&5
2477 echo "${ECHO_T}yes" >&6
2479 echo "$as_me:$LINENO: result: no" >&5
2480 echo "${ECHO_T}no" >&6
2486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2487 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2489 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2490 if test "${enable_gtk2+set}" = set; then
2491 enableval="$enable_gtk2"
2493 if test "$enableval" = yes; then
2494 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2496 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2501 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2502 if test "x$LINE" != x ; then
2503 eval "DEFAULT_$LINE"
2508 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2512 eval "$ac_cv_use_gtk2"
2513 if test "$no_cache" != 1; then
2514 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2517 if test "$wxUSE_GTK2" = yes; then
2518 echo "$as_me:$LINENO: result: yes" >&5
2519 echo "${ECHO_T}yes" >&6
2521 echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2527 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2528 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2531 # Check whether --with-libpng or --without-libpng was given.
2532 if test "${with_libpng+set}" = set; then
2533 withval="$with_libpng"
2535 if test "$withval" = yes; then
2536 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2537 elif test "$withval" = no; then
2538 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2539 elif test "$withval" = sys; then
2540 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2541 elif test "$withval" = builtin; then
2542 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2544 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2545 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2546 { (exit 1); exit 1; }; }
2551 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x ; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2562 eval "$ac_cv_use_libpng"
2563 if test "$no_cache" != 1; then
2564 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2567 if test "$wxUSE_LIBPNG" = yes; then
2568 echo "$as_me:$LINENO: result: yes" >&5
2569 echo "${ECHO_T}yes" >&6
2570 elif test "$wxUSE_LIBPNG" = no; then
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2573 elif test "$wxUSE_LIBPNG" = sys; then
2574 echo "$as_me:$LINENO: result: system version" >&5
2575 echo "${ECHO_T}system version" >&6
2576 elif test "$wxUSE_LIBPNG" = builtin; then
2577 echo "$as_me:$LINENO: result: builtin version" >&5
2578 echo "${ECHO_T}builtin version" >&6
2580 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2581 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2582 { (exit 1); exit 1; }; }
2586 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2587 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2590 # Check whether --with-libjpeg or --without-libjpeg was given.
2591 if test "${with_libjpeg+set}" = set; then
2592 withval="$with_libjpeg"
2594 if test "$withval" = yes; then
2595 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2596 elif test "$withval" = no; then
2597 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2598 elif test "$withval" = sys; then
2599 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2600 elif test "$withval" = builtin; then
2601 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2603 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2604 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2605 { (exit 1); exit 1; }; }
2610 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2611 if test "x$LINE" != x ; then
2612 eval "DEFAULT_$LINE"
2617 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2621 eval "$ac_cv_use_libjpeg"
2622 if test "$no_cache" != 1; then
2623 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2626 if test "$wxUSE_LIBJPEG" = yes; then
2627 echo "$as_me:$LINENO: result: yes" >&5
2628 echo "${ECHO_T}yes" >&6
2629 elif test "$wxUSE_LIBJPEG" = no; then
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2632 elif test "$wxUSE_LIBJPEG" = sys; then
2633 echo "$as_me:$LINENO: result: system version" >&5
2634 echo "${ECHO_T}system version" >&6
2635 elif test "$wxUSE_LIBJPEG" = builtin; then
2636 echo "$as_me:$LINENO: result: builtin version" >&5
2637 echo "${ECHO_T}builtin version" >&6
2639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2641 { (exit 1); exit 1; }; }
2645 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2646 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2649 # Check whether --with-libtiff or --without-libtiff was given.
2650 if test "${with_libtiff+set}" = set; then
2651 withval="$with_libtiff"
2653 if test "$withval" = yes; then
2654 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2655 elif test "$withval" = no; then
2656 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2657 elif test "$withval" = sys; then
2658 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2659 elif test "$withval" = builtin; then
2660 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2662 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2663 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2664 { (exit 1); exit 1; }; }
2669 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x ; then
2671 eval "DEFAULT_$LINE"
2676 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2680 eval "$ac_cv_use_libtiff"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_LIBTIFF" = yes; then
2686 echo "$as_me:$LINENO: result: yes" >&5
2687 echo "${ECHO_T}yes" >&6
2688 elif test "$wxUSE_LIBTIFF" = no; then
2689 echo "$as_me:$LINENO: result: no" >&5
2690 echo "${ECHO_T}no" >&6
2691 elif test "$wxUSE_LIBTIFF" = sys; then
2692 echo "$as_me:$LINENO: result: system version" >&5
2693 echo "${ECHO_T}system version" >&6
2694 elif test "$wxUSE_LIBTIFF" = builtin; then
2695 echo "$as_me:$LINENO: result: builtin version" >&5
2696 echo "${ECHO_T}builtin version" >&6
2698 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2699 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2700 { (exit 1); exit 1; }; }
2704 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2705 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2708 # Check whether --with-opengl or --without-opengl was given.
2709 if test "${with_opengl+set}" = set; then
2710 withval="$with_opengl"
2712 if test "$withval" = yes; then
2713 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2715 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2720 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x ; then
2722 eval "DEFAULT_$LINE"
2727 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2731 eval "$ac_cv_use_opengl"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2736 if test "$wxUSE_OPENGL" = yes; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2748 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2749 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2752 # Check whether --with-dmalloc or --without-dmalloc was given.
2753 if test "${with_dmalloc+set}" = set; then
2754 withval="$with_dmalloc"
2756 if test "$withval" = yes; then
2757 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2759 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2764 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2765 if test "x$LINE" != x ; then
2766 eval "DEFAULT_$LINE"
2771 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2775 eval "$ac_cv_use_dmalloc"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2780 if test "$wxUSE_DMALLOC" = yes; then
2781 echo "$as_me:$LINENO: result: yes" >&5
2782 echo "${ECHO_T}yes" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2789 echo "$as_me:$LINENO: checking for --with-regex" >&5
2790 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2793 # Check whether --with-regex or --without-regex was given.
2794 if test "${with_regex+set}" = set; then
2795 withval="$with_regex"
2797 if test "$withval" = yes; then
2798 ac_cv_use_regex='wxUSE_REGEX
=yes'
2799 elif test "$withval" = no; then
2800 ac_cv_use_regex='wxUSE_REGEX
=no
'
2801 elif test "$withval" = sys; then
2802 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2803 elif test "$withval" = builtin; then
2804 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2806 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2807 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2808 { (exit 1); exit 1; }; }
2813 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x ; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2824 eval "$ac_cv_use_regex"
2825 if test "$no_cache" != 1; then
2826 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2829 if test "$wxUSE_REGEX" = yes; then
2830 echo "$as_me:$LINENO: result: yes" >&5
2831 echo "${ECHO_T}yes" >&6
2832 elif test "$wxUSE_REGEX" = no; then
2833 echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2835 elif test "$wxUSE_REGEX" = sys; then
2836 echo "$as_me:$LINENO: result: system version" >&5
2837 echo "${ECHO_T}system version" >&6
2838 elif test "$wxUSE_REGEX" = builtin; then
2839 echo "$as_me:$LINENO: result: builtin version" >&5
2840 echo "${ECHO_T}builtin version" >&6
2842 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2843 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2844 { (exit 1); exit 1; }; }
2848 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2849 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2852 # Check whether --with-zlib or --without-zlib was given.
2853 if test "${with_zlib+set}" = set; then
2854 withval="$with_zlib"
2856 if test "$withval" = yes; then
2857 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2858 elif test "$withval" = no; then
2859 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2860 elif test "$withval" = sys; then
2861 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2862 elif test "$withval" = builtin; then
2863 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2865 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2866 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2867 { (exit 1); exit 1; }; }
2872 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2873 if test "x$LINE" != x ; then
2874 eval "DEFAULT_$LINE"
2879 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2883 eval "$ac_cv_use_zlib"
2884 if test "$no_cache" != 1; then
2885 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2888 if test "$wxUSE_ZLIB" = yes; then
2889 echo "$as_me:$LINENO: result: yes" >&5
2890 echo "${ECHO_T}yes" >&6
2891 elif test "$wxUSE_ZLIB" = no; then
2892 echo "$as_me:$LINENO: result: no" >&5
2893 echo "${ECHO_T}no" >&6
2894 elif test "$wxUSE_ZLIB" = sys; then
2895 echo "$as_me:$LINENO: result: system version" >&5
2896 echo "${ECHO_T}system version" >&6
2897 elif test "$wxUSE_ZLIB" = builtin; then
2898 echo "$as_me:$LINENO: result: builtin version" >&5
2899 echo "${ECHO_T}builtin version" >&6
2901 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2902 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2903 { (exit 1); exit 1; }; }
2907 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2908 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2911 # Check whether --with-odbc or --without-odbc was given.
2912 if test "${with_odbc+set}" = set; then
2913 withval="$with_odbc"
2915 if test "$withval" = yes; then
2916 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2917 elif test "$withval" = no; then
2918 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2919 elif test "$withval" = sys; then
2920 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2921 elif test "$withval" = builtin; then
2922 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2924 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2925 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2926 { (exit 1); exit 1; }; }
2931 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x ; then
2933 eval "DEFAULT_$LINE"
2938 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2942 eval "$ac_cv_use_odbc"
2943 if test "$no_cache" != 1; then
2944 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2947 if test "$wxUSE_ODBC" = yes; then
2948 echo "$as_me:$LINENO: result: yes" >&5
2949 echo "${ECHO_T}yes" >&6
2950 elif test "$wxUSE_ODBC" = no; then
2951 echo "$as_me:$LINENO: result: no" >&5
2952 echo "${ECHO_T}no" >&6
2953 elif test "$wxUSE_ODBC" = sys; then
2954 echo "$as_me:$LINENO: result: system version" >&5
2955 echo "${ECHO_T}system version" >&6
2956 elif test "$wxUSE_ODBC" = builtin; then
2957 echo "$as_me:$LINENO: result: builtin version" >&5
2958 echo "${ECHO_T}builtin version" >&6
2960 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2961 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2962 { (exit 1); exit 1; }; }
2969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
2970 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
2972 # Check whether --enable-shared or --disable-shared was given.
2973 if test "${enable_shared+set}" = set; then
2974 enableval="$enable_shared"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_shared='wxUSE_SHARED
=yes'
2979 ac_cv_use_shared='wxUSE_SHARED
=no
'
2984 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
2995 eval "$ac_cv_use_shared"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_SHARED" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-soname" >&5
3011 echo $ECHO_N "checking for --${enablestring:-enable}-soname... $ECHO_C" >&6
3013 # Check whether --enable-soname or --disable-soname was given.
3014 if test "${enable_soname+set}" = set; then
3015 enableval="$enable_soname"
3017 if test "$enableval" = yes; then
3018 ac_cv_use_soname='wxUSE_SONAME
=yes'
3020 ac_cv_use_soname='wxUSE_SONAME
=no
'
3025 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x ; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_soname='wxUSE_SONAME
='$DEFAULT_wxUSE_SONAME
3036 eval "$ac_cv_use_soname"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
3041 if test "$wxUSE_SONAME" = yes; then
3042 echo "$as_me:$LINENO: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3052 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3054 # Check whether --enable-optimise or --disable-optimise was given.
3055 if test "${enable_optimise+set}" = set; then
3056 enableval="$enable_optimise"
3058 if test "$enableval" = yes; then
3059 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3061 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3066 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3077 eval "$ac_cv_use_optimise"
3078 if test "$no_cache" != 1; then
3079 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3082 if test "$wxUSE_OPTIMISE" = yes; then
3083 echo "$as_me:$LINENO: result: yes" >&5
3084 echo "${ECHO_T}yes" >&6
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3093 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3095 # Check whether --enable-debug or --disable-debug was given.
3096 if test "${enable_debug+set}" = set; then
3097 enableval="$enable_debug"
3099 if test "$enableval" = yes; then
3100 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3102 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3107 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3118 eval "$ac_cv_use_debug"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_DEBUG" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3135 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3137 # Check whether --enable-precomp or --disable-precomp was given.
3138 if test "${enable_precomp+set}" = set; then
3139 enableval="$enable_precomp"
3141 if test "$enableval" = yes; then
3142 ac_cv_use_precomp='wxUSE_PRECOMP
=yes'
3144 ac_cv_use_precomp='wxUSE_PRECOMP
=no
'
3149 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_precomp='wxUSE_PRECOMP
='$DEFAULT_wxUSE_PRECOMP
3160 eval "$ac_cv_use_precomp"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_PRECOMP" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3174 if test "$wxUSE_DEBUG" = "yes"; then
3175 DEFAULT_wxUSE_DEBUG_FLAG=yes
3176 DEFAULT_wxUSE_DEBUG_INFO=yes
3177 elif test "$wxUSE_DEBUG" = "no"; then
3178 DEFAULT_wxUSE_DEBUG_FLAG=no
3179 DEFAULT_wxUSE_DEBUG_INFO=no
3184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3187 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3188 if test "${enable_debug_flag+set}" = set; then
3189 enableval="$enable_debug_flag"
3191 if test "$enableval" = yes; then
3192 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3194 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3199 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3210 eval "$ac_cv_use_debug_flag"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_DEBUG_FLAG" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3228 # Check whether --enable-debug_info or --disable-debug_info was given.
3229 if test "${enable_debug_info+set}" = set; then
3230 enableval="$enable_debug_info"
3232 if test "$enableval" = yes; then
3233 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3235 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3240 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3247 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3251 eval "$ac_cv_use_debug_info"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3256 if test "$wxUSE_DEBUG_INFO" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258 echo "${ECHO_T}yes" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3267 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3269 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3270 if test "${enable_debug_gdb+set}" = set; then
3271 enableval="$enable_debug_gdb"
3273 if test "$enableval" = yes; then
3274 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3276 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3281 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x ; then
3283 eval "DEFAULT_$LINE"
3288 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3292 eval "$ac_cv_use_debug_gdb"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3297 if test "$wxUSE_DEBUG_GDB" = yes; then
3298 echo "$as_me:$LINENO: result: yes" >&5
3299 echo "${ECHO_T}yes" >&6
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3308 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3310 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3311 if test "${enable_debug_cntxt+set}" = set; then
3312 enableval="$enable_debug_cntxt"
3314 if test "$enableval" = yes; then
3315 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3317 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3322 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x ; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3333 eval "$ac_cv_use_debug_cntxt"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3338 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3339 echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3349 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3351 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3352 if test "${enable_mem_tracing+set}" = set; then
3353 enableval="$enable_mem_tracing"
3355 if test "$enableval" = yes; then
3356 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3358 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3363 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x ; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3374 eval "$ac_cv_use_mem_tracing"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3379 if test "$wxUSE_MEM_TRACING" = yes; then
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3390 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3392 # Check whether --enable-profile or --disable-profile was given.
3393 if test "${enable_profile+set}" = set; then
3394 enableval="$enable_profile"
3396 if test "$enableval" = yes; then
3397 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3399 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3404 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x ; then
3406 eval "DEFAULT_$LINE"
3411 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3415 eval "$ac_cv_use_profile"
3416 if test "$no_cache" != 1; then
3417 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3420 if test "$wxUSE_PROFILE" = yes; then
3421 echo "$as_me:$LINENO: result: yes" >&5
3422 echo "${ECHO_T}yes" >&6
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3431 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3433 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3434 if test "${enable_no_rtti+set}" = set; then
3435 enableval="$enable_no_rtti"
3437 if test "$enableval" = yes; then
3438 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3440 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3445 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3456 eval "$ac_cv_use_no_rtti"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_NO_RTTI" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3474 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3475 if test "${enable_no_exceptions+set}" = set; then
3476 enableval="$enable_no_exceptions"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3481 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3486 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x ; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3497 eval "$ac_cv_use_no_exceptions"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3503 echo "$as_me:$LINENO: result: yes" >&5
3504 echo "${ECHO_T}yes" >&6
3506 echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6
3512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3513 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3515 # Check whether --enable-permissive or --disable-permissive was given.
3516 if test "${enable_permissive+set}" = set; then
3517 enableval="$enable_permissive"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3522 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3527 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x ; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3538 eval "$ac_cv_use_permissive"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_PERMISSIVE" = yes; then
3544 echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3556 # Check whether --enable-no_deps or --disable-no_deps was given.
3557 if test "${enable_no_deps+set}" = set; then
3558 enableval="$enable_no_deps"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3563 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3568 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x ; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3579 eval "$ac_cv_use_no_deps"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_NO_DEPS" = yes; then
3585 echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3596 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3598 # Check whether --enable-compat20 or --disable-compat20 was given.
3599 if test "${enable_compat20+set}" = set; then
3600 enableval="$enable_compat20"
3602 if test "$enableval" = yes; then
3603 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=yes'
3605 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=no
'
3610 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x ; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
='$DEFAULT_WXWIN_COMPATIBILITY_2
3621 eval "$ac_cv_use_compat20"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3626 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3637 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3639 # Check whether --enable-compat22 or --disable-compat22 was given.
3640 if test "${enable_compat22+set}" = set; then
3641 enableval="$enable_compat22"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3646 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3651 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x ; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3662 eval "$ac_cv_use_compat22"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3667 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3668 echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3676 enablestring=disable
3677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3678 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3680 # Check whether --enable-compat24 or --disable-compat24 was given.
3681 if test "${enable_compat24+set}" = set; then
3682 enableval="$enable_compat24"
3684 if test "$enableval" = yes; then
3685 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3687 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3692 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3693 if test "x$LINE" != x ; then
3694 eval "DEFAULT_$LINE"
3699 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3703 eval "$ac_cv_use_compat24"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3708 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3709 echo "$as_me:$LINENO: result: yes" >&5
3710 echo "${ECHO_T}yes" >&6
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3717 # Check whether --enable-rpath or --disable-rpath was given.
3718 if test "${enable_rpath+set}" = set; then
3719 enableval="$enable_rpath"
3720 wxRPATH_DIR="$enableval"
3723 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3724 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3734 # Check whether --enable-intl or --disable-intl was given.
3735 if test "${enable_intl+set}" = set; then
3736 enableval="$enable_intl"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_intl='wxUSE_INTL
=yes'
3741 ac_cv_use_intl='wxUSE_INTL
=no
'
3746 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3757 eval "$ac_cv_use_intl"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_INTL" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3775 # Check whether --enable-config or --disable-config was given.
3776 if test "${enable_config+set}" = set; then
3777 enableval="$enable_config"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_config='wxUSE_CONFIG
=yes'
3782 ac_cv_use_config='wxUSE_CONFIG
=no
'
3787 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x ; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3798 eval "$ac_cv_use_config"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3803 if test "$wxUSE_CONFIG" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3817 # Check whether --enable-protocols or --disable-protocols was given.
3818 if test "${enable_protocols+set}" = set; then
3819 enableval="$enable_protocols"
3821 if test "$enableval" = yes; then
3822 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3824 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3829 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x ; then
3831 eval "DEFAULT_$LINE"
3836 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3840 eval "$ac_cv_use_protocols"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3845 if test "$wxUSE_PROTOCOL" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3858 # Check whether --enable-ftp or --disable-ftp was given.
3859 if test "${enable_ftp+set}" = set; then
3860 enableval="$enable_ftp"
3862 if test "$enableval" = yes; then
3863 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3865 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3870 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x ; then
3872 eval "DEFAULT_$LINE"
3877 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3881 eval "$ac_cv_use_ftp"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3886 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3899 # Check whether --enable-http or --disable-http was given.
3900 if test "${enable_http+set}" = set; then
3901 enableval="$enable_http"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3906 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3911 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3922 eval "$ac_cv_use_http"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3927 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3940 # Check whether --enable-fileproto or --disable-fileproto was given.
3941 if test "${enable_fileproto+set}" = set; then
3942 enableval="$enable_fileproto"
3944 if test "$enableval" = yes; then
3945 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
3947 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
3952 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3959 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
3963 eval "$ac_cv_use_fileproto"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3979 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3981 # Check whether --enable-sockets or --disable-sockets was given.
3982 if test "${enable_sockets+set}" = set; then
3983 enableval="$enable_sockets"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
3988 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
3993 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4004 eval "$ac_cv_use_sockets"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_SOCKETS" = yes; then
4010 echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4022 # Check whether --enable-ole or --disable-ole was given.
4023 if test "${enable_ole+set}" = set; then
4024 enableval="$enable_ole"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_ole='wxUSE_OLE
=yes'
4029 ac_cv_use_ole='wxUSE_OLE
=no
'
4034 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x ; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4045 eval "$ac_cv_use_ole"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_OLE" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4063 # Check whether --enable-dataobj or --disable-dataobj was given.
4064 if test "${enable_dataobj+set}" = set; then
4065 enableval="$enable_dataobj"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4070 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4075 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x ; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4086 eval "$ac_cv_use_dataobj"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4091 if test "$wxUSE_DATAOBJ" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4103 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4105 # Check whether --enable-ipc or --disable-ipc was given.
4106 if test "${enable_ipc+set}" = set; then
4107 enableval="$enable_ipc"
4109 if test "$enableval" = yes; then
4110 ac_cv_use_ipc='wxUSE_IPC
=yes'
4112 ac_cv_use_ipc='wxUSE_IPC
=no
'
4117 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x ; then
4119 eval "DEFAULT_$LINE"
4124 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4128 eval "$ac_cv_use_ipc"
4129 if test "$no_cache" != 1; then
4130 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4133 if test "$wxUSE_IPC" = yes; then
4134 echo "$as_me:$LINENO: result: yes" >&5
4135 echo "${ECHO_T}yes" >&6
4137 echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4147 # Check whether --enable-cmdline or --disable-cmdline was given.
4148 if test "${enable_cmdline+set}" = set; then
4149 enableval="$enable_cmdline"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4159 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x ; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4170 eval "$ac_cv_use_cmdline"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4188 # Check whether --enable-datetime or --disable-datetime was given.
4189 if test "${enable_datetime+set}" = set; then
4190 enableval="$enable_datetime"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4195 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4200 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x ; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4211 eval "$ac_cv_use_datetime"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_DATETIME" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4229 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4230 if test "${enable_stopwatch+set}" = set; then
4231 enableval="$enable_stopwatch"
4233 if test "$enableval" = yes; then
4234 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4236 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4241 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x ; then
4243 eval "DEFAULT_$LINE"
4248 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4252 eval "$ac_cv_use_stopwatch"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_STOPWATCH" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4270 # Check whether --enable-dialupman or --disable-dialupman was given.
4271 if test "${enable_dialupman+set}" = set; then
4272 enableval="$enable_dialupman"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4282 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x ; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4293 eval "$ac_cv_use_dialupman"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4311 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4312 if test "${enable_apple_ieee+set}" = set; then
4313 enableval="$enable_apple_ieee"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4318 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4323 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4334 eval "$ac_cv_use_apple_ieee"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_APPLE_IEEE" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4352 # Check whether --enable-timer or --disable-timer was given.
4353 if test "${enable_timer+set}" = set; then
4354 enableval="$enable_timer"
4356 if test "$enableval" = yes; then
4357 ac_cv_use_timer='wxUSE_TIMER
=yes'
4359 ac_cv_use_timer='wxUSE_TIMER
=no
'
4364 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x ; then
4366 eval "DEFAULT_$LINE"
4371 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4375 eval "$ac_cv_use_timer"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_TIMER" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4393 # Check whether --enable-wave or --disable-wave was given.
4394 if test "${enable_wave+set}" = set; then
4395 enableval="$enable_wave"
4397 if test "$enableval" = yes; then
4398 ac_cv_use_wave='wxUSE_WAVE
=yes'
4400 ac_cv_use_wave='wxUSE_WAVE
=no
'
4405 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4412 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4416 eval "$ac_cv_use_wave"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4421 if test "$wxUSE_WAVE" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4434 # Check whether --enable-fraction or --disable-fraction was given.
4435 if test "${enable_fraction+set}" = set; then
4436 enableval="$enable_fraction"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4441 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4446 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4457 eval "$ac_cv_use_fraction"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_FRACTION" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4475 # Check whether --enable-dynlib or --disable-dynlib was given.
4476 if test "${enable_dynlib+set}" = set; then
4477 enableval="$enable_dynlib"
4479 if test "$enableval" = yes; then
4480 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4482 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4487 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4494 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4498 eval "$ac_cv_use_dynlib"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4516 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4517 if test "${enable_dynamicloader+set}" = set; then
4518 enableval="$enable_dynamicloader"
4520 if test "$enableval" = yes; then
4521 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4523 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4528 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x ; then
4530 eval "DEFAULT_$LINE"
4535 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4539 eval "$ac_cv_use_dynamicloader"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4557 # Check whether --enable-longlong or --disable-longlong was given.
4558 if test "${enable_longlong+set}" = set; then
4559 enableval="$enable_longlong"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4564 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4569 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x ; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4580 eval "$ac_cv_use_longlong"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4585 if test "$wxUSE_LONGLONG" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4598 # Check whether --enable-geometry or --disable-geometry was given.
4599 if test "${enable_geometry+set}" = set; then
4600 enableval="$enable_geometry"
4602 if test "$enableval" = yes; then
4603 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4605 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4610 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4617 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4621 eval "$ac_cv_use_geometry"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_GEOMETRY" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4639 # Check whether --enable-log or --disable-log was given.
4640 if test "${enable_log+set}" = set; then
4641 enableval="$enable_log"
4643 if test "$enableval" = yes; then
4644 ac_cv_use_log='wxUSE_LOG
=yes'
4646 ac_cv_use_log='wxUSE_LOG
=no
'
4651 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x ; then
4653 eval "DEFAULT_$LINE"
4658 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4662 eval "$ac_cv_use_log"
4663 if test "$no_cache" != 1; then
4664 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4667 if test "$wxUSE_LOG" = yes; then
4668 echo "$as_me:$LINENO: result: yes" >&5
4669 echo "${ECHO_T}yes" >&6
4671 echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6
4677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4678 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4680 # Check whether --enable-streams or --disable-streams was given.
4681 if test "${enable_streams+set}" = set; then
4682 enableval="$enable_streams"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4687 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4692 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x ; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4703 eval "$ac_cv_use_streams"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4708 if test "$wxUSE_STREAMS" = yes; then
4709 echo "$as_me:$LINENO: result: yes" >&5
4710 echo "${ECHO_T}yes" >&6
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4719 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4721 # Check whether --enable-file or --disable-file was given.
4722 if test "${enable_file+set}" = set; then
4723 enableval="$enable_file"
4725 if test "$enableval" = yes; then
4726 ac_cv_use_file='wxUSE_FILE
=yes'
4728 ac_cv_use_file='wxUSE_FILE
=no
'
4733 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x ; then
4735 eval "DEFAULT_$LINE"
4740 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4744 eval "$ac_cv_use_file"
4745 if test "$no_cache" != 1; then
4746 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4749 if test "$wxUSE_FILE" = yes; then
4750 echo "$as_me:$LINENO: result: yes" >&5
4751 echo "${ECHO_T}yes" >&6
4753 echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4762 # Check whether --enable-ffile or --disable-ffile was given.
4763 if test "${enable_ffile+set}" = set; then
4764 enableval="$enable_ffile"
4766 if test "$enableval" = yes; then
4767 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4769 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4774 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4781 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4785 eval "$ac_cv_use_ffile"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_FFILE" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4801 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4803 # Check whether --enable-textbuf or --disable-textbuf was given.
4804 if test "${enable_textbuf+set}" = set; then
4805 enableval="$enable_textbuf"
4807 if test "$enableval" = yes; then
4808 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4810 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4815 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4822 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4826 eval "$ac_cv_use_textbuf"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_TEXTBUFFER" = yes; then
4832 echo "$as_me:$LINENO: result: yes" >&5
4833 echo "${ECHO_T}yes" >&6
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4844 # Check whether --enable-textfile or --disable-textfile was given.
4845 if test "${enable_textfile+set}" = set; then
4846 enableval="$enable_textfile"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4851 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4856 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4867 eval "$ac_cv_use_textfile"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_TEXTFILE" = yes; then
4873 echo "$as_me:$LINENO: result: yes" >&5
4874 echo "${ECHO_T}yes" >&6
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4885 # Check whether --enable-fontmap or --disable-fontmap was given.
4886 if test "${enable_fontmap+set}" = set; then
4887 enableval="$enable_fontmap"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4892 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4897 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4908 eval "$ac_cv_use_fontmap"
4909 if test "$no_cache" != 1; then
4910 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4913 if test "$wxUSE_FONTMAP" = yes; then
4914 echo "$as_me:$LINENO: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4926 # Check whether --enable-unicode or --disable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval="$enable_unicode"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4933 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4938 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
4949 eval "$ac_cv_use_unicode"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_UNICODE" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4967 # Check whether --enable-mslu or --disable-mslu was given.
4968 if test "${enable_mslu+set}" = set; then
4969 enableval="$enable_mslu"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4974 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4979 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
4990 eval "$ac_cv_use_mslu"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4995 if test "$wxUSE_UNICODE_MSLU" = yes; then
4996 echo "$as_me:$LINENO: result: yes" >&5
4997 echo "${ECHO_T}yes" >&6
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5008 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5009 if test "${enable_wxprintfv+set}" = set; then
5010 enableval="$enable_wxprintfv"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5015 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5020 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x ; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5031 eval "$ac_cv_use_wxprintfv"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5037 echo "$as_me:$LINENO: result: yes" >&5
5038 echo "${ECHO_T}yes" >&6
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5049 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5050 if test "${enable_std_iostreams+set}" = set; then
5051 enableval="$enable_std_iostreams"
5053 if test "$enableval" = yes; then
5054 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5056 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5061 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5062 if test "x$LINE" != x ; then
5063 eval "DEFAULT_$LINE"
5068 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5072 eval "$ac_cv_use_std_iostreams"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5077 if test "$wxUSE_STD_IOSTREAM" = yes; then
5078 echo "$as_me:$LINENO: result: yes" >&5
5079 echo "${ECHO_T}yes" >&6
5081 echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6
5087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5088 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5090 # Check whether --enable-filesystem or --disable-filesystem was given.
5091 if test "${enable_filesystem+set}" = set; then
5092 enableval="$enable_filesystem"
5094 if test "$enableval" = yes; then
5095 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5097 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5102 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5103 if test "x$LINE" != x ; then
5104 eval "DEFAULT_$LINE"
5109 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5113 eval "$ac_cv_use_filesystem"
5114 if test "$no_cache" != 1; then
5115 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5118 if test "$wxUSE_FILESYSTEM" = yes; then
5119 echo "$as_me:$LINENO: result: yes" >&5
5120 echo "${ECHO_T}yes" >&6
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5129 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5131 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5132 if test "${enable_fs_inet+set}" = set; then
5133 enableval="$enable_fs_inet"
5135 if test "$enableval" = yes; then
5136 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5138 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5143 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5150 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5154 eval "$ac_cv_use_fs_inet"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5159 if test "$wxUSE_FS_INET" = yes; then
5160 echo "$as_me:$LINENO: result: yes" >&5
5161 echo "${ECHO_T}yes" >&6
5163 echo "$as_me:$LINENO: result: no" >&5
5164 echo "${ECHO_T}no" >&6
5169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5170 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5172 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5173 if test "${enable_fs_zip+set}" = set; then
5174 enableval="$enable_fs_zip"
5176 if test "$enableval" = yes; then
5177 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5179 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5184 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5191 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5195 eval "$ac_cv_use_fs_zip"
5196 if test "$no_cache" != 1; then
5197 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5200 if test "$wxUSE_FS_ZIP" = yes; then
5201 echo "$as_me:$LINENO: result: yes" >&5
5202 echo "${ECHO_T}yes" >&6
5204 echo "$as_me:$LINENO: result: no" >&5
5205 echo "${ECHO_T}no" >&6
5210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5213 # Check whether --enable-zipstream or --disable-zipstream was given.
5214 if test "${enable_zipstream+set}" = set; then
5215 enableval="$enable_zipstream"
5217 if test "$enableval" = yes; then
5218 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5220 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5225 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5226 if test "x$LINE" != x ; then
5227 eval "DEFAULT_$LINE"
5232 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5236 eval "$ac_cv_use_zipstream"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_ZIPSTREAM" = yes; then
5242 echo "$as_me:$LINENO: result: yes" >&5
5243 echo "${ECHO_T}yes" >&6
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5255 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5256 if test "${enable_catch_segvs+set}" = set; then
5257 enableval="$enable_catch_segvs"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5262 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5267 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5278 eval "$ac_cv_use_catch_segvs"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5296 # Check whether --enable-snglinst or --disable-snglinst was given.
5297 if test "${enable_snglinst+set}" = set; then
5298 enableval="$enable_snglinst"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5303 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5308 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5319 eval "$ac_cv_use_snglinst"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5338 # Check whether --enable-mimetype or --disable-mimetype was given.
5339 if test "${enable_mimetype+set}" = set; then
5340 enableval="$enable_mimetype"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5350 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5361 eval "$ac_cv_use_mimetype"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_MIMETYPE" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5379 # Check whether --enable-system_options or --disable-system_options was given.
5380 if test "${enable_system_options+set}" = set; then
5381 enableval="$enable_system_options"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5386 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5391 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5402 eval "$ac_cv_use_system_options"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5419 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5421 # Check whether --enable-url or --disable-url was given.
5422 if test "${enable_url+set}" = set; then
5423 enableval="$enable_url"
5425 if test "$enableval" = yes; then
5426 ac_cv_use_url='wxUSE_URL
=yes'
5428 ac_cv_use_url='wxUSE_URL
=no
'
5433 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x ; then
5435 eval "DEFAULT_$LINE"
5440 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5444 eval "$ac_cv_use_url"
5445 if test "$no_cache" != 1; then
5446 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5449 if test "$wxUSE_URL" = yes; then
5450 echo "$as_me:$LINENO: result: yes" >&5
5451 echo "${ECHO_T}yes" >&6
5453 echo "$as_me:$LINENO: result: no" >&5
5454 echo "${ECHO_T}no" >&6
5459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5460 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5462 # Check whether --enable-protocol or --disable-protocol was given.
5463 if test "${enable_protocol+set}" = set; then
5464 enableval="$enable_protocol"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5469 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5474 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x ; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5485 eval "$ac_cv_use_protocol"
5486 if test "$no_cache" != 1; then
5487 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5490 if test "$wxUSE_PROTOCOL" = yes; then
5491 echo "$as_me:$LINENO: result: yes" >&5
5492 echo "${ECHO_T}yes" >&6
5494 echo "$as_me:$LINENO: result: no" >&5
5495 echo "${ECHO_T}no" >&6
5500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5501 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5503 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5504 if test "${enable_protocol_http+set}" = set; then
5505 enableval="$enable_protocol_http"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5515 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x ; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5526 eval "$ac_cv_use_protocol_http"
5527 if test "$no_cache" != 1; then
5528 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5531 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5532 echo "$as_me:$LINENO: result: yes" >&5
5533 echo "${ECHO_T}yes" >&6
5535 echo "$as_me:$LINENO: result: no" >&5
5536 echo "${ECHO_T}no" >&6
5541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5544 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5545 if test "${enable_protocol_ftp+set}" = set; then
5546 enableval="$enable_protocol_ftp"
5548 if test "$enableval" = yes; then
5549 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5556 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5557 if test "x$LINE" != x ; then
5558 eval "DEFAULT_$LINE"
5563 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5567 eval "$ac_cv_use_protocol_ftp"
5568 if test "$no_cache" != 1; then
5569 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5572 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5573 echo "$as_me:$LINENO: result: yes" >&5
5574 echo "${ECHO_T}yes" >&6
5576 echo "$as_me:$LINENO: result: no" >&5
5577 echo "${ECHO_T}no" >&6
5582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5585 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5586 if test "${enable_protocol_file+set}" = set; then
5587 enableval="$enable_protocol_file"
5589 if test "$enableval" = yes; then
5590 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5597 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5598 if test "x$LINE" != x ; then
5599 eval "DEFAULT_$LINE"
5604 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5608 eval "$ac_cv_use_protocol_file"
5609 if test "$no_cache" != 1; then
5610 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5613 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5614 echo "$as_me:$LINENO: result: yes" >&5
5615 echo "${ECHO_T}yes" >&6
5617 echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5629 # Check whether --enable-threads or --disable-threads was given.
5630 if test "${enable_threads+set}" = set; then
5631 enableval="$enable_threads"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_threads='wxUSE_THREADS
=yes'
5636 ac_cv_use_threads='wxUSE_THREADS
=no
'
5641 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x ; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5652 eval "$ac_cv_use_threads"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5657 if test "$wxUSE_THREADS" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5666 if test "$wxUSE_GUI" = "yes"; then
5671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5672 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5674 # Check whether --enable-docview or --disable-docview was given.
5675 if test "${enable_docview+set}" = set; then
5676 enableval="$enable_docview"
5678 if test "$enableval" = yes; then
5679 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5686 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5687 if test "x$LINE" != x ; then
5688 eval "DEFAULT_$LINE"
5693 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5697 eval "$ac_cv_use_docview"
5698 if test "$no_cache" != 1; then
5699 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5702 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5703 echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6
5706 echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6
5712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5715 # Check whether --enable-help or --disable-help was given.
5716 if test "${enable_help+set}" = set; then
5717 enableval="$enable_help"
5719 if test "$enableval" = yes; then
5720 ac_cv_use_help='wxUSE_HELP
=yes'
5722 ac_cv_use_help='wxUSE_HELP
=no
'
5727 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5728 if test "x$LINE" != x ; then
5729 eval "DEFAULT_$LINE"
5734 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5738 eval "$ac_cv_use_help"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5743 if test "$wxUSE_HELP" = yes; then
5744 echo "$as_me:$LINENO: result: yes" >&5
5745 echo "${ECHO_T}yes" >&6
5747 echo "$as_me:$LINENO: result: no" >&5
5748 echo "${ECHO_T}no" >&6
5753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5756 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5757 if test "${enable_mshtmlhelp+set}" = set; then
5758 enableval="$enable_mshtmlhelp"
5760 if test "$enableval" = yes; then
5761 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5768 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x ; then
5770 eval "DEFAULT_$LINE"
5775 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5779 eval "$ac_cv_use_mshtmlhelp"
5780 if test "$no_cache" != 1; then
5781 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5784 if test "$wxUSE_MS_HTML_HELP" = yes; then
5785 echo "$as_me:$LINENO: result: yes" >&5
5786 echo "${ECHO_T}yes" >&6
5788 echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6
5794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5797 # Check whether --enable-html or --disable-html was given.
5798 if test "${enable_html+set}" = set; then
5799 enableval="$enable_html"
5801 if test "$enableval" = yes; then
5802 ac_cv_use_html='wxUSE_HTML
=yes'
5804 ac_cv_use_html='wxUSE_HTML
=no
'
5809 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5810 if test "x$LINE" != x ; then
5811 eval "DEFAULT_$LINE"
5816 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5820 eval "$ac_cv_use_html"
5821 if test "$no_cache" != 1; then
5822 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5825 if test "$wxUSE_HTML" = yes; then
5826 echo "$as_me:$LINENO: result: yes" >&5
5827 echo "${ECHO_T}yes" >&6
5829 echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6
5835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5838 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5839 if test "${enable_htmlhelp+set}" = set; then
5840 enableval="$enable_htmlhelp"
5842 if test "$enableval" = yes; then
5843 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5850 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x ; then
5852 eval "DEFAULT_$LINE"
5857 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5861 eval "$ac_cv_use_htmlhelp"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5866 if test "$wxUSE_WXHTML_HELP" = yes; then
5867 echo "$as_me:$LINENO: result: yes" >&5
5868 echo "${ECHO_T}yes" >&6
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5879 # Check whether --enable-constraints or --disable-constraints was given.
5880 if test "${enable_constraints+set}" = set; then
5881 enableval="$enable_constraints"
5883 if test "$enableval" = yes; then
5884 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5886 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5891 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5898 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5902 eval "$ac_cv_use_constraints"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5907 if test "$wxUSE_CONSTRAINTS" = yes; then
5908 echo "$as_me:$LINENO: result: yes" >&5
5909 echo "${ECHO_T}yes" >&6
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5918 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5920 # Check whether --enable-printarch or --disable-printarch was given.
5921 if test "${enable_printarch+set}" = set; then
5922 enableval="$enable_printarch"
5924 if test "$enableval" = yes; then
5925 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5927 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5932 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x ; then
5934 eval "DEFAULT_$LINE"
5939 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5943 eval "$ac_cv_use_printarch"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5948 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5949 echo "$as_me:$LINENO: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5961 # Check whether --enable-mdi or --disable-mdi was given.
5962 if test "${enable_mdi+set}" = set; then
5963 enableval="$enable_mdi"
5965 if test "$enableval" = yes; then
5966 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
5968 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
5973 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5980 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5984 eval "$ac_cv_use_mdi"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5989 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6000 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6002 # Check whether --enable-loggui or --disable-loggui was given.
6003 if test "${enable_loggui+set}" = set; then
6004 enableval="$enable_loggui"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6009 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6014 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x ; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6025 eval "$ac_cv_use_loggui"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6030 if test "$wxUSE_LOGGUI" = yes; then
6031 echo "$as_me:$LINENO: result: yes" >&5
6032 echo "${ECHO_T}yes" >&6
6034 echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6
6040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6041 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6043 # Check whether --enable-logwin or --disable-logwin was given.
6044 if test "${enable_logwin+set}" = set; then
6045 enableval="$enable_logwin"
6047 if test "$enableval" = yes; then
6048 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6050 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6055 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6056 if test "x$LINE" != x ; then
6057 eval "DEFAULT_$LINE"
6062 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6066 eval "$ac_cv_use_logwin"
6067 if test "$no_cache" != 1; then
6068 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6071 if test "$wxUSE_LOGWINDOW" = yes; then
6072 echo "$as_me:$LINENO: result: yes" >&5
6073 echo "${ECHO_T}yes" >&6
6075 echo "$as_me:$LINENO: result: no" >&5
6076 echo "${ECHO_T}no" >&6
6081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6082 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6084 # Check whether --enable-logdialog or --disable-logdialog was given.
6085 if test "${enable_logdialog+set}" = set; then
6086 enableval="$enable_logdialog"
6088 if test "$enableval" = yes; then
6089 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6091 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6096 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x ; then
6098 eval "DEFAULT_$LINE"
6103 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6107 eval "$ac_cv_use_logdialog"
6108 if test "$no_cache" != 1; then
6109 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6112 if test "$wxUSE_LOGDIALOG" = yes; then
6113 echo "$as_me:$LINENO: result: yes" >&5
6114 echo "${ECHO_T}yes" >&6
6116 echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6
6123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6126 # Check whether --enable-postscript or --disable-postscript was given.
6127 if test "${enable_postscript+set}" = set; then
6128 enableval="$enable_postscript"
6130 if test "$enableval" = yes; then
6131 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6133 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6138 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x ; then
6140 eval "DEFAULT_$LINE"
6145 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6149 eval "$ac_cv_use_postscript"
6150 if test "$no_cache" != 1; then
6151 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6154 if test "$wxUSE_POSTSCRIPT" = yes; then
6155 echo "$as_me:$LINENO: result: yes" >&5
6156 echo "${ECHO_T}yes" >&6
6158 echo "$as_me:$LINENO: result: no" >&5
6159 echo "${ECHO_T}no" >&6
6167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6170 # Check whether --enable-prologio or --disable-prologio was given.
6171 if test "${enable_prologio+set}" = set; then
6172 enableval="$enable_prologio"
6174 if test "$enableval" = yes; then
6175 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6177 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6182 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6189 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6193 eval "$ac_cv_use_prologio"
6194 if test "$no_cache" != 1; then
6195 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6198 if test "$wxUSE_PROLOGIO" = yes; then
6199 echo "$as_me:$LINENO: result: yes" >&5
6200 echo "${ECHO_T}yes" >&6
6202 echo "$as_me:$LINENO: result: no" >&5
6203 echo "${ECHO_T}no" >&6
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6211 # Check whether --enable-resources or --disable-resources was given.
6212 if test "${enable_resources+set}" = set; then
6213 enableval="$enable_resources"
6215 if test "$enableval" = yes; then
6216 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6218 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6223 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6230 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6234 eval "$ac_cv_use_resources"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6239 if test "$wxUSE_RESOURCES" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6254 # Check whether --enable-clipboard or --disable-clipboard was given.
6255 if test "${enable_clipboard+set}" = set; then
6256 enableval="$enable_clipboard"
6258 if test "$enableval" = yes; then
6259 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6261 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6266 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6267 if test "x$LINE" != x ; then
6268 eval "DEFAULT_$LINE"
6273 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6277 eval "$ac_cv_use_clipboard"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6282 if test "$wxUSE_CLIPBOARD" = yes; then
6283 echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6
6286 echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6
6292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6295 # Check whether --enable-dnd or --disable-dnd was given.
6296 if test "${enable_dnd+set}" = set; then
6297 enableval="$enable_dnd"
6299 if test "$enableval" = yes; then
6300 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6302 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6307 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6308 if test "x$LINE" != x ; then
6309 eval "DEFAULT_$LINE"
6314 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6318 eval "$ac_cv_use_dnd"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6323 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6324 echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6
6327 echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6
6333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6336 # Check whether --enable-metafile or --disable-metafile was given.
6337 if test "${enable_metafile+set}" = set; then
6338 enableval="$enable_metafile"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6343 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6348 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x ; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6359 eval "$ac_cv_use_metafile"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6364 if test "$wxUSE_METAFILE" = yes; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6380 # Check whether --enable-controls or --disable-controls was given.
6381 if test "${enable_controls+set}" = set; then
6382 enableval="$enable_controls"
6384 if test "$enableval" = yes; then
6385 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6387 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6392 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x ; then
6394 eval "DEFAULT_$LINE"
6399 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6403 eval "$ac_cv_use_controls"
6404 if test "$no_cache" != 1; then
6405 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6408 if test "$wxUSE_CONTROLS" = yes; then
6409 echo "$as_me:$LINENO: result: yes" >&5
6410 echo "${ECHO_T}yes" >&6
6412 echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6
6417 if test "$wxUSE_CONTROLS" = "yes"; then
6418 DEFAULT_wxUSE_ACCEL=yes
6419 DEFAULT_wxUSE_BMPBUTTON=yes
6420 DEFAULT_wxUSE_BUTTON=yes
6421 DEFAULT_wxUSE_CALCTRL=no
6422 DEFAULT_wxUSE_CARET=yes
6423 DEFAULT_wxUSE_COMBOBOX=yes
6424 DEFAULT_wxUSE_CHECKBOX=yes
6425 DEFAULT_wxUSE_CHECKLISTBOX=yes
6426 DEFAULT_wxUSE_CHOICE=yes
6427 DEFAULT_wxUSE_GAUGE=yes
6428 DEFAULT_wxUSE_GRID=yes
6429 DEFAULT_wxUSE_IMAGLIST=yes
6430 DEFAULT_wxUSE_LISTBOX=yes
6431 DEFAULT_wxUSE_LISTCTRL=yes
6432 DEFAULT_wxUSE_NOTEBOOK=yes
6433 DEFAULT_wxUSE_RADIOBOX=yes
6434 DEFAULT_wxUSE_RADIOBTN=yes
6435 DEFAULT_wxUSE_SASH=yes
6436 DEFAULT_wxUSE_SCROLLBAR=yes
6437 DEFAULT_wxUSE_SLIDER=yes
6438 DEFAULT_wxUSE_SPINBTN=yes
6439 DEFAULT_wxUSE_SPINCTRL=yes
6440 DEFAULT_wxUSE_SPLITTER=yes
6441 DEFAULT_wxUSE_STATBMP=yes
6442 DEFAULT_wxUSE_STATBOX=yes
6443 DEFAULT_wxUSE_STATLINE=yes
6444 DEFAULT_wxUSE_STATUSBAR=yes
6445 DEFAULT_wxUSE_TAB_DIALOG=yes
6446 DEFAULT_wxUSE_TOGGLEBTN=yes
6447 DEFAULT_wxUSE_TOOLBAR=yes
6448 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6449 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6450 DEFAULT_wxUSE_TOOLTIPS=yes
6451 DEFAULT_wxUSE_TREECTRL=yes
6452 DEFAULT_wxUSE_POPUPWIN=yes
6453 DEFAULT_wxUSE_TIPWINDOW=yes
6454 elif test "$wxUSE_CONTROLS" = "no"; then
6455 DEFAULT_wxUSE_ACCEL=no
6456 DEFAULT_wxUSE_BMPBUTTON=no
6457 DEFAULT_wxUSE_BUTTON=no
6458 DEFAULT_wxUSE_CALCTRL=no
6459 DEFAULT_wxUSE_CARET=no
6460 DEFAULT_wxUSE_COMBOBOX=no
6461 DEFAULT_wxUSE_CHECKBOX=no
6462 DEFAULT_wxUSE_CHECKLISTBOX=no
6463 DEFAULT_wxUSE_CHOICE=no
6464 DEFAULT_wxUSE_GAUGE=no
6465 DEFAULT_wxUSE_GRID=no
6466 DEFAULT_wxUSE_IMAGLIST=no
6467 DEFAULT_wxUSE_LISTBOX=no
6468 DEFAULT_wxUSE_LISTCTRL=no
6469 DEFAULT_wxUSE_NOTEBOOK=no
6470 DEFAULT_wxUSE_RADIOBOX=no
6471 DEFAULT_wxUSE_RADIOBTN=no
6472 DEFAULT_wxUSE_SASH=no
6473 DEFAULT_wxUSE_SCROLLBAR=no
6474 DEFAULT_wxUSE_SLIDER=no
6475 DEFAULT_wxUSE_SPINBTN=no
6476 DEFAULT_wxUSE_SPINCTRL=no
6477 DEFAULT_wxUSE_SPLITTER=no
6478 DEFAULT_wxUSE_STATBMP=no
6479 DEFAULT_wxUSE_STATBOX=no
6480 DEFAULT_wxUSE_STATLINE=no
6481 DEFAULT_wxUSE_STATUSBAR=no
6482 DEFAULT_wxUSE_TAB_DIALOG=no
6483 DEFAULT_wxUSE_TOGGLEBTN=no
6484 DEFAULT_wxUSE_TOOLBAR=no
6485 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6486 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6487 DEFAULT_wxUSE_TOOLTIPS=no
6488 DEFAULT_wxUSE_TREECTRL=no
6489 DEFAULT_wxUSE_POPUPWIN=no
6490 DEFAULT_wxUSE_TIPWINDOW=no
6493 ## FIXME: This is a blatant hack
6494 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6495 wxUSE_PRINTING_ARCHITECTURE=no
6498 wxUSE_DRAG_AND_DROP=no
6500 # Generic notebook requires tab dialog
6501 DEFAULT_wxUSE_TABDIALOG=yes
6502 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6503 DEFAULT_wxUSE_GAUGE=no
6504 DEFAULT_wxUSE_SCROLLBAR=no
6505 DEFAULT_wxUSE_COMBOBOX=no
6506 DEFAULT_wxUSE_CALCTRL=no
6507 DEFAULT_wxUSE_SPINBTN=no
6508 DEFAULT_wxUSE_SPINCTRL=no
6509 DEFAULT_wxUSE_TOOLTIPS=no
6510 DEFAULT_wxUSE_DRAGIMAGE=no
6511 DEFAULT_wxUSE_FINDREPLDLG=no
6512 DEFAULT_wxUSE_FONTDLG=no
6513 DEFAULT_wxUSE_GRID=no
6514 DEFAULT_wxUSE_NUMBERDLG=no
6515 DEFAULT_wxUSE_PROGRESSDLG=no
6516 DEFAULT_wxUSE_SASH=no
6517 DEFAULT_wxUSE_SPLITTER=no
6518 DEFAULT_wxUSE_WIZARDDLG=no
6519 DEFAULT_wxUSE_SPLITTER=no
6520 DEFAULT_wxUSE_STARTUP_TIPS=no
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6528 # Check whether --enable-accel or --disable-accel was given.
6529 if test "${enable_accel+set}" = set; then
6530 enableval="$enable_accel"
6532 if test "$enableval" = yes; then
6533 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6535 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6540 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6547 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6551 eval "$ac_cv_use_accel"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6556 if test "$wxUSE_ACCEL" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6569 # Check whether --enable-button or --disable-button was given.
6570 if test "${enable_button+set}" = set; then
6571 enableval="$enable_button"
6573 if test "$enableval" = yes; then
6574 ac_cv_use_button='wxUSE_BUTTON
=yes'
6576 ac_cv_use_button='wxUSE_BUTTON
=no
'
6581 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6592 eval "$ac_cv_use_button"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6597 if test "$wxUSE_BUTTON" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6610 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6611 if test "${enable_bmpbutton+set}" = set; then
6612 enableval="$enable_bmpbutton"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6617 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6622 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6633 eval "$ac_cv_use_bmpbutton"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6638 if test "$wxUSE_BMPBUTTON" = yes; then
6639 echo "$as_me:$LINENO: result: yes" >&5
6640 echo "${ECHO_T}yes" >&6
6642 echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6
6648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6651 # Check whether --enable-calendar or --disable-calendar was given.
6652 if test "${enable_calendar+set}" = set; then
6653 enableval="$enable_calendar"
6655 if test "$enableval" = yes; then
6656 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6658 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6663 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6674 eval "$ac_cv_use_calendar"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_CALCTRL" = yes; then
6680 echo "$as_me:$LINENO: result: yes" >&5
6681 echo "${ECHO_T}yes" >&6
6683 echo "$as_me:$LINENO: result: no" >&5
6684 echo "${ECHO_T}no" >&6
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6692 # Check whether --enable-caret or --disable-caret was given.
6693 if test "${enable_caret+set}" = set; then
6694 enableval="$enable_caret"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_caret='wxUSE_CARET
=yes'
6699 ac_cv_use_caret='wxUSE_CARET
=no
'
6704 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6715 eval "$ac_cv_use_caret"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_CARET" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6733 # Check whether --enable-checkbox or --disable-checkbox was given.
6734 if test "${enable_checkbox+set}" = set; then
6735 enableval="$enable_checkbox"
6737 if test "$enableval" = yes; then
6738 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6740 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6745 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6752 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6756 eval "$ac_cv_use_checkbox"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_CHECKBOX" = yes; then
6762 echo "$as_me:$LINENO: result: yes" >&5
6763 echo "${ECHO_T}yes" >&6
6765 echo "$as_me:$LINENO: result: no" >&5
6766 echo "${ECHO_T}no" >&6
6771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6774 # Check whether --enable-checklst or --disable-checklst was given.
6775 if test "${enable_checklst+set}" = set; then
6776 enableval="$enable_checklst"
6778 if test "$enableval" = yes; then
6779 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6781 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6786 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6797 eval "$ac_cv_use_checklst"
6798 if test "$no_cache" != 1; then
6799 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6802 if test "$wxUSE_CHECKLST" = yes; then
6803 echo "$as_me:$LINENO: result: yes" >&5
6804 echo "${ECHO_T}yes" >&6
6806 echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6815 # Check whether --enable-choice or --disable-choice was given.
6816 if test "${enable_choice+set}" = set; then
6817 enableval="$enable_choice"
6819 if test "$enableval" = yes; then
6820 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6822 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6827 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6838 eval "$ac_cv_use_choice"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_CHOICE" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6856 # Check whether --enable-combobox or --disable-combobox was given.
6857 if test "${enable_combobox+set}" = set; then
6858 enableval="$enable_combobox"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6863 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6868 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6879 eval "$ac_cv_use_combobox"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6884 if test "$wxUSE_COMBOBOX" = yes; then
6885 echo "$as_me:$LINENO: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6888 echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6897 # Check whether --enable-display or --disable-display was given.
6898 if test "${enable_display+set}" = set; then
6899 enableval="$enable_display"
6901 if test "$enableval" = yes; then
6902 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6904 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6909 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6916 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6920 eval "$ac_cv_use_display"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6925 if test "$wxUSE_DISPLAY" = yes; then
6926 echo "$as_me:$LINENO: result: yes" >&5
6927 echo "${ECHO_T}yes" >&6
6929 echo "$as_me:$LINENO: result: no" >&5
6930 echo "${ECHO_T}no" >&6
6935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6938 # Check whether --enable-gauge or --disable-gauge was given.
6939 if test "${enable_gauge+set}" = set; then
6940 enableval="$enable_gauge"
6942 if test "$enableval" = yes; then
6943 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6945 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6950 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6961 eval "$ac_cv_use_gauge"
6962 if test "$no_cache" != 1; then
6963 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6966 if test "$wxUSE_GAUGE" = yes; then
6967 echo "$as_me:$LINENO: result: yes" >&5
6968 echo "${ECHO_T}yes" >&6
6970 echo "$as_me:$LINENO: result: no" >&5
6971 echo "${ECHO_T}no" >&6
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6979 # Check whether --enable-grid or --disable-grid was given.
6980 if test "${enable_grid+set}" = set; then
6981 enableval="$enable_grid"
6983 if test "$enableval" = yes; then
6984 ac_cv_use_grid='wxUSE_GRID
=yes'
6986 ac_cv_use_grid='wxUSE_GRID
=no
'
6991 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6998 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7002 eval "$ac_cv_use_grid"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7007 if test "$wxUSE_GRID" = yes; then
7008 echo "$as_me:$LINENO: result: yes" >&5
7009 echo "${ECHO_T}yes" >&6
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7020 # Check whether --enable-imaglist or --disable-imaglist was given.
7021 if test "${enable_imaglist+set}" = set; then
7022 enableval="$enable_imaglist"
7024 if test "$enableval" = yes; then
7025 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7027 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7032 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7043 eval "$ac_cv_use_imaglist"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7048 if test "$wxUSE_IMAGLIST" = yes; then
7049 echo "$as_me:$LINENO: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7059 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7061 # Check whether --enable-listbox or --disable-listbox was given.
7062 if test "${enable_listbox+set}" = set; then
7063 enableval="$enable_listbox"
7065 if test "$enableval" = yes; then
7066 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7068 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7073 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7080 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7084 eval "$ac_cv_use_listbox"
7085 if test "$no_cache" != 1; then
7086 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7089 if test "$wxUSE_LISTBOX" = yes; then
7090 echo "$as_me:$LINENO: result: yes" >&5
7091 echo "${ECHO_T}yes" >&6
7093 echo "$as_me:$LINENO: result: no" >&5
7094 echo "${ECHO_T}no" >&6
7099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7100 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7102 # Check whether --enable-listctrl or --disable-listctrl was given.
7103 if test "${enable_listctrl+set}" = set; then
7104 enableval="$enable_listctrl"
7106 if test "$enableval" = yes; then
7107 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7109 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7114 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7121 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7125 eval "$ac_cv_use_listctrl"
7126 if test "$no_cache" != 1; then
7127 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7130 if test "$wxUSE_LISTCTRL" = yes; then
7131 echo "$as_me:$LINENO: result: yes" >&5
7132 echo "${ECHO_T}yes" >&6
7134 echo "$as_me:$LINENO: result: no" >&5
7135 echo "${ECHO_T}no" >&6
7140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7141 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7143 # Check whether --enable-notebook or --disable-notebook was given.
7144 if test "${enable_notebook+set}" = set; then
7145 enableval="$enable_notebook"
7147 if test "$enableval" = yes; then
7148 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7150 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7155 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7162 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7166 eval "$ac_cv_use_notebook"
7167 if test "$no_cache" != 1; then
7168 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7171 if test "$wxUSE_NOTEBOOK" = yes; then
7172 echo "$as_me:$LINENO: result: yes" >&5
7173 echo "${ECHO_T}yes" >&6
7175 echo "$as_me:$LINENO: result: no" >&5
7176 echo "${ECHO_T}no" >&6
7181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7184 # Check whether --enable-radiobox or --disable-radiobox was given.
7185 if test "${enable_radiobox+set}" = set; then
7186 enableval="$enable_radiobox"
7188 if test "$enableval" = yes; then
7189 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7191 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7196 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7203 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7207 eval "$ac_cv_use_radiobox"
7208 if test "$no_cache" != 1; then
7209 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7212 if test "$wxUSE_RADIOBOX" = yes; then
7213 echo "$as_me:$LINENO: result: yes" >&5
7214 echo "${ECHO_T}yes" >&6
7216 echo "$as_me:$LINENO: result: no" >&5
7217 echo "${ECHO_T}no" >&6
7222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7225 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7226 if test "${enable_radiobtn+set}" = set; then
7227 enableval="$enable_radiobtn"
7229 if test "$enableval" = yes; then
7230 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7232 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7237 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7244 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7248 eval "$ac_cv_use_radiobtn"
7249 if test "$no_cache" != 1; then
7250 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7253 if test "$wxUSE_RADIOBTN" = yes; then
7254 echo "$as_me:$LINENO: result: yes" >&5
7255 echo "${ECHO_T}yes" >&6
7257 echo "$as_me:$LINENO: result: no" >&5
7258 echo "${ECHO_T}no" >&6
7263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7266 # Check whether --enable-sash or --disable-sash was given.
7267 if test "${enable_sash+set}" = set; then
7268 enableval="$enable_sash"
7270 if test "$enableval" = yes; then
7271 ac_cv_use_sash='wxUSE_SASH
=yes'
7273 ac_cv_use_sash='wxUSE_SASH
=no
'
7278 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7285 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7289 eval "$ac_cv_use_sash"
7290 if test "$no_cache" != 1; then
7291 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7294 if test "$wxUSE_SASH" = yes; then
7295 echo "$as_me:$LINENO: result: yes" >&5
7296 echo "${ECHO_T}yes" >&6
7298 echo "$as_me:$LINENO: result: no" >&5
7299 echo "${ECHO_T}no" >&6
7304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7305 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7307 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7308 if test "${enable_scrollbar+set}" = set; then
7309 enableval="$enable_scrollbar"
7311 if test "$enableval" = yes; then
7312 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7314 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7319 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7326 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7330 eval "$ac_cv_use_scrollbar"
7331 if test "$no_cache" != 1; then
7332 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7335 if test "$wxUSE_SCROLLBAR" = yes; then
7336 echo "$as_me:$LINENO: result: yes" >&5
7337 echo "${ECHO_T}yes" >&6
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7348 # Check whether --enable-slider or --disable-slider was given.
7349 if test "${enable_slider+set}" = set; then
7350 enableval="$enable_slider"
7352 if test "$enableval" = yes; then
7353 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7355 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7360 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7367 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7371 eval "$ac_cv_use_slider"
7372 if test "$no_cache" != 1; then
7373 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7376 if test "$wxUSE_SLIDER" = yes; then
7377 echo "$as_me:$LINENO: result: yes" >&5
7378 echo "${ECHO_T}yes" >&6
7380 echo "$as_me:$LINENO: result: no" >&5
7381 echo "${ECHO_T}no" >&6
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7389 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7390 if test "${enable_spinbtn+set}" = set; then
7391 enableval="$enable_spinbtn"
7393 if test "$enableval" = yes; then
7394 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7396 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7401 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7408 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7412 eval "$ac_cv_use_spinbtn"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7417 if test "$wxUSE_SPINBTN" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7430 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7431 if test "${enable_spinctrl+set}" = set; then
7432 enableval="$enable_spinctrl"
7434 if test "$enableval" = yes; then
7435 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7437 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7442 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7449 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7453 eval "$ac_cv_use_spinctrl"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7458 if test "$wxUSE_SPINCTRL" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7471 # Check whether --enable-splitter or --disable-splitter was given.
7472 if test "${enable_splitter+set}" = set; then
7473 enableval="$enable_splitter"
7475 if test "$enableval" = yes; then
7476 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7478 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7483 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x ; then
7485 eval "DEFAULT_$LINE"
7490 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7494 eval "$ac_cv_use_splitter"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7499 if test "$wxUSE_SPLITTER" = yes; then
7500 echo "$as_me:$LINENO: result: yes" >&5
7501 echo "${ECHO_T}yes" >&6
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7512 # Check whether --enable-statbmp or --disable-statbmp was given.
7513 if test "${enable_statbmp+set}" = set; then
7514 enableval="$enable_statbmp"
7516 if test "$enableval" = yes; then
7517 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7519 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7524 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7531 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7535 eval "$ac_cv_use_statbmp"
7536 if test "$no_cache" != 1; then
7537 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7540 if test "$wxUSE_STATBMP" = yes; then
7541 echo "$as_me:$LINENO: result: yes" >&5
7542 echo "${ECHO_T}yes" >&6
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7553 # Check whether --enable-statbox or --disable-statbox was given.
7554 if test "${enable_statbox+set}" = set; then
7555 enableval="$enable_statbox"
7557 if test "$enableval" = yes; then
7558 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7560 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7565 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x ; then
7567 eval "DEFAULT_$LINE"
7572 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7576 eval "$ac_cv_use_statbox"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7581 if test "$wxUSE_STATBOX" = yes; then
7582 echo "$as_me:$LINENO: result: yes" >&5
7583 echo "${ECHO_T}yes" >&6
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7594 # Check whether --enable-statline or --disable-statline was given.
7595 if test "${enable_statline+set}" = set; then
7596 enableval="$enable_statline"
7598 if test "$enableval" = yes; then
7599 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7601 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7606 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7613 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7617 eval "$ac_cv_use_statline"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7622 if test "$wxUSE_STATLINE" = yes; then
7623 echo "$as_me:$LINENO: result: yes" >&5
7624 echo "${ECHO_T}yes" >&6
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7633 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7635 # Check whether --enable-stattext or --disable-stattext was given.
7636 if test "${enable_stattext+set}" = set; then
7637 enableval="$enable_stattext"
7639 if test "$enableval" = yes; then
7640 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7642 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7647 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7654 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7658 eval "$ac_cv_use_stattext"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7663 if test "$wxUSE_STATTEXT" = yes; then
7664 echo "$as_me:$LINENO: result: yes" >&5
7665 echo "${ECHO_T}yes" >&6
7667 echo "$as_me:$LINENO: result: no" >&5
7668 echo "${ECHO_T}no" >&6
7673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7676 # Check whether --enable-statusbar or --disable-statusbar was given.
7677 if test "${enable_statusbar+set}" = set; then
7678 enableval="$enable_statusbar"
7680 if test "$enableval" = yes; then
7681 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7683 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7688 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7699 eval "$ac_cv_use_statusbar"
7700 if test "$no_cache" != 1; then
7701 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7704 if test "$wxUSE_STATUSBAR" = yes; then
7705 echo "$as_me:$LINENO: result: yes" >&5
7706 echo "${ECHO_T}yes" >&6
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7717 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7718 if test "${enable_tabdialog+set}" = set; then
7719 enableval="$enable_tabdialog"
7721 if test "$enableval" = yes; then
7722 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7724 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7729 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7736 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7740 eval "$ac_cv_use_tabdialog"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7745 if test "$wxUSE_TABDIALOG" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7758 # Check whether --enable-textctrl or --disable-textctrl was given.
7759 if test "${enable_textctrl+set}" = set; then
7760 enableval="$enable_textctrl"
7762 if test "$enableval" = yes; then
7763 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7765 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7770 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7777 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7781 eval "$ac_cv_use_textctrl"
7782 if test "$no_cache" != 1; then
7783 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7786 if test "$wxUSE_TEXTCTRL" = yes; then
7787 echo "$as_me:$LINENO: result: yes" >&5
7788 echo "${ECHO_T}yes" >&6
7790 echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6
7796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7799 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7800 if test "${enable_togglebtn+set}" = set; then
7801 enableval="$enable_togglebtn"
7803 if test "$enableval" = yes; then
7804 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7806 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7811 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7818 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7822 eval "$ac_cv_use_togglebtn"
7823 if test "$no_cache" != 1; then
7824 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7827 if test "$wxUSE_TOGGLEBTN" = yes; then
7828 echo "$as_me:$LINENO: result: yes" >&5
7829 echo "${ECHO_T}yes" >&6
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7840 # Check whether --enable-toolbar or --disable-toolbar was given.
7841 if test "${enable_toolbar+set}" = set; then
7842 enableval="$enable_toolbar"
7844 if test "$enableval" = yes; then
7845 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7847 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7852 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7859 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7863 eval "$ac_cv_use_toolbar"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7868 if test "$wxUSE_TOOLBAR" = yes; then
7869 echo "$as_me:$LINENO: result: yes" >&5
7870 echo "${ECHO_T}yes" >&6
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7881 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7882 if test "${enable_tbarnative+set}" = set; then
7883 enableval="$enable_tbarnative"
7885 if test "$enableval" = yes; then
7886 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7888 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7893 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7900 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7904 eval "$ac_cv_use_tbarnative"
7905 if test "$no_cache" != 1; then
7906 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7909 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7910 echo "$as_me:$LINENO: result: yes" >&5
7911 echo "${ECHO_T}yes" >&6
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7922 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7923 if test "${enable_tbarsmpl+set}" = set; then
7924 enableval="$enable_tbarsmpl"
7926 if test "$enableval" = yes; then
7927 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7929 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7934 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7941 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7945 eval "$ac_cv_use_tbarsmpl"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7950 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7951 echo "$as_me:$LINENO: result: yes" >&5
7952 echo "${ECHO_T}yes" >&6
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7963 # Check whether --enable-treectrl or --disable-treectrl was given.
7964 if test "${enable_treectrl+set}" = set; then
7965 enableval="$enable_treectrl"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
7970 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
7975 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
7986 eval "$ac_cv_use_treectrl"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7991 if test "$wxUSE_TREECTRL" = yes; then
7992 echo "$as_me:$LINENO: result: yes" >&5
7993 echo "${ECHO_T}yes" >&6
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8004 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8005 if test "${enable_tipwindow+set}" = set; then
8006 enableval="$enable_tipwindow"
8008 if test "$enableval" = yes; then
8009 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8011 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8016 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8023 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8027 eval "$ac_cv_use_tipwindow"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8032 if test "$wxUSE_TIPWINDOW" = yes; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8045 # Check whether --enable-popupwin or --disable-popupwin was given.
8046 if test "${enable_popupwin+set}" = set; then
8047 enableval="$enable_popupwin"
8049 if test "$enableval" = yes; then
8050 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8052 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8057 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8064 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8068 eval "$ac_cv_use_popupwin"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8073 if test "$wxUSE_POPUPWIN" = yes; then
8074 echo "$as_me:$LINENO: result: yes" >&5
8075 echo "${ECHO_T}yes" >&6
8077 echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6
8085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8088 # Check whether --enable-commondlg or --disable-commondlg was given.
8089 if test "${enable_commondlg+set}" = set; then
8090 enableval="$enable_commondlg"
8092 if test "$enableval" = yes; then
8093 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8095 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8100 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8107 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8111 eval "$ac_cv_use_commondlg"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8116 if test "$wxUSE_COMMONDLGS" = yes; then
8117 echo "$as_me:$LINENO: result: yes" >&5
8118 echo "${ECHO_T}yes" >&6
8120 echo "$as_me:$LINENO: result: no" >&5
8121 echo "${ECHO_T}no" >&6
8126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8129 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8130 if test "${enable_choicedlg+set}" = set; then
8131 enableval="$enable_choicedlg"
8133 if test "$enableval" = yes; then
8134 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8136 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8141 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8142 if test "x$LINE" != x ; then
8143 eval "DEFAULT_$LINE"
8148 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8152 eval "$ac_cv_use_choicedlg"
8153 if test "$no_cache" != 1; then
8154 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8157 if test "$wxUSE_CHOICEDLG" = yes; then
8158 echo "$as_me:$LINENO: result: yes" >&5
8159 echo "${ECHO_T}yes" >&6
8161 echo "$as_me:$LINENO: result: no" >&5
8162 echo "${ECHO_T}no" >&6
8167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8168 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8170 # Check whether --enable-coldlg or --disable-coldlg was given.
8171 if test "${enable_coldlg+set}" = set; then
8172 enableval="$enable_coldlg"
8174 if test "$enableval" = yes; then
8175 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8177 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8182 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8183 if test "x$LINE" != x ; then
8184 eval "DEFAULT_$LINE"
8189 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8193 eval "$ac_cv_use_coldlg"
8194 if test "$no_cache" != 1; then
8195 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8198 if test "$wxUSE_COLOURDLG" = yes; then
8199 echo "$as_me:$LINENO: result: yes" >&5
8200 echo "${ECHO_T}yes" >&6
8202 echo "$as_me:$LINENO: result: no" >&5
8203 echo "${ECHO_T}no" >&6
8208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8211 # Check whether --enable-filedlg or --disable-filedlg was given.
8212 if test "${enable_filedlg+set}" = set; then
8213 enableval="$enable_filedlg"
8215 if test "$enableval" = yes; then
8216 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8218 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8223 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8224 if test "x$LINE" != x ; then
8225 eval "DEFAULT_$LINE"
8230 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8234 eval "$ac_cv_use_filedlg"
8235 if test "$no_cache" != 1; then
8236 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8239 if test "$wxUSE_FILEDLG" = yes; then
8240 echo "$as_me:$LINENO: result: yes" >&5
8241 echo "${ECHO_T}yes" >&6
8243 echo "$as_me:$LINENO: result: no" >&5
8244 echo "${ECHO_T}no" >&6
8249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8250 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8252 # Check whether --enable-finddlg or --disable-finddlg was given.
8253 if test "${enable_finddlg+set}" = set; then
8254 enableval="$enable_finddlg"
8256 if test "$enableval" = yes; then
8257 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8259 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8264 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8265 if test "x$LINE" != x ; then
8266 eval "DEFAULT_$LINE"
8271 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8275 eval "$ac_cv_use_finddlg"
8276 if test "$no_cache" != 1; then
8277 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8280 if test "$wxUSE_FINDREPLDLG" = yes; then
8281 echo "$as_me:$LINENO: result: yes" >&5
8282 echo "${ECHO_T}yes" >&6
8284 echo "$as_me:$LINENO: result: no" >&5
8285 echo "${ECHO_T}no" >&6
8290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8291 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8293 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8294 if test "${enable_fontdlg+set}" = set; then
8295 enableval="$enable_fontdlg"
8297 if test "$enableval" = yes; then
8298 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8300 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8305 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8312 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8316 eval "$ac_cv_use_fontdlg"
8317 if test "$no_cache" != 1; then
8318 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8321 if test "$wxUSE_FONTDLG" = yes; then
8322 echo "$as_me:$LINENO: result: yes" >&5
8323 echo "${ECHO_T}yes" >&6
8325 echo "$as_me:$LINENO: result: no" >&5
8326 echo "${ECHO_T}no" >&6
8331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8332 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8334 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8335 if test "${enable_dirdlg+set}" = set; then
8336 enableval="$enable_dirdlg"
8338 if test "$enableval" = yes; then
8339 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8341 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8346 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8347 if test "x$LINE" != x ; then
8348 eval "DEFAULT_$LINE"
8353 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8357 eval "$ac_cv_use_dirdlg"
8358 if test "$no_cache" != 1; then
8359 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8362 if test "$wxUSE_DIRDLG" = yes; then
8363 echo "$as_me:$LINENO: result: yes" >&5
8364 echo "${ECHO_T}yes" >&6
8366 echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6
8372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8375 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8376 if test "${enable_msgdlg+set}" = set; then
8377 enableval="$enable_msgdlg"
8379 if test "$enableval" = yes; then
8380 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8382 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8387 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8394 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8398 eval "$ac_cv_use_msgdlg"
8399 if test "$no_cache" != 1; then
8400 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8403 if test "$wxUSE_MSGDLG" = yes; then
8404 echo "$as_me:$LINENO: result: yes" >&5
8405 echo "${ECHO_T}yes" >&6
8407 echo "$as_me:$LINENO: result: no" >&5
8408 echo "${ECHO_T}no" >&6
8413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8416 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8417 if test "${enable_numberdlg+set}" = set; then
8418 enableval="$enable_numberdlg"
8420 if test "$enableval" = yes; then
8421 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8423 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8428 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x ; then
8430 eval "DEFAULT_$LINE"
8435 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8439 eval "$ac_cv_use_numberdlg"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8444 if test "$wxUSE_NUMBERDLG" = yes; then
8445 echo "$as_me:$LINENO: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8448 echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6
8454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8455 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8457 # Check whether --enable-splash or --disable-splash was given.
8458 if test "${enable_splash+set}" = set; then
8459 enableval="$enable_splash"
8461 if test "$enableval" = yes; then
8462 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8464 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8469 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8470 if test "x$LINE" != x ; then
8471 eval "DEFAULT_$LINE"
8476 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8480 eval "$ac_cv_use_splash"
8481 if test "$no_cache" != 1; then
8482 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8485 if test "$wxUSE_SPLASH" = yes; then
8486 echo "$as_me:$LINENO: result: yes" >&5
8487 echo "${ECHO_T}yes" >&6
8489 echo "$as_me:$LINENO: result: no" >&5
8490 echo "${ECHO_T}no" >&6
8495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8498 # Check whether --enable-textdlg or --disable-textdlg was given.
8499 if test "${enable_textdlg+set}" = set; then
8500 enableval="$enable_textdlg"
8502 if test "$enableval" = yes; then
8503 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8505 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8510 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x ; then
8512 eval "DEFAULT_$LINE"
8517 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8521 eval "$ac_cv_use_textdlg"
8522 if test "$no_cache" != 1; then
8523 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8526 if test "$wxUSE_TEXTDLG" = yes; then
8527 echo "$as_me:$LINENO: result: yes" >&5
8528 echo "${ECHO_T}yes" >&6
8530 echo "$as_me:$LINENO: result: no" >&5
8531 echo "${ECHO_T}no" >&6
8536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8539 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8540 if test "${enable_tipdlg+set}" = set; then
8541 enableval="$enable_tipdlg"
8543 if test "$enableval" = yes; then
8544 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8546 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8551 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8552 if test "x$LINE" != x ; then
8553 eval "DEFAULT_$LINE"
8558 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8562 eval "$ac_cv_use_tipdlg"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8567 if test "$wxUSE_STARTUP_TIPS" = yes; then
8568 echo "$as_me:$LINENO: result: yes" >&5
8569 echo "${ECHO_T}yes" >&6
8571 echo "$as_me:$LINENO: result: no" >&5
8572 echo "${ECHO_T}no" >&6
8577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8580 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8581 if test "${enable_progressdlg+set}" = set; then
8582 enableval="$enable_progressdlg"
8584 if test "$enableval" = yes; then
8585 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8587 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8592 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8599 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8603 eval "$ac_cv_use_progressdlg"
8604 if test "$no_cache" != 1; then
8605 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8608 if test "$wxUSE_PROGRESSDLG" = yes; then
8609 echo "$as_me:$LINENO: result: yes" >&5
8610 echo "${ECHO_T}yes" >&6
8612 echo "$as_me:$LINENO: result: no" >&5
8613 echo "${ECHO_T}no" >&6
8618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8621 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8622 if test "${enable_wizarddlg+set}" = set; then
8623 enableval="$enable_wizarddlg"
8625 if test "$enableval" = yes; then
8626 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8628 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8633 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8634 if test "x$LINE" != x ; then
8635 eval "DEFAULT_$LINE"
8640 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8644 eval "$ac_cv_use_wizarddlg"
8645 if test "$no_cache" != 1; then
8646 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8649 if test "$wxUSE_WIZARDDLG" = yes; then
8650 echo "$as_me:$LINENO: result: yes" >&5
8651 echo "${ECHO_T}yes" >&6
8653 echo "$as_me:$LINENO: result: no" >&5
8654 echo "${ECHO_T}no" >&6
8661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8664 # Check whether --enable-menus or --disable-menus was given.
8665 if test "${enable_menus+set}" = set; then
8666 enableval="$enable_menus"
8668 if test "$enableval" = yes; then
8669 ac_cv_use_menus='wxUSE_MENUS
=yes'
8671 ac_cv_use_menus='wxUSE_MENUS
=no
'
8676 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8683 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8687 eval "$ac_cv_use_menus"
8688 if test "$no_cache" != 1; then
8689 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8692 if test "$wxUSE_MENUS" = yes; then
8693 echo "$as_me:$LINENO: result: yes" >&5
8694 echo "${ECHO_T}yes" >&6
8696 echo "$as_me:$LINENO: result: no" >&5
8697 echo "${ECHO_T}no" >&6
8702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8705 # Check whether --enable-miniframe or --disable-miniframe was given.
8706 if test "${enable_miniframe+set}" = set; then
8707 enableval="$enable_miniframe"
8709 if test "$enableval" = yes; then
8710 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8712 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8717 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8718 if test "x$LINE" != x ; then
8719 eval "DEFAULT_$LINE"
8724 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8728 eval "$ac_cv_use_miniframe"
8729 if test "$no_cache" != 1; then
8730 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8733 if test "$wxUSE_MINIFRAME" = yes; then
8734 echo "$as_me:$LINENO: result: yes" >&5
8735 echo "${ECHO_T}yes" >&6
8737 echo "$as_me:$LINENO: result: no" >&5
8738 echo "${ECHO_T}no" >&6
8743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8744 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8746 # Check whether --enable-tooltips or --disable-tooltips was given.
8747 if test "${enable_tooltips+set}" = set; then
8748 enableval="$enable_tooltips"
8750 if test "$enableval" = yes; then
8751 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8753 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8758 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8759 if test "x$LINE" != x ; then
8760 eval "DEFAULT_$LINE"
8765 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8769 eval "$ac_cv_use_tooltips"
8770 if test "$no_cache" != 1; then
8771 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8774 if test "$wxUSE_TOOLTIPS" = yes; then
8775 echo "$as_me:$LINENO: result: yes" >&5
8776 echo "${ECHO_T}yes" >&6
8778 echo "$as_me:$LINENO: result: no" >&5
8779 echo "${ECHO_T}no" >&6
8784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8787 # Check whether --enable-splines or --disable-splines was given.
8788 if test "${enable_splines+set}" = set; then
8789 enableval="$enable_splines"
8791 if test "$enableval" = yes; then
8792 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8794 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8799 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8800 if test "x$LINE" != x ; then
8801 eval "DEFAULT_$LINE"
8806 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8810 eval "$ac_cv_use_splines"
8811 if test "$no_cache" != 1; then
8812 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8815 if test "$wxUSE_SPLINES" = yes; then
8816 echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6
8819 echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6
8825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8828 # Check whether --enable-validators or --disable-validators was given.
8829 if test "${enable_validators+set}" = set; then
8830 enableval="$enable_validators"
8832 if test "$enableval" = yes; then
8833 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8835 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8840 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8841 if test "x$LINE" != x ; then
8842 eval "DEFAULT_$LINE"
8847 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8851 eval "$ac_cv_use_validators"
8852 if test "$no_cache" != 1; then
8853 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8856 if test "$wxUSE_VALIDATORS" = yes; then
8857 echo "$as_me:$LINENO: result: yes" >&5
8858 echo "${ECHO_T}yes" >&6
8860 echo "$as_me:$LINENO: result: no" >&5
8861 echo "${ECHO_T}no" >&6
8866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8869 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8870 if test "${enable_busyinfo+set}" = set; then
8871 enableval="$enable_busyinfo"
8873 if test "$enableval" = yes; then
8874 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8876 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8881 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8888 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8892 eval "$ac_cv_use_busyinfo"
8893 if test "$no_cache" != 1; then
8894 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8897 if test "$wxUSE_BUSYINFO" = yes; then
8898 echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6
8901 echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6
8907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8910 # Check whether --enable-joystick or --disable-joystick was given.
8911 if test "${enable_joystick+set}" = set; then
8912 enableval="$enable_joystick"
8914 if test "$enableval" = yes; then
8915 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8917 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8922 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8923 if test "x$LINE" != x ; then
8924 eval "DEFAULT_$LINE"
8929 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8933 eval "$ac_cv_use_joystick"
8934 if test "$no_cache" != 1; then
8935 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8938 if test "$wxUSE_JOYSTICK" = yes; then
8939 echo "$as_me:$LINENO: result: yes" >&5
8940 echo "${ECHO_T}yes" >&6
8942 echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6
8948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8951 # Check whether --enable-metafile or --disable-metafile was given.
8952 if test "${enable_metafile+set}" = set; then
8953 enableval="$enable_metafile"
8955 if test "$enableval" = yes; then
8956 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
8958 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
8963 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8964 if test "x$LINE" != x ; then
8965 eval "DEFAULT_$LINE"
8970 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
8974 eval "$ac_cv_use_metafile"
8975 if test "$no_cache" != 1; then
8976 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8979 if test "$wxUSE_METAFILE" = yes; then
8980 echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6
8983 echo "$as_me:$LINENO: result: no" >&5
8984 echo "${ECHO_T}no" >&6
8989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8992 # Check whether --enable-dragimage or --disable-dragimage was given.
8993 if test "${enable_dragimage+set}" = set; then
8994 enableval="$enable_dragimage"
8996 if test "$enableval" = yes; then
8997 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
8999 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9004 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9005 if test "x$LINE" != x ; then
9006 eval "DEFAULT_$LINE"
9011 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9015 eval "$ac_cv_use_dragimage"
9016 if test "$no_cache" != 1; then
9017 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9020 if test "$wxUSE_DRAGIMAGE" = yes; then
9021 echo "$as_me:$LINENO: result: yes" >&5
9022 echo "${ECHO_T}yes" >&6
9024 echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6
9030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9033 # Check whether --enable-accessibility or --disable-accessibility was given.
9034 if test "${enable_accessibility+set}" = set; then
9035 enableval="$enable_accessibility"
9037 if test "$enableval" = yes; then
9038 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9040 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9045 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9046 if test "x$LINE" != x ; then
9047 eval "DEFAULT_$LINE"
9052 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9056 eval "$ac_cv_use_accessibility"
9057 if test "$no_cache" != 1; then
9058 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9061 if test "$wxUSE_ACCESSIBILITY" = yes; then
9062 echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6
9065 echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6
9073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9076 # Check whether --enable-palette or --disable-palette was given.
9077 if test "${enable_palette+set}" = set; then
9078 enableval="$enable_palette"
9080 if test "$enableval" = yes; then
9081 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9083 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9088 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x ; then
9090 eval "DEFAULT_$LINE"
9095 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9099 eval "$ac_cv_use_palette"
9100 if test "$no_cache" != 1; then
9101 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9104 if test "$wxUSE_PALETTE" = yes; then
9105 echo "$as_me:$LINENO: result: yes" >&5
9106 echo "${ECHO_T}yes" >&6
9108 echo "$as_me:$LINENO: result: no" >&5
9109 echo "${ECHO_T}no" >&6
9114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9115 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9117 # Check whether --enable-image or --disable-image was given.
9118 if test "${enable_image+set}" = set; then
9119 enableval="$enable_image"
9121 if test "$enableval" = yes; then
9122 ac_cv_use_image='wxUSE_IMAGE
=yes'
9124 ac_cv_use_image='wxUSE_IMAGE
=no
'
9129 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x ; then
9131 eval "DEFAULT_$LINE"
9136 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9140 eval "$ac_cv_use_image"
9141 if test "$no_cache" != 1; then
9142 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9145 if test "$wxUSE_IMAGE" = yes; then
9146 echo "$as_me:$LINENO: result: yes" >&5
9147 echo "${ECHO_T}yes" >&6
9149 echo "$as_me:$LINENO: result: no" >&5
9150 echo "${ECHO_T}no" >&6
9155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9158 # Check whether --enable-gif or --disable-gif was given.
9159 if test "${enable_gif+set}" = set; then
9160 enableval="$enable_gif"
9162 if test "$enableval" = yes; then
9163 ac_cv_use_gif='wxUSE_GIF
=yes'
9165 ac_cv_use_gif='wxUSE_GIF
=no
'
9170 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9177 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9181 eval "$ac_cv_use_gif"
9182 if test "$no_cache" != 1; then
9183 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9186 if test "$wxUSE_GIF" = yes; then
9187 echo "$as_me:$LINENO: result: yes" >&5
9188 echo "${ECHO_T}yes" >&6
9190 echo "$as_me:$LINENO: result: no" >&5
9191 echo "${ECHO_T}no" >&6
9196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9199 # Check whether --enable-pcx or --disable-pcx was given.
9200 if test "${enable_pcx+set}" = set; then
9201 enableval="$enable_pcx"
9203 if test "$enableval" = yes; then
9204 ac_cv_use_pcx='wxUSE_PCX
=yes'
9206 ac_cv_use_pcx='wxUSE_PCX
=no
'
9211 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9218 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9222 eval "$ac_cv_use_pcx"
9223 if test "$no_cache" != 1; then
9224 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9227 if test "$wxUSE_PCX" = yes; then
9228 echo "$as_me:$LINENO: result: yes" >&5
9229 echo "${ECHO_T}yes" >&6
9231 echo "$as_me:$LINENO: result: no" >&5
9232 echo "${ECHO_T}no" >&6
9237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9238 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9240 # Check whether --enable-iff or --disable-iff was given.
9241 if test "${enable_iff+set}" = set; then
9242 enableval="$enable_iff"
9244 if test "$enableval" = yes; then
9245 ac_cv_use_iff='wxUSE_IFF
=yes'
9247 ac_cv_use_iff='wxUSE_IFF
=no
'
9252 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9253 if test "x$LINE" != x ; then
9254 eval "DEFAULT_$LINE"
9259 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9263 eval "$ac_cv_use_iff"
9264 if test "$no_cache" != 1; then
9265 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9268 if test "$wxUSE_IFF" = yes; then
9269 echo "$as_me:$LINENO: result: yes" >&5
9270 echo "${ECHO_T}yes" >&6
9272 echo "$as_me:$LINENO: result: no" >&5
9273 echo "${ECHO_T}no" >&6
9278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9279 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9281 # Check whether --enable-pnm or --disable-pnm was given.
9282 if test "${enable_pnm+set}" = set; then
9283 enableval="$enable_pnm"
9285 if test "$enableval" = yes; then
9286 ac_cv_use_pnm='wxUSE_PNM
=yes'
9288 ac_cv_use_pnm='wxUSE_PNM
=no
'
9293 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9294 if test "x$LINE" != x ; then
9295 eval "DEFAULT_$LINE"
9300 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9304 eval "$ac_cv_use_pnm"
9305 if test "$no_cache" != 1; then
9306 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9309 if test "$wxUSE_PNM" = yes; then
9310 echo "$as_me:$LINENO: result: yes" >&5
9311 echo "${ECHO_T}yes" >&6
9313 echo "$as_me:$LINENO: result: no" >&5
9314 echo "${ECHO_T}no" >&6
9319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9320 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9322 # Check whether --enable-xpm or --disable-xpm was given.
9323 if test "${enable_xpm+set}" = set; then
9324 enableval="$enable_xpm"
9326 if test "$enableval" = yes; then
9327 ac_cv_use_xpm='wxUSE_XPM
=yes'
9329 ac_cv_use_xpm='wxUSE_XPM
=no
'
9334 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9341 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9345 eval "$ac_cv_use_xpm"
9346 if test "$no_cache" != 1; then
9347 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9350 if test "$wxUSE_XPM" = yes; then
9351 echo "$as_me:$LINENO: result: yes" >&5
9352 echo "${ECHO_T}yes" >&6
9354 echo "$as_me:$LINENO: result: no" >&5
9355 echo "${ECHO_T}no" >&6
9360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9361 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9363 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9364 if test "${enable_ico_cur+set}" = set; then
9365 enableval="$enable_ico_cur"
9367 if test "$enableval" = yes; then
9368 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9370 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9375 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9376 if test "x$LINE" != x ; then
9377 eval "DEFAULT_$LINE"
9382 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9386 eval "$ac_cv_use_ico_cur"
9387 if test "$no_cache" != 1; then
9388 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9391 if test "$wxUSE_ICO_CUR" = yes; then
9392 echo "$as_me:$LINENO: result: yes" >&5
9393 echo "${ECHO_T}yes" >&6
9395 echo "$as_me:$LINENO: result: no" >&5
9396 echo "${ECHO_T}no" >&6
9403 *-pc-os2_emx | *-pc-os2-emx )
9415 echo "saving argument cache $wx_arg_cache_file"
9416 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9420 echo "$as_me:$LINENO: checking for toolkit" >&5
9421 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9423 # In Wine, we need to default to MSW, not GTK or MOTIF
9424 if test "$wxUSE_WINE" = "yes"; then
9425 DEFAULT_DEFAULT_wxUSE_GTK=0
9426 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9427 DEFAULT_DEFAULT_wxUSE_MSW=1
9430 if test "$wxUSE_GUI" = "yes"; then
9432 if test "$USE_BEOS" = 1; then
9433 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9434 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9435 { (exit 1); exit 1; }; }
9438 if test "$TOOLKIT_GIVEN" = 1; then
9439 for toolkit in `echo $ALL_TOOLKITS`; do
9441 eval "value=\$${var}"
9442 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9445 for toolkit in `echo $ALL_TOOLKITS`; do
9446 if test "$has_toolkit_in_cache" != 1; then
9447 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9449 var=DEFAULT_wxUSE_$toolkit
9451 eval "wxUSE_$toolkit=\$${var}"
9455 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9456 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9457 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9460 *-pc-os2_emx | *-pc-os2-emx )
9461 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9464 case "$NUM_TOOLKITS" in
9468 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9469 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9470 { (exit 1); exit 1; }; }
9473 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9474 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9475 { (exit 1); exit 1; }; }
9478 for toolkit in `echo $ALL_TOOLKITS`; do
9480 eval "value=\$${var}"
9481 if test "x$value" != x; then
9482 cache_var=CACHE_$toolkit
9483 eval "cache=\$${cache_var}"
9484 if test "$cache" = 1; then
9485 echo "$var=$value" >> ${wx_arg_cache_file}
9487 if test "$value" = 1; then
9488 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9489 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9490 echo "${ECHO_T}$toolkit_echo" >&6
9495 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9496 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9503 if test "$wxUSE_MSW" = 1 ; then
9514 if test "$wxUSE_WINE" = "yes"; then
9521 if test "$wants_win32" = 1 ; then
9524 cat >>confdefs.h <<\_ACEOF
9528 cat >>confdefs.h <<\_ACEOF
9532 cat >>confdefs.h <<\_ACEOF
9533 #define __WINDOWS__ 1
9536 cat >>confdefs.h <<\_ACEOF
9537 #define __GNUWIN32__ 1
9540 cat >>confdefs.h <<\_ACEOF
9544 cat >>confdefs.h <<\_ACEOF
9545 #define WINVER 0x0400
9549 if test "$doesnt_want_win32" = 1 ; then
9554 if test "$USE_UNIX" = 1 ; then
9556 cat >>confdefs.h <<\_ACEOF
9563 cat >confcache <<\_ACEOF
9564 # This file is a shell script that caches the results of configure
9565 # tests run on this system so they can be shared between configure
9566 # scripts and configure runs, see configure's option
--config-cache.
9567 # It is not useful on other systems. If it contains results you don't
9568 # want to keep, you may remove or edit it.
9570 # config.status only pays attention to the cache file if you give it
9571 # the --recheck option to rerun configure.
9573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9579 # The following way of writing the cache mishandles newlines in values,
9580 # but we know of no workaround that is simple, portable, and efficient.
9581 # So, don't put newlines in cache variables' values.
9582 # Ultrix sh set writes to stderr and can't be redirected directly,
9583 # and sets the high bit in the cache file unless we assign to the vars.
9586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9588 # `set' does not quote correctly, so add quotes (double-quote
9589 # substitution turns \\\\ into \\, and sed turns \\ into \).
9592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9595 # `set' quotes correctly as required by POSIX, so do not add quotes.
9597 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9606 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9608 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9609 if test -w $cache_file; then
9610 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9611 cat confcache
>$cache_file
9613 echo "not updating unwritable cache $cache_file"
9618 if test "$build" != "$host" ; then
9619 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9623 RANLIB
=$host_alias-ranlib
9624 DLLTOOL
=$host_alias-dlltool
9625 RESCOMP
=$host_alias-windres
9628 STRIP
=$host_alias-strip
9630 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9631 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9632 { (exit 1); exit 1; }; }
9638 ac_cpp
='$CPP $CPPFLAGS'
9639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9642 if test -n "$ac_tool_prefix"; then
9643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9644 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9645 echo "$as_me:$LINENO: checking for $ac_word" >&5
9646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9647 if test "${ac_cv_prog_CC+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 if test -n "$CC"; then
9651 ac_cv_prog_CC
="$CC" # Let the user override the test.
9653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir
=.
9658 for ac_exec_ext
in '' $ac_executable_extensions; do
9659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9670 if test -n "$CC"; then
9671 echo "$as_me:$LINENO: result: $CC" >&5
9672 echo "${ECHO_T}$CC" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9679 if test -z "$ac_cv_prog_CC"; then
9681 # Extract the first word of "gcc", so it can be a program name with args.
9682 set dummy gcc
; ac_word
=$2
9683 echo "$as_me:$LINENO: checking for $ac_word" >&5
9684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 if test -n "$ac_ct_CC"; then
9689 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9695 test -z "$as_dir" && as_dir
=.
9696 for ac_exec_ext
in '' $ac_executable_extensions; do
9697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9698 ac_cv_prog_ac_ct_CC
="gcc"
9699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9707 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9708 if test -n "$ac_ct_CC"; then
9709 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9710 echo "${ECHO_T}$ac_ct_CC" >&6
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9721 if test -z "$CC"; then
9722 if test -n "$ac_tool_prefix"; then
9723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9724 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9725 echo "$as_me:$LINENO: checking for $ac_word" >&5
9726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9727 if test "${ac_cv_prog_CC+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9730 if test -n "$CC"; then
9731 ac_cv_prog_CC
="$CC" # Let the user override the test.
9733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9737 test -z "$as_dir" && as_dir
=.
9738 for ac_exec_ext
in '' $ac_executable_extensions; do
9739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9740 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9750 if test -n "$CC"; then
9751 echo "$as_me:$LINENO: result: $CC" >&5
9752 echo "${ECHO_T}$CC" >&6
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9759 if test -z "$ac_cv_prog_CC"; then
9761 # Extract the first word of "cc", so it can be a program name with args.
9762 set dummy cc
; ac_word
=$2
9763 echo "$as_me:$LINENO: checking for $ac_word" >&5
9764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 if test -n "$ac_ct_CC"; then
9769 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9775 test -z "$as_dir" && as_dir
=.
9776 for ac_exec_ext
in '' $ac_executable_extensions; do
9777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9778 ac_cv_prog_ac_ct_CC
="cc"
9779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9787 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9788 if test -n "$ac_ct_CC"; then
9789 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9790 echo "${ECHO_T}$ac_ct_CC" >&6
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9802 if test -z "$CC"; then
9803 # Extract the first word of "cc", so it can be a program name with args.
9804 set dummy cc
; ac_word
=$2
9805 echo "$as_me:$LINENO: checking for $ac_word" >&5
9806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9807 if test "${ac_cv_prog_CC+set}" = set; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 if test -n "$CC"; then
9811 ac_cv_prog_CC
="$CC" # Let the user override the test.
9814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir
=.
9819 for ac_exec_ext
in '' $ac_executable_extensions; do
9820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9822 ac_prog_rejected
=yes
9826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9832 if test $ac_prog_rejected = yes; then
9833 # We found a bogon in the path, so make sure we never use it.
9834 set dummy
$ac_cv_prog_CC
9836 if test $# != 0; then
9837 # We chose a different compiler from the bogus one.
9838 # However, it has the same basename, so the bogon will be chosen
9839 # first if we set CC to just the basename; use the full file name.
9841 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9847 if test -n "$CC"; then
9848 echo "$as_me:$LINENO: result: $CC" >&5
9849 echo "${ECHO_T}$CC" >&6
9851 echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6
9856 if test -z "$CC"; then
9857 if test -n "$ac_tool_prefix"; then
9860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9861 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9862 echo "$as_me:$LINENO: checking for $ac_word" >&5
9863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9864 if test "${ac_cv_prog_CC+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 if test -n "$CC"; then
9868 ac_cv_prog_CC
="$CC" # Let the user override the test.
9870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9874 test -z "$as_dir" && as_dir
=.
9875 for ac_exec_ext
in '' $ac_executable_extensions; do
9876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9877 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 if test -n "$CC"; then
9888 echo "$as_me:$LINENO: result: $CC" >&5
9889 echo "${ECHO_T}$CC" >&6
9891 echo "$as_me:$LINENO: result: no" >&5
9892 echo "${ECHO_T}no" >&6
9895 test -n "$CC" && break
9898 if test -z "$CC"; then
9902 # Extract the first word of "$ac_prog", so it can be a program name with args.
9903 set dummy
$ac_prog; ac_word
=$2
9904 echo "$as_me:$LINENO: checking for $ac_word" >&5
9905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9909 if test -n "$ac_ct_CC"; then
9910 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9916 test -z "$as_dir" && as_dir
=.
9917 for ac_exec_ext
in '' $ac_executable_extensions; do
9918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9919 ac_cv_prog_ac_ct_CC
="$ac_prog"
9920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9928 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9929 if test -n "$ac_ct_CC"; then
9930 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9931 echo "${ECHO_T}$ac_ct_CC" >&6
9933 echo "$as_me:$LINENO: result: no" >&5
9934 echo "${ECHO_T}no" >&6
9937 test -n "$ac_ct_CC" && break
9946 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9947 See \`config.log' for more details." >&5
9948 echo "$as_me: error: no acceptable C compiler found in \$PATH
9949 See \`config.log' for more details." >&2;}
9950 { (exit 1); exit 1; }; }
9952 # Provide some information about the compiler.
9953 echo "$as_me:$LINENO:" \
9954 "checking for C compiler version" >&5
9955 ac_compiler
=`set X $ac_compile; echo $2`
9956 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9957 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }
9961 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9962 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }
9966 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9967 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }
9972 cat >conftest.
$ac_ext <<_ACEOF
9973 #line $LINENO "configure"
9976 cat confdefs.h
>>conftest.
$ac_ext
9977 cat >>conftest.
$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9988 ac_clean_files_save
=$ac_clean_files
9989 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
9990 # Try to create an executable without -o first, disregard a.out.
9991 # It will help us diagnose broken compilers, and finding out an intuition
9993 echo "$as_me:$LINENO: checking for C compiler default output" >&5
9994 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9995 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9996 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9997 (eval $ac_link_default) 2>&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; then
10001 # Find the output, starting from the most likely. This scheme is
10002 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10005 # Be careful to initialize this variable, since it used to be cached.
10006 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10008 # b.out is created by i960 compilers.
10009 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10011 test -f "$ac_file" || continue
10013 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10016 # This is the source file.
10019 # We found the default executable, but exeext='' is most
10023 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10024 # FIXME: I believe we export ac_cv_exeext for Libtool,
10025 # but it would be cool to find out if it's true. Does anybody
10026 # maintain Libtool? --akim.
10027 export ac_cv_exeext
10034 echo "$as_me: failed program was:" >&5
10035 sed 's/^/| /' conftest.
$ac_ext >&5
10037 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10038 See \`config.log' for more details." >&5
10039 echo "$as_me: error: C compiler cannot create executables
10040 See \`config.log' for more details." >&2;}
10041 { (exit 77); exit 77; }; }
10044 ac_exeext
=$ac_cv_exeext
10045 echo "$as_me:$LINENO: result: $ac_file" >&5
10046 echo "${ECHO_T}$ac_file" >&6
10048 # Check the compiler produces executables we can run. If not, either
10049 # the compiler is broken, or we cross compile.
10050 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10051 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10052 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10053 # If not cross compiling, check that we can run a simple program.
10054 if test "$cross_compiling" != yes; then
10055 if { ac_try
='./$ac_file'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10063 if test "$cross_compiling" = maybe
; then
10064 cross_compiling
=yes
10066 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10067 If you meant to cross compile, use \`--host'.
10068 See \`config.log' for more details." >&5
10069 echo "$as_me: error: cannot run C compiled programs.
10070 If you meant to cross compile, use \`--host'.
10071 See \`config.log' for more details." >&2;}
10072 { (exit 1); exit 1; }; }
10076 echo "$as_me:$LINENO: result: yes" >&5
10077 echo "${ECHO_T}yes" >&6
10079 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10080 ac_clean_files
=$ac_clean_files_save
10081 # Check the compiler produces executables we can run. If not, either
10082 # the compiler is broken, or we cross compile.
10083 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10085 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10086 echo "${ECHO_T}$cross_compiling" >&6
10088 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10091 (eval $ac_link) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; then
10095 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10096 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10097 # work properly (i.e., refer to `conftest.exe'), while it won't with
10099 for ac_file
in conftest.exe conftest conftest.
*; do
10100 test -f "$ac_file" || continue
10102 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10103 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10104 export ac_cv_exeext
10110 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10111 See \`config.log' for more details." >&5
10112 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10113 See \`config.log' for more details." >&2;}
10114 { (exit 1); exit 1; }; }
10117 rm -f conftest
$ac_cv_exeext
10118 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10119 echo "${ECHO_T}$ac_cv_exeext" >&6
10121 rm -f conftest.
$ac_ext
10122 EXEEXT
=$ac_cv_exeext
10124 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10125 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10126 if test "${ac_cv_objext+set}" = set; then
10127 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 cat >conftest.
$ac_ext <<_ACEOF
10130 #line $LINENO "configure"
10133 cat confdefs.h
>>conftest.
$ac_ext
10134 cat >>conftest.
$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10145 rm -f conftest.o conftest.obj
10146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10147 (eval $ac_compile) 2>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; then
10151 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10153 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10154 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.
$ac_ext >&5
10162 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10163 See \`config.log' for more details." >&5
10164 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10165 See \`config.log' for more details." >&2;}
10166 { (exit 1); exit 1; }; }
10169 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10171 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10172 echo "${ECHO_T}$ac_cv_objext" >&6
10173 OBJEXT
=$ac_cv_objext
10175 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10176 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10177 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 cat >conftest.
$ac_ext <<_ACEOF
10181 #line $LINENO "configure"
10184 cat confdefs.h
>>conftest.
$ac_ext
10185 cat >>conftest.
$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10199 rm -f conftest.
$ac_objext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10201 (eval $ac_compile) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } &&
10205 { ac_try
='test -s conftest.$ac_objext'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; }; then
10211 ac_compiler_gnu
=yes
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.
$ac_ext >&5
10218 rm -f conftest.
$ac_objext conftest.
$ac_ext
10219 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10222 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10223 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10224 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10225 ac_test_CFLAGS
=${CFLAGS+set}
10226 ac_save_CFLAGS
=$CFLAGS
10228 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10229 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10230 if test "${ac_cv_prog_cc_g+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 cat >conftest.
$ac_ext <<_ACEOF
10234 #line $LINENO "configure"
10237 cat confdefs.h
>>conftest.
$ac_ext
10238 cat >>conftest.
$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10249 rm -f conftest.
$ac_objext
10250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10251 (eval $ac_compile) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try
='test -s conftest.$ac_objext'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; }; then
10261 ac_cv_prog_cc_g
=yes
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10268 rm -f conftest.
$ac_objext conftest.
$ac_ext
10270 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10272 if test "$ac_test_CFLAGS" = set; then
10273 CFLAGS
=$ac_save_CFLAGS
10274 elif test $ac_cv_prog_cc_g = yes; then
10275 if test "$GCC" = yes; then
10281 if test "$GCC" = yes; then
10287 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10288 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10289 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 ac_cv_prog_cc_stdc
=no
10294 cat >conftest.
$ac_ext <<_ACEOF
10295 #line $LINENO "configure"
10298 cat confdefs.h
>>conftest.
$ac_ext
10299 cat >>conftest.
$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10301 #include <stdarg.h>
10303 #include <sys/types.h>
10304 #include <sys/stat.h>
10305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10306 struct buf { int x; };
10307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10308 static char *e (p, i)
10314 static char *f (char * (*g) (char **, int), char **p, ...)
10319 s = g (p, va_arg (v,int));
10323 int test (int i, double x);
10324 struct s1 {int (*f) (int a);};
10325 struct s2 {int (*f) (double a);};
10326 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10332 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10337 # Don't try gcc -ansi; that turns off useful extensions and
10338 # breaks some systems' header files.
10339 # AIX -qlanglvl=ansi
10340 # Ultrix and OSF/1 -std1
10341 # HP-UX 10.20 and later -Ae
10342 # HP-UX older versions -Aa -D_HPUX_SOURCE
10343 # SVR4 -Xc -D__EXTENSIONS__
10344 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10346 CC
="$ac_save_CC $ac_arg"
10347 rm -f conftest.
$ac_objext
10348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10349 (eval $ac_compile) 2>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } &&
10353 { ac_try
='test -s conftest.$ac_objext'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then
10359 ac_cv_prog_cc_stdc
=$ac_arg
10362 echo "$as_me: failed program was:" >&5
10363 sed 's/^/| /' conftest.
$ac_ext >&5
10366 rm -f conftest.
$ac_objext
10368 rm -f conftest.
$ac_ext conftest.
$ac_objext
10373 case "x$ac_cv_prog_cc_stdc" in
10375 echo "$as_me:$LINENO: result: none needed" >&5
10376 echo "${ECHO_T}none needed" >&6 ;;
10378 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10379 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10380 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10383 # Some people use a C++ compiler to compile C. Since we use `exit',
10384 # in C++ we need to declare it. In case someone uses the same compiler
10385 # for both compiling C and C++ we need to have the C++ compiler decide
10386 # the declaration of exit, since it's the most demanding environment.
10387 cat >conftest.
$ac_ext <<_ACEOF
10388 #ifndef __cplusplus
10392 rm -f conftest.
$ac_objext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10394 (eval $ac_compile) 2>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try
='test -s conftest.$ac_objext'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; }; then
10404 for ac_declaration
in \
10406 '#include <stdlib.h>' \
10407 'extern "C" void std::exit (int) throw (); using std::exit;' \
10408 'extern "C" void std::exit (int); using std::exit;' \
10409 'extern "C" void exit (int) throw ();' \
10410 'extern "C" void exit (int);' \
10413 cat >conftest.
$ac_ext <<_ACEOF
10414 #line $LINENO "configure"
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10420 #include <stdlib.h>
10430 rm -f conftest.
$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try
='test -s conftest.$ac_objext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.
$ac_ext >&5
10449 rm -f conftest.
$ac_objext conftest.
$ac_ext
10450 cat >conftest.
$ac_ext <<_ACEOF
10451 #line $LINENO "configure"
10454 cat confdefs.h
>>conftest.
$ac_ext
10455 cat >>conftest.
$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10466 rm -f conftest.
$ac_objext
10467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10468 (eval $ac_compile) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); } &&
10472 { ac_try
='test -s conftest.$ac_objext'
10473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474 (eval $ac_try) 2>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); }; }; then
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.
$ac_ext >&5
10484 rm -f conftest.
$ac_objext conftest.
$ac_ext
10487 if test -n "$ac_declaration"; then
10488 echo '#ifdef __cplusplus' >>confdefs.h
10489 echo $ac_declaration >>confdefs.h
10490 echo '#endif' >>confdefs.h
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.
$ac_ext >&5
10498 rm -f conftest.
$ac_objext conftest.
$ac_ext
10500 ac_cpp
='$CPP $CPPFLAGS'
10501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10508 ac_cpp
='$CPP $CPPFLAGS'
10509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10512 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10513 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10514 # On Suns, sometimes $CPP names a directory.
10515 if test -n "$CPP" && test -d "$CPP"; then
10518 if test -z "$CPP"; then
10519 if test "${ac_cv_prog_CPP+set}" = set; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 # Double quotes because CPP needs to be expanded
10523 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10525 ac_preproc_ok
=false
10526 for ac_c_preproc_warn_flag
in '' yes
10528 # Use a header file that comes with gcc, so configuring glibc
10529 # with a fresh cross-compiler works.
10530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10531 # <limits.h> exists even on freestanding compilers.
10532 # On the NeXT, cc -E runs the code through the compiler's parser,
10533 # not just through cpp. "Syntax error" is here to catch this case.
10534 cat >conftest.
$ac_ext <<_ACEOF
10535 #line $LINENO "configure"
10538 cat confdefs.h
>>conftest.
$ac_ext
10539 cat >>conftest.
$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10542 # include <limits.h>
10544 # include <assert.h>
10548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10551 grep -v '^ *+' conftest.er1
>conftest.err
10553 cat conftest.err
>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } >/dev
/null
; then
10556 if test -s conftest.err
; then
10557 ac_cpp_err
=$ac_c_preproc_warn_flag
10564 if test -z "$ac_cpp_err"; then
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.
$ac_ext >&5
10570 # Broken: fails on valid input.
10573 rm -f conftest.err conftest.
$ac_ext
10575 # OK, works on sane cases. Now check whether non-existent headers
10576 # can be detected and how.
10577 cat >conftest.
$ac_ext <<_ACEOF
10578 #line $LINENO "configure"
10581 cat confdefs.h
>>conftest.
$ac_ext
10582 cat >>conftest.
$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10584 #include <ac_nonexistent.h>
10586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10589 grep -v '^ *+' conftest.er1
>conftest.err
10591 cat conftest.err
>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } >/dev
/null
; then
10594 if test -s conftest.err
; then
10595 ac_cpp_err
=$ac_c_preproc_warn_flag
10602 if test -z "$ac_cpp_err"; then
10603 # Broken: success on invalid input.
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.
$ac_ext >&5
10609 # Passes both tests.
10613 rm -f conftest.err conftest.
$ac_ext
10616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10617 rm -f conftest.err conftest.
$ac_ext
10618 if $ac_preproc_ok; then
10623 ac_cv_prog_CPP
=$CPP
10626 CPP
=$ac_cv_prog_CPP
10628 ac_cv_prog_CPP
=$CPP
10630 echo "$as_me:$LINENO: result: $CPP" >&5
10631 echo "${ECHO_T}$CPP" >&6
10632 ac_preproc_ok
=false
10633 for ac_c_preproc_warn_flag
in '' yes
10635 # Use a header file that comes with gcc, so configuring glibc
10636 # with a fresh cross-compiler works.
10637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10638 # <limits.h> exists even on freestanding compilers.
10639 # On the NeXT, cc -E runs the code through the compiler's parser,
10640 # not just through cpp. "Syntax error" is here to catch this case.
10641 cat >conftest.
$ac_ext <<_ACEOF
10642 #line $LINENO "configure"
10645 cat confdefs.h
>>conftest.
$ac_ext
10646 cat >>conftest.
$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10649 # include <limits.h>
10651 # include <assert.h>
10655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10658 grep -v '^ *+' conftest.er1
>conftest.err
10660 cat conftest.err
>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } >/dev
/null
; then
10663 if test -s conftest.err
; then
10664 ac_cpp_err
=$ac_c_preproc_warn_flag
10671 if test -z "$ac_cpp_err"; then
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.
$ac_ext >&5
10677 # Broken: fails on valid input.
10680 rm -f conftest.err conftest.
$ac_ext
10682 # OK, works on sane cases. Now check whether non-existent headers
10683 # can be detected and how.
10684 cat >conftest.
$ac_ext <<_ACEOF
10685 #line $LINENO "configure"
10688 cat confdefs.h
>>conftest.
$ac_ext
10689 cat >>conftest.
$ac_ext <<_ACEOF
10690 /* end confdefs.h. */
10691 #include <ac_nonexistent.h>
10693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10696 grep -v '^ *+' conftest.er1
>conftest.err
10698 cat conftest.err
>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } >/dev
/null
; then
10701 if test -s conftest.err
; then
10702 ac_cpp_err
=$ac_c_preproc_warn_flag
10709 if test -z "$ac_cpp_err"; then
10710 # Broken: success on invalid input.
10713 echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.
$ac_ext >&5
10716 # Passes both tests.
10720 rm -f conftest.err conftest.
$ac_ext
10723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10724 rm -f conftest.err conftest.
$ac_ext
10725 if $ac_preproc_ok; then
10728 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10729 See \`config.log' for more details." >&5
10730 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10731 See \`config.log' for more details." >&2;}
10732 { (exit 1); exit 1; }; }
10736 ac_cpp
='$CPP $CPPFLAGS'
10737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10742 echo "$as_me:$LINENO: checking for egrep" >&5
10743 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10744 if test "${ac_cv_prog_egrep+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10748 then ac_cv_prog_egrep
='grep -E'
10749 else ac_cv_prog_egrep
='egrep'
10752 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10753 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10754 EGREP
=$ac_cv_prog_egrep
10757 if test $ac_cv_c_compiler_gnu = yes; then
10758 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10759 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10760 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_pattern
="Autoconf.*'x'"
10764 cat >conftest.
$ac_ext <<_ACEOF
10765 #line $LINENO "configure"
10768 cat confdefs.h
>>conftest.
$ac_ext
10769 cat >>conftest.
$ac_ext <<_ACEOF
10770 /* end confdefs.h. */
10774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10775 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10776 ac_cv_prog_gcc_traditional
=yes
10778 ac_cv_prog_gcc_traditional
=no
10783 if test $ac_cv_prog_gcc_traditional = no
; then
10784 cat >conftest.
$ac_ext <<_ACEOF
10785 #line $LINENO "configure"
10788 cat confdefs.h
>>conftest.
$ac_ext
10789 cat >>conftest.
$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10791 #include <termio.h>
10794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10795 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10796 ac_cv_prog_gcc_traditional
=yes
10802 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10803 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10804 if test $ac_cv_prog_gcc_traditional = yes; then
10805 CC
="$CC -traditional"
10813 ac_cpp
='$CXXCPP $CPPFLAGS'
10814 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10815 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10816 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10819 CXXFLAGS
=${CXXFLAGS:=}
10821 ac_cpp
='$CXXCPP $CPPFLAGS'
10822 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10825 if test -n "$ac_tool_prefix"; then
10826 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10829 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10830 echo "$as_me:$LINENO: checking for $ac_word" >&5
10831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10832 if test "${ac_cv_prog_CXX+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 if test -n "$CXX"; then
10836 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10839 for as_dir
in $PATH
10842 test -z "$as_dir" && as_dir
=.
10843 for ac_exec_ext
in '' $ac_executable_extensions; do
10844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10845 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10854 CXX
=$ac_cv_prog_CXX
10855 if test -n "$CXX"; then
10856 echo "$as_me:$LINENO: result: $CXX" >&5
10857 echo "${ECHO_T}$CXX" >&6
10859 echo "$as_me:$LINENO: result: no" >&5
10860 echo "${ECHO_T}no" >&6
10863 test -n "$CXX" && break
10866 if test -z "$CXX"; then
10868 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10870 # Extract the first word of "$ac_prog", so it can be a program name with args.
10871 set dummy
$ac_prog; ac_word
=$2
10872 echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10874 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if test -n "$ac_ct_CXX"; then
10878 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10896 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10897 if test -n "$ac_ct_CXX"; then
10898 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10899 echo "${ECHO_T}$ac_ct_CXX" >&6
10901 echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6
10905 test -n "$ac_ct_CXX" && break
10907 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10913 # Provide some information about the compiler.
10914 echo "$as_me:$LINENO:" \
10915 "checking for C++ compiler version" >&5
10916 ac_compiler
=`set X $ac_compile; echo $2`
10917 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10918 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }
10922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10923 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }
10927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10928 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }
10933 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10934 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10935 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 cat >conftest.
$ac_ext <<_ACEOF
10939 #line $LINENO "configure"
10942 cat confdefs.h
>>conftest.
$ac_ext
10943 cat >>conftest.
$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10957 rm -f conftest.
$ac_objext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10959 (eval $ac_compile) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try
='test -s conftest.$ac_objext'
10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10965 (eval $ac_try) 2>&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); }; }; then
10969 ac_compiler_gnu
=yes
10971 echo "$as_me: failed program was:" >&5
10972 sed 's/^/| /' conftest.
$ac_ext >&5
10976 rm -f conftest.
$ac_objext conftest.
$ac_ext
10977 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10980 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10981 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10982 GXX
=`test $ac_compiler_gnu = yes && echo yes`
10983 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10984 ac_save_CXXFLAGS
=$CXXFLAGS
10986 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10987 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10988 if test "${ac_cv_prog_cxx_g+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 cat >conftest.
$ac_ext <<_ACEOF
10992 #line $LINENO "configure"
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
11007 rm -f conftest.
$ac_objext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11009 (eval $ac_compile) 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try
='test -s conftest.$ac_objext'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; }; then
11019 ac_cv_prog_cxx_g
=yes
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.
$ac_ext >&5
11024 ac_cv_prog_cxx_g
=no
11026 rm -f conftest.
$ac_objext conftest.
$ac_ext
11028 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11029 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11030 if test "$ac_test_CXXFLAGS" = set; then
11031 CXXFLAGS
=$ac_save_CXXFLAGS
11032 elif test $ac_cv_prog_cxx_g = yes; then
11033 if test "$GXX" = yes; then
11039 if test "$GXX" = yes; then
11045 for ac_declaration
in \
11047 '#include <stdlib.h>' \
11048 'extern "C" void std::exit (int) throw (); using std::exit;' \
11049 'extern "C" void std::exit (int); using std::exit;' \
11050 'extern "C" void exit (int) throw ();' \
11051 'extern "C" void exit (int);' \
11054 cat >conftest.
$ac_ext <<_ACEOF
11055 #line $LINENO "configure"
11058 cat confdefs.h
>>conftest.
$ac_ext
11059 cat >>conftest.
$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11061 #include <stdlib.h>
11071 rm -f conftest.
$ac_objext
11072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11073 (eval $ac_compile) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } &&
11077 { ac_try
='test -s conftest.$ac_objext'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; }; then
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.
$ac_ext >&5
11090 rm -f conftest.
$ac_objext conftest.
$ac_ext
11091 cat >conftest.
$ac_ext <<_ACEOF
11092 #line $LINENO "configure"
11095 cat confdefs.h
>>conftest.
$ac_ext
11096 cat >>conftest.
$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11107 rm -f conftest.
$ac_objext
11108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11109 (eval $ac_compile) 2>&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); } &&
11113 { ac_try
='test -s conftest.$ac_objext'
11114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 (eval $ac_try) 2>&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); }; }; then
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.
$ac_ext >&5
11125 rm -f conftest.
$ac_objext conftest.
$ac_ext
11128 if test -n "$ac_declaration"; then
11129 echo '#ifdef __cplusplus' >>confdefs.h
11130 echo $ac_declaration >>confdefs.h
11131 echo '#endif' >>confdefs.h
11135 ac_cpp
='$CXXCPP $CPPFLAGS'
11136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11142 ac_cpp
='$CPP $CPPFLAGS'
11143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11148 if test -n "$ac_tool_prefix"; then
11149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11150 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11151 echo "$as_me:$LINENO: checking for $ac_word" >&5
11152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11153 if test "${ac_cv_prog_RANLIB+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 if test -n "$RANLIB"; then
11157 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11160 for as_dir
in $PATH
11163 test -z "$as_dir" && as_dir
=.
11164 for ac_exec_ext
in '' $ac_executable_extensions; do
11165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11166 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 RANLIB
=$ac_cv_prog_RANLIB
11176 if test -n "$RANLIB"; then
11177 echo "$as_me:$LINENO: result: $RANLIB" >&5
11178 echo "${ECHO_T}$RANLIB" >&6
11180 echo "$as_me:$LINENO: result: no" >&5
11181 echo "${ECHO_T}no" >&6
11185 if test -z "$ac_cv_prog_RANLIB"; then
11186 ac_ct_RANLIB
=$RANLIB
11187 # Extract the first word of "ranlib", so it can be a program name with args.
11188 set dummy ranlib
; ac_word
=$2
11189 echo "$as_me:$LINENO: checking for $ac_word" >&5
11190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11191 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 if test -n "$ac_ct_RANLIB"; then
11195 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11198 for as_dir
in $PATH
11201 test -z "$as_dir" && as_dir
=.
11202 for ac_exec_ext
in '' $ac_executable_extensions; do
11203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11204 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11211 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11214 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11215 if test -n "$ac_ct_RANLIB"; then
11216 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11217 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11219 echo "$as_me:$LINENO: result: no" >&5
11220 echo "${ECHO_T}no" >&6
11223 RANLIB
=$ac_ct_RANLIB
11225 RANLIB
="$ac_cv_prog_RANLIB"
11229 # Extract the first word of "ar", so it can be a program name with args.
11230 set dummy
ar; ac_word
=$2
11231 echo "$as_me:$LINENO: checking for $ac_word" >&5
11232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11233 if test "${ac_cv_prog_AR+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 if test -n "$AR"; then
11237 ac_cv_prog_AR
="$AR" # Let the user override the test.
11239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11240 for as_dir
in $PATH
11243 test -z "$as_dir" && as_dir
=.
11244 for ac_exec_ext
in '' $ac_executable_extensions; do
11245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11253 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11257 if test -n "$AR"; then
11258 echo "$as_me:$LINENO: result: $AR" >&5
11259 echo "${ECHO_T}$AR" >&6
11261 echo "$as_me:$LINENO: result: no" >&5
11262 echo "${ECHO_T}no" >&6
11266 # Find a good install program. We prefer a C program (faster),
11267 # so one script is as good as another. But avoid the broken or
11268 # incompatible versions:
11269 # SysV /etc/install, /usr/sbin/install
11270 # SunOS /usr/etc/install
11271 # IRIX /sbin/install
11273 # AmigaOS /C/install, which installs bootblocks on floppy discs
11274 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11275 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11276 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11277 # ./install, which can be erroneously created by make from ./install.sh.
11278 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11279 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11280 if test -z "$INSTALL"; then
11281 if test "${ac_cv_path_install+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11285 for as_dir
in $PATH
11288 test -z "$as_dir" && as_dir
=.
11289 # Account for people who put trailing slashes in PATH elements.
11291 .
/ | .
// | /cC
/* | \
11292 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11295 # OSF1 and SCO ODT 3.0 have their own names for install.
11296 # Don't use installbsd from OSF since it installs stuff as root
11298 for ac_prog
in ginstall scoinst
install; do
11299 for ac_exec_ext
in '' $ac_executable_extensions; do
11300 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11301 if test $ac_prog = install &&
11302 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11303 # AIX install. It has an incompatible calling convention.
11305 elif test $ac_prog = install &&
11306 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11307 # program-specific install script used by HP pwplus--don't use.
11310 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11322 if test "${ac_cv_path_install+set}" = set; then
11323 INSTALL
=$ac_cv_path_install
11325 # As a last resort, use the slow shell script. We don't cache a
11326 # path for INSTALL within a source directory, because that will
11327 # break other packages using the cache if that directory is
11328 # removed, or if the path is relative.
11329 INSTALL
=$ac_install_sh
11332 echo "$as_me:$LINENO: result: $INSTALL" >&5
11333 echo "${ECHO_T}$INSTALL" >&6
11335 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11336 # It thinks the first close brace ends the variable substitution.
11337 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11339 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11341 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11347 ?
:* ) # Drive letter, considered as absolute.
11350 INSTALL
=`pwd`/${INSTALL} ;;
11355 INSTALL_DIR
="mkdir"
11358 *) INSTALL_DIR
="$INSTALL -d"
11365 powerpc
-*-darwin* )
11366 INSTALL_PROGRAM
="cp -fp"
11367 INSTALL_DATA
="cp -fp"
11373 # Extract the first word of "strip", so it can be a program name with args.
11374 set dummy strip
; ac_word
=$2
11375 echo "$as_me:$LINENO: checking for $ac_word" >&5
11376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11377 if test "${ac_cv_prog_STRIP+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 if test -n "$STRIP"; then
11381 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11384 for as_dir
in $PATH
11387 test -z "$as_dir" && as_dir
=.
11388 for ac_exec_ext
in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11390 ac_cv_prog_STRIP
="strip"
11391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11397 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11400 STRIP
=$ac_cv_prog_STRIP
11401 if test -n "$STRIP"; then
11402 echo "$as_me:$LINENO: result: $STRIP" >&5
11403 echo "${ECHO_T}$STRIP" >&6
11405 echo "$as_me:$LINENO: result: no" >&5
11406 echo "${ECHO_T}no" >&6
11410 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11411 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11412 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11417 egrep -s GNU
> /dev
/null
); then
11418 wx_cv_prog_makeisgnu
="yes"
11420 wx_cv_prog_makeisgnu
="no"
11424 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11425 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11427 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11435 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11436 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11437 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11438 if test "${wx_cv_prog_makevpath+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 cat - << EOF > confMake
11448 if test ! -d sub
; then
11451 echo dummy
> sub
/file
11452 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11454 rm -f sub
/file check final_file confMake
11456 if test "$RESULT" = 0; then
11457 wx_cv_prog_makevpath
="yes"
11459 wx_cv_prog_makevpath
="no"
11463 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11464 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11466 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11467 { { echo "$as_me:$LINENO: error:
11468 You need a make-utility that is able to use the variable
11470 If your version of make does not support VPATH correctly,
11471 please install GNU-make (possibly as gmake), and start
11472 configure with the following command:
11473 export MAKE=gmake; ./configure for sh-type shells
11474 setenv MAKE gmake; ./configure for csh-type shells
11475 Also please do remember to use gmake in this case every time
11476 you are trying to compile.
11478 echo "$as_me: error:
11479 You need a make-utility that is able to use the variable
11481 If your version of make does not support VPATH correctly,
11482 please install GNU-make (possibly as gmake), and start
11483 configure with the following command:
11484 export MAKE=gmake; ./configure for sh-type shells
11485 setenv MAKE gmake; ./configure for csh-type shells
11486 Also please do remember to use gmake in this case every time
11487 you are trying to compile.
11489 { (exit 1); exit 1; }; }
11491 for ac_prog
in 'bison -y' byacc
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy
$ac_prog; ac_word
=$2
11495 echo "$as_me:$LINENO: checking for $ac_word" >&5
11496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11497 if test "${ac_cv_prog_YACC+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 if test -n "$YACC"; then
11501 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11504 for as_dir
in $PATH
11507 test -z "$as_dir" && as_dir
=.
11508 for ac_exec_ext
in '' $ac_executable_extensions; do
11509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11510 ac_cv_prog_YACC
="$ac_prog"
11511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 YACC
=$ac_cv_prog_YACC
11520 if test -n "$YACC"; then
11521 echo "$as_me:$LINENO: result: $YACC" >&5
11522 echo "${ECHO_T}$YACC" >&6
11524 echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6
11528 test -n "$YACC" && break
11530 test -n "$YACC" || YACC
="yacc"
11533 for ac_prog
in flex
lex
11535 # Extract the first word of "$ac_prog", so it can be a program name with args.
11536 set dummy
$ac_prog; ac_word
=$2
11537 echo "$as_me:$LINENO: checking for $ac_word" >&5
11538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11539 if test "${ac_cv_prog_LEX+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 if test -n "$LEX"; then
11543 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11546 for as_dir
in $PATH
11549 test -z "$as_dir" && as_dir
=.
11550 for ac_exec_ext
in '' $ac_executable_extensions; do
11551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_prog_LEX
="$ac_prog"
11553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11561 LEX
=$ac_cv_prog_LEX
11562 if test -n "$LEX"; then
11563 echo "$as_me:$LINENO: result: $LEX" >&5
11564 echo "${ECHO_T}$LEX" >&6
11566 echo "$as_me:$LINENO: result: no" >&5
11567 echo "${ECHO_T}no" >&6
11570 test -n "$LEX" && break
11572 test -n "$LEX" || LEX
=":"
11574 if test -z "$LEXLIB"
11576 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11577 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11578 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11581 ac_check_lib_save_LIBS
=$LIBS
11583 cat >conftest.
$ac_ext <<_ACEOF
11584 #line $LINENO "configure"
11587 cat confdefs.h
>>conftest.
$ac_ext
11588 cat >>conftest.
$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11591 /* Override any gcc2 internal prototype to avoid an error. */
11595 /* We use char because int might match the return type of a gcc2
11596 builtin and then its argument prototype would still apply. */
11606 rm -f conftest.
$ac_objext conftest
$ac_exeext
11607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11608 (eval $ac_link) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } &&
11612 { ac_try
='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 ac_cv_lib_fl_yywrap
=yes
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.
$ac_ext >&5
11623 ac_cv_lib_fl_yywrap
=no
11625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11626 LIBS
=$ac_check_lib_save_LIBS
11628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11630 if test $ac_cv_lib_fl_yywrap = yes; then
11633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 ac_check_lib_save_LIBS
=$LIBS
11640 cat >conftest.
$ac_ext <<_ACEOF
11641 #line $LINENO "configure"
11644 cat confdefs.h
>>conftest.
$ac_ext
11645 cat >>conftest.
$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11648 /* Override any gcc2 internal prototype to avoid an error. */
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11663 rm -f conftest.
$ac_objext conftest
$ac_exeext
11664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11665 (eval $ac_link) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); } &&
11669 { ac_try
='test -s conftest$ac_exeext'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; }; then
11675 ac_cv_lib_l_yywrap
=yes
11677 echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.
$ac_ext >&5
11680 ac_cv_lib_l_yywrap
=no
11682 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_lib_save_LIBS
11685 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11686 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11687 if test $ac_cv_lib_l_yywrap = yes; then
11695 if test "x$LEX" != "x:"; then
11696 echo "$as_me:$LINENO: checking lex output file root" >&5
11697 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11698 if test "${ac_cv_prog_lex_root+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 # The minimal lex program is just a single line: %%. But some broken lexes
11702 # (Solaris, I think it was) want two %% lines, so accommodate them.
11703 cat >conftest.l
<<_ACEOF
11707 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11708 (eval $LEX conftest.l
) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }
11712 if test -f lex.yy.c
; then
11713 ac_cv_prog_lex_root
=lex.yy
11714 elif test -f lexyy.c
; then
11715 ac_cv_prog_lex_root
=lexyy
11717 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11718 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11719 { (exit 1); exit 1; }; }
11722 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11723 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11725 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11727 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11728 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11729 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11730 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 # POSIX says lex can declare yytext either as a pointer or an array; the
11733 # default is implementation-dependent. Figure out which it is, since
11734 # not all implementations provide the %pointer and %array declarations.
11735 ac_cv_prog_lex_yytext_pointer
=no
11736 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11738 LIBS
="$LIBS $LEXLIB"
11739 cat >conftest.
$ac_ext <<_ACEOF
11740 `cat $LEX_OUTPUT_ROOT.c`
11742 rm -f conftest.
$ac_objext conftest
$ac_exeext
11743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11744 (eval $ac_link) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } &&
11748 { ac_try
='test -s conftest$ac_exeext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 ac_cv_prog_lex_yytext_pointer
=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11760 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11762 rm -f "${LEX_OUTPUT_ROOT}.c"
11765 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11766 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11767 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11769 cat >>confdefs.h
<<\_ACEOF
11770 #define YYTEXT_POINTER 1
11777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11780 if test "$LN_S" = "ln -s"; then
11781 echo "$as_me:$LINENO: result: yes" >&5
11782 echo "${ECHO_T}yes" >&6
11784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11785 echo "${ECHO_T}no, using $LN_S" >&6
11790 *-pc-os2_emx | *-pc-os2-emx )
11791 LIBS
="$LIBS -lstdcpp"
11792 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11793 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11794 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11795 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 ac_check_lib_save_LIBS
=$LIBS
11799 LIBS
="-lcExt $LIBS"
11800 cat >conftest.
$ac_ext <<_ACEOF
11801 #line $LINENO "configure"
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 /* Override any gcc2 internal prototype to avoid an error. */
11812 /* We use char because int might match the return type of a gcc2
11813 builtin and then its argument prototype would still apply. */
11823 rm -f conftest.
$ac_objext conftest
$ac_exeext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11825 (eval $ac_link) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try
='test -s conftest$ac_exeext'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 ac_cv_lib_cExt_drand48
=yes
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11840 ac_cv_lib_cExt_drand48
=no
11842 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11843 LIBS
=$ac_check_lib_save_LIBS
11845 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11846 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11847 if test $ac_cv_lib_cExt_drand48 = yes; then
11848 LIBS
="$LIBS -lcExt"
11852 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11858 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11859 echo "$as_me:$LINENO: checking for strings.h" >&5
11860 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11861 if test "${ac_cv_header_strings_h+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 ac_cv_header_strings_h
=no
11866 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11867 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11868 if test "$ac_cv_header_strings_h" = "no"; then
11869 echo "$as_me:$LINENO: result: forced no into cache" >&5
11870 echo "${ECHO_T}forced no into cache" >&6
11872 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11873 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11876 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11877 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11878 if test "${ac_cv_header_stdc+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 cat >conftest.
$ac_ext <<_ACEOF
11882 #line $LINENO "configure"
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <stdlib.h>
11889 #include <stdarg.h>
11890 #include <string.h>
11901 rm -f conftest.
$ac_objext
11902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11903 (eval $ac_compile) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); } &&
11907 { ac_try
='test -s conftest.$ac_objext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_cv_header_stdc
=yes
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 ac_cv_header_stdc
=no
11920 rm -f conftest.
$ac_objext conftest.
$ac_ext
11922 if test $ac_cv_header_stdc = yes; then
11923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11924 cat >conftest.
$ac_ext <<_ACEOF
11925 #line $LINENO "configure"
11928 cat confdefs.h
>>conftest.
$ac_ext
11929 cat >>conftest.
$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11931 #include <string.h>
11934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11935 $EGREP "memchr" >/dev
/null
2>&1; then
11938 ac_cv_header_stdc
=no
11944 if test $ac_cv_header_stdc = yes; then
11945 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11946 cat >conftest.
$ac_ext <<_ACEOF
11947 #line $LINENO "configure"
11950 cat confdefs.h
>>conftest.
$ac_ext
11951 cat >>conftest.
$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11953 #include <stdlib.h>
11956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11957 $EGREP "free" >/dev
/null
2>&1; then
11960 ac_cv_header_stdc
=no
11966 if test $ac_cv_header_stdc = yes; then
11967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11968 if test "$cross_compiling" = yes; then
11971 cat >conftest.
$ac_ext <<_ACEOF
11972 #line $LINENO "configure"
11975 cat confdefs.h
>>conftest.
$ac_ext
11976 cat >>conftest.
$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11979 #if ((' ' & 0x0FF) == 0x020)
11980 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11981 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11983 # define ISLOWER(c) \
11984 (('a' <= (c) && (c) <= 'i') \
11985 || ('j' <= (c) && (c) <= 'r') \
11986 || ('s' <= (c) && (c) <= 'z'))
11987 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11990 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11995 for (i = 0; i < 256; i++)
11996 if (XOR (islower (i), ISLOWER (i))
11997 || toupper (i) != TOUPPER (i))
12002 rm -f conftest
$ac_exeext
12003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12004 (eval $ac_link) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12015 echo "$as_me: program exited with status $ac_status" >&5
12016 echo "$as_me: failed program was:" >&5
12017 sed 's/^/| /' conftest.
$ac_ext >&5
12019 ( exit $ac_status )
12020 ac_cv_header_stdc
=no
12022 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12026 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12027 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12028 if test $ac_cv_header_stdc = yes; then
12030 cat >>confdefs.h
<<\_ACEOF
12031 #define STDC_HEADERS 1
12036 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12046 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12047 inttypes.h stdint.h unistd.h
12049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12050 echo "$as_me:$LINENO: checking for $ac_header" >&5
12051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 cat >conftest.
$ac_ext <<_ACEOF
12056 #line $LINENO "configure"
12059 cat confdefs.h
>>conftest.
$ac_ext
12060 cat >>conftest.
$ac_ext <<_ACEOF
12061 /* end confdefs.h. */
12062 $ac_includes_default
12064 #include <$ac_header>
12066 rm -f conftest.
$ac_objext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12068 (eval $ac_compile) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } &&
12072 { ac_try
='test -s conftest.$ac_objext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12078 eval "$as_ac_Header=yes"
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12083 eval "$as_ac_Header=no"
12085 rm -f conftest.
$ac_objext conftest.
$ac_ext
12087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12090 cat >>confdefs.h
<<_ACEOF
12091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12100 for ac_header
in strings.h
12102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12104 echo "$as_me:$LINENO: checking for $ac_header" >&5
12105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12112 # Is the header compilable?
12113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12115 cat >conftest.
$ac_ext <<_ACEOF
12116 #line $LINENO "configure"
12119 cat confdefs.h
>>conftest.
$ac_ext
12120 cat >>conftest.
$ac_ext <<_ACEOF
12121 /* end confdefs.h. */
12122 $ac_includes_default
12123 #include <$ac_header>
12125 rm -f conftest.
$ac_objext
12126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12127 (eval $ac_compile) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try
='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_header_compiler
=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.
$ac_ext >&5
12142 ac_header_compiler
=no
12144 rm -f conftest.
$ac_objext conftest.
$ac_ext
12145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12146 echo "${ECHO_T}$ac_header_compiler" >&6
12148 # Is the header present?
12149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12151 cat >conftest.
$ac_ext <<_ACEOF
12152 #line $LINENO "configure"
12155 cat confdefs.h
>>conftest.
$ac_ext
12156 cat >>conftest.
$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12158 #include <$ac_header>
12160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12163 grep -v '^ *+' conftest.er1
>conftest.err
12165 cat conftest.err
>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); } >/dev
/null
; then
12168 if test -s conftest.err
; then
12169 ac_cpp_err
=$ac_c_preproc_warn_flag
12176 if test -z "$ac_cpp_err"; then
12177 ac_header_preproc
=yes
12179 echo "$as_me: failed program was:" >&5
12180 sed 's/^/| /' conftest.
$ac_ext >&5
12182 ac_header_preproc
=no
12184 rm -f conftest.err conftest.
$ac_ext
12185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12186 echo "${ECHO_T}$ac_header_preproc" >&6
12188 # So? What about this header?
12189 case $ac_header_compiler:$ac_header_preproc in
12191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12197 ## ------------------------------------ ##
12198 ## Report this to bug-autoconf@gnu.org. ##
12199 ## ------------------------------------ ##
12202 sed "s/^/$as_me: WARNING: /" >&2
12205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12213 ## ------------------------------------ ##
12214 ## Report this to bug-autoconf@gnu.org. ##
12215 ## ------------------------------------ ##
12218 sed "s/^/$as_me: WARNING: /" >&2
12221 echo "$as_me:$LINENO: checking for $ac_header" >&5
12222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 eval "$as_ac_Header=$ac_header_preproc"
12228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12233 cat >>confdefs.h
<<_ACEOF
12234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12243 for ac_header
in stdlib.h
12245 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12247 echo "$as_me:$LINENO: checking for $ac_header" >&5
12248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12255 # Is the header compilable?
12256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12258 cat >conftest.
$ac_ext <<_ACEOF
12259 #line $LINENO "configure"
12262 cat confdefs.h
>>conftest.
$ac_ext
12263 cat >>conftest.
$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 $ac_includes_default
12266 #include <$ac_header>
12268 rm -f conftest.
$ac_objext
12269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12270 (eval $ac_compile) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try
='test -s conftest.$ac_objext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 ac_header_compiler
=yes
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.
$ac_ext >&5
12285 ac_header_compiler
=no
12287 rm -f conftest.
$ac_objext conftest.
$ac_ext
12288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12289 echo "${ECHO_T}$ac_header_compiler" >&6
12291 # Is the header present?
12292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12294 cat >conftest.
$ac_ext <<_ACEOF
12295 #line $LINENO "configure"
12298 cat confdefs.h
>>conftest.
$ac_ext
12299 cat >>conftest.
$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12301 #include <$ac_header>
12303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12306 grep -v '^ *+' conftest.er1
>conftest.err
12308 cat conftest.err
>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } >/dev
/null
; then
12311 if test -s conftest.err
; then
12312 ac_cpp_err
=$ac_c_preproc_warn_flag
12319 if test -z "$ac_cpp_err"; then
12320 ac_header_preproc
=yes
12322 echo "$as_me: failed program was:" >&5
12323 sed 's/^/| /' conftest.
$ac_ext >&5
12325 ac_header_preproc
=no
12327 rm -f conftest.err conftest.
$ac_ext
12328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12329 echo "${ECHO_T}$ac_header_preproc" >&6
12331 # So? What about this header?
12332 case $ac_header_compiler:$ac_header_preproc in
12334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12340 ## ------------------------------------ ##
12341 ## Report this to bug-autoconf@gnu.org. ##
12342 ## ------------------------------------ ##
12345 sed "s/^/$as_me: WARNING: /" >&2
12348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12356 ## ------------------------------------ ##
12357 ## Report this to bug-autoconf@gnu.org. ##
12358 ## ------------------------------------ ##
12361 sed "s/^/$as_me: WARNING: /" >&2
12364 echo "$as_me:$LINENO: checking for $ac_header" >&5
12365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 eval "$as_ac_Header=$ac_header_preproc"
12371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12376 cat >>confdefs.h
<<_ACEOF
12377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12385 for ac_header
in malloc.h
12387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12389 echo "$as_me:$LINENO: checking for $ac_header" >&5
12390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12397 # Is the header compilable?
12398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12400 cat >conftest.
$ac_ext <<_ACEOF
12401 #line $LINENO "configure"
12404 cat confdefs.h
>>conftest.
$ac_ext
12405 cat >>conftest.
$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_includes_default
12408 #include <$ac_header>
12410 rm -f conftest.
$ac_objext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try
='test -s conftest.$ac_objext'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; }; then
12422 ac_header_compiler
=yes
12424 echo "$as_me: failed program was:" >&5
12425 sed 's/^/| /' conftest.
$ac_ext >&5
12427 ac_header_compiler
=no
12429 rm -f conftest.
$ac_objext conftest.
$ac_ext
12430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12431 echo "${ECHO_T}$ac_header_compiler" >&6
12433 # Is the header present?
12434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12436 cat >conftest.
$ac_ext <<_ACEOF
12437 #line $LINENO "configure"
12440 cat confdefs.h
>>conftest.
$ac_ext
12441 cat >>conftest.
$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12443 #include <$ac_header>
12445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12448 grep -v '^ *+' conftest.er1
>conftest.err
12450 cat conftest.err
>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } >/dev
/null
; then
12453 if test -s conftest.err
; then
12454 ac_cpp_err
=$ac_c_preproc_warn_flag
12461 if test -z "$ac_cpp_err"; then
12462 ac_header_preproc
=yes
12464 echo "$as_me: failed program was:" >&5
12465 sed 's/^/| /' conftest.
$ac_ext >&5
12467 ac_header_preproc
=no
12469 rm -f conftest.err conftest.
$ac_ext
12470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12471 echo "${ECHO_T}$ac_header_preproc" >&6
12473 # So? What about this header?
12474 case $ac_header_compiler:$ac_header_preproc in
12476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12482 ## ------------------------------------ ##
12483 ## Report this to bug-autoconf@gnu.org. ##
12484 ## ------------------------------------ ##
12487 sed "s/^/$as_me: WARNING: /" >&2
12490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12498 ## ------------------------------------ ##
12499 ## Report this to bug-autoconf@gnu.org. ##
12500 ## ------------------------------------ ##
12503 sed "s/^/$as_me: WARNING: /" >&2
12506 echo "$as_me:$LINENO: checking for $ac_header" >&5
12507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 eval "$as_ac_Header=$ac_header_preproc"
12513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12518 cat >>confdefs.h
<<_ACEOF
12519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12527 for ac_header
in unistd.h
12529 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12531 echo "$as_me:$LINENO: checking for $ac_header" >&5
12532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12539 # Is the header compilable?
12540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12542 cat >conftest.
$ac_ext <<_ACEOF
12543 #line $LINENO "configure"
12546 cat confdefs.h
>>conftest.
$ac_ext
12547 cat >>conftest.
$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12549 $ac_includes_default
12550 #include <$ac_header>
12552 rm -f conftest.
$ac_objext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12554 (eval $ac_compile) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } &&
12558 { ac_try
='test -s conftest.$ac_objext'
12559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12560 (eval $ac_try) 2>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); }; }; then
12564 ac_header_compiler
=yes
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.
$ac_ext >&5
12569 ac_header_compiler
=no
12571 rm -f conftest.
$ac_objext conftest.
$ac_ext
12572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12573 echo "${ECHO_T}$ac_header_compiler" >&6
12575 # Is the header present?
12576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12578 cat >conftest.
$ac_ext <<_ACEOF
12579 #line $LINENO "configure"
12582 cat confdefs.h
>>conftest.
$ac_ext
12583 cat >>conftest.
$ac_ext <<_ACEOF
12584 /* end confdefs.h. */
12585 #include <$ac_header>
12587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12590 grep -v '^ *+' conftest.er1
>conftest.err
12592 cat conftest.err
>&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); } >/dev
/null
; then
12595 if test -s conftest.err
; then
12596 ac_cpp_err
=$ac_c_preproc_warn_flag
12603 if test -z "$ac_cpp_err"; then
12604 ac_header_preproc
=yes
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.
$ac_ext >&5
12609 ac_header_preproc
=no
12611 rm -f conftest.err conftest.
$ac_ext
12612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12613 echo "${ECHO_T}$ac_header_preproc" >&6
12615 # So? What about this header?
12616 case $ac_header_compiler:$ac_header_preproc in
12618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12624 ## ------------------------------------ ##
12625 ## Report this to bug-autoconf@gnu.org. ##
12626 ## ------------------------------------ ##
12629 sed "s/^/$as_me: WARNING: /" >&2
12632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12640 ## ------------------------------------ ##
12641 ## Report this to bug-autoconf@gnu.org. ##
12642 ## ------------------------------------ ##
12645 sed "s/^/$as_me: WARNING: /" >&2
12648 echo "$as_me:$LINENO: checking for $ac_header" >&5
12649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 eval "$as_ac_Header=$ac_header_preproc"
12655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12660 cat >>confdefs.h
<<_ACEOF
12661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12669 for ac_header
in wchar.h
12671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12673 echo "$as_me:$LINENO: checking for $ac_header" >&5
12674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12676 echo $ECHO_N "(cached) $ECHO_C" >&6
12678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12681 # Is the header compilable?
12682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12684 cat >conftest.
$ac_ext <<_ACEOF
12685 #line $LINENO "configure"
12688 cat confdefs.h
>>conftest.
$ac_ext
12689 cat >>conftest.
$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12691 $ac_includes_default
12692 #include <$ac_header>
12694 rm -f conftest.
$ac_objext
12695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12696 (eval $ac_compile) 2>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); } &&
12700 { ac_try
='test -s conftest.$ac_objext'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; }; then
12706 ac_header_compiler
=yes
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.
$ac_ext >&5
12711 ac_header_compiler
=no
12713 rm -f conftest.
$ac_objext conftest.
$ac_ext
12714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12715 echo "${ECHO_T}$ac_header_compiler" >&6
12717 # Is the header present?
12718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12720 cat >conftest.
$ac_ext <<_ACEOF
12721 #line $LINENO "configure"
12724 cat confdefs.h
>>conftest.
$ac_ext
12725 cat >>conftest.
$ac_ext <<_ACEOF
12726 /* end confdefs.h. */
12727 #include <$ac_header>
12729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } >/dev
/null
; then
12737 if test -s conftest.err
; then
12738 ac_cpp_err
=$ac_c_preproc_warn_flag
12745 if test -z "$ac_cpp_err"; then
12746 ac_header_preproc
=yes
12748 echo "$as_me: failed program was:" >&5
12749 sed 's/^/| /' conftest.
$ac_ext >&5
12751 ac_header_preproc
=no
12753 rm -f conftest.err conftest.
$ac_ext
12754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12755 echo "${ECHO_T}$ac_header_preproc" >&6
12757 # So? What about this header?
12758 case $ac_header_compiler:$ac_header_preproc in
12760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12766 ## ------------------------------------ ##
12767 ## Report this to bug-autoconf@gnu.org. ##
12768 ## ------------------------------------ ##
12771 sed "s/^/$as_me: WARNING: /" >&2
12774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12782 ## ------------------------------------ ##
12783 ## Report this to bug-autoconf@gnu.org. ##
12784 ## ------------------------------------ ##
12787 sed "s/^/$as_me: WARNING: /" >&2
12790 echo "$as_me:$LINENO: checking for $ac_header" >&5
12791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 eval "$as_ac_Header=$ac_header_preproc"
12797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12802 cat >>confdefs.h
<<_ACEOF
12803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12811 if test "$ac_cv_header_wchar_h" != "yes"; then
12813 for ac_header
in wcstr.h
12815 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12817 echo "$as_me:$LINENO: checking for $ac_header" >&5
12818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12825 # Is the header compilable?
12826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12828 cat >conftest.
$ac_ext <<_ACEOF
12829 #line $LINENO "configure"
12832 cat confdefs.h
>>conftest.
$ac_ext
12833 cat >>conftest.
$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12835 $ac_includes_default
12836 #include <$ac_header>
12838 rm -f conftest.
$ac_objext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840 (eval $ac_compile) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_header_compiler
=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 ac_header_compiler
=no
12857 rm -f conftest.
$ac_objext conftest.
$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12859 echo "${ECHO_T}$ac_header_compiler" >&6
12861 # Is the header present?
12862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12864 cat >conftest.
$ac_ext <<_ACEOF
12865 #line $LINENO "configure"
12868 cat confdefs.h
>>conftest.
$ac_ext
12869 cat >>conftest.
$ac_ext <<_ACEOF
12870 /* end confdefs.h. */
12871 #include <$ac_header>
12873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12876 grep -v '^ *+' conftest.er1
>conftest.err
12878 cat conftest.err
>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } >/dev
/null
; then
12881 if test -s conftest.err
; then
12882 ac_cpp_err
=$ac_c_preproc_warn_flag
12889 if test -z "$ac_cpp_err"; then
12890 ac_header_preproc
=yes
12892 echo "$as_me: failed program was:" >&5
12893 sed 's/^/| /' conftest.
$ac_ext >&5
12895 ac_header_preproc
=no
12897 rm -f conftest.err conftest.
$ac_ext
12898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12899 echo "${ECHO_T}$ac_header_preproc" >&6
12901 # So? What about this header?
12902 case $ac_header_compiler:$ac_header_preproc in
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12910 ## ------------------------------------ ##
12911 ## Report this to bug-autoconf@gnu.org. ##
12912 ## ------------------------------------ ##
12915 sed "s/^/$as_me: WARNING: /" >&2
12918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12926 ## ------------------------------------ ##
12927 ## Report this to bug-autoconf@gnu.org. ##
12928 ## ------------------------------------ ##
12931 sed "s/^/$as_me: WARNING: /" >&2
12934 echo "$as_me:$LINENO: checking for $ac_header" >&5
12935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 eval "$as_ac_Header=$ac_header_preproc"
12941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12946 cat >>confdefs.h
<<_ACEOF
12947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12957 for ac_header
in fnmatch.h
12959 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo "$as_me:$LINENO: checking for $ac_header" >&5
12962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12969 # Is the header compilable?
12970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12972 cat >conftest.
$ac_ext <<_ACEOF
12973 #line $LINENO "configure"
12976 cat confdefs.h
>>conftest.
$ac_ext
12977 cat >>conftest.
$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12979 $ac_includes_default
12980 #include <$ac_header>
12982 rm -f conftest.
$ac_objext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12984 (eval $ac_compile) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); } &&
12988 { ac_try
='test -s conftest.$ac_objext'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; }; then
12994 ac_header_compiler
=yes
12996 echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.
$ac_ext >&5
12999 ac_header_compiler
=no
13001 rm -f conftest.
$ac_objext conftest.
$ac_ext
13002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13003 echo "${ECHO_T}$ac_header_compiler" >&6
13005 # Is the header present?
13006 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13008 cat >conftest.
$ac_ext <<_ACEOF
13009 #line $LINENO "configure"
13012 cat confdefs.h
>>conftest.
$ac_ext
13013 cat >>conftest.
$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 #include <$ac_header>
13017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13020 grep -v '^ *+' conftest.er1
>conftest.err
13022 cat conftest.err
>&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); } >/dev
/null
; then
13025 if test -s conftest.err
; then
13026 ac_cpp_err
=$ac_c_preproc_warn_flag
13033 if test -z "$ac_cpp_err"; then
13034 ac_header_preproc
=yes
13036 echo "$as_me: failed program was:" >&5
13037 sed 's/^/| /' conftest.
$ac_ext >&5
13039 ac_header_preproc
=no
13041 rm -f conftest.err conftest.
$ac_ext
13042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13043 echo "${ECHO_T}$ac_header_preproc" >&6
13045 # So? What about this header?
13046 case $ac_header_compiler:$ac_header_preproc in
13048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13054 ## ------------------------------------ ##
13055 ## Report this to bug-autoconf@gnu.org. ##
13056 ## ------------------------------------ ##
13059 sed "s/^/$as_me: WARNING: /" >&2
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13070 ## ------------------------------------ ##
13071 ## Report this to bug-autoconf@gnu.org. ##
13072 ## ------------------------------------ ##
13075 sed "s/^/$as_me: WARNING: /" >&2
13078 echo "$as_me:$LINENO: checking for $ac_header" >&5
13079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 eval "$as_ac_Header=$ac_header_preproc"
13085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13090 cat >>confdefs.h
<<_ACEOF
13091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13099 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13101 for ac_func
in fnmatch
13103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13104 echo "$as_me:$LINENO: checking for $ac_func" >&5
13105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13106 if eval "test \"\${$as_ac_var+set}\" = set"; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 cat >conftest.
$ac_ext <<_ACEOF
13110 #line $LINENO "configure"
13113 cat confdefs.h
>>conftest.
$ac_ext
13114 cat >>conftest.
$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116 /* System header to define __stub macros and hopefully few prototypes,
13117 which can conflict with char $ac_func (); below.
13118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13119 <limits.h> exists even on freestanding compilers. */
13121 # include <limits.h>
13123 # include <assert.h>
13125 /* Override any gcc2 internal prototype to avoid an error. */
13130 /* We use char because int might match the return type of a gcc2
13131 builtin and then its argument prototype would still apply. */
13133 /* The GNU C library defines this for functions which it implements
13134 to always fail with ENOSYS. Some functions are actually named
13135 something starting with __ and the normal name is an alias. */
13136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13139 char (*f) () = $ac_func;
13148 return f != $ac_func;
13153 rm -f conftest.
$ac_objext conftest
$ac_exeext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13155 (eval $ac_link) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); } &&
13159 { ac_try
='test -s conftest$ac_exeext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 eval "$as_ac_var=yes"
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 eval "$as_ac_var=no"
13172 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13176 if test `eval echo '${'$as_ac_var'}'` = yes; then
13177 cat >>confdefs.h
<<_ACEOF
13178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13187 for ac_header
in langinfo.h
13189 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13191 echo "$as_me:$LINENO: checking for $ac_header" >&5
13192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199 # Is the header compilable?
13200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13202 cat >conftest.
$ac_ext <<_ACEOF
13203 #line $LINENO "configure"
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 $ac_includes_default
13210 #include <$ac_header>
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try
='test -s conftest.$ac_objext'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; }; then
13224 ac_header_compiler
=yes
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.
$ac_ext >&5
13229 ac_header_compiler
=no
13231 rm -f conftest.
$ac_objext conftest.
$ac_ext
13232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13233 echo "${ECHO_T}$ac_header_compiler" >&6
13235 # Is the header present?
13236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13238 cat >conftest.
$ac_ext <<_ACEOF
13239 #line $LINENO "configure"
13242 cat confdefs.h
>>conftest.
$ac_ext
13243 cat >>conftest.
$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13245 #include <$ac_header>
13247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13250 grep -v '^ *+' conftest.er1
>conftest.err
13252 cat conftest.err
>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } >/dev
/null
; then
13255 if test -s conftest.err
; then
13256 ac_cpp_err
=$ac_c_preproc_warn_flag
13263 if test -z "$ac_cpp_err"; then
13264 ac_header_preproc
=yes
13266 echo "$as_me: failed program was:" >&5
13267 sed 's/^/| /' conftest.
$ac_ext >&5
13269 ac_header_preproc
=no
13271 rm -f conftest.err conftest.
$ac_ext
13272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13273 echo "${ECHO_T}$ac_header_preproc" >&6
13275 # So? What about this header?
13276 case $ac_header_compiler:$ac_header_preproc in
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13284 ## ------------------------------------ ##
13285 ## Report this to bug-autoconf@gnu.org. ##
13286 ## ------------------------------------ ##
13289 sed "s/^/$as_me: WARNING: /" >&2
13292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13300 ## ------------------------------------ ##
13301 ## Report this to bug-autoconf@gnu.org. ##
13302 ## ------------------------------------ ##
13305 sed "s/^/$as_me: WARNING: /" >&2
13308 echo "$as_me:$LINENO: checking for $ac_header" >&5
13309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13311 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 eval "$as_ac_Header=$ac_header_preproc"
13315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13320 cat >>confdefs.h
<<_ACEOF
13321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13330 *-pc-os2_emx | *-pc-os2-emx )
13331 if test $ac_cv_header_langinfo_h = "yes"; then
13332 LIBS
="$LIBS -lintl"
13337 if test "$wxUSE_GUI" = "yes"; then
13338 if test "$wxUSE_UNIX" = "yes"; then
13340 for ac_header
in X
11/XKBlib.h
13342 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13344 echo "$as_me:$LINENO: checking for $ac_header" >&5
13345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13347 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13352 # Is the header compilable?
13353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13355 cat >conftest.
$ac_ext <<_ACEOF
13356 #line $LINENO "configure"
13359 cat confdefs.h
>>conftest.
$ac_ext
13360 cat >>conftest.
$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13362 $ac_includes_default
13363 #include <$ac_header>
13365 rm -f conftest.
$ac_objext
13366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13367 (eval $ac_compile) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try
='test -s conftest.$ac_objext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 ac_header_compiler
=yes
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.
$ac_ext >&5
13382 ac_header_compiler
=no
13384 rm -f conftest.
$ac_objext conftest.
$ac_ext
13385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13386 echo "${ECHO_T}$ac_header_compiler" >&6
13388 # Is the header present?
13389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13391 cat >conftest.
$ac_ext <<_ACEOF
13392 #line $LINENO "configure"
13395 cat confdefs.h
>>conftest.
$ac_ext
13396 cat >>conftest.
$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 #include <$ac_header>
13400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13403 grep -v '^ *+' conftest.er1
>conftest.err
13405 cat conftest.err
>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); } >/dev
/null
; then
13408 if test -s conftest.err
; then
13409 ac_cpp_err
=$ac_c_preproc_warn_flag
13416 if test -z "$ac_cpp_err"; then
13417 ac_header_preproc
=yes
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.
$ac_ext >&5
13422 ac_header_preproc
=no
13424 rm -f conftest.err conftest.
$ac_ext
13425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13426 echo "${ECHO_T}$ac_header_preproc" >&6
13428 # So? What about this header?
13429 case $ac_header_compiler:$ac_header_preproc in
13431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13437 ## ------------------------------------ ##
13438 ## Report this to bug-autoconf@gnu.org. ##
13439 ## ------------------------------------ ##
13442 sed "s/^/$as_me: WARNING: /" >&2
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13453 ## ------------------------------------ ##
13454 ## Report this to bug-autoconf@gnu.org. ##
13455 ## ------------------------------------ ##
13458 sed "s/^/$as_me: WARNING: /" >&2
13461 echo "$as_me:$LINENO: checking for $ac_header" >&5
13462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13466 eval "$as_ac_Header=$ac_header_preproc"
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13473 cat >>confdefs.h
<<_ACEOF
13474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13485 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13486 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13487 if test "${ac_cv_c_const+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 cat >conftest.
$ac_ext <<_ACEOF
13491 #line $LINENO "configure"
13494 cat confdefs.h
>>conftest.
$ac_ext
13495 cat >>conftest.
$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13501 /* FIXME: Include the comments suggested by Paul. */
13502 #ifndef __cplusplus
13503 /* Ultrix mips cc rejects this. */
13504 typedef int charset[2];
13506 /* SunOS 4.1.1 cc rejects this. */
13507 char const *const *ccp;
13509 /* NEC SVR4.0.2 mips cc rejects this. */
13510 struct point {int x, y;};
13511 static struct point const zero = {0,0};
13512 /* AIX XL C 1.02.0.0 rejects this.
13513 It does not let you subtract one const X* pointer from another in
13514 an arm of an if-expression whose if-part is not a constant
13516 const char *g = "string";
13517 ccp = &g + (g ? g-g : 0);
13518 /* HPUX 7.0 cc rejects these. */
13521 ccp = (char const *const *) p;
13522 { /* SCO 3.2v4 cc rejects this. */
13524 char const *s = 0 ? (char *) 0 : (char const *) 0;
13528 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13529 int x[] = {25, 17};
13530 const int *foo = &x[0];
13533 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13534 typedef const int *iptr;
13538 { /* AIX XL C 1.02.0.0 rejects this saying
13539 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13540 struct s { int j; const int *ap[3]; };
13541 struct s *b; b->j = 5;
13543 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13544 const int foo = 10;
13552 rm -f conftest.
$ac_objext
13553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13554 (eval $ac_compile) 2>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } &&
13558 { ac_try
='test -s conftest.$ac_objext'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; }; then
13566 echo "$as_me: failed program was:" >&5
13567 sed 's/^/| /' conftest.
$ac_ext >&5
13571 rm -f conftest.
$ac_objext conftest.
$ac_ext
13573 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13574 echo "${ECHO_T}$ac_cv_c_const" >&6
13575 if test $ac_cv_c_const = no
; then
13577 cat >>confdefs.h
<<\_ACEOF
13583 echo "$as_me:$LINENO: checking for inline" >&5
13584 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13585 if test "${ac_cv_c_inline+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 for ac_kw
in inline __inline__ __inline
; do
13590 cat >conftest.
$ac_ext <<_ACEOF
13591 #line $LINENO "configure"
13594 cat confdefs.h
>>conftest.
$ac_ext
13595 cat >>conftest.
$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #ifndef __cplusplus
13599 static $ac_kw foo_t static_foo () {return 0; }
13600 $ac_kw foo_t foo () {return 0; }
13604 rm -f conftest.
$ac_objext
13605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13606 (eval $ac_compile) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } &&
13610 { ac_try
='test -s conftest.$ac_objext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 ac_cv_c_inline
=$ac_kw; break
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.
$ac_ext >&5
13622 rm -f conftest.
$ac_objext conftest.
$ac_ext
13626 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13627 echo "${ECHO_T}$ac_cv_c_inline" >&6
13628 case $ac_cv_c_inline in
13631 cat >>confdefs.h
<<\_ACEOF
13635 *) cat >>confdefs.h
<<_ACEOF
13636 #define inline $ac_cv_c_inline
13642 echo "$as_me:$LINENO: checking for char" >&5
13643 echo $ECHO_N "checking for char... $ECHO_C" >&6
13644 if test "${ac_cv_type_char+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 cat >conftest.
$ac_ext <<_ACEOF
13648 #line $LINENO "configure"
13651 cat confdefs.h
>>conftest.
$ac_ext
13652 cat >>conftest.
$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13654 $ac_includes_default
13666 rm -f conftest.
$ac_objext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13668 (eval $ac_compile) 2>&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); } &&
13672 { ac_try
='test -s conftest.$ac_objext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 ac_cv_type_char
=yes
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.
$ac_ext >&5
13685 rm -f conftest.
$ac_objext conftest.
$ac_ext
13687 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13688 echo "${ECHO_T}$ac_cv_type_char" >&6
13690 echo "$as_me:$LINENO: checking size of char" >&5
13691 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13692 if test "${ac_cv_sizeof_char+set}" = set; then
13693 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 if test "$ac_cv_type_char" = yes; then
13696 # The cast to unsigned long works around a bug in the HP C Compiler
13697 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13698 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13699 # This bug is HP SR number 8606223364.
13700 if test "$cross_compiling" = yes; then
13701 # Depending upon the size, compute the lo and hi bounds.
13702 cat >conftest.
$ac_ext <<_ACEOF
13703 #line $LINENO "configure"
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 $ac_includes_default
13713 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13720 rm -f conftest.
$ac_objext
13721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13722 (eval $ac_compile) 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try
='test -s conftest.$ac_objext'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; }; then
13734 cat >conftest.
$ac_ext <<_ACEOF
13735 #line $LINENO "configure"
13738 cat confdefs.h
>>conftest.
$ac_ext
13739 cat >>conftest.
$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 $ac_includes_default
13745 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13752 rm -f conftest.
$ac_objext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13754 (eval $ac_compile) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } &&
13758 { ac_try
='test -s conftest.$ac_objext'
13759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13760 (eval $ac_try) 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; }; then
13764 ac_hi
=$ac_mid; break
13766 echo "$as_me: failed program was:" >&5
13767 sed 's/^/| /' conftest.
$ac_ext >&5
13769 ac_lo
=`expr $ac_mid + 1`
13770 if test $ac_lo -le $ac_mid; then
13774 ac_mid
=`expr 2 '*' $ac_mid + 1`
13776 rm -f conftest.
$ac_objext conftest.
$ac_ext
13779 echo "$as_me: failed program was:" >&5
13780 sed 's/^/| /' conftest.
$ac_ext >&5
13782 cat >conftest.
$ac_ext <<_ACEOF
13783 #line $LINENO "configure"
13786 cat confdefs.h
>>conftest.
$ac_ext
13787 cat >>conftest.
$ac_ext <<_ACEOF
13788 /* end confdefs.h. */
13789 $ac_includes_default
13793 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } &&
13806 { ac_try
='test -s conftest.$ac_objext'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; }; then
13814 cat >conftest.
$ac_ext <<_ACEOF
13815 #line $LINENO "configure"
13818 cat confdefs.h
>>conftest.
$ac_ext
13819 cat >>conftest.
$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 $ac_includes_default
13825 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13832 rm -f conftest.
$ac_objext
13833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13834 (eval $ac_compile) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } &&
13838 { ac_try
='test -s conftest.$ac_objext'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; }; then
13844 ac_lo
=$ac_mid; break
13846 echo "$as_me: failed program was:" >&5
13847 sed 's/^/| /' conftest.
$ac_ext >&5
13849 ac_hi
=`expr '(' $ac_mid ')' - 1`
13850 if test $ac_mid -le $ac_hi; then
13854 ac_mid
=`expr 2 '*' $ac_mid`
13856 rm -f conftest.
$ac_objext conftest.
$ac_ext
13859 echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.
$ac_ext >&5
13864 rm -f conftest.
$ac_objext conftest.
$ac_ext
13866 rm -f conftest.
$ac_objext conftest.
$ac_ext
13867 # Binary search between lo and hi bounds.
13868 while test "x$ac_lo" != "x$ac_hi"; do
13869 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13870 cat >conftest.
$ac_ext <<_ACEOF
13871 #line $LINENO "configure"
13874 cat confdefs.h
>>conftest.
$ac_ext
13875 cat >>conftest.
$ac_ext <<_ACEOF
13876 /* end confdefs.h. */
13877 $ac_includes_default
13881 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13888 rm -f conftest.
$ac_objext
13889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13890 (eval $ac_compile) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); } &&
13894 { ac_try
='test -s conftest.$ac_objext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.
$ac_ext >&5
13905 ac_lo
=`expr '(' $ac_mid ')' + 1`
13907 rm -f conftest.
$ac_objext conftest.
$ac_ext
13910 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13912 See \`config.log' for more details." >&5
13913 echo "$as_me: error: cannot compute sizeof (char), 77
13914 See \`config.log' for more details." >&2;}
13915 { (exit 1); exit 1; }; } ;;
13918 if test "$cross_compiling" = yes; then
13919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13920 See \`config.log' for more details." >&5
13921 echo "$as_me: error: cannot run test program while cross compiling
13922 See \`config.log' for more details." >&2;}
13923 { (exit 1); exit 1; }; }
13925 cat >conftest.
$ac_ext <<_ACEOF
13926 #line $LINENO "configure"
13929 cat confdefs.h
>>conftest.
$ac_ext
13930 cat >>conftest.
$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 $ac_includes_default
13933 long longval () { return (long) (sizeof (char)); }
13934 unsigned long ulongval () { return (long) (sizeof (char)); }
13936 #include <stdlib.h>
13941 FILE *f = fopen ("conftest.val", "w");
13944 if (((long) (sizeof (char))) < 0)
13946 long i = longval ();
13947 if (i != ((long) (sizeof (char))))
13949 fprintf (f, "%ld\n", i);
13953 unsigned long i = ulongval ();
13954 if (i != ((long) (sizeof (char))))
13956 fprintf (f, "%lu\n", i);
13958 exit (ferror (f) || fclose (f) != 0);
13964 rm -f conftest
$ac_exeext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13966 (eval $ac_link) 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13971 (eval $ac_try) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; }; then
13975 ac_cv_sizeof_char
=`cat conftest.val`
13977 echo "$as_me: program exited with status $ac_status" >&5
13978 echo "$as_me: failed program was:" >&5
13979 sed 's/^/| /' conftest.
$ac_ext >&5
13981 ( exit $ac_status )
13982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13983 See \`config.log' for more details." >&5
13984 echo "$as_me: error: cannot compute sizeof (char), 77
13985 See \`config.log' for more details." >&2;}
13986 { (exit 1); exit 1; }; }
13988 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13993 ac_cv_sizeof_char
=0
13996 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13997 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13998 cat >>confdefs.h
<<_ACEOF
13999 #define SIZEOF_CHAR $ac_cv_sizeof_char
14003 echo "$as_me:$LINENO: checking for short" >&5
14004 echo $ECHO_N "checking for short... $ECHO_C" >&6
14005 if test "${ac_cv_type_short+set}" = set; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 cat >conftest.
$ac_ext <<_ACEOF
14009 #line $LINENO "configure"
14012 cat confdefs.h
>>conftest.
$ac_ext
14013 cat >>conftest.
$ac_ext <<_ACEOF
14014 /* end confdefs.h. */
14015 $ac_includes_default
14021 if (sizeof (short))
14027 rm -f conftest.
$ac_objext
14028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14029 (eval $ac_compile) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } &&
14033 { ac_try
='test -s conftest.$ac_objext'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; }; then
14039 ac_cv_type_short
=yes
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.
$ac_ext >&5
14044 ac_cv_type_short
=no
14046 rm -f conftest.
$ac_objext conftest.
$ac_ext
14048 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14049 echo "${ECHO_T}$ac_cv_type_short" >&6
14051 echo "$as_me:$LINENO: checking size of short" >&5
14052 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14053 if test "${ac_cv_sizeof_short+set}" = set; then
14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14056 if test "$ac_cv_type_short" = yes; then
14057 # The cast to unsigned long works around a bug in the HP C Compiler
14058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14060 # This bug is HP SR number 8606223364.
14061 if test "$cross_compiling" = yes; then
14062 # Depending upon the size, compute the lo and hi bounds.
14063 cat >conftest.
$ac_ext <<_ACEOF
14064 #line $LINENO "configure"
14067 cat confdefs.h
>>conftest.
$ac_ext
14068 cat >>conftest.
$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 $ac_includes_default
14074 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14081 rm -f conftest.
$ac_objext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14083 (eval $ac_compile) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } &&
14087 { ac_try
='test -s conftest.$ac_objext'
14088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14089 (eval $ac_try) 2>&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); }; }; then
14095 cat >conftest.
$ac_ext <<_ACEOF
14096 #line $LINENO "configure"
14099 cat confdefs.h
>>conftest.
$ac_ext
14100 cat >>conftest.
$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14102 $ac_includes_default
14106 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14113 rm -f conftest.
$ac_objext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14115 (eval $ac_compile) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try
='test -s conftest.$ac_objext'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; }; then
14125 ac_hi
=$ac_mid; break
14127 echo "$as_me: failed program was:" >&5
14128 sed 's/^/| /' conftest.
$ac_ext >&5
14130 ac_lo
=`expr $ac_mid + 1`
14131 if test $ac_lo -le $ac_mid; then
14135 ac_mid
=`expr 2 '*' $ac_mid + 1`
14137 rm -f conftest.
$ac_objext conftest.
$ac_ext
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.
$ac_ext >&5
14143 cat >conftest.
$ac_ext <<_ACEOF
14144 #line $LINENO "configure"
14147 cat confdefs.h
>>conftest.
$ac_ext
14148 cat >>conftest.
$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 $ac_includes_default
14154 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try
='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14175 cat >conftest.
$ac_ext <<_ACEOF
14176 #line $LINENO "configure"
14179 cat confdefs.h
>>conftest.
$ac_ext
14180 cat >>conftest.
$ac_ext <<_ACEOF
14181 /* end confdefs.h. */
14182 $ac_includes_default
14186 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14193 rm -f conftest.
$ac_objext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14195 (eval $ac_compile) 2>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } &&
14199 { ac_try
='test -s conftest.$ac_objext'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; }; then
14205 ac_lo
=$ac_mid; break
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.
$ac_ext >&5
14210 ac_hi
=`expr '(' $ac_mid ')' - 1`
14211 if test $ac_mid -le $ac_hi; then
14215 ac_mid
=`expr 2 '*' $ac_mid`
14217 rm -f conftest.
$ac_objext conftest.
$ac_ext
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.
$ac_ext >&5
14225 rm -f conftest.
$ac_objext conftest.
$ac_ext
14227 rm -f conftest.
$ac_objext conftest.
$ac_ext
14228 # Binary search between lo and hi bounds.
14229 while test "x$ac_lo" != "x$ac_hi"; do
14230 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14231 cat >conftest.
$ac_ext <<_ACEOF
14232 #line $LINENO "configure"
14235 cat confdefs.h
>>conftest.
$ac_ext
14236 cat >>conftest.
$ac_ext <<_ACEOF
14237 /* end confdefs.h. */
14238 $ac_includes_default
14242 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14249 rm -f conftest.
$ac_objext
14250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14251 (eval $ac_compile) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try
='test -s conftest.$ac_objext'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; }; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.
$ac_ext >&5
14266 ac_lo
=`expr '(' $ac_mid ')' + 1`
14268 rm -f conftest.
$ac_objext conftest.
$ac_ext
14271 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14272 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14273 See \`config.log' for more details." >&5
14274 echo "$as_me: error: cannot compute sizeof (short), 77
14275 See \`config.log' for more details." >&2;}
14276 { (exit 1); exit 1; }; } ;;
14279 if test "$cross_compiling" = yes; then
14280 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14281 See \`config.log' for more details." >&5
14282 echo "$as_me: error: cannot run test program while cross compiling
14283 See \`config.log' for more details." >&2;}
14284 { (exit 1); exit 1; }; }
14286 cat >conftest.
$ac_ext <<_ACEOF
14287 #line $LINENO "configure"
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_includes_default
14294 long longval () { return (long) (sizeof (short)); }
14295 unsigned long ulongval () { return (long) (sizeof (short)); }
14297 #include <stdlib.h>
14302 FILE *f = fopen ("conftest.val", "w");
14305 if (((long) (sizeof (short))) < 0)
14307 long i = longval ();
14308 if (i != ((long) (sizeof (short))))
14310 fprintf (f, "%ld\n", i);
14314 unsigned long i = ulongval ();
14315 if (i != ((long) (sizeof (short))))
14317 fprintf (f, "%lu\n", i);
14319 exit (ferror (f) || fclose (f) != 0);
14325 rm -f conftest
$ac_exeext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14327 (eval $ac_link) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 ac_cv_sizeof_short
=`cat conftest.val`
14338 echo "$as_me: program exited with status $ac_status" >&5
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.
$ac_ext >&5
14342 ( exit $ac_status )
14343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14344 See \`config.log' for more details." >&5
14345 echo "$as_me: error: cannot compute sizeof (short), 77
14346 See \`config.log' for more details." >&2;}
14347 { (exit 1); exit 1; }; }
14349 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14354 ac_cv_sizeof_short
=0
14357 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14358 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14359 cat >>confdefs.h
<<_ACEOF
14360 #define SIZEOF_SHORT $ac_cv_sizeof_short
14364 echo "$as_me:$LINENO: checking for void *" >&5
14365 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14366 if test "${ac_cv_type_void_p+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 cat >conftest.
$ac_ext <<_ACEOF
14370 #line $LINENO "configure"
14373 cat confdefs.h
>>conftest.
$ac_ext
14374 cat >>conftest.
$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14376 $ac_includes_default
14382 if (sizeof (void *))
14388 rm -f conftest.
$ac_objext
14389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14390 (eval $ac_compile) 2>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); } &&
14394 { ac_try
='test -s conftest.$ac_objext'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; }; then
14400 ac_cv_type_void_p
=yes
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.
$ac_ext >&5
14405 ac_cv_type_void_p
=no
14407 rm -f conftest.
$ac_objext conftest.
$ac_ext
14409 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14410 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14412 echo "$as_me:$LINENO: checking size of void *" >&5
14413 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14414 if test "${ac_cv_sizeof_void_p+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 if test "$ac_cv_type_void_p" = yes; then
14418 # The cast to unsigned long works around a bug in the HP C Compiler
14419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14421 # This bug is HP SR number 8606223364.
14422 if test "$cross_compiling" = yes; then
14423 # Depending upon the size, compute the lo and hi bounds.
14424 cat >conftest.
$ac_ext <<_ACEOF
14425 #line $LINENO "configure"
14428 cat confdefs.h
>>conftest.
$ac_ext
14429 cat >>conftest.
$ac_ext <<_ACEOF
14430 /* end confdefs.h. */
14431 $ac_includes_default
14435 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14442 rm -f conftest.
$ac_objext
14443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14444 (eval $ac_compile) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } &&
14448 { ac_try
='test -s conftest.$ac_objext'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; }; then
14456 cat >conftest.
$ac_ext <<_ACEOF
14457 #line $LINENO "configure"
14460 cat confdefs.h
>>conftest.
$ac_ext
14461 cat >>conftest.
$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14463 $ac_includes_default
14467 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14474 rm -f conftest.
$ac_objext
14475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14476 (eval $ac_compile) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try
='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_hi
=$ac_mid; break
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.
$ac_ext >&5
14491 ac_lo
=`expr $ac_mid + 1`
14492 if test $ac_lo -le $ac_mid; then
14496 ac_mid
=`expr 2 '*' $ac_mid + 1`
14498 rm -f conftest.
$ac_objext conftest.
$ac_ext
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.
$ac_ext >&5
14504 cat >conftest.
$ac_ext <<_ACEOF
14505 #line $LINENO "configure"
14508 cat confdefs.h
>>conftest.
$ac_ext
14509 cat >>conftest.
$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14511 $ac_includes_default
14515 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14522 rm -f conftest.
$ac_objext
14523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14524 (eval $ac_compile) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); } &&
14528 { ac_try
='test -s conftest.$ac_objext'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14536 cat >conftest.
$ac_ext <<_ACEOF
14537 #line $LINENO "configure"
14540 cat confdefs.h
>>conftest.
$ac_ext
14541 cat >>conftest.
$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14543 $ac_includes_default
14547 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14554 rm -f conftest.
$ac_objext
14555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14556 (eval $ac_compile) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try
='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 ac_lo
=$ac_mid; break
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.
$ac_ext >&5
14571 ac_hi
=`expr '(' $ac_mid ')' - 1`
14572 if test $ac_mid -le $ac_hi; then
14576 ac_mid
=`expr 2 '*' $ac_mid`
14578 rm -f conftest.
$ac_objext conftest.
$ac_ext
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14586 rm -f conftest.
$ac_objext conftest.
$ac_ext
14588 rm -f conftest.
$ac_objext conftest.
$ac_ext
14589 # Binary search between lo and hi bounds.
14590 while test "x$ac_lo" != "x$ac_hi"; do
14591 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14592 cat >conftest.
$ac_ext <<_ACEOF
14593 #line $LINENO "configure"
14596 cat confdefs.h
>>conftest.
$ac_ext
14597 cat >>conftest.
$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 $ac_includes_default
14603 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14610 rm -f conftest.
$ac_objext
14611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14612 (eval $ac_compile) 2>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } &&
14616 { ac_try
='test -s conftest.$ac_objext'
14617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14618 (eval $ac_try) 2>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; }; then
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.
$ac_ext >&5
14627 ac_lo
=`expr '(' $ac_mid ')' + 1`
14629 rm -f conftest.
$ac_objext conftest.
$ac_ext
14632 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14634 See \`config.log' for more details." >&5
14635 echo "$as_me: error: cannot compute sizeof (void *), 77
14636 See \`config.log' for more details." >&2;}
14637 { (exit 1); exit 1; }; } ;;
14640 if test "$cross_compiling" = yes; then
14641 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14642 See \`config.log' for more details." >&5
14643 echo "$as_me: error: cannot run test program while cross compiling
14644 See \`config.log' for more details." >&2;}
14645 { (exit 1); exit 1; }; }
14647 cat >conftest.
$ac_ext <<_ACEOF
14648 #line $LINENO "configure"
14651 cat confdefs.h
>>conftest.
$ac_ext
14652 cat >>conftest.
$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654 $ac_includes_default
14655 long longval () { return (long) (sizeof (void *)); }
14656 unsigned long ulongval () { return (long) (sizeof (void *)); }
14658 #include <stdlib.h>
14663 FILE *f = fopen ("conftest.val", "w");
14666 if (((long) (sizeof (void *))) < 0)
14668 long i = longval ();
14669 if (i != ((long) (sizeof (void *))))
14671 fprintf (f, "%ld\n", i);
14675 unsigned long i = ulongval ();
14676 if (i != ((long) (sizeof (void *))))
14678 fprintf (f, "%lu\n", i);
14680 exit (ferror (f) || fclose (f) != 0);
14686 rm -f conftest
$ac_exeext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14688 (eval $ac_link) 2>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; }; then
14697 ac_cv_sizeof_void_p
=`cat conftest.val`
14699 echo "$as_me: program exited with status $ac_status" >&5
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.
$ac_ext >&5
14703 ( exit $ac_status )
14704 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14705 See \`config.log' for more details." >&5
14706 echo "$as_me: error: cannot compute sizeof (void *), 77
14707 See \`config.log' for more details." >&2;}
14708 { (exit 1); exit 1; }; }
14710 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14715 ac_cv_sizeof_void_p
=0
14718 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14719 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14720 cat >>confdefs.h
<<_ACEOF
14721 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14725 echo "$as_me:$LINENO: checking for int" >&5
14726 echo $ECHO_N "checking for int... $ECHO_C" >&6
14727 if test "${ac_cv_type_int+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 cat >conftest.
$ac_ext <<_ACEOF
14731 #line $LINENO "configure"
14734 cat confdefs.h
>>conftest.
$ac_ext
14735 cat >>conftest.
$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14737 $ac_includes_default
14749 rm -f conftest.
$ac_objext
14750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14751 (eval $ac_compile) 2>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); } &&
14755 { ac_try
='test -s conftest.$ac_objext'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; }; then
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.
$ac_ext >&5
14768 rm -f conftest.
$ac_objext conftest.
$ac_ext
14770 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14771 echo "${ECHO_T}$ac_cv_type_int" >&6
14773 echo "$as_me:$LINENO: checking size of int" >&5
14774 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14775 if test "${ac_cv_sizeof_int+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 if test "$ac_cv_type_int" = yes; then
14779 # The cast to unsigned long works around a bug in the HP C Compiler
14780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14782 # This bug is HP SR number 8606223364.
14783 if test "$cross_compiling" = yes; then
14784 # Depending upon the size, compute the lo and hi bounds.
14785 cat >conftest.
$ac_ext <<_ACEOF
14786 #line $LINENO "configure"
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 $ac_includes_default
14796 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14803 rm -f conftest.
$ac_objext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14805 (eval $ac_compile) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try
='test -s conftest.$ac_objext'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; }; then
14817 cat >conftest.
$ac_ext <<_ACEOF
14818 #line $LINENO "configure"
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14824 $ac_includes_default
14828 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14835 rm -f conftest.
$ac_objext
14836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14837 (eval $ac_compile) 2>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } &&
14841 { ac_try
='test -s conftest.$ac_objext'
14842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14843 (eval $ac_try) 2>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); }; }; then
14847 ac_hi
=$ac_mid; break
14849 echo "$as_me: failed program was:" >&5
14850 sed 's/^/| /' conftest.
$ac_ext >&5
14852 ac_lo
=`expr $ac_mid + 1`
14853 if test $ac_lo -le $ac_mid; then
14857 ac_mid
=`expr 2 '*' $ac_mid + 1`
14859 rm -f conftest.
$ac_objext conftest.
$ac_ext
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.
$ac_ext >&5
14865 cat >conftest.
$ac_ext <<_ACEOF
14866 #line $LINENO "configure"
14869 cat confdefs.h
>>conftest.
$ac_ext
14870 cat >>conftest.
$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 $ac_includes_default
14876 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14883 rm -f conftest.
$ac_objext
14884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14885 (eval $ac_compile) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } &&
14889 { ac_try
='test -s conftest.$ac_objext'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; }; then
14897 cat >conftest.
$ac_ext <<_ACEOF
14898 #line $LINENO "configure"
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14908 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14915 rm -f conftest.
$ac_objext
14916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14917 (eval $ac_compile) 2>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try
='test -s conftest.$ac_objext'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; }; then
14927 ac_lo
=$ac_mid; break
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.
$ac_ext >&5
14932 ac_hi
=`expr '(' $ac_mid ')' - 1`
14933 if test $ac_mid -le $ac_hi; then
14937 ac_mid
=`expr 2 '*' $ac_mid`
14939 rm -f conftest.
$ac_objext conftest.
$ac_ext
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.
$ac_ext >&5
14947 rm -f conftest.
$ac_objext conftest.
$ac_ext
14949 rm -f conftest.
$ac_objext conftest.
$ac_ext
14950 # Binary search between lo and hi bounds.
14951 while test "x$ac_lo" != "x$ac_hi"; do
14952 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14953 cat >conftest.
$ac_ext <<_ACEOF
14954 #line $LINENO "configure"
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960 $ac_includes_default
14964 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14971 rm -f conftest.
$ac_objext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973 (eval $ac_compile) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); } &&
14977 { ac_try
='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.
$ac_ext >&5
14988 ac_lo
=`expr '(' $ac_mid ')' + 1`
14990 rm -f conftest.
$ac_objext conftest.
$ac_ext
14993 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14994 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14995 See \`config.log' for more details." >&5
14996 echo "$as_me: error: cannot compute sizeof (int), 77
14997 See \`config.log' for more details." >&2;}
14998 { (exit 1); exit 1; }; } ;;
15001 if test "$cross_compiling" = yes; then
15002 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15003 See \`config.log' for more details." >&5
15004 echo "$as_me: error: cannot run test program while cross compiling
15005 See \`config.log' for more details." >&2;}
15006 { (exit 1); exit 1; }; }
15008 cat >conftest.
$ac_ext <<_ACEOF
15009 #line $LINENO "configure"
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15016 long longval () { return (long) (sizeof (int)); }
15017 unsigned long ulongval () { return (long) (sizeof (int)); }
15019 #include <stdlib.h>
15024 FILE *f = fopen ("conftest.val", "w");
15027 if (((long) (sizeof (int))) < 0)
15029 long i = longval ();
15030 if (i != ((long) (sizeof (int))))
15032 fprintf (f, "%ld\n", i);
15036 unsigned long i = ulongval ();
15037 if (i != ((long) (sizeof (int))))
15039 fprintf (f, "%lu\n", i);
15041 exit (ferror (f) || fclose (f) != 0);
15047 rm -f conftest
$ac_exeext
15048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15049 (eval $ac_link) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; }; then
15058 ac_cv_sizeof_int
=`cat conftest.val`
15060 echo "$as_me: program exited with status $ac_status" >&5
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.
$ac_ext >&5
15064 ( exit $ac_status )
15065 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15066 See \`config.log' for more details." >&5
15067 echo "$as_me: error: cannot compute sizeof (int), 77
15068 See \`config.log' for more details." >&2;}
15069 { (exit 1); exit 1; }; }
15071 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15079 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15080 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15081 cat >>confdefs.h
<<_ACEOF
15082 #define SIZEOF_INT $ac_cv_sizeof_int
15086 echo "$as_me:$LINENO: checking for long" >&5
15087 echo $ECHO_N "checking for long... $ECHO_C" >&6
15088 if test "${ac_cv_type_long+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 cat >conftest.
$ac_ext <<_ACEOF
15092 #line $LINENO "configure"
15095 cat confdefs.h
>>conftest.
$ac_ext
15096 cat >>conftest.
$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 $ac_includes_default
15110 rm -f conftest.
$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } &&
15116 { ac_try
='test -s conftest.$ac_objext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 ac_cv_type_long
=yes
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.
$ac_ext >&5
15129 rm -f conftest.
$ac_objext conftest.
$ac_ext
15131 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15132 echo "${ECHO_T}$ac_cv_type_long" >&6
15134 echo "$as_me:$LINENO: checking size of long" >&5
15135 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15136 if test "${ac_cv_sizeof_long+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 if test "$ac_cv_type_long" = yes; then
15140 # The cast to unsigned long works around a bug in the HP C Compiler
15141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15143 # This bug is HP SR number 8606223364.
15144 if test "$cross_compiling" = yes; then
15145 # Depending upon the size, compute the lo and hi bounds.
15146 cat >conftest.
$ac_ext <<_ACEOF
15147 #line $LINENO "configure"
15150 cat confdefs.h
>>conftest.
$ac_ext
15151 cat >>conftest.
$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15153 $ac_includes_default
15157 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15164 rm -f conftest.
$ac_objext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15166 (eval $ac_compile) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } &&
15170 { ac_try
='test -s conftest.$ac_objext'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; }; then
15178 cat >conftest.
$ac_ext <<_ACEOF
15179 #line $LINENO "configure"
15182 cat confdefs.h
>>conftest.
$ac_ext
15183 cat >>conftest.
$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15185 $ac_includes_default
15189 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15196 rm -f conftest.
$ac_objext
15197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15198 (eval $ac_compile) 2>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } &&
15202 { ac_try
='test -s conftest.$ac_objext'
15203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 (eval $ac_try) 2>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); }; }; then
15208 ac_hi
=$ac_mid; break
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.
$ac_ext >&5
15213 ac_lo
=`expr $ac_mid + 1`
15214 if test $ac_lo -le $ac_mid; then
15218 ac_mid
=`expr 2 '*' $ac_mid + 1`
15220 rm -f conftest.
$ac_objext conftest.
$ac_ext
15223 echo "$as_me: failed program was:" >&5
15224 sed 's/^/| /' conftest.
$ac_ext >&5
15226 cat >conftest.
$ac_ext <<_ACEOF
15227 #line $LINENO "configure"
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15233 $ac_includes_default
15237 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15244 rm -f conftest.
$ac_objext
15245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15246 (eval $ac_compile) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } &&
15250 { ac_try
='test -s conftest.$ac_objext'
15251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15252 (eval $ac_try) 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; }; then
15258 cat >conftest.
$ac_ext <<_ACEOF
15259 #line $LINENO "configure"
15262 cat confdefs.h
>>conftest.
$ac_ext
15263 cat >>conftest.
$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265 $ac_includes_default
15269 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15276 rm -f conftest.
$ac_objext
15277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15278 (eval $ac_compile) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try
='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 ac_lo
=$ac_mid; break
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.
$ac_ext >&5
15293 ac_hi
=`expr '(' $ac_mid ')' - 1`
15294 if test $ac_mid -le $ac_hi; then
15298 ac_mid
=`expr 2 '*' $ac_mid`
15300 rm -f conftest.
$ac_objext conftest.
$ac_ext
15303 echo "$as_me: failed program was:" >&5
15304 sed 's/^/| /' conftest.
$ac_ext >&5
15308 rm -f conftest.
$ac_objext conftest.
$ac_ext
15310 rm -f conftest.
$ac_objext conftest.
$ac_ext
15311 # Binary search between lo and hi bounds.
15312 while test "x$ac_lo" != "x$ac_hi"; do
15313 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15314 cat >conftest.
$ac_ext <<_ACEOF
15315 #line $LINENO "configure"
15318 cat confdefs.h
>>conftest.
$ac_ext
15319 cat >>conftest.
$ac_ext <<_ACEOF
15320 /* end confdefs.h. */
15321 $ac_includes_default
15325 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15332 rm -f conftest.
$ac_objext
15333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15334 (eval $ac_compile) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try
='test -s conftest.$ac_objext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.
$ac_ext >&5
15349 ac_lo
=`expr '(' $ac_mid ')' + 1`
15351 rm -f conftest.
$ac_objext conftest.
$ac_ext
15354 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15355 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15356 See \`config.log' for more details." >&5
15357 echo "$as_me: error: cannot compute sizeof (long), 77
15358 See \`config.log' for more details." >&2;}
15359 { (exit 1); exit 1; }; } ;;
15362 if test "$cross_compiling" = yes; then
15363 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15364 See \`config.log' for more details." >&5
15365 echo "$as_me: error: cannot run test program while cross compiling
15366 See \`config.log' for more details." >&2;}
15367 { (exit 1); exit 1; }; }
15369 cat >conftest.
$ac_ext <<_ACEOF
15370 #line $LINENO "configure"
15373 cat confdefs.h
>>conftest.
$ac_ext
15374 cat >>conftest.
$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376 $ac_includes_default
15377 long longval () { return (long) (sizeof (long)); }
15378 unsigned long ulongval () { return (long) (sizeof (long)); }
15380 #include <stdlib.h>
15385 FILE *f = fopen ("conftest.val", "w");
15388 if (((long) (sizeof (long))) < 0)
15390 long i = longval ();
15391 if (i != ((long) (sizeof (long))))
15393 fprintf (f, "%ld\n", i);
15397 unsigned long i = ulongval ();
15398 if (i != ((long) (sizeof (long))))
15400 fprintf (f, "%lu\n", i);
15402 exit (ferror (f) || fclose (f) != 0);
15408 rm -f conftest
$ac_exeext
15409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15410 (eval $ac_link) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; }; then
15419 ac_cv_sizeof_long
=`cat conftest.val`
15421 echo "$as_me: program exited with status $ac_status" >&5
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15425 ( exit $ac_status )
15426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15427 See \`config.log' for more details." >&5
15428 echo "$as_me: error: cannot compute sizeof (long), 77
15429 See \`config.log' for more details." >&2;}
15430 { (exit 1); exit 1; }; }
15432 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15437 ac_cv_sizeof_long
=0
15440 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15441 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15442 cat >>confdefs.h
<<_ACEOF
15443 #define SIZEOF_LONG $ac_cv_sizeof_long
15450 echo "$as_me:$LINENO: checking for long long" >&5
15451 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15452 if test "${ac_cv_type_long_long+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 cat >conftest.
$ac_ext <<_ACEOF
15456 #line $LINENO "configure"
15459 cat confdefs.h
>>conftest.
$ac_ext
15460 cat >>conftest.
$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15466 if ((long long *) 0)
15468 if (sizeof (long long))
15474 rm -f conftest.
$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try
='test -s conftest.$ac_objext'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; }; then
15486 ac_cv_type_long_long
=yes
15488 echo "$as_me: failed program was:" >&5
15489 sed 's/^/| /' conftest.
$ac_ext >&5
15491 ac_cv_type_long_long
=no
15493 rm -f conftest.
$ac_objext conftest.
$ac_ext
15495 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15496 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15498 echo "$as_me:$LINENO: checking size of long long" >&5
15499 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15500 if test "${ac_cv_sizeof_long_long+set}" = set; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 if test "$ac_cv_type_long_long" = yes; then
15504 # The cast to unsigned long works around a bug in the HP C Compiler
15505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15507 # This bug is HP SR number 8606223364.
15508 if test "$cross_compiling" = yes; then
15509 # Depending upon the size, compute the lo and hi bounds.
15510 cat >conftest.
$ac_ext <<_ACEOF
15511 #line $LINENO "configure"
15514 cat confdefs.h
>>conftest.
$ac_ext
15515 cat >>conftest.
$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 $ac_includes_default
15521 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15528 rm -f conftest.
$ac_objext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15530 (eval $ac_compile) 2>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try
='test -s conftest.$ac_objext'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; }; then
15542 cat >conftest.
$ac_ext <<_ACEOF
15543 #line $LINENO "configure"
15546 cat confdefs.h
>>conftest.
$ac_ext
15547 cat >>conftest.
$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 $ac_includes_default
15553 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15560 rm -f conftest.
$ac_objext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15562 (eval $ac_compile) 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try
='test -s conftest.$ac_objext'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; }; then
15572 ac_hi
=$ac_mid; break
15574 echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.
$ac_ext >&5
15577 ac_lo
=`expr $ac_mid + 1`
15578 if test $ac_lo -le $ac_mid; then
15582 ac_mid
=`expr 2 '*' $ac_mid + 1`
15584 rm -f conftest.
$ac_objext conftest.
$ac_ext
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.
$ac_ext >&5
15590 cat >conftest.
$ac_ext <<_ACEOF
15591 #line $LINENO "configure"
15594 cat confdefs.h
>>conftest.
$ac_ext
15595 cat >>conftest.
$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597 $ac_includes_default
15601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15608 rm -f conftest.
$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); } &&
15614 { ac_try
='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15622 cat >conftest.
$ac_ext <<_ACEOF
15623 #line $LINENO "configure"
15626 cat confdefs.h
>>conftest.
$ac_ext
15627 cat >>conftest.
$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 $ac_includes_default
15633 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15640 rm -f conftest.
$ac_objext
15641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15642 (eval $ac_compile) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try
='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15652 ac_lo
=$ac_mid; break
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.
$ac_ext >&5
15657 ac_hi
=`expr '(' $ac_mid ')' - 1`
15658 if test $ac_mid -le $ac_hi; then
15662 ac_mid
=`expr 2 '*' $ac_mid`
15664 rm -f conftest.
$ac_objext conftest.
$ac_ext
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.
$ac_ext >&5
15672 rm -f conftest.
$ac_objext conftest.
$ac_ext
15674 rm -f conftest.
$ac_objext conftest.
$ac_ext
15675 # Binary search between lo and hi bounds.
15676 while test "x$ac_lo" != "x$ac_hi"; do
15677 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15678 cat >conftest.
$ac_ext <<_ACEOF
15679 #line $LINENO "configure"
15682 cat confdefs.h
>>conftest.
$ac_ext
15683 cat >>conftest.
$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15685 $ac_includes_default
15689 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15696 rm -f conftest.
$ac_objext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15698 (eval $ac_compile) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try
='test -s conftest.$ac_objext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.
$ac_ext >&5
15713 ac_lo
=`expr '(' $ac_mid ')' + 1`
15715 rm -f conftest.
$ac_objext conftest.
$ac_ext
15718 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15720 See \`config.log' for more details." >&5
15721 echo "$as_me: error: cannot compute sizeof (long long), 77
15722 See \`config.log' for more details." >&2;}
15723 { (exit 1); exit 1; }; } ;;
15726 if test "$cross_compiling" = yes; then
15727 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15728 See \`config.log' for more details." >&5
15729 echo "$as_me: error: cannot run test program while cross compiling
15730 See \`config.log' for more details." >&2;}
15731 { (exit 1); exit 1; }; }
15733 cat >conftest.
$ac_ext <<_ACEOF
15734 #line $LINENO "configure"
15737 cat confdefs.h
>>conftest.
$ac_ext
15738 cat >>conftest.
$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 $ac_includes_default
15741 long longval () { return (long) (sizeof (long long)); }
15742 unsigned long ulongval () { return (long) (sizeof (long long)); }
15744 #include <stdlib.h>
15749 FILE *f = fopen ("conftest.val", "w");
15752 if (((long) (sizeof (long long))) < 0)
15754 long i = longval ();
15755 if (i != ((long) (sizeof (long long))))
15757 fprintf (f, "%ld\n", i);
15761 unsigned long i = ulongval ();
15762 if (i != ((long) (sizeof (long long))))
15764 fprintf (f, "%lu\n", i);
15766 exit (ferror (f) || fclose (f) != 0);
15772 rm -f conftest
$ac_exeext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15774 (eval $ac_link) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; }; then
15783 ac_cv_sizeof_long_long
=`cat conftest.val`
15785 echo "$as_me: program exited with status $ac_status" >&5
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.
$ac_ext >&5
15789 ( exit $ac_status )
15790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15791 See \`config.log' for more details." >&5
15792 echo "$as_me: error: cannot compute sizeof (long long), 77
15793 See \`config.log' for more details." >&2;}
15794 { (exit 1); exit 1; }; }
15796 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15801 ac_cv_sizeof_long_long
=0
15804 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15805 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15806 cat >>confdefs.h
<<_ACEOF
15807 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15813 echo "$as_me:$LINENO: checking for long long" >&5
15814 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15815 if test "${ac_cv_type_long_long+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 cat >conftest.
$ac_ext <<_ACEOF
15819 #line $LINENO "configure"
15822 cat confdefs.h
>>conftest.
$ac_ext
15823 cat >>conftest.
$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15825 $ac_includes_default
15829 if ((long long *) 0)
15831 if (sizeof (long long))
15837 rm -f conftest.
$ac_objext
15838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15839 (eval $ac_compile) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } &&
15843 { ac_try
='test -s conftest.$ac_objext'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; }; then
15849 ac_cv_type_long_long
=yes
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.
$ac_ext >&5
15854 ac_cv_type_long_long
=no
15856 rm -f conftest.
$ac_objext conftest.
$ac_ext
15858 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15859 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15861 echo "$as_me:$LINENO: checking size of long long" >&5
15862 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15863 if test "${ac_cv_sizeof_long_long+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 if test "$ac_cv_type_long_long" = yes; then
15867 # The cast to unsigned long works around a bug in the HP C Compiler
15868 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15869 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15870 # This bug is HP SR number 8606223364.
15871 if test "$cross_compiling" = yes; then
15872 # Depending upon the size, compute the lo and hi bounds.
15873 cat >conftest.
$ac_ext <<_ACEOF
15874 #line $LINENO "configure"
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 $ac_includes_default
15884 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15891 rm -f conftest.
$ac_objext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893 (eval $ac_compile) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } &&
15897 { ac_try
='test -s conftest.$ac_objext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15905 cat >conftest.
$ac_ext <<_ACEOF
15906 #line $LINENO "configure"
15909 cat confdefs.h
>>conftest.
$ac_ext
15910 cat >>conftest.
$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15912 $ac_includes_default
15916 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15923 rm -f conftest.
$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } &&
15929 { ac_try
='test -s conftest.$ac_objext'
15930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931 (eval $ac_try) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); }; }; then
15935 ac_hi
=$ac_mid; break
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 ac_lo
=`expr $ac_mid + 1`
15941 if test $ac_lo -le $ac_mid; then
15945 ac_mid
=`expr 2 '*' $ac_mid + 1`
15947 rm -f conftest.
$ac_objext conftest.
$ac_ext
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.
$ac_ext >&5
15953 cat >conftest.
$ac_ext <<_ACEOF
15954 #line $LINENO "configure"
15957 cat confdefs.h
>>conftest.
$ac_ext
15958 cat >>conftest.
$ac_ext <<_ACEOF
15959 /* end confdefs.h. */
15960 $ac_includes_default
15964 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15971 rm -f conftest.
$ac_objext
15972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15973 (eval $ac_compile) 2>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } &&
15977 { ac_try
='test -s conftest.$ac_objext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15985 cat >conftest.
$ac_ext <<_ACEOF
15986 #line $LINENO "configure"
15989 cat confdefs.h
>>conftest.
$ac_ext
15990 cat >>conftest.
$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16003 rm -f conftest.
$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } &&
16009 { ac_try
='test -s conftest.$ac_objext'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; }; then
16015 ac_lo
=$ac_mid; break
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.
$ac_ext >&5
16020 ac_hi
=`expr '(' $ac_mid ')' - 1`
16021 if test $ac_mid -le $ac_hi; then
16025 ac_mid
=`expr 2 '*' $ac_mid`
16027 rm -f conftest.
$ac_objext conftest.
$ac_ext
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.
$ac_ext >&5
16035 rm -f conftest.
$ac_objext conftest.
$ac_ext
16037 rm -f conftest.
$ac_objext conftest.
$ac_ext
16038 # Binary search between lo and hi bounds.
16039 while test "x$ac_lo" != "x$ac_hi"; do
16040 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16041 cat >conftest.
$ac_ext <<_ACEOF
16042 #line $LINENO "configure"
16045 cat confdefs.h
>>conftest.
$ac_ext
16046 cat >>conftest.
$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 $ac_includes_default
16052 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16059 rm -f conftest.
$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try
='test -s conftest.$ac_objext'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; }; then
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.
$ac_ext >&5
16076 ac_lo
=`expr '(' $ac_mid ')' + 1`
16078 rm -f conftest.
$ac_objext conftest.
$ac_ext
16081 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16082 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16083 See \`config.log' for more details." >&5
16084 echo "$as_me: error: cannot compute sizeof (long long), 77
16085 See \`config.log' for more details." >&2;}
16086 { (exit 1); exit 1; }; } ;;
16089 if test "$cross_compiling" = yes; then
16090 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16091 See \`config.log' for more details." >&5
16092 echo "$as_me: error: cannot run test program while cross compiling
16093 See \`config.log' for more details." >&2;}
16094 { (exit 1); exit 1; }; }
16096 cat >conftest.
$ac_ext <<_ACEOF
16097 #line $LINENO "configure"
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16104 long longval () { return (long) (sizeof (long long)); }
16105 unsigned long ulongval () { return (long) (sizeof (long long)); }
16107 #include <stdlib.h>
16112 FILE *f = fopen ("conftest.val", "w");
16115 if (((long) (sizeof (long long))) < 0)
16117 long i = longval ();
16118 if (i != ((long) (sizeof (long long))))
16120 fprintf (f, "%ld\n", i);
16124 unsigned long i = ulongval ();
16125 if (i != ((long) (sizeof (long long))))
16127 fprintf (f, "%lu\n", i);
16129 exit (ferror (f) || fclose (f) != 0);
16135 rm -f conftest
$ac_exeext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16137 (eval $ac_link) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_cv_sizeof_long_long
=`cat conftest.val`
16148 echo "$as_me: program exited with status $ac_status" >&5
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.
$ac_ext >&5
16152 ( exit $ac_status )
16153 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16154 See \`config.log' for more details." >&5
16155 echo "$as_me: error: cannot compute sizeof (long long), 77
16156 See \`config.log' for more details." >&2;}
16157 { (exit 1); exit 1; }; }
16159 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16164 ac_cv_sizeof_long_long
=0
16167 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16168 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16169 cat >>confdefs.h
<<_ACEOF
16170 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16174 if test "$ac_cv_sizeof_long_long" != "0"; then
16175 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16179 echo "$as_me:$LINENO: checking for long long" >&5
16180 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16181 if test "${ac_cv_type_long_long+set}" = set; then
16182 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 cat >conftest.
$ac_ext <<_ACEOF
16185 #line $LINENO "configure"
16188 cat confdefs.h
>>conftest.
$ac_ext
16189 cat >>conftest.
$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 $ac_includes_default
16195 if ((long long *) 0)
16197 if (sizeof (long long))
16203 rm -f conftest.
$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -s conftest.$ac_objext'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; }; then
16215 ac_cv_type_long_long
=yes
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.
$ac_ext >&5
16220 ac_cv_type_long_long
=no
16222 rm -f conftest.
$ac_objext conftest.
$ac_ext
16224 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16225 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16227 echo "$as_me:$LINENO: checking size of long long" >&5
16228 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16229 if test "${ac_cv_sizeof_long_long+set}" = set; then
16230 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 if test "$ac_cv_type_long_long" = yes; then
16233 # The cast to unsigned long works around a bug in the HP C Compiler
16234 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16235 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16236 # This bug is HP SR number 8606223364.
16237 if test "$cross_compiling" = yes; then
16238 # Depending upon the size, compute the lo and hi bounds.
16239 cat >conftest.
$ac_ext <<_ACEOF
16240 #line $LINENO "configure"
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 $ac_includes_default
16250 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16257 rm -f conftest.
$ac_objext
16258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16259 (eval $ac_compile) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } &&
16263 { ac_try
='test -s conftest.$ac_objext'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; }; then
16271 cat >conftest.
$ac_ext <<_ACEOF
16272 #line $LINENO "configure"
16275 cat confdefs.h
>>conftest.
$ac_ext
16276 cat >>conftest.
$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 $ac_includes_default
16282 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16289 rm -f conftest.
$ac_objext
16290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16291 (eval $ac_compile) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); } &&
16295 { ac_try
='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 ac_hi
=$ac_mid; break
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.
$ac_ext >&5
16306 ac_lo
=`expr $ac_mid + 1`
16307 if test $ac_lo -le $ac_mid; then
16311 ac_mid
=`expr 2 '*' $ac_mid + 1`
16313 rm -f conftest.
$ac_objext conftest.
$ac_ext
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.
$ac_ext >&5
16319 cat >conftest.
$ac_ext <<_ACEOF
16320 #line $LINENO "configure"
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16337 rm -f conftest.
$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try
='test -s conftest.$ac_objext'
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16345 (eval $ac_try) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; }; then
16351 cat >conftest.
$ac_ext <<_ACEOF
16352 #line $LINENO "configure"
16355 cat confdefs.h
>>conftest.
$ac_ext
16356 cat >>conftest.
$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16362 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16369 rm -f conftest.
$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } &&
16375 { ac_try
='test -s conftest.$ac_objext'
16376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16377 (eval $ac_try) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); }; }; then
16381 ac_lo
=$ac_mid; break
16383 echo "$as_me: failed program was:" >&5
16384 sed 's/^/| /' conftest.
$ac_ext >&5
16386 ac_hi
=`expr '(' $ac_mid ')' - 1`
16387 if test $ac_mid -le $ac_hi; then
16391 ac_mid
=`expr 2 '*' $ac_mid`
16393 rm -f conftest.
$ac_objext conftest.
$ac_ext
16396 echo "$as_me: failed program was:" >&5
16397 sed 's/^/| /' conftest.
$ac_ext >&5
16401 rm -f conftest.
$ac_objext conftest.
$ac_ext
16403 rm -f conftest.
$ac_objext conftest.
$ac_ext
16404 # Binary search between lo and hi bounds.
16405 while test "x$ac_lo" != "x$ac_hi"; do
16406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16407 cat >conftest.
$ac_ext <<_ACEOF
16408 #line $LINENO "configure"
16411 cat confdefs.h
>>conftest.
$ac_ext
16412 cat >>conftest.
$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 $ac_includes_default
16418 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16425 rm -f conftest.
$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } &&
16431 { ac_try
='test -s conftest.$ac_objext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16442 ac_lo
=`expr '(' $ac_mid ')' + 1`
16444 rm -f conftest.
$ac_objext conftest.
$ac_ext
16447 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16448 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16449 See \`config.log' for more details." >&5
16450 echo "$as_me: error: cannot compute sizeof (long long), 77
16451 See \`config.log' for more details." >&2;}
16452 { (exit 1); exit 1; }; } ;;
16455 if test "$cross_compiling" = yes; then
16456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16457 See \`config.log' for more details." >&5
16458 echo "$as_me: error: cannot run test program while cross compiling
16459 See \`config.log' for more details." >&2;}
16460 { (exit 1); exit 1; }; }
16462 cat >conftest.
$ac_ext <<_ACEOF
16463 #line $LINENO "configure"
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16470 long longval () { return (long) (sizeof (long long)); }
16471 unsigned long ulongval () { return (long) (sizeof (long long)); }
16473 #include <stdlib.h>
16478 FILE *f = fopen ("conftest.val", "w");
16481 if (((long) (sizeof (long long))) < 0)
16483 long i = longval ();
16484 if (i != ((long) (sizeof (long long))))
16486 fprintf (f, "%ld\n", i);
16490 unsigned long i = ulongval ();
16491 if (i != ((long) (sizeof (long long))))
16493 fprintf (f, "%lu\n", i);
16495 exit (ferror (f) || fclose (f) != 0);
16501 rm -f conftest
$ac_exeext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16503 (eval $ac_link) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16512 ac_cv_sizeof_long_long
=`cat conftest.val`
16514 echo "$as_me: program exited with status $ac_status" >&5
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.
$ac_ext >&5
16518 ( exit $ac_status )
16519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16520 See \`config.log' for more details." >&5
16521 echo "$as_me: error: cannot compute sizeof (long long), 77
16522 See \`config.log' for more details." >&2;}
16523 { (exit 1); exit 1; }; }
16525 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16530 ac_cv_sizeof_long_long
=0
16533 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16534 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16535 cat >>confdefs.h
<<_ACEOF
16536 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16542 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16543 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16544 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16545 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 if test "$cross_compiling" = yes; then
16552 wx_cv_sizeof_wchar_t
=0
16555 wx_cv_sizeof_wchar_t
=4
16561 cat >conftest.
$ac_ext <<_ACEOF
16562 #line $LINENO "configure"
16565 cat confdefs.h
>>conftest.
$ac_ext
16566 cat >>conftest.
$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16569 /* DJGPP only has fake wchar_t: */
16571 # error "fake wchar_t"
16573 #ifdef HAVE_WCHAR_H
16575 # include <stddef.h>
16577 # include <wchar.h>
16579 #ifdef HAVE_STDLIB_H
16580 # include <stdlib.h>
16585 FILE *f=fopen("conftestval", "w");
16587 fprintf(f, "%i", sizeof(wchar_t));
16592 rm -f conftest
$ac_exeext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16594 (eval $ac_link) 2>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 wx_cv_sizeof_wchar_t
=`cat conftestval`
16605 echo "$as_me: program exited with status $ac_status" >&5
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 ( exit $ac_status )
16610 wx_cv_sizeof_wchar_t
=0
16612 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16616 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16617 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16619 cat >>confdefs.h
<<_ACEOF
16620 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16624 # Check whether --enable-largefile or --disable-largefile was given.
16625 if test "${enable_largefile+set}" = set; then
16626 enableval
="$enable_largefile"
16629 if test "$enable_largefile" != no
; then
16632 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16633 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16634 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 cat >conftest.
$ac_ext <<_ACEOF
16639 #line $LINENO "configure"
16642 cat confdefs.h
>>conftest.
$ac_ext
16643 cat >>conftest.
$ac_ext <<_ACEOF
16644 /* end confdefs.h. */
16645 #define _FILE_OFFSET_BITS 64
16646 #include <sys/types.h>
16651 unsigned int field: sizeof(off_t) == 8;
16658 rm -f conftest.
$ac_objext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660 (eval $ac_compile) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } &&
16664 { ac_try
='test -s conftest.$ac_objext'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; }; then
16670 ac_cv_sys_file_offset_bits
=64
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.
$ac_ext >&5
16675 ac_cv_sys_file_offset_bits
=no
16677 rm -f conftest.
$ac_objext conftest.
$ac_ext
16681 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16682 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16684 if test "$ac_cv_sys_file_offset_bits" != no
; then
16686 cat >>confdefs.h
<<_ACEOF
16687 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16692 if test "x$wx_largefile" != "xyes"; then
16694 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16695 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16696 if test "${ac_cv_sys_large_files+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 cat >conftest.
$ac_ext <<_ACEOF
16701 #line $LINENO "configure"
16704 cat confdefs.h
>>conftest.
$ac_ext
16705 cat >>conftest.
$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 #define _LARGE_FILES 1
16708 #include <sys/types.h>
16713 unsigned int field: sizeof(off_t) == 8;
16720 rm -f conftest.
$ac_objext
16721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16722 (eval $ac_compile) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try
='test -s conftest.$ac_objext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16732 ac_cv_sys_large_files
=1
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.
$ac_ext >&5
16737 ac_cv_sys_large_files
=no
16739 rm -f conftest.
$ac_objext conftest.
$ac_ext
16743 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16744 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16746 if test "$ac_cv_sys_large_files" != no
; then
16748 cat >>confdefs.h
<<_ACEOF
16749 #define _LARGE_FILES $ac_cv_sys_large_files
16756 echo "$as_me:$LINENO: checking if large file support is available" >&5
16757 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16758 if test "x$wx_largefile" = "xyes"; then
16759 cat >>confdefs.h
<<\_ACEOF
16760 #define HAVE_LARGEFILE_SUPPORT 1
16764 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16765 echo "${ECHO_T}$wx_largefile" >&6
16769 if test "x$wx_largefile" = "xyes"; then
16770 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16771 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16773 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16775 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16778 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16779 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16780 if test "${ac_cv_c_bigendian+set}" = set; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16783 ac_cv_c_bigendian
=unknown
16784 # See if sys/param.h defines the BYTE_ORDER macro.
16785 cat >conftest.
$ac_ext <<_ACEOF
16786 #line $LINENO "configure"
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 #include <sys/types.h>
16793 #include <sys/param.h>
16798 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16799 bogus endian macros
16805 rm -f conftest.
$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try
='test -s conftest.$ac_objext'
16812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16813 (eval $ac_try) 2>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); }; }; then
16817 # It does; now see whether it defined to BIG_ENDIAN or not.
16818 cat >conftest.
$ac_ext <<_ACEOF
16819 #line $LINENO "configure"
16822 cat confdefs.h
>>conftest.
$ac_ext
16823 cat >>conftest.
$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 #include <sys/types.h>
16826 #include <sys/param.h>
16831 #if BYTE_ORDER != BIG_ENDIAN
16838 rm -f conftest.
$ac_objext
16839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try
='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_cv_c_bigendian
=yes
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 ac_cv_c_bigendian
=no
16857 rm -f conftest.
$ac_objext conftest.
$ac_ext
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16863 rm -f conftest.
$ac_objext conftest.
$ac_ext
16864 if test $ac_cv_c_bigendian = unknown
; then
16865 if test "$cross_compiling" = yes; then
16866 ac_cv_c_bigendian
=unknown
16868 cat >conftest.
$ac_ext <<_ACEOF
16869 #line $LINENO "configure"
16872 cat confdefs.h
>>conftest.
$ac_ext
16873 cat >>conftest.
$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16876 /* Are we little or big endian? From Harbison&Steele. */
16880 char c[sizeof (long)];
16883 exit (u.c[sizeof (long) - 1] == 1);
16886 rm -f conftest
$ac_exeext
16887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16888 (eval $ac_link) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 ac_cv_c_bigendian
=no
16899 echo "$as_me: program exited with status $ac_status" >&5
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.
$ac_ext >&5
16903 ( exit $ac_status )
16904 ac_cv_c_bigendian
=yes
16906 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16910 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16911 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16912 if test $ac_cv_c_bigendian = unknown
; then
16913 { 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
16914 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;}
16916 if test $ac_cv_c_bigendian = yes; then
16917 cat >>confdefs.h
<<\_ACEOF
16918 #define WORDS_BIGENDIAN 1
16926 ac_cpp
='$CXXCPP $CPPFLAGS'
16927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16930 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16931 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16932 if test -z "$CXXCPP"; then
16933 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 # Double quotes because CXXCPP needs to be expanded
16937 for CXXCPP
in "$CXX -E" "/lib/cpp"
16939 ac_preproc_ok
=false
16940 for ac_cxx_preproc_warn_flag
in '' yes
16942 # Use a header file that comes with gcc, so configuring glibc
16943 # with a fresh cross-compiler works.
16944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16945 # <limits.h> exists even on freestanding compilers.
16946 # On the NeXT, cc -E runs the code through the compiler's parser,
16947 # not just through cpp. "Syntax error" is here to catch this case.
16948 cat >conftest.
$ac_ext <<_ACEOF
16949 #line $LINENO "configure"
16952 cat confdefs.h
>>conftest.
$ac_ext
16953 cat >>conftest.
$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16956 # include <limits.h>
16958 # include <assert.h>
16962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16965 grep -v '^ *+' conftest.er1
>conftest.err
16967 cat conftest.err
>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } >/dev
/null
; then
16970 if test -s conftest.err
; then
16971 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16978 if test -z "$ac_cpp_err"; then
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.
$ac_ext >&5
16984 # Broken: fails on valid input.
16987 rm -f conftest.err conftest.
$ac_ext
16989 # OK, works on sane cases. Now check whether non-existent headers
16990 # can be detected and how.
16991 cat >conftest.
$ac_ext <<_ACEOF
16992 #line $LINENO "configure"
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 #include <ac_nonexistent.h>
17000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17003 grep -v '^ *+' conftest.er1
>conftest.err
17005 cat conftest.err
>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } >/dev
/null
; then
17008 if test -s conftest.err
; then
17009 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17016 if test -z "$ac_cpp_err"; then
17017 # Broken: success on invalid input.
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 # Passes both tests.
17027 rm -f conftest.err conftest.
$ac_ext
17030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17031 rm -f conftest.err conftest.
$ac_ext
17032 if $ac_preproc_ok; then
17037 ac_cv_prog_CXXCPP
=$CXXCPP
17040 CXXCPP
=$ac_cv_prog_CXXCPP
17042 ac_cv_prog_CXXCPP
=$CXXCPP
17044 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17045 echo "${ECHO_T}$CXXCPP" >&6
17046 ac_preproc_ok
=false
17047 for ac_cxx_preproc_warn_flag
in '' yes
17049 # Use a header file that comes with gcc, so configuring glibc
17050 # with a fresh cross-compiler works.
17051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17052 # <limits.h> exists even on freestanding compilers.
17053 # On the NeXT, cc -E runs the code through the compiler's parser,
17054 # not just through cpp. "Syntax error" is here to catch this case.
17055 cat >conftest.
$ac_ext <<_ACEOF
17056 #line $LINENO "configure"
17059 cat confdefs.h
>>conftest.
$ac_ext
17060 cat >>conftest.
$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17063 # include <limits.h>
17065 # include <assert.h>
17069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17072 grep -v '^ *+' conftest.er1
>conftest.err
17074 cat conftest.err
>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } >/dev
/null
; then
17077 if test -s conftest.err
; then
17078 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17085 if test -z "$ac_cpp_err"; then
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 # Broken: fails on valid input.
17094 rm -f conftest.err conftest.
$ac_ext
17096 # OK, works on sane cases. Now check whether non-existent headers
17097 # can be detected and how.
17098 cat >conftest.
$ac_ext <<_ACEOF
17099 #line $LINENO "configure"
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 #include <ac_nonexistent.h>
17107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17110 grep -v '^ *+' conftest.er1
>conftest.err
17112 cat conftest.err
>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } >/dev
/null
; then
17115 if test -s conftest.err
; then
17116 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17123 if test -z "$ac_cpp_err"; then
17124 # Broken: success on invalid input.
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17130 # Passes both tests.
17134 rm -f conftest.err conftest.
$ac_ext
17137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17138 rm -f conftest.err conftest.
$ac_ext
17139 if $ac_preproc_ok; then
17142 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17145 See \`config.log' for more details." >&2;}
17146 { (exit 1); exit 1; }; }
17150 ac_cpp
='$CXXCPP $CPPFLAGS'
17151 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17157 if test "$cross_compiling" = "yes"; then
17158 cat >>confdefs.h
<<\_ACEOF
17159 #define wxUSE_IOSTREAMH 1
17166 ac_cpp
='$CXXCPP $CPPFLAGS'
17167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17173 for ac_header
in iostream
17175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo "$as_me:$LINENO: checking for $ac_header" >&5
17178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17185 # Is the header compilable?
17186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17188 cat >conftest.
$ac_ext <<_ACEOF
17189 #line $LINENO "configure"
17192 cat confdefs.h
>>conftest.
$ac_ext
17193 cat >>conftest.
$ac_ext <<_ACEOF
17194 /* end confdefs.h. */
17195 $ac_includes_default
17196 #include <$ac_header>
17198 rm -f conftest.
$ac_objext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17200 (eval $ac_compile) 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } &&
17204 { ac_try
='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 ac_header_compiler
=yes
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.
$ac_ext >&5
17215 ac_header_compiler
=no
17217 rm -f conftest.
$ac_objext conftest.
$ac_ext
17218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17219 echo "${ECHO_T}$ac_header_compiler" >&6
17221 # Is the header present?
17222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17224 cat >conftest.
$ac_ext <<_ACEOF
17225 #line $LINENO "configure"
17228 cat confdefs.h
>>conftest.
$ac_ext
17229 cat >>conftest.
$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 #include <$ac_header>
17233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } >/dev
/null
; then
17241 if test -s conftest.err
; then
17242 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17249 if test -z "$ac_cpp_err"; then
17250 ac_header_preproc
=yes
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.
$ac_ext >&5
17255 ac_header_preproc
=no
17257 rm -f conftest.err conftest.
$ac_ext
17258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17259 echo "${ECHO_T}$ac_header_preproc" >&6
17261 # So? What about this header?
17262 case $ac_header_compiler:$ac_header_preproc in
17264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17270 ## ------------------------------------ ##
17271 ## Report this to bug-autoconf@gnu.org. ##
17272 ## ------------------------------------ ##
17275 sed "s/^/$as_me: WARNING: /" >&2
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17286 ## ------------------------------------ ##
17287 ## Report this to bug-autoconf@gnu.org. ##
17288 ## ------------------------------------ ##
17291 sed "s/^/$as_me: WARNING: /" >&2
17294 echo "$as_me:$LINENO: checking for $ac_header" >&5
17295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 eval "$as_ac_Header=$ac_header_preproc"
17301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17306 cat >>confdefs.h
<<_ACEOF
17307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17315 if test "$ac_cv_header_iostream" = "yes" ; then
17318 cat >>confdefs.h
<<\_ACEOF
17319 #define wxUSE_IOSTREAMH 1
17325 ac_cpp
='$CPP $CPPFLAGS'
17326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17334 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17335 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17336 if test "${wx_cv_cpp_bool+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 ac_cpp
='$CXXCPP $CPPFLAGS'
17344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17349 cat >conftest.
$ac_ext <<_ACEOF
17350 #line $LINENO "configure"
17353 cat confdefs.h
>>conftest.
$ac_ext
17354 cat >>conftest.
$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17370 rm -f conftest.
$ac_objext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17372 (eval $ac_compile) 2>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); } &&
17376 { ac_try
='test -s conftest.$ac_objext'
17377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17378 (eval $ac_try) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; }; then
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.
$ac_ext >&5
17394 rm -f conftest.
$ac_objext conftest.
$ac_ext
17397 ac_cpp
='$CPP $CPPFLAGS'
17398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17404 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17405 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17407 if test "$wx_cv_cpp_bool" = "yes"; then
17408 cat >>confdefs.h
<<\_ACEOF
17409 #define HAVE_BOOL 1
17416 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17417 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17418 if test "${wx_cv_explicit+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17425 ac_cpp
='$CXXCPP $CPPFLAGS'
17426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17431 cat >conftest.
$ac_ext <<_ACEOF
17432 #line $LINENO "configure"
17435 cat confdefs.h
>>conftest.
$ac_ext
17436 cat >>conftest.
$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17439 class Foo { public: explicit Foo(int) {} };
17451 rm -f conftest.
$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try
='test -s conftest.$ac_objext'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; }; then
17464 cat >conftest.
$ac_ext <<_ACEOF
17465 #line $LINENO "configure"
17468 cat confdefs.h
>>conftest.
$ac_ext
17469 cat >>conftest.
$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17472 class Foo { public: explicit Foo(int) {} };
17473 static void TakeFoo(const Foo& foo) { }
17486 rm -f conftest.
$ac_objext
17487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17488 (eval $ac_compile) 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); } &&
17492 { ac_try
='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.
$ac_ext >&5
17506 rm -f conftest.
$ac_objext conftest.
$ac_ext
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.
$ac_ext >&5
17515 rm -f conftest.
$ac_objext conftest.
$ac_ext
17518 ac_cpp
='$CPP $CPPFLAGS'
17519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17525 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17526 echo "${ECHO_T}$wx_cv_explicit" >&6
17528 if test "$wx_cv_explicit" = "yes"; then
17529 cat >>confdefs.h
<<\_ACEOF
17530 #define HAVE_EXPLICIT 1
17536 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17537 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17538 if test "${ac_cv_cxx_const_cast+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 ac_cpp
='$CXXCPP $CPPFLAGS'
17545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17549 cat >conftest.
$ac_ext <<_ACEOF
17550 #line $LINENO "configure"
17553 cat confdefs.h
>>conftest.
$ac_ext
17554 cat >>conftest.
$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17560 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17565 rm -f conftest.
$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } &&
17571 { ac_try
='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 ac_cv_cxx_const_cast
=yes
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.
$ac_ext >&5
17582 ac_cv_cxx_const_cast
=no
17584 rm -f conftest.
$ac_objext conftest.
$ac_ext
17586 ac_cpp
='$CPP $CPPFLAGS'
17587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17593 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17594 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17595 if test "$ac_cv_cxx_const_cast" = yes; then
17597 cat >>confdefs.h
<<\_ACEOF
17598 #define HAVE_CONST_CAST
17606 /usr/local/include \
17608 /usr/Motif-1.2/include \
17609 /usr/Motif-2.1/include \
17611 /usr/include/Motif1.2 \
17612 /opt/xpm/include/X11 \
17613 /opt/GBxpm/include/ \
17614 /opt/GBxpm/X11/include/ \
17616 /usr/Motif1.2/include \
17618 /usr/openwin/include \
17622 /usr/X11R6/include \
17623 /usr/X11R6.4/include \
17624 /usr/X11R5/include \
17625 /usr/X11R4/include \
17627 /usr/include/X11R6 \
17628 /usr/include/X11R5 \
17629 /usr/include/X11R4 \
17631 /usr/local/X11R6/include \
17632 /usr/local/X11R5/include \
17633 /usr/local/X11R4/include \
17635 /usr/local/include/X11R6 \
17636 /usr/local/include/X11R5 \
17637 /usr/local/include/X11R4 \
17641 /usr/local/X11/include \
17642 /usr/local/include/X11 \
17644 /usr/X386/include \
17645 /usr/x386/include \
17646 /usr/XFree86/include/X11 \
17648 X:/XFree86/include \
17649 X:/XFree86/include/X11 \
17652 /usr/local/include/gtk \
17653 /usr/include/glib \
17654 /usr/local/include/glib \
17657 /usr/local/include/qt \
17659 /usr/include/windows \
17660 /usr/include/wine \
17661 /usr/local/include/wine \
17663 /usr/unsupported/include \
17664 /usr/athena/include \
17665 /usr/local/x11r5/include \
17666 /usr/lpp/Xamples/include \
17668 /usr/openwin/share/include"
17670 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17673 cat >confcache
<<\_ACEOF
17674 # This file is a shell script that caches the results of configure
17675 # tests run on this system so they can be shared between configure
17676 # scripts and configure runs, see configure's option --config-cache.
17677 # It is not useful on other systems. If it contains results you don't
17678 # want to keep, you may remove or edit it.
17680 # config.status only pays attention to the cache file if you give it
17681 # the --recheck option to rerun configure.
17683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17685 # following values.
17689 # The following way of writing the cache mishandles newlines in values,
17690 # but we know of no workaround that is simple, portable, and efficient.
17691 # So, don't put newlines in cache variables' values.
17692 # Ultrix sh set writes to stderr and can't be redirected directly,
17693 # and sets the high bit in the cache file unless we assign to the vars.
17696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17698 # `set' does not quote correctly, so add quotes (double-quote
17699 # substitution turns \\\\ into \\, and sed turns \\ into \).
17702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17705 # `set' quotes correctly as required by POSIX, so do not add quotes.
17707 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17716 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17718 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17719 if test -w $cache_file; then
17720 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17721 cat confcache
>$cache_file
17723 echo "not updating unwritable cache $cache_file"
17728 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17729 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17730 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17731 if test "${wx_cv_lib_glibc21+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 cat >conftest.
$ac_ext <<_ACEOF
17736 #line $LINENO "configure"
17739 cat confdefs.h
>>conftest.
$ac_ext
17740 cat >>conftest.
$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 #include <features.h>
17747 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17748 #error not glibc2.1
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try
='test -s conftest.$ac_objext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17768 wx_cv_lib_glibc21
=yes
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.
$ac_ext >&5
17775 wx_cv_lib_glibc21
=no
17779 rm -f conftest.
$ac_objext conftest.
$ac_ext
17782 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17783 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17784 if test "$wx_cv_lib_glibc21" = "yes"; then
17785 cat >>confdefs.h
<<\_ACEOF
17786 #define wxHAVE_GLIBC2 1
17792 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17793 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17794 cat >>confdefs.h
<<\_ACEOF
17795 #define _GNU_SOURCE 1
17804 if test "$wxUSE_REGEX" != "no"; then
17805 cat >>confdefs.h
<<\_ACEOF
17806 #define wxUSE_REGEX 1
17810 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17811 if test "${ac_cv_header_regex_h+set}" = set; then
17812 echo "$as_me:$LINENO: checking for regex.h" >&5
17813 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17814 if test "${ac_cv_header_regex_h+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17818 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17820 # Is the header compilable?
17821 echo "$as_me:$LINENO: checking regex.h usability" >&5
17822 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17823 cat >conftest.
$ac_ext <<_ACEOF
17824 #line $LINENO "configure"
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17833 rm -f conftest.
$ac_objext
17834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17835 (eval $ac_compile) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try
='test -s conftest.$ac_objext'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; }; then
17845 ac_header_compiler
=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17850 ac_header_compiler
=no
17852 rm -f conftest.
$ac_objext conftest.
$ac_ext
17853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17854 echo "${ECHO_T}$ac_header_compiler" >&6
17856 # Is the header present?
17857 echo "$as_me:$LINENO: checking regex.h presence" >&5
17858 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17859 cat >conftest.
$ac_ext <<_ACEOF
17860 #line $LINENO "configure"
17863 cat confdefs.h
>>conftest.
$ac_ext
17864 cat >>conftest.
$ac_ext <<_ACEOF
17865 /* end confdefs.h. */
17868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17871 grep -v '^ *+' conftest.er1
>conftest.err
17873 cat conftest.err
>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } >/dev
/null
; then
17876 if test -s conftest.err
; then
17877 ac_cpp_err
=$ac_c_preproc_warn_flag
17884 if test -z "$ac_cpp_err"; then
17885 ac_header_preproc
=yes
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.
$ac_ext >&5
17890 ac_header_preproc
=no
17892 rm -f conftest.err conftest.
$ac_ext
17893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17894 echo "${ECHO_T}$ac_header_preproc" >&6
17896 # So? What about this header?
17897 case $ac_header_compiler:$ac_header_preproc in
17899 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17900 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17901 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17902 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17905 ## ------------------------------------ ##
17906 ## Report this to bug-autoconf@gnu.org. ##
17907 ## ------------------------------------ ##
17910 sed "s/^/$as_me: WARNING: /" >&2
17913 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17914 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17915 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17916 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17917 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17918 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17921 ## ------------------------------------ ##
17922 ## Report this to bug-autoconf@gnu.org. ##
17923 ## ------------------------------------ ##
17926 sed "s/^/$as_me: WARNING: /" >&2
17929 echo "$as_me:$LINENO: checking for regex.h" >&5
17930 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17931 if test "${ac_cv_header_regex_h+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 ac_cv_header_regex_h
=$ac_header_preproc
17936 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17937 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17940 if test $ac_cv_header_regex_h = yes; then
17942 for ac_func
in regcomp
17944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17945 echo "$as_me:$LINENO: checking for $ac_func" >&5
17946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17947 if eval "test \"\${$as_ac_var+set}\" = set"; then
17948 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 cat >conftest.
$ac_ext <<_ACEOF
17951 #line $LINENO "configure"
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 /* System header to define __stub macros and hopefully few prototypes,
17958 which can conflict with char $ac_func (); below.
17959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17960 <limits.h> exists even on freestanding compilers. */
17962 # include <limits.h>
17964 # include <assert.h>
17966 /* Override any gcc2 internal prototype to avoid an error. */
17971 /* We use char because int might match the return type of a gcc2
17972 builtin and then its argument prototype would still apply. */
17974 /* The GNU C library defines this for functions which it implements
17975 to always fail with ENOSYS. Some functions are actually named
17976 something starting with __ and the normal name is an alias. */
17977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17980 char (*f) () = $ac_func;
17989 return f != $ac_func;
17994 rm -f conftest.
$ac_objext conftest
$ac_exeext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17996 (eval $ac_link) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } &&
18000 { ac_try
='test -s conftest$ac_exeext'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; }; then
18006 eval "$as_ac_var=yes"
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.
$ac_ext >&5
18011 eval "$as_ac_var=no"
18013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18017 if test `eval echo '${'$as_ac_var'}'` = yes; then
18018 cat >>confdefs.h
<<_ACEOF
18019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18029 if test "x$ac_cv_func_regcomp" != "xyes"; then
18030 if test "$wxUSE_REGEX" = "sys" ; then
18031 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18032 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18033 { (exit 1); exit 1; }; }
18035 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18036 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18037 wxUSE_REGEX
=builtin
18044 if test "$wxUSE_REGEX" = "builtin" ; then
18045 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18052 if test "$wxUSE_ZLIB" != "no" ; then
18053 cat >>confdefs.h
<<\_ACEOF
18054 #define wxUSE_ZLIB 1
18058 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18059 if test "$USE_DARWIN" = 1; then
18060 system_zlib_h_ok
="yes"
18062 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18063 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18064 if test "${ac_cv_header_zlib_h+set}" = set; then
18065 echo $ECHO_N "(cached) $ECHO_C" >&6
18067 if test "$cross_compiling" = yes; then
18068 unset ac_cv_header_zlib_h
18071 cat >conftest.
$ac_ext <<_ACEOF
18072 #line $LINENO "configure"
18075 cat confdefs.h
>>conftest.
$ac_ext
18076 cat >>conftest.
$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18084 FILE *f=fopen("conftestval", "w");
18087 ZLIB_VERSION[0] == '1' &&
18088 (ZLIB_VERSION[2] > '1' ||
18089 (ZLIB_VERSION[2] == '1' &&
18090 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18095 rm -f conftest
$ac_exeext
18096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18097 (eval $ac_link) 2>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; }; then
18106 ac_cv_header_zlib_h
=`cat conftestval`
18108 echo "$as_me: program exited with status $ac_status" >&5
18109 echo "$as_me: failed program was:" >&5
18110 sed 's/^/| /' conftest.
$ac_ext >&5
18112 ( exit $ac_status )
18113 ac_cv_header_zlib_h
=no
18115 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18119 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18120 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18121 if test "${ac_cv_header_zlib_h+set}" = set; then
18122 echo "$as_me:$LINENO: checking for zlib.h" >&5
18123 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18124 if test "${ac_cv_header_zlib_h+set}" = set; then
18125 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18128 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18130 # Is the header compilable?
18131 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18132 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18134 #line $LINENO "configure"
18137 cat confdefs.h
>>conftest.
$ac_ext
18138 cat >>conftest.
$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 $ac_includes_default
18143 rm -f conftest.
$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try
='test -s conftest.$ac_objext'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; }; then
18155 ac_header_compiler
=yes
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.
$ac_ext >&5
18160 ac_header_compiler
=no
18162 rm -f conftest.
$ac_objext conftest.
$ac_ext
18163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18164 echo "${ECHO_T}$ac_header_compiler" >&6
18166 # Is the header present?
18167 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18168 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18169 cat >conftest.
$ac_ext <<_ACEOF
18170 #line $LINENO "configure"
18173 cat confdefs.h
>>conftest.
$ac_ext
18174 cat >>conftest.
$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18179 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18181 grep -v '^ *+' conftest.er1
>conftest.err
18183 cat conftest.err
>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); } >/dev
/null
; then
18186 if test -s conftest.err
; then
18187 ac_cpp_err
=$ac_c_preproc_warn_flag
18194 if test -z "$ac_cpp_err"; then
18195 ac_header_preproc
=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.
$ac_ext >&5
18200 ac_header_preproc
=no
18202 rm -f conftest.err conftest.
$ac_ext
18203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18204 echo "${ECHO_T}$ac_header_preproc" >&6
18206 # So? What about this header?
18207 case $ac_header_compiler:$ac_header_preproc in
18209 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18210 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18211 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18212 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18215 ## ------------------------------------ ##
18216 ## Report this to bug-autoconf@gnu.org. ##
18217 ## ------------------------------------ ##
18220 sed "s/^/$as_me: WARNING: /" >&2
18223 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18224 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18225 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18226 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18227 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18228 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18231 ## ------------------------------------ ##
18232 ## Report this to bug-autoconf@gnu.org. ##
18233 ## ------------------------------------ ##
18236 sed "s/^/$as_me: WARNING: /" >&2
18239 echo "$as_me:$LINENO: checking for zlib.h" >&5
18240 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18241 if test "${ac_cv_header_zlib_h+set}" = set; then
18242 echo $ECHO_N "(cached) $ECHO_C" >&6
18244 ac_cv_header_zlib_h
=$ac_header_preproc
18246 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18247 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18253 system_zlib_h_ok
=$ac_cv_header_zlib_h
18256 if test "$system_zlib_h_ok" = "yes"; then
18257 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18258 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18259 if test "${ac_cv_lib_z_deflate+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 ac_check_lib_save_LIBS
=$LIBS
18264 cat >conftest.
$ac_ext <<_ACEOF
18265 #line $LINENO "configure"
18268 cat confdefs.h
>>conftest.
$ac_ext
18269 cat >>conftest.
$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18272 /* Override any gcc2 internal prototype to avoid an error. */
18276 /* We use char because int might match the return type of a gcc2
18277 builtin and then its argument prototype would still apply. */
18287 rm -f conftest.
$ac_objext conftest
$ac_exeext
18288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18289 (eval $ac_link) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try
='test -s conftest$ac_exeext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_lib_z_deflate
=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 ac_cv_lib_z_deflate
=no
18306 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18307 LIBS
=$ac_check_lib_save_LIBS
18309 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18310 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18311 if test $ac_cv_lib_z_deflate = yes; then
18317 if test "x$ZLIB_LINK" = "x" ; then
18318 if test "$wxUSE_ZLIB" = "sys" ; then
18319 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18320 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18321 { (exit 1); exit 1; }; }
18323 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18324 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18332 if test "$wxUSE_ZLIB" = "builtin" ; then
18333 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18340 if test "$wxUSE_LIBPNG" != "no" ; then
18341 cat >>confdefs.h
<<\_ACEOF
18342 #define wxUSE_LIBPNG 1
18346 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18347 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18348 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18352 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18353 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18354 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18355 wxUSE_LIBPNG
=builtin
18358 if test "$wxUSE_MGL" != 1 ; then
18359 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18360 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18361 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18362 if test "${ac_cv_header_png_h+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 if test "$cross_compiling" = yes; then
18366 unset ac_cv_header_png_h
18369 cat >conftest.
$ac_ext <<_ACEOF
18370 #line $LINENO "configure"
18373 cat confdefs.h
>>conftest.
$ac_ext
18374 cat >>conftest.
$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18382 FILE *f=fopen("conftestval", "w");
18385 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18390 rm -f conftest
$ac_exeext
18391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18392 (eval $ac_link) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 ac_cv_header_png_h
=`cat conftestval`
18403 echo "$as_me: program exited with status $ac_status" >&5
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.
$ac_ext >&5
18407 ( exit $ac_status )
18408 ac_cv_header_png_h
=no
18410 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18414 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18415 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18416 if test "${ac_cv_header_png_h+set}" = set; then
18417 echo "$as_me:$LINENO: checking for png.h" >&5
18418 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18419 if test "${ac_cv_header_png_h+set}" = set; then
18420 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18423 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18425 # Is the header compilable?
18426 echo "$as_me:$LINENO: checking png.h usability" >&5
18427 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18428 cat >conftest.
$ac_ext <<_ACEOF
18429 #line $LINENO "configure"
18432 cat confdefs.h
>>conftest.
$ac_ext
18433 cat >>conftest.
$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 $ac_includes_default
18438 rm -f conftest.
$ac_objext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18440 (eval $ac_compile) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } &&
18444 { ac_try
='test -s conftest.$ac_objext'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 ac_header_compiler
=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.
$ac_ext >&5
18455 ac_header_compiler
=no
18457 rm -f conftest.
$ac_objext conftest.
$ac_ext
18458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18459 echo "${ECHO_T}$ac_header_compiler" >&6
18461 # Is the header present?
18462 echo "$as_me:$LINENO: checking png.h presence" >&5
18463 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18464 cat >conftest.
$ac_ext <<_ACEOF
18465 #line $LINENO "configure"
18468 cat confdefs.h
>>conftest.
$ac_ext
18469 cat >>conftest.
$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18476 grep -v '^ *+' conftest.er1
>conftest.err
18478 cat conftest.err
>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } >/dev
/null
; then
18481 if test -s conftest.err
; then
18482 ac_cpp_err
=$ac_c_preproc_warn_flag
18489 if test -z "$ac_cpp_err"; then
18490 ac_header_preproc
=yes
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 ac_header_preproc
=no
18497 rm -f conftest.err conftest.
$ac_ext
18498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18499 echo "${ECHO_T}$ac_header_preproc" >&6
18501 # So? What about this header?
18502 case $ac_header_compiler:$ac_header_preproc in
18504 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18505 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18506 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18507 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18510 ## ------------------------------------ ##
18511 ## Report this to bug-autoconf@gnu.org. ##
18512 ## ------------------------------------ ##
18515 sed "s/^/$as_me: WARNING: /" >&2
18518 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18519 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18520 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18521 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18522 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18523 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18526 ## ------------------------------------ ##
18527 ## Report this to bug-autoconf@gnu.org. ##
18528 ## ------------------------------------ ##
18531 sed "s/^/$as_me: WARNING: /" >&2
18534 echo "$as_me:$LINENO: checking for png.h" >&5
18535 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18536 if test "${ac_cv_header_png_h+set}" = set; then
18537 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 ac_cv_header_png_h
=$ac_header_preproc
18541 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18542 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18548 if test "$ac_cv_header_png_h" = "yes"; then
18549 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18550 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18551 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 ac_check_lib_save_LIBS
=$LIBS
18555 LIBS
="-lpng -lz -lm $LIBS"
18556 cat >conftest.
$ac_ext <<_ACEOF
18557 #line $LINENO "configure"
18560 cat confdefs.h
>>conftest.
$ac_ext
18561 cat >>conftest.
$ac_ext <<_ACEOF
18562 /* end confdefs.h. */
18564 /* Override any gcc2 internal prototype to avoid an error. */
18568 /* We use char because int might match the return type of a gcc2
18569 builtin and then its argument prototype would still apply. */
18570 char png_check_sig ();
18579 rm -f conftest.
$ac_objext conftest
$ac_exeext
18580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18581 (eval $ac_link) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } &&
18585 { ac_try
='test -s conftest$ac_exeext'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_cv_lib_png_png_check_sig
=yes
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18596 ac_cv_lib_png_png_check_sig
=no
18598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18599 LIBS
=$ac_check_lib_save_LIBS
18601 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18602 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18603 if test $ac_cv_lib_png_png_check_sig = yes; then
18609 if test "x$PNG_LINK" = "x" ; then
18610 if test "$wxUSE_LIBPNG" = "sys" ; then
18611 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18612 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18613 { (exit 1); exit 1; }; }
18615 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18616 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18617 wxUSE_LIBPNG
=builtin
18625 if test "$wxUSE_LIBPNG" = "builtin" ; then
18626 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18635 if test "$wxUSE_LIBJPEG" != "no" ; then
18636 cat >>confdefs.h
<<\_ACEOF
18637 #define wxUSE_LIBJPEG 1
18641 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18642 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18643 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18647 if test "$wxUSE_MGL" != 1 ; then
18648 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18649 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18650 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18651 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 cat >conftest.
$ac_ext <<_ACEOF
18655 #line $LINENO "configure"
18658 cat confdefs.h
>>conftest.
$ac_ext
18659 cat >>conftest.
$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18662 #undef HAVE_STDLIB_H
18664 #include <jpeglib.h>
18675 rm -f conftest.
$ac_objext
18676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18677 (eval $ac_compile) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } &&
18681 { ac_try
='test -s conftest.$ac_objext'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; }; then
18687 ac_cv_header_jpeglib_h
=yes
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.
$ac_ext >&5
18692 ac_cv_header_jpeglib_h
=no
18695 rm -f conftest.
$ac_objext conftest.
$ac_ext
18699 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18700 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18702 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18703 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18704 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18705 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 ac_check_lib_save_LIBS
=$LIBS
18709 LIBS
="-ljpeg $LIBS"
18710 cat >conftest.
$ac_ext <<_ACEOF
18711 #line $LINENO "configure"
18714 cat confdefs.h
>>conftest.
$ac_ext
18715 cat >>conftest.
$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18718 /* Override any gcc2 internal prototype to avoid an error. */
18722 /* We use char because int might match the return type of a gcc2
18723 builtin and then its argument prototype would still apply. */
18724 char jpeg_read_header ();
18728 jpeg_read_header ();
18733 rm -f conftest.
$ac_objext conftest
$ac_exeext
18734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18735 (eval $ac_link) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } &&
18739 { ac_try
='test -s conftest$ac_exeext'
18740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18741 (eval $ac_try) 2>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); }; }; then
18745 ac_cv_lib_jpeg_jpeg_read_header
=yes
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.
$ac_ext >&5
18750 ac_cv_lib_jpeg_jpeg_read_header
=no
18752 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18753 LIBS
=$ac_check_lib_save_LIBS
18755 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18756 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18757 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18758 JPEG_LINK
=" -ljpeg"
18763 if test "x$JPEG_LINK" = "x" ; then
18764 if test "$wxUSE_LIBJPEG" = "sys" ; then
18765 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18766 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18767 { (exit 1); exit 1; }; }
18769 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18770 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18771 wxUSE_LIBJPEG
=builtin
18779 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18780 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18787 TIFF_PREREQ_LINKS
=-lm
18788 if test "$wxUSE_LIBTIFF" != "no" ; then
18789 cat >>confdefs.h
<<\_ACEOF
18790 #define wxUSE_LIBTIFF 1
18794 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18795 if test "$wxUSE_LIBJPEG" = "sys"; then
18796 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18798 if test "$wxUSE_ZLIB" = "sys"; then
18799 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18801 if test "${ac_cv_header_tiffio_h+set}" = set; then
18802 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18803 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18804 if test "${ac_cv_header_tiffio_h+set}" = set; then
18805 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18808 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18810 # Is the header compilable?
18811 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18812 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18813 cat >conftest.
$ac_ext <<_ACEOF
18814 #line $LINENO "configure"
18817 cat confdefs.h
>>conftest.
$ac_ext
18818 cat >>conftest.
$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 $ac_includes_default
18821 #include <tiffio.h>
18823 rm -f conftest.
$ac_objext
18824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18825 (eval $ac_compile) 2>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try
='test -s conftest.$ac_objext'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; }; then
18835 ac_header_compiler
=yes
18837 echo "$as_me: failed program was:" >&5
18838 sed 's/^/| /' conftest.
$ac_ext >&5
18840 ac_header_compiler
=no
18842 rm -f conftest.
$ac_objext conftest.
$ac_ext
18843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18844 echo "${ECHO_T}$ac_header_compiler" >&6
18846 # Is the header present?
18847 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18848 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18849 cat >conftest.
$ac_ext <<_ACEOF
18850 #line $LINENO "configure"
18853 cat confdefs.h
>>conftest.
$ac_ext
18854 cat >>conftest.
$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856 #include <tiffio.h>
18858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18861 grep -v '^ *+' conftest.er1
>conftest.err
18863 cat conftest.err
>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } >/dev
/null
; then
18866 if test -s conftest.err
; then
18867 ac_cpp_err
=$ac_c_preproc_warn_flag
18874 if test -z "$ac_cpp_err"; then
18875 ac_header_preproc
=yes
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.
$ac_ext >&5
18880 ac_header_preproc
=no
18882 rm -f conftest.err conftest.
$ac_ext
18883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18884 echo "${ECHO_T}$ac_header_preproc" >&6
18886 # So? What about this header?
18887 case $ac_header_compiler:$ac_header_preproc in
18889 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18890 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18891 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18892 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18895 ## ------------------------------------ ##
18896 ## Report this to bug-autoconf@gnu.org. ##
18897 ## ------------------------------------ ##
18900 sed "s/^/$as_me: WARNING: /" >&2
18903 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18904 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18905 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18906 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18907 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18908 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18911 ## ------------------------------------ ##
18912 ## Report this to bug-autoconf@gnu.org. ##
18913 ## ------------------------------------ ##
18916 sed "s/^/$as_me: WARNING: /" >&2
18919 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18920 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18921 if test "${ac_cv_header_tiffio_h+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18924 ac_cv_header_tiffio_h
=$ac_header_preproc
18926 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18927 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18930 if test $ac_cv_header_tiffio_h = yes; then
18931 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18932 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18933 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 ac_check_lib_save_LIBS
=$LIBS
18937 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18938 cat >conftest.
$ac_ext <<_ACEOF
18939 #line $LINENO "configure"
18942 cat confdefs.h
>>conftest.
$ac_ext
18943 cat >>conftest.
$ac_ext <<_ACEOF
18944 /* end confdefs.h. */
18946 /* Override any gcc2 internal prototype to avoid an error. */
18950 /* We use char because int might match the return type of a gcc2
18951 builtin and then its argument prototype would still apply. */
18961 rm -f conftest.
$ac_objext conftest
$ac_exeext
18962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18963 (eval $ac_link) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } &&
18967 { ac_try
='test -s conftest$ac_exeext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_cv_lib_tiff_TIFFError
=yes
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.
$ac_ext >&5
18978 ac_cv_lib_tiff_TIFFError
=no
18980 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18981 LIBS
=$ac_check_lib_save_LIBS
18983 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18984 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18985 if test $ac_cv_lib_tiff_TIFFError = yes; then
18986 TIFF_LINK
=" -ltiff"
18994 if test "x$TIFF_LINK" = "x" ; then
18995 if test "$wxUSE_LIBTIFF" = "sys" ; then
18996 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18997 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
18998 { (exit 1); exit 1; }; }
19000 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19001 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19002 wxUSE_LIBTIFF
=builtin
19009 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19010 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19022 if test "$USE_WIN32" = 1 ; then
19024 for ac_header
in w32api.h
19026 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19028 echo "$as_me:$LINENO: checking for $ac_header" >&5
19029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19036 # Is the header compilable?
19037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19039 cat >conftest.
$ac_ext <<_ACEOF
19040 #line $LINENO "configure"
19043 cat confdefs.h
>>conftest.
$ac_ext
19044 cat >>conftest.
$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 $ac_includes_default
19047 #include <$ac_header>
19049 rm -f conftest.
$ac_objext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19051 (eval $ac_compile) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try
='test -s conftest.$ac_objext'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; }; then
19061 ac_header_compiler
=yes
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.
$ac_ext >&5
19066 ac_header_compiler
=no
19068 rm -f conftest.
$ac_objext conftest.
$ac_ext
19069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19070 echo "${ECHO_T}$ac_header_compiler" >&6
19072 # Is the header present?
19073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19075 cat >conftest.
$ac_ext <<_ACEOF
19076 #line $LINENO "configure"
19079 cat confdefs.h
>>conftest.
$ac_ext
19080 cat >>conftest.
$ac_ext <<_ACEOF
19081 /* end confdefs.h. */
19082 #include <$ac_header>
19084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19087 grep -v '^ *+' conftest.er1
>conftest.err
19089 cat conftest.err
>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } >/dev
/null
; then
19092 if test -s conftest.err
; then
19093 ac_cpp_err
=$ac_c_preproc_warn_flag
19100 if test -z "$ac_cpp_err"; then
19101 ac_header_preproc
=yes
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.
$ac_ext >&5
19106 ac_header_preproc
=no
19108 rm -f conftest.err conftest.
$ac_ext
19109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19110 echo "${ECHO_T}$ac_header_preproc" >&6
19112 # So? What about this header?
19113 case $ac_header_compiler:$ac_header_preproc in
19115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19121 ## ------------------------------------ ##
19122 ## Report this to bug-autoconf@gnu.org. ##
19123 ## ------------------------------------ ##
19126 sed "s/^/$as_me: WARNING: /" >&2
19129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19137 ## ------------------------------------ ##
19138 ## Report this to bug-autoconf@gnu.org. ##
19139 ## ------------------------------------ ##
19142 sed "s/^/$as_me: WARNING: /" >&2
19145 echo "$as_me:$LINENO: checking for $ac_header" >&5
19146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19148 echo $ECHO_N "(cached) $ECHO_C" >&6
19150 eval "$as_ac_Header=$ac_header_preproc"
19152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19157 cat >>confdefs.h
<<_ACEOF
19158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19165 if test "${ac_cv_header_windows_h+set}" = set; then
19166 echo "$as_me:$LINENO: checking for windows.h" >&5
19167 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19168 if test "${ac_cv_header_windows_h+set}" = set; then
19169 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19172 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19174 # Is the header compilable?
19175 echo "$as_me:$LINENO: checking windows.h usability" >&5
19176 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19177 cat >conftest.
$ac_ext <<_ACEOF
19178 #line $LINENO "configure"
19181 cat confdefs.h
>>conftest.
$ac_ext
19182 cat >>conftest.
$ac_ext <<_ACEOF
19183 /* end confdefs.h. */
19184 $ac_includes_default
19185 #include <windows.h>
19187 rm -f conftest.
$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); } &&
19193 { ac_try
='test -s conftest.$ac_objext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 ac_header_compiler
=yes
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.
$ac_ext >&5
19204 ac_header_compiler
=no
19206 rm -f conftest.
$ac_objext conftest.
$ac_ext
19207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19208 echo "${ECHO_T}$ac_header_compiler" >&6
19210 # Is the header present?
19211 echo "$as_me:$LINENO: checking windows.h presence" >&5
19212 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19213 cat >conftest.
$ac_ext <<_ACEOF
19214 #line $LINENO "configure"
19217 cat confdefs.h
>>conftest.
$ac_ext
19218 cat >>conftest.
$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 #include <windows.h>
19222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19223 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19225 grep -v '^ *+' conftest.er1
>conftest.err
19227 cat conftest.err
>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } >/dev
/null
; then
19230 if test -s conftest.err
; then
19231 ac_cpp_err
=$ac_c_preproc_warn_flag
19238 if test -z "$ac_cpp_err"; then
19239 ac_header_preproc
=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.
$ac_ext >&5
19244 ac_header_preproc
=no
19246 rm -f conftest.err conftest.
$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19248 echo "${ECHO_T}$ac_header_preproc" >&6
19250 # So? What about this header?
19251 case $ac_header_compiler:$ac_header_preproc in
19253 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19254 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19255 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19256 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19259 ## ------------------------------------ ##
19260 ## Report this to bug-autoconf@gnu.org. ##
19261 ## ------------------------------------ ##
19264 sed "s/^/$as_me: WARNING: /" >&2
19267 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19268 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19269 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19270 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19271 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19272 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19275 ## ------------------------------------ ##
19276 ## Report this to bug-autoconf@gnu.org. ##
19277 ## ------------------------------------ ##
19280 sed "s/^/$as_me: WARNING: /" >&2
19283 echo "$as_me:$LINENO: checking for windows.h" >&5
19284 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19285 if test "${ac_cv_header_windows_h+set}" = set; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 ac_cv_header_windows_h
=$ac_header_preproc
19290 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19291 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19294 if test $ac_cv_header_windows_h = yes; then
19298 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19299 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19300 { (exit 1); exit 1; }; }
19306 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19307 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19308 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19309 echo $ECHO_N "(cached) $ECHO_C" >&6
19312 cat >conftest.
$ac_ext <<_ACEOF
19313 #line $LINENO "configure"
19316 cat confdefs.h
>>conftest.
$ac_ext
19317 cat >>conftest.
$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 #include <w32api.h>
19324 #define wxCHECK_W32API_VERSION( major, minor ) \
19325 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19326 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19327 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19329 #if !wxCHECK_W32API_VERSION(1,1)
19330 #error You need w32api 1.1 or newer
19337 rm -f conftest.
$ac_objext
19338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19339 (eval $ac_compile) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try
='test -s conftest.$ac_objext'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; }; then
19350 wx_cv_w32api_win32_ie
=yes
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.
$ac_ext >&5
19357 wx_cv_w32api_win32_ie
=no
19360 rm -f conftest.
$ac_objext conftest.
$ac_ext
19363 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19364 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19365 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19366 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
19369 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
19371 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19372 LIBS
="$LIBS -loleacc"
19377 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
19378 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19381 if test "$wxUSE_ODBC" = "sys" ; then
19384 if test "$wxUSE_ODBC" = "yes" ; then
19385 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19386 cat >>confdefs.h
<<\_ACEOF
19387 #define wxUSE_ODBC 1
19392 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19393 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19395 WIN32INSTALL
=win32install
19398 if test "$USE_DARWIN" = 1; then
19399 if test "$wxUSE_PRECOMP" = "yes"; then
19400 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
19402 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
19406 if test "$wxUSE_GUI" = "yes"; then
19415 if test "$wxUSE_MSW" = 1 ; then
19419 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19422 if test "$wxUSE_GTK" = 1; then
19423 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19424 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19426 gtk_version_cached
=1
19427 if test "${wx_cv_lib_gtk+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 gtk_version_cached
=0
19432 echo "$as_me:$LINENO: result: " >&5
19433 echo "${ECHO_T}" >&6
19436 if test "$wxUSE_THREADS" = "yes"; then
19437 GTK_MODULES
=gthread
19441 if test "x$wxUSE_GTK2" = "xyes"; then
19442 # Check whether --enable-gtktest or --disable-gtktest was given.
19443 if test "${enable_gtktest+set}" = set; then
19444 enableval
="$enable_gtktest"
19450 pkg_config_args
=gtk
+-2.0
19451 for module
in .
$GTK_MODULES
19455 pkg_config_args
="$pkg_config_args gthread-2.0"
19462 # Extract the first word of "pkg-config", so it can be a program name with args.
19463 set dummy pkg
-config; ac_word
=$2
19464 echo "$as_me:$LINENO: checking for $ac_word" >&5
19465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19466 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19467 echo $ECHO_N "(cached) $ECHO_C" >&6
19469 case $PKG_CONFIG in
19471 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19475 for as_dir
in $PATH
19478 test -z "$as_dir" && as_dir
=.
19479 for ac_exec_ext
in '' $ac_executable_extensions; do
19480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19481 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19488 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19492 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19494 if test -n "$PKG_CONFIG"; then
19495 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19496 echo "${ECHO_T}$PKG_CONFIG" >&6
19498 echo "$as_me:$LINENO: result: no" >&5
19499 echo "${ECHO_T}no" >&6
19503 if test x
$PKG_CONFIG != xno
; then
19504 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19507 echo *** pkg
-config too old
; version
0.7 or better required.
19515 min_gtk_version
=2.0.0
19516 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19517 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19519 if test x
$PKG_CONFIG != xno
; then
19520 ## don't try to run the test against uninstalled libtool libs
19521 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19522 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19526 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19533 if test x
"$no_gtk" = x
; then
19534 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19535 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19536 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19537 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19538 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19540 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19542 if test "x$enable_gtktest" = "xyes" ; then
19543 ac_save_CFLAGS
="$CFLAGS"
19544 ac_save_LIBS
="$LIBS"
19545 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19546 LIBS
="$GTK_LIBS $LIBS"
19548 if test "$cross_compiling" = yes; then
19549 echo $ac_n "cross compiling; assumed OK... $ac_c"
19551 cat >conftest.
$ac_ext <<_ACEOF
19552 #line $LINENO "configure"
19555 cat confdefs.h
>>conftest.
$ac_ext
19556 cat >>conftest.
$ac_ext <<_ACEOF
19557 /* end confdefs.h. */
19559 #include <gtk/gtk.h>
19561 #include <stdlib.h>
19566 int major, minor, micro;
19569 system ("touch conf.gtktest");
19571 /* HP/UX 9 (%@#!) writes to sscanf strings */
19572 tmp_version = g_strdup("$min_gtk_version");
19573 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19574 printf("%s, bad version string\n", "$min_gtk_version");
19578 if ((gtk_major_version != $gtk_config_major_version) ||
19579 (gtk_minor_version != $gtk_config_minor_version) ||
19580 (gtk_micro_version != $gtk_config_micro_version))
19582 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19583 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19584 gtk_major_version, gtk_minor_version, gtk_micro_version);
19585 printf ("*** was found! If pkg-config was correct, then it is best\n");
19586 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19587 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19588 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19589 printf("*** required on your system.\n");
19590 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19591 printf("*** to point to the correct configuration files\n");
19593 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19594 (gtk_minor_version != GTK_MINOR_VERSION) ||
19595 (gtk_micro_version != GTK_MICRO_VERSION))
19597 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19598 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19599 printf("*** library (version %d.%d.%d)\n",
19600 gtk_major_version, gtk_minor_version, gtk_micro_version);
19604 if ((gtk_major_version > major) ||
19605 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19606 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19612 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19613 gtk_major_version, gtk_minor_version, gtk_micro_version);
19614 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19615 major, minor, micro);
19616 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19618 printf("*** If you have already installed a sufficiently new version, this error\n");
19619 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19620 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19621 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19622 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19623 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19624 printf("*** so that the correct libraries are found at run-time))\n");
19631 rm -f conftest
$ac_exeext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19633 (eval $ac_link) 2>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19644 echo "$as_me: program exited with status $ac_status" >&5
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.
$ac_ext >&5
19648 ( exit $ac_status )
19651 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19653 CFLAGS
="$ac_save_CFLAGS"
19654 LIBS
="$ac_save_LIBS"
19657 if test "x$no_gtk" = x
; then
19658 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19659 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19662 echo "$as_me:$LINENO: result: no" >&5
19663 echo "${ECHO_T}no" >&6
19664 if test "$PKG_CONFIG" = "no" ; then
19665 echo "*** A new enough version of pkg-config was not found."
19666 echo "*** See http://pkgconfig.sourceforge.net"
19668 if test -f conf.gtktest
; then
19671 echo "*** Could not run GTK+ test program, checking why..."
19672 ac_save_CFLAGS
="$CFLAGS"
19673 ac_save_LIBS
="$LIBS"
19674 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19675 LIBS
="$LIBS $GTK_LIBS"
19676 cat >conftest.
$ac_ext <<_ACEOF
19677 #line $LINENO "configure"
19680 cat confdefs.h
>>conftest.
$ac_ext
19681 cat >>conftest.
$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19684 #include <gtk/gtk.h>
19690 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19695 rm -f conftest.
$ac_objext conftest
$ac_exeext
19696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19697 (eval $ac_link) 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try
='test -s conftest$ac_exeext'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 echo "*** The test program compiled, but did not run. This usually means"
19708 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19709 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19712 echo "*** is required on your system"
19714 echo "*** If you have an old version installed, it is best to remove it, although"
19715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.
$ac_ext >&5
19720 echo "*** The test program failed to compile or link. See the file config.log for the"
19721 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19724 CFLAGS
="$ac_save_CFLAGS"
19725 LIBS
="$ac_save_LIBS"
19738 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19739 if test "${with_gtk_prefix+set}" = set; then
19740 withval
="$with_gtk_prefix"
19741 gtk_config_prefix
="$withval"
19743 gtk_config_prefix
=""
19746 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19747 if test "${with_gtk_exec_prefix+set}" = set; then
19748 withval
="$with_gtk_exec_prefix"
19749 gtk_config_exec_prefix
="$withval"
19751 gtk_config_exec_prefix
=""
19753 # Check whether --enable-gtktest or --disable-gtktest was given.
19754 if test "${enable_gtktest+set}" = set; then
19755 enableval
="$enable_gtktest"
19761 for module
in .
$GTK_MODULES
19765 gtk_config_args
="$gtk_config_args gthread"
19770 if test x
$gtk_config_exec_prefix != x
; then
19771 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19772 if test x
${GTK_CONFIG+set} != xset
; then
19773 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
19776 if test x
$gtk_config_prefix != x
; then
19777 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
19778 if test x
${GTK_CONFIG+set} != xset
; then
19779 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
19783 # Extract the first word of "gtk-config", so it can be a program name with args.
19784 set dummy gtk
-config; ac_word
=$2
19785 echo "$as_me:$LINENO: checking for $ac_word" >&5
19786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19787 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 case $GTK_CONFIG in
19792 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
19795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19796 for as_dir
in $PATH
19799 test -z "$as_dir" && as_dir
=.
19800 for ac_exec_ext
in '' $ac_executable_extensions; do
19801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19802 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19809 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
19813 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
19815 if test -n "$GTK_CONFIG"; then
19816 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19817 echo "${ECHO_T}$GTK_CONFIG" >&6
19819 echo "$as_me:$LINENO: result: no" >&5
19820 echo "${ECHO_T}no" >&6
19823 min_gtk_version
=1.2.7
19824 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19825 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19827 if test "$GTK_CONFIG" = "no" ; then
19830 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
19831 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
19832 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
19833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19834 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
19835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19836 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
19837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19838 if test "x$enable_gtktest" = "xyes" ; then
19839 ac_save_CFLAGS
="$CFLAGS"
19840 ac_save_LIBS
="$LIBS"
19841 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19842 LIBS
="$GTK_LIBS $LIBS"
19844 if test "$cross_compiling" = yes; then
19845 echo $ac_n "cross compiling; assumed OK... $ac_c"
19847 cat >conftest.
$ac_ext <<_ACEOF
19848 #line $LINENO "configure"
19851 cat confdefs.h
>>conftest.
$ac_ext
19852 cat >>conftest.
$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19855 #include <gtk/gtk.h>
19857 #include <stdlib.h>
19862 int major, minor, micro;
19865 system ("touch conf.gtktest");
19867 /* HP/UX 9 (%@#!) writes to sscanf strings */
19868 tmp_version = g_strdup("$min_gtk_version");
19869 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19870 printf("%s, bad version string\n", "$min_gtk_version");
19874 if ((gtk_major_version != $gtk_config_major_version) ||
19875 (gtk_minor_version != $gtk_config_minor_version) ||
19876 (gtk_micro_version != $gtk_config_micro_version))
19878 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19879 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19880 gtk_major_version, gtk_minor_version, gtk_micro_version);
19881 printf ("*** was found! If gtk-config was correct, then it is best\n");
19882 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19883 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19884 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19885 printf("*** required on your system.\n");
19886 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19887 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19888 printf("*** before re-running configure\n");
19890 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19891 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19892 (gtk_minor_version != GTK_MINOR_VERSION) ||
19893 (gtk_micro_version != GTK_MICRO_VERSION))
19895 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19896 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19897 printf("*** library (version %d.%d.%d)\n",
19898 gtk_major_version, gtk_minor_version, gtk_micro_version);
19900 #endif /* defined (GTK_MAJOR_VERSION) ... */
19903 if ((gtk_major_version > major) ||
19904 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19905 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19911 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19912 gtk_major_version, gtk_minor_version, gtk_micro_version);
19913 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19914 major, minor, micro);
19915 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19917 printf("*** If you have already installed a sufficiently new version, this error\n");
19918 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19919 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19920 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19921 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19922 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19923 printf("*** so that the correct libraries are found at run-time))\n");
19930 rm -f conftest
$ac_exeext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19932 (eval $ac_link) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; }; then
19943 echo "$as_me: program exited with status $ac_status" >&5
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.
$ac_ext >&5
19947 ( exit $ac_status )
19950 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19952 CFLAGS
="$ac_save_CFLAGS"
19953 LIBS
="$ac_save_LIBS"
19956 if test "x$no_gtk" = x
; then
19957 echo "$as_me:$LINENO: result: yes" >&5
19958 echo "${ECHO_T}yes" >&6
19959 wx_cv_lib_gtk
=1.2.7
19961 echo "$as_me:$LINENO: result: no" >&5
19962 echo "${ECHO_T}no" >&6
19963 if test "$GTK_CONFIG" = "no" ; then
19964 echo "*** The gtk-config script installed by GTK could not be found"
19965 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19966 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19967 echo "*** full path to gtk-config."
19969 if test -f conf.gtktest
; then
19972 echo "*** Could not run GTK test program, checking why..."
19973 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19974 LIBS
="$LIBS $GTK_LIBS"
19975 cat >conftest.
$ac_ext <<_ACEOF
19976 #line $LINENO "configure"
19979 cat confdefs.h
>>conftest.
$ac_ext
19980 cat >>conftest.
$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19983 #include <gtk/gtk.h>
19989 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19994 rm -f conftest.
$ac_objext conftest
$ac_exeext
19995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19996 (eval $ac_link) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } &&
20000 { ac_try
='test -s conftest$ac_exeext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 echo "*** The test program compiled, but did not run. This usually means"
20007 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20008 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20009 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20010 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20011 echo "*** is required on your system"
20013 echo "*** If you have an old version installed, it is best to remove it, although"
20014 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20016 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20017 echo "*** came with the system with the command"
20019 echo "*** rpm --erase --nodeps gtk gtk-devel"
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.
$ac_ext >&5
20024 echo "*** The test program failed to compile or link. See the file config.log for the"
20025 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20026 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20027 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20030 CFLAGS
="$ac_save_CFLAGS"
20031 LIBS
="$ac_save_LIBS"
20043 if test -z "$wx_cv_lib_gtk"; then
20045 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20046 if test "${with_gtk_prefix+set}" = set; then
20047 withval
="$with_gtk_prefix"
20048 gtk_config_prefix
="$withval"
20050 gtk_config_prefix
=""
20053 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20054 if test "${with_gtk_exec_prefix+set}" = set; then
20055 withval
="$with_gtk_exec_prefix"
20056 gtk_config_exec_prefix
="$withval"
20058 gtk_config_exec_prefix
=""
20060 # Check whether --enable-gtktest or --disable-gtktest was given.
20061 if test "${enable_gtktest+set}" = set; then
20062 enableval
="$enable_gtktest"
20068 for module
in .
$GTK_MODULES
20072 gtk_config_args
="$gtk_config_args gthread"
20077 if test x
$gtk_config_exec_prefix != x
; then
20078 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20079 if test x
${GTK_CONFIG+set} != xset
; then
20080 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20083 if test x
$gtk_config_prefix != x
; then
20084 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20085 if test x
${GTK_CONFIG+set} != xset
; then
20086 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20090 # Extract the first word of "gtk-config", so it can be a program name with args.
20091 set dummy gtk
-config; ac_word
=$2
20092 echo "$as_me:$LINENO: checking for $ac_word" >&5
20093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20094 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20097 case $GTK_CONFIG in
20099 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20103 for as_dir
in $PATH
20106 test -z "$as_dir" && as_dir
=.
20107 for ac_exec_ext
in '' $ac_executable_extensions; do
20108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20109 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20116 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20120 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20122 if test -n "$GTK_CONFIG"; then
20123 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20124 echo "${ECHO_T}$GTK_CONFIG" >&6
20126 echo "$as_me:$LINENO: result: no" >&5
20127 echo "${ECHO_T}no" >&6
20130 min_gtk_version
=1.2.3
20131 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20132 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20134 if test "$GTK_CONFIG" = "no" ; then
20137 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20138 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20139 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20141 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20143 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20145 if test "x$enable_gtktest" = "xyes" ; then
20146 ac_save_CFLAGS
="$CFLAGS"
20147 ac_save_LIBS
="$LIBS"
20148 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20149 LIBS
="$GTK_LIBS $LIBS"
20151 if test "$cross_compiling" = yes; then
20152 echo $ac_n "cross compiling; assumed OK... $ac_c"
20154 cat >conftest.
$ac_ext <<_ACEOF
20155 #line $LINENO "configure"
20158 cat confdefs.h
>>conftest.
$ac_ext
20159 cat >>conftest.
$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20162 #include <gtk/gtk.h>
20164 #include <stdlib.h>
20169 int major, minor, micro;
20172 system ("touch conf.gtktest");
20174 /* HP/UX 9 (%@#!) writes to sscanf strings */
20175 tmp_version = g_strdup("$min_gtk_version");
20176 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20177 printf("%s, bad version string\n", "$min_gtk_version");
20181 if ((gtk_major_version != $gtk_config_major_version) ||
20182 (gtk_minor_version != $gtk_config_minor_version) ||
20183 (gtk_micro_version != $gtk_config_micro_version))
20185 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20186 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20187 gtk_major_version, gtk_minor_version, gtk_micro_version);
20188 printf ("*** was found! If gtk-config was correct, then it is best\n");
20189 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20190 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20191 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20192 printf("*** required on your system.\n");
20193 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20194 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20195 printf("*** before re-running configure\n");
20197 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20198 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20199 (gtk_minor_version != GTK_MINOR_VERSION) ||
20200 (gtk_micro_version != GTK_MICRO_VERSION))
20202 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20203 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20204 printf("*** library (version %d.%d.%d)\n",
20205 gtk_major_version, gtk_minor_version, gtk_micro_version);
20207 #endif /* defined (GTK_MAJOR_VERSION) ... */
20210 if ((gtk_major_version > major) ||
20211 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20212 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20218 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20219 gtk_major_version, gtk_minor_version, gtk_micro_version);
20220 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20221 major, minor, micro);
20222 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20224 printf("*** If you have already installed a sufficiently new version, this error\n");
20225 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20226 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20227 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20228 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20229 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20230 printf("*** so that the correct libraries are found at run-time))\n");
20237 rm -f conftest
$ac_exeext
20238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20239 (eval $ac_link) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20250 echo "$as_me: program exited with status $ac_status" >&5
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.
$ac_ext >&5
20254 ( exit $ac_status )
20257 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20259 CFLAGS
="$ac_save_CFLAGS"
20260 LIBS
="$ac_save_LIBS"
20263 if test "x$no_gtk" = x
; then
20264 echo "$as_me:$LINENO: result: yes" >&5
20265 echo "${ECHO_T}yes" >&6
20266 wx_cv_lib_gtk
=1.2.3
20268 echo "$as_me:$LINENO: result: no" >&5
20269 echo "${ECHO_T}no" >&6
20270 if test "$GTK_CONFIG" = "no" ; then
20271 echo "*** The gtk-config script installed by GTK could not be found"
20272 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20273 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20274 echo "*** full path to gtk-config."
20276 if test -f conf.gtktest
; then
20279 echo "*** Could not run GTK test program, checking why..."
20280 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20281 LIBS
="$LIBS $GTK_LIBS"
20282 cat >conftest.
$ac_ext <<_ACEOF
20283 #line $LINENO "configure"
20286 cat confdefs.h
>>conftest.
$ac_ext
20287 cat >>conftest.
$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20290 #include <gtk/gtk.h>
20296 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20301 rm -f conftest.
$ac_objext conftest
$ac_exeext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20303 (eval $ac_link) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } &&
20307 { ac_try
='test -s conftest$ac_exeext'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 echo "*** The test program compiled, but did not run. This usually means"
20314 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20315 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20316 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20317 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20318 echo "*** is required on your system"
20320 echo "*** If you have an old version installed, it is best to remove it, although"
20321 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20323 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20324 echo "*** came with the system with the command"
20326 echo "*** rpm --erase --nodeps gtk gtk-devel"
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 echo "*** The test program failed to compile or link. See the file config.log for the"
20332 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20333 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20334 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20336 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20337 CFLAGS
="$ac_save_CFLAGS"
20338 LIBS
="$ac_save_LIBS"
20352 if test -z "$wx_cv_lib_gtk"; then
20355 wx_cv_cflags_gtk
=$GTK_CFLAGS
20356 wx_cv_libs_gtk
=$GTK_LIBS
20363 if test "$gtk_version_cached" = 1; then
20364 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20365 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20368 case "$wx_cv_lib_gtk" in
20377 *) { { echo "$as_me:$LINENO: error:
20378 Please check that gtk-config is in path, the directory
20379 where GTK+ libraries are installed (returned by
20380 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20381 equivalent variable and GTK+ is version 1.2.3 or above.
20383 echo "$as_me: error:
20384 Please check that gtk-config is in path, the directory
20385 where GTK+ libraries are installed (returned by
20386 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20387 equivalent variable and GTK+ is version 1.2.3 or above.
20389 { (exit 1); exit 1; }; }
20393 if test "$WXGTK20" = 1; then
20394 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20398 if test -z "$PKG_CONFIG"; then
20399 # Extract the first word of "pkg-config", so it can be a program name with args.
20400 set dummy pkg
-config; ac_word
=$2
20401 echo "$as_me:$LINENO: checking for $ac_word" >&5
20402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20403 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 case $PKG_CONFIG in
20408 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20412 for as_dir
in $PATH
20415 test -z "$as_dir" && as_dir
=.
20416 for ac_exec_ext
in '' $ac_executable_extensions; do
20417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20418 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20425 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20429 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20431 if test -n "$PKG_CONFIG"; then
20432 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20433 echo "${ECHO_T}$PKG_CONFIG" >&6
20435 echo "$as_me:$LINENO: result: no" >&5
20436 echo "${ECHO_T}no" >&6
20441 if test "$PKG_CONFIG" = "no" ; then
20442 echo "*** The pkg-config script could not be found. Make sure it is"
20443 echo "*** in your path, or set the PKG_CONFIG environment variable"
20444 echo "*** to the full path to pkg-config."
20445 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20447 PKG_CONFIG_MIN_VERSION
=0.9.0
20448 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20449 echo "$as_me:$LINENO: checking for pangoft2" >&5
20450 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20452 if $PKG_CONFIG --exists "pangoft2" ; then
20453 echo "$as_me:$LINENO: result: yes" >&5
20454 echo "${ECHO_T}yes" >&6
20457 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20458 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20459 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20460 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20461 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20463 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20464 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20465 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20466 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20467 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20471 ## If we have a custom action on failure, don't print errors, but
20472 ## do set a variable so people can do so.
20473 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20480 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20481 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20485 if test $succeeded = yes; then
20487 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20488 LIBS
="$LIBS $PANGOFT2_LIBS"
20492 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20493 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20494 wxUSE_PRINTING_ARCHITECTURE
="no"
20501 if test "$wxUSE_UNICODE" = "yes"; then
20502 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20503 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20508 if test "$USE_DARWIN" != 1; then
20510 for ac_func
in poll
20512 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20513 echo "$as_me:$LINENO: checking for $ac_func" >&5
20514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20515 if eval "test \"\${$as_ac_var+set}\" = set"; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 cat >conftest.
$ac_ext <<_ACEOF
20519 #line $LINENO "configure"
20522 cat confdefs.h
>>conftest.
$ac_ext
20523 cat >>conftest.
$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 /* System header to define __stub macros and hopefully few prototypes,
20526 which can conflict with char $ac_func (); below.
20527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20528 <limits.h> exists even on freestanding compilers. */
20530 # include <limits.h>
20532 # include <assert.h>
20534 /* Override any gcc2 internal prototype to avoid an error. */
20539 /* We use char because int might match the return type of a gcc2
20540 builtin and then its argument prototype would still apply. */
20542 /* The GNU C library defines this for functions which it implements
20543 to always fail with ENOSYS. Some functions are actually named
20544 something starting with __ and the normal name is an alias. */
20545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20548 char (*f) () = $ac_func;
20557 return f != $ac_func;
20562 rm -f conftest.
$ac_objext conftest
$ac_exeext
20563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20564 (eval $ac_link) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } &&
20568 { ac_try
='test -s conftest$ac_exeext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 eval "$as_ac_var=yes"
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 eval "$as_ac_var=no"
20581 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20585 if test `eval echo '${'$as_ac_var'}'` = yes; then
20586 cat >>confdefs.h
<<_ACEOF
20587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20595 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20596 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
20598 AFMINSTALL
=afminstall
20602 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20603 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20604 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20607 ac_check_lib_save_LIBS
=$LIBS
20609 cat >conftest.
$ac_ext <<_ACEOF
20610 #line $LINENO "configure"
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20617 /* Override any gcc2 internal prototype to avoid an error. */
20621 /* We use char because int might match the return type of a gcc2
20622 builtin and then its argument prototype would still apply. */
20623 char gdk_im_open ();
20632 rm -f conftest.
$ac_objext conftest
$ac_exeext
20633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20634 (eval $ac_link) 2>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } &&
20638 { ac_try
='test -s conftest$ac_exeext'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; }; then
20644 ac_cv_lib_gdk_gdk_im_open
=yes
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.
$ac_ext >&5
20649 ac_cv_lib_gdk_gdk_im_open
=no
20651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20652 LIBS
=$ac_check_lib_save_LIBS
20654 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20655 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20656 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20657 cat >>confdefs.h
<<\_ACEOF
20665 if test "$wxUSE_MGL" = 1; then
20666 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20667 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20668 if test "x$MGL_ROOT" = x
; then
20669 echo "$as_me:$LINENO: result: not found" >&5
20670 echo "${ECHO_T}not found" >&6
20671 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20672 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20673 { (exit 1); exit 1; }; }
20675 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20676 echo "${ECHO_T}$MGL_ROOT" >&6
20679 echo "$as_me:$LINENO: checking for libmgl location" >&5
20680 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20683 if test "x$wxUSE_SHARED" = xyes
; then
20684 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20686 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20690 mgl_os_candidates
="dos32/dj2"
20693 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20694 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20695 { (exit 1); exit 1; }; }
20701 for mgl_os_i
in $mgl_os_candidates ; do
20702 if test "x$mgl_os" = x
; then
20703 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20704 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20705 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20710 if test "x$mgl_lib_type" = x
; then
20711 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20712 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20713 mgl_lib_type
=release
20720 if test "x$mgl_os" = x
; then
20721 echo "$as_me:$LINENO: result: not found" >&5
20722 echo "${ECHO_T}not found" >&6
20723 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20724 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20725 { (exit 1); exit 1; }; }
20727 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20728 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20730 wxUSE_UNIVERSAL
="yes"
20732 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20733 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20735 AFMINSTALL
=afminstall
20740 if test "$wxUSE_MICROWIN" = 1; then
20741 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20742 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20743 if test "x$MICROWINDOWS" = x
; then
20744 echo "$as_me:$LINENO: result: not found" >&5
20745 echo "${ECHO_T}not found" >&6
20746 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20747 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20748 { (exit 1); exit 1; }; }
20750 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20751 echo "${ECHO_T}$MICROWINDOWS" >&6
20754 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
20755 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20756 echo "${ECHO_T}MicroWindows' libraries found." >&6
20758 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20759 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20760 { (exit 1); exit 1; }; }
20763 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
20764 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20766 wxUSE_UNIVERSAL
="yes"
20768 AFMINSTALL
=afminstall
20770 GUIDIST
=MICROWIN_DIST
20772 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20775 if test "$wxUSE_X11" = 1; then
20776 echo "$as_me:$LINENO: checking for X" >&5
20777 echo $ECHO_N "checking for X... $ECHO_C" >&6
20780 # Check whether --with-x or --without-x was given.
20781 if test "${with_x+set}" = set; then
20785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20786 if test "x$with_x" = xno
; then
20787 # The user explicitly disabled X.
20790 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20791 # Both variables are already set.
20794 if test "${ac_cv_have_x+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 # One or both of the vars are not set, and there is no cached value.
20798 ac_x_includes
=no ac_x_libraries
=no
20799 rm -fr conftest.dir
20800 if mkdir conftest.dir
; then
20802 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20803 cat >Imakefile
<<'_ACEOF'
20805 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20807 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20808 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20809 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20811 for ac_extension
in a so sl
; do
20812 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20813 test -f $ac_im_libdir/libX11.
$ac_extension; then
20814 ac_im_usrlibdir
=$ac_im_libdir; break
20817 # Screen out bogus values from the imake configuration. They are
20818 # bogus both because they are the default anyway, and because
20819 # using them would break gcc on systems where it needs fixed includes.
20820 case $ac_im_incroot in
20822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20824 case $ac_im_usrlibdir in
20825 /usr
/lib
| /lib
) ;;
20826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20830 rm -fr conftest.dir
20833 # Standard set of common directories for X headers.
20834 # Check X11 before X11Rn because it is often a symlink to the current release.
20846 /usr/local/X11/include
20847 /usr/local/X11R6/include
20848 /usr/local/X11R5/include
20849 /usr/local/X11R4/include
20851 /usr/local/include/X11
20852 /usr/local/include/X11R6
20853 /usr/local/include/X11R5
20854 /usr/local/include/X11R4
20858 /usr/XFree86/include/X11
20862 /usr/unsupported/include
20863 /usr/athena/include
20864 /usr/local/x11r5/include
20865 /usr/lpp/Xamples/include
20867 /usr/openwin/include
20868 /usr/openwin/share/include'
20870 if test "$ac_x_includes" = no
; then
20871 # Guess where to find include files, by looking for Intrinsic.h.
20872 # First, try using that file with no special directory specified.
20873 cat >conftest.
$ac_ext <<_ACEOF
20874 #line $LINENO "configure"
20877 cat confdefs.h
>>conftest.
$ac_ext
20878 cat >>conftest.
$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 #include <X11/Intrinsic.h>
20882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20883 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20885 grep -v '^ *+' conftest.er1
>conftest.err
20887 cat conftest.err
>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } >/dev
/null
; then
20890 if test -s conftest.err
; then
20891 ac_cpp_err
=$ac_c_preproc_warn_flag
20898 if test -z "$ac_cpp_err"; then
20899 # We can compile using X headers with no special include directory.
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.
$ac_ext >&5
20905 for ac_dir
in $ac_x_header_dirs; do
20906 if test -r "$ac_dir/X11/Intrinsic.h"; then
20907 ac_x_includes
=$ac_dir
20912 rm -f conftest.err conftest.
$ac_ext
20913 fi # $ac_x_includes = no
20915 if test "$ac_x_libraries" = no
; then
20916 # Check for the libraries.
20917 # See if we find them without any special options.
20918 # Don't add to $LIBS permanently.
20921 cat >conftest.
$ac_ext <<_ACEOF
20922 #line $LINENO "configure"
20925 cat confdefs.h
>>conftest.
$ac_ext
20926 cat >>conftest.
$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 #include <X11/Intrinsic.h>
20937 rm -f conftest.
$ac_objext conftest
$ac_exeext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20939 (eval $ac_link) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } &&
20943 { ac_try
='test -s conftest$ac_exeext'
20944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945 (eval $ac_try) 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20950 # We can link X programs with no special library path.
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.
$ac_ext >&5
20957 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20959 # Don't even attempt the hair of trying to link an X program!
20960 for ac_extension
in a so sl
; do
20961 if test -r $ac_dir/libXt.
$ac_extension; then
20962 ac_x_libraries
=$ac_dir
20968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20969 fi # $ac_x_libraries = no
20971 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
20972 # Didn't find X anywhere. Cache the known absence of X.
20973 ac_cv_have_x
="have_x=no"
20975 # Record where we found X for the cache.
20976 ac_cv_have_x
="have_x=yes \
20977 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20982 eval "$ac_cv_have_x"
20985 if test "$have_x" != yes; then
20986 echo "$as_me:$LINENO: result: $have_x" >&5
20987 echo "${ECHO_T}$have_x" >&6
20990 # If each of the values was on the command line, it overrides each guess.
20991 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20992 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20993 # Update the cache value to reflect the command line values.
20994 ac_cv_have_x
="have_x=yes \
20995 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20996 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20997 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21000 if test "$no_x" = yes; then
21001 # Not all programs may use this symbol, but it does not hurt to define it.
21003 cat >>confdefs.h
<<\_ACEOF
21004 #define X_DISPLAY_MISSING 1
21007 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21009 if test -n "$x_includes"; then
21010 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21013 # It would also be nice to do this for all -L options, not just this one.
21014 if test -n "$x_libraries"; then
21015 X_LIBS
="$X_LIBS -L$x_libraries"
21016 # For Solaris; some versions of Sun CC require a space after -R and
21017 # others require no space. Words are not sufficient . . . .
21018 case `(uname -sr) 2>/dev/null` in
21020 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21021 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21022 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21023 cat >conftest.
$ac_ext <<_ACEOF
21024 #line $LINENO "configure"
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21039 rm -f conftest.
$ac_objext conftest
$ac_exeext
21040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21041 (eval $ac_link) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try
='test -s conftest$ac_exeext'
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; }; then
21053 echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.
$ac_ext >&5
21058 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21059 if test $ac_R_nospace = yes; then
21060 echo "$as_me:$LINENO: result: no" >&5
21061 echo "${ECHO_T}no" >&6
21062 X_LIBS
="$X_LIBS -R$x_libraries"
21064 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21065 cat >conftest.
$ac_ext <<_ACEOF
21066 #line $LINENO "configure"
21069 cat confdefs.h
>>conftest.
$ac_ext
21070 cat >>conftest.
$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21081 rm -f conftest.
$ac_objext conftest
$ac_exeext
21082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21083 (eval $ac_link) 2>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } &&
21087 { ac_try
='test -s conftest$ac_exeext'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; }; then
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.
$ac_ext >&5
21100 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21101 if test $ac_R_space = yes; then
21102 echo "$as_me:$LINENO: result: yes" >&5
21103 echo "${ECHO_T}yes" >&6
21104 X_LIBS
="$X_LIBS -R $x_libraries"
21106 echo "$as_me:$LINENO: result: neither works" >&5
21107 echo "${ECHO_T}neither works" >&6
21110 LIBS
=$ac_xsave_LIBS
21114 # Check for system-dependent libraries X programs must link with.
21115 # Do this before checking for the system-independent R6 libraries
21116 # (-lICE), since we may need -lsocket or whatever for X linking.
21118 if test "$ISC" = yes; then
21119 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21121 # Martyn Johnson says this is needed for Ultrix, if the X
21122 # libraries were built with DECnet support. And Karl Berry says
21123 # the Alpha needs dnet_stub (dnet does not exist).
21124 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21125 cat >conftest.
$ac_ext <<_ACEOF
21126 #line $LINENO "configure"
21129 cat confdefs.h
>>conftest.
$ac_ext
21130 cat >>conftest.
$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21133 /* Override any gcc2 internal prototype to avoid an error. */
21137 /* We use char because int might match the return type of a gcc2
21138 builtin and then its argument prototype would still apply. */
21139 char XOpenDisplay ();
21148 rm -f conftest.
$ac_objext conftest
$ac_exeext
21149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21150 (eval $ac_link) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } &&
21154 { ac_try
='test -s conftest$ac_exeext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.
$ac_ext >&5
21165 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21166 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21167 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 ac_check_lib_save_LIBS
=$LIBS
21171 LIBS
="-ldnet $LIBS"
21172 cat >conftest.
$ac_ext <<_ACEOF
21173 #line $LINENO "configure"
21176 cat confdefs.h
>>conftest.
$ac_ext
21177 cat >>conftest.
$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21180 /* Override any gcc2 internal prototype to avoid an error. */
21184 /* We use char because int might match the return type of a gcc2
21185 builtin and then its argument prototype would still apply. */
21195 rm -f conftest.
$ac_objext conftest
$ac_exeext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21197 (eval $ac_link) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try
='test -s conftest$ac_exeext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 ac_cv_lib_dnet_dnet_ntoa
=yes
21209 echo "$as_me: failed program was:" >&5
21210 sed 's/^/| /' conftest.
$ac_ext >&5
21212 ac_cv_lib_dnet_dnet_ntoa
=no
21214 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21215 LIBS
=$ac_check_lib_save_LIBS
21217 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21218 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21219 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21220 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21223 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21224 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21225 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21226 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21227 echo $ECHO_N "(cached) $ECHO_C" >&6
21229 ac_check_lib_save_LIBS
=$LIBS
21230 LIBS
="-ldnet_stub $LIBS"
21231 cat >conftest.
$ac_ext <<_ACEOF
21232 #line $LINENO "configure"
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21239 /* Override any gcc2 internal prototype to avoid an error. */
21243 /* We use char because int might match the return type of a gcc2
21244 builtin and then its argument prototype would still apply. */
21254 rm -f conftest.
$ac_objext conftest
$ac_exeext
21255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21256 (eval $ac_link) 2>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } &&
21260 { ac_try
='test -s conftest$ac_exeext'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; }; then
21266 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21268 echo "$as_me: failed program was:" >&5
21269 sed 's/^/| /' conftest.
$ac_ext >&5
21271 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21273 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21274 LIBS
=$ac_check_lib_save_LIBS
21276 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21277 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21278 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21279 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21284 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21285 LIBS
="$ac_xsave_LIBS"
21287 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21288 # to get the SysV transport functions.
21289 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21291 # The nsl library prevents programs from opening the X display
21292 # on Irix 5.2, according to T.E. Dickey.
21293 # The functions gethostbyname, getservbyname, and inet_addr are
21294 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21295 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21296 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21297 if test "${ac_cv_func_gethostbyname+set}" = set; then
21298 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 cat >conftest.
$ac_ext <<_ACEOF
21301 #line $LINENO "configure"
21304 cat confdefs.h
>>conftest.
$ac_ext
21305 cat >>conftest.
$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 /* System header to define __stub macros and hopefully few prototypes,
21308 which can conflict with char gethostbyname (); below.
21309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21310 <limits.h> exists even on freestanding compilers. */
21312 # include <limits.h>
21314 # include <assert.h>
21316 /* Override any gcc2 internal prototype to avoid an error. */
21321 /* We use char because int might match the return type of a gcc2
21322 builtin and then its argument prototype would still apply. */
21323 char gethostbyname ();
21324 /* The GNU C library defines this for functions which it implements
21325 to always fail with ENOSYS. Some functions are actually named
21326 something starting with __ and the normal name is an alias. */
21327 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21330 char (*f) () = gethostbyname;
21339 return f != gethostbyname;
21344 rm -f conftest.
$ac_objext conftest
$ac_exeext
21345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21346 (eval $ac_link) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } &&
21350 { ac_try
='test -s conftest$ac_exeext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 ac_cv_func_gethostbyname
=yes
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.
$ac_ext >&5
21361 ac_cv_func_gethostbyname
=no
21363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21365 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21366 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21368 if test $ac_cv_func_gethostbyname = no
; then
21369 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21370 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21371 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21372 echo $ECHO_N "(cached) $ECHO_C" >&6
21374 ac_check_lib_save_LIBS
=$LIBS
21376 cat >conftest.
$ac_ext <<_ACEOF
21377 #line $LINENO "configure"
21380 cat confdefs.h
>>conftest.
$ac_ext
21381 cat >>conftest.
$ac_ext <<_ACEOF
21382 /* end confdefs.h. */
21384 /* Override any gcc2 internal prototype to avoid an error. */
21388 /* We use char because int might match the return type of a gcc2
21389 builtin and then its argument prototype would still apply. */
21390 char gethostbyname ();
21399 rm -f conftest.
$ac_objext conftest
$ac_exeext
21400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21401 (eval $ac_link) 2>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } &&
21405 { ac_try
='test -s conftest$ac_exeext'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; }; then
21411 ac_cv_lib_nsl_gethostbyname
=yes
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.
$ac_ext >&5
21416 ac_cv_lib_nsl_gethostbyname
=no
21418 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21419 LIBS
=$ac_check_lib_save_LIBS
21421 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21422 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21423 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21424 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21427 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21428 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21429 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21430 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21431 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 ac_check_lib_save_LIBS
=$LIBS
21435 cat >conftest.
$ac_ext <<_ACEOF
21436 #line $LINENO "configure"
21439 cat confdefs.h
>>conftest.
$ac_ext
21440 cat >>conftest.
$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21443 /* Override any gcc2 internal prototype to avoid an error. */
21447 /* We use char because int might match the return type of a gcc2
21448 builtin and then its argument prototype would still apply. */
21449 char gethostbyname ();
21458 rm -f conftest.
$ac_objext conftest
$ac_exeext
21459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21460 (eval $ac_link) 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try
='test -s conftest$ac_exeext'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; }; then
21470 ac_cv_lib_bsd_gethostbyname
=yes
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.
$ac_ext >&5
21475 ac_cv_lib_bsd_gethostbyname
=no
21477 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21478 LIBS
=$ac_check_lib_save_LIBS
21480 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21481 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21482 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21483 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21489 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21490 # socket/setsockopt and other routines are undefined under SCO ODT
21491 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21492 # on later versions), says Simon Leinen: it contains gethostby*
21493 # variants that don't use the name server (or something). -lsocket
21494 # must be given before -lnsl if both are needed. We assume that
21495 # if connect needs -lnsl, so does gethostbyname.
21496 echo "$as_me:$LINENO: checking for connect" >&5
21497 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21498 if test "${ac_cv_func_connect+set}" = set; then
21499 echo $ECHO_N "(cached) $ECHO_C" >&6
21501 cat >conftest.
$ac_ext <<_ACEOF
21502 #line $LINENO "configure"
21505 cat confdefs.h
>>conftest.
$ac_ext
21506 cat >>conftest.
$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 /* System header to define __stub macros and hopefully few prototypes,
21509 which can conflict with char connect (); below.
21510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21511 <limits.h> exists even on freestanding compilers. */
21513 # include <limits.h>
21515 # include <assert.h>
21517 /* Override any gcc2 internal prototype to avoid an error. */
21522 /* We use char because int might match the return type of a gcc2
21523 builtin and then its argument prototype would still apply. */
21525 /* The GNU C library defines this for functions which it implements
21526 to always fail with ENOSYS. Some functions are actually named
21527 something starting with __ and the normal name is an alias. */
21528 #if defined (__stub_connect) || defined (__stub___connect)
21531 char (*f) () = connect;
21540 return f != connect;
21545 rm -f conftest.
$ac_objext conftest
$ac_exeext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21547 (eval $ac_link) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try
='test -s conftest$ac_exeext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_cv_func_connect
=yes
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21562 ac_cv_func_connect
=no
21564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21566 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21567 echo "${ECHO_T}$ac_cv_func_connect" >&6
21569 if test $ac_cv_func_connect = no
; then
21570 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21571 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21572 if test "${ac_cv_lib_socket_connect+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 ac_check_lib_save_LIBS
=$LIBS
21576 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21577 cat >conftest.
$ac_ext <<_ACEOF
21578 #line $LINENO "configure"
21581 cat confdefs.h
>>conftest.
$ac_ext
21582 cat >>conftest.
$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21585 /* Override any gcc2 internal prototype to avoid an error. */
21589 /* We use char because int might match the return type of a gcc2
21590 builtin and then its argument prototype would still apply. */
21600 rm -f conftest.
$ac_objext conftest
$ac_exeext
21601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21602 (eval $ac_link) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } &&
21606 { ac_try
='test -s conftest$ac_exeext'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; }; then
21612 ac_cv_lib_socket_connect
=yes
21614 echo "$as_me: failed program was:" >&5
21615 sed 's/^/| /' conftest.
$ac_ext >&5
21617 ac_cv_lib_socket_connect
=no
21619 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21620 LIBS
=$ac_check_lib_save_LIBS
21622 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21623 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21624 if test $ac_cv_lib_socket_connect = yes; then
21625 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21630 # Guillermo Gomez says -lposix is necessary on A/UX.
21631 echo "$as_me:$LINENO: checking for remove" >&5
21632 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21633 if test "${ac_cv_func_remove+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 cat >conftest.
$ac_ext <<_ACEOF
21637 #line $LINENO "configure"
21640 cat confdefs.h
>>conftest.
$ac_ext
21641 cat >>conftest.
$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643 /* System header to define __stub macros and hopefully few prototypes,
21644 which can conflict with char remove (); below.
21645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21646 <limits.h> exists even on freestanding compilers. */
21648 # include <limits.h>
21650 # include <assert.h>
21652 /* Override any gcc2 internal prototype to avoid an error. */
21657 /* We use char because int might match the return type of a gcc2
21658 builtin and then its argument prototype would still apply. */
21660 /* The GNU C library defines this for functions which it implements
21661 to always fail with ENOSYS. Some functions are actually named
21662 something starting with __ and the normal name is an alias. */
21663 #if defined (__stub_remove) || defined (__stub___remove)
21666 char (*f) () = remove;
21675 return f != remove;
21680 rm -f conftest.
$ac_objext conftest
$ac_exeext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21682 (eval $ac_link) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } &&
21686 { ac_try
='test -s conftest$ac_exeext'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; }; then
21692 ac_cv_func_remove
=yes
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.
$ac_ext >&5
21697 ac_cv_func_remove
=no
21699 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21701 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21702 echo "${ECHO_T}$ac_cv_func_remove" >&6
21704 if test $ac_cv_func_remove = no
; then
21705 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21706 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21707 if test "${ac_cv_lib_posix_remove+set}" = set; then
21708 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 ac_check_lib_save_LIBS
=$LIBS
21711 LIBS
="-lposix $LIBS"
21712 cat >conftest.
$ac_ext <<_ACEOF
21713 #line $LINENO "configure"
21716 cat confdefs.h
>>conftest.
$ac_ext
21717 cat >>conftest.
$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21720 /* Override any gcc2 internal prototype to avoid an error. */
21724 /* We use char because int might match the return type of a gcc2
21725 builtin and then its argument prototype would still apply. */
21735 rm -f conftest.
$ac_objext conftest
$ac_exeext
21736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21737 (eval $ac_link) 2>&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try
='test -s conftest$ac_exeext'
21742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743 (eval $ac_try) 2>&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); }; }; then
21747 ac_cv_lib_posix_remove
=yes
21749 echo "$as_me: failed program was:" >&5
21750 sed 's/^/| /' conftest.
$ac_ext >&5
21752 ac_cv_lib_posix_remove
=no
21754 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21755 LIBS
=$ac_check_lib_save_LIBS
21757 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21758 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21759 if test $ac_cv_lib_posix_remove = yes; then
21760 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21765 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21766 echo "$as_me:$LINENO: checking for shmat" >&5
21767 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21768 if test "${ac_cv_func_shmat+set}" = set; then
21769 echo $ECHO_N "(cached) $ECHO_C" >&6
21771 cat >conftest.
$ac_ext <<_ACEOF
21772 #line $LINENO "configure"
21775 cat confdefs.h
>>conftest.
$ac_ext
21776 cat >>conftest.
$ac_ext <<_ACEOF
21777 /* end confdefs.h. */
21778 /* System header to define __stub macros and hopefully few prototypes,
21779 which can conflict with char shmat (); below.
21780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21781 <limits.h> exists even on freestanding compilers. */
21783 # include <limits.h>
21785 # include <assert.h>
21787 /* Override any gcc2 internal prototype to avoid an error. */
21792 /* We use char because int might match the return type of a gcc2
21793 builtin and then its argument prototype would still apply. */
21795 /* The GNU C library defines this for functions which it implements
21796 to always fail with ENOSYS. Some functions are actually named
21797 something starting with __ and the normal name is an alias. */
21798 #if defined (__stub_shmat) || defined (__stub___shmat)
21801 char (*f) () = shmat;
21815 rm -f conftest.
$ac_objext conftest
$ac_exeext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21817 (eval $ac_link) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try
='test -s conftest$ac_exeext'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; }; then
21827 ac_cv_func_shmat
=yes
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.
$ac_ext >&5
21832 ac_cv_func_shmat
=no
21834 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21836 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21837 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21839 if test $ac_cv_func_shmat = no
; then
21840 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21841 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21842 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 ac_check_lib_save_LIBS
=$LIBS
21847 cat >conftest.
$ac_ext <<_ACEOF
21848 #line $LINENO "configure"
21851 cat confdefs.h
>>conftest.
$ac_ext
21852 cat >>conftest.
$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21855 /* Override any gcc2 internal prototype to avoid an error. */
21859 /* We use char because int might match the return type of a gcc2
21860 builtin and then its argument prototype would still apply. */
21870 rm -f conftest.
$ac_objext conftest
$ac_exeext
21871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21872 (eval $ac_link) 2>&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } &&
21876 { ac_try
='test -s conftest$ac_exeext'
21877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21878 (eval $ac_try) 2>&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); }; }; then
21882 ac_cv_lib_ipc_shmat
=yes
21884 echo "$as_me: failed program was:" >&5
21885 sed 's/^/| /' conftest.
$ac_ext >&5
21887 ac_cv_lib_ipc_shmat
=no
21889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21890 LIBS
=$ac_check_lib_save_LIBS
21892 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21893 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21894 if test $ac_cv_lib_ipc_shmat = yes; then
21895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21901 # Check for libraries that X11R6 Xt/Xaw programs need.
21902 ac_save_LDFLAGS
=$LDFLAGS
21903 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21904 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21905 # check for ICE first), but we must link in the order -lSM -lICE or
21906 # we get undefined symbols. So assume we have SM if we have ICE.
21907 # These have to be linked with before -lX11, unlike the other
21908 # libraries we check for below, so use a different variable.
21909 # John Interrante, Karl Berry
21910 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21911 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21912 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21915 ac_check_lib_save_LIBS
=$LIBS
21916 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21917 cat >conftest.
$ac_ext <<_ACEOF
21918 #line $LINENO "configure"
21921 cat confdefs.h
>>conftest.
$ac_ext
21922 cat >>conftest.
$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21925 /* Override any gcc2 internal prototype to avoid an error. */
21929 /* We use char because int might match the return type of a gcc2
21930 builtin and then its argument prototype would still apply. */
21931 char IceConnectionNumber ();
21935 IceConnectionNumber ();
21940 rm -f conftest.
$ac_objext conftest
$ac_exeext
21941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21942 (eval $ac_link) 2>&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try
='test -s conftest$ac_exeext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 ac_cv_lib_ICE_IceConnectionNumber
=yes
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.
$ac_ext >&5
21957 ac_cv_lib_ICE_IceConnectionNumber
=no
21959 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21960 LIBS
=$ac_check_lib_save_LIBS
21962 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21963 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21964 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21965 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21968 LDFLAGS
=$ac_save_LDFLAGS
21973 if test "$no_x" = "yes"; then
21974 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21975 echo "$as_me: error: X11 not found" >&2;}
21976 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
21979 GUI_TK_LIBRARY
="$X_LIBS"
21980 TOOLKIT_INCLUDE
="$X_CFLAGS"
21981 AFMINSTALL
=afminstall
21982 COMPILED_X_PROGRAM
=0
21984 if test "$wxUSE_NANOX" = "yes"; then
21985 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21986 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21987 if test "x$MICROWIN" = x
; then
21988 echo "$as_me:$LINENO: result: not found" >&5
21989 echo "${ECHO_T}not found" >&6
21990 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21991 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21992 { (exit 1); exit 1; }; }
21994 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21995 echo "${ECHO_T}$MICROWIN" >&6
21996 cat >>confdefs.h
<<\_ACEOF
21997 #define wxUSE_NANOX 1
22004 echo "$as_me:$LINENO: checking for Xpm library" >&5
22005 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22008 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22010 for ac_extension
in a so sl dylib
; do
22011 if test -f "$ac_dir/libXpm.$ac_extension"; then
22012 ac_find_libraries
=$ac_dir
22018 if test "$ac_find_libraries" != "" ; then
22020 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22022 if test $result = 0; then
22025 ac_path_to_link
=" -L$ac_find_libraries"
22028 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22030 cat >>confdefs.h
<<\_ACEOF
22031 #define wxHAVE_LIB_XPM 1
22034 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22035 echo "${ECHO_T}found at $ac_find_libraries" >&6
22037 cat >conftest.
$ac_ext <<_ACEOF
22038 #line $LINENO "configure"
22041 cat confdefs.h
>>conftest.
$ac_ext
22042 cat >>conftest.
$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22045 #include <X11/xpm.h>
22052 version = XpmLibraryVersion();
22058 rm -f conftest.
$ac_objext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22060 (eval $ac_compile) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } &&
22064 { ac_try
='test -s conftest.$ac_objext'
22065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066 (eval $ac_try) 2>&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; }; then
22072 cat >>confdefs.h
<<\_ACEOF
22073 #define wxHAVE_LIB_XPM 1
22076 echo "$as_me:$LINENO: result: found in default search path" >&5
22077 echo "${ECHO_T}found in default search path" >&6
22078 COMPILED_X_PROGRAM
=0
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.
$ac_ext >&5
22085 echo "$as_me:$LINENO: result: no" >&5
22086 echo "${ECHO_T}no" >&6
22087 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22088 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22092 rm -f conftest.
$ac_objext conftest.
$ac_ext
22095 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22096 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22097 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22098 echo $ECHO_N "(cached) $ECHO_C" >&6
22100 ac_check_lib_save_LIBS
=$LIBS
22101 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22102 cat >conftest.
$ac_ext <<_ACEOF
22103 #line $LINENO "configure"
22106 cat confdefs.h
>>conftest.
$ac_ext
22107 cat >>conftest.
$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22110 /* Override any gcc2 internal prototype to avoid an error. */
22114 /* We use char because int might match the return type of a gcc2
22115 builtin and then its argument prototype would still apply. */
22116 char XShapeQueryExtension ();
22120 XShapeQueryExtension ();
22125 rm -f conftest.
$ac_objext conftest
$ac_exeext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22127 (eval $ac_link) 2>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
22131 { ac_try
='test -s conftest$ac_exeext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.
$ac_ext >&5
22142 ac_cv_lib_Xext_XShapeQueryExtension
=no
22144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22145 LIBS
=$ac_check_lib_save_LIBS
22147 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22148 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22149 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22151 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22157 if test "$wxUSE_UNICODE" = "yes"; then
22161 if test -z "$PKG_CONFIG"; then
22162 # Extract the first word of "pkg-config", so it can be a program name with args.
22163 set dummy pkg
-config; ac_word
=$2
22164 echo "$as_me:$LINENO: checking for $ac_word" >&5
22165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22166 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22169 case $PKG_CONFIG in
22171 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22175 for as_dir
in $PATH
22178 test -z "$as_dir" && as_dir
=.
22179 for ac_exec_ext
in '' $ac_executable_extensions; do
22180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22181 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22188 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22192 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22194 if test -n "$PKG_CONFIG"; then
22195 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22196 echo "${ECHO_T}$PKG_CONFIG" >&6
22198 echo "$as_me:$LINENO: result: no" >&5
22199 echo "${ECHO_T}no" >&6
22204 if test "$PKG_CONFIG" = "no" ; then
22205 echo "*** The pkg-config script could not be found. Make sure it is"
22206 echo "*** in your path, or set the PKG_CONFIG environment variable"
22207 echo "*** to the full path to pkg-config."
22208 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22210 PKG_CONFIG_MIN_VERSION
=0.9.0
22211 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22212 echo "$as_me:$LINENO: checking for pangox" >&5
22213 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22215 if $PKG_CONFIG --exists "pangox" ; then
22216 echo "$as_me:$LINENO: result: yes" >&5
22217 echo "${ECHO_T}yes" >&6
22220 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22221 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22222 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22223 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22224 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22226 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22227 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22228 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22229 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22230 echo "${ECHO_T}$PANGOX_LIBS" >&6
22234 ## If we have a custom action on failure, don't print errors, but
22235 ## do set a variable so people can do so.
22236 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22243 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22244 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22248 if test $succeeded = yes; then
22250 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22251 LIBS
="$LIBS $PANGOX_LIBS"
22255 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22256 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22257 { (exit 1); exit 1; }; }
22265 if test -z "$PKG_CONFIG"; then
22266 # Extract the first word of "pkg-config", so it can be a program name with args.
22267 set dummy pkg
-config; ac_word
=$2
22268 echo "$as_me:$LINENO: checking for $ac_word" >&5
22269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22270 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 case $PKG_CONFIG in
22275 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22279 for as_dir
in $PATH
22282 test -z "$as_dir" && as_dir
=.
22283 for ac_exec_ext
in '' $ac_executable_extensions; do
22284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22285 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22292 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22296 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22298 if test -n "$PKG_CONFIG"; then
22299 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22300 echo "${ECHO_T}$PKG_CONFIG" >&6
22302 echo "$as_me:$LINENO: result: no" >&5
22303 echo "${ECHO_T}no" >&6
22308 if test "$PKG_CONFIG" = "no" ; then
22309 echo "*** The pkg-config script could not be found. Make sure it is"
22310 echo "*** in your path, or set the PKG_CONFIG environment variable"
22311 echo "*** to the full path to pkg-config."
22312 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22314 PKG_CONFIG_MIN_VERSION
=0.9.0
22315 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22316 echo "$as_me:$LINENO: checking for pangoft2" >&5
22317 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22319 if $PKG_CONFIG --exists "pangoft2" ; then
22320 echo "$as_me:$LINENO: result: yes" >&5
22321 echo "${ECHO_T}yes" >&6
22324 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22325 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22326 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22327 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22328 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22330 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22331 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22332 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22333 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22334 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22338 ## If we have a custom action on failure, don't print errors, but
22339 ## do set a variable so people can do so.
22340 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22347 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22348 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22352 if test $succeeded = yes; then
22354 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22355 LIBS
="$LIBS $PANGOFT2_LIBS"
22359 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22360 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22361 wxUSE_PRINTING_ARCHITECTURE
="no"
22369 if test -z "$PKG_CONFIG"; then
22370 # Extract the first word of "pkg-config", so it can be a program name with args.
22371 set dummy pkg
-config; ac_word
=$2
22372 echo "$as_me:$LINENO: checking for $ac_word" >&5
22373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22377 case $PKG_CONFIG in
22379 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22383 for as_dir
in $PATH
22386 test -z "$as_dir" && as_dir
=.
22387 for ac_exec_ext
in '' $ac_executable_extensions; do
22388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22389 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22400 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22402 if test -n "$PKG_CONFIG"; then
22403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22404 echo "${ECHO_T}$PKG_CONFIG" >&6
22406 echo "$as_me:$LINENO: result: no" >&5
22407 echo "${ECHO_T}no" >&6
22412 if test "$PKG_CONFIG" = "no" ; then
22413 echo "*** The pkg-config script could not be found. Make sure it is"
22414 echo "*** in your path, or set the PKG_CONFIG environment variable"
22415 echo "*** to the full path to pkg-config."
22416 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22418 PKG_CONFIG_MIN_VERSION
=0.9.0
22419 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22420 echo "$as_me:$LINENO: checking for pangoxft" >&5
22421 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22423 if $PKG_CONFIG --exists "pangoxft" ; then
22424 echo "$as_me:$LINENO: result: yes" >&5
22425 echo "${ECHO_T}yes" >&6
22428 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22429 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22430 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22431 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22432 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22434 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22435 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22436 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22437 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22438 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22442 ## If we have a custom action on failure, don't print errors, but
22443 ## do set a variable so people can do so.
22444 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22451 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22452 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22456 if test $succeeded = yes; then
22458 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22459 LIBS
="$LIBS $PANGOXFT_LIBS"
22463 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22464 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22471 wxUSE_UNIVERSAL
="yes"
22473 if test "$wxUSE_NANOX" = "yes"; then
22474 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22475 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"
22476 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22478 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22481 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22486 if test "$wxUSE_MOTIF" = 1; then
22487 if test "$no_x" = yes; then
22488 # Not all programs may use this symbol, but it does not hurt to define it.
22490 cat >>confdefs.h
<<\_ACEOF
22491 #define X_DISPLAY_MISSING 1
22494 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22496 if test -n "$x_includes"; then
22497 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22500 # It would also be nice to do this for all -L options, not just this one.
22501 if test -n "$x_libraries"; then
22502 X_LIBS
="$X_LIBS -L$x_libraries"
22503 # For Solaris; some versions of Sun CC require a space after -R and
22504 # others require no space. Words are not sufficient . . . .
22505 case `(uname -sr) 2>/dev/null` in
22507 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22508 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22509 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22510 cat >conftest.
$ac_ext <<_ACEOF
22511 #line $LINENO "configure"
22514 cat confdefs.h
>>conftest.
$ac_ext
22515 cat >>conftest.
$ac_ext <<_ACEOF
22516 /* end confdefs.h. */
22526 rm -f conftest.
$ac_objext conftest
$ac_exeext
22527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22528 (eval $ac_link) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try
='test -s conftest$ac_exeext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.
$ac_ext >&5
22545 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22546 if test $ac_R_nospace = yes; then
22547 echo "$as_me:$LINENO: result: no" >&5
22548 echo "${ECHO_T}no" >&6
22549 X_LIBS
="$X_LIBS -R$x_libraries"
22551 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22552 cat >conftest.
$ac_ext <<_ACEOF
22553 #line $LINENO "configure"
22556 cat confdefs.h
>>conftest.
$ac_ext
22557 cat >>conftest.
$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22568 rm -f conftest.
$ac_objext conftest
$ac_exeext
22569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22570 (eval $ac_link) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try
='test -s conftest$ac_exeext'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; }; then
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.
$ac_ext >&5
22587 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22588 if test $ac_R_space = yes; then
22589 echo "$as_me:$LINENO: result: yes" >&5
22590 echo "${ECHO_T}yes" >&6
22591 X_LIBS
="$X_LIBS -R $x_libraries"
22593 echo "$as_me:$LINENO: result: neither works" >&5
22594 echo "${ECHO_T}neither works" >&6
22597 LIBS
=$ac_xsave_LIBS
22601 # Check for system-dependent libraries X programs must link with.
22602 # Do this before checking for the system-independent R6 libraries
22603 # (-lICE), since we may need -lsocket or whatever for X linking.
22605 if test "$ISC" = yes; then
22606 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22608 # Martyn Johnson says this is needed for Ultrix, if the X
22609 # libraries were built with DECnet support. And Karl Berry says
22610 # the Alpha needs dnet_stub (dnet does not exist).
22611 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22612 cat >conftest.
$ac_ext <<_ACEOF
22613 #line $LINENO "configure"
22616 cat confdefs.h
>>conftest.
$ac_ext
22617 cat >>conftest.
$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22620 /* Override any gcc2 internal prototype to avoid an error. */
22624 /* We use char because int might match the return type of a gcc2
22625 builtin and then its argument prototype would still apply. */
22626 char XOpenDisplay ();
22635 rm -f conftest.
$ac_objext conftest
$ac_exeext
22636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22637 (eval $ac_link) 2>&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try
='test -s conftest$ac_exeext'
22642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643 (eval $ac_try) 2>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); }; }; then
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.
$ac_ext >&5
22652 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22653 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22654 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 ac_check_lib_save_LIBS
=$LIBS
22658 LIBS
="-ldnet $LIBS"
22659 cat >conftest.
$ac_ext <<_ACEOF
22660 #line $LINENO "configure"
22663 cat confdefs.h
>>conftest.
$ac_ext
22664 cat >>conftest.
$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22667 /* Override any gcc2 internal prototype to avoid an error. */
22671 /* We use char because int might match the return type of a gcc2
22672 builtin and then its argument prototype would still apply. */
22682 rm -f conftest.
$ac_objext conftest
$ac_exeext
22683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22684 (eval $ac_link) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); } &&
22688 { ac_try
='test -s conftest$ac_exeext'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; }; then
22694 ac_cv_lib_dnet_dnet_ntoa
=yes
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22699 ac_cv_lib_dnet_dnet_ntoa
=no
22701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22702 LIBS
=$ac_check_lib_save_LIBS
22704 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22705 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22706 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22707 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22710 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22711 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22712 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22713 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 ac_check_lib_save_LIBS
=$LIBS
22717 LIBS
="-ldnet_stub $LIBS"
22718 cat >conftest.
$ac_ext <<_ACEOF
22719 #line $LINENO "configure"
22722 cat confdefs.h
>>conftest.
$ac_ext
22723 cat >>conftest.
$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22726 /* Override any gcc2 internal prototype to avoid an error. */
22730 /* We use char because int might match the return type of a gcc2
22731 builtin and then its argument prototype would still apply. */
22741 rm -f conftest.
$ac_objext conftest
$ac_exeext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22743 (eval $ac_link) 2>&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } &&
22747 { ac_try
='test -s conftest$ac_exeext'
22748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749 (eval $ac_try) 2>&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); }; }; then
22753 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.
$ac_ext >&5
22758 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22760 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22761 LIBS
=$ac_check_lib_save_LIBS
22763 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22764 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22765 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22766 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22771 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22772 LIBS
="$ac_xsave_LIBS"
22774 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22775 # to get the SysV transport functions.
22776 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22778 # The nsl library prevents programs from opening the X display
22779 # on Irix 5.2, according to T.E. Dickey.
22780 # The functions gethostbyname, getservbyname, and inet_addr are
22781 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22782 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22783 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22784 if test "${ac_cv_func_gethostbyname+set}" = set; then
22785 echo $ECHO_N "(cached) $ECHO_C" >&6
22787 cat >conftest.
$ac_ext <<_ACEOF
22788 #line $LINENO "configure"
22791 cat confdefs.h
>>conftest.
$ac_ext
22792 cat >>conftest.
$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 /* System header to define __stub macros and hopefully few prototypes,
22795 which can conflict with char gethostbyname (); below.
22796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22797 <limits.h> exists even on freestanding compilers. */
22799 # include <limits.h>
22801 # include <assert.h>
22803 /* Override any gcc2 internal prototype to avoid an error. */
22808 /* We use char because int might match the return type of a gcc2
22809 builtin and then its argument prototype would still apply. */
22810 char gethostbyname ();
22811 /* The GNU C library defines this for functions which it implements
22812 to always fail with ENOSYS. Some functions are actually named
22813 something starting with __ and the normal name is an alias. */
22814 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22817 char (*f) () = gethostbyname;
22826 return f != gethostbyname;
22831 rm -f conftest.
$ac_objext conftest
$ac_exeext
22832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22833 (eval $ac_link) 2>&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } &&
22837 { ac_try
='test -s conftest$ac_exeext'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; }; then
22843 ac_cv_func_gethostbyname
=yes
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.
$ac_ext >&5
22848 ac_cv_func_gethostbyname
=no
22850 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22852 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22853 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22855 if test $ac_cv_func_gethostbyname = no
; then
22856 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22857 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22858 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22859 echo $ECHO_N "(cached) $ECHO_C" >&6
22861 ac_check_lib_save_LIBS
=$LIBS
22863 cat >conftest.
$ac_ext <<_ACEOF
22864 #line $LINENO "configure"
22867 cat confdefs.h
>>conftest.
$ac_ext
22868 cat >>conftest.
$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22871 /* Override any gcc2 internal prototype to avoid an error. */
22875 /* We use char because int might match the return type of a gcc2
22876 builtin and then its argument prototype would still apply. */
22877 char gethostbyname ();
22886 rm -f conftest.
$ac_objext conftest
$ac_exeext
22887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22888 (eval $ac_link) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); } &&
22892 { ac_try
='test -s conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_lib_nsl_gethostbyname
=yes
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.
$ac_ext >&5
22903 ac_cv_lib_nsl_gethostbyname
=no
22905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22906 LIBS
=$ac_check_lib_save_LIBS
22908 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22909 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22910 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22914 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22915 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22916 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22917 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22920 ac_check_lib_save_LIBS
=$LIBS
22922 cat >conftest.
$ac_ext <<_ACEOF
22923 #line $LINENO "configure"
22926 cat confdefs.h
>>conftest.
$ac_ext
22927 cat >>conftest.
$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22930 /* Override any gcc2 internal prototype to avoid an error. */
22934 /* We use char because int might match the return type of a gcc2
22935 builtin and then its argument prototype would still apply. */
22936 char gethostbyname ();
22945 rm -f conftest.
$ac_objext conftest
$ac_exeext
22946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22947 (eval $ac_link) 2>&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } &&
22951 { ac_try
='test -s conftest$ac_exeext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 ac_cv_lib_bsd_gethostbyname
=yes
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.
$ac_ext >&5
22962 ac_cv_lib_bsd_gethostbyname
=no
22964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22965 LIBS
=$ac_check_lib_save_LIBS
22967 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22968 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22969 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22970 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22976 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22977 # socket/setsockopt and other routines are undefined under SCO ODT
22978 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22979 # on later versions), says Simon Leinen: it contains gethostby*
22980 # variants that don't use the name server (or something). -lsocket
22981 # must be given before -lnsl if both are needed. We assume that
22982 # if connect needs -lnsl, so does gethostbyname.
22983 echo "$as_me:$LINENO: checking for connect" >&5
22984 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22985 if test "${ac_cv_func_connect+set}" = set; then
22986 echo $ECHO_N "(cached) $ECHO_C" >&6
22988 cat >conftest.
$ac_ext <<_ACEOF
22989 #line $LINENO "configure"
22992 cat confdefs.h
>>conftest.
$ac_ext
22993 cat >>conftest.
$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22995 /* System header to define __stub macros and hopefully few prototypes,
22996 which can conflict with char connect (); below.
22997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22998 <limits.h> exists even on freestanding compilers. */
23000 # include <limits.h>
23002 # include <assert.h>
23004 /* Override any gcc2 internal prototype to avoid an error. */
23009 /* We use char because int might match the return type of a gcc2
23010 builtin and then its argument prototype would still apply. */
23012 /* The GNU C library defines this for functions which it implements
23013 to always fail with ENOSYS. Some functions are actually named
23014 something starting with __ and the normal name is an alias. */
23015 #if defined (__stub_connect) || defined (__stub___connect)
23018 char (*f) () = connect;
23027 return f != connect;
23032 rm -f conftest.
$ac_objext conftest
$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } &&
23038 { ac_try
='test -s conftest$ac_exeext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_func_connect
=yes
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.
$ac_ext >&5
23049 ac_cv_func_connect
=no
23051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23053 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23054 echo "${ECHO_T}$ac_cv_func_connect" >&6
23056 if test $ac_cv_func_connect = no
; then
23057 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23058 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23059 if test "${ac_cv_lib_socket_connect+set}" = set; then
23060 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 ac_check_lib_save_LIBS
=$LIBS
23063 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23064 cat >conftest.
$ac_ext <<_ACEOF
23065 #line $LINENO "configure"
23068 cat confdefs.h
>>conftest.
$ac_ext
23069 cat >>conftest.
$ac_ext <<_ACEOF
23070 /* end confdefs.h. */
23072 /* Override any gcc2 internal prototype to avoid an error. */
23076 /* We use char because int might match the return type of a gcc2
23077 builtin and then its argument prototype would still apply. */
23087 rm -f conftest.
$ac_objext conftest
$ac_exeext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23089 (eval $ac_link) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } &&
23093 { ac_try
='test -s conftest$ac_exeext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 ac_cv_lib_socket_connect
=yes
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 ac_cv_lib_socket_connect
=no
23106 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23107 LIBS
=$ac_check_lib_save_LIBS
23109 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23110 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23111 if test $ac_cv_lib_socket_connect = yes; then
23112 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23117 # Guillermo Gomez says -lposix is necessary on A/UX.
23118 echo "$as_me:$LINENO: checking for remove" >&5
23119 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23120 if test "${ac_cv_func_remove+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23123 cat >conftest.
$ac_ext <<_ACEOF
23124 #line $LINENO "configure"
23127 cat confdefs.h
>>conftest.
$ac_ext
23128 cat >>conftest.
$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 /* System header to define __stub macros and hopefully few prototypes,
23131 which can conflict with char remove (); below.
23132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23133 <limits.h> exists even on freestanding compilers. */
23135 # include <limits.h>
23137 # include <assert.h>
23139 /* Override any gcc2 internal prototype to avoid an error. */
23144 /* We use char because int might match the return type of a gcc2
23145 builtin and then its argument prototype would still apply. */
23147 /* The GNU C library defines this for functions which it implements
23148 to always fail with ENOSYS. Some functions are actually named
23149 something starting with __ and the normal name is an alias. */
23150 #if defined (__stub_remove) || defined (__stub___remove)
23153 char (*f) () = remove;
23162 return f != remove;
23167 rm -f conftest.
$ac_objext conftest
$ac_exeext
23168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23169 (eval $ac_link) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } &&
23173 { ac_try
='test -s conftest$ac_exeext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179 ac_cv_func_remove
=yes
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.
$ac_ext >&5
23184 ac_cv_func_remove
=no
23186 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23188 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23189 echo "${ECHO_T}$ac_cv_func_remove" >&6
23191 if test $ac_cv_func_remove = no
; then
23192 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23193 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23194 if test "${ac_cv_lib_posix_remove+set}" = set; then
23195 echo $ECHO_N "(cached) $ECHO_C" >&6
23197 ac_check_lib_save_LIBS
=$LIBS
23198 LIBS
="-lposix $LIBS"
23199 cat >conftest.
$ac_ext <<_ACEOF
23200 #line $LINENO "configure"
23203 cat confdefs.h
>>conftest.
$ac_ext
23204 cat >>conftest.
$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23207 /* Override any gcc2 internal prototype to avoid an error. */
23211 /* We use char because int might match the return type of a gcc2
23212 builtin and then its argument prototype would still apply. */
23222 rm -f conftest.
$ac_objext conftest
$ac_exeext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23224 (eval $ac_link) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try
='test -s conftest$ac_exeext'
23229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23230 (eval $ac_try) 2>&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 ac_cv_lib_posix_remove
=yes
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 ac_cv_lib_posix_remove
=no
23241 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23242 LIBS
=$ac_check_lib_save_LIBS
23244 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23245 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23246 if test $ac_cv_lib_posix_remove = yes; then
23247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23252 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23253 echo "$as_me:$LINENO: checking for shmat" >&5
23254 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23255 if test "${ac_cv_func_shmat+set}" = set; then
23256 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 cat >conftest.
$ac_ext <<_ACEOF
23259 #line $LINENO "configure"
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 /* System header to define __stub macros and hopefully few prototypes,
23266 which can conflict with char shmat (); below.
23267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23268 <limits.h> exists even on freestanding compilers. */
23270 # include <limits.h>
23272 # include <assert.h>
23274 /* Override any gcc2 internal prototype to avoid an error. */
23279 /* We use char because int might match the return type of a gcc2
23280 builtin and then its argument prototype would still apply. */
23282 /* The GNU C library defines this for functions which it implements
23283 to always fail with ENOSYS. Some functions are actually named
23284 something starting with __ and the normal name is an alias. */
23285 #if defined (__stub_shmat) || defined (__stub___shmat)
23288 char (*f) () = shmat;
23302 rm -f conftest.
$ac_objext conftest
$ac_exeext
23303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23304 (eval $ac_link) 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } &&
23308 { ac_try
='test -s conftest$ac_exeext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 ac_cv_func_shmat
=yes
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.
$ac_ext >&5
23319 ac_cv_func_shmat
=no
23321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23323 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23324 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23326 if test $ac_cv_func_shmat = no
; then
23327 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23328 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23329 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23330 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 ac_check_lib_save_LIBS
=$LIBS
23334 cat >conftest.
$ac_ext <<_ACEOF
23335 #line $LINENO "configure"
23338 cat confdefs.h
>>conftest.
$ac_ext
23339 cat >>conftest.
$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23342 /* Override any gcc2 internal prototype to avoid an error. */
23346 /* We use char because int might match the return type of a gcc2
23347 builtin and then its argument prototype would still apply. */
23357 rm -f conftest.
$ac_objext conftest
$ac_exeext
23358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23359 (eval $ac_link) 2>&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } &&
23363 { ac_try
='test -s conftest$ac_exeext'
23364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23365 (eval $ac_try) 2>&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); }; }; then
23369 ac_cv_lib_ipc_shmat
=yes
23371 echo "$as_me: failed program was:" >&5
23372 sed 's/^/| /' conftest.
$ac_ext >&5
23374 ac_cv_lib_ipc_shmat
=no
23376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23377 LIBS
=$ac_check_lib_save_LIBS
23379 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23380 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23381 if test $ac_cv_lib_ipc_shmat = yes; then
23382 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23388 # Check for libraries that X11R6 Xt/Xaw programs need.
23389 ac_save_LDFLAGS
=$LDFLAGS
23390 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23391 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23392 # check for ICE first), but we must link in the order -lSM -lICE or
23393 # we get undefined symbols. So assume we have SM if we have ICE.
23394 # These have to be linked with before -lX11, unlike the other
23395 # libraries we check for below, so use a different variable.
23396 # John Interrante, Karl Berry
23397 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23398 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23399 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 ac_check_lib_save_LIBS
=$LIBS
23403 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23404 cat >conftest.
$ac_ext <<_ACEOF
23405 #line $LINENO "configure"
23408 cat confdefs.h
>>conftest.
$ac_ext
23409 cat >>conftest.
$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23412 /* Override any gcc2 internal prototype to avoid an error. */
23416 /* We use char because int might match the return type of a gcc2
23417 builtin and then its argument prototype would still apply. */
23418 char IceConnectionNumber ();
23422 IceConnectionNumber ();
23427 rm -f conftest.
$ac_objext conftest
$ac_exeext
23428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23429 (eval $ac_link) 2>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try
='test -s conftest$ac_exeext'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 ac_cv_lib_ICE_IceConnectionNumber
=yes
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.
$ac_ext >&5
23444 ac_cv_lib_ICE_IceConnectionNumber
=no
23446 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23447 LIBS
=$ac_check_lib_save_LIBS
23449 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23450 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23451 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23452 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23455 LDFLAGS
=$ac_save_LDFLAGS
23460 if test "$no_x" = "yes"; then
23461 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23462 echo "$as_me: error: X11 not found" >&2;}
23463 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23466 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23467 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23468 AFMINSTALL
=afminstall
23469 COMPILED_X_PROGRAM
=0
23471 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23472 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23475 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23477 if test -f "$ac_dir/Xm/Xm.h"; then
23478 ac_find_includes
=$ac_dir
23483 if test "$ac_find_includes" != "" ; then
23484 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23485 echo "${ECHO_T}found in $ac_find_includes" >&6
23487 if test "x$ac_find_includes" = "x/usr/include"; then
23488 ac_path_to_include
=""
23490 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23492 if test $result = 0; then
23493 ac_path_to_include
=""
23495 ac_path_to_include
=" -I$ac_find_includes"
23499 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23501 cat >conftest.
$ac_ext <<_ACEOF
23502 #line $LINENO "configure"
23505 cat confdefs.h
>>conftest.
$ac_ext
23506 cat >>conftest.
$ac_ext <<_ACEOF
23507 /* end confdefs.h. */
23516 version = xmUseVersion;
23522 rm -f conftest.
$ac_objext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23524 (eval $ac_compile) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try
='test -s conftest.$ac_objext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23535 echo "$as_me:$LINENO: result: found in default search path" >&5
23536 echo "${ECHO_T}found in default search path" >&6
23537 COMPILED_X_PROGRAM
=1
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.
$ac_ext >&5
23544 echo "$as_me:$LINENO: result: no" >&5
23545 echo "${ECHO_T}no" >&6
23546 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23547 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23548 { (exit 1); exit 1; }; }
23552 rm -f conftest.
$ac_objext conftest.
$ac_ext
23555 if test "$COMPILED_X_PROGRAM" = 0; then
23556 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23557 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23560 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23562 for ac_extension
in a so sl dylib
; do
23563 if test -f "$ac_dir/libXm.$ac_extension"; then
23564 ac_find_libraries
=$ac_dir
23570 if test "$ac_find_libraries" != "" ; then
23571 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23572 echo "${ECHO_T}found at $ac_find_libraries" >&6
23575 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23577 if test $result = 0; then
23580 ac_path_to_link
=" -L$ac_find_libraries"
23583 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23585 save_CFLAGS
=$CFLAGS
23586 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23588 cat >conftest.
$ac_ext <<_ACEOF
23589 #line $LINENO "configure"
23592 cat confdefs.h
>>conftest.
$ac_ext
23593 cat >>conftest.
$ac_ext <<_ACEOF
23594 /* end confdefs.h. */
23603 version = xmUseVersion;
23609 rm -f conftest.
$ac_objext
23610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23611 (eval $ac_compile) 2>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try
='test -s conftest.$ac_objext'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; }; then
23622 echo "$as_me:$LINENO: result: found in default search path" >&5
23623 echo "${ECHO_T}found in default search path" >&6
23624 COMPILED_X_PROGRAM
=1
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.
$ac_ext >&5
23631 echo "$as_me:$LINENO: result: no" >&5
23632 echo "${ECHO_T}no" >&6
23633 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23634 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23635 { (exit 1); exit 1; }; }
23639 rm -f conftest.
$ac_objext conftest.
$ac_ext
23641 CFLAGS
=$save_CFLAGS
23646 echo "$as_me:$LINENO: checking for Xpm library" >&5
23647 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23650 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23652 for ac_extension
in a so sl dylib
; do
23653 if test -f "$ac_dir/libXpm.$ac_extension"; then
23654 ac_find_libraries
=$ac_dir
23660 if test "$ac_find_libraries" != "" ; then
23662 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23664 if test $result = 0; then
23667 ac_path_to_link
=" -L$ac_find_libraries"
23670 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23673 cat >>confdefs.h
<<\_ACEOF
23674 #define wxHAVE_LIB_XPM 1
23677 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23678 echo "${ECHO_T}found at $ac_find_libraries" >&6
23680 save_CFLAGS
=$CFLAGS
23681 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23683 cat >conftest.
$ac_ext <<_ACEOF
23684 #line $LINENO "configure"
23687 cat confdefs.h
>>conftest.
$ac_ext
23688 cat >>conftest.
$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23691 #include <X11/xpm.h>
23698 version = XpmLibraryVersion();
23704 rm -f conftest.
$ac_objext
23705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23706 (eval $ac_compile) 2>&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); } &&
23710 { ac_try
='test -s conftest.$ac_objext'
23711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23712 (eval $ac_try) 2>&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); }; }; then
23718 cat >>confdefs.h
<<\_ACEOF
23719 #define wxHAVE_LIB_XPM 1
23722 echo "$as_me:$LINENO: result: found in default search path" >&5
23723 echo "${ECHO_T}found in default search path" >&6
23724 COMPILED_X_PROGRAM
=0
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23731 echo "$as_me:$LINENO: result: no" >&5
23732 echo "${ECHO_T}no" >&6
23733 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23734 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23738 rm -f conftest.
$ac_objext conftest.
$ac_ext
23740 CFLAGS
=$save_CFLAGS
23743 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23744 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23748 for libp
in "" " -lXp"; do
23749 if test "$libs_found" = "0"; then
23750 for libsm_ice
in " -lSM -lICE"; do
23751 if test "$libs_found" = "0"; then
23753 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23754 save_CFLAGS
=$CFLAGS
23755 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23757 cat >conftest.
$ac_ext <<_ACEOF
23758 #line $LINENO "configure"
23761 cat confdefs.h
>>conftest.
$ac_ext
23762 cat >>conftest.
$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23766 #include <Xm/List.h>
23772 XmString string = NULL;
23775 XmListAddItem(w, string, position);
23781 rm -f conftest.
$ac_objext conftest
$ac_exeext
23782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23783 (eval $ac_link) 2>&5
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); } &&
23787 { ac_try
='test -s conftest$ac_exeext'
23788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23789 (eval $ac_try) 2>&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); }; }; then
23795 libsm_ice_link
="$libsm_ice"
23796 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23797 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23801 echo "$as_me: failed program was:" >&5
23802 sed 's/^/| /' conftest.
$ac_ext >&5
23807 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23810 CFLAGS
=$save_CFLAGS
23816 if test "$libs_found" = "0"; then
23817 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23818 echo "${ECHO_T}can't find the right libraries" >&6
23819 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23820 echo "$as_me: error: can't link a simple motif program" >&2;}
23821 { (exit 1); exit 1; }; }
23824 save_CFLAGS
=$CFLAGS
23825 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23826 echo "$as_me:$LINENO: checking for Motif 2" >&5
23827 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23828 cat >conftest.
$ac_ext <<_ACEOF
23829 #line $LINENO "configure"
23832 cat confdefs.h
>>conftest.
$ac_ext
23833 cat >>conftest.
$ac_ext <<_ACEOF
23834 /* end confdefs.h. */
23842 #if XmVersion < 2000
23843 #error "Not Motif 2"
23850 rm -f conftest.
$ac_objext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23852 (eval $ac_compile) 2>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); } &&
23856 { ac_try
='test -s conftest.$ac_objext'
23857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 (eval $ac_try) 2>&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); }; }; then
23863 cat >>confdefs.h
<<\_ACEOF
23864 #define __WXMOTIF20__ 1
23867 echo "$as_me:$LINENO: result: found" >&5
23868 echo "${ECHO_T}found" >&6
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.
$ac_ext >&5
23875 cat >>confdefs.h
<<\_ACEOF
23876 #define __WXMOTIF20__ 0
23879 echo "$as_me:$LINENO: result: not found" >&5
23880 echo "${ECHO_T}not found" >&6
23883 rm -f conftest.
$ac_objext conftest.
$ac_ext
23884 CFLAGS
=$save_CFLAGS
23886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23887 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23893 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23894 test "$wxHAVE_XEXT_LIB" = 1; then
23895 save_CFLAGS
="$CFLAGS"
23896 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23898 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23899 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23900 cat >conftest.
$ac_ext <<_ACEOF
23901 #line $LINENO "configure"
23904 cat confdefs.h
>>conftest.
$ac_ext
23905 cat >>conftest.
$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23908 #include <X11/Xlib.h>
23909 #include <X11/extensions/shape.h>
23915 int dummy1, dummy2;
23916 XShapeQueryExtension((Display*)NULL,
23917 (int*)NULL, (int*)NULL);
23923 rm -f conftest.
$ac_objext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23925 (eval $ac_compile) 2>&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } &&
23929 { ac_try
='test -s conftest.$ac_objext'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; }; then
23936 cat >>confdefs.h
<<\_ACEOF
23937 #define HAVE_XSHAPE 1
23940 echo "$as_me:$LINENO: result: found" >&5
23941 echo "${ECHO_T}found" >&6
23944 echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.
$ac_ext >&5
23948 echo "$as_me:$LINENO: result: not found" >&5
23949 echo "${ECHO_T}not found" >&6
23952 rm -f conftest.
$ac_objext conftest.
$ac_ext
23953 CFLAGS
="$save_CFLAGS"
23956 if test "$wxUSE_MAC" = 1; then
23957 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23959 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23964 if test "$wxUSE_COCOA" = 1; then
23965 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
23970 if test "$wxUSE_PM" = 1; then
23973 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23974 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23978 if test "$TOOLKIT" = "PM" ; then
23981 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23984 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23986 if test "$wxUSE_UNIVERSAL" = "yes"; then
23987 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23989 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23990 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23992 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23993 if test "$wxUSE_X11" = 1; then
23994 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23996 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23998 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24001 ALL_OBJECTS
="\$(GUIOBJS)"
24002 ALL_SOURCES
="\$(ALL_SOURCES)"
24003 ALL_HEADERS
="\$(ALL_HEADERS)"
24006 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24008 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24009 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24012 if test "$wxUSE_HTML" = "yes"; then
24013 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24016 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24017 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24019 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24020 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24022 if test "$wxUSE_LIBPNG" = "builtin" ; then
24023 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24026 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24027 DISTDIR
="wx\$(TOOLKIT)"
24033 if test "$USE_WIN32" = 1 ; then
24034 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24035 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24039 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24040 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24043 ALL_SOURCES
="\$(ALL_SOURCES)"
24044 ALL_HEADERS
="\$(ALL_HEADERS)"
24046 PORT_FILES
="\${top_srcdir}/src/files.lst"
24048 GUIDIST
="BASE_DIST"
24058 if test "$TOOLKIT" != "MSW" ; then
24060 if test "$wxUSE_ODBC" != "no" ; then
24061 cat >>confdefs.h
<<\_ACEOF
24062 #define wxUSE_ODBC 1
24065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24067 WXODBCFLAG
="-D_IODBC_"
24070 if test "$wxUSE_ODBC" = "sys" ; then
24072 if test "${ac_cv_header_sql_h+set}" = set; then
24073 echo "$as_me:$LINENO: checking for sql.h" >&5
24074 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24075 if test "${ac_cv_header_sql_h+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24078 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24079 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24081 # Is the header compilable?
24082 echo "$as_me:$LINENO: checking sql.h usability" >&5
24083 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24084 cat >conftest.
$ac_ext <<_ACEOF
24085 #line $LINENO "configure"
24088 cat confdefs.h
>>conftest.
$ac_ext
24089 cat >>conftest.
$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 $ac_includes_default
24094 rm -f conftest.
$ac_objext
24095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24096 (eval $ac_compile) 2>&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); } &&
24100 { ac_try
='test -s conftest.$ac_objext'
24101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24102 (eval $ac_try) 2>&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); }; }; then
24106 ac_header_compiler
=yes
24108 echo "$as_me: failed program was:" >&5
24109 sed 's/^/| /' conftest.
$ac_ext >&5
24111 ac_header_compiler
=no
24113 rm -f conftest.
$ac_objext conftest.
$ac_ext
24114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24115 echo "${ECHO_T}$ac_header_compiler" >&6
24117 # Is the header present?
24118 echo "$as_me:$LINENO: checking sql.h presence" >&5
24119 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24120 cat >conftest.
$ac_ext <<_ACEOF
24121 #line $LINENO "configure"
24124 cat confdefs.h
>>conftest.
$ac_ext
24125 cat >>conftest.
$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24132 grep -v '^ *+' conftest.er1
>conftest.err
24134 cat conftest.err
>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } >/dev
/null
; then
24137 if test -s conftest.err
; then
24138 ac_cpp_err
=$ac_c_preproc_warn_flag
24145 if test -z "$ac_cpp_err"; then
24146 ac_header_preproc
=yes
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.
$ac_ext >&5
24151 ac_header_preproc
=no
24153 rm -f conftest.err conftest.
$ac_ext
24154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24155 echo "${ECHO_T}$ac_header_preproc" >&6
24157 # So? What about this header?
24158 case $ac_header_compiler:$ac_header_preproc in
24160 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24161 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24162 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24163 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24166 ## ------------------------------------ ##
24167 ## Report this to bug-autoconf@gnu.org. ##
24168 ## ------------------------------------ ##
24171 sed "s/^/$as_me: WARNING: /" >&2
24174 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24175 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24176 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24177 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24178 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24179 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24182 ## ------------------------------------ ##
24183 ## Report this to bug-autoconf@gnu.org. ##
24184 ## ------------------------------------ ##
24187 sed "s/^/$as_me: WARNING: /" >&2
24190 echo "$as_me:$LINENO: checking for sql.h" >&5
24191 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24192 if test "${ac_cv_header_sql_h+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_cv_header_sql_h
=$ac_header_preproc
24197 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24198 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24203 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24204 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24205 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24206 echo $ECHO_N "(cached) $ECHO_C" >&6
24208 ac_func_search_save_LIBS
=$LIBS
24209 ac_cv_search_SQLAllocEnv
=no
24210 cat >conftest.
$ac_ext <<_ACEOF
24211 #line $LINENO "configure"
24214 cat confdefs.h
>>conftest.
$ac_ext
24215 cat >>conftest.
$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24218 /* Override any gcc2 internal prototype to avoid an error. */
24222 /* We use char because int might match the return type of a gcc2
24223 builtin and then its argument prototype would still apply. */
24224 char SQLAllocEnv ();
24233 rm -f conftest.
$ac_objext conftest
$ac_exeext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24235 (eval $ac_link) 2>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); } &&
24239 { ac_try
='test -s conftest$ac_exeext'
24240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241 (eval $ac_try) 2>&5
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); }; }; then
24245 ac_cv_search_SQLAllocEnv
="none required"
24247 echo "$as_me: failed program was:" >&5
24248 sed 's/^/| /' conftest.
$ac_ext >&5
24251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24252 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24253 for ac_lib
in iodbc unixodbc odbc
; do
24254 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24255 cat >conftest.
$ac_ext <<_ACEOF
24256 #line $LINENO "configure"
24259 cat confdefs.h
>>conftest.
$ac_ext
24260 cat >>conftest.
$ac_ext <<_ACEOF
24261 /* end confdefs.h. */
24263 /* Override any gcc2 internal prototype to avoid an error. */
24267 /* We use char because int might match the return type of a gcc2
24268 builtin and then its argument prototype would still apply. */
24269 char SQLAllocEnv ();
24278 rm -f conftest.
$ac_objext conftest
$ac_exeext
24279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24280 (eval $ac_link) 2>&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try
='test -s conftest$ac_exeext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 ac_cv_search_SQLAllocEnv
="-l$ac_lib"
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
24300 LIBS
=$ac_func_search_save_LIBS
24302 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24303 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24304 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24305 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24309 wxUSE_ODBC
=builtin;
24310 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24311 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24316 if test "$wxUSE_ODBC" != "sys" ; then
24317 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24324 if test "$wxUSE_REGEX" = "builtin" ; then
24325 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24327 if test "$wxUSE_ZLIB" = "builtin" ; then
24328 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24332 if test "$wxUSE_OPENGL" = "yes"; then
24333 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24334 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24335 elif test "$wxUSE_MSW" = 1; then
24336 OPENGL_LIBS
="-lopengl32 -lglu32"
24341 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24343 if test -f "$ac_dir/GL/gl.h"; then
24344 ac_find_includes
=$ac_dir
24349 if test "$ac_find_includes" != "" ; then
24350 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24351 echo "${ECHO_T}found in $ac_find_includes" >&6
24354 if test "x$ac_find_includes" = "x/usr/include"; then
24355 ac_path_to_include
=""
24357 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24359 if test $result = 0; then
24360 ac_path_to_include
=""
24362 ac_path_to_include
=" -I$ac_find_includes"
24366 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24370 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24371 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24372 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24373 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24376 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24377 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24379 # Is the header compilable?
24380 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24381 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24382 cat >conftest.
$ac_ext <<_ACEOF
24383 #line $LINENO "configure"
24386 cat confdefs.h
>>conftest.
$ac_ext
24387 cat >>conftest.
$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24392 rm -f conftest.
$ac_objext
24393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24394 (eval $ac_compile) 2>&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } &&
24398 { ac_try
='test -s conftest.$ac_objext'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; }; then
24404 ac_header_compiler
=yes
24406 echo "$as_me: failed program was:" >&5
24407 sed 's/^/| /' conftest.
$ac_ext >&5
24409 ac_header_compiler
=no
24411 rm -f conftest.
$ac_objext conftest.
$ac_ext
24412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24413 echo "${ECHO_T}$ac_header_compiler" >&6
24415 # Is the header present?
24416 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24417 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24418 cat >conftest.
$ac_ext <<_ACEOF
24419 #line $LINENO "configure"
24422 cat confdefs.h
>>conftest.
$ac_ext
24423 cat >>conftest.
$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24430 grep -v '^ *+' conftest.er1
>conftest.err
24432 cat conftest.err
>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } >/dev
/null
; then
24435 if test -s conftest.err
; then
24436 ac_cpp_err
=$ac_c_preproc_warn_flag
24443 if test -z "$ac_cpp_err"; then
24444 ac_header_preproc
=yes
24446 echo "$as_me: failed program was:" >&5
24447 sed 's/^/| /' conftest.
$ac_ext >&5
24449 ac_header_preproc
=no
24451 rm -f conftest.err conftest.
$ac_ext
24452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24453 echo "${ECHO_T}$ac_header_preproc" >&6
24455 # So? What about this header?
24456 case $ac_header_compiler:$ac_header_preproc in
24458 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24459 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24460 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24461 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24464 ## ------------------------------------ ##
24465 ## Report this to bug-autoconf@gnu.org. ##
24466 ## ------------------------------------ ##
24469 sed "s/^/$as_me: WARNING: /" >&2
24472 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24473 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24474 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24475 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24476 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24477 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24480 ## ------------------------------------ ##
24481 ## Report this to bug-autoconf@gnu.org. ##
24482 ## ------------------------------------ ##
24485 sed "s/^/$as_me: WARNING: /" >&2
24488 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24489 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24490 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24491 echo $ECHO_N "(cached) $ECHO_C" >&6
24493 ac_cv_header_GL_gl_h
=$ac_header_preproc
24495 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24496 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24499 if test $ac_cv_header_GL_gl_h = yes; then
24503 echo "$as_me:$LINENO: checking for -lGL" >&5
24504 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24507 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24509 for ac_extension
in a so sl dylib
; do
24510 if test -f "$ac_dir/libGL.$ac_extension"; then
24511 ac_find_libraries
=$ac_dir
24517 if test "$ac_find_libraries" != "" ; then
24519 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24521 if test $result = 0; then
24524 ac_path_to_link
=" -L$ac_find_libraries"
24527 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24528 LDFLAGS_GL
="$ac_path_to_link"
24533 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24535 for ac_extension
in a so sl dylib
; do
24536 if test -f "$ac_dir/libGLU.$ac_extension"; then
24537 ac_find_libraries
=$ac_dir
24543 if test "$ac_find_libraries" != "" ; then
24545 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24547 if test $result = 0; then
24550 ac_path_to_link
=" -L$ac_find_libraries"
24553 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24554 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24555 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24559 OPENGL_LIBS
="-lGL -lGLU"
24560 echo "$as_me:$LINENO: result: yes" >&5
24561 echo "${ECHO_T}yes" >&6
24565 if "$found_gl" != 1; then
24566 echo "$as_me:$LINENO: result: no" >&5
24567 echo "${ECHO_T}no" >&6
24568 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24569 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24572 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24574 for ac_extension
in a so sl dylib
; do
24575 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24576 ac_find_libraries
=$ac_dir
24582 if test "$ac_find_libraries" != "" ; then
24584 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24586 if test $result = 0; then
24589 ac_path_to_link
=" -L$ac_find_libraries"
24592 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24593 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24594 echo "$as_me:$LINENO: result: yes" >&5
24595 echo "${ECHO_T}yes" >&6
24597 echo "$as_me:$LINENO: result: no" >&5
24598 echo "${ECHO_T}no" >&6
24606 if test "x$OPENGL_LIBS" = "x"; then
24607 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24608 echo "$as_me: error: OpenGL libraries not available" >&2;}
24609 { (exit 1); exit 1; }; }
24613 if test "$wxUSE_OPENGL" = "yes"; then
24614 cat >>confdefs.h
<<\_ACEOF
24615 #define wxUSE_OPENGL 1
24618 cat >>confdefs.h
<<\_ACEOF
24619 #define wxUSE_GLCANVAS 1
24622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
24626 if test -z "$TOOLKIT_VPATH" ; then
24627 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24630 if test -n "$TOOLKIT" ; then
24631 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24635 lib_unicode_suffix
=
24636 if test "$wxUSE_UNICODE" = "yes"; then
24637 lib_unicode_suffix
=u
24643 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24648 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24650 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24651 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24653 if test "$cross_compiling" = "yes"; then
24654 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24655 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24658 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24659 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24660 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24662 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24663 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24665 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24666 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24667 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24668 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24671 *-*-cygwin* | *-*-mingw32* )
24675 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24676 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24677 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24678 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
24679 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24681 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24682 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24688 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24689 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24691 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24692 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24693 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24694 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24696 if test "$wxUSE_MAC" = 1; then
24697 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24698 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24703 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
24704 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
24706 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
24707 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
24709 if test "$wxUSE_OPENGL" = "yes"; then
24710 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24711 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24716 if test "$wxUSE_SHARED" = "yes"; then
24718 *-pc-os2_emx | *-pc-os2-emx | \
24721 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24722 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24728 if test "$wxUSE_SHARED" = "yes"; then
24731 if test "$wxUSE_OPENGL" = "yes"; then
24732 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24733 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24735 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
24736 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24739 if test "$GCC" = "yes"; then
24745 found_versioning
=no
24748 if test $found_versioning = no
; then
24749 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24750 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24751 if test "${wx_cv_version_script+set}" = set; then
24752 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 echo "VER_1 { *; };" >conftest.sym
24756 echo "int main() { return 0; }" >conftest.cpp
24759 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24760 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; } ; then
24766 if test -s conftest.stderr
; then
24767 wx_cv_version_script
=no
24769 wx_cv_version_script
=yes
24772 wx_cv_version_script
=no
24774 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24777 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24778 echo "${ECHO_T}$wx_cv_version_script" >&6
24779 if test $wx_cv_version_script = yes ; then
24780 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
24785 SHARED_LD
="${CXX} -shared -o"
24789 if test "$GCC" = "yes"; then
24790 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
24792 LDFLAGS
="$LDFLAGS -L/usr/lib"
24794 SHARED_LD
="${CXX} -b -o"
24798 if test "$wxUSE_OPENGL" = "yes"; then
24799 WX_ALL_INSTALLED
="preinstall_gl"
24800 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24802 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24806 *-*-linux* | *-*-gnu* )
24807 if test "$GCC" != "yes"; then
24808 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24809 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24810 if test "${wx_cv_prog_icc+set}" = set; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 cat >conftest.
$ac_ext <<_ACEOF
24815 #line $LINENO "configure"
24818 cat confdefs.h
>>conftest.
$ac_ext
24819 cat >>conftest.
$ac_ext <<_ACEOF
24820 /* end confdefs.h. */
24826 #ifndef __INTEL_COMPILER
24834 rm -f conftest.
$ac_objext
24835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24836 (eval $ac_compile) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); } &&
24840 { ac_try
='test -s conftest.$ac_objext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.
$ac_ext >&5
24854 rm -f conftest.
$ac_objext conftest.
$ac_ext
24857 echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24858 echo "${ECHO_T}$wx_cv_prog_icc" >&6
24859 if test "$wx_cv_prog_icc" = "yes"; then
24864 if test "$wxUSE_SONAME" = "yes" ; then
24865 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
24866 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
24867 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
24869 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24873 if test "$GCC" = yes ; then
24874 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
24876 saveLdflags
="$LDFLAGS"
24877 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
24878 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24879 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24880 cat >conftest.
$ac_ext <<_ACEOF
24881 #line $LINENO "configure"
24884 cat confdefs.h
>>conftest.
$ac_ext
24885 cat >>conftest.
$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24896 rm -f conftest.
$ac_objext conftest
$ac_exeext
24897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24898 (eval $ac_link) 2>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -s conftest$ac_exeext'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; }; then
24909 echo "$as_me:$LINENO: result: yes" >&5
24910 echo "${ECHO_T}yes" >&6
24911 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.
$ac_ext >&5
24918 echo "$as_me:$LINENO: result: no" >&5
24919 echo "${ECHO_T}no" >&6
24920 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24921 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24922 LDFLAGS
="$saveLdflags -Wl,-R,/"
24923 cat >conftest.
$ac_ext <<_ACEOF
24924 #line $LINENO "configure"
24927 cat confdefs.h
>>conftest.
$ac_ext
24928 cat >>conftest.
$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24939 rm -f conftest.
$ac_objext conftest
$ac_exeext
24940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24941 (eval $ac_link) 2>&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } &&
24945 { ac_try
='test -s conftest$ac_exeext'
24946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947 (eval $ac_try) 2>&5
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); }; }; then
24952 echo "$as_me:$LINENO: result: yes" >&5
24953 echo "${ECHO_T}yes" >&6
24954 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.
$ac_ext >&5
24960 echo "$as_me:$LINENO: result: no" >&5
24961 echo "${ECHO_T}no" >&6
24964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24968 LDFLAGS
="$saveLdflags"
24970 SHARED_LD
="${CXX} -G -o"
24972 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
24973 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
24974 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
24979 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
24980 CFLAGS
="$CFLAGS -fno-common"
24981 CXXFLAGS
="$CXXFLAGS -fno-common"
24982 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
24983 PIC_FLAG
="-dynamic -fPIC"
24984 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
24985 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
24989 if test "$GCC" != "yes"; then
24990 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
24991 set dummy makeC
++SharedLib
; ac_word
=$2
24992 echo "$as_me:$LINENO: checking for $ac_word" >&5
24993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24994 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
24995 echo $ECHO_N "(cached) $ECHO_C" >&6
24997 if test -n "$AIX_CXX_LD"; then
24998 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
25000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25001 for as_dir
in $PATH
25004 test -z "$as_dir" && as_dir
=.
25005 for ac_exec_ext
in '' $ac_executable_extensions; do
25006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25007 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
25008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25014 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
25017 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
25018 if test -n "$AIX_CXX_LD"; then
25019 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
25020 echo "${ECHO_T}$AIX_CXX_LD" >&6
25022 echo "$as_me:$LINENO: result: no" >&5
25023 echo "${ECHO_T}no" >&6
25027 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
25031 *-*-cygwin* | *-*-mingw32* )
25032 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
25034 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
25035 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
25037 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
25039 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
25040 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
25042 if test "$wxUSE_OPENGL" = "yes"; then
25043 LIBS
="${LIBS} ${OPENGL_LIBS}"
25048 SHARED_LD
="${LD} -shared -o"
25052 if test "$GCC" != "yes"; then
25057 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25065 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25066 echo "$as_me: error: unknown system type $host." >&2;}
25067 { (exit 1); exit 1; }; }
25070 if test "x$WX_TARGET_LIBRARY" = "x"; then
25071 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25072 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25075 WX_TARGET_LIBRARY_TYPE
="so"
25076 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25079 if test "$wxUSE_SHARED" = "no"; then
25081 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25082 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25085 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25086 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25089 if test "$wxUSE_OPENGL" = "yes"; then
25090 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25091 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25093 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25096 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25097 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25099 WX_TARGET_LIBRARY_TYPE
="a"
25100 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25110 if test "$wxUSE_MAC" = 1; then
25111 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25112 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25113 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25114 # Extract the first word of "Rez", so it can be a program name with args.
25115 set dummy Rez
; ac_word
=$2
25116 echo "$as_me:$LINENO: checking for $ac_word" >&5
25117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25118 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 if test -n "$RESCOMP"; then
25122 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25125 for as_dir
in $PATH
25128 test -z "$as_dir" && as_dir
=.
25129 for ac_exec_ext
in '' $ac_executable_extensions; do
25130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25131 ac_cv_prog_RESCOMP
="Rez"
25132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25138 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25141 RESCOMP
=$ac_cv_prog_RESCOMP
25142 if test -n "$RESCOMP"; then
25143 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25144 echo "${ECHO_T}$RESCOMP" >&6
25146 echo "$as_me:$LINENO: result: no" >&5
25147 echo "${ECHO_T}no" >&6
25150 # Extract the first word of "DeRez", so it can be a program name with args.
25151 set dummy DeRez
; ac_word
=$2
25152 echo "$as_me:$LINENO: checking for $ac_word" >&5
25153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25154 if test "${ac_cv_prog_DEREZ+set}" = set; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 if test -n "$DEREZ"; then
25158 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25161 for as_dir
in $PATH
25164 test -z "$as_dir" && as_dir
=.
25165 for ac_exec_ext
in '' $ac_executable_extensions; do
25166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25167 ac_cv_prog_DEREZ
="DeRez"
25168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25174 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25177 DEREZ
=$ac_cv_prog_DEREZ
25178 if test -n "$DEREZ"; then
25179 echo "$as_me:$LINENO: result: $DEREZ" >&5
25180 echo "${ECHO_T}$DEREZ" >&6
25182 echo "$as_me:$LINENO: result: no" >&5
25183 echo "${ECHO_T}no" >&6
25186 # Extract the first word of "SetFile", so it can be a program name with args.
25187 set dummy SetFile
; ac_word
=$2
25188 echo "$as_me:$LINENO: checking for $ac_word" >&5
25189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25190 if test "${ac_cv_prog_SETFILE+set}" = set; then
25191 echo $ECHO_N "(cached) $ECHO_C" >&6
25193 if test -n "$SETFILE"; then
25194 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25197 for as_dir
in $PATH
25200 test -z "$as_dir" && as_dir
=.
25201 for ac_exec_ext
in '' $ac_executable_extensions; do
25202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25203 ac_cv_prog_SETFILE
="SetFile"
25204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25210 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25213 SETFILE
=$ac_cv_prog_SETFILE
25214 if test -n "$SETFILE"; then
25215 echo "$as_me:$LINENO: result: $SETFILE" >&5
25216 echo "${ECHO_T}$SETFILE" >&6
25218 echo "$as_me:$LINENO: result: no" >&5
25219 echo "${ECHO_T}no" >&6
25222 MACOSX_BUNDLE
="bundle"
25223 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25224 MACSETFILE
="\$(SETFILE)"
25225 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25226 elif test "$wxUSE_COCOA" = 1; then
25227 # Extract the first word of "Rez", so it can be a program name with args.
25228 set dummy Rez
; ac_word
=$2
25229 echo "$as_me:$LINENO: checking for $ac_word" >&5
25230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25231 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25234 if test -n "$RESCOMP"; then
25235 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25238 for as_dir
in $PATH
25241 test -z "$as_dir" && as_dir
=.
25242 for ac_exec_ext
in '' $ac_executable_extensions; do
25243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25244 ac_cv_prog_RESCOMP
="Rez"
25245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25251 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25254 RESCOMP
=$ac_cv_prog_RESCOMP
25255 if test -n "$RESCOMP"; then
25256 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25257 echo "${ECHO_T}$RESCOMP" >&6
25259 echo "$as_me:$LINENO: result: no" >&5
25260 echo "${ECHO_T}no" >&6
25263 # Extract the first word of "DeRez", so it can be a program name with args.
25264 set dummy DeRez
; ac_word
=$2
25265 echo "$as_me:$LINENO: checking for $ac_word" >&5
25266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25267 if test "${ac_cv_prog_DEREZ+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 if test -n "$DEREZ"; then
25271 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25274 for as_dir
in $PATH
25277 test -z "$as_dir" && as_dir
=.
25278 for ac_exec_ext
in '' $ac_executable_extensions; do
25279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25280 ac_cv_prog_DEREZ
="DeRez"
25281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25287 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25290 DEREZ
=$ac_cv_prog_DEREZ
25291 if test -n "$DEREZ"; then
25292 echo "$as_me:$LINENO: result: $DEREZ" >&5
25293 echo "${ECHO_T}$DEREZ" >&6
25295 echo "$as_me:$LINENO: result: no" >&5
25296 echo "${ECHO_T}no" >&6
25299 # Extract the first word of "SetFile", so it can be a program name with args.
25300 set dummy SetFile
; ac_word
=$2
25301 echo "$as_me:$LINENO: checking for $ac_word" >&5
25302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25303 if test "${ac_cv_prog_SETFILE+set}" = set; then
25304 echo $ECHO_N "(cached) $ECHO_C" >&6
25306 if test -n "$SETFILE"; then
25307 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25310 for as_dir
in $PATH
25313 test -z "$as_dir" && as_dir
=.
25314 for ac_exec_ext
in '' $ac_executable_extensions; do
25315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25316 ac_cv_prog_SETFILE
="SetFile"
25317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25323 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25326 SETFILE
=$ac_cv_prog_SETFILE
25327 if test -n "$SETFILE"; then
25328 echo "$as_me:$LINENO: result: $SETFILE" >&5
25329 echo "${ECHO_T}$SETFILE" >&6
25331 echo "$as_me:$LINENO: result: no" >&5
25332 echo "${ECHO_T}no" >&6
25335 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25336 MACSETFILE
="\$(SETFILE)"
25337 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25339 if test "$wxUSE_PM" = 1; then
25340 MACRESCOMP
="emxbind -ep"
25345 echo "$as_me:$LINENO: checking for mode_t" >&5
25346 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25347 if test "${ac_cv_type_mode_t+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 cat >conftest.
$ac_ext <<_ACEOF
25351 #line $LINENO "configure"
25354 cat confdefs.h
>>conftest.
$ac_ext
25355 cat >>conftest.
$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 $ac_includes_default
25363 if (sizeof (mode_t))
25369 rm -f conftest.
$ac_objext
25370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25371 (eval $ac_compile) 2>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); } &&
25375 { ac_try
='test -s conftest.$ac_objext'
25376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377 (eval $ac_try) 2>&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; }; then
25381 ac_cv_type_mode_t
=yes
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.
$ac_ext >&5
25386 ac_cv_type_mode_t
=no
25388 rm -f conftest.
$ac_objext conftest.
$ac_ext
25390 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25391 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25392 if test $ac_cv_type_mode_t = yes; then
25396 cat >>confdefs.h
<<_ACEOF
25402 echo "$as_me:$LINENO: checking for off_t" >&5
25403 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25404 if test "${ac_cv_type_off_t+set}" = set; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 cat >conftest.
$ac_ext <<_ACEOF
25408 #line $LINENO "configure"
25411 cat confdefs.h
>>conftest.
$ac_ext
25412 cat >>conftest.
$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25414 $ac_includes_default
25420 if (sizeof (off_t))
25426 rm -f conftest.
$ac_objext
25427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25428 (eval $ac_compile) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } &&
25432 { ac_try
='test -s conftest.$ac_objext'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; }; then
25438 ac_cv_type_off_t
=yes
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.
$ac_ext >&5
25443 ac_cv_type_off_t
=no
25445 rm -f conftest.
$ac_objext conftest.
$ac_ext
25447 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25448 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25449 if test $ac_cv_type_off_t = yes; then
25453 cat >>confdefs.h
<<_ACEOF
25459 echo "$as_me:$LINENO: checking for pid_t" >&5
25460 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25461 if test "${ac_cv_type_pid_t+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 cat >conftest.
$ac_ext <<_ACEOF
25465 #line $LINENO "configure"
25468 cat confdefs.h
>>conftest.
$ac_ext
25469 cat >>conftest.
$ac_ext <<_ACEOF
25470 /* end confdefs.h. */
25471 $ac_includes_default
25477 if (sizeof (pid_t))
25483 rm -f conftest.
$ac_objext
25484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25485 (eval $ac_compile) 2>&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); } &&
25489 { ac_try
='test -s conftest.$ac_objext'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; }; then
25495 ac_cv_type_pid_t
=yes
25497 echo "$as_me: failed program was:" >&5
25498 sed 's/^/| /' conftest.
$ac_ext >&5
25500 ac_cv_type_pid_t
=no
25502 rm -f conftest.
$ac_objext conftest.
$ac_ext
25504 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25505 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25506 if test $ac_cv_type_pid_t = yes; then
25510 cat >>confdefs.h
<<_ACEOF
25516 echo "$as_me:$LINENO: checking for size_t" >&5
25517 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25518 if test "${ac_cv_type_size_t+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 cat >conftest.
$ac_ext <<_ACEOF
25522 #line $LINENO "configure"
25525 cat confdefs.h
>>conftest.
$ac_ext
25526 cat >>conftest.
$ac_ext <<_ACEOF
25527 /* end confdefs.h. */
25528 $ac_includes_default
25534 if (sizeof (size_t))
25540 rm -f conftest.
$ac_objext
25541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25542 (eval $ac_compile) 2>&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); } &&
25546 { ac_try
='test -s conftest.$ac_objext'
25547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25548 (eval $ac_try) 2>&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); }; }; then
25552 ac_cv_type_size_t
=yes
25554 echo "$as_me: failed program was:" >&5
25555 sed 's/^/| /' conftest.
$ac_ext >&5
25557 ac_cv_type_size_t
=no
25559 rm -f conftest.
$ac_objext conftest.
$ac_ext
25561 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25562 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25563 if test $ac_cv_type_size_t = yes; then
25567 cat >>confdefs.h
<<_ACEOF
25568 #define size_t unsigned
25573 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25574 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25575 if test "${ac_cv_type_uid_t+set}" = set; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25578 cat >conftest.
$ac_ext <<_ACEOF
25579 #line $LINENO "configure"
25582 cat confdefs.h
>>conftest.
$ac_ext
25583 cat >>conftest.
$ac_ext <<_ACEOF
25584 /* end confdefs.h. */
25585 #include <sys/types.h>
25588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25589 $EGREP "uid_t" >/dev
/null
2>&1; then
25590 ac_cv_type_uid_t
=yes
25592 ac_cv_type_uid_t
=no
25597 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25598 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25599 if test $ac_cv_type_uid_t = no
; then
25601 cat >>confdefs.h
<<\_ACEOF
25606 cat >>confdefs.h
<<\_ACEOF
25616 ac_cpp
='$CXXCPP $CPPFLAGS'
25617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25621 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25622 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25623 if test "${wx_cv_size_t_is_uint+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 cat >conftest.
$ac_ext <<_ACEOF
25628 #line $LINENO "configure"
25631 cat confdefs.h
>>conftest.
$ac_ext
25632 cat >>conftest.
$ac_ext <<_ACEOF
25633 /* end confdefs.h. */
25634 #include <stddef.h>
25641 struct Foo { void foo(size_t); void foo(unsigned int); };
25649 rm -f conftest.
$ac_objext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25651 (eval $ac_compile) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } &&
25655 { ac_try
='test -s conftest.$ac_objext'
25656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25657 (eval $ac_try) 2>&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); }; }; then
25661 wx_cv_size_t_is_uint
=no
25663 echo "$as_me: failed program was:" >&5
25664 sed 's/^/| /' conftest.
$ac_ext >&5
25666 wx_cv_size_t_is_uint
=yes
25669 rm -f conftest.
$ac_objext conftest.
$ac_ext
25673 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25674 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25676 if test "$wx_cv_size_t_is_uint" = "yes"; then
25677 cat >>confdefs.h
<<\_ACEOF
25678 #define wxSIZE_T_IS_UINT 1
25682 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25683 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25684 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25687 cat >conftest.
$ac_ext <<_ACEOF
25688 #line $LINENO "configure"
25691 cat confdefs.h
>>conftest.
$ac_ext
25692 cat >>conftest.
$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 #include <stddef.h>
25701 struct Foo { void foo(size_t); void foo(unsigned long); };
25709 rm -f conftest.
$ac_objext
25710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25711 (eval $ac_compile) 2>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } &&
25715 { ac_try
='test -s conftest.$ac_objext'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; }; then
25721 wx_cv_size_t_is_ulong
=no
25723 echo "$as_me: failed program was:" >&5
25724 sed 's/^/| /' conftest.
$ac_ext >&5
25726 wx_cv_size_t_is_ulong
=yes
25729 rm -f conftest.
$ac_objext conftest.
$ac_ext
25732 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25733 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25735 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25736 cat >>confdefs.h
<<\_ACEOF
25737 #define wxSIZE_T_IS_ULONG 1
25744 ac_cpp
='$CPP $CPPFLAGS'
25745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25751 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25752 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25753 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25754 echo $ECHO_N "(cached) $ECHO_C" >&6
25757 cat >conftest.
$ac_ext <<_ACEOF
25758 #line $LINENO "configure"
25761 cat confdefs.h
>>conftest.
$ac_ext
25762 cat >>conftest.
$ac_ext <<_ACEOF
25763 /* end confdefs.h. */
25777 rm -f conftest.
$ac_objext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25779 (eval $ac_compile) 2>&5
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); } &&
25783 { ac_try
='test -s conftest.$ac_objext'
25784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785 (eval $ac_try) 2>&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); }; }; then
25790 wx_cv_struct_pw_gecos
=yes
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.
$ac_ext >&5
25797 wx_cv_struct_pw_gecos
=no
25801 rm -f conftest.
$ac_objext conftest.
$ac_ext
25805 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25806 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25808 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25809 cat >>confdefs.h
<<\_ACEOF
25810 #define HAVE_PW_GECOS 1
25816 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25817 cat >>confdefs.h
<<\_ACEOF
25818 #define wxUSE_WCHAR_T 1
25825 for ac_func
in wcslen
25827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25828 echo "$as_me:$LINENO: checking for $ac_func" >&5
25829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25830 if eval "test \"\${$as_ac_var+set}\" = set"; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 cat >conftest.
$ac_ext <<_ACEOF
25834 #line $LINENO "configure"
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 /* System header to define __stub macros and hopefully few prototypes,
25841 which can conflict with char $ac_func (); below.
25842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25843 <limits.h> exists even on freestanding compilers. */
25845 # include <limits.h>
25847 # include <assert.h>
25849 /* Override any gcc2 internal prototype to avoid an error. */
25854 /* We use char because int might match the return type of a gcc2
25855 builtin and then its argument prototype would still apply. */
25857 /* The GNU C library defines this for functions which it implements
25858 to always fail with ENOSYS. Some functions are actually named
25859 something starting with __ and the normal name is an alias. */
25860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25863 char (*f) () = $ac_func;
25872 return f != $ac_func;
25877 rm -f conftest.
$ac_objext conftest
$ac_exeext
25878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25879 (eval $ac_link) 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } &&
25883 { ac_try
='test -s conftest$ac_exeext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 eval "$as_ac_var=yes"
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.
$ac_ext >&5
25894 eval "$as_ac_var=no"
25896 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25900 if test `eval echo '${'$as_ac_var'}'` = yes; then
25901 cat >>confdefs.h
<<_ACEOF
25902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25909 if test "$WCSLEN_FOUND" = 0; then
25910 if test "$TOOLKIT" = "MSW"; then
25911 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25912 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25913 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 ac_check_lib_save_LIBS
=$LIBS
25917 LIBS
="-lmsvcrt $LIBS"
25918 cat >conftest.
$ac_ext <<_ACEOF
25919 #line $LINENO "configure"
25922 cat confdefs.h
>>conftest.
$ac_ext
25923 cat >>conftest.
$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25926 /* Override any gcc2 internal prototype to avoid an error. */
25930 /* We use char because int might match the return type of a gcc2
25931 builtin and then its argument prototype would still apply. */
25941 rm -f conftest.
$ac_objext conftest
$ac_exeext
25942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25943 (eval $ac_link) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); } &&
25947 { ac_try
='test -s conftest$ac_exeext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25953 ac_cv_lib_msvcrt_wcslen
=yes
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.
$ac_ext >&5
25958 ac_cv_lib_msvcrt_wcslen
=no
25960 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25961 LIBS
=$ac_check_lib_save_LIBS
25963 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25964 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25965 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25970 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25971 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25972 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 ac_check_lib_save_LIBS
=$LIBS
25977 cat >conftest.
$ac_ext <<_ACEOF
25978 #line $LINENO "configure"
25981 cat confdefs.h
>>conftest.
$ac_ext
25982 cat >>conftest.
$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25985 /* Override any gcc2 internal prototype to avoid an error. */
25989 /* We use char because int might match the return type of a gcc2
25990 builtin and then its argument prototype would still apply. */
26000 rm -f conftest.
$ac_objext conftest
$ac_exeext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26002 (eval $ac_link) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try
='test -s conftest$ac_exeext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 ac_cv_lib_w_wcslen
=yes
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.
$ac_ext >&5
26017 ac_cv_lib_w_wcslen
=no
26019 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26020 LIBS
=$ac_check_lib_save_LIBS
26022 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26023 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26024 if test $ac_cv_lib_w_wcslen = yes; then
26034 if test "$WCSLEN_FOUND" = 1; then
26035 cat >>confdefs.h
<<\_ACEOF
26036 #define HAVE_WCSLEN 1
26042 for ac_func
in wcsrtombs
26044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26045 echo "$as_me:$LINENO: checking for $ac_func" >&5
26046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26047 if eval "test \"\${$as_ac_var+set}\" = set"; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26050 cat >conftest.
$ac_ext <<_ACEOF
26051 #line $LINENO "configure"
26054 cat confdefs.h
>>conftest.
$ac_ext
26055 cat >>conftest.
$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057 /* System header to define __stub macros and hopefully few prototypes,
26058 which can conflict with char $ac_func (); below.
26059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26060 <limits.h> exists even on freestanding compilers. */
26062 # include <limits.h>
26064 # include <assert.h>
26066 /* Override any gcc2 internal prototype to avoid an error. */
26071 /* We use char because int might match the return type of a gcc2
26072 builtin and then its argument prototype would still apply. */
26074 /* The GNU C library defines this for functions which it implements
26075 to always fail with ENOSYS. Some functions are actually named
26076 something starting with __ and the normal name is an alias. */
26077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26080 char (*f) () = $ac_func;
26089 return f != $ac_func;
26094 rm -f conftest.
$ac_objext conftest
$ac_exeext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26096 (eval $ac_link) 2>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try
='test -s conftest$ac_exeext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 eval "$as_ac_var=yes"
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.
$ac_ext >&5
26111 eval "$as_ac_var=no"
26113 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26117 if test `eval echo '${'$as_ac_var'}'` = yes; then
26118 cat >>confdefs.h
<<_ACEOF
26119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26126 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26127 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26133 ac_cpp
='$CXXCPP $CPPFLAGS'
26134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26140 for ac_func
in vsnprintf
26142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26143 echo "$as_me:$LINENO: checking for $ac_func" >&5
26144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26145 if eval "test \"\${$as_ac_var+set}\" = set"; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 cat >conftest.
$ac_ext <<_ACEOF
26149 #line $LINENO "configure"
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155 /* System header to define __stub macros and hopefully few prototypes,
26156 which can conflict with char $ac_func (); below.
26157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26158 <limits.h> exists even on freestanding compilers. */
26160 # include <limits.h>
26162 # include <assert.h>
26164 /* Override any gcc2 internal prototype to avoid an error. */
26169 /* We use char because int might match the return type of a gcc2
26170 builtin and then its argument prototype would still apply. */
26172 /* The GNU C library defines this for functions which it implements
26173 to always fail with ENOSYS. Some functions are actually named
26174 something starting with __ and the normal name is an alias. */
26175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26178 char (*f) () = $ac_func;
26187 return f != $ac_func;
26192 rm -f conftest.
$ac_objext conftest
$ac_exeext
26193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26194 (eval $ac_link) 2>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); } &&
26198 { ac_try
='test -s conftest$ac_exeext'
26199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26200 (eval $ac_try) 2>&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); }; }; then
26204 eval "$as_ac_var=yes"
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.
$ac_ext >&5
26209 eval "$as_ac_var=no"
26211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26215 if test `eval echo '${'$as_ac_var'}'` = yes; then
26216 cat >>confdefs.h
<<_ACEOF
26217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26224 if test "$ac_cv_func_vsnprintf" = "yes"; then
26225 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26226 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26227 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26231 cat >conftest.
$ac_ext <<_ACEOF
26232 #line $LINENO "configure"
26235 cat confdefs.h
>>conftest.
$ac_ext
26236 cat >>conftest.
$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26240 #include <stdarg.h>
26248 vsnprintf(buf, 10u, "%s", ap);
26254 rm -f conftest.
$ac_objext
26255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26256 (eval $ac_compile) 2>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); } &&
26260 { ac_try
='test -s conftest.$ac_objext'
26261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262 (eval $ac_try) 2>&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); }; }; then
26266 wx_cv_func_vsnprintf_decl
=yes
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.
$ac_ext >&5
26271 wx_cv_func_vsnprintf_decl
=no
26274 rm -f conftest.
$ac_objext conftest.
$ac_ext
26278 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26279 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26281 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26282 cat >>confdefs.h
<<\_ACEOF
26283 #define HAVE_VSNPRINTF_DECL 1
26289 if test "$wxUSE_UNICODE" = yes; then
26293 for ac_func
in fputwc wprintf vswprintf
26295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26296 echo "$as_me:$LINENO: checking for $ac_func" >&5
26297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26298 if eval "test \"\${$as_ac_var+set}\" = set"; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 cat >conftest.
$ac_ext <<_ACEOF
26302 #line $LINENO "configure"
26305 cat confdefs.h
>>conftest.
$ac_ext
26306 cat >>conftest.
$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26308 /* System header to define __stub macros and hopefully few prototypes,
26309 which can conflict with char $ac_func (); below.
26310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26311 <limits.h> exists even on freestanding compilers. */
26313 # include <limits.h>
26315 # include <assert.h>
26317 /* Override any gcc2 internal prototype to avoid an error. */
26322 /* We use char because int might match the return type of a gcc2
26323 builtin and then its argument prototype would still apply. */
26325 /* The GNU C library defines this for functions which it implements
26326 to always fail with ENOSYS. Some functions are actually named
26327 something starting with __ and the normal name is an alias. */
26328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26331 char (*f) () = $ac_func;
26340 return f != $ac_func;
26345 rm -f conftest.
$ac_objext conftest
$ac_exeext
26346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26347 (eval $ac_link) 2>&5
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); } &&
26351 { ac_try
='test -s conftest$ac_exeext'
26352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353 (eval $ac_try) 2>&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); }; }; then
26357 eval "$as_ac_var=yes"
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.
$ac_ext >&5
26362 eval "$as_ac_var=no"
26364 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26368 if test `eval echo '${'$as_ac_var'}'` = yes; then
26369 cat >>confdefs.h
<<_ACEOF
26370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26377 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26378 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26379 cat >conftest.
$ac_ext <<_ACEOF
26380 #line $LINENO "configure"
26383 cat confdefs.h
>>conftest.
$ac_ext
26384 cat >>conftest.
$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26395 rm -f conftest.
$ac_objext
26396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26397 (eval $ac_compile) 2>&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } &&
26401 { ac_try
='test -s conftest.$ac_objext'
26402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403 (eval $ac_try) 2>&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); }; }; then
26407 echo "$as_me:$LINENO: result: yes" >&5
26408 echo "${ECHO_T}yes" >&6
26409 cat >>confdefs.h
<<\_ACEOF
26410 #define HAVE__VSNWPRINTF 1
26414 echo "$as_me: failed program was:" >&5
26415 sed 's/^/| /' conftest.
$ac_ext >&5
26417 echo "$as_me:$LINENO: result: no" >&5
26418 echo "${ECHO_T}no" >&6
26420 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26424 ac_cpp
='$CPP $CPPFLAGS'
26425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26432 if test "$TOOLKIT" != "MSW"; then
26438 ac_cpp
='$CXXCPP $CPPFLAGS'
26439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26446 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26447 if test "${with_libiconv_prefix+set}" = set; then
26448 withval
="$with_libiconv_prefix"
26450 for dir
in `echo "$withval" | tr : ' '`; do
26451 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26452 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26457 echo "$as_me:$LINENO: checking for iconv" >&5
26458 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26459 if test "${am_cv_func_iconv+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26463 am_cv_func_iconv
="no, consider installing GNU libiconv"
26465 cat >conftest.
$ac_ext <<_ACEOF
26466 #line $LINENO "configure"
26469 cat confdefs.h
>>conftest.
$ac_ext
26470 cat >>conftest.
$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26472 #include <stdlib.h>
26477 iconv_t cd = iconv_open("","");
26478 iconv(cd,NULL,NULL,NULL,NULL);
26484 rm -f conftest.
$ac_objext conftest
$ac_exeext
26485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26486 (eval $ac_link) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } &&
26490 { ac_try
='test -s conftest$ac_exeext'
26491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26492 (eval $ac_try) 2>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); }; }; then
26496 am_cv_func_iconv
=yes
26498 echo "$as_me: failed program was:" >&5
26499 sed 's/^/| /' conftest.
$ac_ext >&5
26502 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26503 if test "$am_cv_func_iconv" != yes; then
26504 am_save_LIBS
="$LIBS"
26505 LIBS
="$LIBS -liconv"
26506 cat >conftest.
$ac_ext <<_ACEOF
26507 #line $LINENO "configure"
26510 cat confdefs.h
>>conftest.
$ac_ext
26511 cat >>conftest.
$ac_ext <<_ACEOF
26512 /* end confdefs.h. */
26513 #include <stdlib.h>
26518 iconv_t cd = iconv_open("","");
26519 iconv(cd,NULL,NULL,NULL,NULL);
26525 rm -f conftest.
$ac_objext conftest
$ac_exeext
26526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26527 (eval $ac_link) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } &&
26531 { ac_try
='test -s conftest$ac_exeext'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; }; then
26537 am_cv_lib_iconv
=yes
26538 am_cv_func_iconv
=yes
26540 echo "$as_me: failed program was:" >&5
26541 sed 's/^/| /' conftest.
$ac_ext >&5
26544 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26545 LIBS
="$am_save_LIBS"
26549 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26550 echo "${ECHO_T}$am_cv_func_iconv" >&6
26551 if test "$am_cv_func_iconv" = yes; then
26553 cat >>confdefs.h
<<\_ACEOF
26554 #define HAVE_ICONV 1
26557 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26558 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26559 if test "${wx_cv_func_iconv_const+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 cat >conftest.
$ac_ext <<_ACEOF
26563 #line $LINENO "configure"
26566 cat confdefs.h
>>conftest.
$ac_ext
26567 cat >>conftest.
$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26570 #include <stdlib.h>
26576 #if defined(__STDC__) || defined(__cplusplus)
26577 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26590 rm -f conftest.
$ac_objext
26591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26592 (eval $ac_compile) 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try
='test -s conftest.$ac_objext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 wx_cv_func_iconv_const
="no"
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.
$ac_ext >&5
26607 wx_cv_func_iconv_const
="yes"
26610 rm -f conftest.
$ac_objext conftest.
$ac_ext
26613 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26614 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26617 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26618 iconv_const
="const"
26622 cat >>confdefs.h
<<_ACEOF
26623 #define ICONV_CONST $iconv_const
26628 if test "$am_cv_lib_iconv" = yes; then
26633 LIBS
="$LIBICONV $LIBS"
26635 ac_cpp
='$CPP $CPPFLAGS'
26636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26641 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26643 for ac_func
in sigaction
26645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26646 echo "$as_me:$LINENO: checking for $ac_func" >&5
26647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26648 if eval "test \"\${$as_ac_var+set}\" = set"; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 cat >conftest.
$ac_ext <<_ACEOF
26652 #line $LINENO "configure"
26655 cat confdefs.h
>>conftest.
$ac_ext
26656 cat >>conftest.
$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658 /* System header to define __stub macros and hopefully few prototypes,
26659 which can conflict with char $ac_func (); below.
26660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26661 <limits.h> exists even on freestanding compilers. */
26663 # include <limits.h>
26665 # include <assert.h>
26667 /* Override any gcc2 internal prototype to avoid an error. */
26672 /* We use char because int might match the return type of a gcc2
26673 builtin and then its argument prototype would still apply. */
26675 /* The GNU C library defines this for functions which it implements
26676 to always fail with ENOSYS. Some functions are actually named
26677 something starting with __ and the normal name is an alias. */
26678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26681 char (*f) () = $ac_func;
26690 return f != $ac_func;
26695 rm -f conftest.
$ac_objext conftest
$ac_exeext
26696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26697 (eval $ac_link) 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } &&
26701 { ac_try
='test -s conftest$ac_exeext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 eval "$as_ac_var=yes"
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.
$ac_ext >&5
26712 eval "$as_ac_var=no"
26714 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26718 if test `eval echo '${'$as_ac_var'}'` = yes; then
26719 cat >>confdefs.h
<<_ACEOF
26720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26727 if test "$ac_cv_func_sigaction" = "no"; then
26728 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26729 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26730 wxUSE_ON_FATAL_EXCEPTION
=no
26733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26737 ac_cpp
='$CXXCPP $CPPFLAGS'
26738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26743 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26744 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26745 if test "${wx_cv_type_sa_handler+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 cat >conftest.
$ac_ext <<_ACEOF
26750 #line $LINENO "configure"
26753 cat confdefs.h
>>conftest.
$ac_ext
26754 cat >>conftest.
$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756 #include <signal.h>
26761 extern void testSigHandler(int);
26763 struct sigaction sa;
26764 sa.sa_handler = testSigHandler;
26770 rm -f conftest.
$ac_objext
26771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26772 (eval $ac_compile) 2>&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 { ac_try
='test -s conftest.$ac_objext'
26777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 (eval $ac_try) 2>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); }; }; then
26783 wx_cv_type_sa_handler
=int
26786 echo "$as_me: failed program was:" >&5
26787 sed 's/^/| /' conftest.
$ac_ext >&5
26790 wx_cv_type_sa_handler
=void
26793 rm -f conftest.
$ac_objext conftest.
$ac_ext
26796 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26797 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26800 ac_cpp
='$CPP $CPPFLAGS'
26801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26806 cat >>confdefs.h
<<_ACEOF
26807 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26815 for ac_func
in mkstemp mktemp
26817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26818 echo "$as_me:$LINENO: checking for $ac_func" >&5
26819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26820 if eval "test \"\${$as_ac_var+set}\" = set"; then
26821 echo $ECHO_N "(cached) $ECHO_C" >&6
26823 cat >conftest.
$ac_ext <<_ACEOF
26824 #line $LINENO "configure"
26827 cat confdefs.h
>>conftest.
$ac_ext
26828 cat >>conftest.
$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26830 /* System header to define __stub macros and hopefully few prototypes,
26831 which can conflict with char $ac_func (); below.
26832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26833 <limits.h> exists even on freestanding compilers. */
26835 # include <limits.h>
26837 # include <assert.h>
26839 /* Override any gcc2 internal prototype to avoid an error. */
26844 /* We use char because int might match the return type of a gcc2
26845 builtin and then its argument prototype would still apply. */
26847 /* The GNU C library defines this for functions which it implements
26848 to always fail with ENOSYS. Some functions are actually named
26849 something starting with __ and the normal name is an alias. */
26850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26853 char (*f) () = $ac_func;
26862 return f != $ac_func;
26867 rm -f conftest.
$ac_objext conftest
$ac_exeext
26868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26869 (eval $ac_link) 2>&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } &&
26873 { ac_try
='test -s conftest$ac_exeext'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; }; then
26879 eval "$as_ac_var=yes"
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.
$ac_ext >&5
26884 eval "$as_ac_var=no"
26886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26890 if test `eval echo '${'$as_ac_var'}'` = yes; then
26891 cat >>confdefs.h
<<_ACEOF
26892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26899 echo "$as_me:$LINENO: checking for statfs" >&5
26900 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26901 if test "${wx_cv_func_statfs+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 cat >conftest.
$ac_ext <<_ACEOF
26905 #line $LINENO "configure"
26908 cat confdefs.h
>>conftest.
$ac_ext
26909 cat >>conftest.
$ac_ext <<_ACEOF
26910 /* end confdefs.h. */
26912 #if defined(__BSD__)
26913 #include <sys/param.h>
26914 #include <sys/mount.h>
26916 #include <sys/vfs.h>
26934 rm -f conftest.
$ac_objext
26935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26936 (eval $ac_compile) 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } &&
26940 { ac_try
='test -s conftest.$ac_objext'
26941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26942 (eval $ac_try) 2>&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); }; }; then
26947 wx_cv_func_statfs
=yes
26950 echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.
$ac_ext >&5
26954 wx_cv_func_statfs
=no
26958 rm -f conftest.
$ac_objext conftest.
$ac_ext
26961 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26962 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26964 if test "$wx_cv_func_statfs" = "yes"; then
26965 wx_cv_type_statvfs_t
="struct statfs"
26966 cat >>confdefs.h
<<\_ACEOF
26967 #define HAVE_STATFS 1
26971 echo "$as_me:$LINENO: checking for statvfs" >&5
26972 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26973 if test "${wx_cv_func_statvfs+set}" = set; then
26974 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 cat >conftest.
$ac_ext <<_ACEOF
26977 #line $LINENO "configure"
26980 cat confdefs.h
>>conftest.
$ac_ext
26981 cat >>conftest.
$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26984 #include <stddef.h>
26985 #include <sys/statvfs.h>
26991 statvfs("/", NULL);
26997 rm -f conftest.
$ac_objext
26998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26999 (eval $ac_compile) 2>&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } &&
27003 { ac_try
='test -s conftest.$ac_objext'
27004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27005 (eval $ac_try) 2>&5
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); }; }; then
27009 wx_cv_func_statvfs
=yes
27011 echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.
$ac_ext >&5
27014 wx_cv_func_statvfs
=no
27017 rm -f conftest.
$ac_objext conftest.
$ac_ext
27020 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27021 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27023 if test "$wx_cv_func_statvfs" = "yes"; then
27027 ac_cpp
='$CXXCPP $CPPFLAGS'
27028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27033 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27034 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27035 if test "${wx_cv_type_statvfs_t+set}" = set; then
27036 echo $ECHO_N "(cached) $ECHO_C" >&6
27038 cat >conftest.
$ac_ext <<_ACEOF
27039 #line $LINENO "configure"
27042 cat confdefs.h
>>conftest.
$ac_ext
27043 cat >>conftest.
$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27046 #include <sys/statvfs.h>
27063 rm -f conftest.
$ac_objext
27064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27065 (eval $ac_compile) 2>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } &&
27069 { ac_try
='test -s conftest.$ac_objext'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 wx_cv_type_statvfs_t
=statvfs_t
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.
$ac_ext >&5
27081 cat >conftest.
$ac_ext <<_ACEOF
27082 #line $LINENO "configure"
27085 cat confdefs.h
>>conftest.
$ac_ext
27086 cat >>conftest.
$ac_ext <<_ACEOF
27087 /* end confdefs.h. */
27089 #include <sys/statvfs.h>
27106 rm -f conftest.
$ac_objext
27107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27108 (eval $ac_compile) 2>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); } &&
27112 { ac_try
='test -s conftest.$ac_objext'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; }; then
27118 wx_cv_type_statvfs_t
="struct statvfs"
27120 echo "$as_me: failed program was:" >&5
27121 sed 's/^/| /' conftest.
$ac_ext >&5
27123 wx_cv_type_statvfs_t
="unknown"
27126 rm -f conftest.
$ac_objext conftest.
$ac_ext
27130 rm -f conftest.
$ac_objext conftest.
$ac_ext
27133 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27134 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27137 ac_cpp
='$CPP $CPPFLAGS'
27138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27143 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27144 cat >>confdefs.h
<<\_ACEOF
27145 #define HAVE_STATVFS 1
27150 wx_cv_type_statvfs_t
="unknown"
27154 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27155 cat >>confdefs.h
<<_ACEOF
27156 #define WX_STATFS_T $wx_cv_type_statvfs_t
27160 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27161 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27164 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27167 for ac_func
in fcntl flock
27169 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27170 echo "$as_me:$LINENO: checking for $ac_func" >&5
27171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27172 if eval "test \"\${$as_ac_var+set}\" = set"; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 cat >conftest.
$ac_ext <<_ACEOF
27176 #line $LINENO "configure"
27179 cat confdefs.h
>>conftest.
$ac_ext
27180 cat >>conftest.
$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27182 /* System header to define __stub macros and hopefully few prototypes,
27183 which can conflict with char $ac_func (); below.
27184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27185 <limits.h> exists even on freestanding compilers. */
27187 # include <limits.h>
27189 # include <assert.h>
27191 /* Override any gcc2 internal prototype to avoid an error. */
27196 /* We use char because int might match the return type of a gcc2
27197 builtin and then its argument prototype would still apply. */
27199 /* The GNU C library defines this for functions which it implements
27200 to always fail with ENOSYS. Some functions are actually named
27201 something starting with __ and the normal name is an alias. */
27202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27205 char (*f) () = $ac_func;
27214 return f != $ac_func;
27219 rm -f conftest.
$ac_objext conftest
$ac_exeext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27221 (eval $ac_link) 2>&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); } &&
27225 { ac_try
='test -s conftest$ac_exeext'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 eval "$as_ac_var=yes"
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.
$ac_ext >&5
27236 eval "$as_ac_var=no"
27238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27242 if test `eval echo '${'$as_ac_var'}'` = yes; then
27243 cat >>confdefs.h
<<_ACEOF
27244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27251 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27252 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27253 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27254 wxUSE_SNGLINST_CHECKER
=no
27259 for ac_func
in timegm
27261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27262 echo "$as_me:$LINENO: checking for $ac_func" >&5
27263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27264 if eval "test \"\${$as_ac_var+set}\" = set"; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 cat >conftest.
$ac_ext <<_ACEOF
27268 #line $LINENO "configure"
27271 cat confdefs.h
>>conftest.
$ac_ext
27272 cat >>conftest.
$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 /* System header to define __stub macros and hopefully few prototypes,
27275 which can conflict with char $ac_func (); below.
27276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27277 <limits.h> exists even on freestanding compilers. */
27279 # include <limits.h>
27281 # include <assert.h>
27283 /* Override any gcc2 internal prototype to avoid an error. */
27288 /* We use char because int might match the return type of a gcc2
27289 builtin and then its argument prototype would still apply. */
27291 /* The GNU C library defines this for functions which it implements
27292 to always fail with ENOSYS. Some functions are actually named
27293 something starting with __ and the normal name is an alias. */
27294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27297 char (*f) () = $ac_func;
27306 return f != $ac_func;
27311 rm -f conftest.
$ac_objext conftest
$ac_exeext
27312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27313 (eval $ac_link) 2>&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); } &&
27317 { ac_try
='test -s conftest$ac_exeext'
27318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27319 (eval $ac_try) 2>&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); }; }; then
27323 eval "$as_ac_var=yes"
27325 echo "$as_me: failed program was:" >&5
27326 sed 's/^/| /' conftest.
$ac_ext >&5
27328 eval "$as_ac_var=no"
27330 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27334 if test `eval echo '${'$as_ac_var'}'` = yes; then
27335 cat >>confdefs.h
<<_ACEOF
27336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27345 for ac_func
in putenv setenv
27347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27348 echo "$as_me:$LINENO: checking for $ac_func" >&5
27349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27350 if eval "test \"\${$as_ac_var+set}\" = set"; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27353 cat >conftest.
$ac_ext <<_ACEOF
27354 #line $LINENO "configure"
27357 cat confdefs.h
>>conftest.
$ac_ext
27358 cat >>conftest.
$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360 /* System header to define __stub macros and hopefully few prototypes,
27361 which can conflict with char $ac_func (); below.
27362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27363 <limits.h> exists even on freestanding compilers. */
27365 # include <limits.h>
27367 # include <assert.h>
27369 /* Override any gcc2 internal prototype to avoid an error. */
27374 /* We use char because int might match the return type of a gcc2
27375 builtin and then its argument prototype would still apply. */
27377 /* The GNU C library defines this for functions which it implements
27378 to always fail with ENOSYS. Some functions are actually named
27379 something starting with __ and the normal name is an alias. */
27380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27383 char (*f) () = $ac_func;
27392 return f != $ac_func;
27397 rm -f conftest.
$ac_objext conftest
$ac_exeext
27398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27399 (eval $ac_link) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try
='test -s conftest$ac_exeext'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; }; then
27409 eval "$as_ac_var=yes"
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.
$ac_ext >&5
27414 eval "$as_ac_var=no"
27416 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27420 if test `eval echo '${'$as_ac_var'}'` = yes; then
27421 cat >>confdefs.h
<<_ACEOF
27422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27429 HAVE_SOME_SLEEP_FUNC
=0
27430 if test "$USE_BEOS" = 1; then
27431 cat >>confdefs.h
<<\_ACEOF
27432 #define HAVE_SLEEP 1
27435 HAVE_SOME_SLEEP_FUNC
=1
27438 if test "$USE_DARWIN" = 1; then
27439 cat >>confdefs.h
<<\_ACEOF
27440 #define HAVE_USLEEP 1
27443 HAVE_SOME_SLEEP_FUNC
=1
27446 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27449 for ac_func
in nanosleep
27451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27452 echo "$as_me:$LINENO: checking for $ac_func" >&5
27453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27454 if eval "test \"\${$as_ac_var+set}\" = set"; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 cat >conftest.
$ac_ext <<_ACEOF
27458 #line $LINENO "configure"
27461 cat confdefs.h
>>conftest.
$ac_ext
27462 cat >>conftest.
$ac_ext <<_ACEOF
27463 /* end confdefs.h. */
27464 /* System header to define __stub macros and hopefully few prototypes,
27465 which can conflict with char $ac_func (); below.
27466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27467 <limits.h> exists even on freestanding compilers. */
27469 # include <limits.h>
27471 # include <assert.h>
27473 /* Override any gcc2 internal prototype to avoid an error. */
27478 /* We use char because int might match the return type of a gcc2
27479 builtin and then its argument prototype would still apply. */
27481 /* The GNU C library defines this for functions which it implements
27482 to always fail with ENOSYS. Some functions are actually named
27483 something starting with __ and the normal name is an alias. */
27484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27487 char (*f) () = $ac_func;
27496 return f != $ac_func;
27501 rm -f conftest.
$ac_objext conftest
$ac_exeext
27502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27503 (eval $ac_link) 2>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } &&
27507 { ac_try
='test -s conftest$ac_exeext'
27508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27509 (eval $ac_try) 2>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; }; then
27513 eval "$as_ac_var=yes"
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.
$ac_ext >&5
27518 eval "$as_ac_var=no"
27520 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27524 if test `eval echo '${'$as_ac_var'}'` = yes; then
27525 cat >>confdefs.h
<<_ACEOF
27526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27528 cat >>confdefs.h
<<\_ACEOF
27529 #define HAVE_NANOSLEEP 1
27534 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27535 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27536 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27537 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 ac_check_lib_save_LIBS
=$LIBS
27540 LIBS
="-lposix4 $LIBS"
27541 cat >conftest.
$ac_ext <<_ACEOF
27542 #line $LINENO "configure"
27545 cat confdefs.h
>>conftest.
$ac_ext
27546 cat >>conftest.
$ac_ext <<_ACEOF
27547 /* end confdefs.h. */
27549 /* Override any gcc2 internal prototype to avoid an error. */
27553 /* We use char because int might match the return type of a gcc2
27554 builtin and then its argument prototype would still apply. */
27564 rm -f conftest.
$ac_objext conftest
$ac_exeext
27565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27566 (eval $ac_link) 2>&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); } &&
27570 { ac_try
='test -s conftest$ac_exeext'
27571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572 (eval $ac_try) 2>&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); }; }; then
27576 ac_cv_lib_posix4_nanosleep
=yes
27578 echo "$as_me: failed program was:" >&5
27579 sed 's/^/| /' conftest.
$ac_ext >&5
27581 ac_cv_lib_posix4_nanosleep
=no
27583 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27584 LIBS
=$ac_check_lib_save_LIBS
27586 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27587 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27588 if test $ac_cv_lib_posix4_nanosleep = yes; then
27590 cat >>confdefs.h
<<\_ACEOF
27591 #define HAVE_NANOSLEEP 1
27594 POSIX4_LINK
=" -lposix4"
27599 for ac_func
in usleep
27601 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27602 echo "$as_me:$LINENO: checking for $ac_func" >&5
27603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27604 if eval "test \"\${$as_ac_var+set}\" = set"; then
27605 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 cat >conftest.
$ac_ext <<_ACEOF
27608 #line $LINENO "configure"
27611 cat confdefs.h
>>conftest.
$ac_ext
27612 cat >>conftest.
$ac_ext <<_ACEOF
27613 /* end confdefs.h. */
27614 /* System header to define __stub macros and hopefully few prototypes,
27615 which can conflict with char $ac_func (); below.
27616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27617 <limits.h> exists even on freestanding compilers. */
27619 # include <limits.h>
27621 # include <assert.h>
27623 /* Override any gcc2 internal prototype to avoid an error. */
27628 /* We use char because int might match the return type of a gcc2
27629 builtin and then its argument prototype would still apply. */
27631 /* The GNU C library defines this for functions which it implements
27632 to always fail with ENOSYS. Some functions are actually named
27633 something starting with __ and the normal name is an alias. */
27634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27637 char (*f) () = $ac_func;
27646 return f != $ac_func;
27651 rm -f conftest.
$ac_objext conftest
$ac_exeext
27652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27653 (eval $ac_link) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); } &&
27657 { ac_try
='test -s conftest$ac_exeext'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; }; then
27663 eval "$as_ac_var=yes"
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.
$ac_ext >&5
27668 eval "$as_ac_var=no"
27670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27674 if test `eval echo '${'$as_ac_var'}'` = yes; then
27675 cat >>confdefs.h
<<_ACEOF
27676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27678 cat >>confdefs.h
<<\_ACEOF
27679 #define HAVE_USLEEP 1
27683 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27684 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27702 for ac_func
in uname gethostname
27704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27705 echo "$as_me:$LINENO: checking for $ac_func" >&5
27706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27707 if eval "test \"\${$as_ac_var+set}\" = set"; then
27708 echo $ECHO_N "(cached) $ECHO_C" >&6
27710 cat >conftest.
$ac_ext <<_ACEOF
27711 #line $LINENO "configure"
27714 cat confdefs.h
>>conftest.
$ac_ext
27715 cat >>conftest.
$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27717 /* System header to define __stub macros and hopefully few prototypes,
27718 which can conflict with char $ac_func (); below.
27719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27720 <limits.h> exists even on freestanding compilers. */
27722 # include <limits.h>
27724 # include <assert.h>
27726 /* Override any gcc2 internal prototype to avoid an error. */
27731 /* We use char because int might match the return type of a gcc2
27732 builtin and then its argument prototype would still apply. */
27734 /* The GNU C library defines this for functions which it implements
27735 to always fail with ENOSYS. Some functions are actually named
27736 something starting with __ and the normal name is an alias. */
27737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27740 char (*f) () = $ac_func;
27749 return f != $ac_func;
27754 rm -f conftest.
$ac_objext conftest
$ac_exeext
27755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27756 (eval $ac_link) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } &&
27760 { ac_try
='test -s conftest$ac_exeext'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; }; then
27766 eval "$as_ac_var=yes"
27768 echo "$as_me: failed program was:" >&5
27769 sed 's/^/| /' conftest.
$ac_ext >&5
27771 eval "$as_ac_var=no"
27773 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27777 if test `eval echo '${'$as_ac_var'}'` = yes; then
27778 cat >>confdefs.h
<<_ACEOF
27779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27789 ac_cpp
='$CXXCPP $CPPFLAGS'
27790 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27791 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27792 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27796 for ac_func
in strtok_r
27798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27799 echo "$as_me:$LINENO: checking for $ac_func" >&5
27800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27801 if eval "test \"\${$as_ac_var+set}\" = set"; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 cat >conftest.
$ac_ext <<_ACEOF
27805 #line $LINENO "configure"
27808 cat confdefs.h
>>conftest.
$ac_ext
27809 cat >>conftest.
$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27811 /* System header to define __stub macros and hopefully few prototypes,
27812 which can conflict with char $ac_func (); below.
27813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27814 <limits.h> exists even on freestanding compilers. */
27816 # include <limits.h>
27818 # include <assert.h>
27820 /* Override any gcc2 internal prototype to avoid an error. */
27825 /* We use char because int might match the return type of a gcc2
27826 builtin and then its argument prototype would still apply. */
27828 /* The GNU C library defines this for functions which it implements
27829 to always fail with ENOSYS. Some functions are actually named
27830 something starting with __ and the normal name is an alias. */
27831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27834 char (*f) () = $ac_func;
27843 return f != $ac_func;
27848 rm -f conftest.
$ac_objext conftest
$ac_exeext
27849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27850 (eval $ac_link) 2>&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); } &&
27854 { ac_try
='test -s conftest$ac_exeext'
27855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856 (eval $ac_try) 2>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); }; }; then
27860 eval "$as_ac_var=yes"
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.
$ac_ext >&5
27865 eval "$as_ac_var=no"
27867 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27871 if test `eval echo '${'$as_ac_var'}'` = yes; then
27872 cat >>confdefs.h
<<_ACEOF
27873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27881 ac_cpp
='$CPP $CPPFLAGS'
27882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27889 for ac_func
in inet_addr
27891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27892 echo "$as_me:$LINENO: checking for $ac_func" >&5
27893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27894 if eval "test \"\${$as_ac_var+set}\" = set"; then
27895 echo $ECHO_N "(cached) $ECHO_C" >&6
27897 cat >conftest.
$ac_ext <<_ACEOF
27898 #line $LINENO "configure"
27901 cat confdefs.h
>>conftest.
$ac_ext
27902 cat >>conftest.
$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27904 /* System header to define __stub macros and hopefully few prototypes,
27905 which can conflict with char $ac_func (); below.
27906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27907 <limits.h> exists even on freestanding compilers. */
27909 # include <limits.h>
27911 # include <assert.h>
27913 /* Override any gcc2 internal prototype to avoid an error. */
27918 /* We use char because int might match the return type of a gcc2
27919 builtin and then its argument prototype would still apply. */
27921 /* The GNU C library defines this for functions which it implements
27922 to always fail with ENOSYS. Some functions are actually named
27923 something starting with __ and the normal name is an alias. */
27924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27927 char (*f) () = $ac_func;
27936 return f != $ac_func;
27941 rm -f conftest.
$ac_objext conftest
$ac_exeext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27943 (eval $ac_link) 2>&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); } &&
27947 { ac_try
='test -s conftest$ac_exeext'
27948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27949 (eval $ac_try) 2>&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); }; }; then
27953 eval "$as_ac_var=yes"
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.
$ac_ext >&5
27958 eval "$as_ac_var=no"
27960 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27964 if test `eval echo '${'$as_ac_var'}'` = yes; then
27965 cat >>confdefs.h
<<_ACEOF
27966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27968 cat >>confdefs.h
<<\_ACEOF
27969 #define HAVE_INET_ADDR 1
27974 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27975 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27976 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27977 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 ac_check_lib_save_LIBS
=$LIBS
27981 cat >conftest.
$ac_ext <<_ACEOF
27982 #line $LINENO "configure"
27985 cat confdefs.h
>>conftest.
$ac_ext
27986 cat >>conftest.
$ac_ext <<_ACEOF
27987 /* end confdefs.h. */
27989 /* Override any gcc2 internal prototype to avoid an error. */
27993 /* We use char because int might match the return type of a gcc2
27994 builtin and then its argument prototype would still apply. */
28004 rm -f conftest.
$ac_objext conftest
$ac_exeext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28006 (eval $ac_link) 2>&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); } &&
28010 { ac_try
='test -s conftest$ac_exeext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 ac_cv_lib_nsl_inet_addr
=yes
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.
$ac_ext >&5
28021 ac_cv_lib_nsl_inet_addr
=no
28023 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28024 LIBS
=$ac_check_lib_save_LIBS
28026 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28027 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28028 if test $ac_cv_lib_nsl_inet_addr = yes; then
28031 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28032 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28033 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 ac_check_lib_save_LIBS
=$LIBS
28037 LIBS
="-lresolv $LIBS"
28038 cat >conftest.
$ac_ext <<_ACEOF
28039 #line $LINENO "configure"
28042 cat confdefs.h
>>conftest.
$ac_ext
28043 cat >>conftest.
$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28046 /* Override any gcc2 internal prototype to avoid an error. */
28050 /* We use char because int might match the return type of a gcc2
28051 builtin and then its argument prototype would still apply. */
28061 rm -f conftest.
$ac_objext conftest
$ac_exeext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28063 (eval $ac_link) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try
='test -s conftest$ac_exeext'
28068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28069 (eval $ac_try) 2>&5
28071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072 (exit $ac_status); }; }; then
28073 ac_cv_lib_resolv_inet_addr
=yes
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.
$ac_ext >&5
28078 ac_cv_lib_resolv_inet_addr
=no
28080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28081 LIBS
=$ac_check_lib_save_LIBS
28083 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28084 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28085 if test $ac_cv_lib_resolv_inet_addr = yes; then
28088 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28089 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28090 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 ac_check_lib_save_LIBS
=$LIBS
28094 LIBS
="-lsocket $LIBS"
28095 cat >conftest.
$ac_ext <<_ACEOF
28096 #line $LINENO "configure"
28099 cat confdefs.h
>>conftest.
$ac_ext
28100 cat >>conftest.
$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28103 /* Override any gcc2 internal prototype to avoid an error. */
28107 /* We use char because int might match the return type of a gcc2
28108 builtin and then its argument prototype would still apply. */
28118 rm -f conftest.
$ac_objext conftest
$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try
='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 ac_cv_lib_socket_inet_addr
=yes
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.
$ac_ext >&5
28135 ac_cv_lib_socket_inet_addr
=no
28137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28138 LIBS
=$ac_check_lib_save_LIBS
28140 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28141 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28142 if test $ac_cv_lib_socket_inet_addr = yes; then
28160 for ac_func
in inet_aton
28162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28163 echo "$as_me:$LINENO: checking for $ac_func" >&5
28164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28165 if eval "test \"\${$as_ac_var+set}\" = set"; then
28166 echo $ECHO_N "(cached) $ECHO_C" >&6
28168 cat >conftest.
$ac_ext <<_ACEOF
28169 #line $LINENO "configure"
28172 cat confdefs.h
>>conftest.
$ac_ext
28173 cat >>conftest.
$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28175 /* System header to define __stub macros and hopefully few prototypes,
28176 which can conflict with char $ac_func (); below.
28177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28178 <limits.h> exists even on freestanding compilers. */
28180 # include <limits.h>
28182 # include <assert.h>
28184 /* Override any gcc2 internal prototype to avoid an error. */
28189 /* We use char because int might match the return type of a gcc2
28190 builtin and then its argument prototype would still apply. */
28192 /* The GNU C library defines this for functions which it implements
28193 to always fail with ENOSYS. Some functions are actually named
28194 something starting with __ and the normal name is an alias. */
28195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28198 char (*f) () = $ac_func;
28207 return f != $ac_func;
28212 rm -f conftest.
$ac_objext conftest
$ac_exeext
28213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28214 (eval $ac_link) 2>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } &&
28218 { ac_try
='test -s conftest$ac_exeext'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; }; then
28224 eval "$as_ac_var=yes"
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.
$ac_ext >&5
28229 eval "$as_ac_var=no"
28231 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28235 if test `eval echo '${'$as_ac_var'}'` = yes; then
28236 cat >>confdefs.h
<<_ACEOF
28237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28239 cat >>confdefs.h
<<\_ACEOF
28240 #define HAVE_INET_ATON 1
28245 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28246 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28247 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28248 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28249 echo $ECHO_N "(cached) $ECHO_C" >&6
28251 ac_check_lib_save_LIBS
=$LIBS
28252 LIBS
="-l$INET_LINK $LIBS"
28253 cat >conftest.
$ac_ext <<_ACEOF
28254 #line $LINENO "configure"
28257 cat confdefs.h
>>conftest.
$ac_ext
28258 cat >>conftest.
$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28261 /* Override any gcc2 internal prototype to avoid an error. */
28265 /* We use char because int might match the return type of a gcc2
28266 builtin and then its argument prototype would still apply. */
28276 rm -f conftest.
$ac_objext conftest
$ac_exeext
28277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28278 (eval $ac_link) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); } &&
28282 { ac_try
='test -s conftest$ac_exeext'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; }; then
28288 eval "$as_ac_Lib=yes"
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.
$ac_ext >&5
28293 eval "$as_ac_Lib=no"
28295 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28296 LIBS
=$ac_check_lib_save_LIBS
28298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28299 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28300 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28301 cat >>confdefs.h
<<\_ACEOF
28302 #define HAVE_INET_ATON 1
28312 if test "x$INET_LINK" != "x"; then
28313 cat >>confdefs.h
<<\_ACEOF
28314 #define HAVE_INET_ADDR 1
28317 INET_LINK
=" -l$INET_LINK"
28325 if test "${ac_cv_header_esd_h+set}" = set; then
28326 echo "$as_me:$LINENO: checking for esd.h" >&5
28327 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28328 if test "${ac_cv_header_esd_h+set}" = set; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28331 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28332 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28334 # Is the header compilable?
28335 echo "$as_me:$LINENO: checking esd.h usability" >&5
28336 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28337 cat >conftest.
$ac_ext <<_ACEOF
28338 #line $LINENO "configure"
28341 cat confdefs.h
>>conftest.
$ac_ext
28342 cat >>conftest.
$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28344 $ac_includes_default
28347 rm -f conftest.
$ac_objext
28348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28349 (eval $ac_compile) 2>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); } &&
28353 { ac_try
='test -s conftest.$ac_objext'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28359 ac_header_compiler
=yes
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.
$ac_ext >&5
28364 ac_header_compiler
=no
28366 rm -f conftest.
$ac_objext conftest.
$ac_ext
28367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28368 echo "${ECHO_T}$ac_header_compiler" >&6
28370 # Is the header present?
28371 echo "$as_me:$LINENO: checking esd.h presence" >&5
28372 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28373 cat >conftest.
$ac_ext <<_ACEOF
28374 #line $LINENO "configure"
28377 cat confdefs.h
>>conftest.
$ac_ext
28378 cat >>conftest.
$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28385 grep -v '^ *+' conftest.er1
>conftest.err
28387 cat conftest.err
>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } >/dev
/null
; then
28390 if test -s conftest.err
; then
28391 ac_cpp_err
=$ac_c_preproc_warn_flag
28398 if test -z "$ac_cpp_err"; then
28399 ac_header_preproc
=yes
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.
$ac_ext >&5
28404 ac_header_preproc
=no
28406 rm -f conftest.err conftest.
$ac_ext
28407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28408 echo "${ECHO_T}$ac_header_preproc" >&6
28410 # So? What about this header?
28411 case $ac_header_compiler:$ac_header_preproc in
28413 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28414 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28415 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28416 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28419 ## ------------------------------------ ##
28420 ## Report this to bug-autoconf@gnu.org. ##
28421 ## ------------------------------------ ##
28424 sed "s/^/$as_me: WARNING: /" >&2
28427 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28428 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28429 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28430 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28431 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28432 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28435 ## ------------------------------------ ##
28436 ## Report this to bug-autoconf@gnu.org. ##
28437 ## ------------------------------------ ##
28440 sed "s/^/$as_me: WARNING: /" >&2
28443 echo "$as_me:$LINENO: checking for esd.h" >&5
28444 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28445 if test "${ac_cv_header_esd_h+set}" = set; then
28446 echo $ECHO_N "(cached) $ECHO_C" >&6
28448 ac_cv_header_esd_h
=$ac_header_preproc
28450 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28451 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28454 if test $ac_cv_header_esd_h = yes; then
28456 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28457 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28458 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 ac_check_lib_save_LIBS
=$LIBS
28463 cat >conftest.
$ac_ext <<_ACEOF
28464 #line $LINENO "configure"
28467 cat confdefs.h
>>conftest.
$ac_ext
28468 cat >>conftest.
$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28471 /* Override any gcc2 internal prototype to avoid an error. */
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28486 rm -f conftest.
$ac_objext conftest
$ac_exeext
28487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try
='test -s conftest$ac_exeext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28498 ac_cv_lib_esd_esd_close
=yes
28500 echo "$as_me: failed program was:" >&5
28501 sed 's/^/| /' conftest.
$ac_ext >&5
28503 ac_cv_lib_esd_esd_close
=no
28505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28506 LIBS
=$ac_check_lib_save_LIBS
28508 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28509 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28510 if test $ac_cv_lib_esd_esd_close = yes; then
28523 cat >confcache
<<\_ACEOF
28524 # This file is a shell script that caches the results of configure
28525 # tests run on this system so they can be shared between configure
28526 # scripts and configure runs, see configure's option --config-cache.
28527 # It is not useful on other systems. If it contains results you don't
28528 # want to keep, you may remove or edit it.
28530 # config.status only pays attention to the cache file if you give it
28531 # the --recheck option to rerun configure.
28533 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28534 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28535 # following values.
28539 # The following way of writing the cache mishandles newlines in values,
28540 # but we know of no workaround that is simple, portable, and efficient.
28541 # So, don't put newlines in cache variables' values.
28542 # Ultrix sh set writes to stderr and can't be redirected directly,
28543 # and sets the high bit in the cache file unless we assign to the vars.
28546 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28548 # `set' does not quote correctly, so add quotes (double-quote
28549 # substitution turns \\\\ into \\, and sed turns \\ into \).
28552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28555 # `set' quotes correctly as required by POSIX, so do not add quotes.
28557 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28564 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28566 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28568 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28569 if test -w $cache_file; then
28570 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28571 cat confcache
>$cache_file
28573 echo "not updating unwritable cache $cache_file"
28580 if test "$TOOLKIT" != "MSW"; then
28586 if test "$wxUSE_THREADS" = "yes" ; then
28587 if test "$USE_BEOS" = 1; then
28588 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28589 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28594 if test "$wxUSE_THREADS" = "yes" ; then
28597 THREAD_OPTS
="-pthread"
28599 *-*-solaris2* | *-*-sunos4* )
28600 if test "x$GCC" = "xyes"; then
28601 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28603 THREAD_OPTS
="-mt $THREAD_OPTS"
28607 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28609 *-*-darwin* | *-*-cygwin* )
28613 THREAD_OPTS
="pthreads"
28616 if test "x$GCC" != "xyes"; then
28622 if test "x$GCC" = "xyes"; then
28628 if test "x$GCC" != "xyes"; then
28629 THREAD_OPTS
="-Ethread"
28634 THREAD_OPTS
="$THREAD_OPTS pthread none"
28637 for flag
in $THREAD_OPTS; do
28640 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28641 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28645 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28646 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28647 THREADS_CFLAGS
="$flag"
28651 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28652 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28653 THREADS_LINK
="-l$flag"
28658 save_CFLAGS
="$CFLAGS"
28659 LIBS
="$THREADS_LINK $LIBS"
28660 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28662 cat >conftest.
$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28666 cat confdefs.h
>>conftest.
$ac_ext
28667 cat >>conftest.
$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28669 #include <pthread.h>
28673 pthread_create(0,0,0,0);
28678 rm -f conftest.
$ac_objext conftest
$ac_exeext
28679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28680 (eval $ac_link) 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); } &&
28684 { ac_try
='test -s conftest$ac_exeext'
28685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 (eval $ac_try) 2>&5
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; }; then
28692 echo "$as_me: failed program was:" >&5
28693 sed 's/^/| /' conftest.
$ac_ext >&5
28696 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28699 CFLAGS
="$save_CFLAGS"
28701 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28702 echo "${ECHO_T}$THREADS_OK" >&6
28703 if test "x$THREADS_OK" = "xyes"; then
28711 if test "x$THREADS_OK" != "xyes"; then
28713 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28714 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28716 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28717 LIBS
="$THREADS_LINK $LIBS"
28719 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28720 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28724 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28725 flag
="-D_THREAD_SAFE"
28728 flag
="-D_THREAD_SAFE"
28731 flag
="-D_REENTRANT"
28732 if test "x$GCC" != "xyes"; then
28733 flag
="$flag -D_RWSTD_MULTI_THREAD"
28736 *solaris
* | alpha
*-osf*)
28737 flag
="-D_REENTRANT"
28740 echo "$as_me:$LINENO: result: ${flag}" >&5
28741 echo "${ECHO_T}${flag}" >&6
28742 if test "x$flag" != xno
; then
28743 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28746 if test "x$THREADS_CFLAGS" != "x"; then
28747 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28748 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28753 if test "$wxUSE_THREADS" = "yes" ; then
28755 for ac_func
in thr_setconcurrency
28757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28758 echo "$as_me:$LINENO: checking for $ac_func" >&5
28759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28760 if eval "test \"\${$as_ac_var+set}\" = set"; then
28761 echo $ECHO_N "(cached) $ECHO_C" >&6
28763 cat >conftest.
$ac_ext <<_ACEOF
28764 #line $LINENO "configure"
28767 cat confdefs.h
>>conftest.
$ac_ext
28768 cat >>conftest.
$ac_ext <<_ACEOF
28769 /* end confdefs.h. */
28770 /* System header to define __stub macros and hopefully few prototypes,
28771 which can conflict with char $ac_func (); below.
28772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28773 <limits.h> exists even on freestanding compilers. */
28775 # include <limits.h>
28777 # include <assert.h>
28779 /* Override any gcc2 internal prototype to avoid an error. */
28784 /* We use char because int might match the return type of a gcc2
28785 builtin and then its argument prototype would still apply. */
28787 /* The GNU C library defines this for functions which it implements
28788 to always fail with ENOSYS. Some functions are actually named
28789 something starting with __ and the normal name is an alias. */
28790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28793 char (*f) () = $ac_func;
28802 return f != $ac_func;
28807 rm -f conftest.
$ac_objext conftest
$ac_exeext
28808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28809 (eval $ac_link) 2>&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try
='test -s conftest$ac_exeext'
28814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28815 (eval $ac_try) 2>&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); }; }; then
28819 eval "$as_ac_var=yes"
28821 echo "$as_me: failed program was:" >&5
28822 sed 's/^/| /' conftest.
$ac_ext >&5
28824 eval "$as_ac_var=no"
28826 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28830 if test `eval echo '${'$as_ac_var'}'` = yes; then
28831 cat >>confdefs.h
<<_ACEOF
28832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28840 for ac_header
in sched.h
28842 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28844 echo "$as_me:$LINENO: checking for $ac_header" >&5
28845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28847 echo $ECHO_N "(cached) $ECHO_C" >&6
28849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28852 # Is the header compilable?
28853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28855 cat >conftest.
$ac_ext <<_ACEOF
28856 #line $LINENO "configure"
28859 cat confdefs.h
>>conftest.
$ac_ext
28860 cat >>conftest.
$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28862 $ac_includes_default
28863 #include <$ac_header>
28865 rm -f conftest.
$ac_objext
28866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28867 (eval $ac_compile) 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } &&
28871 { ac_try
='test -s conftest.$ac_objext'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 ac_header_compiler
=yes
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.
$ac_ext >&5
28882 ac_header_compiler
=no
28884 rm -f conftest.
$ac_objext conftest.
$ac_ext
28885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28886 echo "${ECHO_T}$ac_header_compiler" >&6
28888 # Is the header present?
28889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28891 cat >conftest.
$ac_ext <<_ACEOF
28892 #line $LINENO "configure"
28895 cat confdefs.h
>>conftest.
$ac_ext
28896 cat >>conftest.
$ac_ext <<_ACEOF
28897 /* end confdefs.h. */
28898 #include <$ac_header>
28900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28903 grep -v '^ *+' conftest.er1
>conftest.err
28905 cat conftest.err
>&5
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); } >/dev
/null
; then
28908 if test -s conftest.err
; then
28909 ac_cpp_err
=$ac_c_preproc_warn_flag
28916 if test -z "$ac_cpp_err"; then
28917 ac_header_preproc
=yes
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.
$ac_ext >&5
28922 ac_header_preproc
=no
28924 rm -f conftest.err conftest.
$ac_ext
28925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28926 echo "${ECHO_T}$ac_header_preproc" >&6
28928 # So? What about this header?
28929 case $ac_header_compiler:$ac_header_preproc in
28931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28937 ## ------------------------------------ ##
28938 ## Report this to bug-autoconf@gnu.org. ##
28939 ## ------------------------------------ ##
28942 sed "s/^/$as_me: WARNING: /" >&2
28945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28953 ## ------------------------------------ ##
28954 ## Report this to bug-autoconf@gnu.org. ##
28955 ## ------------------------------------ ##
28958 sed "s/^/$as_me: WARNING: /" >&2
28961 echo "$as_me:$LINENO: checking for $ac_header" >&5
28962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28964 echo $ECHO_N "(cached) $ECHO_C" >&6
28966 eval "$as_ac_Header=$ac_header_preproc"
28968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28973 cat >>confdefs.h
<<_ACEOF
28974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28981 if test "$ac_cv_header_sched_h" = "yes"; then
28982 echo "$as_me:$LINENO: checking for sched_yield" >&5
28983 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28984 if test "${ac_cv_func_sched_yield+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 cat >conftest.
$ac_ext <<_ACEOF
28988 #line $LINENO "configure"
28991 cat confdefs.h
>>conftest.
$ac_ext
28992 cat >>conftest.
$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char sched_yield (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
28999 # include <limits.h>
29001 # include <assert.h>
29003 /* Override any gcc2 internal prototype to avoid an error. */
29008 /* We use char because int might match the return type of a gcc2
29009 builtin and then its argument prototype would still apply. */
29010 char sched_yield ();
29011 /* The GNU C library defines this for functions which it implements
29012 to always fail with ENOSYS. Some functions are actually named
29013 something starting with __ and the normal name is an alias. */
29014 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29017 char (*f) () = sched_yield;
29026 return f != sched_yield;
29031 rm -f conftest.
$ac_objext conftest
$ac_exeext
29032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29033 (eval $ac_link) 2>&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } &&
29037 { ac_try
='test -s conftest$ac_exeext'
29038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29039 (eval $ac_try) 2>&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); }; }; then
29043 ac_cv_func_sched_yield
=yes
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.
$ac_ext >&5
29048 ac_cv_func_sched_yield
=no
29050 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29052 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29053 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29054 if test $ac_cv_func_sched_yield = yes; then
29055 cat >>confdefs.h
<<\_ACEOF
29056 #define HAVE_SCHED_YIELD 1
29061 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29062 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29063 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 ac_check_lib_save_LIBS
=$LIBS
29067 LIBS
="-lposix4 $LIBS"
29068 cat >conftest.
$ac_ext <<_ACEOF
29069 #line $LINENO "configure"
29072 cat confdefs.h
>>conftest.
$ac_ext
29073 cat >>conftest.
$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29076 /* Override any gcc2 internal prototype to avoid an error. */
29080 /* We use char because int might match the return type of a gcc2
29081 builtin and then its argument prototype would still apply. */
29082 char sched_yield ();
29091 rm -f conftest.
$ac_objext conftest
$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } &&
29097 { ac_try
='test -s conftest$ac_exeext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 ac_cv_lib_posix4_sched_yield
=yes
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.
$ac_ext >&5
29108 ac_cv_lib_posix4_sched_yield
=no
29110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29111 LIBS
=$ac_check_lib_save_LIBS
29113 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29114 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29115 if test $ac_cv_lib_posix4_sched_yield = yes; then
29116 cat >>confdefs.h
<<\_ACEOF
29117 #define HAVE_SCHED_YIELD 1
29119 POSIX4_LINK
=" -lposix4"
29121 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29122 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29133 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29134 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29135 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29136 echo $ECHO_N "(cached) $ECHO_C" >&6
29138 cat >conftest.
$ac_ext <<_ACEOF
29139 #line $LINENO "configure"
29142 cat confdefs.h
>>conftest.
$ac_ext
29143 cat >>conftest.
$ac_ext <<_ACEOF
29144 /* end confdefs.h. */
29145 /* System header to define __stub macros and hopefully few prototypes,
29146 which can conflict with char pthread_attr_getschedpolicy (); below.
29147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29148 <limits.h> exists even on freestanding compilers. */
29150 # include <limits.h>
29152 # include <assert.h>
29154 /* Override any gcc2 internal prototype to avoid an error. */
29159 /* We use char because int might match the return type of a gcc2
29160 builtin and then its argument prototype would still apply. */
29161 char pthread_attr_getschedpolicy ();
29162 /* The GNU C library defines this for functions which it implements
29163 to always fail with ENOSYS. Some functions are actually named
29164 something starting with __ and the normal name is an alias. */
29165 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29168 char (*f) () = pthread_attr_getschedpolicy;
29177 return f != pthread_attr_getschedpolicy;
29182 rm -f conftest.
$ac_objext conftest
$ac_exeext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29184 (eval $ac_link) 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); } &&
29188 { ac_try
='test -s conftest$ac_exeext'
29189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29190 (eval $ac_try) 2>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; }; then
29194 ac_cv_func_pthread_attr_getschedpolicy
=yes
29196 echo "$as_me: failed program was:" >&5
29197 sed 's/^/| /' conftest.
$ac_ext >&5
29199 ac_cv_func_pthread_attr_getschedpolicy
=no
29201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29203 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29204 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29205 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29206 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29207 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29208 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 cat >conftest.
$ac_ext <<_ACEOF
29212 #line $LINENO "configure"
29215 cat confdefs.h
>>conftest.
$ac_ext
29216 cat >>conftest.
$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218 /* System header to define __stub macros and hopefully few prototypes,
29219 which can conflict with char pthread_attr_setschedparam (); below.
29220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29221 <limits.h> exists even on freestanding compilers. */
29223 # include <limits.h>
29225 # include <assert.h>
29227 /* Override any gcc2 internal prototype to avoid an error. */
29232 /* We use char because int might match the return type of a gcc2
29233 builtin and then its argument prototype would still apply. */
29234 char pthread_attr_setschedparam ();
29235 /* The GNU C library defines this for functions which it implements
29236 to always fail with ENOSYS. Some functions are actually named
29237 something starting with __ and the normal name is an alias. */
29238 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29241 char (*f) () = pthread_attr_setschedparam;
29250 return f != pthread_attr_setschedparam;
29255 rm -f conftest.
$ac_objext conftest
$ac_exeext
29256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29257 (eval $ac_link) 2>&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); } &&
29261 { ac_try
='test -s conftest$ac_exeext'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; }; then
29267 ac_cv_func_pthread_attr_setschedparam
=yes
29269 echo "$as_me: failed program was:" >&5
29270 sed 's/^/| /' conftest.
$ac_ext >&5
29272 ac_cv_func_pthread_attr_setschedparam
=no
29274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29276 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29277 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29278 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29279 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29280 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29281 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 cat >conftest.
$ac_ext <<_ACEOF
29285 #line $LINENO "configure"
29288 cat confdefs.h
>>conftest.
$ac_ext
29289 cat >>conftest.
$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291 /* System header to define __stub macros and hopefully few prototypes,
29292 which can conflict with char sched_get_priority_max (); below.
29293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29294 <limits.h> exists even on freestanding compilers. */
29296 # include <limits.h>
29298 # include <assert.h>
29300 /* Override any gcc2 internal prototype to avoid an error. */
29305 /* We use char because int might match the return type of a gcc2
29306 builtin and then its argument prototype would still apply. */
29307 char sched_get_priority_max ();
29308 /* The GNU C library defines this for functions which it implements
29309 to always fail with ENOSYS. Some functions are actually named
29310 something starting with __ and the normal name is an alias. */
29311 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29314 char (*f) () = sched_get_priority_max;
29323 return f != sched_get_priority_max;
29328 rm -f conftest.
$ac_objext conftest
$ac_exeext
29329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29330 (eval $ac_link) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try
='test -s conftest$ac_exeext'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; }; then
29340 ac_cv_func_sched_get_priority_max
=yes
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.
$ac_ext >&5
29345 ac_cv_func_sched_get_priority_max
=no
29347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29349 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29350 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29351 if test $ac_cv_func_sched_get_priority_max = yes; then
29354 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29355 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29356 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29357 echo $ECHO_N "(cached) $ECHO_C" >&6
29359 ac_check_lib_save_LIBS
=$LIBS
29360 LIBS
="-lposix4 $LIBS"
29361 cat >conftest.
$ac_ext <<_ACEOF
29362 #line $LINENO "configure"
29365 cat confdefs.h
>>conftest.
$ac_ext
29366 cat >>conftest.
$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29369 /* Override any gcc2 internal prototype to avoid an error. */
29373 /* We use char because int might match the return type of a gcc2
29374 builtin and then its argument prototype would still apply. */
29375 char sched_get_priority_max ();
29379 sched_get_priority_max ();
29384 rm -f conftest.
$ac_objext conftest
$ac_exeext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29386 (eval $ac_link) 2>&5
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); } &&
29390 { ac_try
='test -s conftest$ac_exeext'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; }; then
29396 ac_cv_lib_posix4_sched_get_priority_max
=yes
29398 echo "$as_me: failed program was:" >&5
29399 sed 's/^/| /' conftest.
$ac_ext >&5
29401 ac_cv_lib_posix4_sched_get_priority_max
=no
29403 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29404 LIBS
=$ac_check_lib_save_LIBS
29406 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29407 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29408 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29411 POSIX4_LINK
=" -lposix4"
29425 if test "$HAVE_PRIOR_FUNCS" = 1; then
29426 cat >>confdefs.h
<<\_ACEOF
29427 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29431 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29432 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29435 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29436 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29437 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 cat >conftest.
$ac_ext <<_ACEOF
29441 #line $LINENO "configure"
29444 cat confdefs.h
>>conftest.
$ac_ext
29445 cat >>conftest.
$ac_ext <<_ACEOF
29446 /* end confdefs.h. */
29447 /* System header to define __stub macros and hopefully few prototypes,
29448 which can conflict with char pthread_cancel (); below.
29449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29450 <limits.h> exists even on freestanding compilers. */
29452 # include <limits.h>
29454 # include <assert.h>
29456 /* Override any gcc2 internal prototype to avoid an error. */
29461 /* We use char because int might match the return type of a gcc2
29462 builtin and then its argument prototype would still apply. */
29463 char pthread_cancel ();
29464 /* The GNU C library defines this for functions which it implements
29465 to always fail with ENOSYS. Some functions are actually named
29466 something starting with __ and the normal name is an alias. */
29467 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29470 char (*f) () = pthread_cancel;
29479 return f != pthread_cancel;
29484 rm -f conftest.
$ac_objext conftest
$ac_exeext
29485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29486 (eval $ac_link) 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } &&
29490 { ac_try
='test -s conftest$ac_exeext'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; }; then
29496 ac_cv_func_pthread_cancel
=yes
29498 echo "$as_me: failed program was:" >&5
29499 sed 's/^/| /' conftest.
$ac_ext >&5
29501 ac_cv_func_pthread_cancel
=no
29503 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29505 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29506 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29507 if test $ac_cv_func_pthread_cancel = yes; then
29508 cat >>confdefs.h
<<\_ACEOF
29509 #define HAVE_PTHREAD_CANCEL 1
29513 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29514 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29518 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29519 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29520 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 cat >conftest.
$ac_ext <<_ACEOF
29525 #line $LINENO "configure"
29528 cat confdefs.h
>>conftest.
$ac_ext
29529 cat >>conftest.
$ac_ext <<_ACEOF
29530 /* end confdefs.h. */
29531 #include <pthread.h>
29536 pthread_cleanup_push(NULL, NULL);
29537 pthread_cleanup_pop(0);
29543 rm -f conftest.
$ac_objext
29544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29545 (eval $ac_compile) 2>&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } &&
29549 { ac_try
='test -s conftest.$ac_objext'
29550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29551 (eval $ac_try) 2>&5
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); }; }; then
29556 wx_cv_func_pthread_cleanup_push
=yes
29559 echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.
$ac_ext >&5
29563 wx_cv_func_pthread_cleanup_push
=no
29566 rm -f conftest.
$ac_objext conftest.
$ac_ext
29569 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29570 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29572 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29573 cat >>confdefs.h
<<\_ACEOF
29574 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29580 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29581 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29582 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 cat >conftest.
$ac_ext <<_ACEOF
29587 #line $LINENO "configure"
29590 cat confdefs.h
>>conftest.
$ac_ext
29591 cat >>conftest.
$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29593 #include <pthread.h>
29598 pthread_mutexattr_t attr;
29599 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29605 rm -f conftest.
$ac_objext
29606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29607 (eval $ac_compile) 2>&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } &&
29611 { ac_try
='test -s conftest.$ac_objext'
29612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29613 (eval $ac_try) 2>&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; }; then
29618 wx_cv_type_pthread_mutexattr_t
=yes
29621 echo "$as_me: failed program was:" >&5
29622 sed 's/^/| /' conftest.
$ac_ext >&5
29625 wx_cv_type_pthread_mutexattr_t
=no
29629 rm -f conftest.
$ac_objext conftest.
$ac_ext
29632 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29633 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29635 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29636 cat >>confdefs.h
<<\_ACEOF
29637 #define HAVE_PTHREAD_MUTEXATTR_T 1
29641 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29642 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29643 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29644 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 cat >conftest.
$ac_ext <<_ACEOF
29648 #line $LINENO "configure"
29651 cat confdefs.h
>>conftest.
$ac_ext
29652 cat >>conftest.
$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 #include <pthread.h>
29659 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29665 rm -f conftest.
$ac_objext
29666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29667 (eval $ac_compile) 2>&5
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); } &&
29671 { ac_try
='test -s conftest.$ac_objext'
29672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29673 (eval $ac_try) 2>&5
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); }; }; then
29678 wx_cv_type_pthread_rec_mutex_init
=yes
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.
$ac_ext >&5
29685 wx_cv_type_pthread_rec_mutex_init
=no
29689 rm -f conftest.
$ac_objext conftest.
$ac_ext
29692 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29693 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29694 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29695 cat >>confdefs.h
<<\_ACEOF
29696 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29700 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29701 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29707 if test "$wxUSE_THREADS" = "yes" ; then
29710 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29711 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29712 if test "${wx_cv_cflags_mthread+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29716 CFLAGS_OLD
="$CFLAGS"
29717 CFLAGS
="$CFLAGS -mthreads"
29718 cat >conftest.
$ac_ext <<_ACEOF
29719 #line $LINENO "configure"
29722 cat confdefs.h
>>conftest.
$ac_ext
29723 cat >>conftest.
$ac_ext <<_ACEOF
29724 /* end confdefs.h. */
29734 rm -f conftest.
$ac_objext
29735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29736 (eval $ac_compile) 2>&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); } &&
29740 { ac_try
='test -s conftest.$ac_objext'
29741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29742 (eval $ac_try) 2>&5
29744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29745 (exit $ac_status); }; }; then
29746 wx_cv_cflags_mthread
=yes
29748 echo "$as_me: failed program was:" >&5
29749 sed 's/^/| /' conftest.
$ac_ext >&5
29751 wx_cv_cflags_mthread
=no
29754 rm -f conftest.
$ac_objext conftest.
$ac_ext
29758 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29759 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29761 if test "$wx_cv_cflags_mthread" = "yes"; then
29762 CXXFLAGS
="$CXXFLAGS -mthreads"
29763 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29764 LDFLAGS
="$LDFLAGS -mthreads"
29766 CFLAGS
="$CFLAGS_OLD"
29773 if test "$wxUSE_THREADS" = "yes"; then
29774 cat >>confdefs.h
<<\_ACEOF
29775 #define wxUSE_THREADS 1
29779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29781 if test "$ac_cv_func_strtok_r" = "yes"; then
29782 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29783 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29784 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29785 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29786 echo "$as_me:$LINENO: result: yes" >&5
29787 echo "${ECHO_T}yes" >&6
29789 echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6
29795 if test "$WXGTK20" = 1 ; then
29796 cat >>confdefs.h
<<_ACEOF
29797 #define __WXGTK20__ $WXGTK20
29803 if test "$WXGTK12" = 1 ; then
29804 cat >>confdefs.h
<<_ACEOF
29805 #define __WXGTK12__ $WXGTK12
29810 if test "$WXGTK127" = 1 ; then
29811 cat >>confdefs.h
<<_ACEOF
29812 #define __WXGTK127__ $WXGTK127
29819 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29824 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29825 wxUSE_DEBUG_INFO
=yes
29829 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29830 cat >>confdefs.h
<<\_ACEOF
29834 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29836 if test "$wxUSE_GTK" = 1 ; then
29837 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29841 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29842 cat >>confdefs.h
<<\_ACEOF
29843 #define wxUSE_MEMORY_TRACING 1
29846 cat >>confdefs.h
<<\_ACEOF
29847 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29850 cat >>confdefs.h
<<\_ACEOF
29851 #define wxUSE_DEBUG_NEW_ALWAYS 1
29854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
29857 if test "$wxUSE_DMALLOC" = "yes" ; then
29858 DMALLOC_LIBS
="-ldmalloc"
29862 if test "$wxUSE_PROFILE" = "yes" ; then
29867 CODE_GEN_FLAGS_CXX
=
29868 if test "$GCC" = "yes" ; then
29869 if test "$wxUSE_NO_RTTI" = "yes" ; then
29870 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
29872 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29873 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29875 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29876 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
29878 if test "$USE_WIN32" = 1 ; then
29879 # I'm not even really sure what this was ever added to solve,
29880 # but someone added it for mingw native builds, so I guess
29881 # they had a reason, right??
29882 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29887 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
29890 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
29896 if test "$wxUSE_OPTIMISE" = "no" ; then
29897 if test "$GCC" = yes ; then
29901 if test "$GCC" = yes ; then
29905 i586
-*-*|i686
-*-* )
29906 OPTIMISE
="${OPTIMISE} "
29915 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29916 cat >>confdefs.h
<<\_ACEOF
29917 #define WXWIN_COMPATIBILITY_2 1
29921 WXWIN_COMPATIBILITY_2_2
="yes"
29924 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29925 cat >>confdefs.h
<<\_ACEOF
29926 #define WXWIN_COMPATIBILITY_2_2 1
29930 WXWIN_COMPATIBILITY_2_4
="yes"
29933 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29934 cat >>confdefs.h
<<\_ACEOF
29935 #define WXWIN_COMPATIBILITY_2_4 1
29941 if test "$wxUSE_GUI" = "yes"; then
29942 cat >>confdefs.h
<<\_ACEOF
29943 #define wxUSE_GUI 1
29948 cat >>confdefs.h
<<\_ACEOF
29949 #define wxUSE_NOGUI 1
29955 if test "$wxUSE_UNIX" = "yes"; then
29956 cat >>confdefs.h
<<\_ACEOF
29957 #define wxUSE_UNIX 1
29963 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29964 cat >>confdefs.h
<<\_ACEOF
29965 #define wxUSE_APPLE_IEEE 1
29970 if test "$wxUSE_TIMER" = "yes"; then
29971 cat >>confdefs.h
<<\_ACEOF
29972 #define wxUSE_TIMER 1
29977 if test "$wxUSE_WAVE" = "yes"; then
29978 cat >>confdefs.h
<<\_ACEOF
29979 #define wxUSE_WAVE 1
29984 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29985 cat >>confdefs.h
<<\_ACEOF
29986 #define wxUSE_CMDLINE_PARSER 1
29991 if test "$wxUSE_STOPWATCH" = "yes"; then
29992 cat >>confdefs.h
<<\_ACEOF
29993 #define wxUSE_STOPWATCH 1
29998 if test "$wxUSE_DATETIME" = "yes"; then
29999 cat >>confdefs.h
<<\_ACEOF
30000 #define wxUSE_DATETIME 1
30005 if test "$wxUSE_FILE" = "yes"; then
30006 cat >>confdefs.h
<<\_ACEOF
30007 #define wxUSE_FILE 1
30012 if test "$wxUSE_FFILE" = "yes"; then
30013 cat >>confdefs.h
<<\_ACEOF
30014 #define wxUSE_FFILE 1
30019 if test "$wxUSE_FILESYSTEM" = "yes"; then
30020 cat >>confdefs.h
<<\_ACEOF
30021 #define wxUSE_FILESYSTEM 1
30026 if test "$wxUSE_FS_INET" = "yes"; then
30027 cat >>confdefs.h
<<\_ACEOF
30028 #define wxUSE_FS_INET 1
30033 if test "$wxUSE_FS_ZIP" = "yes"; then
30034 cat >>confdefs.h
<<\_ACEOF
30035 #define wxUSE_FS_ZIP 1
30040 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30041 cat >>confdefs.h
<<\_ACEOF
30042 #define wxUSE_ZIPSTREAM 1
30047 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30048 cat >>confdefs.h
<<\_ACEOF
30049 #define wxUSE_ON_FATAL_EXCEPTION 1
30054 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30055 cat >>confdefs.h
<<\_ACEOF
30056 #define wxUSE_SNGLINST_CHECKER 1
30061 if test "$wxUSE_BUSYINFO" = "yes"; then
30062 cat >>confdefs.h
<<\_ACEOF
30063 #define wxUSE_BUSYINFO 1
30068 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30069 cat >>confdefs.h
<<\_ACEOF
30070 #define wxUSE_STD_IOSTREAM 1
30075 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30076 cat >>confdefs.h
<<\_ACEOF
30077 #define wxUSE_TEXTBUFFER 1
30082 if test "$wxUSE_TEXTFILE" = "yes"; then
30083 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30084 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30085 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30087 cat >>confdefs.h
<<\_ACEOF
30088 #define wxUSE_TEXTFILE 1
30094 if test "$wxUSE_CONFIG" = "yes" ; then
30095 if test "$wxUSE_TEXTFILE" != "yes"; then
30096 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30097 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30099 cat >>confdefs.h
<<\_ACEOF
30100 #define wxUSE_CONFIG 1
30103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30107 if test "$wxUSE_INTL" = "yes" ; then
30108 if test "$wxUSE_FILE" != "yes"; then
30109 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30110 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30112 cat >>confdefs.h
<<\_ACEOF
30113 #define wxUSE_INTL 1
30116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30117 GUIDIST
="$GUIDIST INTL_DIST"
30121 if test "$wxUSE_LOG" = "yes"; then
30122 cat >>confdefs.h
<<\_ACEOF
30123 #define wxUSE_LOG 1
30127 if test "$wxUSE_LOGGUI" = "yes"; then
30128 cat >>confdefs.h
<<\_ACEOF
30129 #define wxUSE_LOGGUI 1
30134 if test "$wxUSE_LOGWINDOW" = "yes"; then
30135 cat >>confdefs.h
<<\_ACEOF
30136 #define wxUSE_LOGWINDOW 1
30141 if test "$wxUSE_LOGDIALOG" = "yes"; then
30142 cat >>confdefs.h
<<\_ACEOF
30143 #define wxUSE_LOG_DIALOG 1
30149 if test "$wxUSE_LONGLONG" = "yes"; then
30150 cat >>confdefs.h
<<\_ACEOF
30151 #define wxUSE_LONGLONG 1
30156 if test "$wxUSE_GEOMETRY" = "yes"; then
30157 cat >>confdefs.h
<<\_ACEOF
30158 #define wxUSE_GEOMETRY 1
30163 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30164 cat >>confdefs.h
<<\_ACEOF
30165 #define wxUSE_DIALUP_MANAGER 1
30168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30171 if test "$wxUSE_STREAMS" = "yes" ; then
30172 cat >>confdefs.h
<<\_ACEOF
30173 #define wxUSE_STREAMS 1
30179 if test "$wxUSE_DATETIME" = "yes"; then
30181 for ac_func
in strptime
30183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30184 echo "$as_me:$LINENO: checking for $ac_func" >&5
30185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30186 if eval "test \"\${$as_ac_var+set}\" = set"; then
30187 echo $ECHO_N "(cached) $ECHO_C" >&6
30189 cat >conftest.
$ac_ext <<_ACEOF
30190 #line $LINENO "configure"
30193 cat confdefs.h
>>conftest.
$ac_ext
30194 cat >>conftest.
$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30196 /* System header to define __stub macros and hopefully few prototypes,
30197 which can conflict with char $ac_func (); below.
30198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30199 <limits.h> exists even on freestanding compilers. */
30201 # include <limits.h>
30203 # include <assert.h>
30205 /* Override any gcc2 internal prototype to avoid an error. */
30210 /* We use char because int might match the return type of a gcc2
30211 builtin and then its argument prototype would still apply. */
30213 /* The GNU C library defines this for functions which it implements
30214 to always fail with ENOSYS. Some functions are actually named
30215 something starting with __ and the normal name is an alias. */
30216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30219 char (*f) () = $ac_func;
30228 return f != $ac_func;
30233 rm -f conftest.
$ac_objext conftest
$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>&5
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); } &&
30239 { ac_try
='test -s conftest$ac_exeext'
30240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30241 (eval $ac_try) 2>&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); }; }; then
30245 eval "$as_ac_var=yes"
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.
$ac_ext >&5
30250 eval "$as_ac_var=no"
30252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30256 if test `eval echo '${'$as_ac_var'}'` = yes; then
30257 cat >>confdefs.h
<<_ACEOF
30258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30265 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30266 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30267 if test "${wx_cv_var_timezone+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30271 cat >conftest.
$ac_ext <<_ACEOF
30272 #line $LINENO "configure"
30275 cat confdefs.h
>>conftest.
$ac_ext
30276 cat >>conftest.
$ac_ext <<_ACEOF
30277 /* end confdefs.h. */
30292 rm -f conftest.
$ac_objext
30293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30294 (eval $ac_compile) 2>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); } &&
30298 { ac_try
='test -s conftest.$ac_objext'
30299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30300 (eval $ac_try) 2>&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); }; }; then
30305 wx_cv_var_timezone
=timezone
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.
$ac_ext >&5
30312 cat >conftest.
$ac_ext <<_ACEOF
30313 #line $LINENO "configure"
30316 cat confdefs.h
>>conftest.
$ac_ext
30317 cat >>conftest.
$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30333 rm -f conftest.
$ac_objext
30334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30335 (eval $ac_compile) 2>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } &&
30339 { ac_try
='test -s conftest.$ac_objext'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; }; then
30346 wx_cv_var_timezone
=_timezone
30349 echo "$as_me: failed program was:" >&5
30350 sed 's/^/| /' conftest.
$ac_ext >&5
30353 cat >conftest.
$ac_ext <<_ACEOF
30354 #line $LINENO "configure"
30357 cat confdefs.h
>>conftest.
$ac_ext
30358 cat >>conftest.
$ac_ext <<_ACEOF
30359 /* end confdefs.h. */
30374 rm -f conftest.
$ac_objext
30375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30376 (eval $ac_compile) 2>&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); } &&
30380 { ac_try
='test -s conftest.$ac_objext'
30381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30382 (eval $ac_try) 2>&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); }; }; then
30387 wx_cv_var_timezone
=__timezone
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.
$ac_ext >&5
30394 if test "$USE_DOS" = 0 ; then
30395 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30396 echo "$as_me: WARNING: no timezone variable" >&2;}
30401 rm -f conftest.
$ac_objext conftest.
$ac_ext
30405 rm -f conftest.
$ac_objext conftest.
$ac_ext
30409 rm -f conftest.
$ac_objext conftest.
$ac_ext
30413 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30414 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30416 if test "x$wx_cv_var_timezone" != x
; then
30417 cat >>confdefs.h
<<_ACEOF
30418 #define WX_TIMEZONE $wx_cv_var_timezone
30424 for ac_func
in localtime
30426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30427 echo "$as_me:$LINENO: checking for $ac_func" >&5
30428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30429 if eval "test \"\${$as_ac_var+set}\" = set"; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30432 cat >conftest.
$ac_ext <<_ACEOF
30433 #line $LINENO "configure"
30436 cat confdefs.h
>>conftest.
$ac_ext
30437 cat >>conftest.
$ac_ext <<_ACEOF
30438 /* end confdefs.h. */
30439 /* System header to define __stub macros and hopefully few prototypes,
30440 which can conflict with char $ac_func (); below.
30441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30442 <limits.h> exists even on freestanding compilers. */
30444 # include <limits.h>
30446 # include <assert.h>
30448 /* Override any gcc2 internal prototype to avoid an error. */
30453 /* We use char because int might match the return type of a gcc2
30454 builtin and then its argument prototype would still apply. */
30456 /* The GNU C library defines this for functions which it implements
30457 to always fail with ENOSYS. Some functions are actually named
30458 something starting with __ and the normal name is an alias. */
30459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30462 char (*f) () = $ac_func;
30471 return f != $ac_func;
30476 rm -f conftest.
$ac_objext conftest
$ac_exeext
30477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30478 (eval $ac_link) 2>&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try
='test -s conftest$ac_exeext'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; }; then
30488 eval "$as_ac_var=yes"
30490 echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.
$ac_ext >&5
30493 eval "$as_ac_var=no"
30495 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30499 if test `eval echo '${'$as_ac_var'}'` = yes; then
30500 cat >>confdefs.h
<<_ACEOF
30501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30508 if test "$ac_cv_func_localtime" = "yes"; then
30509 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30510 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30511 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30512 echo $ECHO_N "(cached) $ECHO_C" >&6
30515 cat >conftest.
$ac_ext <<_ACEOF
30516 #line $LINENO "configure"
30519 cat confdefs.h
>>conftest.
$ac_ext
30520 cat >>conftest.
$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30536 rm -f conftest.
$ac_objext
30537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30538 (eval $ac_compile) 2>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); } &&
30542 { ac_try
='test -s conftest.$ac_objext'
30543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544 (eval $ac_try) 2>&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; }; then
30549 wx_cv_struct_tm_has_gmtoff
=yes
30552 echo "$as_me: failed program was:" >&5
30553 sed 's/^/| /' conftest.
$ac_ext >&5
30555 wx_cv_struct_tm_has_gmtoff
=no
30558 rm -f conftest.
$ac_objext conftest.
$ac_ext
30561 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30562 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30565 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30566 cat >>confdefs.h
<<\_ACEOF
30567 #define WX_GMTOFF_IN_TM 1
30574 for ac_func
in gettimeofday ftime
30576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30577 echo "$as_me:$LINENO: checking for $ac_func" >&5
30578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30579 if eval "test \"\${$as_ac_var+set}\" = set"; then
30580 echo $ECHO_N "(cached) $ECHO_C" >&6
30582 cat >conftest.
$ac_ext <<_ACEOF
30583 #line $LINENO "configure"
30586 cat confdefs.h
>>conftest.
$ac_ext
30587 cat >>conftest.
$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589 /* System header to define __stub macros and hopefully few prototypes,
30590 which can conflict with char $ac_func (); below.
30591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30592 <limits.h> exists even on freestanding compilers. */
30594 # include <limits.h>
30596 # include <assert.h>
30598 /* Override any gcc2 internal prototype to avoid an error. */
30603 /* We use char because int might match the return type of a gcc2
30604 builtin and then its argument prototype would still apply. */
30606 /* The GNU C library defines this for functions which it implements
30607 to always fail with ENOSYS. Some functions are actually named
30608 something starting with __ and the normal name is an alias. */
30609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30612 char (*f) () = $ac_func;
30621 return f != $ac_func;
30626 rm -f conftest.
$ac_objext conftest
$ac_exeext
30627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30628 (eval $ac_link) 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); } &&
30632 { ac_try
='test -s conftest$ac_exeext'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; }; then
30638 eval "$as_ac_var=yes"
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.
$ac_ext >&5
30643 eval "$as_ac_var=no"
30645 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30649 if test `eval echo '${'$as_ac_var'}'` = yes; then
30650 cat >>confdefs.h
<<_ACEOF
30651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30658 if test "$ac_cv_func_gettimeofday" = "yes"; then
30659 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30660 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30661 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30662 echo $ECHO_N "(cached) $ECHO_C" >&6
30668 ac_cpp
='$CXXCPP $CPPFLAGS'
30669 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30670 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30674 cat >conftest.
$ac_ext <<_ACEOF
30675 #line $LINENO "configure"
30678 cat confdefs.h
>>conftest.
$ac_ext
30679 cat >>conftest.
$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30682 #include <sys/time.h>
30683 #include <unistd.h>
30690 gettimeofday(&tv, NULL);
30696 rm -f conftest.
$ac_objext
30697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30698 (eval $ac_compile) 2>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try
='test -s conftest.$ac_objext'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; }; then
30708 wx_cv_func_gettimeofday_has_2_args
=yes
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.
$ac_ext >&5
30713 cat >conftest.
$ac_ext <<_ACEOF
30714 #line $LINENO "configure"
30717 cat confdefs.h
>>conftest.
$ac_ext
30718 cat >>conftest.
$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30721 #include <sys/time.h>
30722 #include <unistd.h>
30735 rm -f conftest.
$ac_objext
30736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30737 (eval $ac_compile) 2>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try
='test -s conftest.$ac_objext'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; }; then
30747 wx_cv_func_gettimeofday_has_2_args
=no
30749 echo "$as_me: failed program was:" >&5
30750 sed 's/^/| /' conftest.
$ac_ext >&5
30753 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30754 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30755 wx_cv_func_gettimeofday_has_2_args
=unknown
30759 rm -f conftest.
$ac_objext conftest.
$ac_ext
30762 rm -f conftest.
$ac_objext conftest.
$ac_ext
30764 ac_cpp
='$CPP $CPPFLAGS'
30765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30771 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30772 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30774 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30775 cat >>confdefs.h
<<\_ACEOF
30776 #define WX_GETTIMEOFDAY_NO_TZ 1
30782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30786 if test "$wxUSE_SOCKETS" = "yes"; then
30787 if test "$wxUSE_MGL" = "1"; then
30788 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30789 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30794 if test "$wxUSE_SOCKETS" = "yes"; then
30795 if test "$TOOLKIT" != "MSW"; then
30796 echo "$as_me:$LINENO: checking for socket" >&5
30797 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30798 if test "${ac_cv_func_socket+set}" = set; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30801 cat >conftest.
$ac_ext <<_ACEOF
30802 #line $LINENO "configure"
30805 cat confdefs.h
>>conftest.
$ac_ext
30806 cat >>conftest.
$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30808 /* System header to define __stub macros and hopefully few prototypes,
30809 which can conflict with char socket (); below.
30810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30811 <limits.h> exists even on freestanding compilers. */
30813 # include <limits.h>
30815 # include <assert.h>
30817 /* Override any gcc2 internal prototype to avoid an error. */
30822 /* We use char because int might match the return type of a gcc2
30823 builtin and then its argument prototype would still apply. */
30825 /* The GNU C library defines this for functions which it implements
30826 to always fail with ENOSYS. Some functions are actually named
30827 something starting with __ and the normal name is an alias. */
30828 #if defined (__stub_socket) || defined (__stub___socket)
30831 char (*f) () = socket;
30840 return f != socket;
30845 rm -f conftest.
$ac_objext conftest
$ac_exeext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30847 (eval $ac_link) 2>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } &&
30851 { ac_try
='test -s conftest$ac_exeext'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; }; then
30857 ac_cv_func_socket
=yes
30859 echo "$as_me: failed program was:" >&5
30860 sed 's/^/| /' conftest.
$ac_ext >&5
30862 ac_cv_func_socket
=no
30864 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30866 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30867 echo "${ECHO_T}$ac_cv_func_socket" >&6
30868 if test $ac_cv_func_socket = yes; then
30871 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30872 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30873 if test "${ac_cv_lib_socket_socket+set}" = set; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 ac_check_lib_save_LIBS
=$LIBS
30877 LIBS
="-lsocket $LIBS"
30878 cat >conftest.
$ac_ext <<_ACEOF
30879 #line $LINENO "configure"
30882 cat confdefs.h
>>conftest.
$ac_ext
30883 cat >>conftest.
$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30886 /* Override any gcc2 internal prototype to avoid an error. */
30890 /* We use char because int might match the return type of a gcc2
30891 builtin and then its argument prototype would still apply. */
30901 rm -f conftest.
$ac_objext conftest
$ac_exeext
30902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30903 (eval $ac_link) 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } &&
30907 { ac_try
='test -s conftest$ac_exeext'
30908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30909 (eval $ac_try) 2>&5
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); }; }; then
30913 ac_cv_lib_socket_socket
=yes
30915 echo "$as_me: failed program was:" >&5
30916 sed 's/^/| /' conftest.
$ac_ext >&5
30918 ac_cv_lib_socket_socket
=no
30920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30921 LIBS
=$ac_check_lib_save_LIBS
30923 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30924 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30925 if test $ac_cv_lib_socket_socket = yes; then
30926 if test "$INET_LINK" != " -lsocket"; then
30927 INET_LINK
="$INET_LINK -lsocket"
30931 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30932 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30944 if test "$wxUSE_SOCKETS" = "yes" ; then
30945 if test "$TOOLKIT" != "MSW"; then
30946 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30947 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30948 if test "${wx_cv_type_getsockname3+set}" = set; then
30949 echo $ECHO_N "(cached) $ECHO_C" >&6
30952 cat >conftest.
$ac_ext <<_ACEOF
30953 #line $LINENO "configure"
30956 cat confdefs.h
>>conftest.
$ac_ext
30957 cat >>conftest.
$ac_ext <<_ACEOF
30958 /* end confdefs.h. */
30960 #include <sys/types.h>
30961 #include <sys/socket.h>
30968 getsockname(0, 0, &len);
30974 rm -f conftest.
$ac_objext
30975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30976 (eval $ac_compile) 2>&5
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); } &&
30980 { ac_try
='test -s conftest.$ac_objext'
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; }; then
30986 wx_cv_type_getsockname3
=socklen_t
30988 echo "$as_me: failed program was:" >&5
30989 sed 's/^/| /' conftest.
$ac_ext >&5
30992 CFLAGS_OLD
="$CFLAGS"
30993 if test "$GCC" = yes ; then
30994 CFLAGS
="$CFLAGS -Werror"
30997 cat >conftest.
$ac_ext <<_ACEOF
30998 #line $LINENO "configure"
31001 cat confdefs.h
>>conftest.
$ac_ext
31002 cat >>conftest.
$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31005 #include <sys/types.h>
31006 #include <sys/socket.h>
31013 getsockname(0, 0, &len);
31019 rm -f conftest.
$ac_objext
31020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31021 (eval $ac_compile) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); } &&
31025 { ac_try
='test -s conftest.$ac_objext'
31026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31027 (eval $ac_try) 2>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); }; }; then
31031 wx_cv_type_getsockname3
=size_t
31033 echo "$as_me: failed program was:" >&5
31034 sed 's/^/| /' conftest.
$ac_ext >&5
31036 cat >conftest.
$ac_ext <<_ACEOF
31037 #line $LINENO "configure"
31040 cat confdefs.h
>>conftest.
$ac_ext
31041 cat >>conftest.
$ac_ext <<_ACEOF
31042 /* end confdefs.h. */
31044 #include <sys/types.h>
31045 #include <sys/socket.h>
31052 getsockname(0, 0, &len);
31058 rm -f conftest.
$ac_objext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31060 (eval $ac_compile) 2>&5
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); } &&
31064 { ac_try
='test -s conftest.$ac_objext'
31065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31066 (eval $ac_try) 2>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; }; then
31070 wx_cv_type_getsockname3
=int
31072 echo "$as_me: failed program was:" >&5
31073 sed 's/^/| /' conftest.
$ac_ext >&5
31075 wx_cv_type_getsockname3
=unknown
31078 rm -f conftest.
$ac_objext conftest.
$ac_ext
31081 rm -f conftest.
$ac_objext conftest.
$ac_ext
31083 CFLAGS
="$CFLAGS_OLD"
31087 rm -f conftest.
$ac_objext conftest.
$ac_ext
31090 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31091 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31093 if test "$wx_cv_type_getsockname3" = "unknown"; then
31095 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31096 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31098 cat >>confdefs.h
<<_ACEOF
31099 #define SOCKLEN_T $wx_cv_type_getsockname3
31106 if test "$wxUSE_SOCKETS" = "yes" ; then
31107 cat >>confdefs.h
<<\_ACEOF
31108 #define wxUSE_SOCKETS 1
31111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31115 if test "$wxUSE_GUI" = "yes"; then
31117 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31118 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31119 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31122 if test "$TOOLKIT" = "MOTIF"; then
31123 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31124 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31127 if test "$TOOLKIT" = "X11"; then
31128 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31129 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31133 if test "$TOOLKIT" != "MSW"; then
31134 if test "$wxUSE_JOYSTICK" = "yes"; then
31136 for ac_header
in linux
/joystick.h
31138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31140 echo "$as_me:$LINENO: checking for $ac_header" >&5
31141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31143 echo $ECHO_N "(cached) $ECHO_C" >&6
31145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31148 # Is the header compilable?
31149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31151 cat >conftest.
$ac_ext <<_ACEOF
31152 #line $LINENO "configure"
31155 cat confdefs.h
>>conftest.
$ac_ext
31156 cat >>conftest.
$ac_ext <<_ACEOF
31157 /* end confdefs.h. */
31158 $ac_includes_default
31159 #include <$ac_header>
31161 rm -f conftest.
$ac_objext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31163 (eval $ac_compile) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try
='test -s conftest.$ac_objext'
31168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31169 (eval $ac_try) 2>&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); }; }; then
31173 ac_header_compiler
=yes
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.
$ac_ext >&5
31178 ac_header_compiler
=no
31180 rm -f conftest.
$ac_objext conftest.
$ac_ext
31181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31182 echo "${ECHO_T}$ac_header_compiler" >&6
31184 # Is the header present?
31185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31187 cat >conftest.
$ac_ext <<_ACEOF
31188 #line $LINENO "configure"
31191 cat confdefs.h
>>conftest.
$ac_ext
31192 cat >>conftest.
$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194 #include <$ac_header>
31196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31199 grep -v '^ *+' conftest.er1
>conftest.err
31201 cat conftest.err
>&5
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); } >/dev
/null
; then
31204 if test -s conftest.err
; then
31205 ac_cpp_err
=$ac_c_preproc_warn_flag
31212 if test -z "$ac_cpp_err"; then
31213 ac_header_preproc
=yes
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.
$ac_ext >&5
31218 ac_header_preproc
=no
31220 rm -f conftest.err conftest.
$ac_ext
31221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31222 echo "${ECHO_T}$ac_header_preproc" >&6
31224 # So? What about this header?
31225 case $ac_header_compiler:$ac_header_preproc in
31227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31233 ## ------------------------------------ ##
31234 ## Report this to bug-autoconf@gnu.org. ##
31235 ## ------------------------------------ ##
31238 sed "s/^/$as_me: WARNING: /" >&2
31241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31249 ## ------------------------------------ ##
31250 ## Report this to bug-autoconf@gnu.org. ##
31251 ## ------------------------------------ ##
31254 sed "s/^/$as_me: WARNING: /" >&2
31257 echo "$as_me:$LINENO: checking for $ac_header" >&5
31258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31260 echo $ECHO_N "(cached) $ECHO_C" >&6
31262 eval "$as_ac_Header=$ac_header_preproc"
31264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31269 cat >>confdefs.h
<<_ACEOF
31270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31277 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31279 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31280 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31285 if test "$wxUSE_JOYSTICK" = "yes"; then
31286 cat >>confdefs.h
<<\_ACEOF
31287 #define wxUSE_JOYSTICK 1
31290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31295 if test "$TOOLKIT" != "MSW"; then
31299 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31300 if test "$USE_DARWIN" = 1; then
31304 for ac_func
in dlopen
31306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31307 echo "$as_me:$LINENO: checking for $ac_func" >&5
31308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31309 if eval "test \"\${$as_ac_var+set}\" = set"; then
31310 echo $ECHO_N "(cached) $ECHO_C" >&6
31312 cat >conftest.
$ac_ext <<_ACEOF
31313 #line $LINENO "configure"
31316 cat confdefs.h
>>conftest.
$ac_ext
31317 cat >>conftest.
$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31319 /* System header to define __stub macros and hopefully few prototypes,
31320 which can conflict with char $ac_func (); below.
31321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31322 <limits.h> exists even on freestanding compilers. */
31324 # include <limits.h>
31326 # include <assert.h>
31328 /* Override any gcc2 internal prototype to avoid an error. */
31333 /* We use char because int might match the return type of a gcc2
31334 builtin and then its argument prototype would still apply. */
31336 /* The GNU C library defines this for functions which it implements
31337 to always fail with ENOSYS. Some functions are actually named
31338 something starting with __ and the normal name is an alias. */
31339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31342 char (*f) () = $ac_func;
31351 return f != $ac_func;
31356 rm -f conftest.
$ac_objext conftest
$ac_exeext
31357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31358 (eval $ac_link) 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); } &&
31362 { ac_try
='test -s conftest$ac_exeext'
31363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31364 (eval $ac_try) 2>&5
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); }; }; then
31368 eval "$as_ac_var=yes"
31370 echo "$as_me: failed program was:" >&5
31371 sed 's/^/| /' conftest.
$ac_ext >&5
31373 eval "$as_ac_var=no"
31375 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31379 if test `eval echo '${'$as_ac_var'}'` = yes; then
31380 cat >>confdefs.h
<<_ACEOF
31381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31384 cat >>confdefs.h
<<\_ACEOF
31385 #define HAVE_DLOPEN 1
31392 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31393 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31394 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 ac_check_lib_save_LIBS
=$LIBS
31399 cat >conftest.
$ac_ext <<_ACEOF
31400 #line $LINENO "configure"
31403 cat confdefs.h
>>conftest.
$ac_ext
31404 cat >>conftest.
$ac_ext <<_ACEOF
31405 /* end confdefs.h. */
31407 /* Override any gcc2 internal prototype to avoid an error. */
31411 /* We use char because int might match the return type of a gcc2
31412 builtin and then its argument prototype would still apply. */
31422 rm -f conftest.
$ac_objext conftest
$ac_exeext
31423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31424 (eval $ac_link) 2>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); } &&
31428 { ac_try
='test -s conftest$ac_exeext'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; }; then
31434 ac_cv_lib_dl_dlopen
=yes
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.
$ac_ext >&5
31439 ac_cv_lib_dl_dlopen
=no
31441 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31442 LIBS
=$ac_check_lib_save_LIBS
31444 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31445 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31446 if test $ac_cv_lib_dl_dlopen = yes; then
31448 cat >>confdefs.h
<<\_ACEOF
31449 #define HAVE_DLOPEN 1
31453 DL_LINK
=" -ldl$DL_LINK"
31458 for ac_func
in shl_load
31460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31461 echo "$as_me:$LINENO: checking for $ac_func" >&5
31462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31463 if eval "test \"\${$as_ac_var+set}\" = set"; then
31464 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 cat >conftest.
$ac_ext <<_ACEOF
31467 #line $LINENO "configure"
31470 cat confdefs.h
>>conftest.
$ac_ext
31471 cat >>conftest.
$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473 /* System header to define __stub macros and hopefully few prototypes,
31474 which can conflict with char $ac_func (); below.
31475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31476 <limits.h> exists even on freestanding compilers. */
31478 # include <limits.h>
31480 # include <assert.h>
31482 /* Override any gcc2 internal prototype to avoid an error. */
31487 /* We use char because int might match the return type of a gcc2
31488 builtin and then its argument prototype would still apply. */
31490 /* The GNU C library defines this for functions which it implements
31491 to always fail with ENOSYS. Some functions are actually named
31492 something starting with __ and the normal name is an alias. */
31493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31496 char (*f) () = $ac_func;
31505 return f != $ac_func;
31510 rm -f conftest.
$ac_objext conftest
$ac_exeext
31511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31512 (eval $ac_link) 2>&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); } &&
31516 { ac_try
='test -s conftest$ac_exeext'
31517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31518 (eval $ac_try) 2>&5
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); }; }; then
31522 eval "$as_ac_var=yes"
31524 echo "$as_me: failed program was:" >&5
31525 sed 's/^/| /' conftest.
$ac_ext >&5
31527 eval "$as_ac_var=no"
31529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31533 if test `eval echo '${'$as_ac_var'}'` = yes; then
31534 cat >>confdefs.h
<<_ACEOF
31535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31538 cat >>confdefs.h
<<\_ACEOF
31539 #define HAVE_SHL_LOAD 1
31546 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31547 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31548 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31551 ac_check_lib_save_LIBS
=$LIBS
31552 LIBS
="-lshl_load $LIBS"
31553 cat >conftest.
$ac_ext <<_ACEOF
31554 #line $LINENO "configure"
31557 cat confdefs.h
>>conftest.
$ac_ext
31558 cat >>conftest.
$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31561 /* Override any gcc2 internal prototype to avoid an error. */
31565 /* We use char because int might match the return type of a gcc2
31566 builtin and then its argument prototype would still apply. */
31576 rm -f conftest.
$ac_objext conftest
$ac_exeext
31577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31578 (eval $ac_link) 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); } &&
31582 { ac_try
='test -s conftest$ac_exeext'
31583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31584 (eval $ac_try) 2>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); }; }; then
31588 ac_cv_lib_shl_load_dld
=yes
31590 echo "$as_me: failed program was:" >&5
31591 sed 's/^/| /' conftest.
$ac_ext >&5
31593 ac_cv_lib_shl_load_dld
=no
31595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31596 LIBS
=$ac_check_lib_save_LIBS
31598 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31599 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31600 if test $ac_cv_lib_shl_load_dld = yes; then
31603 DL_LINK
=" -ldld$DL_LINK"
31619 if test "$HAVE_DL_FUNCS" = 1; then
31621 for ac_func
in dlerror
31623 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31624 echo "$as_me:$LINENO: checking for $ac_func" >&5
31625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31626 if eval "test \"\${$as_ac_var+set}\" = set"; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31629 cat >conftest.
$ac_ext <<_ACEOF
31630 #line $LINENO "configure"
31633 cat confdefs.h
>>conftest.
$ac_ext
31634 cat >>conftest.
$ac_ext <<_ACEOF
31635 /* end confdefs.h. */
31636 /* System header to define __stub macros and hopefully few prototypes,
31637 which can conflict with char $ac_func (); below.
31638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31639 <limits.h> exists even on freestanding compilers. */
31641 # include <limits.h>
31643 # include <assert.h>
31645 /* Override any gcc2 internal prototype to avoid an error. */
31650 /* We use char because int might match the return type of a gcc2
31651 builtin and then its argument prototype would still apply. */
31653 /* The GNU C library defines this for functions which it implements
31654 to always fail with ENOSYS. Some functions are actually named
31655 something starting with __ and the normal name is an alias. */
31656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31659 char (*f) () = $ac_func;
31668 return f != $ac_func;
31673 rm -f conftest.
$ac_objext conftest
$ac_exeext
31674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31675 (eval $ac_link) 2>&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); } &&
31679 { ac_try
='test -s conftest$ac_exeext'
31680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31681 (eval $ac_try) 2>&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); }; }; then
31685 eval "$as_ac_var=yes"
31687 echo "$as_me: failed program was:" >&5
31688 sed 's/^/| /' conftest.
$ac_ext >&5
31690 eval "$as_ac_var=no"
31692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31696 if test `eval echo '${'$as_ac_var'}'` = yes; then
31697 cat >>confdefs.h
<<_ACEOF
31698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31700 cat >>confdefs.h
<<\_ACEOF
31701 #define HAVE_DLERROR 1
31705 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31706 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31707 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31708 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 ac_check_lib_save_LIBS
=$LIBS
31712 cat >conftest.
$ac_ext <<_ACEOF
31713 #line $LINENO "configure"
31716 cat confdefs.h
>>conftest.
$ac_ext
31717 cat >>conftest.
$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31720 /* Override any gcc2 internal prototype to avoid an error. */
31724 /* We use char because int might match the return type of a gcc2
31725 builtin and then its argument prototype would still apply. */
31735 rm -f conftest.
$ac_objext conftest
$ac_exeext
31736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31737 (eval $ac_link) 2>&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); } &&
31741 { ac_try
='test -s conftest$ac_exeext'
31742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743 (eval $ac_try) 2>&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; }; then
31747 ac_cv_lib_dl_dlerror
=yes
31749 echo "$as_me: failed program was:" >&5
31750 sed 's/^/| /' conftest.
$ac_ext >&5
31752 ac_cv_lib_dl_dlerror
=no
31754 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31755 LIBS
=$ac_check_lib_save_LIBS
31757 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31758 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31759 if test $ac_cv_lib_dl_dlerror = yes; then
31760 cat >>confdefs.h
<<\_ACEOF
31761 #define HAVE_DLERROR 1
31772 if test "$HAVE_DL_FUNCS" = 0; then
31773 if test "$HAVE_SHL_FUNCS" = 0; then
31774 if test "$USE_UNIX" = 1; then
31775 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31776 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31777 wxUSE_DYNAMIC_LOADER
=no
31778 wxUSE_DYNLIB_CLASS
=no
31780 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31781 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31788 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31789 cat >>confdefs.h
<<\_ACEOF
31790 #define wxUSE_DYNAMIC_LOADER 1
31793 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31794 cat >>confdefs.h
<<\_ACEOF
31795 #define wxUSE_DYNLIB_CLASS 1
31801 if test "$wxUSE_FONTMAP" = "yes" ; then
31802 cat >>confdefs.h
<<\_ACEOF
31803 #define wxUSE_FONTMAP 1
31808 if test "$wxUSE_UNICODE" = "yes" ; then
31809 cat >>confdefs.h
<<\_ACEOF
31810 #define wxUSE_UNICODE 1
31814 if test "$wxUSE_MSW" != 1; then
31815 wxUSE_UNICODE_MSLU
=no
31818 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31819 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31820 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31821 if test "${ac_cv_lib_unicows_main+set}" = set; then
31822 echo $ECHO_N "(cached) $ECHO_C" >&6
31824 ac_check_lib_save_LIBS
=$LIBS
31825 LIBS
="-lunicows $LIBS"
31826 cat >conftest.
$ac_ext <<_ACEOF
31827 #line $LINENO "configure"
31830 cat confdefs.h
>>conftest.
$ac_ext
31831 cat >>conftest.
$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31843 rm -f conftest.
$ac_objext conftest
$ac_exeext
31844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31845 (eval $ac_link) 2>&5
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); } &&
31849 { ac_try
='test -s conftest$ac_exeext'
31850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851 (eval $ac_try) 2>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); }; }; then
31855 ac_cv_lib_unicows_main
=yes
31857 echo "$as_me: failed program was:" >&5
31858 sed 's/^/| /' conftest.
$ac_ext >&5
31860 ac_cv_lib_unicows_main
=no
31862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31863 LIBS
=$ac_check_lib_save_LIBS
31865 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31866 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31867 if test $ac_cv_lib_unicows_main = yes; then
31869 cat >>confdefs.h
<<\_ACEOF
31870 #define wxUSE_UNICODE_MSLU 1
31876 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31877 Applications will only run on Windows NT/2000/XP!" >&5
31878 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31879 Applications will only run on Windows NT/2000/XP!" >&2;}
31880 wxUSE_UNICODE_MSLU
=no
31887 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31888 cat >>confdefs.h
<<\_ACEOF
31889 #define wxUSE_EXPERIMENTAL_PRINTF 1
31895 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31896 cat >>confdefs.h
<<\_ACEOF
31897 #define wxUSE_POSTSCRIPT 1
31902 cat >>confdefs.h
<<\_ACEOF
31903 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31907 cat >>confdefs.h
<<\_ACEOF
31908 #define wxUSE_NORMALIZED_PS_FONTS 1
31913 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31914 cat >>confdefs.h
<<\_ACEOF
31915 #define wxUSE_CONSTRAINTS 1
31918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
31921 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31924 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31925 cat >>confdefs.h
<<\_ACEOF
31926 #define wxUSE_MDI_ARCHITECTURE 1
31929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
31933 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31934 cat >>confdefs.h
<<\_ACEOF
31935 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
31939 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
31944 if test "$wxUSE_HELP" = "yes"; then
31945 cat >>confdefs.h
<<\_ACEOF
31946 #define wxUSE_HELP 1
31949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
31951 if test "$wxUSE_MSW" = 1; then
31952 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31953 cat >>confdefs.h
<<\_ACEOF
31954 #define wxUSE_MS_HTML_HELP 1
31960 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31961 if test "$wxUSE_HTML" = "yes"; then
31962 cat >>confdefs.h
<<\_ACEOF
31963 #define wxUSE_WXHTML_HELP 1
31967 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31968 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31969 wxUSE_WXHTML_HELP
=no
31974 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31975 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31976 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31977 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31979 cat >>confdefs.h
<<\_ACEOF
31980 #define wxUSE_PRINTING_ARCHITECTURE 1
31984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
31987 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31988 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31989 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31990 { (exit 1); exit 1; }; }
31994 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
31995 -o "$wxUSE_CLIPBOARD" = "yes" \
31996 -o "$wxUSE_OLE" = "yes" \
31997 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
31999 for ac_header
in ole2.h
32001 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32003 echo "$as_me:$LINENO: checking for $ac_header" >&5
32004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32006 echo $ECHO_N "(cached) $ECHO_C" >&6
32008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32011 # Is the header compilable?
32012 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32013 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32014 cat >conftest.
$ac_ext <<_ACEOF
32015 #line $LINENO "configure"
32018 cat confdefs.h
>>conftest.
$ac_ext
32019 cat >>conftest.
$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 $ac_includes_default
32022 #include <$ac_header>
32024 rm -f conftest.
$ac_objext
32025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32026 (eval $ac_compile) 2>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); } &&
32030 { ac_try
='test -s conftest.$ac_objext'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; }; then
32036 ac_header_compiler
=yes
32038 echo "$as_me: failed program was:" >&5
32039 sed 's/^/| /' conftest.
$ac_ext >&5
32041 ac_header_compiler
=no
32043 rm -f conftest.
$ac_objext conftest.
$ac_ext
32044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32045 echo "${ECHO_T}$ac_header_compiler" >&6
32047 # Is the header present?
32048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32050 cat >conftest.
$ac_ext <<_ACEOF
32051 #line $LINENO "configure"
32054 cat confdefs.h
>>conftest.
$ac_ext
32055 cat >>conftest.
$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 #include <$ac_header>
32059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32062 grep -v '^ *+' conftest.er1
>conftest.err
32064 cat conftest.err
>&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } >/dev
/null
; then
32067 if test -s conftest.err
; then
32068 ac_cpp_err
=$ac_c_preproc_warn_flag
32075 if test -z "$ac_cpp_err"; then
32076 ac_header_preproc
=yes
32078 echo "$as_me: failed program was:" >&5
32079 sed 's/^/| /' conftest.
$ac_ext >&5
32081 ac_header_preproc
=no
32083 rm -f conftest.err conftest.
$ac_ext
32084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32085 echo "${ECHO_T}$ac_header_preproc" >&6
32087 # So? What about this header?
32088 case $ac_header_compiler:$ac_header_preproc in
32090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32096 ## ------------------------------------ ##
32097 ## Report this to bug-autoconf@gnu.org. ##
32098 ## ------------------------------------ ##
32101 sed "s/^/$as_me: WARNING: /" >&2
32104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32112 ## ------------------------------------ ##
32113 ## Report this to bug-autoconf@gnu.org. ##
32114 ## ------------------------------------ ##
32117 sed "s/^/$as_me: WARNING: /" >&2
32120 echo "$as_me:$LINENO: checking for $ac_header" >&5
32121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32125 eval "$as_ac_Header=$ac_header_preproc"
32127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32132 cat >>confdefs.h
<<_ACEOF
32133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32141 if test "$ac_cv_header_ole2_h" = "yes" ; then
32142 if test "$GCC" = yes ; then
32146 ac_cpp
='$CXXCPP $CPPFLAGS'
32147 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32148 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32149 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32152 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32153 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32154 cat >conftest.
$ac_ext <<_ACEOF
32155 #line $LINENO "configure"
32158 cat confdefs.h
>>conftest.
$ac_ext
32159 cat >>conftest.
$ac_ext <<_ACEOF
32160 /* end confdefs.h. */
32161 #include <windows.h>
32171 rm -f conftest.
$ac_objext
32172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32173 (eval $ac_compile) 2>&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); } &&
32177 { ac_try
='test -s conftest.$ac_objext'
32178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32179 (eval $ac_try) 2>&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); }; }; then
32183 echo "$as_me:$LINENO: result: no" >&5
32184 echo "${ECHO_T}no" >&6
32186 echo "$as_me: failed program was:" >&5
32187 sed 's/^/| /' conftest.
$ac_ext >&5
32189 echo "$as_me:$LINENO: result: yes" >&5
32190 echo "${ECHO_T}yes" >&6
32191 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32193 rm -f conftest.
$ac_objext conftest.
$ac_ext
32195 ac_cpp
='$CPP $CPPFLAGS'
32196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32200 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32201 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32202 cat >>confdefs.h
<<\_ACEOF
32203 #define wxUSE_OLE 1
32209 cat >>confdefs.h
<<\_ACEOF
32210 #define wxUSE_DATAOBJ 1
32214 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32215 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32218 wxUSE_DRAG_AND_DROP
=no
32223 if test "$wxUSE_METAFILE" = "yes"; then
32224 cat >>confdefs.h
<<\_ACEOF
32225 #define wxUSE_METAFILE 1
32229 cat >>confdefs.h
<<\_ACEOF
32230 #define wxUSE_ENH_METAFILE 1
32236 if test "$wxUSE_IPC" = "yes"; then
32237 if test "$wxUSE_SOCKETS" != "yes"; then
32238 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32239 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32242 cat >>confdefs.h
<<\_ACEOF
32243 #define wxUSE_IPC 1
32248 if test "$wxUSE_CLIPBOARD" = "yes"; then
32249 if test "$wxUSE_MGL" = 1; then
32250 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32251 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32255 if test "$wxUSE_CLIPBOARD" = "yes"; then
32256 cat >>confdefs.h
<<\_ACEOF
32257 #define wxUSE_CLIPBOARD 1
32261 cat >>confdefs.h
<<\_ACEOF
32262 #define wxUSE_DATAOBJ 1
32268 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32269 if test "$wxUSE_GTK" = 1; then
32270 if test "$WXGTK12" != 1; then
32271 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32272 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32273 wxUSE_DRAG_AND_DROP
=no
32277 if test "$wxUSE_MOTIF" = 1; then
32278 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32279 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32280 wxUSE_DRAG_AND_DROP
=no
32283 if test "$wxUSE_X11" = 1; then
32284 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32285 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32286 wxUSE_DRAG_AND_DROP
=no
32289 if test "$wxUSE_MGL" = 1; then
32290 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32291 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32292 wxUSE_DRAG_AND_DROP
=no
32295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32296 cat >>confdefs.h
<<\_ACEOF
32297 #define wxUSE_DRAG_AND_DROP 1
32300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32305 if test "$wxUSE_SPLINES" = "yes" ; then
32306 cat >>confdefs.h
<<\_ACEOF
32307 #define wxUSE_SPLINES 1
32314 if test "$wxUSE_CONTROLS" = "yes"; then
32318 if test "$wxUSE_ACCEL" = "yes"; then
32319 cat >>confdefs.h
<<\_ACEOF
32320 #define wxUSE_ACCEL 1
32326 if test "$wxUSE_BUTTON" = "yes"; then
32327 cat >>confdefs.h
<<\_ACEOF
32328 #define wxUSE_BUTTON 1
32334 if test "$wxUSE_BMPBUTTON" = "yes"; then
32335 cat >>confdefs.h
<<\_ACEOF
32336 #define wxUSE_BMPBUTTON 1
32342 if test "$wxUSE_CALCTRL" = "yes"; then
32343 cat >>confdefs.h
<<\_ACEOF
32344 #define wxUSE_CALENDARCTRL 1
32348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32351 if test "$wxUSE_CARET" = "yes"; then
32352 cat >>confdefs.h
<<\_ACEOF
32353 #define wxUSE_CARET 1
32357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32360 if test "$wxUSE_COMBOBOX" = "yes"; then
32361 cat >>confdefs.h
<<\_ACEOF
32362 #define wxUSE_COMBOBOX 1
32368 if test "$wxUSE_CHOICE" = "yes"; then
32369 cat >>confdefs.h
<<\_ACEOF
32370 #define wxUSE_CHOICE 1
32376 if test "$wxUSE_CHECKBOX" = "yes"; then
32377 cat >>confdefs.h
<<\_ACEOF
32378 #define wxUSE_CHECKBOX 1
32384 if test "$wxUSE_CHECKLST" = "yes"; then
32385 cat >>confdefs.h
<<\_ACEOF
32386 #define wxUSE_CHECKLISTBOX 1
32390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32393 if test "$wxUSE_DISPLAY" = "yes"; then
32394 cat >>confdefs.h
<<\_ACEOF
32395 #define wxUSE_DISPLAY 1
32398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32401 if test "$wxUSE_GAUGE" = "yes"; then
32402 cat >>confdefs.h
<<\_ACEOF
32403 #define wxUSE_GAUGE 1
32409 if test "$wxUSE_GRID" = "yes"; then
32410 cat >>confdefs.h
<<\_ACEOF
32411 #define wxUSE_GRID 1
32415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32418 if test "$wxUSE_IMAGLIST" = "yes"; then
32419 cat >>confdefs.h
<<\_ACEOF
32420 #define wxUSE_IMAGLIST 1
32425 if test "$wxUSE_LISTBOX" = "yes"; then
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define wxUSE_LISTBOX 1
32433 if test "$wxUSE_LISTCTRL" = "yes"; then
32434 if test "$wxUSE_IMAGLIST" = "yes"; then
32435 cat >>confdefs.h
<<\_ACEOF
32436 #define wxUSE_LISTCTRL 1
32440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32442 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32443 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32447 if test "$wxUSE_NOTEBOOK" = "yes"; then
32448 cat >>confdefs.h
<<\_ACEOF
32449 #define wxUSE_NOTEBOOK 1
32453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32457 if test "$wxUSE_RADIOBOX" = "yes"; then
32458 cat >>confdefs.h
<<\_ACEOF
32459 #define wxUSE_RADIOBOX 1
32465 if test "$wxUSE_RADIOBTN" = "yes"; then
32466 cat >>confdefs.h
<<\_ACEOF
32467 #define wxUSE_RADIOBTN 1
32473 if test "$wxUSE_SASH" = "yes"; then
32474 cat >>confdefs.h
<<\_ACEOF
32475 #define wxUSE_SASH 1
32478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32481 if test "$wxUSE_SCROLLBAR" = "yes"; then
32482 cat >>confdefs.h
<<\_ACEOF
32483 #define wxUSE_SCROLLBAR 1
32487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32490 if test "$wxUSE_SLIDER" = "yes"; then
32491 cat >>confdefs.h
<<\_ACEOF
32492 #define wxUSE_SLIDER 1
32498 if test "$wxUSE_SPINBTN" = "yes"; then
32499 cat >>confdefs.h
<<\_ACEOF
32500 #define wxUSE_SPINBTN 1
32506 if test "$wxUSE_SPINCTRL" = "yes"; then
32507 cat >>confdefs.h
<<\_ACEOF
32508 #define wxUSE_SPINCTRL 1
32514 if test "$wxUSE_SPLITTER" = "yes"; then
32515 cat >>confdefs.h
<<\_ACEOF
32516 #define wxUSE_SPLITTER 1
32519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32522 if test "$wxUSE_STATBMP" = "yes"; then
32523 cat >>confdefs.h
<<\_ACEOF
32524 #define wxUSE_STATBMP 1
32530 if test "$wxUSE_STATBOX" = "yes"; then
32531 cat >>confdefs.h
<<\_ACEOF
32532 #define wxUSE_STATBOX 1
32538 if test "$wxUSE_STATTEXT" = "yes"; then
32539 cat >>confdefs.h
<<\_ACEOF
32540 #define wxUSE_STATTEXT 1
32546 if test "$wxUSE_STATLINE" = "yes"; then
32547 cat >>confdefs.h
<<\_ACEOF
32548 #define wxUSE_STATLINE 1
32554 if test "$wxUSE_STATUSBAR" = "yes"; then
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_STATUSBAR 1
32561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32564 if test "$wxUSE_TABDIALOG" = "yes"; then
32565 cat >>confdefs.h
<<\_ACEOF
32566 #define wxUSE_TAB_DIALOG 1
32569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32572 if test "$wxUSE_TEXTCTRL" = "yes"; then
32573 cat >>confdefs.h
<<\_ACEOF
32574 #define wxUSE_TEXTCTRL 1
32578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32581 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32582 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32583 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32584 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32587 if test "$wxUSE_UNIVERSAL" = "yes"; then
32588 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32589 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32593 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32594 cat >>confdefs.h
<<\_ACEOF
32595 #define wxUSE_TOGGLEBTN 1
32602 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32603 cat >>confdefs.h
<<\_ACEOF
32604 #define wxUSE_TOOLBAR_SIMPLE 1
32607 wxUSE_TOOLBAR
="yes"
32611 if test "$wxUSE_TOOLBAR" = "yes"; then
32612 cat >>confdefs.h
<<\_ACEOF
32613 #define wxUSE_TOOLBAR 1
32618 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32619 wxUSE_TOOLBAR_NATIVE
="yes"
32622 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32623 cat >>confdefs.h
<<\_ACEOF
32624 #define wxUSE_TOOLBAR_NATIVE 1
32630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32633 if test "$wxUSE_TOOLTIPS" = "yes"; then
32634 if test "$wxUSE_MOTIF" = 1; then
32635 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32636 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32638 if test "$wxUSE_UNIVERSAL" = "yes"; then
32639 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32640 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32642 cat >>confdefs.h
<<\_ACEOF
32643 #define wxUSE_TOOLTIPS 1
32650 if test "$wxUSE_TREECTRL" = "yes"; then
32651 if test "$wxUSE_IMAGLIST" = "yes"; then
32652 cat >>confdefs.h
<<\_ACEOF
32653 #define wxUSE_TREECTRL 1
32657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32659 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32660 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32664 if test "$wxUSE_POPUPWIN" = "yes"; then
32665 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32666 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32667 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32669 if test "$wxUSE_MOTIF" = 1; then
32670 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32671 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32673 if test "$wxUSE_PM" = 1; then
32674 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32675 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32677 cat >>confdefs.h
<<\_ACEOF
32678 #define wxUSE_POPUPWIN 1
32688 if test "$wxUSE_TIPWINDOW" = "yes"; then
32689 if test "$wxUSE_PM" = 1; then
32690 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32691 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32693 cat >>confdefs.h
<<\_ACEOF
32694 #define wxUSE_TIPWINDOW 1
32700 if test "$USES_CONTROLS" = 1; then
32701 cat >>confdefs.h
<<\_ACEOF
32702 #define wxUSE_CONTROLS 1
32709 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32710 cat >>confdefs.h
<<\_ACEOF
32711 #define wxUSE_DRAGIMAGE 1
32714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32717 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32718 cat >>confdefs.h
<<\_ACEOF
32719 #define wxUSE_ACCESSIBILITY 1
32722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32725 if test "$wxUSE_MENUS" = "yes"; then
32726 cat >>confdefs.h
<<\_ACEOF
32727 #define wxUSE_MENUS 1
32730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32733 if test "$wxUSE_METAFILE" = "yes"; then
32734 cat >>confdefs.h
<<\_ACEOF
32735 #define wxUSE_METAFILE 1
32740 if test "$wxUSE_MIMETYPE" = "yes"; then
32741 cat >>confdefs.h
<<\_ACEOF
32742 #define wxUSE_MIMETYPE 1
32747 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32748 cat >>confdefs.h
<<\_ACEOF
32749 #define wxUSE_SYSTEM_OPTIONS 1
32752 if test "$TOOLKIT" = "MSW"; then
32753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32758 if test "$wxUSE_PROTOCOL" = "yes"; then
32759 if test "$wxUSE_SOCKETS" != "yes"; then
32760 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32761 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32765 if test "$wxUSE_PROTOCOL" = "yes"; then
32766 cat >>confdefs.h
<<\_ACEOF
32767 #define wxUSE_PROTOCOL 1
32771 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32772 cat >>confdefs.h
<<\_ACEOF
32773 #define wxUSE_PROTOCOL_HTTP 1
32777 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32778 cat >>confdefs.h
<<\_ACEOF
32779 #define wxUSE_PROTOCOL_FTP 1
32783 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32784 cat >>confdefs.h
<<\_ACEOF
32785 #define wxUSE_PROTOCOL_FILE 1
32792 if test "$wxUSE_URL" = "yes"; then
32793 if test "$wxUSE_PROTOCOL" != "yes"; then
32794 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32795 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32798 if test "$wxUSE_URL" = "yes"; then
32799 cat >>confdefs.h
<<\_ACEOF
32800 #define wxUSE_URL 1
32806 if test "$wxUSE_MINIFRAME" = "yes"; then
32807 cat >>confdefs.h
<<\_ACEOF
32808 #define wxUSE_MINIFRAME 1
32811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32814 if test "$wxUSE_HTML" = "yes"; then
32815 cat >>confdefs.h
<<\_ACEOF
32816 #define wxUSE_HTML 1
32819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html htlbox"
32822 if test "$wxUSE_VALIDATORS" = "yes"; then
32823 cat >>confdefs.h
<<\_ACEOF
32824 #define wxUSE_VALIDATORS 1
32827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32830 if test "$wxUSE_PALETTE" = "yes" ; then
32831 cat >>confdefs.h
<<\_ACEOF
32832 #define wxUSE_PALETTE 1
32837 if test "$wxUSE_IMAGE" = "yes" ; then
32838 cat >>confdefs.h
<<\_ACEOF
32839 #define wxUSE_IMAGE 1
32844 if test "$wxUSE_GIF" = "yes" ; then
32845 cat >>confdefs.h
<<\_ACEOF
32846 #define wxUSE_GIF 1
32851 if test "$wxUSE_PCX" = "yes" ; then
32852 cat >>confdefs.h
<<\_ACEOF
32853 #define wxUSE_PCX 1
32858 if test "$wxUSE_IFF" = "yes" ; then
32859 cat >>confdefs.h
<<\_ACEOF
32860 #define wxUSE_IFF 1
32865 if test "$wxUSE_PNM" = "yes" ; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_PNM 1
32872 if test "$wxUSE_XPM" = "yes" ; then
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define wxUSE_XPM 1
32879 if test "$wxUSE_ICO_CUR" = "yes" ; then
32880 cat >>confdefs.h
<<\_ACEOF
32881 #define wxUSE_ICO_CUR 1
32886 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32887 LIBS
=" -lunicows $LIBS"
32891 if test "$wxUSE_CHOICEDLG" = "yes"; then
32892 cat >>confdefs.h
<<\_ACEOF
32893 #define wxUSE_CHOICEDLG 1
32898 if test "$wxUSE_COLOURDLG" = "yes"; then
32899 cat >>confdefs.h
<<\_ACEOF
32900 #define wxUSE_COLOURDLG 1
32905 if test "$wxUSE_FILEDLG" = "yes"; then
32906 cat >>confdefs.h
<<\_ACEOF
32907 #define wxUSE_FILEDLG 1
32912 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32913 cat >>confdefs.h
<<\_ACEOF
32914 #define wxUSE_FINDREPLDLG 1
32919 if test "$wxUSE_FONTDLG" = "yes"; then
32920 cat >>confdefs.h
<<\_ACEOF
32921 #define wxUSE_FONTDLG 1
32926 if test "$wxUSE_DIRDLG" = "yes"; then
32927 if test "$wxUSE_TREECTRL" != "yes"; then
32928 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32929 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32931 cat >>confdefs.h
<<\_ACEOF
32932 #define wxUSE_DIRDLG 1
32938 if test "$wxUSE_MSGDLG" = "yes"; then
32939 cat >>confdefs.h
<<\_ACEOF
32940 #define wxUSE_MSGDLG 1
32945 if test "$wxUSE_NUMBERDLG" = "yes"; then
32946 cat >>confdefs.h
<<\_ACEOF
32947 #define wxUSE_NUMBERDLG 1
32952 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32953 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32954 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32955 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define wxUSE_PROGRESSDLG 1
32964 if test "$wxUSE_SPLASH" = "yes"; then
32965 cat >>confdefs.h
<<\_ACEOF
32966 #define wxUSE_SPLASH 1
32971 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32972 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32973 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32974 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32976 cat >>confdefs.h
<<\_ACEOF
32977 #define wxUSE_STARTUP_TIPS 1
32983 if test "$wxUSE_TEXTDLG" = "yes"; then
32984 cat >>confdefs.h
<<\_ACEOF
32985 #define wxUSE_TEXTDLG 1
32990 if test "$wxUSE_WIZARDDLG" = "yes"; then
32991 cat >>confdefs.h
<<\_ACEOF
32992 #define wxUSE_WIZARDDLG 1
32995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
32999 if test "$cross_compiling" = "yes"; then
33002 OSINFO
=`uname -s -r -m`
33003 OSINFO
="\"$OSINFO\""
33006 cat >>confdefs.h
<<_ACEOF
33007 #define WXWIN_OS_DESCRIPTION $OSINFO
33012 if test "x$prefix" != "xNONE"; then
33015 wxPREFIX
=$ac_default_prefix
33018 cat >>confdefs.h
<<_ACEOF
33019 #define wxINSTALL_PREFIX "$wxPREFIX"
33023 top_builddir_wxconfig
=`pwd`
33028 if test "$wxUSE_MAC" = 1 ; then
33029 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33031 if test "$wxUSE_COCOA" = 1 ; then
33032 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33036 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33044 echo "$as_me:$LINENO: checking for $ac_func" >&5
33045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33046 if eval "test \"\${$as_ac_var+set}\" = set"; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33049 cat >conftest.
$ac_ext <<_ACEOF
33050 #line $LINENO "configure"
33053 cat confdefs.h
>>conftest.
$ac_ext
33054 cat >>conftest.
$ac_ext <<_ACEOF
33055 /* end confdefs.h. */
33056 /* System header to define __stub macros and hopefully few prototypes,
33057 which can conflict with char $ac_func (); below.
33058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33059 <limits.h> exists even on freestanding compilers. */
33061 # include <limits.h>
33063 # include <assert.h>
33065 /* Override any gcc2 internal prototype to avoid an error. */
33070 /* We use char because int might match the return type of a gcc2
33071 builtin and then its argument prototype would still apply. */
33073 /* The GNU C library defines this for functions which it implements
33074 to always fail with ENOSYS. Some functions are actually named
33075 something starting with __ and the normal name is an alias. */
33076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33079 char (*f) () = $ac_func;
33088 return f != $ac_func;
33093 rm -f conftest.
$ac_objext conftest
$ac_exeext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33095 (eval $ac_link) 2>&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); } &&
33099 { ac_try
='test -s conftest$ac_exeext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 eval "$as_ac_var=yes"
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.
$ac_ext >&5
33110 eval "$as_ac_var=no"
33112 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33116 if test `eval echo '${'$as_ac_var'}'` = yes; then
33117 cat >>confdefs.h
<<_ACEOF
33118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33125 for ac_func
in floor
33127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33128 echo "$as_me:$LINENO: checking for $ac_func" >&5
33129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33130 if eval "test \"\${$as_ac_var+set}\" = set"; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 cat >conftest.
$ac_ext <<_ACEOF
33134 #line $LINENO "configure"
33137 cat confdefs.h
>>conftest.
$ac_ext
33138 cat >>conftest.
$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33140 /* System header to define __stub macros and hopefully few prototypes,
33141 which can conflict with char $ac_func (); below.
33142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33143 <limits.h> exists even on freestanding compilers. */
33145 # include <limits.h>
33147 # include <assert.h>
33149 /* Override any gcc2 internal prototype to avoid an error. */
33154 /* We use char because int might match the return type of a gcc2
33155 builtin and then its argument prototype would still apply. */
33157 /* The GNU C library defines this for functions which it implements
33158 to always fail with ENOSYS. Some functions are actually named
33159 something starting with __ and the normal name is an alias. */
33160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33163 char (*f) () = $ac_func;
33172 return f != $ac_func;
33177 rm -f conftest.
$ac_objext conftest
$ac_exeext
33178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33179 (eval $ac_link) 2>&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); } &&
33183 { ac_try
='test -s conftest$ac_exeext'
33184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33185 (eval $ac_try) 2>&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); }; }; then
33189 eval "$as_ac_var=yes"
33191 echo "$as_me: failed program was:" >&5
33192 sed 's/^/| /' conftest.
$ac_ext >&5
33194 eval "$as_ac_var=no"
33196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33200 if test `eval echo '${'$as_ac_var'}'` = yes; then
33201 cat >>confdefs.h
<<_ACEOF
33202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33208 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33209 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33210 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33211 echo "$as_me:$LINENO: result: yes" >&5
33212 echo "${ECHO_T}yes" >&6
33214 echo "$as_me:$LINENO: result: no" >&5
33215 echo "${ECHO_T}no" >&6
33217 # use different functions to avoid configure caching
33223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33224 echo "$as_me:$LINENO: checking for $ac_func" >&5
33225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33226 if eval "test \"\${$as_ac_var+set}\" = set"; then
33227 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 cat >conftest.
$ac_ext <<_ACEOF
33230 #line $LINENO "configure"
33233 cat confdefs.h
>>conftest.
$ac_ext
33234 cat >>conftest.
$ac_ext <<_ACEOF
33235 /* end confdefs.h. */
33236 /* System header to define __stub macros and hopefully few prototypes,
33237 which can conflict with char $ac_func (); below.
33238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33239 <limits.h> exists even on freestanding compilers. */
33241 # include <limits.h>
33243 # include <assert.h>
33245 /* Override any gcc2 internal prototype to avoid an error. */
33250 /* We use char because int might match the return type of a gcc2
33251 builtin and then its argument prototype would still apply. */
33253 /* The GNU C library defines this for functions which it implements
33254 to always fail with ENOSYS. Some functions are actually named
33255 something starting with __ and the normal name is an alias. */
33256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33259 char (*f) () = $ac_func;
33268 return f != $ac_func;
33273 rm -f conftest.
$ac_objext conftest
$ac_exeext
33274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33275 (eval $ac_link) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); } &&
33279 { ac_try
='test -s conftest$ac_exeext'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; }; then
33285 eval "$as_ac_var=yes"
33287 echo "$as_me: failed program was:" >&5
33288 sed 's/^/| /' conftest.
$ac_ext >&5
33290 eval "$as_ac_var=no"
33292 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33296 if test `eval echo '${'$as_ac_var'}'` = yes; then
33297 cat >>confdefs.h
<<_ACEOF
33298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33305 for ac_func
in ceil
33307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33308 echo "$as_me:$LINENO: checking for $ac_func" >&5
33309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33310 if eval "test \"\${$as_ac_var+set}\" = set"; then
33311 echo $ECHO_N "(cached) $ECHO_C" >&6
33313 cat >conftest.
$ac_ext <<_ACEOF
33314 #line $LINENO "configure"
33317 cat confdefs.h
>>conftest.
$ac_ext
33318 cat >>conftest.
$ac_ext <<_ACEOF
33319 /* end confdefs.h. */
33320 /* System header to define __stub macros and hopefully few prototypes,
33321 which can conflict with char $ac_func (); below.
33322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33323 <limits.h> exists even on freestanding compilers. */
33325 # include <limits.h>
33327 # include <assert.h>
33329 /* Override any gcc2 internal prototype to avoid an error. */
33334 /* We use char because int might match the return type of a gcc2
33335 builtin and then its argument prototype would still apply. */
33337 /* The GNU C library defines this for functions which it implements
33338 to always fail with ENOSYS. Some functions are actually named
33339 something starting with __ and the normal name is an alias. */
33340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33343 char (*f) () = $ac_func;
33352 return f != $ac_func;
33357 rm -f conftest.
$ac_objext conftest
$ac_exeext
33358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33359 (eval $ac_link) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } &&
33363 { ac_try
='test -s conftest$ac_exeext'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; }; then
33369 eval "$as_ac_var=yes"
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.
$ac_ext >&5
33374 eval "$as_ac_var=no"
33376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33380 if test `eval echo '${'$as_ac_var'}'` = yes; then
33381 cat >>confdefs.h
<<_ACEOF
33382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33388 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33389 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33390 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33391 echo "$as_me:$LINENO: result: yes" >&5
33392 echo "${ECHO_T}yes" >&6
33394 echo "$as_me:$LINENO: result: no" >&5
33395 echo "${ECHO_T}no" >&6
33396 # not sure we should warn the user, crash, etc.
33400 if test "$wxUSE_GUI" = "yes"; then
33402 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33406 drawing dynamic erase event exec font image \
33407 minimal propsize rotate shaped widgets"
33409 SAMPLES_SUBDIRS
="console"
33413 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33414 -I\${top_srcdir}/include \
33415 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33418 if test "$wxUSE_GTK" = 1; then
33421 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33424 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33437 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33447 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33453 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33455 if test -n "$ac_tool_prefix"; then
33456 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33457 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33458 echo "$as_me:$LINENO: checking for $ac_word" >&5
33459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33460 if test "${ac_cv_prog_RANLIB+set}" = set; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 if test -n "$RANLIB"; then
33464 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33467 for as_dir
in $PATH
33470 test -z "$as_dir" && as_dir
=.
33471 for ac_exec_ext
in '' $ac_executable_extensions; do
33472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33473 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33482 RANLIB
=$ac_cv_prog_RANLIB
33483 if test -n "$RANLIB"; then
33484 echo "$as_me:$LINENO: result: $RANLIB" >&5
33485 echo "${ECHO_T}$RANLIB" >&6
33487 echo "$as_me:$LINENO: result: no" >&5
33488 echo "${ECHO_T}no" >&6
33492 if test -z "$ac_cv_prog_RANLIB"; then
33493 ac_ct_RANLIB
=$RANLIB
33494 # Extract the first word of "ranlib", so it can be a program name with args.
33495 set dummy ranlib
; ac_word
=$2
33496 echo "$as_me:$LINENO: checking for $ac_word" >&5
33497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33498 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33501 if test -n "$ac_ct_RANLIB"; then
33502 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33505 for as_dir
in $PATH
33508 test -z "$as_dir" && as_dir
=.
33509 for ac_exec_ext
in '' $ac_executable_extensions; do
33510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33511 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33518 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33521 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33522 if test -n "$ac_ct_RANLIB"; then
33523 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33524 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33526 echo "$as_me:$LINENO: result: no" >&5
33527 echo "${ECHO_T}no" >&6
33530 RANLIB
=$ac_ct_RANLIB
33532 RANLIB
="$ac_cv_prog_RANLIB"
33535 # Find a good install program. We prefer a C program (faster),
33536 # so one script is as good as another. But avoid the broken or
33537 # incompatible versions:
33538 # SysV /etc/install, /usr/sbin/install
33539 # SunOS /usr/etc/install
33540 # IRIX /sbin/install
33542 # AmigaOS /C/install, which installs bootblocks on floppy discs
33543 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33544 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33545 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33546 # ./install, which can be erroneously created by make from ./install.sh.
33547 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33548 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33549 if test -z "$INSTALL"; then
33550 if test "${ac_cv_path_install+set}" = set; then
33551 echo $ECHO_N "(cached) $ECHO_C" >&6
33553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33554 for as_dir
in $PATH
33557 test -z "$as_dir" && as_dir
=.
33558 # Account for people who put trailing slashes in PATH elements.
33560 .
/ | .
// | /cC
/* | \
33561 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33564 # OSF1 and SCO ODT 3.0 have their own names for install.
33565 # Don't use installbsd from OSF since it installs stuff as root
33567 for ac_prog
in ginstall scoinst
install; do
33568 for ac_exec_ext
in '' $ac_executable_extensions; do
33569 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33570 if test $ac_prog = install &&
33571 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33572 # AIX install. It has an incompatible calling convention.
33574 elif test $ac_prog = install &&
33575 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33576 # program-specific install script used by HP pwplus--don't use.
33579 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33591 if test "${ac_cv_path_install+set}" = set; then
33592 INSTALL
=$ac_cv_path_install
33594 # As a last resort, use the slow shell script. We don't cache a
33595 # path for INSTALL within a source directory, because that will
33596 # break other packages using the cache if that directory is
33597 # removed, or if the path is relative.
33598 INSTALL
=$ac_install_sh
33601 echo "$as_me:$LINENO: result: $INSTALL" >&5
33602 echo "${ECHO_T}$INSTALL" >&6
33604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33605 # It thinks the first close brace ends the variable substitution.
33606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33610 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33612 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33613 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33615 if test "$LN_S" = "ln -s"; then
33616 echo "$as_me:$LINENO: result: yes" >&5
33617 echo "${ECHO_T}yes" >&6
33619 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33620 echo "${ECHO_T}no, using $LN_S" >&6
33624 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33625 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33626 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33627 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 cat >conftest.
make <<\_ACEOF
33632 @
echo 'ac_maketemp="$(MAKE)"'
33634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33635 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33636 if test -n "$ac_maketemp"; then
33637 eval ac_cv_prog_make_
${ac_make}_set
=yes
33639 eval ac_cv_prog_make_
${ac_make}_set
=no
33641 rm -f conftest.
make
33643 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33644 echo "$as_me:$LINENO: result: yes" >&5
33645 echo "${ECHO_T}yes" >&6
33648 echo "$as_me:$LINENO: result: no" >&5
33649 echo "${ECHO_T}no" >&6
33650 SET_MAKE
="MAKE=${MAKE-make}"
33655 if test "$build" != "$host" ; then
33657 STRIP
=$host_alias-strip
33659 # Extract the first word of "ar", so it can be a program name with args.
33660 set dummy
ar; ac_word
=$2
33661 echo "$as_me:$LINENO: checking for $ac_word" >&5
33662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33663 if test "${ac_cv_prog_AR+set}" = set; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33666 if test -n "$AR"; then
33667 ac_cv_prog_AR
="$AR" # Let the user override the test.
33669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33670 for as_dir
in $PATH
33673 test -z "$as_dir" && as_dir
=.
33674 for ac_exec_ext
in '' $ac_executable_extensions; do
33675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33683 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33687 if test -n "$AR"; then
33688 echo "$as_me:$LINENO: result: $AR" >&5
33689 echo "${ECHO_T}$AR" >&6
33691 echo "$as_me:$LINENO: result: no" >&5
33692 echo "${ECHO_T}no" >&6
33695 # Extract the first word of "strip", so it can be a program name with args.
33696 set dummy strip
; ac_word
=$2
33697 echo "$as_me:$LINENO: checking for $ac_word" >&5
33698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33699 if test "${ac_cv_prog_STRIP+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 if test -n "$STRIP"; then
33703 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33706 for as_dir
in $PATH
33709 test -z "$as_dir" && as_dir
=.
33710 for ac_exec_ext
in '' $ac_executable_extensions; do
33711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33712 ac_cv_prog_STRIP
="strip"
33713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33719 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33722 STRIP
=$ac_cv_prog_STRIP
33723 if test -n "$STRIP"; then
33724 echo "$as_me:$LINENO: result: $STRIP" >&5
33725 echo "${ECHO_T}$STRIP" >&6
33727 echo "$as_me:$LINENO: result: no" >&5
33728 echo "${ECHO_T}no" >&6
33735 INSTALL_DIR
="mkdir"
33737 *) INSTALL_DIR
="$INSTALL -d"
33744 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33745 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33746 if test "${wx_cv_prog_makeisgnu+set}" = set; then
33747 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
33751 egrep -s GNU
> /dev
/null
); then
33752 bakefile_cv_prog_makeisgnu
="yes"
33754 bakefile_cv_prog_makeisgnu
="no"
33758 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
33759 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
33761 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33776 *-*-cygwin* | *-*-mingw32* )
33779 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33782 powerpc
-*-darwin* )
33809 *-*-cygwin* | *-*-mingw32* )
33814 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33818 powerpc
-*-darwin* )
33828 SHARED_LD_CC
="\$(CC) -shared -o"
33829 SHARED_LD_CXX
="\$(CXX) -shared -o"
33831 if test "x$GCC" = "xyes"; then
33837 if test "x$GCC" = "xyes"; then
33838 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
33839 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
33841 LDFLAGS
="$LDFLAGS -L/usr/lib"
33843 SHARED_LD_CC
="${CC} -b -o"
33844 SHARED_LD_CXX
="${CXX} -b -o"
33850 if test "x$GCC" != "xyes"; then
33851 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33852 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33853 if test "${bakefile_cv_prog_icc+set}" = set; then
33854 echo $ECHO_N "(cached) $ECHO_C" >&6
33857 cat >conftest.
$ac_ext <<_ACEOF
33858 #line $LINENO "configure"
33861 cat confdefs.h
>>conftest.
$ac_ext
33862 cat >>conftest.
$ac_ext <<_ACEOF
33863 /* end confdefs.h. */
33869 #ifndef __INTEL_COMPILER
33877 rm -f conftest.
$ac_objext
33878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33879 (eval $ac_compile) 2>&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } &&
33883 { ac_try
='test -s conftest.$ac_objext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889 bakefile_cv_prog_icc
=yes
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.
$ac_ext >&5
33894 bakefile_cv_prog_icc
=no
33897 rm -f conftest.
$ac_objext conftest.
$ac_ext
33900 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33901 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33902 if test "$bakefile_cv_prog_icc" = "yes"; then
33909 if test "x$GCC" != xyes
; then
33910 SHARED_LD_CC
="${CC} -G -o"
33911 SHARED_LD_CXX
="${CXX} -G -o"
33917 CFLAGS
="$CFLAGS -fno-common"
33918 CXXFLAGS
="$CXXFLAGS -fno-common"
33921 cat <<EOF >shared-ld-sh
33923 #-----------------------------------------------------------------------------
33924 #-- Name: distrib/mac/shared-ld-sh
33925 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33926 #-- Author: Gilles Depeyrot
33927 #-- Copyright: (c) 2002 Gilles Depeyrot
33928 #-- Licence: any use permitted
33929 #-----------------------------------------------------------------------------
33935 while test \${#} -gt 0; do
33942 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33943 # collect these options and values
33944 args="\${args} \${1} \${2}"
33948 -l*|-L*|-flat_namespace)
33949 # collect these options
33950 args="\${args} \${1}"
33954 # skip these options
33958 echo "shared-ld: unhandled option '\${1}'"
33963 # collect object files
33964 objects="\${objects} \${1}"
33968 echo "shared-ld: unhandled argument '\${1}'"
33977 # Link one module containing all the others
33979 if test \${verbose} = 1; then
33980 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33982 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33984 if test \${status} != 0; then
33989 # Link the shared library from the single module created
33991 if test \${verbose} = 1; then
33992 echo "cc -dynamiclib master.\$\$.o \${args}"
33994 c++ -dynamiclib master.\$\$.o \${args}
33996 if test \${status} != 0; then
34001 # Remove intermediate module
34003 rm -f master.\$\$.o
34007 chmod +x shared
-ld-sh
34009 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34010 SHARED_LD_CXX
="$SHARED_LD_CC"
34011 PIC_FLAG
="-dynamic -fPIC"
34015 if test "x$GCC" != "xyes"; then
34016 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34017 set dummy makeC
++SharedLib
; ac_word
=$2
34018 echo "$as_me:$LINENO: checking for $ac_word" >&5
34019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34020 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34021 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 if test -n "$AIX_CXX_LD"; then
34024 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34027 for as_dir
in $PATH
34030 test -z "$as_dir" && as_dir
=.
34031 for ac_exec_ext
in '' $ac_executable_extensions; do
34032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34033 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34040 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34043 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34044 if test -n "$AIX_CXX_LD"; then
34045 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34046 echo "${ECHO_T}$AIX_CXX_LD" >&6
34048 echo "$as_me:$LINENO: result: no" >&5
34049 echo "${ECHO_T}no" >&6
34052 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34053 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34058 SHARED_LD_CC
="${LD} -shared -o"
34059 SHARED_LD_CXX
="${LD} -shared -o"
34063 if test "x$GCC" != "xyes"; then
34068 *-*-cygwin* | *-*-mingw32* )
34072 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34080 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34081 echo "$as_me: error: unknown system type $host." >&2;}
34082 { (exit 1); exit 1; }; }
34099 SONAME_FLAG
="-Wl,-soname,"
34128 if test "x$GCC" = "xyes"; then
34139 *-*-cygwin* | *-*-mingw32* )
34140 if test "$build" != "$host" ; then
34141 RESCOMP
=$host_alias-windres
34143 # Extract the first word of "windres", so it can be a program name with args.
34144 set dummy windres
; ac_word
=$2
34145 echo "$as_me:$LINENO: checking for $ac_word" >&5
34146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34147 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34148 echo $ECHO_N "(cached) $ECHO_C" >&6
34150 if test -n "$RESCOMP"; then
34151 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34154 for as_dir
in $PATH
34157 test -z "$as_dir" && as_dir
=.
34158 for ac_exec_ext
in '' $ac_executable_extensions; do
34159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34160 ac_cv_prog_RESCOMP
="windres"
34161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34167 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34170 RESCOMP
=$ac_cv_prog_RESCOMP
34171 if test -n "$RESCOMP"; then
34172 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34173 echo "${ECHO_T}$RESCOMP" >&6
34175 echo "$as_me:$LINENO: result: no" >&5
34176 echo "${ECHO_T}no" >&6
34183 # Extract the first word of "Rez", so it can be a program name with args.
34184 set dummy Rez
; ac_word
=$2
34185 echo "$as_me:$LINENO: checking for $ac_word" >&5
34186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34187 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34190 if test -n "$RESCOMP"; then
34191 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34194 for as_dir
in $PATH
34197 test -z "$as_dir" && as_dir
=.
34198 for ac_exec_ext
in '' $ac_executable_extensions; do
34199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34200 ac_cv_prog_RESCOMP
="Rez"
34201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34207 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34210 RESCOMP
=$ac_cv_prog_RESCOMP
34211 if test -n "$RESCOMP"; then
34212 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34213 echo "${ECHO_T}$RESCOMP" >&6
34215 echo "$as_me:$LINENO: result: no" >&5
34216 echo "${ECHO_T}no" >&6
34219 # Extract the first word of "SetFile", so it can be a program name with args.
34220 set dummy SetFile
; ac_word
=$2
34221 echo "$as_me:$LINENO: checking for $ac_word" >&5
34222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34223 if test "${ac_cv_prog_SETFILE+set}" = set; then
34224 echo $ECHO_N "(cached) $ECHO_C" >&6
34226 if test -n "$SETFILE"; then
34227 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34230 for as_dir
in $PATH
34233 test -z "$as_dir" && as_dir
=.
34234 for ac_exec_ext
in '' $ac_executable_extensions; do
34235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34236 ac_cv_prog_SETFILE
="SetFile"
34237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34243 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34246 SETFILE
=$ac_cv_prog_SETFILE
34247 if test -n "$SETFILE"; then
34248 echo "$as_me:$LINENO: result: $SETFILE" >&5
34249 echo "${ECHO_T}$SETFILE" >&6
34251 echo "$as_me:$LINENO: result: no" >&5
34252 echo "${ECHO_T}no" >&6
34264 COND_WXUSE_ZLIB_BUILTIN
="#"
34265 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34266 COND_WXUSE_ZLIB_BUILTIN
=
34270 if test "x$UNICODE" = "x1" ; then
34274 COND_BUILD_DEBUG
="#"
34275 if test "x$BUILD" = "xdebug" ; then
34279 COND_WXUSE_REGEX_BUILTIN
="#"
34280 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34281 COND_WXUSE_REGEX_BUILTIN
=
34284 COND_USE_SOSYMLINKS_1
="#"
34285 if test "x$USE_SOSYMLINKS" = "x1" ; then
34286 COND_USE_SOSYMLINKS_1
=
34289 COND_WXUSE_LIBJPEG_BUILTIN
="#"
34290 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34291 COND_WXUSE_LIBJPEG_BUILTIN
=
34294 COND_WXUSE_LIBPNG_BUILTIN
="#"
34295 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34296 COND_WXUSE_LIBPNG_BUILTIN
=
34299 COND_SHARED_1_MONOLITHIC_1
="#"
34300 if test "x$SHARED" = "x1" -a \
34301 "x$MONOLITHIC" = "x1" ; then
34302 COND_SHARED_1_MONOLITHIC_1
=
34305 COND_WXUSE_ODBC_BUILTIN
="#"
34306 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34307 COND_WXUSE_ODBC_BUILTIN
=
34310 COND_TOOLKIT_GTK
="#"
34311 if test "x$TOOLKIT" = "xGTK" ; then
34315 COND_TOOLKIT_MOTIF
="#"
34316 if test "x$TOOLKIT" = "xMOTIF" ; then
34317 COND_TOOLKIT_MOTIF
=
34320 COND_TOOLKIT_MSW
="#"
34321 if test "x$TOOLKIT" = "xMSW" ; then
34325 COND_TOOLKIT_MAC
="#"
34326 if test "x$TOOLKIT" = "xMAC" ; then
34330 COND_TOOLKIT_COCOA
="#"
34331 if test "x$TOOLKIT" = "xCOCOA" ; then
34332 COND_TOOLKIT_COCOA
=
34335 COND_TOOLKIT_OS2
="#"
34336 if test "x$TOOLKIT" = "xOS2" ; then
34340 COND_TOOLKIT_X11
="#"
34341 if test "x$TOOLKIT" = "xX11" ; then
34345 COND_TOOLKIT_MGL
="#"
34346 if test "x$TOOLKIT" = "xMGL" ; then
34351 if test "x$WXUNIV" = "x1" ; then
34355 COND_WXUSE_LIBTIFF_BUILTIN
="#"
34356 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34357 COND_WXUSE_LIBTIFF_BUILTIN
=
34360 COND_PLATFORM_UNIX_1
="#"
34361 if test "x$PLATFORM_UNIX" = "x1" ; then
34362 COND_PLATFORM_UNIX_1
=
34365 COND_PLATFORM_MACOSX_1
="#"
34366 if test "x$PLATFORM_MACOSX" = "x1" ; then
34367 COND_PLATFORM_MACOSX_1
=
34370 COND_PLATFORM_WIN32_1
="#"
34371 if test "x$PLATFORM_WIN32" = "x1" ; then
34372 COND_PLATFORM_WIN32_1
=
34375 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0
="#"
34376 if test "x$USE_SOVERSION" = "x1" -a \
34377 "x$PLATFORM_MACOSX" = "x0" ; then
34378 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0
=
34381 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1
="#"
34382 if test "x$USE_SOVERSION" = "x1" -a \
34383 "x$PLATFORM_MACOSX" = "x1" ; then
34384 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1
=
34387 COND_PLATFORM_WIN32_0
="#"
34388 if test "x$PLATFORM_WIN32" = "x0" ; then
34389 COND_PLATFORM_WIN32_0
=
34392 COND_MONOLITHIC_1
="#"
34393 if test "x$MONOLITHIC" = "x1" ; then
34397 COND_MONOLITHIC_0
="#"
34398 if test "x$MONOLITHIC" = "x0" ; then
34403 if test "x$USE_GUI" = "x1" ; then
34407 COND_DEPS_TYPE_GCC
="#"
34408 if test "x$DEPS_TYPE" = "xgcc" ; then
34409 COND_DEPS_TYPE_GCC
=
34413 if test "x$USE_GUI" = "x0" ; then
34417 COND_USE_GUI_1_WXUNIV_0
="#"
34418 if test "x$USE_GUI" = "x1" -a \
34419 "x$WXUNIV" = "x0" ; then
34420 COND_USE_GUI_1_WXUNIV_0
=
34423 COND_USE_GUI_1_WXUNIV_1
="#"
34424 if test "x$USE_GUI" = "x1" -a \
34425 "x$WXUNIV" = "x1" ; then
34426 COND_USE_GUI_1_WXUNIV_1
=
34429 COND_SHARED_0_MONOLITHIC_1
="#"
34430 if test "x$SHARED" = "x0" -a \
34431 "x$MONOLITHIC" = "x1" ; then
34432 COND_SHARED_0_MONOLITHIC_1
=
34435 COND_USE_SOVERLINUX_1
="#"
34436 if test "x$USE_SOVERLINUX" = "x1" ; then
34437 COND_USE_SOVERLINUX_1
=
34440 COND_USE_SOVERSOLARIS_1
="#"
34441 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34442 COND_USE_SOVERSOLARIS_1
=
34445 COND_PLATFORM_MAC_1
="#"
34446 if test "x$PLATFORM_MAC" = "x1" ; then
34447 COND_PLATFORM_MAC_1
=
34451 if test "x$SHARED" = "x0" ; then
34456 if test "x$SHARED" = "x1" ; then
34463 if test "$GXX" = yes ; then
34464 CXXWARNINGS
="-Wall"
34467 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34469 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34470 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34471 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34472 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34474 LDFLAGS
="$LDFLAGS $PROFILE"
34476 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34580 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34581 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34582 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34583 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34584 echo $ECHO_N "(cached) $ECHO_C" >&6
34586 cat >conftest.
make <<\_ACEOF
34588 @
echo 'ac_maketemp="$(MAKE)"'
34590 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34591 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34592 if test -n "$ac_maketemp"; then
34593 eval ac_cv_prog_make_
${ac_make}_set
=yes
34595 eval ac_cv_prog_make_
${ac_make}_set
=no
34597 rm -f conftest.
make
34599 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34600 echo "$as_me:$LINENO: result: yes" >&5
34601 echo "${ECHO_T}yes" >&6
34604 echo "$as_me:$LINENO: result: no" >&5
34605 echo "${ECHO_T}no" >&6
34606 SET_MAKE
="MAKE=${MAKE-make}"
34610 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
34611 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
34614 ac_config_headers
="$ac_config_headers setup.h"
34617 ac_config_files
="$ac_config_files wx-config version-script Makefile"
34620 ac_config_commands
="$ac_config_commands default"
34624 if test -d ${srcdir}/samples
; then
34625 ac_config_files
="$ac_config_files samples/Makefile samples/access/Makefile samples/artprov/Makefile samples/caret/Makefile samples/calendar/Makefile samples/checklst/Makefile samples/config/Makefile samples/controls/Makefile samples/console/Makefile samples/db/Makefile samples/dialogs/Makefile samples/dialup/Makefile samples/docview/Makefile samples/docvwmdi/Makefile samples/dnd/Makefile samples/dragimag/Makefile samples/drawing/Makefile samples/dynamic/Makefile samples/erase/Makefile samples/event/Makefile samples/exec/Makefile samples/font/Makefile samples/grid/Makefile samples/help/Makefile samples/image/Makefile samples/internat/Makefile samples/ipc/Makefile samples/joytest/Makefile samples/keyboard/Makefile samples/layout/Makefile samples/listctrl/Makefile samples/mdi/Makefile samples/menu/Makefile samples/memcheck/Makefile samples/minifram/Makefile samples/minimal/Makefile samples/mobile/Makefile samples/mobile/wxedit/Makefile samples/mobile/styles/Makefile samples/multimon/Makefile samples/notebook/Makefile samples/oleauto/Makefile samples/ownerdrw/Makefile samples/png/Makefile samples/printing/Makefile samples/propsize/Makefile samples/regtest/Makefile samples/rotate/Makefile samples/sashtest/Makefile samples/shaped/Makefile samples/scroll/Makefile samples/scrollsub/Makefile samples/sockets/Makefile samples/splitter/Makefile samples/statbar/Makefile samples/taskbar/Makefile samples/text/Makefile samples/thread/Makefile samples/toolbar/Makefile samples/treectrl/Makefile samples/typetest/Makefile samples/validate/Makefile samples/widgets/Makefile samples/wizard/Makefile samples/htlbox/Makefile samples/html/Makefile samples/html/about/Makefile samples/html/help/Makefile samples/html/printing/Makefile samples/html/helpview/Makefile samples/html/test/Makefile samples/html/zip/Makefile samples/html/virtual/Makefile samples/html/widget/Makefile samples/opengl/Makefile samples/opengl/cube/Makefile samples/opengl/penguin/Makefile samples/opengl/isosurf/Makefile"
34629 if test -d ${srcdir}/demos
; then
34630 ac_config_files
="$ac_config_files demos/Makefile demos/bombs/Makefile demos/dbbrowse/Makefile demos/forty/Makefile demos/fractal/Makefile demos/life/Makefile demos/poem/Makefile"
34634 if test -d ${srcdir}/utils
; then
34635 ac_config_files
="$ac_config_files utils/Makefile utils/makegen/Makefile utils/HelpGen/Makefile utils/HelpGen/src/Makefile utils/tex2rtf/Makefile utils/tex2rtf/src/Makefile utils/hhp2cached/Makefile utils/dialoged/Makefile utils/dialoged/src/Makefile utils/emulator/Makefile utils/emulator/src/Makefile utils/helpview/Makefile utils/helpview/src/Makefile utils/configtool/Makefile utils/configtool/src/Makefile"
34639 if test -d ${srcdir}/contrib
; then
34640 ac_config_files
="$ac_config_files contrib/src/Makefile contrib/src/deprecated/Makefile contrib/src/ogl/Makefile contrib/src/mmedia/Makefile contrib/src/stc/Makefile contrib/src/svg/Makefile contrib/src/xrc/Makefile contrib/src/gizmos/Makefile contrib/src/plot/Makefile contrib/src/applet/Makefile contrib/src/fl/Makefile contrib/src/net/Makefile contrib/samples/Makefile contrib/samples/deprecated/Makefile contrib/samples/deprecated/proplist/Makefile contrib/samples/deprecated/resource/Makefile contrib/samples/deprecated/treelay/Makefile contrib/samples/mmedia/Makefile contrib/samples/ogl/Makefile contrib/samples/ogl/ogledit/Makefile contrib/samples/ogl/studio/Makefile contrib/samples/stc/Makefile contrib/samples/svg/Makefile contrib/samples/gizmos/Makefile contrib/samples/gizmos/editlbox/Makefile contrib/samples/gizmos/dynsash/Makefile contrib/samples/gizmos/dynsash_switch/Makefile contrib/samples/gizmos/multicell/Makefile contrib/samples/gizmos/splittree/Makefile contrib/samples/gizmos/led/Makefile contrib/samples/xrc/Makefile contrib/samples/plot/Makefile contrib/samples/applet/Makefile contrib/samples/fl/Makefile contrib/samples/fl/fl_demo1/Makefile contrib/samples/fl/fl_demo2/Makefile contrib/samples/fl/fl_sample1/Makefile contrib/samples/fl/fl_sample2/Makefile contrib/samples/fl/fl_sample3/Makefile contrib/utils/Makefile contrib/utils/wxrc/Makefile contrib/utils/wxrcedit/Makefile contrib/utils/convertrc/Makefile"
34645 cat >confcache
<<\_ACEOF
34646 # This file is a shell script that caches the results of configure
34647 # tests run on this system so they can be shared between configure
34648 # scripts and configure runs, see configure's option --config-cache.
34649 # It is not useful on other systems. If it contains results you don't
34650 # want to keep, you may remove or edit it.
34652 # config.status only pays attention to the cache file if you give it
34653 # the --recheck option to rerun configure.
34655 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34656 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34657 # following values.
34661 # The following way of writing the cache mishandles newlines in values,
34662 # but we know of no workaround that is simple, portable, and efficient.
34663 # So, don't put newlines in cache variables' values.
34664 # Ultrix sh set writes to stderr and can't be redirected directly,
34665 # and sets the high bit in the cache file unless we assign to the vars.
34668 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34670 # `set' does not quote correctly, so add quotes (double-quote
34671 # substitution turns \\\\ into \\, and sed turns \\ into \).
34674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34677 # `set' quotes correctly as required by POSIX, so do not add quotes.
34679 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34688 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34690 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34691 if test -w $cache_file; then
34692 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34693 cat confcache
>$cache_file
34695 echo "not updating unwritable cache $cache_file"
34700 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34701 # Let make expand exec_prefix.
34702 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34704 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34705 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34706 # trailing colons and then remove the whole line if VPATH becomes empty
34707 # (actually we leave an empty line to preserve line numbers).
34708 if test "x$srcdir" = x.
; then
34709 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34710 s/:*\$(srcdir):*/:/;
34711 s/:*\${srcdir}:*/:/;
34713 s/^\([^=]*=[ ]*\):*/\1/;
34719 DEFS
=-DHAVE_CONFIG_H
34723 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34724 # 1. Remove the extension, and $U if already installed.
34725 ac_i
=`echo "$ac_i" |
34726 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34728 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
34729 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
34731 LIBOBJS
=$ac_libobjs
34733 LTLIBOBJS
=$ac_ltlibobjs
34737 : ${CONFIG_STATUS=./config.status}
34738 ac_clean_files_save
=$ac_clean_files
34739 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34740 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34741 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34742 cat >$CONFIG_STATUS <<_ACEOF
34744 # Generated by $as_me.
34745 # Run this file to recreate the current configuration.
34746 # Compiler output produced by configure, useful for debugging
34747 # configure, is in config.log if it exists.
34750 ac_cs_recheck=false
34752 SHELL=\${CONFIG_SHELL-$SHELL}
34755 cat >>$CONFIG_STATUS <<\_ACEOF
34756 ## --------------------- ##
34757 ## M4sh Initialization. ##
34758 ## --------------------- ##
34760 # Be Bourne compatible
34761 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34764 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34765 # is contrary to our usage. Disable this feature.
34766 alias -g '${1+"$@"}'='"$@"'
34767 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
34771 # Support unset when possible.
34772 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34779 # Work around bugs in pre-3.0 UWIN ksh.
34780 $as_unset ENV MAIL MAILPATH
34787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34789 LC_TELEPHONE LC_TIME
34791 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34792 eval $as_var=C
; export $as_var
34798 # Required to use basename.
34799 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34805 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
34806 as_basename
=basename
34812 # Name of the executable.
34813 as_me
=`$as_basename "$0" ||
34814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34815 X"$0" : 'X\(//\)$' \| \
34816 X"$0" : 'X\(/\)$' \| \
34817 . : '\(.\)' 2>/dev/null ||
34819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34820 /^X\/\(\/\/\)$/{ s//\1/; q; }
34821 /^X\/\(\/\).*/{ s//\1/; q; }
34825 # PATH needs CR, and LINENO needs CR and PATH.
34826 # Avoid depending upon Character Ranges.
34827 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34828 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34829 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34830 as_cr_digits
='0123456789'
34831 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34833 # The user is always right.
34834 if test "${PATH_SEPARATOR+set}" != set; then
34835 echo "#! /bin/sh" >conf$$.sh
34836 echo "exit 0" >>conf$$.sh
34838 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34847 as_lineno_1
=$LINENO
34848 as_lineno_2
=$LINENO
34849 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
34850 test "x$as_lineno_1" != "x$as_lineno_2" &&
34851 test "x$as_lineno_3" = "x$as_lineno_2" || {
34852 # Find who we are. Look in the path if we contain no path at all
34855 *[\\/]* ) as_myself
=$0 ;;
34856 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34857 for as_dir
in $PATH
34860 test -z "$as_dir" && as_dir
=.
34861 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34866 # We did not find ourselves, most probably we were run as `sh COMMAND'
34867 # in which case we are not to be found in the path.
34868 if test "x$as_myself" = x
; then
34871 if test ! -f "$as_myself"; then
34872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34874 { (exit 1); exit 1; }; }
34876 case $CONFIG_SHELL in
34878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34879 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
34882 test -z "$as_dir" && as_dir
=.
34883 for as_base
in sh bash ksh sh5
; do
34886 if ("$as_dir/$as_base" -c '
34887 as_lineno_1=$LINENO
34888 as_lineno_2=$LINENO
34889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34890 test "x$as_lineno_1" != "x$as_lineno_2" &&
34891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
34892 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
34893 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
34894 CONFIG_SHELL
=$as_dir/$as_base
34895 export CONFIG_SHELL
34896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34905 # uniformly replaced by the line number. The first 'sed' inserts a
34906 # line-number line before each line; the second 'sed' does the real
34907 # work. The second script uses 'N' to pair each line-number line
34908 # with the numbered line, and appends trailing '-' during
34909 # substitution so that $LINENO is not a special case at line end.
34910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34912 sed '=' <$as_myself |
34917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34920 s,^['$as_cr_digits']*\n,,
34921 ' >$as_me.lineno
&&
34922 chmod +x
$as_me.lineno
||
34923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34925 { (exit 1); exit 1; }; }
34927 # Don't try to exec as it changes $[0], causing all sort of problems
34928 # (the dirname of $[0] is not the place where we might find the
34929 # original and so on. Autoconf is especially sensible to this).
34931 # Exit status is that of the last command.
34936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34937 *c
*,-n*) ECHO_N
= ECHO_C
='
34939 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
34940 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
34943 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34949 rm -f conf$$ conf$$.exe conf$$.
file
34951 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34952 # We could just check for DJGPP; but this test a) works b) is more generic
34953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34954 if test -f conf$$.exe
; then
34955 # Don't use ln at all; we don't have any links
34960 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34965 rm -f conf$$ conf$$.exe conf$$.
file
34967 if mkdir -p .
2>/dev
/null
; then
34973 as_executable_p
="test -f"
34975 # Sed expression to map a string onto a valid CPP name.
34976 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
34978 # Sed expression to map a string onto a valid variable name.
34979 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
34983 # We need space, tab and new line, in precisely that order.
34993 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34994 # report actual input values of CONFIG_FILES etc. instead of their
34995 # values after options handling. Logging --version etc. is OK.
34999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35000 ## Running $as_me. ##
35005 This file was extended by wxWindows $as_me 2.5.0, which was
35006 generated by GNU Autoconf 2.57. Invocation command line was
35008 CONFIG_FILES = $CONFIG_FILES
35009 CONFIG_HEADERS = $CONFIG_HEADERS
35010 CONFIG_LINKS = $CONFIG_LINKS
35011 CONFIG_COMMANDS = $CONFIG_COMMANDS
35015 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35019 # Files that config.status was made for.
35020 if test -n "$ac_config_files"; then
35021 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35024 if test -n "$ac_config_headers"; then
35025 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35028 if test -n "$ac_config_links"; then
35029 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35032 if test -n "$ac_config_commands"; then
35033 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35036 cat >>$CONFIG_STATUS <<\_ACEOF
35039 \`$as_me' instantiates files from templates according to the
35040 current configuration.
35042 Usage: $0 [OPTIONS] [FILE]...
35044 -h, --help print this help, then exit
35045 -V, --version print version number, then exit
35046 -q, --quiet do not print progress messages
35047 -d, --debug don't remove temporary files
35048 --recheck update $as_me by reconfiguring in the same conditions
35049 --file=FILE[:TEMPLATE]
35050 instantiate the configuration file FILE
35051 --header=FILE[:TEMPLATE]
35052 instantiate the configuration header FILE
35054 Configuration files:
35057 Configuration headers:
35060 Configuration commands:
35063 Report bugs to <bug-autoconf@gnu.org>."
35066 cat >>$CONFIG_STATUS <<_ACEOF
35068 wxWindows config.status 2.5.0
35069 configured by $0, generated by GNU Autoconf 2.57,
35070 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35072 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35073 Free Software Foundation, Inc.
35074 This config.status script is free software; the Free Software Foundation
35075 gives unlimited permission to copy, distribute and modify it."
35080 cat >>$CONFIG_STATUS <<\_ACEOF
35081 # If no file are specified by the user, then we need to provide default
35082 # value. By we need to know if files were specified by the user.
35088 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35089 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35097 *) # This is not an option, so the user has probably given explicit
35100 ac_need_defaults
=false
;;
35104 # Handling of the options.
35106 cat >>$CONFIG_STATUS <<\_ACEOF
35107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35109 --version | --vers* | -V )
35110 echo "$ac_cs_version"; exit 0 ;;
35112 # Conflict between --help and --header
35113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35114 Try \`$0 --help' for more information." >&5
35115 echo "$as_me: error: ambiguous option: $1
35116 Try \`$0 --help' for more information." >&2;}
35117 { (exit 1); exit 1; }; };;
35118 --help | --hel | -h )
35119 echo "$ac_cs_usage"; exit 0 ;;
35120 --debug | --d* | -d )
35122 --file | --fil | --fi | --f )
35124 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35125 ac_need_defaults
=false
;;
35126 --header | --heade | --head | --hea )
35128 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35129 ac_need_defaults
=false
;;
35130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35134 # This is an error.
35135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35136 Try \`$0 --help' for more information." >&5
35137 echo "$as_me: error: unrecognized option: $1
35138 Try \`$0 --help' for more information." >&2;}
35139 { (exit 1); exit 1; }; } ;;
35141 *) ac_config_targets
="$ac_config_targets $1" ;;
35147 ac_configure_extra_args
=
35149 if $ac_cs_silent; then
35151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35155 cat >>$CONFIG_STATUS <<_ACEOF
35156 if \$ac_cs_recheck; then
35157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35163 cat >>$CONFIG_STATUS <<_ACEOF
35165 # INIT-COMMANDS section.
35169 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35178 cat >>$CONFIG_STATUS <<\_ACEOF
35179 for ac_config_target
in $ac_config_targets
35181 case "$ac_config_target" in
35182 # Handling of arguments.
35183 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35184 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35185 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35186 "samples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/Makefile" ;;
35187 "samples/access/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/access/Makefile" ;;
35188 "samples/artprov/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/artprov/Makefile" ;;
35189 "samples/caret/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/caret/Makefile" ;;
35190 "samples/calendar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/calendar/Makefile" ;;
35191 "samples/checklst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/checklst/Makefile" ;;
35192 "samples/config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/config/Makefile" ;;
35193 "samples/controls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/controls/Makefile" ;;
35194 "samples/console/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/console/Makefile" ;;
35195 "samples/db/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/db/Makefile" ;;
35196 "samples/dialogs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dialogs/Makefile" ;;
35197 "samples/dialup/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dialup/Makefile" ;;
35198 "samples/docview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/docview/Makefile" ;;
35199 "samples/docvwmdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/docvwmdi/Makefile" ;;
35200 "samples/dnd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dnd/Makefile" ;;
35201 "samples/dragimag/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dragimag/Makefile" ;;
35202 "samples/drawing/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/drawing/Makefile" ;;
35203 "samples/dynamic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dynamic/Makefile" ;;
35204 "samples/erase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/erase/Makefile" ;;
35205 "samples/event/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/event/Makefile" ;;
35206 "samples/exec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/exec/Makefile" ;;
35207 "samples/font/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/font/Makefile" ;;
35208 "samples/grid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/grid/Makefile" ;;
35209 "samples/help/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/help/Makefile" ;;
35210 "samples/image/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/image/Makefile" ;;
35211 "samples/internat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/internat/Makefile" ;;
35212 "samples/ipc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/ipc/Makefile" ;;
35213 "samples/joytest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/joytest/Makefile" ;;
35214 "samples/keyboard/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/keyboard/Makefile" ;;
35215 "samples/layout/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/layout/Makefile" ;;
35216 "samples/listctrl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/listctrl/Makefile" ;;
35217 "samples/mdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mdi/Makefile" ;;
35218 "samples/menu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/menu/Makefile" ;;
35219 "samples/memcheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/memcheck/Makefile" ;;
35220 "samples/minifram/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/minifram/Makefile" ;;
35221 "samples/minimal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/minimal/Makefile" ;;
35222 "samples/mobile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mobile/Makefile" ;;
35223 "samples/mobile/wxedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mobile/wxedit/Makefile" ;;
35224 "samples/mobile/styles/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mobile/styles/Makefile" ;;
35225 "samples/multimon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/multimon/Makefile" ;;
35226 "samples/notebook/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/notebook/Makefile" ;;
35227 "samples/oleauto/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/oleauto/Makefile" ;;
35228 "samples/ownerdrw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/ownerdrw/Makefile" ;;
35229 "samples/png/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/png/Makefile" ;;
35230 "samples/printing/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/printing/Makefile" ;;
35231 "samples/propsize/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/propsize/Makefile" ;;
35232 "samples/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/regtest/Makefile" ;;
35233 "samples/rotate/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/rotate/Makefile" ;;
35234 "samples/sashtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/sashtest/Makefile" ;;
35235 "samples/shaped/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/shaped/Makefile" ;;
35236 "samples/scroll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/scroll/Makefile" ;;
35237 "samples/scrollsub/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/scrollsub/Makefile" ;;
35238 "samples/sockets/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/sockets/Makefile" ;;
35239 "samples/splitter/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/splitter/Makefile" ;;
35240 "samples/statbar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/statbar/Makefile" ;;
35241 "samples/taskbar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/taskbar/Makefile" ;;
35242 "samples/text/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/text/Makefile" ;;
35243 "samples/thread/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/thread/Makefile" ;;
35244 "samples/toolbar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/toolbar/Makefile" ;;
35245 "samples/treectrl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/treectrl/Makefile" ;;
35246 "samples/typetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/typetest/Makefile" ;;
35247 "samples/validate/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/validate/Makefile" ;;
35248 "samples/widgets/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/widgets/Makefile" ;;
35249 "samples/wizard/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/wizard/Makefile" ;;
35250 "samples/htlbox/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/htlbox/Makefile" ;;
35251 "samples/html/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/Makefile" ;;
35252 "samples/html/about/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/about/Makefile" ;;
35253 "samples/html/help/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/help/Makefile" ;;
35254 "samples/html/printing/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/printing/Makefile" ;;
35255 "samples/html/helpview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/helpview/Makefile" ;;
35256 "samples/html/test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/test/Makefile" ;;
35257 "samples/html/zip/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/zip/Makefile" ;;
35258 "samples/html/virtual/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/virtual/Makefile" ;;
35259 "samples/html/widget/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/widget/Makefile" ;;
35260 "samples/opengl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/Makefile" ;;
35261 "samples/opengl/cube/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/cube/Makefile" ;;
35262 "samples/opengl/penguin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/penguin/Makefile" ;;
35263 "samples/opengl/isosurf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/isosurf/Makefile" ;;
35264 "demos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/Makefile" ;;
35265 "demos/bombs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/bombs/Makefile" ;;
35266 "demos/dbbrowse/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/dbbrowse/Makefile" ;;
35267 "demos/forty/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/forty/Makefile" ;;
35268 "demos/fractal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/fractal/Makefile" ;;
35269 "demos/life/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/life/Makefile" ;;
35270 "demos/poem/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/poem/Makefile" ;;
35271 "utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
35272 "utils/makegen/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/makegen/Makefile" ;;
35273 "utils/HelpGen/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/HelpGen/Makefile" ;;
35274 "utils/HelpGen/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/HelpGen/src/Makefile" ;;
35275 "utils/tex2rtf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/tex2rtf/Makefile" ;;
35276 "utils/tex2rtf/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/tex2rtf/src/Makefile" ;;
35277 "utils/hhp2cached/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/hhp2cached/Makefile" ;;
35278 "utils/dialoged/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/dialoged/Makefile" ;;
35279 "utils/dialoged/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/dialoged/src/Makefile" ;;
35280 "utils/emulator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/emulator/Makefile" ;;
35281 "utils/emulator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/emulator/src/Makefile" ;;
35282 "utils/helpview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/helpview/Makefile" ;;
35283 "utils/helpview/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/helpview/src/Makefile" ;;
35284 "utils/configtool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/configtool/Makefile" ;;
35285 "utils/configtool/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/configtool/src/Makefile" ;;
35286 "contrib/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/Makefile" ;;
35287 "contrib/src/deprecated/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/deprecated/Makefile" ;;
35288 "contrib/src/ogl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/ogl/Makefile" ;;
35289 "contrib/src/mmedia/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/mmedia/Makefile" ;;
35290 "contrib/src/stc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/stc/Makefile" ;;
35291 "contrib/src/svg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/svg/Makefile" ;;
35292 "contrib/src/xrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/xrc/Makefile" ;;
35293 "contrib/src/gizmos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/gizmos/Makefile" ;;
35294 "contrib/src/plot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/plot/Makefile" ;;
35295 "contrib/src/applet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/applet/Makefile" ;;
35296 "contrib/src/fl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/fl/Makefile" ;;
35297 "contrib/src/net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/net/Makefile" ;;
35298 "contrib/samples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/Makefile" ;;
35299 "contrib/samples/deprecated/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/Makefile" ;;
35300 "contrib/samples/deprecated/proplist/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/proplist/Makefile" ;;
35301 "contrib/samples/deprecated/resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/resource/Makefile" ;;
35302 "contrib/samples/deprecated/treelay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/treelay/Makefile" ;;
35303 "contrib/samples/mmedia/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/mmedia/Makefile" ;;
35304 "contrib/samples/ogl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/ogl/Makefile" ;;
35305 "contrib/samples/ogl/ogledit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/ogl/ogledit/Makefile" ;;
35306 "contrib/samples/ogl/studio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/ogl/studio/Makefile" ;;
35307 "contrib/samples/stc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/stc/Makefile" ;;
35308 "contrib/samples/svg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/svg/Makefile" ;;
35309 "contrib/samples/gizmos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/Makefile" ;;
35310 "contrib/samples/gizmos/editlbox/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/editlbox/Makefile" ;;
35311 "contrib/samples/gizmos/dynsash/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/dynsash/Makefile" ;;
35312 "contrib/samples/gizmos/dynsash_switch/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/dynsash_switch/Makefile" ;;
35313 "contrib/samples/gizmos/multicell/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/multicell/Makefile" ;;
35314 "contrib/samples/gizmos/splittree/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/splittree/Makefile" ;;
35315 "contrib/samples/gizmos/led/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/led/Makefile" ;;
35316 "contrib/samples/xrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/xrc/Makefile" ;;
35317 "contrib/samples/plot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/plot/Makefile" ;;
35318 "contrib/samples/applet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/applet/Makefile" ;;
35319 "contrib/samples/fl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/Makefile" ;;
35320 "contrib/samples/fl/fl_demo1/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_demo1/Makefile" ;;
35321 "contrib/samples/fl/fl_demo2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_demo2/Makefile" ;;
35322 "contrib/samples/fl/fl_sample1/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_sample1/Makefile" ;;
35323 "contrib/samples/fl/fl_sample2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_sample2/Makefile" ;;
35324 "contrib/samples/fl/fl_sample3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_sample3/Makefile" ;;
35325 "contrib/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/Makefile" ;;
35326 "contrib/utils/wxrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/wxrc/Makefile" ;;
35327 "contrib/utils/wxrcedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/wxrcedit/Makefile" ;;
35328 "contrib/utils/convertrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/convertrc/Makefile" ;;
35329 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35330 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35331 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35332 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35333 { (exit 1); exit 1; }; };;
35337 # If the user did not use the arguments to specify the items to instantiate,
35338 # then the envvar interface is used. Set only those that are not.
35339 # We use the long form for the default assignment because of an extremely
35340 # bizarre bug on SunOS 4.1.3.
35341 if $ac_need_defaults; then
35342 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35343 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35347 # Have a temporary directory for convenience. Make it in the build tree
35348 # simply because there is no reason to put it here, and in addition,
35349 # creating and moving files from /tmp can sometimes cause problems.
35350 # Create a temporary directory, and hook for its removal unless debugging.
35353 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35354 trap '{ (exit 1); exit 1; }' 1 2 13 15
35357 # Create a (secure) tmp directory for tmp files.
35360 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35361 test -n "$tmp" && test -d "$tmp"
35364 tmp
=.
/confstat$$
-$RANDOM
35365 (umask 077 && mkdir $tmp)
35368 echo "$me: cannot create a temporary directory in ." >&2
35369 { (exit 1); exit 1; }
35374 cat >>$CONFIG_STATUS <<_ACEOF
35377 # CONFIG_FILES section.
35380 # No need to generate the scripts if there are no CONFIG_FILES.
35381 # This happens for instance when ./config.status config.h
35382 if test -n "\$CONFIG_FILES"; then
35383 # Protect against being on the right side of a sed subst in config.status.
35384 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35385 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35386 s,@SHELL@,$SHELL,;t t
35387 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35388 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35389 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35390 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35391 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35392 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35393 s,@exec_prefix@,$exec_prefix,;t t
35394 s,@prefix@,$prefix,;t t
35395 s,@program_transform_name@,$program_transform_name,;t t
35396 s,@bindir@,$bindir,;t t
35397 s,@sbindir@,$sbindir,;t t
35398 s,@libexecdir@,$libexecdir,;t t
35399 s,@datadir@,$datadir,;t t
35400 s,@sysconfdir@,$sysconfdir,;t t
35401 s,@sharedstatedir@,$sharedstatedir,;t t
35402 s,@localstatedir@,$localstatedir,;t t
35403 s,@libdir@,$libdir,;t t
35404 s,@includedir@,$includedir,;t t
35405 s,@oldincludedir@,$oldincludedir,;t t
35406 s,@infodir@,$infodir,;t t
35407 s,@mandir@,$mandir,;t t
35408 s,@build_alias@,$build_alias,;t t
35409 s,@host_alias@,$host_alias,;t t
35410 s,@target_alias@,$target_alias,;t t
35411 s,@DEFS@,$DEFS,;t t
35412 s,@ECHO_C@,$ECHO_C,;t t
35413 s,@ECHO_N@,$ECHO_N,;t t
35414 s,@ECHO_T@,$ECHO_T,;t t
35415 s,@LIBS@,$LIBS,;t t
35416 s,@build@,$build,;t t
35417 s,@build_cpu@,$build_cpu,;t t
35418 s,@build_vendor@,$build_vendor,;t t
35419 s,@build_os@,$build_os,;t t
35420 s,@host@,$host,;t t
35421 s,@host_cpu@,$host_cpu,;t t
35422 s,@host_vendor@,$host_vendor,;t t
35423 s,@host_os@,$host_os,;t t
35424 s,@target@,$target,;t t
35425 s,@target_cpu@,$target_cpu,;t t
35426 s,@target_vendor@,$target_vendor,;t t
35427 s,@target_os@,$target_os,;t t
35429 s,@CFLAGS@,$CFLAGS,;t t
35430 s,@LDFLAGS@,$LDFLAGS,;t t
35431 s,@CPPFLAGS@,$CPPFLAGS,;t t
35432 s,@ac_ct_CC@,$ac_ct_CC,;t t
35433 s,@EXEEXT@,$EXEEXT,;t t
35434 s,@OBJEXT@,$OBJEXT,;t t
35436 s,@EGREP@,$EGREP,;t t
35438 s,@CXXFLAGS@,$CXXFLAGS,;t t
35439 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35440 s,@RANLIB@,$RANLIB,;t t
35441 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35443 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35444 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35445 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35446 s,@STRIP@,$STRIP,;t t
35447 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35448 s,@YACC@,$YACC,;t t
35450 s,@LEXLIB@,$LEXLIB,;t t
35451 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35452 s,@LN_S@,$LN_S,;t t
35453 s,@CXXCPP@,$CXXCPP,;t t
35454 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35455 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35456 s,@GTK_LIBS@,$GTK_LIBS,;t t
35457 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35458 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35459 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35460 s,@X_CFLAGS@,$X_CFLAGS,;t t
35461 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35462 s,@X_LIBS@,$X_LIBS,;t t
35463 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35464 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35465 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35466 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35467 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35468 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35469 s,@RESCOMP@,$RESCOMP,;t t
35470 s,@DEREZ@,$DEREZ,;t t
35471 s,@SETFILE@,$SETFILE,;t t
35472 s,@LIBICONV@,$LIBICONV,;t t
35473 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35474 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35475 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35476 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35477 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35478 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35479 s,@WXUNIV@,$WXUNIV,;t t
35480 s,@MONOLITHIC@,$MONOLITHIC,;t t
35481 s,@EXTRALIBS@,$EXTRALIBS,;t t
35482 s,@UNICODE@,$UNICODE,;t t
35483 s,@BUILD@,$BUILD,;t t
35484 s,@SHARED@,$SHARED,;t t
35485 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35486 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35487 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35488 s,@SET_MAKE@,$SET_MAKE,;t t
35489 s,@MAKE_SET@,$MAKE_SET,;t t
35490 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35491 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35492 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35493 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35494 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35495 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35496 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35497 s,@DLLPREFIX@,$DLLPREFIX,;t t
35498 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35499 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35500 s,@PIC_FLAG@,$PIC_FLAG,;t t
35501 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35502 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35503 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35504 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35505 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35506 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35507 s,@DEPS_TYPE@,$DEPS_TYPE,;t t
35508 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35509 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35510 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35511 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35512 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35513 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35514 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35515 s,@COND_SHARED_1_MONOLITHIC_1@,$COND_SHARED_1_MONOLITHIC_1,;t t
35516 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35517 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35518 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35519 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35520 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35521 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35522 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35523 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35524 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35525 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35526 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35527 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35528 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35529 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35530 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_0@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_0,;t t
35531 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_1@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_1,;t t
35532 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35533 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35534 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35535 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35536 s,@COND_DEPS_TYPE_GCC@,$COND_DEPS_TYPE_GCC,;t t
35537 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35538 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35539 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35540 s,@COND_SHARED_0_MONOLITHIC_1@,$COND_SHARED_0_MONOLITHIC_1,;t t
35541 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35542 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35543 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35544 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35545 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35546 s,@LEX_STEM@,$LEX_STEM,;t t
35547 s,@PATH_IFS@,$PATH_IFS,;t t
35548 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35549 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35550 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35551 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35552 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35553 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35554 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35555 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35556 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35557 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35558 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35559 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35560 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35561 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35562 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35563 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35564 s,@WX_ALL@,$WX_ALL,;t t
35565 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35566 s,@SHARED_LD@,$SHARED_LD,;t t
35567 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35568 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35569 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
35570 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
35571 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
35572 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35573 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35574 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35575 s,@USE_GUI@,$USE_GUI,;t t
35576 s,@AFMINSTALL@,$AFMINSTALL,;t t
35577 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35578 s,@TOOLKIT@,$TOOLKIT,;t t
35579 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35580 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35581 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35582 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35583 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35584 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35585 s,@cross_compiling@,$cross_compiling,;t t
35586 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35587 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35588 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35589 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35590 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35591 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35592 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35593 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35594 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35595 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35596 s,@GUIDIST@,$GUIDIST,;t t
35597 s,@PORT_FILES@,$PORT_FILES,;t t
35598 s,@DISTDIR@,$DISTDIR,;t t
35599 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35600 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35601 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35602 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35603 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35604 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35605 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35606 s,@RESFLAGS@,$RESFLAGS,;t t
35607 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35608 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35609 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35610 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35611 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35612 s,@MACRESCOMP@,$MACRESCOMP,;t t
35613 s,@MACSETFILE@,$MACSETFILE,;t t
35614 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35616 s,@DLLTOOL@,$DLLTOOL,;t t
35620 s,@MAKEINFO@,$MAKEINFO,;t t
35621 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35622 s,@ESD_LINK@,$ESD_LINK,;t t
35623 s,@LIBOBJS@,$LIBOBJS,;t t
35624 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35629 cat >>$CONFIG_STATUS <<\_ACEOF
35630 # Split the substitutions into bite-sized pieces for seds with
35631 # small command number limits, like on Digital OSF/1 and HP-UX.
35632 ac_max_sed_lines
=48
35633 ac_sed_frag
=1 # Number of current file.
35634 ac_beg
=1 # First line for current file.
35635 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35638 while $ac_more_lines; do
35639 if test $ac_beg -gt 1; then
35640 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35642 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35644 if test ! -s $tmp/subs.frag
; then
35645 ac_more_lines
=false
35647 # The purpose of the label and of the branching condition is to
35648 # speed up the sed processing (if there are no `@' at all, there
35649 # is no need to browse any of the substitutions).
35650 # These are the two extra sed commands mentioned above.
35652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
35653 if test -z "$ac_sed_cmds"; then
35654 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35656 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35658 ac_sed_frag
=`expr $ac_sed_frag + 1`
35660 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35663 if test -z "$ac_sed_cmds"; then
35666 fi # test -n "$CONFIG_FILES"
35669 cat >>$CONFIG_STATUS <<\_ACEOF
35670 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35671 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35673 - | *:- | *:-:* ) # input from stdin
35675 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35676 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35677 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35678 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35679 * ) ac_file_in
=$ac_file.
in ;;
35682 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35683 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35684 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35685 X"$ac_file" : 'X\(//\)[^/]' \| \
35686 X"$ac_file" : 'X\(//\)$' \| \
35687 X"$ac_file" : 'X\(/\)' \| \
35688 . : '\(.\)' 2>/dev/null ||
35690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35692 /^X\(\/\/\)$/{ s//\1/; q; }
35693 /^X\(\/\).*/{ s//\1/; q; }
35695 { if $as_mkdir_p; then
35700 while test ! -d "$as_dir"; do
35701 as_dirs
="$as_dir $as_dirs"
35702 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35704 X"$as_dir" : 'X\(//\)[^/]' \| \
35705 X"$as_dir" : 'X\(//\)$' \| \
35706 X"$as_dir" : 'X\(/\)' \| \
35707 . : '\(.\)' 2>/dev/null ||
35709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35710 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35711 /^X\(\/\/\)$/{ s//\1/; q; }
35712 /^X\(\/\).*/{ s//\1/; q; }
35715 test ! -n "$as_dirs" || mkdir $as_dirs
35716 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35717 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35718 { (exit 1); exit 1; }; }; }
35722 if test "$ac_dir" != .
; then
35723 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35724 # A "../" for each directory in $ac_dir_suffix.
35725 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35727 ac_dir_suffix
= ac_top_builddir
=
35731 .
) # No --srcdir option. We are building in place.
35733 if test -z "$ac_top_builddir"; then
35736 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35738 [\\/]* | ?
:[\\/]* ) # Absolute path.
35739 ac_srcdir
=$srcdir$ac_dir_suffix;
35740 ac_top_srcdir
=$srcdir ;;
35741 *) # Relative path.
35742 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35743 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35745 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35747 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
35748 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35749 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35750 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35754 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35755 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
35758 if test x
"$ac_file" != x
-; then
35759 { echo "$as_me:$LINENO: creating $ac_file" >&5
35760 echo "$as_me: creating $ac_file" >&6;}
35763 # Let's still pretend it is `configure' which instantiates (i.e., don't
35764 # use $as_me), people would be surprised to read:
35765 # /* config.h. Generated by config.status. */
35766 if test x
"$ac_file" = x
-; then
35769 configure_input
="$ac_file. "
35771 configure_input
=$configure_input"Generated from `echo $ac_file_in |
35772 sed 's,.*/,,'` by configure."
35774 # First look for the input files in the build tree, otherwise in the
35776 ac_file_inputs
=`IFS=:
35777 for f in $ac_file_in; do
35779 -) echo $tmp/stdin ;;
35781 # Absolute (can't be DOS-style, as IFS=:)
35782 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35783 echo "$as_me: error: cannot find input file: $f" >&2;}
35784 { (exit 1); exit 1; }; }
35787 if test -f "$f"; then
35790 elif test -f "$srcdir/$f"; then
35795 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35796 echo "$as_me: error: cannot find input file: $f" >&2;}
35797 { (exit 1); exit 1; }; }
35800 done` || { (exit 1); exit 1; }
35802 cat >>$CONFIG_STATUS <<_ACEOF
35806 cat >>$CONFIG_STATUS <<\_ACEOF
35808 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
35809 s
,@configure_input@
,$configure_input,;t t
35810 s
,@srcdir@
,$ac_srcdir,;t t
35811 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
35812 s
,@top_srcdir@
,$ac_top_srcdir,;t t
35813 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
35814 s
,@builddir@
,$ac_builddir,;t t
35815 s
,@abs_builddir@
,$ac_abs_builddir,;t t
35816 s
,@top_builddir@
,$ac_top_builddir,;t t
35817 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
35818 s
,@INSTALL@
,$ac_INSTALL,;t t
35819 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35821 if test x"$ac_file" != x-; then
35822 mv $tmp/out $ac_file
35830 cat >>$CONFIG_STATUS <<\_ACEOF
35833 # CONFIG_HEADER section.
35836 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
35837 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35839 # ac_d sets the value in "#define NAME VALUE" lines.
35840 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35841 ac_dB
='[ ].*$,\1#\2'
35844 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35845 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35846 ac_uB
='$,\1#\2define\3'
35850 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
35851 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35853 - | *:- | *:-:* ) # input from stdin
35855 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35856 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35857 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35858 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35859 * ) ac_file_in
=$ac_file.
in ;;
35862 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35863 echo "$as_me: creating $ac_file" >&6;}
35865 # First look for the input files in the build tree, otherwise in the
35867 ac_file_inputs
=`IFS=:
35868 for f in $ac_file_in; do
35870 -) echo $tmp/stdin ;;
35872 # Absolute (can't be DOS-style, as IFS=:)
35873 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35874 echo "$as_me: error: cannot find input file: $f" >&2;}
35875 { (exit 1); exit 1; }; }
35878 if test -f "$f"; then
35881 elif test -f "$srcdir/$f"; then
35886 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35887 echo "$as_me: error: cannot find input file: $f" >&2;}
35888 { (exit 1); exit 1; }; }
35891 done` || { (exit 1); exit 1; }
35892 # Remove the trailing spaces.
35893 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35897 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35898 # `conftest.undefs', that substitutes the proper values into
35899 # config.h.in to produce config.h. The first handles `#define'
35900 # templates, and the second `#undef' templates.
35901 # And first: Protect against being on the right side of a sed subst in
35902 # config.status. Protect against being in an unquoted here document
35903 # in config.status.
35904 rm -f conftest.defines conftest.undefs
35905 # Using a here document instead of a string reduces the quoting nightmare.
35906 # Putting comments in sed scripts is not portable.
35908 # `end' is used to avoid that the second main sed command (meant for
35909 # 0-ary CPP macros) applies to n-ary macro definitions.
35910 # See the Autoconf documentation for `clear'.
35911 cat >confdef2sed.
sed <<\_ACEOF
35916 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35918 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35921 # If some macros were called several times there might be several times
35922 # the same #defines, which is useless. Nevertheless, we may not want to
35923 # sort them, since we want the *last* AC-DEFINE to be honored.
35924 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35925 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35926 rm -f confdef2sed.sed
35928 # This sed command replaces #undef with comments. This is necessary, for
35929 # example, in the case of _POSIX_SOURCE, which is predefined and required
35930 # on some systems where configure will not decide to define it.
35931 cat >>conftest.undefs <<\_ACEOF
35932 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35935 # Break up conftest.defines because some shells have a limit on the size
35936 # of here documents, and old seds have small limits too (100 cmds).
35937 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35938 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35939 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35940 echo ' :' >>$CONFIG_STATUS
35941 rm -f conftest.tail
35942 while grep . conftest.defines >/dev/null
35944 # Write a limited-size here document to $tmp/defines.sed.
35945 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35946 # Speed up: don't consider the non `#define' lines.
35947 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35948 # Work around the forget-to-reset-the-flag bug.
35949 echo 't clr' >>$CONFIG_STATUS
35950 echo ': clr' >>$CONFIG_STATUS
35951 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
35953 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35955 mv $tmp/out $tmp/in
35957 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
35958 rm -f conftest.defines
35959 mv conftest.
tail conftest.defines
35961 rm -f conftest.defines
35962 echo ' fi # grep' >>$CONFIG_STATUS
35963 echo >>$CONFIG_STATUS
35965 # Break up conftest.undefs because some shells have a limit on the size
35966 # of here documents, and old seds have small limits too (100 cmds).
35967 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35968 rm -f conftest.
tail
35969 while grep . conftest.undefs
>/dev
/null
35971 # Write a limited-size here document to $tmp/undefs.sed.
35972 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35973 # Speed up: don't consider the non
`#undef'
35974 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35975 # Work around the forget-to-reset-the-flag bug.
35976 echo 't clr' >>$CONFIG_STATUS
35977 echo ': clr' >>$CONFIG_STATUS
35978 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35980 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35982 mv $tmp/out $tmp/in
35984 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35985 rm -f conftest.undefs
35986 mv conftest.tail conftest.undefs
35988 rm -f conftest.undefs
35990 cat >>$CONFIG_STATUS <<\_ACEOF
35991 # Let's still pretend it is `configure
' which instantiates (i.e., don't
35992 # use $as_me), people would be surprised to read:
35993 # /* config.h. Generated by config.status. */
35994 if test x
"$ac_file" = x
-; then
35995 echo "/* Generated by configure. */" >$tmp/config.h
35997 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35999 cat $tmp/in >>$tmp/config.h
36001 if test x
"$ac_file" != x
-; then
36002 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36003 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36004 echo "$as_me: $ac_file is unchanged" >&6;}
36006 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36007 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36008 X"$ac_file" : 'X\(//\)[^/]' \| \
36009 X"$ac_file" : 'X\(//\)$' \| \
36010 X"$ac_file" : 'X\(/\)' \| \
36011 . : '\(.\)' 2>/dev/null ||
36013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36015 /^X\(\/\/\)$/{ s//\1/; q; }
36016 /^X\(\/\).*/{ s//\1/; q; }
36018 { if $as_mkdir_p; then
36023 while test ! -d "$as_dir"; do
36024 as_dirs
="$as_dir $as_dirs"
36025 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36027 X"$as_dir" : 'X\(//\)[^/]' \| \
36028 X"$as_dir" : 'X\(//\)$' \| \
36029 X"$as_dir" : 'X\(/\)' \| \
36030 . : '\(.\)' 2>/dev/null ||
36032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36033 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36034 /^X\(\/\/\)$/{ s//\1/; q; }
36035 /^X\(\/\).*/{ s//\1/; q; }
36038 test ! -n "$as_dirs" || mkdir $as_dirs
36039 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36040 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36041 { (exit 1); exit 1; }; }; }
36044 mv $tmp/config.h
$ac_file
36048 rm -f $tmp/config.h
36052 cat >>$CONFIG_STATUS <<\_ACEOF
36055 # CONFIG_COMMANDS section.
36057 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36058 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36059 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36060 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36061 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36062 X"$ac_dest" : 'X\(//\)[^/]' \| \
36063 X"$ac_dest" : 'X\(//\)$' \| \
36064 X"$ac_dest" : 'X\(/\)' \| \
36065 . : '\(.\)' 2>/dev/null ||
36067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36069 /^X\(\/\/\)$/{ s//\1/; q; }
36070 /^X\(\/\).*/{ s//\1/; q; }
36074 if test "$ac_dir" != .
; then
36075 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36076 # A "../" for each directory in $ac_dir_suffix.
36077 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36079 ac_dir_suffix
= ac_top_builddir
=
36083 .
) # No --srcdir option. We are building in place.
36085 if test -z "$ac_top_builddir"; then
36088 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36090 [\\/]* | ?
:[\\/]* ) # Absolute path.
36091 ac_srcdir
=$srcdir$ac_dir_suffix;
36092 ac_top_srcdir
=$srcdir ;;
36093 *) # Relative path.
36094 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36095 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36097 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36099 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36100 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36101 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36102 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36105 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36106 echo "$as_me: executing $ac_dest commands" >&6;}
36109 if test ! -h wx
-config; then
36111 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36112 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36115 if test ! -d lib
; then
36118 if test ! -d lib
/wx
; then
36121 if test ! -d lib
/wx
/include
; then
36122 mkdir lib
/wx
/include
36124 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36125 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36127 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36128 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36130 if test -f setup.h
; then
36131 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36138 cat >>$CONFIG_STATUS <<\_ACEOF
36140 { (exit 0); exit 0; }
36142 chmod +x
$CONFIG_STATUS
36143 ac_clean_files
=$ac_clean_files_save
36146 # configure is writing to config.log, and then calls config.status.
36147 # config.status does its own redirection, appending to config.log.
36148 # Unfortunately, on DOS this fails, as config.log is still kept open
36149 # by configure, so config.status won't be able to write to it; its
36150 # output is simply discarded. So we exec the FD to /dev/null,
36151 # effectively closing config.log, so it can be properly (re)opened and
36152 # appended to by config.status. When coming back to configure, we
36153 # need to make the FD available again.
36154 if test "$no_create" != yes; then
36156 ac_config_status_args
=
36157 test "$silent" = yes &&
36158 ac_config_status_args
="$ac_config_status_args --quiet"
36160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36163 # would make configure fail if this is the last instruction.
36164 $ac_cs_success || { (exit 1); exit 1; }
36169 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36171 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36173 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36174 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36175 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36177 echo " What level of wxWindows compatibility should be enabled?"
36178 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36179 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36180 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36182 echo " Which libraries should wxWindows use?"
36183 echo " jpeg ${wxUSE_LIBJPEG-none}"
36184 echo " png ${wxUSE_LIBPNG-none}"
36185 echo " regex ${wxUSE_REGEX}"
36186 echo " tiff ${wxUSE_LIBTIFF-none}"
36187 echo " zlib ${wxUSE_ZLIB}"
36188 echo " odbc ${wxUSE_ODBC}"