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 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 -a "$wxUSE_COCOA" != 1; then
11859 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11861 if test "${ac_cv_header_stdc+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 cat >conftest.
$ac_ext <<_ACEOF
11865 #line $LINENO "configure"
11868 cat confdefs.h
>>conftest.
$ac_ext
11869 cat >>conftest.
$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11871 #include <stdlib.h>
11872 #include <stdarg.h>
11873 #include <string.h>
11884 rm -f conftest.
$ac_objext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try
='test -s conftest.$ac_objext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_header_stdc
=yes
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.
$ac_ext >&5
11901 ac_cv_header_stdc
=no
11903 rm -f conftest.
$ac_objext conftest.
$ac_ext
11905 if test $ac_cv_header_stdc = yes; then
11906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11907 cat >conftest.
$ac_ext <<_ACEOF
11908 #line $LINENO "configure"
11911 cat confdefs.h
>>conftest.
$ac_ext
11912 cat >>conftest.
$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 #include <string.h>
11917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11918 $EGREP "memchr" >/dev
/null
2>&1; then
11921 ac_cv_header_stdc
=no
11927 if test $ac_cv_header_stdc = yes; then
11928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11929 cat >conftest.
$ac_ext <<_ACEOF
11930 #line $LINENO "configure"
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11936 #include <stdlib.h>
11939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11940 $EGREP "free" >/dev
/null
2>&1; then
11943 ac_cv_header_stdc
=no
11949 if test $ac_cv_header_stdc = yes; then
11950 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11951 if test "$cross_compiling" = yes; then
11954 cat >conftest.
$ac_ext <<_ACEOF
11955 #line $LINENO "configure"
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11962 #if ((' ' & 0x0FF) == 0x020)
11963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11966 # define ISLOWER(c) \
11967 (('a' <= (c) && (c) <= 'i') \
11968 || ('j' <= (c) && (c) <= 'r') \
11969 || ('s' <= (c) && (c) <= 'z'))
11970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11978 for (i = 0; i < 256; i++)
11979 if (XOR (islower (i), ISLOWER (i))
11980 || toupper (i) != TOUPPER (i))
11985 rm -f conftest
$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987 (eval $ac_link) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11998 echo "$as_me: program exited with status $ac_status" >&5
11999 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.
$ac_ext >&5
12002 ( exit $ac_status )
12003 ac_cv_header_stdc
=no
12005 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12009 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12010 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12011 if test $ac_cv_header_stdc = yes; then
12013 cat >>confdefs.h
<<\_ACEOF
12014 #define STDC_HEADERS 1
12019 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12029 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12030 inttypes.h stdint.h unistd.h
12032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12033 echo "$as_me:$LINENO: checking for $ac_header" >&5
12034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 cat >conftest.
$ac_ext <<_ACEOF
12039 #line $LINENO "configure"
12042 cat confdefs.h
>>conftest.
$ac_ext
12043 cat >>conftest.
$ac_ext <<_ACEOF
12044 /* end confdefs.h. */
12045 $ac_includes_default
12047 #include <$ac_header>
12049 rm -f conftest.
$ac_objext
12050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12051 (eval $ac_compile) 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } &&
12055 { ac_try
='test -s conftest.$ac_objext'
12056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12057 (eval $ac_try) 2>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); }; }; then
12061 eval "$as_ac_Header=yes"
12063 echo "$as_me: failed program was:" >&5
12064 sed 's/^/| /' conftest.
$ac_ext >&5
12066 eval "$as_ac_Header=no"
12068 rm -f conftest.
$ac_objext conftest.
$ac_ext
12070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12073 cat >>confdefs.h
<<_ACEOF
12074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12083 for ac_header
in strings.h
12085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12087 echo "$as_me:$LINENO: checking for $ac_header" >&5
12088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12090 echo $ECHO_N "(cached) $ECHO_C" >&6
12092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12095 # Is the header compilable?
12096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12098 cat >conftest.
$ac_ext <<_ACEOF
12099 #line $LINENO "configure"
12102 cat confdefs.h
>>conftest.
$ac_ext
12103 cat >>conftest.
$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12105 $ac_includes_default
12106 #include <$ac_header>
12108 rm -f conftest.
$ac_objext
12109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12110 (eval $ac_compile) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); } &&
12114 { ac_try
='test -s conftest.$ac_objext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 ac_header_compiler
=yes
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.
$ac_ext >&5
12125 ac_header_compiler
=no
12127 rm -f conftest.
$ac_objext conftest.
$ac_ext
12128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12129 echo "${ECHO_T}$ac_header_compiler" >&6
12131 # Is the header present?
12132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12134 cat >conftest.
$ac_ext <<_ACEOF
12135 #line $LINENO "configure"
12138 cat confdefs.h
>>conftest.
$ac_ext
12139 cat >>conftest.
$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12141 #include <$ac_header>
12143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12146 grep -v '^ *+' conftest.er1
>conftest.err
12148 cat conftest.err
>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } >/dev
/null
; then
12151 if test -s conftest.err
; then
12152 ac_cpp_err
=$ac_c_preproc_warn_flag
12159 if test -z "$ac_cpp_err"; then
12160 ac_header_preproc
=yes
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.
$ac_ext >&5
12165 ac_header_preproc
=no
12167 rm -f conftest.err conftest.
$ac_ext
12168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12169 echo "${ECHO_T}$ac_header_preproc" >&6
12171 # So? What about this header?
12172 case $ac_header_compiler:$ac_header_preproc in
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12180 ## ------------------------------------ ##
12181 ## Report this to bug-autoconf@gnu.org. ##
12182 ## ------------------------------------ ##
12185 sed "s/^/$as_me: WARNING: /" >&2
12188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12196 ## ------------------------------------ ##
12197 ## Report this to bug-autoconf@gnu.org. ##
12198 ## ------------------------------------ ##
12201 sed "s/^/$as_me: WARNING: /" >&2
12204 echo "$as_me:$LINENO: checking for $ac_header" >&5
12205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 eval "$as_ac_Header=$ac_header_preproc"
12211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12216 cat >>confdefs.h
<<_ACEOF
12217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12227 for ac_header
in stdlib.h
12229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12231 echo "$as_me:$LINENO: checking for $ac_header" >&5
12232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12239 # Is the header compilable?
12240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12242 cat >conftest.
$ac_ext <<_ACEOF
12243 #line $LINENO "configure"
12246 cat confdefs.h
>>conftest.
$ac_ext
12247 cat >>conftest.
$ac_ext <<_ACEOF
12248 /* end confdefs.h. */
12249 $ac_includes_default
12250 #include <$ac_header>
12252 rm -f conftest.
$ac_objext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12254 (eval $ac_compile) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try
='test -s conftest.$ac_objext'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; }; then
12264 ac_header_compiler
=yes
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.
$ac_ext >&5
12269 ac_header_compiler
=no
12271 rm -f conftest.
$ac_objext conftest.
$ac_ext
12272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12273 echo "${ECHO_T}$ac_header_compiler" >&6
12275 # Is the header present?
12276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12278 cat >conftest.
$ac_ext <<_ACEOF
12279 #line $LINENO "configure"
12282 cat confdefs.h
>>conftest.
$ac_ext
12283 cat >>conftest.
$ac_ext <<_ACEOF
12284 /* end confdefs.h. */
12285 #include <$ac_header>
12287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12290 grep -v '^ *+' conftest.er1
>conftest.err
12292 cat conftest.err
>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } >/dev
/null
; then
12295 if test -s conftest.err
; then
12296 ac_cpp_err
=$ac_c_preproc_warn_flag
12303 if test -z "$ac_cpp_err"; then
12304 ac_header_preproc
=yes
12306 echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.
$ac_ext >&5
12309 ac_header_preproc
=no
12311 rm -f conftest.err conftest.
$ac_ext
12312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12313 echo "${ECHO_T}$ac_header_preproc" >&6
12315 # So? What about this header?
12316 case $ac_header_compiler:$ac_header_preproc in
12318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12324 ## ------------------------------------ ##
12325 ## Report this to bug-autoconf@gnu.org. ##
12326 ## ------------------------------------ ##
12329 sed "s/^/$as_me: WARNING: /" >&2
12332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12351 echo $ECHO_N "(cached) $ECHO_C" >&6
12353 eval "$as_ac_Header=$ac_header_preproc"
12355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12360 cat >>confdefs.h
<<_ACEOF
12361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12369 for ac_header
in malloc.h
12371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12373 echo "$as_me:$LINENO: checking for $ac_header" >&5
12374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12381 # Is the header compilable?
12382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12384 cat >conftest.
$ac_ext <<_ACEOF
12385 #line $LINENO "configure"
12388 cat confdefs.h
>>conftest.
$ac_ext
12389 cat >>conftest.
$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391 $ac_includes_default
12392 #include <$ac_header>
12394 rm -f conftest.
$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); } &&
12400 { ac_try
='test -s conftest.$ac_objext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_header_compiler
=yes
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12411 ac_header_compiler
=no
12413 rm -f conftest.
$ac_objext conftest.
$ac_ext
12414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12415 echo "${ECHO_T}$ac_header_compiler" >&6
12417 # Is the header present?
12418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12420 cat >conftest.
$ac_ext <<_ACEOF
12421 #line $LINENO "configure"
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 #include <$ac_header>
12429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12432 grep -v '^ *+' conftest.er1
>conftest.err
12434 cat conftest.err
>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } >/dev
/null
; then
12437 if test -s conftest.err
; then
12438 ac_cpp_err
=$ac_c_preproc_warn_flag
12445 if test -z "$ac_cpp_err"; then
12446 ac_header_preproc
=yes
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.
$ac_ext >&5
12451 ac_header_preproc
=no
12453 rm -f conftest.err conftest.
$ac_ext
12454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12455 echo "${ECHO_T}$ac_header_preproc" >&6
12457 # So? What about this header?
12458 case $ac_header_compiler:$ac_header_preproc in
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12466 ## ------------------------------------ ##
12467 ## Report this to bug-autoconf@gnu.org. ##
12468 ## ------------------------------------ ##
12471 sed "s/^/$as_me: WARNING: /" >&2
12474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 eval "$as_ac_Header=$ac_header_preproc"
12497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12502 cat >>confdefs.h
<<_ACEOF
12503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12511 for ac_header
in unistd.h
12513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12515 echo "$as_me:$LINENO: checking for $ac_header" >&5
12516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12523 # Is the header compilable?
12524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12526 cat >conftest.
$ac_ext <<_ACEOF
12527 #line $LINENO "configure"
12530 cat confdefs.h
>>conftest.
$ac_ext
12531 cat >>conftest.
$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12533 $ac_includes_default
12534 #include <$ac_header>
12536 rm -f conftest.
$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try
='test -s conftest.$ac_objext'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; }; then
12548 ac_header_compiler
=yes
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.
$ac_ext >&5
12553 ac_header_compiler
=no
12555 rm -f conftest.
$ac_objext conftest.
$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12557 echo "${ECHO_T}$ac_header_compiler" >&6
12559 # Is the header present?
12560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12562 cat >conftest.
$ac_ext <<_ACEOF
12563 #line $LINENO "configure"
12566 cat confdefs.h
>>conftest.
$ac_ext
12567 cat >>conftest.
$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12569 #include <$ac_header>
12571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12574 grep -v '^ *+' conftest.er1
>conftest.err
12576 cat conftest.err
>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } >/dev
/null
; then
12579 if test -s conftest.err
; then
12580 ac_cpp_err
=$ac_c_preproc_warn_flag
12587 if test -z "$ac_cpp_err"; then
12588 ac_header_preproc
=yes
12590 echo "$as_me: failed program was:" >&5
12591 sed 's/^/| /' conftest.
$ac_ext >&5
12593 ac_header_preproc
=no
12595 rm -f conftest.err conftest.
$ac_ext
12596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12597 echo "${ECHO_T}$ac_header_preproc" >&6
12599 # So? What about this header?
12600 case $ac_header_compiler:$ac_header_preproc in
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12608 ## ------------------------------------ ##
12609 ## Report this to bug-autoconf@gnu.org. ##
12610 ## ------------------------------------ ##
12613 sed "s/^/$as_me: WARNING: /" >&2
12616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 eval "$as_ac_Header=$ac_header_preproc"
12639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12644 cat >>confdefs.h
<<_ACEOF
12645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12653 for ac_header
in wchar.h
12655 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12657 echo "$as_me:$LINENO: checking for $ac_header" >&5
12658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12665 # Is the header compilable?
12666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12668 cat >conftest.
$ac_ext <<_ACEOF
12669 #line $LINENO "configure"
12672 cat confdefs.h
>>conftest.
$ac_ext
12673 cat >>conftest.
$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675 $ac_includes_default
12676 #include <$ac_header>
12678 rm -f conftest.
$ac_objext
12679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12680 (eval $ac_compile) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } &&
12684 { ac_try
='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 ac_header_compiler
=yes
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.
$ac_ext >&5
12695 ac_header_compiler
=no
12697 rm -f conftest.
$ac_objext conftest.
$ac_ext
12698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12699 echo "${ECHO_T}$ac_header_compiler" >&6
12701 # Is the header present?
12702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12704 cat >conftest.
$ac_ext <<_ACEOF
12705 #line $LINENO "configure"
12708 cat confdefs.h
>>conftest.
$ac_ext
12709 cat >>conftest.
$ac_ext <<_ACEOF
12710 /* end confdefs.h. */
12711 #include <$ac_header>
12713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12714 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12716 grep -v '^ *+' conftest.er1
>conftest.err
12718 cat conftest.err
>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } >/dev
/null
; then
12721 if test -s conftest.err
; then
12722 ac_cpp_err
=$ac_c_preproc_warn_flag
12729 if test -z "$ac_cpp_err"; then
12730 ac_header_preproc
=yes
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.
$ac_ext >&5
12735 ac_header_preproc
=no
12737 rm -f conftest.err conftest.
$ac_ext
12738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12739 echo "${ECHO_T}$ac_header_preproc" >&6
12741 # So? What about this header?
12742 case $ac_header_compiler:$ac_header_preproc in
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12750 ## ------------------------------------ ##
12751 ## Report this to bug-autoconf@gnu.org. ##
12752 ## ------------------------------------ ##
12755 sed "s/^/$as_me: WARNING: /" >&2
12758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 eval "$as_ac_Header=$ac_header_preproc"
12781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12786 cat >>confdefs.h
<<_ACEOF
12787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12795 if test "$ac_cv_header_wchar_h" != "yes"; then
12797 for ac_header
in wcstr.h
12799 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12801 echo "$as_me:$LINENO: checking for $ac_header" >&5
12802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12809 # Is the header compilable?
12810 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12812 cat >conftest.
$ac_ext <<_ACEOF
12813 #line $LINENO "configure"
12816 cat confdefs.h
>>conftest.
$ac_ext
12817 cat >>conftest.
$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 $ac_includes_default
12820 #include <$ac_header>
12822 rm -f conftest.
$ac_objext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12824 (eval $ac_compile) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -s conftest.$ac_objext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 ac_header_compiler
=yes
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12839 ac_header_compiler
=no
12841 rm -f conftest.
$ac_objext conftest.
$ac_ext
12842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12843 echo "${ECHO_T}$ac_header_compiler" >&6
12845 # Is the header present?
12846 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12848 cat >conftest.
$ac_ext <<_ACEOF
12849 #line $LINENO "configure"
12852 cat confdefs.h
>>conftest.
$ac_ext
12853 cat >>conftest.
$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #include <$ac_header>
12857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } >/dev
/null
; then
12865 if test -s conftest.err
; then
12866 ac_cpp_err
=$ac_c_preproc_warn_flag
12873 if test -z "$ac_cpp_err"; then
12874 ac_header_preproc
=yes
12876 echo "$as_me: failed program was:" >&5
12877 sed 's/^/| /' conftest.
$ac_ext >&5
12879 ac_header_preproc
=no
12881 rm -f conftest.err conftest.
$ac_ext
12882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12883 echo "${ECHO_T}$ac_header_preproc" >&6
12885 # So? What about this header?
12886 case $ac_header_compiler:$ac_header_preproc in
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12894 ## ------------------------------------ ##
12895 ## Report this to bug-autoconf@gnu.org. ##
12896 ## ------------------------------------ ##
12899 sed "s/^/$as_me: WARNING: /" >&2
12902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 eval "$as_ac_Header=$ac_header_preproc"
12925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12930 cat >>confdefs.h
<<_ACEOF
12931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12941 for ac_header
in fnmatch.h
12943 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12945 echo "$as_me:$LINENO: checking for $ac_header" >&5
12946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12953 # Is the header compilable?
12954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12956 cat >conftest.
$ac_ext <<_ACEOF
12957 #line $LINENO "configure"
12960 cat confdefs.h
>>conftest.
$ac_ext
12961 cat >>conftest.
$ac_ext <<_ACEOF
12962 /* end confdefs.h. */
12963 $ac_includes_default
12964 #include <$ac_header>
12966 rm -f conftest.
$ac_objext
12967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12968 (eval $ac_compile) 2>&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); } &&
12972 { ac_try
='test -s conftest.$ac_objext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_header_compiler
=yes
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 ac_header_compiler
=no
12985 rm -f conftest.
$ac_objext conftest.
$ac_ext
12986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12987 echo "${ECHO_T}$ac_header_compiler" >&6
12989 # Is the header present?
12990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12992 cat >conftest.
$ac_ext <<_ACEOF
12993 #line $LINENO "configure"
12996 cat confdefs.h
>>conftest.
$ac_ext
12997 cat >>conftest.
$ac_ext <<_ACEOF
12998 /* end confdefs.h. */
12999 #include <$ac_header>
13001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13002 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13004 grep -v '^ *+' conftest.er1
>conftest.err
13006 cat conftest.err
>&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); } >/dev
/null
; then
13009 if test -s conftest.err
; then
13010 ac_cpp_err
=$ac_c_preproc_warn_flag
13017 if test -z "$ac_cpp_err"; then
13018 ac_header_preproc
=yes
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 ac_header_preproc
=no
13025 rm -f conftest.err conftest.
$ac_ext
13026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13027 echo "${ECHO_T}$ac_header_preproc" >&6
13029 # So? What about this header?
13030 case $ac_header_compiler:$ac_header_preproc in
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13038 ## ------------------------------------ ##
13039 ## Report this to bug-autoconf@gnu.org. ##
13040 ## ------------------------------------ ##
13043 sed "s/^/$as_me: WARNING: /" >&2
13046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
13063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13067 eval "$as_ac_Header=$ac_header_preproc"
13069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13074 cat >>confdefs.h
<<_ACEOF
13075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13083 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13085 for ac_func
in fnmatch
13087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13088 echo "$as_me:$LINENO: checking for $ac_func" >&5
13089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13090 if eval "test \"\${$as_ac_var+set}\" = set"; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 cat >conftest.
$ac_ext <<_ACEOF
13094 #line $LINENO "configure"
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100 /* System header to define __stub macros and hopefully few prototypes,
13101 which can conflict with char $ac_func (); below.
13102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13103 <limits.h> exists even on freestanding compilers. */
13105 # include <limits.h>
13107 # include <assert.h>
13109 /* Override any gcc2 internal prototype to avoid an error. */
13114 /* We use char because int might match the return type of a gcc2
13115 builtin and then its argument prototype would still apply. */
13117 /* The GNU C library defines this for functions which it implements
13118 to always fail with ENOSYS. Some functions are actually named
13119 something starting with __ and the normal name is an alias. */
13120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13123 char (*f) () = $ac_func;
13132 return f != $ac_func;
13137 rm -f conftest.
$ac_objext conftest
$ac_exeext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13139 (eval $ac_link) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } &&
13143 { ac_try
='test -s conftest$ac_exeext'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; }; then
13149 eval "$as_ac_var=yes"
13151 echo "$as_me: failed program was:" >&5
13152 sed 's/^/| /' conftest.
$ac_ext >&5
13154 eval "$as_ac_var=no"
13156 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13160 if test `eval echo '${'$as_ac_var'}'` = yes; then
13161 cat >>confdefs.h
<<_ACEOF
13162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13171 for ac_header
in langinfo.h
13173 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13175 echo "$as_me:$LINENO: checking for $ac_header" >&5
13176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13183 # Is the header compilable?
13184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13186 cat >conftest.
$ac_ext <<_ACEOF
13187 #line $LINENO "configure"
13190 cat confdefs.h
>>conftest.
$ac_ext
13191 cat >>conftest.
$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 $ac_includes_default
13194 #include <$ac_header>
13196 rm -f conftest.
$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } &&
13202 { ac_try
='test -s conftest.$ac_objext'
13203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 (eval $ac_try) 2>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); }; }; then
13208 ac_header_compiler
=yes
13210 echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.
$ac_ext >&5
13213 ac_header_compiler
=no
13215 rm -f conftest.
$ac_objext conftest.
$ac_ext
13216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13217 echo "${ECHO_T}$ac_header_compiler" >&6
13219 # Is the header present?
13220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13222 cat >conftest.
$ac_ext <<_ACEOF
13223 #line $LINENO "configure"
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #include <$ac_header>
13231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13234 grep -v '^ *+' conftest.er1
>conftest.err
13236 cat conftest.err
>&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev
/null
; then
13239 if test -s conftest.err
; then
13240 ac_cpp_err
=$ac_c_preproc_warn_flag
13247 if test -z "$ac_cpp_err"; then
13248 ac_header_preproc
=yes
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.
$ac_ext >&5
13253 ac_header_preproc
=no
13255 rm -f conftest.err conftest.
$ac_ext
13256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13257 echo "${ECHO_T}$ac_header_preproc" >&6
13259 # So? What about this header?
13260 case $ac_header_compiler:$ac_header_preproc in
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13268 ## ------------------------------------ ##
13269 ## Report this to bug-autoconf@gnu.org. ##
13270 ## ------------------------------------ ##
13273 sed "s/^/$as_me: WARNING: /" >&2
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
13293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 eval "$as_ac_Header=$ac_header_preproc"
13299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13304 cat >>confdefs.h
<<_ACEOF
13305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13314 *-pc-os2_emx | *-pc-os2-emx )
13315 if test $ac_cv_header_langinfo_h = "yes"; then
13316 LIBS
="$LIBS -lintl"
13321 if test "$wxUSE_GUI" = "yes"; then
13322 if test "$wxUSE_UNIX" = "yes"; then
13324 for ac_header
in X
11/XKBlib.h
13326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13328 echo "$as_me:$LINENO: checking for $ac_header" >&5
13329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13336 # Is the header compilable?
13337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13339 cat >conftest.
$ac_ext <<_ACEOF
13340 #line $LINENO "configure"
13343 cat confdefs.h
>>conftest.
$ac_ext
13344 cat >>conftest.
$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 $ac_includes_default
13347 #include <$ac_header>
13349 rm -f conftest.
$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } &&
13355 { ac_try
='test -s conftest.$ac_objext'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; }; then
13361 ac_header_compiler
=yes
13363 echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.
$ac_ext >&5
13366 ac_header_compiler
=no
13368 rm -f conftest.
$ac_objext conftest.
$ac_ext
13369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13370 echo "${ECHO_T}$ac_header_compiler" >&6
13372 # Is the header present?
13373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13375 cat >conftest.
$ac_ext <<_ACEOF
13376 #line $LINENO "configure"
13379 cat confdefs.h
>>conftest.
$ac_ext
13380 cat >>conftest.
$ac_ext <<_ACEOF
13381 /* end confdefs.h. */
13382 #include <$ac_header>
13384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13387 grep -v '^ *+' conftest.er1
>conftest.err
13389 cat conftest.err
>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } >/dev
/null
; then
13392 if test -s conftest.err
; then
13393 ac_cpp_err
=$ac_c_preproc_warn_flag
13400 if test -z "$ac_cpp_err"; then
13401 ac_header_preproc
=yes
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.
$ac_ext >&5
13406 ac_header_preproc
=no
13408 rm -f conftest.err conftest.
$ac_ext
13409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13410 echo "${ECHO_T}$ac_header_preproc" >&6
13412 # So? What about this header?
13413 case $ac_header_compiler:$ac_header_preproc in
13415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13421 ## ------------------------------------ ##
13422 ## Report this to bug-autoconf@gnu.org. ##
13423 ## ------------------------------------ ##
13426 sed "s/^/$as_me: WARNING: /" >&2
13429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
13446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 eval "$as_ac_Header=$ac_header_preproc"
13452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13457 cat >>confdefs.h
<<_ACEOF
13458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13469 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13470 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13471 if test "${ac_cv_c_const+set}" = set; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 cat >conftest.
$ac_ext <<_ACEOF
13475 #line $LINENO "configure"
13478 cat confdefs.h
>>conftest.
$ac_ext
13479 cat >>conftest.
$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13485 /* FIXME: Include the comments suggested by Paul. */
13486 #ifndef __cplusplus
13487 /* Ultrix mips cc rejects this. */
13488 typedef int charset[2];
13490 /* SunOS 4.1.1 cc rejects this. */
13491 char const *const *ccp;
13493 /* NEC SVR4.0.2 mips cc rejects this. */
13494 struct point {int x, y;};
13495 static struct point const zero = {0,0};
13496 /* AIX XL C 1.02.0.0 rejects this.
13497 It does not let you subtract one const X* pointer from another in
13498 an arm of an if-expression whose if-part is not a constant
13500 const char *g = "string";
13501 ccp = &g + (g ? g-g : 0);
13502 /* HPUX 7.0 cc rejects these. */
13505 ccp = (char const *const *) p;
13506 { /* SCO 3.2v4 cc rejects this. */
13508 char const *s = 0 ? (char *) 0 : (char const *) 0;
13512 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13513 int x[] = {25, 17};
13514 const int *foo = &x[0];
13517 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13518 typedef const int *iptr;
13522 { /* AIX XL C 1.02.0.0 rejects this saying
13523 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13524 struct s { int j; const int *ap[3]; };
13525 struct s *b; b->j = 5;
13527 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13528 const int foo = 10;
13536 rm -f conftest.
$ac_objext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538 (eval $ac_compile) 2>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try
='test -s conftest.$ac_objext'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; }; then
13550 echo "$as_me: failed program was:" >&5
13551 sed 's/^/| /' conftest.
$ac_ext >&5
13555 rm -f conftest.
$ac_objext conftest.
$ac_ext
13557 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13558 echo "${ECHO_T}$ac_cv_c_const" >&6
13559 if test $ac_cv_c_const = no
; then
13561 cat >>confdefs.h
<<\_ACEOF
13567 echo "$as_me:$LINENO: checking for inline" >&5
13568 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13569 if test "${ac_cv_c_inline+set}" = set; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 for ac_kw
in inline __inline__ __inline
; do
13574 cat >conftest.
$ac_ext <<_ACEOF
13575 #line $LINENO "configure"
13578 cat confdefs.h
>>conftest.
$ac_ext
13579 cat >>conftest.
$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581 #ifndef __cplusplus
13583 static $ac_kw foo_t static_foo () {return 0; }
13584 $ac_kw foo_t foo () {return 0; }
13588 rm -f conftest.
$ac_objext
13589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13590 (eval $ac_compile) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try
='test -s conftest.$ac_objext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_cv_c_inline
=$ac_kw; break
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.
$ac_ext >&5
13606 rm -f conftest.
$ac_objext conftest.
$ac_ext
13610 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13611 echo "${ECHO_T}$ac_cv_c_inline" >&6
13612 case $ac_cv_c_inline in
13615 cat >>confdefs.h
<<\_ACEOF
13619 *) cat >>confdefs.h
<<_ACEOF
13620 #define inline $ac_cv_c_inline
13626 echo "$as_me:$LINENO: checking for char" >&5
13627 echo $ECHO_N "checking for char... $ECHO_C" >&6
13628 if test "${ac_cv_type_char+set}" = set; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13631 cat >conftest.
$ac_ext <<_ACEOF
13632 #line $LINENO "configure"
13635 cat confdefs.h
>>conftest.
$ac_ext
13636 cat >>conftest.
$ac_ext <<_ACEOF
13637 /* end confdefs.h. */
13638 $ac_includes_default
13650 rm -f conftest.
$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } &&
13656 { ac_try
='test -s conftest.$ac_objext'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; }; then
13662 ac_cv_type_char
=yes
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.
$ac_ext >&5
13669 rm -f conftest.
$ac_objext conftest.
$ac_ext
13671 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13672 echo "${ECHO_T}$ac_cv_type_char" >&6
13674 echo "$as_me:$LINENO: checking size of char" >&5
13675 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13676 if test "${ac_cv_sizeof_char+set}" = set; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 if test "$ac_cv_type_char" = yes; then
13680 # The cast to unsigned long works around a bug in the HP C Compiler
13681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13683 # This bug is HP SR number 8606223364.
13684 if test "$cross_compiling" = yes; then
13685 # Depending upon the size, compute the lo and hi bounds.
13686 cat >conftest.
$ac_ext <<_ACEOF
13687 #line $LINENO "configure"
13690 cat confdefs.h
>>conftest.
$ac_ext
13691 cat >>conftest.
$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 $ac_includes_default
13697 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13704 rm -f conftest.
$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try
='test -s conftest.$ac_objext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13718 cat >conftest.
$ac_ext <<_ACEOF
13719 #line $LINENO "configure"
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 $ac_includes_default
13729 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13736 rm -f conftest.
$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try
='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_hi
=$ac_mid; break
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.
$ac_ext >&5
13753 ac_lo
=`expr $ac_mid + 1`
13754 if test $ac_lo -le $ac_mid; then
13758 ac_mid
=`expr 2 '*' $ac_mid + 1`
13760 rm -f conftest.
$ac_objext conftest.
$ac_ext
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.
$ac_ext >&5
13766 cat >conftest.
$ac_ext <<_ACEOF
13767 #line $LINENO "configure"
13770 cat confdefs.h
>>conftest.
$ac_ext
13771 cat >>conftest.
$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 $ac_includes_default
13777 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13784 rm -f conftest.
$ac_objext
13785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13786 (eval $ac_compile) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } &&
13790 { ac_try
='test -s conftest.$ac_objext'
13791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792 (eval $ac_try) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); }; }; then
13798 cat >conftest.
$ac_ext <<_ACEOF
13799 #line $LINENO "configure"
13802 cat confdefs.h
>>conftest.
$ac_ext
13803 cat >>conftest.
$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 $ac_includes_default
13809 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13816 rm -f conftest.
$ac_objext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13818 (eval $ac_compile) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try
='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_lo
=$ac_mid; break
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 ac_hi
=`expr '(' $ac_mid ')' - 1`
13834 if test $ac_mid -le $ac_hi; then
13838 ac_mid
=`expr 2 '*' $ac_mid`
13840 rm -f conftest.
$ac_objext conftest.
$ac_ext
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.
$ac_ext >&5
13848 rm -f conftest.
$ac_objext conftest.
$ac_ext
13850 rm -f conftest.
$ac_objext conftest.
$ac_ext
13851 # Binary search between lo and hi bounds.
13852 while test "x$ac_lo" != "x$ac_hi"; do
13853 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13854 cat >conftest.
$ac_ext <<_ACEOF
13855 #line $LINENO "configure"
13858 cat confdefs.h
>>conftest.
$ac_ext
13859 cat >>conftest.
$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 $ac_includes_default
13865 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13872 rm -f conftest.
$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } &&
13878 { ac_try
='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.
$ac_ext >&5
13889 ac_lo
=`expr '(' $ac_mid ')' + 1`
13891 rm -f conftest.
$ac_objext conftest.
$ac_ext
13894 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13895 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13896 See \`config.log' for more details." >&5
13897 echo "$as_me: error: cannot compute sizeof (char), 77
13898 See \`config.log' for more details." >&2;}
13899 { (exit 1); exit 1; }; } ;;
13902 if test "$cross_compiling" = yes; then
13903 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13904 See \`config.log' for more details." >&5
13905 echo "$as_me: error: cannot run test program while cross compiling
13906 See \`config.log' for more details." >&2;}
13907 { (exit 1); exit 1; }; }
13909 cat >conftest.
$ac_ext <<_ACEOF
13910 #line $LINENO "configure"
13913 cat confdefs.h
>>conftest.
$ac_ext
13914 cat >>conftest.
$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916 $ac_includes_default
13917 long longval () { return (long) (sizeof (char)); }
13918 unsigned long ulongval () { return (long) (sizeof (char)); }
13920 #include <stdlib.h>
13925 FILE *f = fopen ("conftest.val", "w");
13928 if (((long) (sizeof (char))) < 0)
13930 long i = longval ();
13931 if (i != ((long) (sizeof (char))))
13933 fprintf (f, "%ld\n", i);
13937 unsigned long i = ulongval ();
13938 if (i != ((long) (sizeof (char))))
13940 fprintf (f, "%lu\n", i);
13942 exit (ferror (f) || fclose (f) != 0);
13948 rm -f conftest
$ac_exeext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13950 (eval $ac_link) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; }; then
13959 ac_cv_sizeof_char
=`cat conftest.val`
13961 echo "$as_me: program exited with status $ac_status" >&5
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.
$ac_ext >&5
13965 ( exit $ac_status )
13966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13967 See \`config.log' for more details." >&5
13968 echo "$as_me: error: cannot compute sizeof (char), 77
13969 See \`config.log' for more details." >&2;}
13970 { (exit 1); exit 1; }; }
13972 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13977 ac_cv_sizeof_char
=0
13980 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13981 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13982 cat >>confdefs.h
<<_ACEOF
13983 #define SIZEOF_CHAR $ac_cv_sizeof_char
13987 echo "$as_me:$LINENO: checking for short" >&5
13988 echo $ECHO_N "checking for short... $ECHO_C" >&6
13989 if test "${ac_cv_type_short+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 cat >conftest.
$ac_ext <<_ACEOF
13993 #line $LINENO "configure"
13996 cat confdefs.h
>>conftest.
$ac_ext
13997 cat >>conftest.
$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 $ac_includes_default
14005 if (sizeof (short))
14011 rm -f conftest.
$ac_objext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14013 (eval $ac_compile) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try
='test -s conftest.$ac_objext'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; }; then
14023 ac_cv_type_short
=yes
14025 echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.
$ac_ext >&5
14028 ac_cv_type_short
=no
14030 rm -f conftest.
$ac_objext conftest.
$ac_ext
14032 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14033 echo "${ECHO_T}$ac_cv_type_short" >&6
14035 echo "$as_me:$LINENO: checking size of short" >&5
14036 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14037 if test "${ac_cv_sizeof_short+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 if test "$ac_cv_type_short" = yes; then
14041 # The cast to unsigned long works around a bug in the HP C Compiler
14042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14044 # This bug is HP SR number 8606223364.
14045 if test "$cross_compiling" = yes; then
14046 # Depending upon the size, compute the lo and hi bounds.
14047 cat >conftest.
$ac_ext <<_ACEOF
14048 #line $LINENO "configure"
14051 cat confdefs.h
>>conftest.
$ac_ext
14052 cat >>conftest.
$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 $ac_includes_default
14058 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14065 rm -f conftest.
$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try
='test -s conftest.$ac_objext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14079 cat >conftest.
$ac_ext <<_ACEOF
14080 #line $LINENO "configure"
14083 cat confdefs.h
>>conftest.
$ac_ext
14084 cat >>conftest.
$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 $ac_includes_default
14090 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); } &&
14103 { ac_try
='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_hi
=$ac_mid; break
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.
$ac_ext >&5
14114 ac_lo
=`expr $ac_mid + 1`
14115 if test $ac_lo -le $ac_mid; then
14119 ac_mid
=`expr 2 '*' $ac_mid + 1`
14121 rm -f conftest.
$ac_objext conftest.
$ac_ext
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.
$ac_ext >&5
14127 cat >conftest.
$ac_ext <<_ACEOF
14128 #line $LINENO "configure"
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14138 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14145 rm -f conftest.
$ac_objext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 (eval $ac_compile) 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } &&
14151 { ac_try
='test -s conftest.$ac_objext'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; }; then
14159 cat >conftest.
$ac_ext <<_ACEOF
14160 #line $LINENO "configure"
14163 cat confdefs.h
>>conftest.
$ac_ext
14164 cat >>conftest.
$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 $ac_includes_default
14170 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14177 rm -f conftest.
$ac_objext
14178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14179 (eval $ac_compile) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try
='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14189 ac_lo
=$ac_mid; break
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.
$ac_ext >&5
14194 ac_hi
=`expr '(' $ac_mid ')' - 1`
14195 if test $ac_mid -le $ac_hi; then
14199 ac_mid
=`expr 2 '*' $ac_mid`
14201 rm -f conftest.
$ac_objext conftest.
$ac_ext
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.
$ac_ext >&5
14209 rm -f conftest.
$ac_objext conftest.
$ac_ext
14211 rm -f conftest.
$ac_objext conftest.
$ac_ext
14212 # Binary search between lo and hi bounds.
14213 while test "x$ac_lo" != "x$ac_hi"; do
14214 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14215 cat >conftest.
$ac_ext <<_ACEOF
14216 #line $LINENO "configure"
14219 cat confdefs.h
>>conftest.
$ac_ext
14220 cat >>conftest.
$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14222 $ac_includes_default
14226 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14233 rm -f conftest.
$ac_objext
14234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14235 (eval $ac_compile) 2>&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try
='test -s conftest.$ac_objext'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.
$ac_ext >&5
14250 ac_lo
=`expr '(' $ac_mid ')' + 1`
14252 rm -f conftest.
$ac_objext conftest.
$ac_ext
14255 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14256 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14257 See \`config.log' for more details." >&5
14258 echo "$as_me: error: cannot compute sizeof (short), 77
14259 See \`config.log' for more details." >&2;}
14260 { (exit 1); exit 1; }; } ;;
14263 if test "$cross_compiling" = yes; then
14264 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14265 See \`config.log' for more details." >&5
14266 echo "$as_me: error: cannot run test program while cross compiling
14267 See \`config.log' for more details." >&2;}
14268 { (exit 1); exit 1; }; }
14270 cat >conftest.
$ac_ext <<_ACEOF
14271 #line $LINENO "configure"
14274 cat confdefs.h
>>conftest.
$ac_ext
14275 cat >>conftest.
$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_includes_default
14278 long longval () { return (long) (sizeof (short)); }
14279 unsigned long ulongval () { return (long) (sizeof (short)); }
14281 #include <stdlib.h>
14286 FILE *f = fopen ("conftest.val", "w");
14289 if (((long) (sizeof (short))) < 0)
14291 long i = longval ();
14292 if (i != ((long) (sizeof (short))))
14294 fprintf (f, "%ld\n", i);
14298 unsigned long i = ulongval ();
14299 if (i != ((long) (sizeof (short))))
14301 fprintf (f, "%lu\n", i);
14303 exit (ferror (f) || fclose (f) != 0);
14309 rm -f conftest
$ac_exeext
14310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14311 (eval $ac_link) 2>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; }; then
14320 ac_cv_sizeof_short
=`cat conftest.val`
14322 echo "$as_me: program exited with status $ac_status" >&5
14323 echo "$as_me: failed program was:" >&5
14324 sed 's/^/| /' conftest.
$ac_ext >&5
14326 ( exit $ac_status )
14327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14328 See \`config.log' for more details." >&5
14329 echo "$as_me: error: cannot compute sizeof (short), 77
14330 See \`config.log' for more details." >&2;}
14331 { (exit 1); exit 1; }; }
14333 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14338 ac_cv_sizeof_short
=0
14341 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14342 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14343 cat >>confdefs.h
<<_ACEOF
14344 #define SIZEOF_SHORT $ac_cv_sizeof_short
14348 echo "$as_me:$LINENO: checking for void *" >&5
14349 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14350 if test "${ac_cv_type_void_p+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 cat >conftest.
$ac_ext <<_ACEOF
14354 #line $LINENO "configure"
14357 cat confdefs.h
>>conftest.
$ac_ext
14358 cat >>conftest.
$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 $ac_includes_default
14366 if (sizeof (void *))
14372 rm -f conftest.
$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } &&
14378 { ac_try
='test -s conftest.$ac_objext'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; }; then
14384 ac_cv_type_void_p
=yes
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.
$ac_ext >&5
14389 ac_cv_type_void_p
=no
14391 rm -f conftest.
$ac_objext conftest.
$ac_ext
14393 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14394 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14396 echo "$as_me:$LINENO: checking size of void *" >&5
14397 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14398 if test "${ac_cv_sizeof_void_p+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 if test "$ac_cv_type_void_p" = yes; then
14402 # The cast to unsigned long works around a bug in the HP C Compiler
14403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14405 # This bug is HP SR number 8606223364.
14406 if test "$cross_compiling" = yes; then
14407 # Depending upon the size, compute the lo and hi bounds.
14408 cat >conftest.
$ac_ext <<_ACEOF
14409 #line $LINENO "configure"
14412 cat confdefs.h
>>conftest.
$ac_ext
14413 cat >>conftest.
$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14419 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14426 rm -f conftest.
$ac_objext
14427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14428 (eval $ac_compile) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14440 cat >conftest.
$ac_ext <<_ACEOF
14441 #line $LINENO "configure"
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14447 $ac_includes_default
14451 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14458 rm -f conftest.
$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try
='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_hi
=$ac_mid; break
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14475 ac_lo
=`expr $ac_mid + 1`
14476 if test $ac_lo -le $ac_mid; then
14480 ac_mid
=`expr 2 '*' $ac_mid + 1`
14482 rm -f conftest.
$ac_objext conftest.
$ac_ext
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.
$ac_ext >&5
14488 cat >conftest.
$ac_ext <<_ACEOF
14489 #line $LINENO "configure"
14492 cat confdefs.h
>>conftest.
$ac_ext
14493 cat >>conftest.
$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14499 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14506 rm -f conftest.
$ac_objext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14508 (eval $ac_compile) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -s conftest.$ac_objext'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; }; then
14520 cat >conftest.
$ac_ext <<_ACEOF
14521 #line $LINENO "configure"
14524 cat confdefs.h
>>conftest.
$ac_ext
14525 cat >>conftest.
$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 $ac_includes_default
14531 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14538 rm -f conftest.
$ac_objext
14539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14540 (eval $ac_compile) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } &&
14544 { ac_try
='test -s conftest.$ac_objext'
14545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 (eval $ac_try) 2>&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; }; then
14550 ac_lo
=$ac_mid; break
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.
$ac_ext >&5
14555 ac_hi
=`expr '(' $ac_mid ')' - 1`
14556 if test $ac_mid -le $ac_hi; then
14560 ac_mid
=`expr 2 '*' $ac_mid`
14562 rm -f conftest.
$ac_objext conftest.
$ac_ext
14565 echo "$as_me: failed program was:" >&5
14566 sed 's/^/| /' conftest.
$ac_ext >&5
14570 rm -f conftest.
$ac_objext conftest.
$ac_ext
14572 rm -f conftest.
$ac_objext conftest.
$ac_ext
14573 # Binary search between lo and hi bounds.
14574 while test "x$ac_lo" != "x$ac_hi"; do
14575 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14576 cat >conftest.
$ac_ext <<_ACEOF
14577 #line $LINENO "configure"
14580 cat confdefs.h
>>conftest.
$ac_ext
14581 cat >>conftest.
$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14583 $ac_includes_default
14587 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14594 rm -f conftest.
$ac_objext
14595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14596 (eval $ac_compile) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try
='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 ac_lo
=`expr '(' $ac_mid ')' + 1`
14613 rm -f conftest.
$ac_objext conftest.
$ac_ext
14616 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14617 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14618 See \`config.log' for more details." >&5
14619 echo "$as_me: error: cannot compute sizeof (void *), 77
14620 See \`config.log' for more details." >&2;}
14621 { (exit 1); exit 1; }; } ;;
14624 if test "$cross_compiling" = yes; then
14625 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14626 See \`config.log' for more details." >&5
14627 echo "$as_me: error: cannot run test program while cross compiling
14628 See \`config.log' for more details." >&2;}
14629 { (exit 1); exit 1; }; }
14631 cat >conftest.
$ac_ext <<_ACEOF
14632 #line $LINENO "configure"
14635 cat confdefs.h
>>conftest.
$ac_ext
14636 cat >>conftest.
$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638 $ac_includes_default
14639 long longval () { return (long) (sizeof (void *)); }
14640 unsigned long ulongval () { return (long) (sizeof (void *)); }
14642 #include <stdlib.h>
14647 FILE *f = fopen ("conftest.val", "w");
14650 if (((long) (sizeof (void *))) < 0)
14652 long i = longval ();
14653 if (i != ((long) (sizeof (void *))))
14655 fprintf (f, "%ld\n", i);
14659 unsigned long i = ulongval ();
14660 if (i != ((long) (sizeof (void *))))
14662 fprintf (f, "%lu\n", i);
14664 exit (ferror (f) || fclose (f) != 0);
14670 rm -f conftest
$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14681 ac_cv_sizeof_void_p
=`cat conftest.val`
14683 echo "$as_me: program exited with status $ac_status" >&5
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.
$ac_ext >&5
14687 ( exit $ac_status )
14688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14689 See \`config.log' for more details." >&5
14690 echo "$as_me: error: cannot compute sizeof (void *), 77
14691 See \`config.log' for more details." >&2;}
14692 { (exit 1); exit 1; }; }
14694 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14699 ac_cv_sizeof_void_p
=0
14702 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14703 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14704 cat >>confdefs.h
<<_ACEOF
14705 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14709 echo "$as_me:$LINENO: checking for int" >&5
14710 echo $ECHO_N "checking for int... $ECHO_C" >&6
14711 if test "${ac_cv_type_int+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 cat >conftest.
$ac_ext <<_ACEOF
14715 #line $LINENO "configure"
14718 cat confdefs.h
>>conftest.
$ac_ext
14719 cat >>conftest.
$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 $ac_includes_default
14733 rm -f conftest.
$ac_objext
14734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14735 (eval $ac_compile) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); } &&
14739 { ac_try
='test -s conftest.$ac_objext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14752 rm -f conftest.
$ac_objext conftest.
$ac_ext
14754 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14755 echo "${ECHO_T}$ac_cv_type_int" >&6
14757 echo "$as_me:$LINENO: checking size of int" >&5
14758 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14759 if test "${ac_cv_sizeof_int+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 if test "$ac_cv_type_int" = yes; then
14763 # The cast to unsigned long works around a bug in the HP C Compiler
14764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14766 # This bug is HP SR number 8606223364.
14767 if test "$cross_compiling" = yes; then
14768 # Depending upon the size, compute the lo and hi bounds.
14769 cat >conftest.
$ac_ext <<_ACEOF
14770 #line $LINENO "configure"
14773 cat confdefs.h
>>conftest.
$ac_ext
14774 cat >>conftest.
$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 $ac_includes_default
14780 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14787 rm -f conftest.
$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try
='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14801 cat >conftest.
$ac_ext <<_ACEOF
14802 #line $LINENO "configure"
14805 cat confdefs.h
>>conftest.
$ac_ext
14806 cat >>conftest.
$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14812 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14819 rm -f conftest.
$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try
='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_hi
=$ac_mid; break
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_lo
=`expr $ac_mid + 1`
14837 if test $ac_lo -le $ac_mid; then
14841 ac_mid
=`expr 2 '*' $ac_mid + 1`
14843 rm -f conftest.
$ac_objext conftest.
$ac_ext
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.
$ac_ext >&5
14849 cat >conftest.
$ac_ext <<_ACEOF
14850 #line $LINENO "configure"
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14860 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14867 rm -f conftest.
$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } &&
14873 { ac_try
='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14881 cat >conftest.
$ac_ext <<_ACEOF
14882 #line $LINENO "configure"
14885 cat confdefs.h
>>conftest.
$ac_ext
14886 cat >>conftest.
$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 $ac_includes_default
14892 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14899 rm -f conftest.
$ac_objext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } &&
14905 { ac_try
='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 ac_lo
=$ac_mid; break
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.
$ac_ext >&5
14916 ac_hi
=`expr '(' $ac_mid ')' - 1`
14917 if test $ac_mid -le $ac_hi; then
14921 ac_mid
=`expr 2 '*' $ac_mid`
14923 rm -f conftest.
$ac_objext conftest.
$ac_ext
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.
$ac_ext >&5
14931 rm -f conftest.
$ac_objext conftest.
$ac_ext
14933 rm -f conftest.
$ac_objext conftest.
$ac_ext
14934 # Binary search between lo and hi bounds.
14935 while test "x$ac_lo" != "x$ac_hi"; do
14936 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14937 cat >conftest.
$ac_ext <<_ACEOF
14938 #line $LINENO "configure"
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 $ac_includes_default
14948 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14955 rm -f conftest.
$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try
='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.
$ac_ext >&5
14972 ac_lo
=`expr '(' $ac_mid ')' + 1`
14974 rm -f conftest.
$ac_objext conftest.
$ac_ext
14977 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14978 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14979 See \`config.log' for more details." >&5
14980 echo "$as_me: error: cannot compute sizeof (int), 77
14981 See \`config.log' for more details." >&2;}
14982 { (exit 1); exit 1; }; } ;;
14985 if test "$cross_compiling" = yes; then
14986 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14987 See \`config.log' for more details." >&5
14988 echo "$as_me: error: cannot run test program while cross compiling
14989 See \`config.log' for more details." >&2;}
14990 { (exit 1); exit 1; }; }
14992 cat >conftest.
$ac_ext <<_ACEOF
14993 #line $LINENO "configure"
14996 cat confdefs.h
>>conftest.
$ac_ext
14997 cat >>conftest.
$ac_ext <<_ACEOF
14998 /* end confdefs.h. */
14999 $ac_includes_default
15000 long longval () { return (long) (sizeof (int)); }
15001 unsigned long ulongval () { return (long) (sizeof (int)); }
15003 #include <stdlib.h>
15008 FILE *f = fopen ("conftest.val", "w");
15011 if (((long) (sizeof (int))) < 0)
15013 long i = longval ();
15014 if (i != ((long) (sizeof (int))))
15016 fprintf (f, "%ld\n", i);
15020 unsigned long i = ulongval ();
15021 if (i != ((long) (sizeof (int))))
15023 fprintf (f, "%lu\n", i);
15025 exit (ferror (f) || fclose (f) != 0);
15031 rm -f conftest
$ac_exeext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15033 (eval $ac_link) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; }; then
15042 ac_cv_sizeof_int
=`cat conftest.val`
15044 echo "$as_me: program exited with status $ac_status" >&5
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.
$ac_ext >&5
15048 ( exit $ac_status )
15049 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15050 See \`config.log' for more details." >&5
15051 echo "$as_me: error: cannot compute sizeof (int), 77
15052 See \`config.log' for more details." >&2;}
15053 { (exit 1); exit 1; }; }
15055 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15063 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15064 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15065 cat >>confdefs.h
<<_ACEOF
15066 #define SIZEOF_INT $ac_cv_sizeof_int
15070 echo "$as_me:$LINENO: checking for long" >&5
15071 echo $ECHO_N "checking for long... $ECHO_C" >&6
15072 if test "${ac_cv_type_long+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 cat >conftest.
$ac_ext <<_ACEOF
15076 #line $LINENO "configure"
15079 cat confdefs.h
>>conftest.
$ac_ext
15080 cat >>conftest.
$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 $ac_includes_default
15094 rm -f conftest.
$ac_objext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15096 (eval $ac_compile) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); } &&
15100 { ac_try
='test -s conftest.$ac_objext'
15101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15102 (eval $ac_try) 2>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); }; }; then
15106 ac_cv_type_long
=yes
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.
$ac_ext >&5
15113 rm -f conftest.
$ac_objext conftest.
$ac_ext
15115 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15116 echo "${ECHO_T}$ac_cv_type_long" >&6
15118 echo "$as_me:$LINENO: checking size of long" >&5
15119 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15120 if test "${ac_cv_sizeof_long+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 if test "$ac_cv_type_long" = yes; then
15124 # The cast to unsigned long works around a bug in the HP C Compiler
15125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15127 # This bug is HP SR number 8606223364.
15128 if test "$cross_compiling" = yes; then
15129 # Depending upon the size, compute the lo and hi bounds.
15130 cat >conftest.
$ac_ext <<_ACEOF
15131 #line $LINENO "configure"
15134 cat confdefs.h
>>conftest.
$ac_ext
15135 cat >>conftest.
$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137 $ac_includes_default
15141 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15148 rm -f conftest.
$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } &&
15154 { ac_try
='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15162 cat >conftest.
$ac_ext <<_ACEOF
15163 #line $LINENO "configure"
15166 cat confdefs.h
>>conftest.
$ac_ext
15167 cat >>conftest.
$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15173 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15180 rm -f conftest.
$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } &&
15186 { ac_try
='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_hi
=$ac_mid; break
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.
$ac_ext >&5
15197 ac_lo
=`expr $ac_mid + 1`
15198 if test $ac_lo -le $ac_mid; then
15202 ac_mid
=`expr 2 '*' $ac_mid + 1`
15204 rm -f conftest.
$ac_objext conftest.
$ac_ext
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15210 cat >conftest.
$ac_ext <<_ACEOF
15211 #line $LINENO "configure"
15214 cat confdefs.h
>>conftest.
$ac_ext
15215 cat >>conftest.
$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15217 $ac_includes_default
15221 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15228 rm -f conftest.
$ac_objext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15230 (eval $ac_compile) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try
='test -s conftest.$ac_objext'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; }; then
15242 cat >conftest.
$ac_ext <<_ACEOF
15243 #line $LINENO "configure"
15246 cat confdefs.h
>>conftest.
$ac_ext
15247 cat >>conftest.
$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15249 $ac_includes_default
15253 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15260 rm -f conftest.
$ac_objext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15262 (eval $ac_compile) 2>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try
='test -s conftest.$ac_objext'
15267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15268 (eval $ac_try) 2>&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }; }; then
15272 ac_lo
=$ac_mid; break
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.
$ac_ext >&5
15277 ac_hi
=`expr '(' $ac_mid ')' - 1`
15278 if test $ac_mid -le $ac_hi; then
15282 ac_mid
=`expr 2 '*' $ac_mid`
15284 rm -f conftest.
$ac_objext conftest.
$ac_ext
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.
$ac_ext >&5
15292 rm -f conftest.
$ac_objext conftest.
$ac_ext
15294 rm -f conftest.
$ac_objext conftest.
$ac_ext
15295 # Binary search between lo and hi bounds.
15296 while test "x$ac_lo" != "x$ac_hi"; do
15297 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15298 cat >conftest.
$ac_ext <<_ACEOF
15299 #line $LINENO "configure"
15302 cat confdefs.h
>>conftest.
$ac_ext
15303 cat >>conftest.
$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15309 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15316 rm -f conftest.
$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try
='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.
$ac_ext >&5
15333 ac_lo
=`expr '(' $ac_mid ')' + 1`
15335 rm -f conftest.
$ac_objext conftest.
$ac_ext
15338 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15340 See \`config.log' for more details." >&5
15341 echo "$as_me: error: cannot compute sizeof (long), 77
15342 See \`config.log' for more details." >&2;}
15343 { (exit 1); exit 1; }; } ;;
15346 if test "$cross_compiling" = yes; then
15347 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15348 See \`config.log' for more details." >&5
15349 echo "$as_me: error: cannot run test program while cross compiling
15350 See \`config.log' for more details." >&2;}
15351 { (exit 1); exit 1; }; }
15353 cat >conftest.
$ac_ext <<_ACEOF
15354 #line $LINENO "configure"
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15361 long longval () { return (long) (sizeof (long)); }
15362 unsigned long ulongval () { return (long) (sizeof (long)); }
15364 #include <stdlib.h>
15369 FILE *f = fopen ("conftest.val", "w");
15372 if (((long) (sizeof (long))) < 0)
15374 long i = longval ();
15375 if (i != ((long) (sizeof (long))))
15377 fprintf (f, "%ld\n", i);
15381 unsigned long i = ulongval ();
15382 if (i != ((long) (sizeof (long))))
15384 fprintf (f, "%lu\n", i);
15386 exit (ferror (f) || fclose (f) != 0);
15392 rm -f conftest
$ac_exeext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15394 (eval $ac_link) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; }; then
15403 ac_cv_sizeof_long
=`cat conftest.val`
15405 echo "$as_me: program exited with status $ac_status" >&5
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.
$ac_ext >&5
15409 ( exit $ac_status )
15410 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15411 See \`config.log' for more details." >&5
15412 echo "$as_me: error: cannot compute sizeof (long), 77
15413 See \`config.log' for more details." >&2;}
15414 { (exit 1); exit 1; }; }
15416 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15421 ac_cv_sizeof_long
=0
15424 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15425 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15426 cat >>confdefs.h
<<_ACEOF
15427 #define SIZEOF_LONG $ac_cv_sizeof_long
15434 echo "$as_me:$LINENO: checking for long long" >&5
15435 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15436 if test "${ac_cv_type_long_long+set}" = set; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 cat >conftest.
$ac_ext <<_ACEOF
15440 #line $LINENO "configure"
15443 cat confdefs.h
>>conftest.
$ac_ext
15444 cat >>conftest.
$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 $ac_includes_default
15450 if ((long long *) 0)
15452 if (sizeof (long long))
15458 rm -f conftest.
$ac_objext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15460 (eval $ac_compile) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } &&
15464 { ac_try
='test -s conftest.$ac_objext'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; }; then
15470 ac_cv_type_long_long
=yes
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.
$ac_ext >&5
15475 ac_cv_type_long_long
=no
15477 rm -f conftest.
$ac_objext conftest.
$ac_ext
15479 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15480 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15482 echo "$as_me:$LINENO: checking size of long long" >&5
15483 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15484 if test "${ac_cv_sizeof_long_long+set}" = set; then
15485 echo $ECHO_N "(cached) $ECHO_C" >&6
15487 if test "$ac_cv_type_long_long" = yes; then
15488 # The cast to unsigned long works around a bug in the HP C Compiler
15489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15491 # This bug is HP SR number 8606223364.
15492 if test "$cross_compiling" = yes; then
15493 # Depending upon the size, compute the lo and hi bounds.
15494 cat >conftest.
$ac_ext <<_ACEOF
15495 #line $LINENO "configure"
15498 cat confdefs.h
>>conftest.
$ac_ext
15499 cat >>conftest.
$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501 $ac_includes_default
15505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15512 rm -f conftest.
$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try
='test -s conftest.$ac_objext'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15526 cat >conftest.
$ac_ext <<_ACEOF
15527 #line $LINENO "configure"
15530 cat confdefs.h
>>conftest.
$ac_ext
15531 cat >>conftest.
$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 $ac_includes_default
15537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15544 rm -f conftest.
$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try
='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_hi
=$ac_mid; break
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15561 ac_lo
=`expr $ac_mid + 1`
15562 if test $ac_lo -le $ac_mid; then
15566 ac_mid
=`expr 2 '*' $ac_mid + 1`
15568 rm -f conftest.
$ac_objext conftest.
$ac_ext
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.
$ac_ext >&5
15574 cat >conftest.
$ac_ext <<_ACEOF
15575 #line $LINENO "configure"
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15592 rm -f conftest.
$ac_objext
15593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15594 (eval $ac_compile) 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } &&
15598 { ac_try
='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15606 cat >conftest.
$ac_ext <<_ACEOF
15607 #line $LINENO "configure"
15610 cat confdefs.h
>>conftest.
$ac_ext
15611 cat >>conftest.
$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 $ac_includes_default
15617 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15624 rm -f conftest.
$ac_objext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15626 (eval $ac_compile) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try
='test -s conftest.$ac_objext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_lo
=$ac_mid; break
15638 echo "$as_me: failed program was:" >&5
15639 sed 's/^/| /' conftest.
$ac_ext >&5
15641 ac_hi
=`expr '(' $ac_mid ')' - 1`
15642 if test $ac_mid -le $ac_hi; then
15646 ac_mid
=`expr 2 '*' $ac_mid`
15648 rm -f conftest.
$ac_objext conftest.
$ac_ext
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.
$ac_ext >&5
15656 rm -f conftest.
$ac_objext conftest.
$ac_ext
15658 rm -f conftest.
$ac_objext conftest.
$ac_ext
15659 # Binary search between lo and hi bounds.
15660 while test "x$ac_lo" != "x$ac_hi"; do
15661 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15662 cat >conftest.
$ac_ext <<_ACEOF
15663 #line $LINENO "configure"
15666 cat confdefs.h
>>conftest.
$ac_ext
15667 cat >>conftest.
$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 $ac_includes_default
15673 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15680 rm -f conftest.
$ac_objext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try
='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 ac_lo
=`expr '(' $ac_mid ')' + 1`
15699 rm -f conftest.
$ac_objext conftest.
$ac_ext
15702 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15703 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15704 See \`config.log' for more details." >&5
15705 echo "$as_me: error: cannot compute sizeof (long long), 77
15706 See \`config.log' for more details." >&2;}
15707 { (exit 1); exit 1; }; } ;;
15710 if test "$cross_compiling" = yes; then
15711 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15712 See \`config.log' for more details." >&5
15713 echo "$as_me: error: cannot run test program while cross compiling
15714 See \`config.log' for more details." >&2;}
15715 { (exit 1); exit 1; }; }
15717 cat >conftest.
$ac_ext <<_ACEOF
15718 #line $LINENO "configure"
15721 cat confdefs.h
>>conftest.
$ac_ext
15722 cat >>conftest.
$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 long longval () { return (long) (sizeof (long long)); }
15726 unsigned long ulongval () { return (long) (sizeof (long long)); }
15728 #include <stdlib.h>
15733 FILE *f = fopen ("conftest.val", "w");
15736 if (((long) (sizeof (long long))) < 0)
15738 long i = longval ();
15739 if (i != ((long) (sizeof (long long))))
15741 fprintf (f, "%ld\n", i);
15745 unsigned long i = ulongval ();
15746 if (i != ((long) (sizeof (long long))))
15748 fprintf (f, "%lu\n", i);
15750 exit (ferror (f) || fclose (f) != 0);
15756 rm -f conftest
$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 ac_cv_sizeof_long_long
=`cat conftest.val`
15769 echo "$as_me: program exited with status $ac_status" >&5
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.
$ac_ext >&5
15773 ( exit $ac_status )
15774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15775 See \`config.log' for more details." >&5
15776 echo "$as_me: error: cannot compute sizeof (long long), 77
15777 See \`config.log' for more details." >&2;}
15778 { (exit 1); exit 1; }; }
15780 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15785 ac_cv_sizeof_long_long
=0
15788 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15789 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15790 cat >>confdefs.h
<<_ACEOF
15791 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15797 echo "$as_me:$LINENO: checking for long long" >&5
15798 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15799 if test "${ac_cv_type_long_long+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 cat >conftest.
$ac_ext <<_ACEOF
15803 #line $LINENO "configure"
15806 cat confdefs.h
>>conftest.
$ac_ext
15807 cat >>conftest.
$ac_ext <<_ACEOF
15808 /* end confdefs.h. */
15809 $ac_includes_default
15813 if ((long long *) 0)
15815 if (sizeof (long long))
15821 rm -f conftest.
$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try
='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_cv_type_long_long
=yes
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 ac_cv_type_long_long
=no
15840 rm -f conftest.
$ac_objext conftest.
$ac_ext
15842 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15843 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15845 echo "$as_me:$LINENO: checking size of long long" >&5
15846 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15847 if test "${ac_cv_sizeof_long_long+set}" = set; then
15848 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 if test "$ac_cv_type_long_long" = yes; then
15851 # The cast to unsigned long works around a bug in the HP C Compiler
15852 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15853 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15854 # This bug is HP SR number 8606223364.
15855 if test "$cross_compiling" = yes; then
15856 # Depending upon the size, compute the lo and hi bounds.
15857 cat >conftest.
$ac_ext <<_ACEOF
15858 #line $LINENO "configure"
15861 cat confdefs.h
>>conftest.
$ac_ext
15862 cat >>conftest.
$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 $ac_includes_default
15868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15875 rm -f conftest.
$ac_objext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15889 cat >conftest.
$ac_ext <<_ACEOF
15890 #line $LINENO "configure"
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15907 rm -f conftest.
$ac_objext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15909 (eval $ac_compile) 2>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try
='test -s conftest.$ac_objext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_hi
=$ac_mid; break
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.
$ac_ext >&5
15924 ac_lo
=`expr $ac_mid + 1`
15925 if test $ac_lo -le $ac_mid; then
15929 ac_mid
=`expr 2 '*' $ac_mid + 1`
15931 rm -f conftest.
$ac_objext conftest.
$ac_ext
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.
$ac_ext >&5
15937 cat >conftest.
$ac_ext <<_ACEOF
15938 #line $LINENO "configure"
15941 cat confdefs.h
>>conftest.
$ac_ext
15942 cat >>conftest.
$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 $ac_includes_default
15948 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15955 rm -f conftest.
$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try
='test -s conftest.$ac_objext'
15962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; }; then
15969 cat >conftest.
$ac_ext <<_ACEOF
15970 #line $LINENO "configure"
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15980 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15987 rm -f conftest.
$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try
='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_lo
=$ac_mid; break
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 ac_hi
=`expr '(' $ac_mid ')' - 1`
16005 if test $ac_mid -le $ac_hi; then
16009 ac_mid
=`expr 2 '*' $ac_mid`
16011 rm -f conftest.
$ac_objext conftest.
$ac_ext
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.
$ac_ext >&5
16019 rm -f conftest.
$ac_objext conftest.
$ac_ext
16021 rm -f conftest.
$ac_objext conftest.
$ac_ext
16022 # Binary search between lo and hi bounds.
16023 while test "x$ac_lo" != "x$ac_hi"; do
16024 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16025 cat >conftest.
$ac_ext <<_ACEOF
16026 #line $LINENO "configure"
16029 cat confdefs.h
>>conftest.
$ac_ext
16030 cat >>conftest.
$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16043 rm -f conftest.
$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try
='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.
$ac_ext >&5
16060 ac_lo
=`expr '(' $ac_mid ')' + 1`
16062 rm -f conftest.
$ac_objext conftest.
$ac_ext
16065 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16066 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16067 See \`config.log' for more details." >&5
16068 echo "$as_me: error: cannot compute sizeof (long long), 77
16069 See \`config.log' for more details." >&2;}
16070 { (exit 1); exit 1; }; } ;;
16073 if test "$cross_compiling" = yes; then
16074 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16075 See \`config.log' for more details." >&5
16076 echo "$as_me: error: cannot run test program while cross compiling
16077 See \`config.log' for more details." >&2;}
16078 { (exit 1); exit 1; }; }
16080 cat >conftest.
$ac_ext <<_ACEOF
16081 #line $LINENO "configure"
16084 cat confdefs.h
>>conftest.
$ac_ext
16085 cat >>conftest.
$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16087 $ac_includes_default
16088 long longval () { return (long) (sizeof (long long)); }
16089 unsigned long ulongval () { return (long) (sizeof (long long)); }
16091 #include <stdlib.h>
16096 FILE *f = fopen ("conftest.val", "w");
16099 if (((long) (sizeof (long long))) < 0)
16101 long i = longval ();
16102 if (i != ((long) (sizeof (long long))))
16104 fprintf (f, "%ld\n", i);
16108 unsigned long i = ulongval ();
16109 if (i != ((long) (sizeof (long long))))
16111 fprintf (f, "%lu\n", i);
16113 exit (ferror (f) || fclose (f) != 0);
16119 rm -f conftest
$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126 (eval $ac_try) 2>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); }; }; then
16130 ac_cv_sizeof_long_long
=`cat conftest.val`
16132 echo "$as_me: program exited with status $ac_status" >&5
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 ( exit $ac_status )
16137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16138 See \`config.log' for more details." >&5
16139 echo "$as_me: error: cannot compute sizeof (long long), 77
16140 See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; }
16143 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16148 ac_cv_sizeof_long_long
=0
16151 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16152 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16153 cat >>confdefs.h
<<_ACEOF
16154 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16158 if test "$ac_cv_sizeof_long_long" != "0"; then
16159 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16163 echo "$as_me:$LINENO: checking for long long" >&5
16164 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16165 if test "${ac_cv_type_long_long+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 cat >conftest.
$ac_ext <<_ACEOF
16169 #line $LINENO "configure"
16172 cat confdefs.h
>>conftest.
$ac_ext
16173 cat >>conftest.
$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175 $ac_includes_default
16179 if ((long long *) 0)
16181 if (sizeof (long long))
16187 rm -f conftest.
$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } &&
16193 { ac_try
='test -s conftest.$ac_objext'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; }; then
16199 ac_cv_type_long_long
=yes
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.
$ac_ext >&5
16204 ac_cv_type_long_long
=no
16206 rm -f conftest.
$ac_objext conftest.
$ac_ext
16208 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16209 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16211 echo "$as_me:$LINENO: checking size of long long" >&5
16212 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16213 if test "${ac_cv_sizeof_long_long+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 if test "$ac_cv_type_long_long" = yes; then
16217 # The cast to unsigned long works around a bug in the HP C Compiler
16218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16220 # This bug is HP SR number 8606223364.
16221 if test "$cross_compiling" = yes; then
16222 # Depending upon the size, compute the lo and hi bounds.
16223 cat >conftest.
$ac_ext <<_ACEOF
16224 #line $LINENO "configure"
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16241 rm -f conftest.
$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try
='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16255 cat >conftest.
$ac_ext <<_ACEOF
16256 #line $LINENO "configure"
16259 cat confdefs.h
>>conftest.
$ac_ext
16260 cat >>conftest.
$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16266 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16273 rm -f conftest.
$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } &&
16279 { ac_try
='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_hi
=$ac_mid; break
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 ac_lo
=`expr $ac_mid + 1`
16291 if test $ac_lo -le $ac_mid; then
16295 ac_mid
=`expr 2 '*' $ac_mid + 1`
16297 rm -f conftest.
$ac_objext conftest.
$ac_ext
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.
$ac_ext >&5
16303 cat >conftest.
$ac_ext <<_ACEOF
16304 #line $LINENO "configure"
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 $ac_includes_default
16314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16321 rm -f conftest.
$ac_objext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16323 (eval $ac_compile) 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } &&
16327 { ac_try
='test -s conftest.$ac_objext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16335 cat >conftest.
$ac_ext <<_ACEOF
16336 #line $LINENO "configure"
16339 cat confdefs.h
>>conftest.
$ac_ext
16340 cat >>conftest.
$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342 $ac_includes_default
16346 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16353 rm -f conftest.
$ac_objext
16354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16355 (eval $ac_compile) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try
='test -s conftest.$ac_objext'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; }; then
16365 ac_lo
=$ac_mid; break
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.
$ac_ext >&5
16370 ac_hi
=`expr '(' $ac_mid ')' - 1`
16371 if test $ac_mid -le $ac_hi; then
16375 ac_mid
=`expr 2 '*' $ac_mid`
16377 rm -f conftest.
$ac_objext conftest.
$ac_ext
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.
$ac_ext >&5
16385 rm -f conftest.
$ac_objext conftest.
$ac_ext
16387 rm -f conftest.
$ac_objext conftest.
$ac_ext
16388 # Binary search between lo and hi bounds.
16389 while test "x$ac_lo" != "x$ac_hi"; do
16390 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16391 cat >conftest.
$ac_ext <<_ACEOF
16392 #line $LINENO "configure"
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try
='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16426 ac_lo
=`expr '(' $ac_mid ')' + 1`
16428 rm -f conftest.
$ac_objext conftest.
$ac_ext
16431 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16432 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16433 See \`config.log' for more details." >&5
16434 echo "$as_me: error: cannot compute sizeof (long long), 77
16435 See \`config.log' for more details." >&2;}
16436 { (exit 1); exit 1; }; } ;;
16439 if test "$cross_compiling" = yes; then
16440 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16441 See \`config.log' for more details." >&5
16442 echo "$as_me: error: cannot run test program while cross compiling
16443 See \`config.log' for more details." >&2;}
16444 { (exit 1); exit 1; }; }
16446 cat >conftest.
$ac_ext <<_ACEOF
16447 #line $LINENO "configure"
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 $ac_includes_default
16454 long longval () { return (long) (sizeof (long long)); }
16455 unsigned long ulongval () { return (long) (sizeof (long long)); }
16457 #include <stdlib.h>
16462 FILE *f = fopen ("conftest.val", "w");
16465 if (((long) (sizeof (long long))) < 0)
16467 long i = longval ();
16468 if (i != ((long) (sizeof (long long))))
16470 fprintf (f, "%ld\n", i);
16474 unsigned long i = ulongval ();
16475 if (i != ((long) (sizeof (long long))))
16477 fprintf (f, "%lu\n", i);
16479 exit (ferror (f) || fclose (f) != 0);
16485 rm -f conftest
$ac_exeext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16487 (eval $ac_link) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; }; then
16496 ac_cv_sizeof_long_long
=`cat conftest.val`
16498 echo "$as_me: program exited with status $ac_status" >&5
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 ( exit $ac_status )
16503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16504 See \`config.log' for more details." >&5
16505 echo "$as_me: error: cannot compute sizeof (long long), 77
16506 See \`config.log' for more details." >&2;}
16507 { (exit 1); exit 1; }; }
16509 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16514 ac_cv_sizeof_long_long
=0
16517 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16518 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16519 cat >>confdefs.h
<<_ACEOF
16520 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16526 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16527 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16528 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 if test "$cross_compiling" = yes; then
16536 wx_cv_sizeof_wchar_t
=0
16539 wx_cv_sizeof_wchar_t
=4
16545 cat >conftest.
$ac_ext <<_ACEOF
16546 #line $LINENO "configure"
16549 cat confdefs.h
>>conftest.
$ac_ext
16550 cat >>conftest.
$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16553 /* DJGPP only has fake wchar_t: */
16555 # error "fake wchar_t"
16557 #ifdef HAVE_WCHAR_H
16559 # include <stddef.h>
16561 # include <wchar.h>
16563 #ifdef HAVE_STDLIB_H
16564 # include <stdlib.h>
16569 FILE *f=fopen("conftestval", "w");
16571 fprintf(f, "%i", sizeof(wchar_t));
16576 rm -f conftest
$ac_exeext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16578 (eval $ac_link) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; }; then
16587 wx_cv_sizeof_wchar_t
=`cat conftestval`
16589 echo "$as_me: program exited with status $ac_status" >&5
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.
$ac_ext >&5
16593 ( exit $ac_status )
16594 wx_cv_sizeof_wchar_t
=0
16596 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16600 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16601 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16603 cat >>confdefs.h
<<_ACEOF
16604 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16608 # Check whether --enable-largefile or --disable-largefile was given.
16609 if test "${enable_largefile+set}" = set; then
16610 enableval
="$enable_largefile"
16613 if test "$enable_largefile" != no
; then
16616 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16617 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16618 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16622 cat >conftest.
$ac_ext <<_ACEOF
16623 #line $LINENO "configure"
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 #define _FILE_OFFSET_BITS 64
16630 #include <sys/types.h>
16635 unsigned int field: sizeof(off_t) == 8;
16642 rm -f conftest.
$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try
='test -s conftest.$ac_objext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 ac_cv_sys_file_offset_bits
=64
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.
$ac_ext >&5
16659 ac_cv_sys_file_offset_bits
=no
16661 rm -f conftest.
$ac_objext conftest.
$ac_ext
16665 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16666 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16668 if test "$ac_cv_sys_file_offset_bits" != no
; then
16670 cat >>confdefs.h
<<_ACEOF
16671 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16676 if test "x$wx_largefile" != "xyes"; then
16678 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16679 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16680 if test "${ac_cv_sys_large_files+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 cat >conftest.
$ac_ext <<_ACEOF
16685 #line $LINENO "configure"
16688 cat confdefs.h
>>conftest.
$ac_ext
16689 cat >>conftest.
$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #define _LARGE_FILES 1
16692 #include <sys/types.h>
16697 unsigned int field: sizeof(off_t) == 8;
16704 rm -f conftest.
$ac_objext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16706 (eval $ac_compile) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16716 ac_cv_sys_large_files
=1
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.
$ac_ext >&5
16721 ac_cv_sys_large_files
=no
16723 rm -f conftest.
$ac_objext conftest.
$ac_ext
16727 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16728 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16730 if test "$ac_cv_sys_large_files" != no
; then
16732 cat >>confdefs.h
<<_ACEOF
16733 #define _LARGE_FILES $ac_cv_sys_large_files
16740 echo "$as_me:$LINENO: checking if large file support is available" >&5
16741 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16742 if test "x$wx_largefile" = "xyes"; then
16743 cat >>confdefs.h
<<\_ACEOF
16744 #define HAVE_LARGEFILE_SUPPORT 1
16748 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16749 echo "${ECHO_T}$wx_largefile" >&6
16753 if test "x$wx_largefile" = "xyes"; then
16754 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16755 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16757 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16759 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16762 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16763 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16764 if test "${ac_cv_c_bigendian+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 ac_cv_c_bigendian
=unknown
16768 # See if sys/param.h defines the BYTE_ORDER macro.
16769 cat >conftest.
$ac_ext <<_ACEOF
16770 #line $LINENO "configure"
16773 cat confdefs.h
>>conftest.
$ac_ext
16774 cat >>conftest.
$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 #include <sys/types.h>
16777 #include <sys/param.h>
16782 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16783 bogus endian macros
16789 rm -f conftest.
$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -s conftest.$ac_objext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 # It does; now see whether it defined to BIG_ENDIAN or not.
16802 cat >conftest.
$ac_ext <<_ACEOF
16803 #line $LINENO "configure"
16806 cat confdefs.h
>>conftest.
$ac_ext
16807 cat >>conftest.
$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #include <sys/types.h>
16810 #include <sys/param.h>
16815 #if BYTE_ORDER != BIG_ENDIAN
16822 rm -f conftest.
$ac_objext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16824 (eval $ac_compile) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try
='test -s conftest.$ac_objext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 ac_cv_c_bigendian
=yes
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.
$ac_ext >&5
16839 ac_cv_c_bigendian
=no
16841 rm -f conftest.
$ac_objext conftest.
$ac_ext
16843 echo "$as_me: failed program was:" >&5
16844 sed 's/^/| /' conftest.
$ac_ext >&5
16847 rm -f conftest.
$ac_objext conftest.
$ac_ext
16848 if test $ac_cv_c_bigendian = unknown
; then
16849 if test "$cross_compiling" = yes; then
16850 ac_cv_c_bigendian
=unknown
16852 cat >conftest.
$ac_ext <<_ACEOF
16853 #line $LINENO "configure"
16856 cat confdefs.h
>>conftest.
$ac_ext
16857 cat >>conftest.
$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16860 /* Are we little or big endian? From Harbison&Steele. */
16864 char c[sizeof (long)];
16867 exit (u.c[sizeof (long) - 1] == 1);
16870 rm -f conftest
$ac_exeext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16872 (eval $ac_link) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; }; then
16881 ac_cv_c_bigendian
=no
16883 echo "$as_me: program exited with status $ac_status" >&5
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.
$ac_ext >&5
16887 ( exit $ac_status )
16888 ac_cv_c_bigendian
=yes
16890 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16894 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16895 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16896 if test $ac_cv_c_bigendian = unknown
; then
16897 { 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
16898 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;}
16900 if test $ac_cv_c_bigendian = yes; then
16901 cat >>confdefs.h
<<\_ACEOF
16902 #define WORDS_BIGENDIAN 1
16910 ac_cpp
='$CXXCPP $CPPFLAGS'
16911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16914 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16915 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16916 if test -z "$CXXCPP"; then
16917 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16918 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 # Double quotes because CXXCPP needs to be expanded
16921 for CXXCPP
in "$CXX -E" "/lib/cpp"
16923 ac_preproc_ok
=false
16924 for ac_cxx_preproc_warn_flag
in '' yes
16926 # Use a header file that comes with gcc, so configuring glibc
16927 # with a fresh cross-compiler works.
16928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16929 # <limits.h> exists even on freestanding compilers.
16930 # On the NeXT, cc -E runs the code through the compiler's parser,
16931 # not just through cpp. "Syntax error" is here to catch this case.
16932 cat >conftest.
$ac_ext <<_ACEOF
16933 #line $LINENO "configure"
16936 cat confdefs.h
>>conftest.
$ac_ext
16937 cat >>conftest.
$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16940 # include <limits.h>
16942 # include <assert.h>
16946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } >/dev
/null
; then
16954 if test -s conftest.err
; then
16955 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16962 if test -z "$ac_cpp_err"; then
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.
$ac_ext >&5
16968 # Broken: fails on valid input.
16971 rm -f conftest.err conftest.
$ac_ext
16973 # OK, works on sane cases. Now check whether non-existent headers
16974 # can be detected and how.
16975 cat >conftest.
$ac_ext <<_ACEOF
16976 #line $LINENO "configure"
16979 cat confdefs.h
>>conftest.
$ac_ext
16980 cat >>conftest.
$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 #include <ac_nonexistent.h>
16984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16987 grep -v '^ *+' conftest.er1
>conftest.err
16989 cat conftest.err
>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } >/dev
/null
; then
16992 if test -s conftest.err
; then
16993 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17000 if test -z "$ac_cpp_err"; then
17001 # Broken: success on invalid input.
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.
$ac_ext >&5
17007 # Passes both tests.
17011 rm -f conftest.err conftest.
$ac_ext
17014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17015 rm -f conftest.err conftest.
$ac_ext
17016 if $ac_preproc_ok; then
17021 ac_cv_prog_CXXCPP
=$CXXCPP
17024 CXXCPP
=$ac_cv_prog_CXXCPP
17026 ac_cv_prog_CXXCPP
=$CXXCPP
17028 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17029 echo "${ECHO_T}$CXXCPP" >&6
17030 ac_preproc_ok
=false
17031 for ac_cxx_preproc_warn_flag
in '' yes
17033 # Use a header file that comes with gcc, so configuring glibc
17034 # with a fresh cross-compiler works.
17035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17036 # <limits.h> exists even on freestanding compilers.
17037 # On the NeXT, cc -E runs the code through the compiler's parser,
17038 # not just through cpp. "Syntax error" is here to catch this case.
17039 cat >conftest.
$ac_ext <<_ACEOF
17040 #line $LINENO "configure"
17043 cat confdefs.h
>>conftest.
$ac_ext
17044 cat >>conftest.
$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17047 # include <limits.h>
17049 # include <assert.h>
17053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17056 grep -v '^ *+' conftest.er1
>conftest.err
17058 cat conftest.err
>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); } >/dev
/null
; then
17061 if test -s conftest.err
; then
17062 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17069 if test -z "$ac_cpp_err"; then
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.
$ac_ext >&5
17075 # Broken: fails on valid input.
17078 rm -f conftest.err conftest.
$ac_ext
17080 # OK, works on sane cases. Now check whether non-existent headers
17081 # can be detected and how.
17082 cat >conftest.
$ac_ext <<_ACEOF
17083 #line $LINENO "configure"
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <ac_nonexistent.h>
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev
/null
; then
17099 if test -s conftest.err
; then
17100 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17107 if test -z "$ac_cpp_err"; then
17108 # Broken: success on invalid input.
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17114 # Passes both tests.
17118 rm -f conftest.err conftest.
$ac_ext
17121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17122 rm -f conftest.err conftest.
$ac_ext
17123 if $ac_preproc_ok; then
17126 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17127 See \`config.log' for more details." >&5
17128 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17129 See \`config.log' for more details." >&2;}
17130 { (exit 1); exit 1; }; }
17134 ac_cpp
='$CXXCPP $CPPFLAGS'
17135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17141 if test "$cross_compiling" = "yes"; then
17142 cat >>confdefs.h
<<\_ACEOF
17143 #define wxUSE_IOSTREAMH 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 for ac_header
in iostream
17159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17161 echo "$as_me:$LINENO: checking for $ac_header" >&5
17162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17169 # Is the header compilable?
17170 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17172 cat >conftest.
$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17176 cat confdefs.h
>>conftest.
$ac_ext
17177 cat >>conftest.
$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 $ac_includes_default
17180 #include <$ac_header>
17182 rm -f conftest.
$ac_objext
17183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17184 (eval $ac_compile) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try
='test -s conftest.$ac_objext'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; }; then
17194 ac_header_compiler
=yes
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.
$ac_ext >&5
17199 ac_header_compiler
=no
17201 rm -f conftest.
$ac_objext conftest.
$ac_ext
17202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17203 echo "${ECHO_T}$ac_header_compiler" >&6
17205 # Is the header present?
17206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17208 cat >conftest.
$ac_ext <<_ACEOF
17209 #line $LINENO "configure"
17212 cat confdefs.h
>>conftest.
$ac_ext
17213 cat >>conftest.
$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 #include <$ac_header>
17217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } >/dev
/null
; then
17225 if test -s conftest.err
; then
17226 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17233 if test -z "$ac_cpp_err"; then
17234 ac_header_preproc
=yes
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.
$ac_ext >&5
17239 ac_header_preproc
=no
17241 rm -f conftest.err conftest.
$ac_ext
17242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17243 echo "${ECHO_T}$ac_header_preproc" >&6
17245 # So? What about this header?
17246 case $ac_header_compiler:$ac_header_preproc in
17248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17254 ## ------------------------------------ ##
17255 ## Report this to bug-autoconf@gnu.org. ##
17256 ## ------------------------------------ ##
17259 sed "s/^/$as_me: WARNING: /" >&2
17262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
17279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 eval "$as_ac_Header=$ac_header_preproc"
17285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17290 cat >>confdefs.h
<<_ACEOF
17291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17299 if test "$ac_cv_header_iostream" = "yes" ; then
17302 cat >>confdefs.h
<<\_ACEOF
17303 #define wxUSE_IOSTREAMH 1
17309 ac_cpp
='$CPP $CPPFLAGS'
17310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17318 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17319 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17320 if test "${wx_cv_cpp_bool+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 ac_cpp
='$CXXCPP $CPPFLAGS'
17328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17333 cat >conftest.
$ac_ext <<_ACEOF
17334 #line $LINENO "configure"
17337 cat confdefs.h
>>conftest.
$ac_ext
17338 cat >>conftest.
$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17354 rm -f conftest.
$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try
='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17378 rm -f conftest.
$ac_objext conftest.
$ac_ext
17381 ac_cpp
='$CPP $CPPFLAGS'
17382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17388 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17389 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17391 if test "$wx_cv_cpp_bool" = "yes"; then
17392 cat >>confdefs.h
<<\_ACEOF
17393 #define HAVE_BOOL 1
17400 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17401 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17402 if test "${wx_cv_explicit+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 ac_cpp
='$CXXCPP $CPPFLAGS'
17410 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17415 cat >conftest.
$ac_ext <<_ACEOF
17416 #line $LINENO "configure"
17419 cat confdefs.h
>>conftest.
$ac_ext
17420 cat >>conftest.
$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17423 class Foo { public: explicit Foo(int) {} };
17435 rm -f conftest.
$ac_objext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17437 (eval $ac_compile) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } &&
17441 { ac_try
='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17448 cat >conftest.
$ac_ext <<_ACEOF
17449 #line $LINENO "configure"
17452 cat confdefs.h
>>conftest.
$ac_ext
17453 cat >>conftest.
$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17456 class Foo { public: explicit Foo(int) {} };
17457 static void TakeFoo(const Foo& foo) { }
17470 rm -f conftest.
$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try
='test -s conftest.$ac_objext'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; }; then
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.
$ac_ext >&5
17490 rm -f conftest.
$ac_objext conftest.
$ac_ext
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.
$ac_ext >&5
17499 rm -f conftest.
$ac_objext conftest.
$ac_ext
17502 ac_cpp
='$CPP $CPPFLAGS'
17503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17509 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17510 echo "${ECHO_T}$wx_cv_explicit" >&6
17512 if test "$wx_cv_explicit" = "yes"; then
17513 cat >>confdefs.h
<<\_ACEOF
17514 #define HAVE_EXPLICIT 1
17520 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17521 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17522 if test "${ac_cv_cxx_const_cast+set}" = set; then
17523 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 ac_cpp
='$CXXCPP $CPPFLAGS'
17529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17533 cat >conftest.
$ac_ext <<_ACEOF
17534 #line $LINENO "configure"
17537 cat confdefs.h
>>conftest.
$ac_ext
17538 cat >>conftest.
$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17544 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17549 rm -f conftest.
$ac_objext
17550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17551 (eval $ac_compile) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try
='test -s conftest.$ac_objext'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; }; then
17561 ac_cv_cxx_const_cast
=yes
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.
$ac_ext >&5
17566 ac_cv_cxx_const_cast
=no
17568 rm -f conftest.
$ac_objext conftest.
$ac_ext
17570 ac_cpp
='$CPP $CPPFLAGS'
17571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17577 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17578 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17579 if test "$ac_cv_cxx_const_cast" = yes; then
17581 cat >>confdefs.h
<<\_ACEOF
17582 #define HAVE_CONST_CAST
17590 /usr/local/include \
17592 /usr/Motif-1.2/include \
17593 /usr/Motif-2.1/include \
17595 /usr/include/Motif1.2 \
17596 /opt/xpm/include/X11 \
17597 /opt/GBxpm/include/ \
17598 /opt/GBxpm/X11/include/ \
17600 /usr/Motif1.2/include \
17602 /usr/openwin/include \
17606 /usr/X11R6/include \
17607 /usr/X11R6.4/include \
17608 /usr/X11R5/include \
17609 /usr/X11R4/include \
17611 /usr/include/X11R6 \
17612 /usr/include/X11R5 \
17613 /usr/include/X11R4 \
17615 /usr/local/X11R6/include \
17616 /usr/local/X11R5/include \
17617 /usr/local/X11R4/include \
17619 /usr/local/include/X11R6 \
17620 /usr/local/include/X11R5 \
17621 /usr/local/include/X11R4 \
17625 /usr/local/X11/include \
17626 /usr/local/include/X11 \
17628 /usr/X386/include \
17629 /usr/x386/include \
17630 /usr/XFree86/include/X11 \
17632 X:/XFree86/include \
17633 X:/XFree86/include/X11 \
17636 /usr/local/include/gtk \
17637 /usr/include/glib \
17638 /usr/local/include/glib \
17641 /usr/local/include/qt \
17643 /usr/include/windows \
17644 /usr/include/wine \
17645 /usr/local/include/wine \
17647 /usr/unsupported/include \
17648 /usr/athena/include \
17649 /usr/local/x11r5/include \
17650 /usr/lpp/Xamples/include \
17652 /usr/openwin/share/include"
17654 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17657 cat >confcache
<<\_ACEOF
17658 # This file is a shell script that caches the results of configure
17659 # tests run on this system so they can be shared between configure
17660 # scripts and configure runs, see configure's option --config-cache.
17661 # It is not useful on other systems. If it contains results you don't
17662 # want to keep, you may remove or edit it.
17664 # config.status only pays attention to the cache file if you give it
17665 # the --recheck option to rerun configure.
17667 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17668 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17669 # following values.
17673 # The following way of writing the cache mishandles newlines in values,
17674 # but we know of no workaround that is simple, portable, and efficient.
17675 # So, don't put newlines in cache variables' values.
17676 # Ultrix sh set writes to stderr and can't be redirected directly,
17677 # and sets the high bit in the cache file unless we assign to the vars.
17680 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17682 # `set' does not quote correctly, so add quotes (double-quote
17683 # substitution turns \\\\ into \\, and sed turns \\ into \).
17686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17689 # `set' quotes correctly as required by POSIX, so do not add quotes.
17691 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17698 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17700 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17702 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17703 if test -w $cache_file; then
17704 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17705 cat confcache
>$cache_file
17707 echo "not updating unwritable cache $cache_file"
17712 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17713 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17714 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17715 if test "${wx_cv_lib_glibc21+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17719 cat >conftest.
$ac_ext <<_ACEOF
17720 #line $LINENO "configure"
17723 cat confdefs.h
>>conftest.
$ac_ext
17724 cat >>conftest.
$ac_ext <<_ACEOF
17725 /* end confdefs.h. */
17726 #include <features.h>
17731 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17732 #error not glibc2.1
17739 rm -f conftest.
$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try
='test -s conftest.$ac_objext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17752 wx_cv_lib_glibc21
=yes
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.
$ac_ext >&5
17759 wx_cv_lib_glibc21
=no
17763 rm -f conftest.
$ac_objext conftest.
$ac_ext
17766 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17767 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17768 if test "$wx_cv_lib_glibc21" = "yes"; then
17769 cat >>confdefs.h
<<\_ACEOF
17770 #define wxHAVE_GLIBC2 1
17776 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17777 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17778 cat >>confdefs.h
<<\_ACEOF
17779 #define _GNU_SOURCE 1
17788 if test "$wxUSE_REGEX" != "no"; then
17789 cat >>confdefs.h
<<\_ACEOF
17790 #define wxUSE_REGEX 1
17794 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17795 if test "${ac_cv_header_regex_h+set}" = set; then
17796 echo "$as_me:$LINENO: checking for regex.h" >&5
17797 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17798 if test "${ac_cv_header_regex_h+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17802 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17804 # Is the header compilable?
17805 echo "$as_me:$LINENO: checking regex.h usability" >&5
17806 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17807 cat >conftest.
$ac_ext <<_ACEOF
17808 #line $LINENO "configure"
17811 cat confdefs.h
>>conftest.
$ac_ext
17812 cat >>conftest.
$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17814 $ac_includes_default
17817 rm -f conftest.
$ac_objext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17819 (eval $ac_compile) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try
='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_header_compiler
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_header_compiler
=no
17836 rm -f conftest.
$ac_objext conftest.
$ac_ext
17837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17838 echo "${ECHO_T}$ac_header_compiler" >&6
17840 # Is the header present?
17841 echo "$as_me:$LINENO: checking regex.h presence" >&5
17842 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17843 cat >conftest.
$ac_ext <<_ACEOF
17844 #line $LINENO "configure"
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17855 grep -v '^ *+' conftest.er1
>conftest.err
17857 cat conftest.err
>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } >/dev
/null
; then
17860 if test -s conftest.err
; then
17861 ac_cpp_err
=$ac_c_preproc_warn_flag
17868 if test -z "$ac_cpp_err"; then
17869 ac_header_preproc
=yes
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.
$ac_ext >&5
17874 ac_header_preproc
=no
17876 rm -f conftest.err conftest.
$ac_ext
17877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17878 echo "${ECHO_T}$ac_header_preproc" >&6
17880 # So? What about this header?
17881 case $ac_header_compiler:$ac_header_preproc in
17883 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17884 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17886 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17889 ## ------------------------------------ ##
17890 ## Report this to bug-autoconf@gnu.org. ##
17891 ## ------------------------------------ ##
17894 sed "s/^/$as_me: WARNING: /" >&2
17897 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17898 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17899 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17900 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&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: checking for regex.h" >&5
17914 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17915 if test "${ac_cv_header_regex_h+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 ac_cv_header_regex_h
=$ac_header_preproc
17920 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17921 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17924 if test $ac_cv_header_regex_h = yes; then
17926 for ac_func
in regcomp
17928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17929 echo "$as_me:$LINENO: checking for $ac_func" >&5
17930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17931 if eval "test \"\${$as_ac_var+set}\" = set"; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 cat >conftest.
$ac_ext <<_ACEOF
17935 #line $LINENO "configure"
17938 cat confdefs.h
>>conftest.
$ac_ext
17939 cat >>conftest.
$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17941 /* System header to define __stub macros and hopefully few prototypes,
17942 which can conflict with char $ac_func (); below.
17943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17944 <limits.h> exists even on freestanding compilers. */
17946 # include <limits.h>
17948 # include <assert.h>
17950 /* Override any gcc2 internal prototype to avoid an error. */
17955 /* We use char because int might match the return type of a gcc2
17956 builtin and then its argument prototype would still apply. */
17958 /* The GNU C library defines this for functions which it implements
17959 to always fail with ENOSYS. Some functions are actually named
17960 something starting with __ and the normal name is an alias. */
17961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17964 char (*f) () = $ac_func;
17973 return f != $ac_func;
17978 rm -f conftest.
$ac_objext conftest
$ac_exeext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17980 (eval $ac_link) 2>&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try
='test -s conftest$ac_exeext'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; }; then
17990 eval "$as_ac_var=yes"
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.
$ac_ext >&5
17995 eval "$as_ac_var=no"
17997 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18001 if test `eval echo '${'$as_ac_var'}'` = yes; then
18002 cat >>confdefs.h
<<_ACEOF
18003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18013 if test "x$ac_cv_func_regcomp" != "xyes"; then
18014 if test "$wxUSE_REGEX" = "sys" ; then
18015 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18016 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18017 { (exit 1); exit 1; }; }
18019 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18020 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18021 wxUSE_REGEX
=builtin
18028 if test "$wxUSE_REGEX" = "builtin" ; then
18029 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18036 if test "$wxUSE_ZLIB" != "no" ; then
18037 cat >>confdefs.h
<<\_ACEOF
18038 #define wxUSE_ZLIB 1
18042 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18043 if test "$USE_DARWIN" = 1; then
18044 system_zlib_h_ok
="yes"
18046 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18047 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18048 if test "${ac_cv_header_zlib_h+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 if test "$cross_compiling" = yes; then
18052 unset ac_cv_header_zlib_h
18055 cat >conftest.
$ac_ext <<_ACEOF
18056 #line $LINENO "configure"
18059 cat confdefs.h
>>conftest.
$ac_ext
18060 cat >>conftest.
$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18068 FILE *f=fopen("conftestval", "w");
18071 ZLIB_VERSION[0] == '1' &&
18072 (ZLIB_VERSION[2] > '1' ||
18073 (ZLIB_VERSION[2] == '1' &&
18074 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18079 rm -f conftest
$ac_exeext
18080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18081 (eval $ac_link) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_cv_header_zlib_h
=`cat conftestval`
18092 echo "$as_me: program exited with status $ac_status" >&5
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.
$ac_ext >&5
18096 ( exit $ac_status )
18097 ac_cv_header_zlib_h
=no
18099 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18103 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18104 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18105 if test "${ac_cv_header_zlib_h+set}" = set; then
18106 echo "$as_me:$LINENO: checking for zlib.h" >&5
18107 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18108 if test "${ac_cv_header_zlib_h+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18112 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18114 # Is the header compilable?
18115 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18116 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18117 cat >conftest.
$ac_ext <<_ACEOF
18118 #line $LINENO "configure"
18121 cat confdefs.h
>>conftest.
$ac_ext
18122 cat >>conftest.
$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 $ac_includes_default
18127 rm -f conftest.
$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try
='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_header_compiler
=yes
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 ac_header_compiler
=no
18146 rm -f conftest.
$ac_objext conftest.
$ac_ext
18147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18148 echo "${ECHO_T}$ac_header_compiler" >&6
18150 # Is the header present?
18151 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18152 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18153 cat >conftest.
$ac_ext <<_ACEOF
18154 #line $LINENO "configure"
18157 cat confdefs.h
>>conftest.
$ac_ext
18158 cat >>conftest.
$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18165 grep -v '^ *+' conftest.er1
>conftest.err
18167 cat conftest.err
>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } >/dev
/null
; then
18170 if test -s conftest.err
; then
18171 ac_cpp_err
=$ac_c_preproc_warn_flag
18178 if test -z "$ac_cpp_err"; then
18179 ac_header_preproc
=yes
18181 echo "$as_me: failed program was:" >&5
18182 sed 's/^/| /' conftest.
$ac_ext >&5
18184 ac_header_preproc
=no
18186 rm -f conftest.err conftest.
$ac_ext
18187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18188 echo "${ECHO_T}$ac_header_preproc" >&6
18190 # So? What about this header?
18191 case $ac_header_compiler:$ac_header_preproc in
18193 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18194 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18195 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18196 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18199 ## ------------------------------------ ##
18200 ## Report this to bug-autoconf@gnu.org. ##
18201 ## ------------------------------------ ##
18204 sed "s/^/$as_me: WARNING: /" >&2
18207 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18208 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18209 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18210 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&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: checking for zlib.h" >&5
18224 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18225 if test "${ac_cv_header_zlib_h+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18228 ac_cv_header_zlib_h
=$ac_header_preproc
18230 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18231 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18237 system_zlib_h_ok
=$ac_cv_header_zlib_h
18240 if test "$system_zlib_h_ok" = "yes"; then
18241 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18242 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18243 if test "${ac_cv_lib_z_deflate+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 ac_check_lib_save_LIBS
=$LIBS
18248 cat >conftest.
$ac_ext <<_ACEOF
18249 #line $LINENO "configure"
18252 cat confdefs.h
>>conftest.
$ac_ext
18253 cat >>conftest.
$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18256 /* Override any gcc2 internal prototype to avoid an error. */
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18271 rm -f conftest.
$ac_objext conftest
$ac_exeext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18273 (eval $ac_link) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -s conftest$ac_exeext'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18283 ac_cv_lib_z_deflate
=yes
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.
$ac_ext >&5
18288 ac_cv_lib_z_deflate
=no
18290 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18291 LIBS
=$ac_check_lib_save_LIBS
18293 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18294 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18295 if test $ac_cv_lib_z_deflate = yes; then
18301 if test "x$ZLIB_LINK" = "x" ; then
18302 if test "$wxUSE_ZLIB" = "sys" ; then
18303 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18304 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18305 { (exit 1); exit 1; }; }
18307 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18308 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18316 if test "$wxUSE_ZLIB" = "builtin" ; then
18317 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18324 if test "$wxUSE_LIBPNG" != "no" ; then
18325 cat >>confdefs.h
<<\_ACEOF
18326 #define wxUSE_LIBPNG 1
18330 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18331 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18332 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18336 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18337 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18338 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18339 wxUSE_LIBPNG
=builtin
18342 if test "$wxUSE_MGL" != 1 ; then
18343 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18344 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18345 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18346 if test "${ac_cv_header_png_h+set}" = set; then
18347 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 if test "$cross_compiling" = yes; then
18350 unset ac_cv_header_png_h
18353 cat >conftest.
$ac_ext <<_ACEOF
18354 #line $LINENO "configure"
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18366 FILE *f=fopen("conftestval", "w");
18369 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18374 rm -f conftest
$ac_exeext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18376 (eval $ac_link) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; }; then
18385 ac_cv_header_png_h
=`cat conftestval`
18387 echo "$as_me: program exited with status $ac_status" >&5
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.
$ac_ext >&5
18391 ( exit $ac_status )
18392 ac_cv_header_png_h
=no
18394 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18398 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18399 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18400 if test "${ac_cv_header_png_h+set}" = set; then
18401 echo "$as_me:$LINENO: checking for png.h" >&5
18402 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18403 if test "${ac_cv_header_png_h+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18407 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18409 # Is the header compilable?
18410 echo "$as_me:$LINENO: checking png.h usability" >&5
18411 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18412 cat >conftest.
$ac_ext <<_ACEOF
18413 #line $LINENO "configure"
18416 cat confdefs.h
>>conftest.
$ac_ext
18417 cat >>conftest.
$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18422 rm -f conftest.
$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } &&
18428 { ac_try
='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18434 ac_header_compiler
=yes
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.
$ac_ext >&5
18439 ac_header_compiler
=no
18441 rm -f conftest.
$ac_objext conftest.
$ac_ext
18442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18443 echo "${ECHO_T}$ac_header_compiler" >&6
18445 # Is the header present?
18446 echo "$as_me:$LINENO: checking png.h presence" >&5
18447 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18448 cat >conftest.
$ac_ext <<_ACEOF
18449 #line $LINENO "configure"
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18460 grep -v '^ *+' conftest.er1
>conftest.err
18462 cat conftest.err
>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } >/dev
/null
; then
18465 if test -s conftest.err
; then
18466 ac_cpp_err
=$ac_c_preproc_warn_flag
18473 if test -z "$ac_cpp_err"; then
18474 ac_header_preproc
=yes
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.
$ac_ext >&5
18479 ac_header_preproc
=no
18481 rm -f conftest.err conftest.
$ac_ext
18482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18483 echo "${ECHO_T}$ac_header_preproc" >&6
18485 # So? What about this header?
18486 case $ac_header_compiler:$ac_header_preproc in
18488 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18489 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18490 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18491 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18494 ## ------------------------------------ ##
18495 ## Report this to bug-autoconf@gnu.org. ##
18496 ## ------------------------------------ ##
18499 sed "s/^/$as_me: WARNING: /" >&2
18502 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18503 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18504 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18505 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&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: checking for png.h" >&5
18519 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18520 if test "${ac_cv_header_png_h+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 ac_cv_header_png_h
=$ac_header_preproc
18525 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18526 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18532 if test "$ac_cv_header_png_h" = "yes"; then
18533 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18534 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18535 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 ac_check_lib_save_LIBS
=$LIBS
18539 LIBS
="-lpng -lz -lm $LIBS"
18540 cat >conftest.
$ac_ext <<_ACEOF
18541 #line $LINENO "configure"
18544 cat confdefs.h
>>conftest.
$ac_ext
18545 cat >>conftest.
$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18548 /* Override any gcc2 internal prototype to avoid an error. */
18552 /* We use char because int might match the return type of a gcc2
18553 builtin and then its argument prototype would still apply. */
18554 char png_check_sig ();
18563 rm -f conftest.
$ac_objext conftest
$ac_exeext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18565 (eval $ac_link) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } &&
18569 { ac_try
='test -s conftest$ac_exeext'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; }; then
18575 ac_cv_lib_png_png_check_sig
=yes
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.
$ac_ext >&5
18580 ac_cv_lib_png_png_check_sig
=no
18582 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18583 LIBS
=$ac_check_lib_save_LIBS
18585 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18586 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18587 if test $ac_cv_lib_png_png_check_sig = yes; then
18593 if test "x$PNG_LINK" = "x" ; then
18594 if test "$wxUSE_LIBPNG" = "sys" ; then
18595 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18596 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18597 { (exit 1); exit 1; }; }
18599 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18600 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18601 wxUSE_LIBPNG
=builtin
18609 if test "$wxUSE_LIBPNG" = "builtin" ; then
18610 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18619 if test "$wxUSE_LIBJPEG" != "no" ; then
18620 cat >>confdefs.h
<<\_ACEOF
18621 #define wxUSE_LIBJPEG 1
18625 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18626 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18627 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18631 if test "$wxUSE_MGL" != 1 ; then
18632 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18633 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18634 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18635 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18638 cat >conftest.
$ac_ext <<_ACEOF
18639 #line $LINENO "configure"
18642 cat confdefs.h
>>conftest.
$ac_ext
18643 cat >>conftest.
$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18646 #undef HAVE_STDLIB_H
18648 #include <jpeglib.h>
18659 rm -f conftest.
$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try
='test -s conftest.$ac_objext'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; }; then
18671 ac_cv_header_jpeglib_h
=yes
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.
$ac_ext >&5
18676 ac_cv_header_jpeglib_h
=no
18679 rm -f conftest.
$ac_objext conftest.
$ac_ext
18683 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18684 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18686 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18687 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18688 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18689 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 ac_check_lib_save_LIBS
=$LIBS
18693 LIBS
="-ljpeg $LIBS"
18694 cat >conftest.
$ac_ext <<_ACEOF
18695 #line $LINENO "configure"
18698 cat confdefs.h
>>conftest.
$ac_ext
18699 cat >>conftest.
$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18702 /* Override any gcc2 internal prototype to avoid an error. */
18706 /* We use char because int might match the return type of a gcc2
18707 builtin and then its argument prototype would still apply. */
18708 char jpeg_read_header ();
18712 jpeg_read_header ();
18717 rm -f conftest.
$ac_objext conftest
$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -s conftest$ac_exeext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_lib_jpeg_jpeg_read_header
=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.
$ac_ext >&5
18734 ac_cv_lib_jpeg_jpeg_read_header
=no
18736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18737 LIBS
=$ac_check_lib_save_LIBS
18739 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18740 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18741 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18742 JPEG_LINK
=" -ljpeg"
18747 if test "x$JPEG_LINK" = "x" ; then
18748 if test "$wxUSE_LIBJPEG" = "sys" ; then
18749 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18750 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18751 { (exit 1); exit 1; }; }
18753 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18754 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18755 wxUSE_LIBJPEG
=builtin
18763 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18764 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18771 TIFF_PREREQ_LINKS
=-lm
18772 if test "$wxUSE_LIBTIFF" != "no" ; then
18773 cat >>confdefs.h
<<\_ACEOF
18774 #define wxUSE_LIBTIFF 1
18778 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18779 if test "$wxUSE_LIBJPEG" = "sys"; then
18780 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18782 if test "$wxUSE_ZLIB" = "sys"; then
18783 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18785 if test "${ac_cv_header_tiffio_h+set}" = set; then
18786 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18787 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18788 if test "${ac_cv_header_tiffio_h+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18792 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18794 # Is the header compilable?
18795 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18796 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18797 cat >conftest.
$ac_ext <<_ACEOF
18798 #line $LINENO "configure"
18801 cat confdefs.h
>>conftest.
$ac_ext
18802 cat >>conftest.
$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 $ac_includes_default
18805 #include <tiffio.h>
18807 rm -f conftest.
$ac_objext
18808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18809 (eval $ac_compile) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } &&
18813 { ac_try
='test -s conftest.$ac_objext'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; }; then
18819 ac_header_compiler
=yes
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.
$ac_ext >&5
18824 ac_header_compiler
=no
18826 rm -f conftest.
$ac_objext conftest.
$ac_ext
18827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18828 echo "${ECHO_T}$ac_header_compiler" >&6
18830 # Is the header present?
18831 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18832 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18833 cat >conftest.
$ac_ext <<_ACEOF
18834 #line $LINENO "configure"
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 #include <tiffio.h>
18842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18845 grep -v '^ *+' conftest.er1
>conftest.err
18847 cat conftest.err
>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } >/dev
/null
; then
18850 if test -s conftest.err
; then
18851 ac_cpp_err
=$ac_c_preproc_warn_flag
18858 if test -z "$ac_cpp_err"; then
18859 ac_header_preproc
=yes
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.
$ac_ext >&5
18864 ac_header_preproc
=no
18866 rm -f conftest.err conftest.
$ac_ext
18867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18868 echo "${ECHO_T}$ac_header_preproc" >&6
18870 # So? What about this header?
18871 case $ac_header_compiler:$ac_header_preproc in
18873 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18874 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18875 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18876 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18879 ## ------------------------------------ ##
18880 ## Report this to bug-autoconf@gnu.org. ##
18881 ## ------------------------------------ ##
18884 sed "s/^/$as_me: WARNING: /" >&2
18887 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18888 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18889 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18890 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&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: checking for tiffio.h" >&5
18904 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18905 if test "${ac_cv_header_tiffio_h+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 ac_cv_header_tiffio_h
=$ac_header_preproc
18910 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18911 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18914 if test $ac_cv_header_tiffio_h = yes; then
18915 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18916 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18917 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 ac_check_lib_save_LIBS
=$LIBS
18921 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18922 cat >conftest.
$ac_ext <<_ACEOF
18923 #line $LINENO "configure"
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18930 /* Override any gcc2 internal prototype to avoid an error. */
18934 /* We use char because int might match the return type of a gcc2
18935 builtin and then its argument prototype would still apply. */
18945 rm -f conftest.
$ac_objext conftest
$ac_exeext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18947 (eval $ac_link) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -s conftest$ac_exeext'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; }; then
18957 ac_cv_lib_tiff_TIFFError
=yes
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.
$ac_ext >&5
18962 ac_cv_lib_tiff_TIFFError
=no
18964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18965 LIBS
=$ac_check_lib_save_LIBS
18967 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18968 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18969 if test $ac_cv_lib_tiff_TIFFError = yes; then
18970 TIFF_LINK
=" -ltiff"
18978 if test "x$TIFF_LINK" = "x" ; then
18979 if test "$wxUSE_LIBTIFF" = "sys" ; then
18980 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18981 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
18982 { (exit 1); exit 1; }; }
18984 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
18985 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
18986 wxUSE_LIBTIFF
=builtin
18993 if test "$wxUSE_LIBTIFF" = "builtin" ; then
18994 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19006 if test "$USE_WIN32" = 1 ; then
19008 for ac_header
in w32api.h
19010 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19012 echo "$as_me:$LINENO: checking for $ac_header" >&5
19013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19020 # Is the header compilable?
19021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19023 cat >conftest.
$ac_ext <<_ACEOF
19024 #line $LINENO "configure"
19027 cat confdefs.h
>>conftest.
$ac_ext
19028 cat >>conftest.
$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 $ac_includes_default
19031 #include <$ac_header>
19033 rm -f conftest.
$ac_objext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19035 (eval $ac_compile) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try
='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_header_compiler
=yes
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 ac_header_compiler
=no
19052 rm -f conftest.
$ac_objext conftest.
$ac_ext
19053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19054 echo "${ECHO_T}$ac_header_compiler" >&6
19056 # Is the header present?
19057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19059 cat >conftest.
$ac_ext <<_ACEOF
19060 #line $LINENO "configure"
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 #include <$ac_header>
19068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19071 grep -v '^ *+' conftest.er1
>conftest.err
19073 cat conftest.err
>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } >/dev
/null
; then
19076 if test -s conftest.err
; then
19077 ac_cpp_err
=$ac_c_preproc_warn_flag
19084 if test -z "$ac_cpp_err"; then
19085 ac_header_preproc
=yes
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.
$ac_ext >&5
19090 ac_header_preproc
=no
19092 rm -f conftest.err conftest.
$ac_ext
19093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19094 echo "${ECHO_T}$ac_header_preproc" >&6
19096 # So? What about this header?
19097 case $ac_header_compiler:$ac_header_preproc in
19099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19105 ## ------------------------------------ ##
19106 ## Report this to bug-autoconf@gnu.org. ##
19107 ## ------------------------------------ ##
19110 sed "s/^/$as_me: WARNING: /" >&2
19113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
19130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 eval "$as_ac_Header=$ac_header_preproc"
19136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19141 cat >>confdefs.h
<<_ACEOF
19142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19149 if test "${ac_cv_header_windows_h+set}" = set; then
19150 echo "$as_me:$LINENO: checking for windows.h" >&5
19151 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19152 if test "${ac_cv_header_windows_h+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19156 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19158 # Is the header compilable?
19159 echo "$as_me:$LINENO: checking windows.h usability" >&5
19160 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19161 cat >conftest.
$ac_ext <<_ACEOF
19162 #line $LINENO "configure"
19165 cat confdefs.h
>>conftest.
$ac_ext
19166 cat >>conftest.
$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19168 $ac_includes_default
19169 #include <windows.h>
19171 rm -f conftest.
$ac_objext
19172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19173 (eval $ac_compile) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try
='test -s conftest.$ac_objext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19183 ac_header_compiler
=yes
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.
$ac_ext >&5
19188 ac_header_compiler
=no
19190 rm -f conftest.
$ac_objext conftest.
$ac_ext
19191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19192 echo "${ECHO_T}$ac_header_compiler" >&6
19194 # Is the header present?
19195 echo "$as_me:$LINENO: checking windows.h presence" >&5
19196 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19197 cat >conftest.
$ac_ext <<_ACEOF
19198 #line $LINENO "configure"
19201 cat confdefs.h
>>conftest.
$ac_ext
19202 cat >>conftest.
$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 #include <windows.h>
19206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } >/dev
/null
; then
19214 if test -s conftest.err
; then
19215 ac_cpp_err
=$ac_c_preproc_warn_flag
19222 if test -z "$ac_cpp_err"; then
19223 ac_header_preproc
=yes
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.
$ac_ext >&5
19228 ac_header_preproc
=no
19230 rm -f conftest.err conftest.
$ac_ext
19231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19232 echo "${ECHO_T}$ac_header_preproc" >&6
19234 # So? What about this header?
19235 case $ac_header_compiler:$ac_header_preproc in
19237 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19238 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19239 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19240 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19243 ## ------------------------------------ ##
19244 ## Report this to bug-autoconf@gnu.org. ##
19245 ## ------------------------------------ ##
19248 sed "s/^/$as_me: WARNING: /" >&2
19251 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19252 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19253 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19254 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&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: checking for windows.h" >&5
19268 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19269 if test "${ac_cv_header_windows_h+set}" = set; then
19270 echo $ECHO_N "(cached) $ECHO_C" >&6
19272 ac_cv_header_windows_h
=$ac_header_preproc
19274 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19275 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19278 if test $ac_cv_header_windows_h = yes; then
19282 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19283 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19284 { (exit 1); exit 1; }; }
19290 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19291 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19292 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 cat >conftest.
$ac_ext <<_ACEOF
19297 #line $LINENO "configure"
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <w32api.h>
19308 #define wxCHECK_W32API_VERSION( major, minor ) \
19309 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19310 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19311 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19313 #if !wxCHECK_W32API_VERSION(1,1)
19314 #error You need w32api 1.1 or newer
19321 rm -f conftest.
$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try
='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19334 wx_cv_w32api_win32_ie
=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19341 wx_cv_w32api_win32_ie
=no
19344 rm -f conftest.
$ac_objext conftest.
$ac_ext
19347 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19348 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19349 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19350 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
19353 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
19355 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19356 LIBS
="$LIBS -loleacc"
19361 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
19362 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19365 if test "$wxUSE_ODBC" = "sys" ; then
19368 if test "$wxUSE_ODBC" = "yes" ; then
19369 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19370 cat >>confdefs.h
<<\_ACEOF
19371 #define wxUSE_ODBC 1
19376 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19377 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19379 WIN32INSTALL
=win32install
19382 if test "$USE_DARWIN" = 1; then
19383 if test "$wxUSE_PRECOMP" = "yes"; then
19384 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
19386 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
19390 if test "$wxUSE_GUI" = "yes"; then
19399 if test "$wxUSE_MSW" = 1 ; then
19403 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19406 if test "$wxUSE_GTK" = 1; then
19407 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19408 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19410 gtk_version_cached
=1
19411 if test "${wx_cv_lib_gtk+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19415 gtk_version_cached
=0
19416 echo "$as_me:$LINENO: result: " >&5
19417 echo "${ECHO_T}" >&6
19420 if test "$wxUSE_THREADS" = "yes"; then
19421 GTK_MODULES
=gthread
19425 if test "x$wxUSE_GTK2" = "xyes"; then
19426 # Check whether --enable-gtktest or --disable-gtktest was given.
19427 if test "${enable_gtktest+set}" = set; then
19428 enableval
="$enable_gtktest"
19434 pkg_config_args
=gtk
+-2.0
19435 for module
in .
$GTK_MODULES
19439 pkg_config_args
="$pkg_config_args gthread-2.0"
19446 # Extract the first word of "pkg-config", so it can be a program name with args.
19447 set dummy pkg
-config; ac_word
=$2
19448 echo "$as_me:$LINENO: checking for $ac_word" >&5
19449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19450 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19453 case $PKG_CONFIG in
19455 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19459 for as_dir
in $PATH
19462 test -z "$as_dir" && as_dir
=.
19463 for ac_exec_ext
in '' $ac_executable_extensions; do
19464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19465 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19472 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19476 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19478 if test -n "$PKG_CONFIG"; then
19479 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19480 echo "${ECHO_T}$PKG_CONFIG" >&6
19482 echo "$as_me:$LINENO: result: no" >&5
19483 echo "${ECHO_T}no" >&6
19487 if test x
$PKG_CONFIG != xno
; then
19488 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19491 echo *** pkg
-config too old
; version
0.7 or better required.
19499 min_gtk_version
=2.0.0
19500 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19501 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19503 if test x
$PKG_CONFIG != xno
; then
19504 ## don't try to run the test against uninstalled libtool libs
19505 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19506 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19510 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19517 if test x
"$no_gtk" = x
; then
19518 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19519 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19520 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19522 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19524 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19526 if test "x$enable_gtktest" = "xyes" ; then
19527 ac_save_CFLAGS
="$CFLAGS"
19528 ac_save_LIBS
="$LIBS"
19529 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19530 LIBS
="$GTK_LIBS $LIBS"
19532 if test "$cross_compiling" = yes; then
19533 echo $ac_n "cross compiling; assumed OK... $ac_c"
19535 cat >conftest.
$ac_ext <<_ACEOF
19536 #line $LINENO "configure"
19539 cat confdefs.h
>>conftest.
$ac_ext
19540 cat >>conftest.
$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19543 #include <gtk/gtk.h>
19545 #include <stdlib.h>
19550 int major, minor, micro;
19553 system ("touch conf.gtktest");
19555 /* HP/UX 9 (%@#!) writes to sscanf strings */
19556 tmp_version = g_strdup("$min_gtk_version");
19557 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19558 printf("%s, bad version string\n", "$min_gtk_version");
19562 if ((gtk_major_version != $gtk_config_major_version) ||
19563 (gtk_minor_version != $gtk_config_minor_version) ||
19564 (gtk_micro_version != $gtk_config_micro_version))
19566 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19567 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19568 gtk_major_version, gtk_minor_version, gtk_micro_version);
19569 printf ("*** was found! If pkg-config was correct, then it is best\n");
19570 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19571 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19572 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19573 printf("*** required on your system.\n");
19574 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19575 printf("*** to point to the correct configuration files\n");
19577 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19578 (gtk_minor_version != GTK_MINOR_VERSION) ||
19579 (gtk_micro_version != GTK_MICRO_VERSION))
19581 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19582 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19583 printf("*** library (version %d.%d.%d)\n",
19584 gtk_major_version, gtk_minor_version, gtk_micro_version);
19588 if ((gtk_major_version > major) ||
19589 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19590 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19596 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19597 gtk_major_version, gtk_minor_version, gtk_micro_version);
19598 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19599 major, minor, micro);
19600 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19602 printf("*** If you have already installed a sufficiently new version, this error\n");
19603 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19604 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19605 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19606 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19607 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19608 printf("*** so that the correct libraries are found at run-time))\n");
19615 rm -f conftest
$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 (eval $ac_link) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19628 echo "$as_me: program exited with status $ac_status" >&5
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 ( exit $ac_status )
19635 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19637 CFLAGS
="$ac_save_CFLAGS"
19638 LIBS
="$ac_save_LIBS"
19641 if test "x$no_gtk" = x
; then
19642 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19643 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19646 echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6
19648 if test "$PKG_CONFIG" = "no" ; then
19649 echo "*** A new enough version of pkg-config was not found."
19650 echo "*** See http://pkgconfig.sourceforge.net"
19652 if test -f conf.gtktest
; then
19655 echo "*** Could not run GTK+ test program, checking why..."
19656 ac_save_CFLAGS
="$CFLAGS"
19657 ac_save_LIBS
="$LIBS"
19658 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19659 LIBS
="$LIBS $GTK_LIBS"
19660 cat >conftest.
$ac_ext <<_ACEOF
19661 #line $LINENO "configure"
19664 cat confdefs.h
>>conftest.
$ac_ext
19665 cat >>conftest.
$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19668 #include <gtk/gtk.h>
19674 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19679 rm -f conftest.
$ac_objext conftest
$ac_exeext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19681 (eval $ac_link) 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } &&
19685 { ac_try
='test -s conftest$ac_exeext'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 echo "*** The test program compiled, but did not run. This usually means"
19692 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19693 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19694 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19695 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19696 echo "*** is required on your system"
19698 echo "*** If you have an old version installed, it is best to remove it, although"
19699 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.
$ac_ext >&5
19704 echo "*** The test program failed to compile or link. See the file config.log for the"
19705 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19707 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19708 CFLAGS
="$ac_save_CFLAGS"
19709 LIBS
="$ac_save_LIBS"
19722 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19723 if test "${with_gtk_prefix+set}" = set; then
19724 withval
="$with_gtk_prefix"
19725 gtk_config_prefix
="$withval"
19727 gtk_config_prefix
=""
19730 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19731 if test "${with_gtk_exec_prefix+set}" = set; then
19732 withval
="$with_gtk_exec_prefix"
19733 gtk_config_exec_prefix
="$withval"
19735 gtk_config_exec_prefix
=""
19737 # Check whether --enable-gtktest or --disable-gtktest was given.
19738 if test "${enable_gtktest+set}" = set; then
19739 enableval
="$enable_gtktest"
19745 for module
in .
$GTK_MODULES
19749 gtk_config_args
="$gtk_config_args gthread"
19754 if test x
$gtk_config_exec_prefix != x
; then
19755 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19756 if test x
${GTK_CONFIG+set} != xset
; then
19757 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
19760 if test x
$gtk_config_prefix != x
; then
19761 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
19762 if test x
${GTK_CONFIG+set} != xset
; then
19763 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
19767 # Extract the first word of "gtk-config", so it can be a program name with args.
19768 set dummy gtk
-config; ac_word
=$2
19769 echo "$as_me:$LINENO: checking for $ac_word" >&5
19770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19771 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 case $GTK_CONFIG in
19776 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
19779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19780 for as_dir
in $PATH
19783 test -z "$as_dir" && as_dir
=.
19784 for ac_exec_ext
in '' $ac_executable_extensions; do
19785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19786 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19793 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
19797 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
19799 if test -n "$GTK_CONFIG"; then
19800 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19801 echo "${ECHO_T}$GTK_CONFIG" >&6
19803 echo "$as_me:$LINENO: result: no" >&5
19804 echo "${ECHO_T}no" >&6
19807 min_gtk_version
=1.2.7
19808 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19809 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19811 if test "$GTK_CONFIG" = "no" ; then
19814 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
19815 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
19816 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
19817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19818 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
19819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19820 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
19821 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19822 if test "x$enable_gtktest" = "xyes" ; then
19823 ac_save_CFLAGS
="$CFLAGS"
19824 ac_save_LIBS
="$LIBS"
19825 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19826 LIBS
="$GTK_LIBS $LIBS"
19828 if test "$cross_compiling" = yes; then
19829 echo $ac_n "cross compiling; assumed OK... $ac_c"
19831 cat >conftest.
$ac_ext <<_ACEOF
19832 #line $LINENO "configure"
19835 cat confdefs.h
>>conftest.
$ac_ext
19836 cat >>conftest.
$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19839 #include <gtk/gtk.h>
19841 #include <stdlib.h>
19846 int major, minor, micro;
19849 system ("touch conf.gtktest");
19851 /* HP/UX 9 (%@#!) writes to sscanf strings */
19852 tmp_version = g_strdup("$min_gtk_version");
19853 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19854 printf("%s, bad version string\n", "$min_gtk_version");
19858 if ((gtk_major_version != $gtk_config_major_version) ||
19859 (gtk_minor_version != $gtk_config_minor_version) ||
19860 (gtk_micro_version != $gtk_config_micro_version))
19862 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19863 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19864 gtk_major_version, gtk_minor_version, gtk_micro_version);
19865 printf ("*** was found! If gtk-config was correct, then it is best\n");
19866 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19867 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19868 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19869 printf("*** required on your system.\n");
19870 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19871 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19872 printf("*** before re-running configure\n");
19874 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19875 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19876 (gtk_minor_version != GTK_MINOR_VERSION) ||
19877 (gtk_micro_version != GTK_MICRO_VERSION))
19879 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19880 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19881 printf("*** library (version %d.%d.%d)\n",
19882 gtk_major_version, gtk_minor_version, gtk_micro_version);
19884 #endif /* defined (GTK_MAJOR_VERSION) ... */
19887 if ((gtk_major_version > major) ||
19888 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19889 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19895 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19896 gtk_major_version, gtk_minor_version, gtk_micro_version);
19897 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19898 major, minor, micro);
19899 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19901 printf("*** If you have already installed a sufficiently new version, this error\n");
19902 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19903 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19904 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19905 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19906 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19907 printf("*** so that the correct libraries are found at run-time))\n");
19914 rm -f conftest
$ac_exeext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19916 (eval $ac_link) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19927 echo "$as_me: program exited with status $ac_status" >&5
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 ( exit $ac_status )
19934 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19936 CFLAGS
="$ac_save_CFLAGS"
19937 LIBS
="$ac_save_LIBS"
19940 if test "x$no_gtk" = x
; then
19941 echo "$as_me:$LINENO: result: yes" >&5
19942 echo "${ECHO_T}yes" >&6
19943 wx_cv_lib_gtk
=1.2.7
19945 echo "$as_me:$LINENO: result: no" >&5
19946 echo "${ECHO_T}no" >&6
19947 if test "$GTK_CONFIG" = "no" ; then
19948 echo "*** The gtk-config script installed by GTK could not be found"
19949 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19950 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19951 echo "*** full path to gtk-config."
19953 if test -f conf.gtktest
; then
19956 echo "*** Could not run GTK test program, checking why..."
19957 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19958 LIBS
="$LIBS $GTK_LIBS"
19959 cat >conftest.
$ac_ext <<_ACEOF
19960 #line $LINENO "configure"
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19967 #include <gtk/gtk.h>
19973 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19978 rm -f conftest.
$ac_objext conftest
$ac_exeext
19979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19980 (eval $ac_link) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } &&
19984 { ac_try
='test -s conftest$ac_exeext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 echo "*** The test program compiled, but did not run. This usually means"
19991 echo "*** that the run-time linker is not finding GTK or finding the wrong"
19992 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
19993 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19994 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19995 echo "*** is required on your system"
19997 echo "*** If you have an old version installed, it is best to remove it, although"
19998 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20000 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20001 echo "*** came with the system with the command"
20003 echo "*** rpm --erase --nodeps gtk gtk-devel"
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.
$ac_ext >&5
20008 echo "*** The test program failed to compile or link. See the file config.log for the"
20009 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20010 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20011 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20014 CFLAGS
="$ac_save_CFLAGS"
20015 LIBS
="$ac_save_LIBS"
20027 if test -z "$wx_cv_lib_gtk"; then
20029 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20030 if test "${with_gtk_prefix+set}" = set; then
20031 withval
="$with_gtk_prefix"
20032 gtk_config_prefix
="$withval"
20034 gtk_config_prefix
=""
20037 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20038 if test "${with_gtk_exec_prefix+set}" = set; then
20039 withval
="$with_gtk_exec_prefix"
20040 gtk_config_exec_prefix
="$withval"
20042 gtk_config_exec_prefix
=""
20044 # Check whether --enable-gtktest or --disable-gtktest was given.
20045 if test "${enable_gtktest+set}" = set; then
20046 enableval
="$enable_gtktest"
20052 for module
in .
$GTK_MODULES
20056 gtk_config_args
="$gtk_config_args gthread"
20061 if test x
$gtk_config_exec_prefix != x
; then
20062 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20063 if test x
${GTK_CONFIG+set} != xset
; then
20064 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20067 if test x
$gtk_config_prefix != x
; then
20068 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20069 if test x
${GTK_CONFIG+set} != xset
; then
20070 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20074 # Extract the first word of "gtk-config", so it can be a program name with args.
20075 set dummy gtk
-config; ac_word
=$2
20076 echo "$as_me:$LINENO: checking for $ac_word" >&5
20077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20078 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 case $GTK_CONFIG in
20083 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20087 for as_dir
in $PATH
20090 test -z "$as_dir" && as_dir
=.
20091 for ac_exec_ext
in '' $ac_executable_extensions; do
20092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20093 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20100 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20104 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20106 if test -n "$GTK_CONFIG"; then
20107 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20108 echo "${ECHO_T}$GTK_CONFIG" >&6
20110 echo "$as_me:$LINENO: result: no" >&5
20111 echo "${ECHO_T}no" >&6
20114 min_gtk_version
=1.2.3
20115 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20116 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20118 if test "$GTK_CONFIG" = "no" ; then
20121 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20122 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20123 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20125 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20127 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20129 if test "x$enable_gtktest" = "xyes" ; then
20130 ac_save_CFLAGS
="$CFLAGS"
20131 ac_save_LIBS
="$LIBS"
20132 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20133 LIBS
="$GTK_LIBS $LIBS"
20135 if test "$cross_compiling" = yes; then
20136 echo $ac_n "cross compiling; assumed OK... $ac_c"
20138 cat >conftest.
$ac_ext <<_ACEOF
20139 #line $LINENO "configure"
20142 cat confdefs.h
>>conftest.
$ac_ext
20143 cat >>conftest.
$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20146 #include <gtk/gtk.h>
20148 #include <stdlib.h>
20153 int major, minor, micro;
20156 system ("touch conf.gtktest");
20158 /* HP/UX 9 (%@#!) writes to sscanf strings */
20159 tmp_version = g_strdup("$min_gtk_version");
20160 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20161 printf("%s, bad version string\n", "$min_gtk_version");
20165 if ((gtk_major_version != $gtk_config_major_version) ||
20166 (gtk_minor_version != $gtk_config_minor_version) ||
20167 (gtk_micro_version != $gtk_config_micro_version))
20169 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20170 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20171 gtk_major_version, gtk_minor_version, gtk_micro_version);
20172 printf ("*** was found! If gtk-config was correct, then it is best\n");
20173 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20174 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20175 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20176 printf("*** required on your system.\n");
20177 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20178 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20179 printf("*** before re-running configure\n");
20181 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20182 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20183 (gtk_minor_version != GTK_MINOR_VERSION) ||
20184 (gtk_micro_version != GTK_MICRO_VERSION))
20186 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20187 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20188 printf("*** library (version %d.%d.%d)\n",
20189 gtk_major_version, gtk_minor_version, gtk_micro_version);
20191 #endif /* defined (GTK_MAJOR_VERSION) ... */
20194 if ((gtk_major_version > major) ||
20195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20202 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20203 gtk_major_version, gtk_minor_version, gtk_micro_version);
20204 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20205 major, minor, micro);
20206 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20208 printf("*** If you have already installed a sufficiently new version, this error\n");
20209 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20210 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20211 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20212 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20213 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20214 printf("*** so that the correct libraries are found at run-time))\n");
20221 rm -f conftest
$ac_exeext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20223 (eval $ac_link) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; }; then
20234 echo "$as_me: program exited with status $ac_status" >&5
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.
$ac_ext >&5
20238 ( exit $ac_status )
20241 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20243 CFLAGS
="$ac_save_CFLAGS"
20244 LIBS
="$ac_save_LIBS"
20247 if test "x$no_gtk" = x
; then
20248 echo "$as_me:$LINENO: result: yes" >&5
20249 echo "${ECHO_T}yes" >&6
20250 wx_cv_lib_gtk
=1.2.3
20252 echo "$as_me:$LINENO: result: no" >&5
20253 echo "${ECHO_T}no" >&6
20254 if test "$GTK_CONFIG" = "no" ; then
20255 echo "*** The gtk-config script installed by GTK could not be found"
20256 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20257 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20258 echo "*** full path to gtk-config."
20260 if test -f conf.gtktest
; then
20263 echo "*** Could not run GTK test program, checking why..."
20264 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20265 LIBS
="$LIBS $GTK_LIBS"
20266 cat >conftest.
$ac_ext <<_ACEOF
20267 #line $LINENO "configure"
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20274 #include <gtk/gtk.h>
20280 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20285 rm -f conftest.
$ac_objext conftest
$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } &&
20291 { ac_try
='test -s conftest$ac_exeext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 echo "*** The test program compiled, but did not run. This usually means"
20298 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20299 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20300 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20301 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20302 echo "*** is required on your system"
20304 echo "*** If you have an old version installed, it is best to remove it, although"
20305 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20307 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20308 echo "*** came with the system with the command"
20310 echo "*** rpm --erase --nodeps gtk gtk-devel"
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.
$ac_ext >&5
20315 echo "*** The test program failed to compile or link. See the file config.log for the"
20316 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20317 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20318 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20321 CFLAGS
="$ac_save_CFLAGS"
20322 LIBS
="$ac_save_LIBS"
20336 if test -z "$wx_cv_lib_gtk"; then
20339 wx_cv_cflags_gtk
=$GTK_CFLAGS
20340 wx_cv_libs_gtk
=$GTK_LIBS
20347 if test "$gtk_version_cached" = 1; then
20348 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20349 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20352 case "$wx_cv_lib_gtk" in
20361 *) { { echo "$as_me:$LINENO: error:
20362 Please check that gtk-config is in path, the directory
20363 where GTK+ libraries are installed (returned by
20364 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20365 equivalent variable and GTK+ is version 1.2.3 or above.
20367 echo "$as_me: error:
20368 Please check that gtk-config is in path, the directory
20369 where GTK+ libraries are installed (returned by
20370 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20371 equivalent variable and GTK+ is version 1.2.3 or above.
20373 { (exit 1); exit 1; }; }
20377 if test "$WXGTK20" = 1; then
20378 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20382 if test -z "$PKG_CONFIG"; then
20383 # Extract the first word of "pkg-config", so it can be a program name with args.
20384 set dummy pkg
-config; ac_word
=$2
20385 echo "$as_me:$LINENO: checking for $ac_word" >&5
20386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20387 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20390 case $PKG_CONFIG in
20392 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20396 for as_dir
in $PATH
20399 test -z "$as_dir" && as_dir
=.
20400 for ac_exec_ext
in '' $ac_executable_extensions; do
20401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20402 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20409 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20413 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20415 if test -n "$PKG_CONFIG"; then
20416 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20417 echo "${ECHO_T}$PKG_CONFIG" >&6
20419 echo "$as_me:$LINENO: result: no" >&5
20420 echo "${ECHO_T}no" >&6
20425 if test "$PKG_CONFIG" = "no" ; then
20426 echo "*** The pkg-config script could not be found. Make sure it is"
20427 echo "*** in your path, or set the PKG_CONFIG environment variable"
20428 echo "*** to the full path to pkg-config."
20429 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20431 PKG_CONFIG_MIN_VERSION
=0.9.0
20432 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20433 echo "$as_me:$LINENO: checking for pangoft2" >&5
20434 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20436 if $PKG_CONFIG --exists "pangoft2" ; then
20437 echo "$as_me:$LINENO: result: yes" >&5
20438 echo "${ECHO_T}yes" >&6
20441 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20442 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20443 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20444 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20445 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20447 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20448 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20449 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20450 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20451 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20455 ## If we have a custom action on failure, don't print errors, but
20456 ## do set a variable so people can do so.
20457 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20464 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20465 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20469 if test $succeeded = yes; then
20471 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20472 LIBS
="$LIBS $PANGOFT2_LIBS"
20476 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20477 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20478 wxUSE_PRINTING_ARCHITECTURE
="no"
20485 if test "$wxUSE_UNICODE" = "yes"; then
20486 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20487 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20492 if test "$USE_DARWIN" != 1; then
20494 for ac_func
in poll
20496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20497 echo "$as_me:$LINENO: checking for $ac_func" >&5
20498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20499 if eval "test \"\${$as_ac_var+set}\" = set"; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 cat >conftest.
$ac_ext <<_ACEOF
20503 #line $LINENO "configure"
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 /* System header to define __stub macros and hopefully few prototypes,
20510 which can conflict with char $ac_func (); below.
20511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20512 <limits.h> exists even on freestanding compilers. */
20514 # include <limits.h>
20516 # include <assert.h>
20518 /* Override any gcc2 internal prototype to avoid an error. */
20523 /* We use char because int might match the return type of a gcc2
20524 builtin and then its argument prototype would still apply. */
20526 /* The GNU C library defines this for functions which it implements
20527 to always fail with ENOSYS. Some functions are actually named
20528 something starting with __ and the normal name is an alias. */
20529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20532 char (*f) () = $ac_func;
20541 return f != $ac_func;
20546 rm -f conftest.
$ac_objext conftest
$ac_exeext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20548 (eval $ac_link) 2>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try
='test -s conftest$ac_exeext'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 eval "$as_ac_var=yes"
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20563 eval "$as_ac_var=no"
20565 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20569 if test `eval echo '${'$as_ac_var'}'` = yes; then
20570 cat >>confdefs.h
<<_ACEOF
20571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20579 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20580 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
20582 AFMINSTALL
=afminstall
20586 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20587 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20588 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20591 ac_check_lib_save_LIBS
=$LIBS
20593 cat >conftest.
$ac_ext <<_ACEOF
20594 #line $LINENO "configure"
20597 cat confdefs.h
>>conftest.
$ac_ext
20598 cat >>conftest.
$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20601 /* Override any gcc2 internal prototype to avoid an error. */
20605 /* We use char because int might match the return type of a gcc2
20606 builtin and then its argument prototype would still apply. */
20607 char gdk_im_open ();
20616 rm -f conftest.
$ac_objext conftest
$ac_exeext
20617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20618 (eval $ac_link) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } &&
20622 { ac_try
='test -s conftest$ac_exeext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 ac_cv_lib_gdk_gdk_im_open
=yes
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.
$ac_ext >&5
20633 ac_cv_lib_gdk_gdk_im_open
=no
20635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20636 LIBS
=$ac_check_lib_save_LIBS
20638 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20639 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20640 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20641 cat >>confdefs.h
<<\_ACEOF
20649 if test "$wxUSE_MGL" = 1; then
20650 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20651 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20652 if test "x$MGL_ROOT" = x
; then
20653 echo "$as_me:$LINENO: result: not found" >&5
20654 echo "${ECHO_T}not found" >&6
20655 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20656 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20657 { (exit 1); exit 1; }; }
20659 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20660 echo "${ECHO_T}$MGL_ROOT" >&6
20663 echo "$as_me:$LINENO: checking for libmgl location" >&5
20664 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20667 if test "x$wxUSE_SHARED" = xyes
; then
20668 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20670 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20674 mgl_os_candidates
="dos32/dj2"
20677 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20678 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20679 { (exit 1); exit 1; }; }
20685 for mgl_os_i
in $mgl_os_candidates ; do
20686 if test "x$mgl_os" = x
; then
20687 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20688 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20689 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20694 if test "x$mgl_lib_type" = x
; then
20695 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20696 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20697 mgl_lib_type
=release
20704 if test "x$mgl_os" = x
; then
20705 echo "$as_me:$LINENO: result: not found" >&5
20706 echo "${ECHO_T}not found" >&6
20707 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20708 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20709 { (exit 1); exit 1; }; }
20711 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20712 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20714 wxUSE_UNIVERSAL
="yes"
20716 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20717 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20719 AFMINSTALL
=afminstall
20724 if test "$wxUSE_MICROWIN" = 1; then
20725 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20726 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20727 if test "x$MICROWINDOWS" = x
; then
20728 echo "$as_me:$LINENO: result: not found" >&5
20729 echo "${ECHO_T}not found" >&6
20730 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20731 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20732 { (exit 1); exit 1; }; }
20734 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20735 echo "${ECHO_T}$MICROWINDOWS" >&6
20738 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
20739 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20740 echo "${ECHO_T}MicroWindows' libraries found." >&6
20742 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20743 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20744 { (exit 1); exit 1; }; }
20747 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
20748 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20750 wxUSE_UNIVERSAL
="yes"
20752 AFMINSTALL
=afminstall
20754 GUIDIST
=MICROWIN_DIST
20756 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20759 if test "$wxUSE_X11" = 1; then
20760 echo "$as_me:$LINENO: checking for X" >&5
20761 echo $ECHO_N "checking for X... $ECHO_C" >&6
20764 # Check whether --with-x or --without-x was given.
20765 if test "${with_x+set}" = set; then
20769 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20770 if test "x$with_x" = xno
; then
20771 # The user explicitly disabled X.
20774 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20775 # Both variables are already set.
20778 if test "${ac_cv_have_x+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20781 # One or both of the vars are not set, and there is no cached value.
20782 ac_x_includes
=no ac_x_libraries
=no
20783 rm -fr conftest.dir
20784 if mkdir conftest.dir
; then
20786 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20787 cat >Imakefile
<<'_ACEOF'
20789 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20791 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20792 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20793 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20794 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20795 for ac_extension
in a so sl
; do
20796 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20797 test -f $ac_im_libdir/libX11.
$ac_extension; then
20798 ac_im_usrlibdir
=$ac_im_libdir; break
20801 # Screen out bogus values from the imake configuration. They are
20802 # bogus both because they are the default anyway, and because
20803 # using them would break gcc on systems where it needs fixed includes.
20804 case $ac_im_incroot in
20806 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20808 case $ac_im_usrlibdir in
20809 /usr
/lib
| /lib
) ;;
20810 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20814 rm -fr conftest.dir
20817 # Standard set of common directories for X headers.
20818 # Check X11 before X11Rn because it is often a symlink to the current release.
20830 /usr/local/X11/include
20831 /usr/local/X11R6/include
20832 /usr/local/X11R5/include
20833 /usr/local/X11R4/include
20835 /usr/local/include/X11
20836 /usr/local/include/X11R6
20837 /usr/local/include/X11R5
20838 /usr/local/include/X11R4
20842 /usr/XFree86/include/X11
20846 /usr/unsupported/include
20847 /usr/athena/include
20848 /usr/local/x11r5/include
20849 /usr/lpp/Xamples/include
20851 /usr/openwin/include
20852 /usr/openwin/share/include'
20854 if test "$ac_x_includes" = no
; then
20855 # Guess where to find include files, by looking for Intrinsic.h.
20856 # First, try using that file with no special directory specified.
20857 cat >conftest.
$ac_ext <<_ACEOF
20858 #line $LINENO "configure"
20861 cat confdefs.h
>>conftest.
$ac_ext
20862 cat >>conftest.
$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 #include <X11/Intrinsic.h>
20866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20869 grep -v '^ *+' conftest.er1
>conftest.err
20871 cat conftest.err
>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } >/dev
/null
; then
20874 if test -s conftest.err
; then
20875 ac_cpp_err
=$ac_c_preproc_warn_flag
20882 if test -z "$ac_cpp_err"; then
20883 # We can compile using X headers with no special include directory.
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.
$ac_ext >&5
20889 for ac_dir
in $ac_x_header_dirs; do
20890 if test -r "$ac_dir/X11/Intrinsic.h"; then
20891 ac_x_includes
=$ac_dir
20896 rm -f conftest.err conftest.
$ac_ext
20897 fi # $ac_x_includes = no
20899 if test "$ac_x_libraries" = no
; then
20900 # Check for the libraries.
20901 # See if we find them without any special options.
20902 # Don't add to $LIBS permanently.
20905 cat >conftest.
$ac_ext <<_ACEOF
20906 #line $LINENO "configure"
20909 cat confdefs.h
>>conftest.
$ac_ext
20910 cat >>conftest.
$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 #include <X11/Intrinsic.h>
20921 rm -f conftest.
$ac_objext conftest
$ac_exeext
20922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20923 (eval $ac_link) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try
='test -s conftest$ac_exeext'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20934 # We can link X programs with no special library path.
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.
$ac_ext >&5
20941 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20943 # Don't even attempt the hair of trying to link an X program!
20944 for ac_extension
in a so sl
; do
20945 if test -r $ac_dir/libXt.
$ac_extension; then
20946 ac_x_libraries
=$ac_dir
20952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20953 fi # $ac_x_libraries = no
20955 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
20956 # Didn't find X anywhere. Cache the known absence of X.
20957 ac_cv_have_x
="have_x=no"
20959 # Record where we found X for the cache.
20960 ac_cv_have_x
="have_x=yes \
20961 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20966 eval "$ac_cv_have_x"
20969 if test "$have_x" != yes; then
20970 echo "$as_me:$LINENO: result: $have_x" >&5
20971 echo "${ECHO_T}$have_x" >&6
20974 # If each of the values was on the command line, it overrides each guess.
20975 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20976 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20977 # Update the cache value to reflect the command line values.
20978 ac_cv_have_x
="have_x=yes \
20979 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20980 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20981 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20984 if test "$no_x" = yes; then
20985 # Not all programs may use this symbol, but it does not hurt to define it.
20987 cat >>confdefs.h
<<\_ACEOF
20988 #define X_DISPLAY_MISSING 1
20991 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20993 if test -n "$x_includes"; then
20994 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20997 # It would also be nice to do this for all -L options, not just this one.
20998 if test -n "$x_libraries"; then
20999 X_LIBS
="$X_LIBS -L$x_libraries"
21000 # For Solaris; some versions of Sun CC require a space after -R and
21001 # others require no space. Words are not sufficient . . . .
21002 case `(uname -sr) 2>/dev/null` in
21004 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21005 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21006 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21007 cat >conftest.
$ac_ext <<_ACEOF
21008 #line $LINENO "configure"
21011 cat confdefs.h
>>conftest.
$ac_ext
21012 cat >>conftest.
$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21023 rm -f conftest.
$ac_objext conftest
$ac_exeext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21025 (eval $ac_link) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try
='test -s conftest$ac_exeext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.
$ac_ext >&5
21042 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21043 if test $ac_R_nospace = yes; then
21044 echo "$as_me:$LINENO: result: no" >&5
21045 echo "${ECHO_T}no" >&6
21046 X_LIBS
="$X_LIBS -R$x_libraries"
21048 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21049 cat >conftest.
$ac_ext <<_ACEOF
21050 #line $LINENO "configure"
21053 cat confdefs.h
>>conftest.
$ac_ext
21054 cat >>conftest.
$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21065 rm -f conftest.
$ac_objext conftest
$ac_exeext
21066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21067 (eval $ac_link) 2>&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } &&
21071 { ac_try
='test -s conftest$ac_exeext'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; }; then
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.
$ac_ext >&5
21084 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21085 if test $ac_R_space = yes; then
21086 echo "$as_me:$LINENO: result: yes" >&5
21087 echo "${ECHO_T}yes" >&6
21088 X_LIBS
="$X_LIBS -R $x_libraries"
21090 echo "$as_me:$LINENO: result: neither works" >&5
21091 echo "${ECHO_T}neither works" >&6
21094 LIBS
=$ac_xsave_LIBS
21098 # Check for system-dependent libraries X programs must link with.
21099 # Do this before checking for the system-independent R6 libraries
21100 # (-lICE), since we may need -lsocket or whatever for X linking.
21102 if test "$ISC" = yes; then
21103 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21105 # Martyn Johnson says this is needed for Ultrix, if the X
21106 # libraries were built with DECnet support. And Karl Berry says
21107 # the Alpha needs dnet_stub (dnet does not exist).
21108 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21109 cat >conftest.
$ac_ext <<_ACEOF
21110 #line $LINENO "configure"
21113 cat confdefs.h
>>conftest.
$ac_ext
21114 cat >>conftest.
$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21117 /* Override any gcc2 internal prototype to avoid an error. */
21121 /* We use char because int might match the return type of a gcc2
21122 builtin and then its argument prototype would still apply. */
21123 char XOpenDisplay ();
21132 rm -f conftest.
$ac_objext conftest
$ac_exeext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21134 (eval $ac_link) 2>&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } &&
21138 { ac_try
='test -s conftest$ac_exeext'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; }; then
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.
$ac_ext >&5
21149 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21150 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21151 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 ac_check_lib_save_LIBS
=$LIBS
21155 LIBS
="-ldnet $LIBS"
21156 cat >conftest.
$ac_ext <<_ACEOF
21157 #line $LINENO "configure"
21160 cat confdefs.h
>>conftest.
$ac_ext
21161 cat >>conftest.
$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21164 /* Override any gcc2 internal prototype to avoid an error. */
21168 /* We use char because int might match the return type of a gcc2
21169 builtin and then its argument prototype would still apply. */
21179 rm -f conftest.
$ac_objext conftest
$ac_exeext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21181 (eval $ac_link) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } &&
21185 { ac_try
='test -s conftest$ac_exeext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_cv_lib_dnet_dnet_ntoa
=yes
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.
$ac_ext >&5
21196 ac_cv_lib_dnet_dnet_ntoa
=no
21198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21199 LIBS
=$ac_check_lib_save_LIBS
21201 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21202 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21203 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21207 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21208 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21209 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21210 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 ac_check_lib_save_LIBS
=$LIBS
21214 LIBS
="-ldnet_stub $LIBS"
21215 cat >conftest.
$ac_ext <<_ACEOF
21216 #line $LINENO "configure"
21219 cat confdefs.h
>>conftest.
$ac_ext
21220 cat >>conftest.
$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21223 /* Override any gcc2 internal prototype to avoid an error. */
21227 /* We use char because int might match the return type of a gcc2
21228 builtin and then its argument prototype would still apply. */
21238 rm -f conftest.
$ac_objext conftest
$ac_exeext
21239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21240 (eval $ac_link) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try
='test -s conftest$ac_exeext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.
$ac_ext >&5
21255 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21257 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21258 LIBS
=$ac_check_lib_save_LIBS
21260 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21261 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21262 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21263 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21268 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21269 LIBS
="$ac_xsave_LIBS"
21271 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21272 # to get the SysV transport functions.
21273 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21275 # The nsl library prevents programs from opening the X display
21276 # on Irix 5.2, according to T.E. Dickey.
21277 # The functions gethostbyname, getservbyname, and inet_addr are
21278 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21279 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21280 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21281 if test "${ac_cv_func_gethostbyname+set}" = set; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 cat >conftest.
$ac_ext <<_ACEOF
21285 #line $LINENO "configure"
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 /* System header to define __stub macros and hopefully few prototypes,
21292 which can conflict with char gethostbyname (); below.
21293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21294 <limits.h> exists even on freestanding compilers. */
21296 # include <limits.h>
21298 # include <assert.h>
21300 /* Override any gcc2 internal prototype to avoid an error. */
21305 /* We use char because int might match the return type of a gcc2
21306 builtin and then its argument prototype would still apply. */
21307 char gethostbyname ();
21308 /* The GNU C library defines this for functions which it implements
21309 to always fail with ENOSYS. Some functions are actually named
21310 something starting with __ and the normal name is an alias. */
21311 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21314 char (*f) () = gethostbyname;
21323 return f != gethostbyname;
21328 rm -f conftest.
$ac_objext conftest
$ac_exeext
21329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21330 (eval $ac_link) 2>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try
='test -s conftest$ac_exeext'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21340 ac_cv_func_gethostbyname
=yes
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.
$ac_ext >&5
21345 ac_cv_func_gethostbyname
=no
21347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21349 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21352 if test $ac_cv_func_gethostbyname = no
; then
21353 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 ac_check_lib_save_LIBS
=$LIBS
21360 cat >conftest.
$ac_ext <<_ACEOF
21361 #line $LINENO "configure"
21364 cat confdefs.h
>>conftest.
$ac_ext
21365 cat >>conftest.
$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21368 /* Override any gcc2 internal prototype to avoid an error. */
21372 /* We use char because int might match the return type of a gcc2
21373 builtin and then its argument prototype would still apply. */
21374 char gethostbyname ();
21383 rm -f conftest.
$ac_objext conftest
$ac_exeext
21384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21385 (eval $ac_link) 2>&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } &&
21389 { ac_try
='test -s conftest$ac_exeext'
21390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391 (eval $ac_try) 2>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21395 ac_cv_lib_nsl_gethostbyname
=yes
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.
$ac_ext >&5
21400 ac_cv_lib_nsl_gethostbyname
=no
21402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21403 LIBS
=$ac_check_lib_save_LIBS
21405 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21406 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21407 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21408 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21411 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21412 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21413 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21414 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 ac_check_lib_save_LIBS
=$LIBS
21419 cat >conftest.
$ac_ext <<_ACEOF
21420 #line $LINENO "configure"
21423 cat confdefs.h
>>conftest.
$ac_ext
21424 cat >>conftest.
$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21427 /* Override any gcc2 internal prototype to avoid an error. */
21431 /* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21433 char gethostbyname ();
21442 rm -f conftest.
$ac_objext conftest
$ac_exeext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444 (eval $ac_link) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try
='test -s conftest$ac_exeext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 ac_cv_lib_bsd_gethostbyname
=yes
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.
$ac_ext >&5
21459 ac_cv_lib_bsd_gethostbyname
=no
21461 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21462 LIBS
=$ac_check_lib_save_LIBS
21464 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21465 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21466 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21467 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21473 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21474 # socket/setsockopt and other routines are undefined under SCO ODT
21475 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21476 # on later versions), says Simon Leinen: it contains gethostby*
21477 # variants that don't use the name server (or something). -lsocket
21478 # must be given before -lnsl if both are needed. We assume that
21479 # if connect needs -lnsl, so does gethostbyname.
21480 echo "$as_me:$LINENO: checking for connect" >&5
21481 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21482 if test "${ac_cv_func_connect+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 cat >conftest.
$ac_ext <<_ACEOF
21486 #line $LINENO "configure"
21489 cat confdefs.h
>>conftest.
$ac_ext
21490 cat >>conftest.
$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 /* System header to define __stub macros and hopefully few prototypes,
21493 which can conflict with char connect (); below.
21494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21495 <limits.h> exists even on freestanding compilers. */
21497 # include <limits.h>
21499 # include <assert.h>
21501 /* Override any gcc2 internal prototype to avoid an error. */
21506 /* We use char because int might match the return type of a gcc2
21507 builtin and then its argument prototype would still apply. */
21509 /* The GNU C library defines this for functions which it implements
21510 to always fail with ENOSYS. Some functions are actually named
21511 something starting with __ and the normal name is an alias. */
21512 #if defined (__stub_connect) || defined (__stub___connect)
21515 char (*f) () = connect;
21524 return f != connect;
21529 rm -f conftest.
$ac_objext conftest
$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531 (eval $ac_link) 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try
='test -s conftest$ac_exeext'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; }; then
21541 ac_cv_func_connect
=yes
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.
$ac_ext >&5
21546 ac_cv_func_connect
=no
21548 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21550 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21551 echo "${ECHO_T}$ac_cv_func_connect" >&6
21553 if test $ac_cv_func_connect = no
; then
21554 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21556 if test "${ac_cv_lib_socket_connect+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21559 ac_check_lib_save_LIBS
=$LIBS
21560 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21561 cat >conftest.
$ac_ext <<_ACEOF
21562 #line $LINENO "configure"
21565 cat confdefs.h
>>conftest.
$ac_ext
21566 cat >>conftest.
$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21569 /* Override any gcc2 internal prototype to avoid an error. */
21573 /* We use char because int might match the return type of a gcc2
21574 builtin and then its argument prototype would still apply. */
21584 rm -f conftest.
$ac_objext conftest
$ac_exeext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586 (eval $ac_link) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try
='test -s conftest$ac_exeext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_cv_lib_socket_connect
=yes
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.
$ac_ext >&5
21601 ac_cv_lib_socket_connect
=no
21603 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21604 LIBS
=$ac_check_lib_save_LIBS
21606 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21608 if test $ac_cv_lib_socket_connect = yes; then
21609 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21614 # Guillermo Gomez says -lposix is necessary on A/UX.
21615 echo "$as_me:$LINENO: checking for remove" >&5
21616 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21617 if test "${ac_cv_func_remove+set}" = set; then
21618 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 cat >conftest.
$ac_ext <<_ACEOF
21621 #line $LINENO "configure"
21624 cat confdefs.h
>>conftest.
$ac_ext
21625 cat >>conftest.
$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21627 /* System header to define __stub macros and hopefully few prototypes,
21628 which can conflict with char remove (); below.
21629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21630 <limits.h> exists even on freestanding compilers. */
21632 # include <limits.h>
21634 # include <assert.h>
21636 /* Override any gcc2 internal prototype to avoid an error. */
21641 /* We use char because int might match the return type of a gcc2
21642 builtin and then its argument prototype would still apply. */
21644 /* The GNU C library defines this for functions which it implements
21645 to always fail with ENOSYS. Some functions are actually named
21646 something starting with __ and the normal name is an alias. */
21647 #if defined (__stub_remove) || defined (__stub___remove)
21650 char (*f) () = remove;
21659 return f != remove;
21664 rm -f conftest.
$ac_objext conftest
$ac_exeext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21666 (eval $ac_link) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } &&
21670 { ac_try
='test -s conftest$ac_exeext'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; }; then
21676 ac_cv_func_remove
=yes
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.
$ac_ext >&5
21681 ac_cv_func_remove
=no
21683 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21685 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21686 echo "${ECHO_T}$ac_cv_func_remove" >&6
21688 if test $ac_cv_func_remove = no
; then
21689 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21691 if test "${ac_cv_lib_posix_remove+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 ac_check_lib_save_LIBS
=$LIBS
21695 LIBS
="-lposix $LIBS"
21696 cat >conftest.
$ac_ext <<_ACEOF
21697 #line $LINENO "configure"
21700 cat confdefs.h
>>conftest.
$ac_ext
21701 cat >>conftest.
$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21704 /* Override any gcc2 internal prototype to avoid an error. */
21708 /* We use char because int might match the return type of a gcc2
21709 builtin and then its argument prototype would still apply. */
21719 rm -f conftest.
$ac_objext conftest
$ac_exeext
21720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21721 (eval $ac_link) 2>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try
='test -s conftest$ac_exeext'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; }; then
21731 ac_cv_lib_posix_remove
=yes
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.
$ac_ext >&5
21736 ac_cv_lib_posix_remove
=no
21738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21739 LIBS
=$ac_check_lib_save_LIBS
21741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21743 if test $ac_cv_lib_posix_remove = yes; then
21744 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21750 echo "$as_me:$LINENO: checking for shmat" >&5
21751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21752 if test "${ac_cv_func_shmat+set}" = set; then
21753 echo $ECHO_N "(cached) $ECHO_C" >&6
21755 cat >conftest.
$ac_ext <<_ACEOF
21756 #line $LINENO "configure"
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 /* System header to define __stub macros and hopefully few prototypes,
21763 which can conflict with char shmat (); below.
21764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21765 <limits.h> exists even on freestanding compilers. */
21767 # include <limits.h>
21769 # include <assert.h>
21771 /* Override any gcc2 internal prototype to avoid an error. */
21776 /* We use char because int might match the return type of a gcc2
21777 builtin and then its argument prototype would still apply. */
21779 /* The GNU C library defines this for functions which it implements
21780 to always fail with ENOSYS. Some functions are actually named
21781 something starting with __ and the normal name is an alias. */
21782 #if defined (__stub_shmat) || defined (__stub___shmat)
21785 char (*f) () = shmat;
21799 rm -f conftest.
$ac_objext conftest
$ac_exeext
21800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21801 (eval $ac_link) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } &&
21805 { ac_try
='test -s conftest$ac_exeext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 ac_cv_func_shmat
=yes
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.
$ac_ext >&5
21816 ac_cv_func_shmat
=no
21818 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21820 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21821 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21823 if test $ac_cv_func_shmat = no
; then
21824 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21825 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21826 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21829 ac_check_lib_save_LIBS
=$LIBS
21831 cat >conftest.
$ac_ext <<_ACEOF
21832 #line $LINENO "configure"
21835 cat confdefs.h
>>conftest.
$ac_ext
21836 cat >>conftest.
$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21839 /* Override any gcc2 internal prototype to avoid an error. */
21843 /* We use char because int might match the return type of a gcc2
21844 builtin and then its argument prototype would still apply. */
21854 rm -f conftest.
$ac_objext conftest
$ac_exeext
21855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21856 (eval $ac_link) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); } &&
21860 { ac_try
='test -s conftest$ac_exeext'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; }; then
21866 ac_cv_lib_ipc_shmat
=yes
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.
$ac_ext >&5
21871 ac_cv_lib_ipc_shmat
=no
21873 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21874 LIBS
=$ac_check_lib_save_LIBS
21876 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21877 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21878 if test $ac_cv_lib_ipc_shmat = yes; then
21879 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21885 # Check for libraries that X11R6 Xt/Xaw programs need.
21886 ac_save_LDFLAGS
=$LDFLAGS
21887 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21888 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21889 # check for ICE first), but we must link in the order -lSM -lICE or
21890 # we get undefined symbols. So assume we have SM if we have ICE.
21891 # These have to be linked with before -lX11, unlike the other
21892 # libraries we check for below, so use a different variable.
21893 # John Interrante, Karl Berry
21894 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21895 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21896 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 ac_check_lib_save_LIBS
=$LIBS
21900 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21901 cat >conftest.
$ac_ext <<_ACEOF
21902 #line $LINENO "configure"
21905 cat confdefs.h
>>conftest.
$ac_ext
21906 cat >>conftest.
$ac_ext <<_ACEOF
21907 /* end confdefs.h. */
21909 /* Override any gcc2 internal prototype to avoid an error. */
21913 /* We use char because int might match the return type of a gcc2
21914 builtin and then its argument prototype would still apply. */
21915 char IceConnectionNumber ();
21919 IceConnectionNumber ();
21924 rm -f conftest.
$ac_objext conftest
$ac_exeext
21925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21926 (eval $ac_link) 2>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } &&
21930 { ac_try
='test -s conftest$ac_exeext'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_lib_ICE_IceConnectionNumber
=yes
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.
$ac_ext >&5
21941 ac_cv_lib_ICE_IceConnectionNumber
=no
21943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21944 LIBS
=$ac_check_lib_save_LIBS
21946 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21947 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21948 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21949 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21952 LDFLAGS
=$ac_save_LDFLAGS
21957 if test "$no_x" = "yes"; then
21958 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21959 echo "$as_me: error: X11 not found" >&2;}
21960 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
21963 GUI_TK_LIBRARY
="$X_LIBS"
21964 TOOLKIT_INCLUDE
="$X_CFLAGS"
21965 AFMINSTALL
=afminstall
21966 COMPILED_X_PROGRAM
=0
21968 if test "$wxUSE_NANOX" = "yes"; then
21969 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21970 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21971 if test "x$MICROWIN" = x
; then
21972 echo "$as_me:$LINENO: result: not found" >&5
21973 echo "${ECHO_T}not found" >&6
21974 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21975 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21976 { (exit 1); exit 1; }; }
21978 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21979 echo "${ECHO_T}$MICROWIN" >&6
21980 cat >>confdefs.h
<<\_ACEOF
21981 #define wxUSE_NANOX 1
21988 echo "$as_me:$LINENO: checking for Xpm library" >&5
21989 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
21992 for ac_dir
in $SEARCH_LIB /usr
/lib
;
21994 for ac_extension
in a so sl dylib
; do
21995 if test -f "$ac_dir/libXpm.$ac_extension"; then
21996 ac_find_libraries
=$ac_dir
22002 if test "$ac_find_libraries" != "" ; then
22004 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22006 if test $result = 0; then
22009 ac_path_to_link
=" -L$ac_find_libraries"
22012 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22014 cat >>confdefs.h
<<\_ACEOF
22015 #define wxHAVE_LIB_XPM 1
22018 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22019 echo "${ECHO_T}found at $ac_find_libraries" >&6
22021 cat >conftest.
$ac_ext <<_ACEOF
22022 #line $LINENO "configure"
22025 cat confdefs.h
>>conftest.
$ac_ext
22026 cat >>conftest.
$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22029 #include <X11/xpm.h>
22036 version = XpmLibraryVersion();
22042 rm -f conftest.
$ac_objext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22044 (eval $ac_compile) 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try
='test -s conftest.$ac_objext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22056 cat >>confdefs.h
<<\_ACEOF
22057 #define wxHAVE_LIB_XPM 1
22060 echo "$as_me:$LINENO: result: found in default search path" >&5
22061 echo "${ECHO_T}found in default search path" >&6
22062 COMPILED_X_PROGRAM
=0
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.
$ac_ext >&5
22069 echo "$as_me:$LINENO: result: no" >&5
22070 echo "${ECHO_T}no" >&6
22071 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22072 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22076 rm -f conftest.
$ac_objext conftest.
$ac_ext
22079 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22080 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22081 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22082 echo $ECHO_N "(cached) $ECHO_C" >&6
22084 ac_check_lib_save_LIBS
=$LIBS
22085 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22086 cat >conftest.
$ac_ext <<_ACEOF
22087 #line $LINENO "configure"
22090 cat confdefs.h
>>conftest.
$ac_ext
22091 cat >>conftest.
$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22094 /* Override any gcc2 internal prototype to avoid an error. */
22098 /* We use char because int might match the return type of a gcc2
22099 builtin and then its argument prototype would still apply. */
22100 char XShapeQueryExtension ();
22104 XShapeQueryExtension ();
22109 rm -f conftest.
$ac_objext conftest
$ac_exeext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22111 (eval $ac_link) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -s conftest$ac_exeext'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.
$ac_ext >&5
22126 ac_cv_lib_Xext_XShapeQueryExtension
=no
22128 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22129 LIBS
=$ac_check_lib_save_LIBS
22131 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22132 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22133 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22135 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22141 if test "$wxUSE_UNICODE" = "yes"; then
22145 if test -z "$PKG_CONFIG"; then
22146 # Extract the first word of "pkg-config", so it can be a program name with args.
22147 set dummy pkg
-config; ac_word
=$2
22148 echo "$as_me:$LINENO: checking for $ac_word" >&5
22149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22151 echo $ECHO_N "(cached) $ECHO_C" >&6
22153 case $PKG_CONFIG in
22155 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22159 for as_dir
in $PATH
22162 test -z "$as_dir" && as_dir
=.
22163 for ac_exec_ext
in '' $ac_executable_extensions; do
22164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22165 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22172 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22176 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22178 if test -n "$PKG_CONFIG"; then
22179 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22180 echo "${ECHO_T}$PKG_CONFIG" >&6
22182 echo "$as_me:$LINENO: result: no" >&5
22183 echo "${ECHO_T}no" >&6
22188 if test "$PKG_CONFIG" = "no" ; then
22189 echo "*** The pkg-config script could not be found. Make sure it is"
22190 echo "*** in your path, or set the PKG_CONFIG environment variable"
22191 echo "*** to the full path to pkg-config."
22192 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22194 PKG_CONFIG_MIN_VERSION
=0.9.0
22195 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22196 echo "$as_me:$LINENO: checking for pangox" >&5
22197 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22199 if $PKG_CONFIG --exists "pangox" ; then
22200 echo "$as_me:$LINENO: result: yes" >&5
22201 echo "${ECHO_T}yes" >&6
22204 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22205 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22206 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22207 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22208 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22210 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22211 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22212 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22213 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22214 echo "${ECHO_T}$PANGOX_LIBS" >&6
22218 ## If we have a custom action on failure, don't print errors, but
22219 ## do set a variable so people can do so.
22220 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22227 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22228 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22232 if test $succeeded = yes; then
22234 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22235 LIBS
="$LIBS $PANGOX_LIBS"
22239 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22240 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22241 { (exit 1); exit 1; }; }
22249 if test -z "$PKG_CONFIG"; then
22250 # Extract the first word of "pkg-config", so it can be a program name with args.
22251 set dummy pkg
-config; ac_word
=$2
22252 echo "$as_me:$LINENO: checking for $ac_word" >&5
22253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22254 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22257 case $PKG_CONFIG in
22259 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22263 for as_dir
in $PATH
22266 test -z "$as_dir" && as_dir
=.
22267 for ac_exec_ext
in '' $ac_executable_extensions; do
22268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22269 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22276 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22280 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22282 if test -n "$PKG_CONFIG"; then
22283 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22284 echo "${ECHO_T}$PKG_CONFIG" >&6
22286 echo "$as_me:$LINENO: result: no" >&5
22287 echo "${ECHO_T}no" >&6
22292 if test "$PKG_CONFIG" = "no" ; then
22293 echo "*** The pkg-config script could not be found. Make sure it is"
22294 echo "*** in your path, or set the PKG_CONFIG environment variable"
22295 echo "*** to the full path to pkg-config."
22296 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22298 PKG_CONFIG_MIN_VERSION
=0.9.0
22299 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22300 echo "$as_me:$LINENO: checking for pangoft2" >&5
22301 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22303 if $PKG_CONFIG --exists "pangoft2" ; then
22304 echo "$as_me:$LINENO: result: yes" >&5
22305 echo "${ECHO_T}yes" >&6
22308 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22309 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22310 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22311 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22312 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22314 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22315 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22316 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22317 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22318 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22322 ## If we have a custom action on failure, don't print errors, but
22323 ## do set a variable so people can do so.
22324 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22331 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22332 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22336 if test $succeeded = yes; then
22338 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22339 LIBS
="$LIBS $PANGOFT2_LIBS"
22343 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22344 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22345 wxUSE_PRINTING_ARCHITECTURE
="no"
22353 if test -z "$PKG_CONFIG"; then
22354 # Extract the first word of "pkg-config", so it can be a program name with args.
22355 set dummy pkg
-config; ac_word
=$2
22356 echo "$as_me:$LINENO: checking for $ac_word" >&5
22357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22358 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22359 echo $ECHO_N "(cached) $ECHO_C" >&6
22361 case $PKG_CONFIG in
22363 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22367 for as_dir
in $PATH
22370 test -z "$as_dir" && as_dir
=.
22371 for ac_exec_ext
in '' $ac_executable_extensions; do
22372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22373 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22380 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22384 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22386 if test -n "$PKG_CONFIG"; then
22387 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22388 echo "${ECHO_T}$PKG_CONFIG" >&6
22390 echo "$as_me:$LINENO: result: no" >&5
22391 echo "${ECHO_T}no" >&6
22396 if test "$PKG_CONFIG" = "no" ; then
22397 echo "*** The pkg-config script could not be found. Make sure it is"
22398 echo "*** in your path, or set the PKG_CONFIG environment variable"
22399 echo "*** to the full path to pkg-config."
22400 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22402 PKG_CONFIG_MIN_VERSION
=0.9.0
22403 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22404 echo "$as_me:$LINENO: checking for pangoxft" >&5
22405 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22407 if $PKG_CONFIG --exists "pangoxft" ; then
22408 echo "$as_me:$LINENO: result: yes" >&5
22409 echo "${ECHO_T}yes" >&6
22412 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22413 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22414 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22415 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22416 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22418 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22419 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22420 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22421 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22422 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22426 ## If we have a custom action on failure, don't print errors, but
22427 ## do set a variable so people can do so.
22428 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22435 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22436 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22440 if test $succeeded = yes; then
22442 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22443 LIBS
="$LIBS $PANGOXFT_LIBS"
22447 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22448 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22455 wxUSE_UNIVERSAL
="yes"
22457 if test "$wxUSE_NANOX" = "yes"; then
22458 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22459 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"
22460 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22462 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22465 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22470 if test "$wxUSE_MOTIF" = 1; then
22471 if test "$no_x" = yes; then
22472 # Not all programs may use this symbol, but it does not hurt to define it.
22474 cat >>confdefs.h
<<\_ACEOF
22475 #define X_DISPLAY_MISSING 1
22478 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22480 if test -n "$x_includes"; then
22481 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22484 # It would also be nice to do this for all -L options, not just this one.
22485 if test -n "$x_libraries"; then
22486 X_LIBS
="$X_LIBS -L$x_libraries"
22487 # For Solaris; some versions of Sun CC require a space after -R and
22488 # others require no space. Words are not sufficient . . . .
22489 case `(uname -sr) 2>/dev/null` in
22491 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22492 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22493 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22494 cat >conftest.
$ac_ext <<_ACEOF
22495 #line $LINENO "configure"
22498 cat confdefs.h
>>conftest.
$ac_ext
22499 cat >>conftest.
$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22510 rm -f conftest.
$ac_objext conftest
$ac_exeext
22511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22512 (eval $ac_link) 2>&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } &&
22516 { ac_try
='test -s conftest$ac_exeext'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; }; then
22524 echo "$as_me: failed program was:" >&5
22525 sed 's/^/| /' conftest.
$ac_ext >&5
22529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22530 if test $ac_R_nospace = yes; then
22531 echo "$as_me:$LINENO: result: no" >&5
22532 echo "${ECHO_T}no" >&6
22533 X_LIBS
="$X_LIBS -R$x_libraries"
22535 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22536 cat >conftest.
$ac_ext <<_ACEOF
22537 #line $LINENO "configure"
22540 cat confdefs.h
>>conftest.
$ac_ext
22541 cat >>conftest.
$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22552 rm -f conftest.
$ac_objext conftest
$ac_exeext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22554 (eval $ac_link) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try
='test -s conftest$ac_exeext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.
$ac_ext >&5
22571 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22572 if test $ac_R_space = yes; then
22573 echo "$as_me:$LINENO: result: yes" >&5
22574 echo "${ECHO_T}yes" >&6
22575 X_LIBS
="$X_LIBS -R $x_libraries"
22577 echo "$as_me:$LINENO: result: neither works" >&5
22578 echo "${ECHO_T}neither works" >&6
22581 LIBS
=$ac_xsave_LIBS
22585 # Check for system-dependent libraries X programs must link with.
22586 # Do this before checking for the system-independent R6 libraries
22587 # (-lICE), since we may need -lsocket or whatever for X linking.
22589 if test "$ISC" = yes; then
22590 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22592 # Martyn Johnson says this is needed for Ultrix, if the X
22593 # libraries were built with DECnet support. And Karl Berry says
22594 # the Alpha needs dnet_stub (dnet does not exist).
22595 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22596 cat >conftest.
$ac_ext <<_ACEOF
22597 #line $LINENO "configure"
22600 cat confdefs.h
>>conftest.
$ac_ext
22601 cat >>conftest.
$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22604 /* Override any gcc2 internal prototype to avoid an error. */
22608 /* We use char because int might match the return type of a gcc2
22609 builtin and then its argument prototype would still apply. */
22610 char XOpenDisplay ();
22619 rm -f conftest.
$ac_objext conftest
$ac_exeext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22621 (eval $ac_link) 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try
='test -s conftest$ac_exeext'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.
$ac_ext >&5
22636 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22637 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22638 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22639 echo $ECHO_N "(cached) $ECHO_C" >&6
22641 ac_check_lib_save_LIBS
=$LIBS
22642 LIBS
="-ldnet $LIBS"
22643 cat >conftest.
$ac_ext <<_ACEOF
22644 #line $LINENO "configure"
22647 cat confdefs.h
>>conftest.
$ac_ext
22648 cat >>conftest.
$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22651 /* Override any gcc2 internal prototype to avoid an error. */
22655 /* We use char because int might match the return type of a gcc2
22656 builtin and then its argument prototype would still apply. */
22666 rm -f conftest.
$ac_objext conftest
$ac_exeext
22667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22668 (eval $ac_link) 2>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } &&
22672 { ac_try
='test -s conftest$ac_exeext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_cv_lib_dnet_dnet_ntoa
=yes
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.
$ac_ext >&5
22683 ac_cv_lib_dnet_dnet_ntoa
=no
22685 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22686 LIBS
=$ac_check_lib_save_LIBS
22688 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22689 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22690 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22691 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22694 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22695 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22696 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22697 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22700 ac_check_lib_save_LIBS
=$LIBS
22701 LIBS
="-ldnet_stub $LIBS"
22702 cat >conftest.
$ac_ext <<_ACEOF
22703 #line $LINENO "configure"
22706 cat confdefs.h
>>conftest.
$ac_ext
22707 cat >>conftest.
$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22710 /* Override any gcc2 internal prototype to avoid an error. */
22714 /* We use char because int might match the return type of a gcc2
22715 builtin and then its argument prototype would still apply. */
22725 rm -f conftest.
$ac_objext conftest
$ac_exeext
22726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22727 (eval $ac_link) 2>&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } &&
22731 { ac_try
='test -s conftest$ac_exeext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.
$ac_ext >&5
22742 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22744 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22745 LIBS
=$ac_check_lib_save_LIBS
22747 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22748 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22749 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22755 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22756 LIBS
="$ac_xsave_LIBS"
22758 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22759 # to get the SysV transport functions.
22760 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22762 # The nsl library prevents programs from opening the X display
22763 # on Irix 5.2, according to T.E. Dickey.
22764 # The functions gethostbyname, getservbyname, and inet_addr are
22765 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22766 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22767 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22768 if test "${ac_cv_func_gethostbyname+set}" = set; then
22769 echo $ECHO_N "(cached) $ECHO_C" >&6
22771 cat >conftest.
$ac_ext <<_ACEOF
22772 #line $LINENO "configure"
22775 cat confdefs.h
>>conftest.
$ac_ext
22776 cat >>conftest.
$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 /* System header to define __stub macros and hopefully few prototypes,
22779 which can conflict with char gethostbyname (); below.
22780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22781 <limits.h> exists even on freestanding compilers. */
22783 # include <limits.h>
22785 # include <assert.h>
22787 /* Override any gcc2 internal prototype to avoid an error. */
22792 /* We use char because int might match the return type of a gcc2
22793 builtin and then its argument prototype would still apply. */
22794 char gethostbyname ();
22795 /* The GNU C library defines this for functions which it implements
22796 to always fail with ENOSYS. Some functions are actually named
22797 something starting with __ and the normal name is an alias. */
22798 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22801 char (*f) () = gethostbyname;
22810 return f != gethostbyname;
22815 rm -f conftest.
$ac_objext conftest
$ac_exeext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22817 (eval $ac_link) 2>&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); } &&
22821 { ac_try
='test -s conftest$ac_exeext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_cv_func_gethostbyname
=yes
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22832 ac_cv_func_gethostbyname
=no
22834 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22836 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22837 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22839 if test $ac_cv_func_gethostbyname = no
; then
22840 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22841 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22842 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22843 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 ac_check_lib_save_LIBS
=$LIBS
22847 cat >conftest.
$ac_ext <<_ACEOF
22848 #line $LINENO "configure"
22851 cat confdefs.h
>>conftest.
$ac_ext
22852 cat >>conftest.
$ac_ext <<_ACEOF
22853 /* end confdefs.h. */
22855 /* Override any gcc2 internal prototype to avoid an error. */
22859 /* We use char because int might match the return type of a gcc2
22860 builtin and then its argument prototype would still apply. */
22861 char gethostbyname ();
22870 rm -f conftest.
$ac_objext conftest
$ac_exeext
22871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22872 (eval $ac_link) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try
='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 ac_cv_lib_nsl_gethostbyname
=yes
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.
$ac_ext >&5
22887 ac_cv_lib_nsl_gethostbyname
=no
22889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22890 LIBS
=$ac_check_lib_save_LIBS
22892 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22893 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22894 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22898 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22899 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22900 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22901 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 ac_check_lib_save_LIBS
=$LIBS
22906 cat >conftest.
$ac_ext <<_ACEOF
22907 #line $LINENO "configure"
22910 cat confdefs.h
>>conftest.
$ac_ext
22911 cat >>conftest.
$ac_ext <<_ACEOF
22912 /* end confdefs.h. */
22914 /* Override any gcc2 internal prototype to avoid an error. */
22918 /* We use char because int might match the return type of a gcc2
22919 builtin and then its argument prototype would still apply. */
22920 char gethostbyname ();
22929 rm -f conftest.
$ac_objext conftest
$ac_exeext
22930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22931 (eval $ac_link) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } &&
22935 { ac_try
='test -s conftest$ac_exeext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 ac_cv_lib_bsd_gethostbyname
=yes
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.
$ac_ext >&5
22946 ac_cv_lib_bsd_gethostbyname
=no
22948 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22949 LIBS
=$ac_check_lib_save_LIBS
22951 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22952 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22953 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22954 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22960 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22961 # socket/setsockopt and other routines are undefined under SCO ODT
22962 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22963 # on later versions), says Simon Leinen: it contains gethostby*
22964 # variants that don't use the name server (or something). -lsocket
22965 # must be given before -lnsl if both are needed. We assume that
22966 # if connect needs -lnsl, so does gethostbyname.
22967 echo "$as_me:$LINENO: checking for connect" >&5
22968 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22969 if test "${ac_cv_func_connect+set}" = set; then
22970 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 cat >conftest.
$ac_ext <<_ACEOF
22973 #line $LINENO "configure"
22976 cat confdefs.h
>>conftest.
$ac_ext
22977 cat >>conftest.
$ac_ext <<_ACEOF
22978 /* end confdefs.h. */
22979 /* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char connect (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22984 # include <limits.h>
22986 # include <assert.h>
22988 /* Override any gcc2 internal prototype to avoid an error. */
22993 /* We use char because int might match the return type of a gcc2
22994 builtin and then its argument prototype would still apply. */
22996 /* The GNU C library defines this for functions which it implements
22997 to always fail with ENOSYS. Some functions are actually named
22998 something starting with __ and the normal name is an alias. */
22999 #if defined (__stub_connect) || defined (__stub___connect)
23002 char (*f) () = connect;
23011 return f != connect;
23016 rm -f conftest.
$ac_objext conftest
$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018 (eval $ac_link) 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try
='test -s conftest$ac_exeext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 ac_cv_func_connect
=yes
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.
$ac_ext >&5
23033 ac_cv_func_connect
=no
23035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23037 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23038 echo "${ECHO_T}$ac_cv_func_connect" >&6
23040 if test $ac_cv_func_connect = no
; then
23041 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23042 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23043 if test "${ac_cv_lib_socket_connect+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23046 ac_check_lib_save_LIBS
=$LIBS
23047 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23048 cat >conftest.
$ac_ext <<_ACEOF
23049 #line $LINENO "configure"
23052 cat confdefs.h
>>conftest.
$ac_ext
23053 cat >>conftest.
$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23056 /* Override any gcc2 internal prototype to avoid an error. */
23060 /* We use char because int might match the return type of a gcc2
23061 builtin and then its argument prototype would still apply. */
23071 rm -f conftest.
$ac_objext conftest
$ac_exeext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23073 (eval $ac_link) 2>&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } &&
23077 { ac_try
='test -s conftest$ac_exeext'
23078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23079 (eval $ac_try) 2>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); }; }; then
23083 ac_cv_lib_socket_connect
=yes
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.
$ac_ext >&5
23088 ac_cv_lib_socket_connect
=no
23090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23091 LIBS
=$ac_check_lib_save_LIBS
23093 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23094 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23095 if test $ac_cv_lib_socket_connect = yes; then
23096 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23101 # Guillermo Gomez says -lposix is necessary on A/UX.
23102 echo "$as_me:$LINENO: checking for remove" >&5
23103 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23104 if test "${ac_cv_func_remove+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 cat >conftest.
$ac_ext <<_ACEOF
23108 #line $LINENO "configure"
23111 cat confdefs.h
>>conftest.
$ac_ext
23112 cat >>conftest.
$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 /* System header to define __stub macros and hopefully few prototypes,
23115 which can conflict with char remove (); below.
23116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23117 <limits.h> exists even on freestanding compilers. */
23119 # include <limits.h>
23121 # include <assert.h>
23123 /* Override any gcc2 internal prototype to avoid an error. */
23128 /* We use char because int might match the return type of a gcc2
23129 builtin and then its argument prototype would still apply. */
23131 /* The GNU C library defines this for functions which it implements
23132 to always fail with ENOSYS. Some functions are actually named
23133 something starting with __ and the normal name is an alias. */
23134 #if defined (__stub_remove) || defined (__stub___remove)
23137 char (*f) () = remove;
23146 return f != remove;
23151 rm -f conftest.
$ac_objext conftest
$ac_exeext
23152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23153 (eval $ac_link) 2>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } &&
23157 { ac_try
='test -s conftest$ac_exeext'
23158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159 (eval $ac_try) 2>&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; }; then
23163 ac_cv_func_remove
=yes
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.
$ac_ext >&5
23168 ac_cv_func_remove
=no
23170 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23172 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23173 echo "${ECHO_T}$ac_cv_func_remove" >&6
23175 if test $ac_cv_func_remove = no
; then
23176 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23177 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23178 if test "${ac_cv_lib_posix_remove+set}" = set; then
23179 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 ac_check_lib_save_LIBS
=$LIBS
23182 LIBS
="-lposix $LIBS"
23183 cat >conftest.
$ac_ext <<_ACEOF
23184 #line $LINENO "configure"
23187 cat confdefs.h
>>conftest.
$ac_ext
23188 cat >>conftest.
$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23191 /* Override any gcc2 internal prototype to avoid an error. */
23195 /* We use char because int might match the return type of a gcc2
23196 builtin and then its argument prototype would still apply. */
23206 rm -f conftest.
$ac_objext conftest
$ac_exeext
23207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23208 (eval $ac_link) 2>&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } &&
23212 { ac_try
='test -s conftest$ac_exeext'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_lib_posix_remove
=yes
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.
$ac_ext >&5
23223 ac_cv_lib_posix_remove
=no
23225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23226 LIBS
=$ac_check_lib_save_LIBS
23228 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23229 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23230 if test $ac_cv_lib_posix_remove = yes; then
23231 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23236 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23237 echo "$as_me:$LINENO: checking for shmat" >&5
23238 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23239 if test "${ac_cv_func_shmat+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 cat >conftest.
$ac_ext <<_ACEOF
23243 #line $LINENO "configure"
23246 cat confdefs.h
>>conftest.
$ac_ext
23247 cat >>conftest.
$ac_ext <<_ACEOF
23248 /* end confdefs.h. */
23249 /* System header to define __stub macros and hopefully few prototypes,
23250 which can conflict with char shmat (); below.
23251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23252 <limits.h> exists even on freestanding compilers. */
23254 # include <limits.h>
23256 # include <assert.h>
23258 /* Override any gcc2 internal prototype to avoid an error. */
23263 /* We use char because int might match the return type of a gcc2
23264 builtin and then its argument prototype would still apply. */
23266 /* The GNU C library defines this for functions which it implements
23267 to always fail with ENOSYS. Some functions are actually named
23268 something starting with __ and the normal name is an alias. */
23269 #if defined (__stub_shmat) || defined (__stub___shmat)
23272 char (*f) () = shmat;
23286 rm -f conftest.
$ac_objext conftest
$ac_exeext
23287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23288 (eval $ac_link) 2>&5
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); } &&
23292 { ac_try
='test -s conftest$ac_exeext'
23293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23294 (eval $ac_try) 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; }; then
23298 ac_cv_func_shmat
=yes
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.
$ac_ext >&5
23303 ac_cv_func_shmat
=no
23305 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23307 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23308 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23310 if test $ac_cv_func_shmat = no
; then
23311 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23312 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23313 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23314 echo $ECHO_N "(cached) $ECHO_C" >&6
23316 ac_check_lib_save_LIBS
=$LIBS
23318 cat >conftest.
$ac_ext <<_ACEOF
23319 #line $LINENO "configure"
23322 cat confdefs.h
>>conftest.
$ac_ext
23323 cat >>conftest.
$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23326 /* Override any gcc2 internal prototype to avoid an error. */
23330 /* We use char because int might match the return type of a gcc2
23331 builtin and then its argument prototype would still apply. */
23341 rm -f conftest.
$ac_objext conftest
$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try
='test -s conftest$ac_exeext'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; }; then
23353 ac_cv_lib_ipc_shmat
=yes
23355 echo "$as_me: failed program was:" >&5
23356 sed 's/^/| /' conftest.
$ac_ext >&5
23358 ac_cv_lib_ipc_shmat
=no
23360 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23361 LIBS
=$ac_check_lib_save_LIBS
23363 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23364 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23365 if test $ac_cv_lib_ipc_shmat = yes; then
23366 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23372 # Check for libraries that X11R6 Xt/Xaw programs need.
23373 ac_save_LDFLAGS
=$LDFLAGS
23374 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23375 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23376 # check for ICE first), but we must link in the order -lSM -lICE or
23377 # we get undefined symbols. So assume we have SM if we have ICE.
23378 # These have to be linked with before -lX11, unlike the other
23379 # libraries we check for below, so use a different variable.
23380 # John Interrante, Karl Berry
23381 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23382 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23383 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23384 echo $ECHO_N "(cached) $ECHO_C" >&6
23386 ac_check_lib_save_LIBS
=$LIBS
23387 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23388 cat >conftest.
$ac_ext <<_ACEOF
23389 #line $LINENO "configure"
23392 cat confdefs.h
>>conftest.
$ac_ext
23393 cat >>conftest.
$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23396 /* Override any gcc2 internal prototype to avoid an error. */
23400 /* We use char because int might match the return type of a gcc2
23401 builtin and then its argument prototype would still apply. */
23402 char IceConnectionNumber ();
23406 IceConnectionNumber ();
23411 rm -f conftest.
$ac_objext conftest
$ac_exeext
23412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23413 (eval $ac_link) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try
='test -s conftest$ac_exeext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 ac_cv_lib_ICE_IceConnectionNumber
=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.
$ac_ext >&5
23428 ac_cv_lib_ICE_IceConnectionNumber
=no
23430 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23431 LIBS
=$ac_check_lib_save_LIBS
23433 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23434 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23435 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23436 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23439 LDFLAGS
=$ac_save_LDFLAGS
23444 if test "$no_x" = "yes"; then
23445 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23446 echo "$as_me: error: X11 not found" >&2;}
23447 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23450 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23451 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23452 AFMINSTALL
=afminstall
23453 COMPILED_X_PROGRAM
=0
23455 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23456 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23459 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23461 if test -f "$ac_dir/Xm/Xm.h"; then
23462 ac_find_includes
=$ac_dir
23467 if test "$ac_find_includes" != "" ; then
23468 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23469 echo "${ECHO_T}found in $ac_find_includes" >&6
23471 if test "x$ac_find_includes" = "x/usr/include"; then
23472 ac_path_to_include
=""
23474 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23476 if test $result = 0; then
23477 ac_path_to_include
=""
23479 ac_path_to_include
=" -I$ac_find_includes"
23483 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23485 cat >conftest.
$ac_ext <<_ACEOF
23486 #line $LINENO "configure"
23489 cat confdefs.h
>>conftest.
$ac_ext
23490 cat >>conftest.
$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23500 version = xmUseVersion;
23506 rm -f conftest.
$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try
='test -s conftest.$ac_objext'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23519 echo "$as_me:$LINENO: result: found in default search path" >&5
23520 echo "${ECHO_T}found in default search path" >&6
23521 COMPILED_X_PROGRAM
=1
23524 echo "$as_me: failed program was:" >&5
23525 sed 's/^/| /' conftest.
$ac_ext >&5
23528 echo "$as_me:$LINENO: result: no" >&5
23529 echo "${ECHO_T}no" >&6
23530 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23531 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23532 { (exit 1); exit 1; }; }
23536 rm -f conftest.
$ac_objext conftest.
$ac_ext
23539 if test "$COMPILED_X_PROGRAM" = 0; then
23540 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23541 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23544 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23546 for ac_extension
in a so sl dylib
; do
23547 if test -f "$ac_dir/libXm.$ac_extension"; then
23548 ac_find_libraries
=$ac_dir
23554 if test "$ac_find_libraries" != "" ; then
23555 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23556 echo "${ECHO_T}found at $ac_find_libraries" >&6
23559 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23561 if test $result = 0; then
23564 ac_path_to_link
=" -L$ac_find_libraries"
23567 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23569 save_CFLAGS
=$CFLAGS
23570 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23572 cat >conftest.
$ac_ext <<_ACEOF
23573 #line $LINENO "configure"
23576 cat confdefs.h
>>conftest.
$ac_ext
23577 cat >>conftest.
$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23587 version = xmUseVersion;
23593 rm -f conftest.
$ac_objext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23595 (eval $ac_compile) 2>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try
='test -s conftest.$ac_objext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23606 echo "$as_me:$LINENO: result: found in default search path" >&5
23607 echo "${ECHO_T}found in default search path" >&6
23608 COMPILED_X_PROGRAM
=1
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.
$ac_ext >&5
23615 echo "$as_me:$LINENO: result: no" >&5
23616 echo "${ECHO_T}no" >&6
23617 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23618 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23619 { (exit 1); exit 1; }; }
23623 rm -f conftest.
$ac_objext conftest.
$ac_ext
23625 CFLAGS
=$save_CFLAGS
23630 echo "$as_me:$LINENO: checking for Xpm library" >&5
23631 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23634 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23636 for ac_extension
in a so sl dylib
; do
23637 if test -f "$ac_dir/libXpm.$ac_extension"; then
23638 ac_find_libraries
=$ac_dir
23644 if test "$ac_find_libraries" != "" ; then
23646 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23648 if test $result = 0; then
23651 ac_path_to_link
=" -L$ac_find_libraries"
23654 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23657 cat >>confdefs.h
<<\_ACEOF
23658 #define wxHAVE_LIB_XPM 1
23661 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23662 echo "${ECHO_T}found at $ac_find_libraries" >&6
23664 save_CFLAGS
=$CFLAGS
23665 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23667 cat >conftest.
$ac_ext <<_ACEOF
23668 #line $LINENO "configure"
23671 cat confdefs.h
>>conftest.
$ac_ext
23672 cat >>conftest.
$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23675 #include <X11/xpm.h>
23682 version = XpmLibraryVersion();
23688 rm -f conftest.
$ac_objext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23690 (eval $ac_compile) 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } &&
23694 { ac_try
='test -s conftest.$ac_objext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23702 cat >>confdefs.h
<<\_ACEOF
23703 #define wxHAVE_LIB_XPM 1
23706 echo "$as_me:$LINENO: result: found in default search path" >&5
23707 echo "${ECHO_T}found in default search path" >&6
23708 COMPILED_X_PROGRAM
=0
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.
$ac_ext >&5
23715 echo "$as_me:$LINENO: result: no" >&5
23716 echo "${ECHO_T}no" >&6
23717 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23718 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23722 rm -f conftest.
$ac_objext conftest.
$ac_ext
23724 CFLAGS
=$save_CFLAGS
23727 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23728 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23732 for libp
in "" " -lXp"; do
23733 if test "$libs_found" = "0"; then
23734 for libsm_ice
in " -lSM -lICE"; do
23735 if test "$libs_found" = "0"; then
23737 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23738 save_CFLAGS
=$CFLAGS
23739 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23741 cat >conftest.
$ac_ext <<_ACEOF
23742 #line $LINENO "configure"
23745 cat confdefs.h
>>conftest.
$ac_ext
23746 cat >>conftest.
$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23750 #include <Xm/List.h>
23756 XmString string = NULL;
23759 XmListAddItem(w, string, position);
23765 rm -f conftest.
$ac_objext conftest
$ac_exeext
23766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23767 (eval $ac_link) 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try
='test -s conftest$ac_exeext'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; }; then
23779 libsm_ice_link
="$libsm_ice"
23780 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23781 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.
$ac_ext >&5
23791 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23794 CFLAGS
=$save_CFLAGS
23800 if test "$libs_found" = "0"; then
23801 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23802 echo "${ECHO_T}can't find the right libraries" >&6
23803 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23804 echo "$as_me: error: can't link a simple motif program" >&2;}
23805 { (exit 1); exit 1; }; }
23808 save_CFLAGS
=$CFLAGS
23809 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23810 echo "$as_me:$LINENO: checking for Motif 2" >&5
23811 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23812 cat >conftest.
$ac_ext <<_ACEOF
23813 #line $LINENO "configure"
23816 cat confdefs.h
>>conftest.
$ac_ext
23817 cat >>conftest.
$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23826 #if XmVersion < 2000
23827 #error "Not Motif 2"
23834 rm -f conftest.
$ac_objext
23835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23836 (eval $ac_compile) 2>&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } &&
23840 { ac_try
='test -s conftest.$ac_objext'
23841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23842 (eval $ac_try) 2>&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; }; then
23847 cat >>confdefs.h
<<\_ACEOF
23848 #define __WXMOTIF20__ 1
23851 echo "$as_me:$LINENO: result: found" >&5
23852 echo "${ECHO_T}found" >&6
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.
$ac_ext >&5
23859 cat >>confdefs.h
<<\_ACEOF
23860 #define __WXMOTIF20__ 0
23863 echo "$as_me:$LINENO: result: not found" >&5
23864 echo "${ECHO_T}not found" >&6
23867 rm -f conftest.
$ac_objext conftest.
$ac_ext
23868 CFLAGS
=$save_CFLAGS
23870 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23871 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23877 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23878 test "$wxHAVE_XEXT_LIB" = 1; then
23879 save_CFLAGS
="$CFLAGS"
23880 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23882 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23883 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23884 cat >conftest.
$ac_ext <<_ACEOF
23885 #line $LINENO "configure"
23888 cat confdefs.h
>>conftest.
$ac_ext
23889 cat >>conftest.
$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23892 #include <X11/Xlib.h>
23893 #include <X11/extensions/shape.h>
23899 int dummy1, dummy2;
23900 XShapeQueryExtension((Display*)NULL,
23901 (int*)NULL, (int*)NULL);
23907 rm -f conftest.
$ac_objext
23908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23909 (eval $ac_compile) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } &&
23913 { ac_try
='test -s conftest.$ac_objext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23920 cat >>confdefs.h
<<\_ACEOF
23921 #define HAVE_XSHAPE 1
23924 echo "$as_me:$LINENO: result: found" >&5
23925 echo "${ECHO_T}found" >&6
23928 echo "$as_me: failed program was:" >&5
23929 sed 's/^/| /' conftest.
$ac_ext >&5
23932 echo "$as_me:$LINENO: result: not found" >&5
23933 echo "${ECHO_T}not found" >&6
23936 rm -f conftest.
$ac_objext conftest.
$ac_ext
23937 CFLAGS
="$save_CFLAGS"
23940 if test "$wxUSE_MAC" = 1; then
23941 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23943 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23948 if test "$wxUSE_COCOA" = 1; then
23949 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
23954 if test "$wxUSE_PM" = 1; then
23957 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23958 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23962 if test "$TOOLKIT" = "PM" ; then
23965 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23968 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23970 if test "$wxUSE_UNIVERSAL" = "yes"; then
23971 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23973 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23974 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23976 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23977 if test "$wxUSE_X11" = 1; then
23978 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23980 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23982 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
23985 ALL_OBJECTS
="\$(GUIOBJS)"
23986 ALL_SOURCES
="\$(ALL_SOURCES)"
23987 ALL_HEADERS
="\$(ALL_HEADERS)"
23990 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
23992 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
23993 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
23996 if test "$wxUSE_HTML" = "yes"; then
23997 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24000 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24001 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24003 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24004 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24006 if test "$wxUSE_LIBPNG" = "builtin" ; then
24007 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24010 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24011 DISTDIR
="wx\$(TOOLKIT)"
24017 if test "$USE_WIN32" = 1 ; then
24018 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24019 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24023 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24024 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24027 ALL_SOURCES
="\$(ALL_SOURCES)"
24028 ALL_HEADERS
="\$(ALL_HEADERS)"
24030 PORT_FILES
="\${top_srcdir}/src/files.lst"
24032 GUIDIST
="BASE_DIST"
24042 if test "$TOOLKIT" != "MSW" ; then
24044 if test "$wxUSE_ODBC" != "no" ; then
24045 cat >>confdefs.h
<<\_ACEOF
24046 #define wxUSE_ODBC 1
24049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24051 WXODBCFLAG
="-D_IODBC_"
24054 if test "$wxUSE_ODBC" = "sys" ; then
24056 if test "${ac_cv_header_sql_h+set}" = set; then
24057 echo "$as_me:$LINENO: checking for sql.h" >&5
24058 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24059 if test "${ac_cv_header_sql_h+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24062 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24063 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24065 # Is the header compilable?
24066 echo "$as_me:$LINENO: checking sql.h usability" >&5
24067 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24068 cat >conftest.
$ac_ext <<_ACEOF
24069 #line $LINENO "configure"
24072 cat confdefs.h
>>conftest.
$ac_ext
24073 cat >>conftest.
$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075 $ac_includes_default
24078 rm -f conftest.
$ac_objext
24079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24080 (eval $ac_compile) 2>&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } &&
24084 { ac_try
='test -s conftest.$ac_objext'
24085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24086 (eval $ac_try) 2>&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); }; }; then
24090 ac_header_compiler
=yes
24092 echo "$as_me: failed program was:" >&5
24093 sed 's/^/| /' conftest.
$ac_ext >&5
24095 ac_header_compiler
=no
24097 rm -f conftest.
$ac_objext conftest.
$ac_ext
24098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24099 echo "${ECHO_T}$ac_header_compiler" >&6
24101 # Is the header present?
24102 echo "$as_me:$LINENO: checking sql.h presence" >&5
24103 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24104 cat >conftest.
$ac_ext <<_ACEOF
24105 #line $LINENO "configure"
24108 cat confdefs.h
>>conftest.
$ac_ext
24109 cat >>conftest.
$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24116 grep -v '^ *+' conftest.er1
>conftest.err
24118 cat conftest.err
>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } >/dev
/null
; then
24121 if test -s conftest.err
; then
24122 ac_cpp_err
=$ac_c_preproc_warn_flag
24129 if test -z "$ac_cpp_err"; then
24130 ac_header_preproc
=yes
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.
$ac_ext >&5
24135 ac_header_preproc
=no
24137 rm -f conftest.err conftest.
$ac_ext
24138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24139 echo "${ECHO_T}$ac_header_preproc" >&6
24141 # So? What about this header?
24142 case $ac_header_compiler:$ac_header_preproc in
24144 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24145 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24146 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24147 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24150 ## ------------------------------------ ##
24151 ## Report this to bug-autoconf@gnu.org. ##
24152 ## ------------------------------------ ##
24155 sed "s/^/$as_me: WARNING: /" >&2
24158 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24159 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24160 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24161 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&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: checking for sql.h" >&5
24175 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24176 if test "${ac_cv_header_sql_h+set}" = set; then
24177 echo $ECHO_N "(cached) $ECHO_C" >&6
24179 ac_cv_header_sql_h
=$ac_header_preproc
24181 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24182 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24187 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24188 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24189 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24192 ac_func_search_save_LIBS
=$LIBS
24193 ac_cv_search_SQLAllocEnv
=no
24194 cat >conftest.
$ac_ext <<_ACEOF
24195 #line $LINENO "configure"
24198 cat confdefs.h
>>conftest.
$ac_ext
24199 cat >>conftest.
$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24202 /* Override any gcc2 internal prototype to avoid an error. */
24206 /* We use char because int might match the return type of a gcc2
24207 builtin and then its argument prototype would still apply. */
24208 char SQLAllocEnv ();
24217 rm -f conftest.
$ac_objext conftest
$ac_exeext
24218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24219 (eval $ac_link) 2>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } &&
24223 { ac_try
='test -s conftest$ac_exeext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229 ac_cv_search_SQLAllocEnv
="none required"
24231 echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.
$ac_ext >&5
24235 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24236 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24237 for ac_lib
in iodbc unixodbc odbc
; do
24238 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24239 cat >conftest.
$ac_ext <<_ACEOF
24240 #line $LINENO "configure"
24243 cat confdefs.h
>>conftest.
$ac_ext
24244 cat >>conftest.
$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24247 /* Override any gcc2 internal prototype to avoid an error. */
24251 /* We use char because int might match the return type of a gcc2
24252 builtin and then its argument prototype would still apply. */
24253 char SQLAllocEnv ();
24262 rm -f conftest.
$ac_objext conftest
$ac_exeext
24263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24264 (eval $ac_link) 2>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); } &&
24268 { ac_try
='test -s conftest$ac_exeext'
24269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24270 (eval $ac_try) 2>&5
24272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24273 (exit $ac_status); }; }; then
24274 ac_cv_search_SQLAllocEnv
="-l$ac_lib"
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.
$ac_ext >&5
24281 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24284 LIBS
=$ac_func_search_save_LIBS
24286 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24287 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24288 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24289 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24293 wxUSE_ODBC
=builtin;
24294 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24295 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24300 if test "$wxUSE_ODBC" != "sys" ; then
24301 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24308 if test "$wxUSE_REGEX" = "builtin" ; then
24309 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24311 if test "$wxUSE_ZLIB" = "builtin" ; then
24312 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24316 if test "$wxUSE_OPENGL" = "yes"; then
24317 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24318 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24319 elif test "$wxUSE_MSW" = 1; then
24320 OPENGL_LIBS
="-lopengl32 -lglu32"
24322 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24323 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24324 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24325 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24329 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24331 # Is the header compilable?
24332 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24333 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24334 cat >conftest.
$ac_ext <<_ACEOF
24335 #line $LINENO "configure"
24338 cat confdefs.h
>>conftest.
$ac_ext
24339 cat >>conftest.
$ac_ext <<_ACEOF
24340 /* end confdefs.h. */
24341 $ac_includes_default
24344 rm -f conftest.
$ac_objext
24345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24346 (eval $ac_compile) 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } &&
24350 { ac_try
='test -s conftest.$ac_objext'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; }; then
24356 ac_header_compiler
=yes
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.
$ac_ext >&5
24361 ac_header_compiler
=no
24363 rm -f conftest.
$ac_objext conftest.
$ac_ext
24364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24365 echo "${ECHO_T}$ac_header_compiler" >&6
24367 # Is the header present?
24368 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24369 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24370 cat >conftest.
$ac_ext <<_ACEOF
24371 #line $LINENO "configure"
24374 cat confdefs.h
>>conftest.
$ac_ext
24375 cat >>conftest.
$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24382 grep -v '^ *+' conftest.er1
>conftest.err
24384 cat conftest.err
>&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } >/dev
/null
; then
24387 if test -s conftest.err
; then
24388 ac_cpp_err
=$ac_c_preproc_warn_flag
24395 if test -z "$ac_cpp_err"; then
24396 ac_header_preproc
=yes
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.
$ac_ext >&5
24401 ac_header_preproc
=no
24403 rm -f conftest.err conftest.
$ac_ext
24404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24405 echo "${ECHO_T}$ac_header_preproc" >&6
24407 # So? What about this header?
24408 case $ac_header_compiler:$ac_header_preproc in
24410 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24411 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24412 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24413 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24416 ## ------------------------------------ ##
24417 ## Report this to bug-autoconf@gnu.org. ##
24418 ## ------------------------------------ ##
24421 sed "s/^/$as_me: WARNING: /" >&2
24424 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24425 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24426 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24427 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24428 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24429 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24432 ## ------------------------------------ ##
24433 ## Report this to bug-autoconf@gnu.org. ##
24434 ## ------------------------------------ ##
24437 sed "s/^/$as_me: WARNING: /" >&2
24440 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24441 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24442 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24445 ac_cv_header_GL_gl_h
=$ac_header_preproc
24447 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24448 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24451 if test $ac_cv_header_GL_gl_h = yes; then
24455 echo "$as_me:$LINENO: checking for -lGL" >&5
24456 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24459 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24461 for ac_extension
in a so sl dylib
; do
24462 if test -f "$ac_dir/libGL.$ac_extension"; then
24463 ac_find_libraries
=$ac_dir
24469 if test "$ac_find_libraries" != "" ; then
24471 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24473 if test $result = 0; then
24476 ac_path_to_link
=" -L$ac_find_libraries"
24479 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24480 LDFLAGS_GL
="$ac_path_to_link"
24485 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24487 for ac_extension
in a so sl dylib
; do
24488 if test -f "$ac_dir/libGLU.$ac_extension"; then
24489 ac_find_libraries
=$ac_dir
24495 if test "$ac_find_libraries" != "" ; then
24497 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24499 if test $result = 0; then
24502 ac_path_to_link
=" -L$ac_find_libraries"
24505 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24506 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24507 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24511 OPENGL_LIBS
="-lGL -lGLU"
24512 echo "$as_me:$LINENO: result: yes" >&5
24513 echo "${ECHO_T}yes" >&6
24517 if "$found_gl" != 1; then
24518 echo "$as_me:$LINENO: result: no" >&5
24519 echo "${ECHO_T}no" >&6
24520 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24521 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24524 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24526 for ac_extension
in a so sl dylib
; do
24527 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24528 ac_find_libraries
=$ac_dir
24534 if test "$ac_find_libraries" != "" ; then
24536 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24538 if test $result = 0; then
24541 ac_path_to_link
=" -L$ac_find_libraries"
24544 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24545 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24546 echo "$as_me:$LINENO: result: yes" >&5
24547 echo "${ECHO_T}yes" >&6
24549 echo "$as_me:$LINENO: result: no" >&5
24550 echo "${ECHO_T}no" >&6
24558 if test "x$OPENGL_LIBS" = "x"; then
24559 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24560 echo "$as_me: error: OpenGL libraries not available" >&2;}
24561 { (exit 1); exit 1; }; }
24565 if test "$wxUSE_OPENGL" = "yes"; then
24566 cat >>confdefs.h
<<\_ACEOF
24567 #define wxUSE_OPENGL 1
24570 cat >>confdefs.h
<<\_ACEOF
24571 #define wxUSE_GLCANVAS 1
24574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
24578 if test -z "$TOOLKIT_VPATH" ; then
24579 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24582 if test -n "$TOOLKIT" ; then
24583 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24587 lib_unicode_suffix
=
24588 if test "$wxUSE_UNICODE" = "yes"; then
24589 lib_unicode_suffix
=u
24595 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24600 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24602 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24603 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24605 if test "$cross_compiling" = "yes"; then
24606 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24607 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24610 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24611 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24612 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24614 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24615 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24617 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24618 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24619 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24620 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24623 *-*-cygwin* | *-*-mingw32* )
24627 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24628 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24629 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24630 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
24631 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24633 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24634 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24640 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24641 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24643 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24644 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24645 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24646 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24648 if test "$wxUSE_MAC" = 1; then
24649 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24650 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24655 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
24656 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
24658 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
24659 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
24661 if test "$wxUSE_OPENGL" = "yes"; then
24662 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24663 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24668 if test "$wxUSE_SHARED" = "yes"; then
24670 *-pc-os2_emx | *-pc-os2-emx | \
24673 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24674 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24680 if test "$wxUSE_SHARED" = "yes"; then
24683 if test "$wxUSE_OPENGL" = "yes"; then
24684 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24685 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24687 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
24688 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24691 if test "$GCC" = "yes"; then
24697 found_versioning
=no
24700 if test $found_versioning = no
; then
24701 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24703 if test "${wx_cv_version_script+set}" = set; then
24704 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 echo "VER_1 { *; };" >conftest.sym
24708 echo "int main() { return 0; }" >conftest.cpp
24711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24714 (eval $ac_try) 2>&5
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); }; } ; then
24718 if test -s conftest.stderr
; then
24719 wx_cv_version_script
=no
24721 wx_cv_version_script
=yes
24724 wx_cv_version_script
=no
24726 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24729 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24730 echo "${ECHO_T}$wx_cv_version_script" >&6
24731 if test $wx_cv_version_script = yes ; then
24732 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
24737 SHARED_LD
="${CXX} -shared -o"
24741 if test "$GCC" = "yes"; then
24742 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
24744 LDFLAGS
="$LDFLAGS -L/usr/lib"
24746 SHARED_LD
="${CXX} -b -o"
24750 if test "$wxUSE_OPENGL" = "yes"; then
24751 WX_ALL_INSTALLED
="preinstall_gl"
24752 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24754 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24758 *-*-linux* | *-*-gnu* )
24759 if test "$GCC" != "yes"; then
24760 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24761 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24762 if test "${wx_cv_prog_icc+set}" = set; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 cat >conftest.
$ac_ext <<_ACEOF
24767 #line $LINENO "configure"
24770 cat confdefs.h
>>conftest.
$ac_ext
24771 cat >>conftest.
$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24778 #ifndef __INTEL_COMPILER
24786 rm -f conftest.
$ac_objext
24787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24788 (eval $ac_compile) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); } &&
24792 { ac_try
='test -s conftest.$ac_objext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.
$ac_ext >&5
24806 rm -f conftest.
$ac_objext conftest.
$ac_ext
24809 echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24810 echo "${ECHO_T}$wx_cv_prog_icc" >&6
24811 if test "$wx_cv_prog_icc" = "yes"; then
24816 if test "$wxUSE_SONAME" = "yes" ; then
24817 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
24818 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
24819 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
24821 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24825 if test "$GCC" = yes ; then
24826 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
24828 saveLdflags
="$LDFLAGS"
24829 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
24830 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24831 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24832 cat >conftest.
$ac_ext <<_ACEOF
24833 #line $LINENO "configure"
24836 cat confdefs.h
>>conftest.
$ac_ext
24837 cat >>conftest.
$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24848 rm -f conftest.
$ac_objext conftest
$ac_exeext
24849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24850 (eval $ac_link) 2>&5
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } &&
24854 { ac_try
='test -s conftest$ac_exeext'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; }; then
24861 echo "$as_me:$LINENO: result: yes" >&5
24862 echo "${ECHO_T}yes" >&6
24863 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24866 echo "$as_me: failed program was:" >&5
24867 sed 's/^/| /' conftest.
$ac_ext >&5
24870 echo "$as_me:$LINENO: result: no" >&5
24871 echo "${ECHO_T}no" >&6
24872 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24873 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24874 LDFLAGS
="$saveLdflags -Wl,-R,/"
24875 cat >conftest.
$ac_ext <<_ACEOF
24876 #line $LINENO "configure"
24879 cat confdefs.h
>>conftest.
$ac_ext
24880 cat >>conftest.
$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24891 rm -f conftest.
$ac_objext conftest
$ac_exeext
24892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24893 (eval $ac_link) 2>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } &&
24897 { ac_try
='test -s conftest$ac_exeext'
24898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24899 (eval $ac_try) 2>&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); }; }; then
24904 echo "$as_me:$LINENO: result: yes" >&5
24905 echo "${ECHO_T}yes" >&6
24906 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.
$ac_ext >&5
24912 echo "$as_me:$LINENO: result: no" >&5
24913 echo "${ECHO_T}no" >&6
24916 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24919 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24920 LDFLAGS
="$saveLdflags"
24922 SHARED_LD
="${CXX} -G -o"
24924 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
24925 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
24926 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
24931 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
24932 CFLAGS
="$CFLAGS -fno-common"
24933 CXXFLAGS
="$CXXFLAGS -fno-common"
24934 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
24935 PIC_FLAG
="-dynamic -fPIC"
24936 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
24937 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
24941 if test "$GCC" != "yes"; then
24942 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
24943 set dummy makeC
++SharedLib
; ac_word
=$2
24944 echo "$as_me:$LINENO: checking for $ac_word" >&5
24945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24946 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24949 if test -n "$AIX_CXX_LD"; then
24950 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
24952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24953 for as_dir
in $PATH
24956 test -z "$as_dir" && as_dir
=.
24957 for ac_exec_ext
in '' $ac_executable_extensions; do
24958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24959 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
24960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24966 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
24969 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
24970 if test -n "$AIX_CXX_LD"; then
24971 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
24972 echo "${ECHO_T}$AIX_CXX_LD" >&6
24974 echo "$as_me:$LINENO: result: no" >&5
24975 echo "${ECHO_T}no" >&6
24979 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
24983 *-*-cygwin* | *-*-mingw32* )
24984 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
24986 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
24987 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
24989 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
24991 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24992 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
24994 if test "$wxUSE_OPENGL" = "yes"; then
24995 LIBS
="${LIBS} ${OPENGL_LIBS}"
25000 SHARED_LD
="${LD} -shared -o"
25004 if test "$GCC" != "yes"; then
25009 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25017 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25018 echo "$as_me: error: unknown system type $host." >&2;}
25019 { (exit 1); exit 1; }; }
25022 if test "x$WX_TARGET_LIBRARY" = "x"; then
25023 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25024 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25027 WX_TARGET_LIBRARY_TYPE
="so"
25028 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25031 if test "$wxUSE_SHARED" = "no"; then
25033 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25034 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25037 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25038 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25041 if test "$wxUSE_OPENGL" = "yes"; then
25042 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25043 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25045 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25048 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25049 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25051 WX_TARGET_LIBRARY_TYPE
="a"
25052 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25062 if test "$wxUSE_MAC" = 1; then
25063 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25064 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25065 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25066 # Extract the first word of "Rez", so it can be a program name with args.
25067 set dummy Rez
; ac_word
=$2
25068 echo "$as_me:$LINENO: checking for $ac_word" >&5
25069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25070 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25071 echo $ECHO_N "(cached) $ECHO_C" >&6
25073 if test -n "$RESCOMP"; then
25074 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25077 for as_dir
in $PATH
25080 test -z "$as_dir" && as_dir
=.
25081 for ac_exec_ext
in '' $ac_executable_extensions; do
25082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25083 ac_cv_prog_RESCOMP
="Rez"
25084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25090 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25093 RESCOMP
=$ac_cv_prog_RESCOMP
25094 if test -n "$RESCOMP"; then
25095 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25096 echo "${ECHO_T}$RESCOMP" >&6
25098 echo "$as_me:$LINENO: result: no" >&5
25099 echo "${ECHO_T}no" >&6
25102 # Extract the first word of "DeRez", so it can be a program name with args.
25103 set dummy DeRez
; ac_word
=$2
25104 echo "$as_me:$LINENO: checking for $ac_word" >&5
25105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25106 if test "${ac_cv_prog_DEREZ+set}" = set; then
25107 echo $ECHO_N "(cached) $ECHO_C" >&6
25109 if test -n "$DEREZ"; then
25110 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25113 for as_dir
in $PATH
25116 test -z "$as_dir" && as_dir
=.
25117 for ac_exec_ext
in '' $ac_executable_extensions; do
25118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25119 ac_cv_prog_DEREZ
="DeRez"
25120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25126 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25129 DEREZ
=$ac_cv_prog_DEREZ
25130 if test -n "$DEREZ"; then
25131 echo "$as_me:$LINENO: result: $DEREZ" >&5
25132 echo "${ECHO_T}$DEREZ" >&6
25134 echo "$as_me:$LINENO: result: no" >&5
25135 echo "${ECHO_T}no" >&6
25138 # Extract the first word of "SetFile", so it can be a program name with args.
25139 set dummy SetFile
; ac_word
=$2
25140 echo "$as_me:$LINENO: checking for $ac_word" >&5
25141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25142 if test "${ac_cv_prog_SETFILE+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 if test -n "$SETFILE"; then
25146 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25149 for as_dir
in $PATH
25152 test -z "$as_dir" && as_dir
=.
25153 for ac_exec_ext
in '' $ac_executable_extensions; do
25154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25155 ac_cv_prog_SETFILE
="SetFile"
25156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25162 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25165 SETFILE
=$ac_cv_prog_SETFILE
25166 if test -n "$SETFILE"; then
25167 echo "$as_me:$LINENO: result: $SETFILE" >&5
25168 echo "${ECHO_T}$SETFILE" >&6
25170 echo "$as_me:$LINENO: result: no" >&5
25171 echo "${ECHO_T}no" >&6
25174 MACOSX_BUNDLE
="bundle"
25175 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25176 MACSETFILE
="\$(SETFILE)"
25177 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25178 elif test "$wxUSE_COCOA" = 1; then
25179 # Extract the first word of "Rez", so it can be a program name with args.
25180 set dummy Rez
; ac_word
=$2
25181 echo "$as_me:$LINENO: checking for $ac_word" >&5
25182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25183 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 if test -n "$RESCOMP"; then
25187 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25190 for as_dir
in $PATH
25193 test -z "$as_dir" && as_dir
=.
25194 for ac_exec_ext
in '' $ac_executable_extensions; do
25195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25196 ac_cv_prog_RESCOMP
="Rez"
25197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25203 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25206 RESCOMP
=$ac_cv_prog_RESCOMP
25207 if test -n "$RESCOMP"; then
25208 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25209 echo "${ECHO_T}$RESCOMP" >&6
25211 echo "$as_me:$LINENO: result: no" >&5
25212 echo "${ECHO_T}no" >&6
25215 # Extract the first word of "DeRez", so it can be a program name with args.
25216 set dummy DeRez
; ac_word
=$2
25217 echo "$as_me:$LINENO: checking for $ac_word" >&5
25218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25219 if test "${ac_cv_prog_DEREZ+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 if test -n "$DEREZ"; then
25223 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25226 for as_dir
in $PATH
25229 test -z "$as_dir" && as_dir
=.
25230 for ac_exec_ext
in '' $ac_executable_extensions; do
25231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25232 ac_cv_prog_DEREZ
="DeRez"
25233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25239 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25242 DEREZ
=$ac_cv_prog_DEREZ
25243 if test -n "$DEREZ"; then
25244 echo "$as_me:$LINENO: result: $DEREZ" >&5
25245 echo "${ECHO_T}$DEREZ" >&6
25247 echo "$as_me:$LINENO: result: no" >&5
25248 echo "${ECHO_T}no" >&6
25251 # Extract the first word of "SetFile", so it can be a program name with args.
25252 set dummy SetFile
; ac_word
=$2
25253 echo "$as_me:$LINENO: checking for $ac_word" >&5
25254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25255 if test "${ac_cv_prog_SETFILE+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25258 if test -n "$SETFILE"; then
25259 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25262 for as_dir
in $PATH
25265 test -z "$as_dir" && as_dir
=.
25266 for ac_exec_ext
in '' $ac_executable_extensions; do
25267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25268 ac_cv_prog_SETFILE
="SetFile"
25269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25275 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25278 SETFILE
=$ac_cv_prog_SETFILE
25279 if test -n "$SETFILE"; then
25280 echo "$as_me:$LINENO: result: $SETFILE" >&5
25281 echo "${ECHO_T}$SETFILE" >&6
25283 echo "$as_me:$LINENO: result: no" >&5
25284 echo "${ECHO_T}no" >&6
25287 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25288 MACSETFILE
="\$(SETFILE)"
25289 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25291 if test "$wxUSE_PM" = 1; then
25292 MACRESCOMP
="emxbind -ep"
25297 echo "$as_me:$LINENO: checking for mode_t" >&5
25298 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25299 if test "${ac_cv_type_mode_t+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 cat >conftest.
$ac_ext <<_ACEOF
25303 #line $LINENO "configure"
25306 cat confdefs.h
>>conftest.
$ac_ext
25307 cat >>conftest.
$ac_ext <<_ACEOF
25308 /* end confdefs.h. */
25309 $ac_includes_default
25315 if (sizeof (mode_t))
25321 rm -f conftest.
$ac_objext
25322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25323 (eval $ac_compile) 2>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try
='test -s conftest.$ac_objext'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; }; then
25333 ac_cv_type_mode_t
=yes
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.
$ac_ext >&5
25338 ac_cv_type_mode_t
=no
25340 rm -f conftest.
$ac_objext conftest.
$ac_ext
25342 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25343 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25344 if test $ac_cv_type_mode_t = yes; then
25348 cat >>confdefs.h
<<_ACEOF
25354 echo "$as_me:$LINENO: checking for off_t" >&5
25355 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25356 if test "${ac_cv_type_off_t+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 cat >conftest.
$ac_ext <<_ACEOF
25360 #line $LINENO "configure"
25363 cat confdefs.h
>>conftest.
$ac_ext
25364 cat >>conftest.
$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 $ac_includes_default
25372 if (sizeof (off_t))
25378 rm -f conftest.
$ac_objext
25379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25380 (eval $ac_compile) 2>&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); } &&
25384 { ac_try
='test -s conftest.$ac_objext'
25385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25386 (eval $ac_try) 2>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); }; }; then
25390 ac_cv_type_off_t
=yes
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.
$ac_ext >&5
25395 ac_cv_type_off_t
=no
25397 rm -f conftest.
$ac_objext conftest.
$ac_ext
25399 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25400 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25401 if test $ac_cv_type_off_t = yes; then
25405 cat >>confdefs.h
<<_ACEOF
25411 echo "$as_me:$LINENO: checking for pid_t" >&5
25412 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25413 if test "${ac_cv_type_pid_t+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25416 cat >conftest.
$ac_ext <<_ACEOF
25417 #line $LINENO "configure"
25420 cat confdefs.h
>>conftest.
$ac_ext
25421 cat >>conftest.
$ac_ext <<_ACEOF
25422 /* end confdefs.h. */
25423 $ac_includes_default
25429 if (sizeof (pid_t))
25435 rm -f conftest.
$ac_objext
25436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25437 (eval $ac_compile) 2>&5
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); } &&
25441 { ac_try
='test -s conftest.$ac_objext'
25442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25443 (eval $ac_try) 2>&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); }; }; then
25447 ac_cv_type_pid_t
=yes
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.
$ac_ext >&5
25452 ac_cv_type_pid_t
=no
25454 rm -f conftest.
$ac_objext conftest.
$ac_ext
25456 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25457 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25458 if test $ac_cv_type_pid_t = yes; then
25462 cat >>confdefs.h
<<_ACEOF
25468 echo "$as_me:$LINENO: checking for size_t" >&5
25469 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25470 if test "${ac_cv_type_size_t+set}" = set; then
25471 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 cat >conftest.
$ac_ext <<_ACEOF
25474 #line $LINENO "configure"
25477 cat confdefs.h
>>conftest.
$ac_ext
25478 cat >>conftest.
$ac_ext <<_ACEOF
25479 /* end confdefs.h. */
25480 $ac_includes_default
25486 if (sizeof (size_t))
25492 rm -f conftest.
$ac_objext
25493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25494 (eval $ac_compile) 2>&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } &&
25498 { ac_try
='test -s conftest.$ac_objext'
25499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25500 (eval $ac_try) 2>&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); }; }; then
25504 ac_cv_type_size_t
=yes
25506 echo "$as_me: failed program was:" >&5
25507 sed 's/^/| /' conftest.
$ac_ext >&5
25509 ac_cv_type_size_t
=no
25511 rm -f conftest.
$ac_objext conftest.
$ac_ext
25513 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25514 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25515 if test $ac_cv_type_size_t = yes; then
25519 cat >>confdefs.h
<<_ACEOF
25520 #define size_t unsigned
25525 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25526 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25527 if test "${ac_cv_type_uid_t+set}" = set; then
25528 echo $ECHO_N "(cached) $ECHO_C" >&6
25530 cat >conftest.
$ac_ext <<_ACEOF
25531 #line $LINENO "configure"
25534 cat confdefs.h
>>conftest.
$ac_ext
25535 cat >>conftest.
$ac_ext <<_ACEOF
25536 /* end confdefs.h. */
25537 #include <sys/types.h>
25540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25541 $EGREP "uid_t" >/dev
/null
2>&1; then
25542 ac_cv_type_uid_t
=yes
25544 ac_cv_type_uid_t
=no
25549 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25550 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25551 if test $ac_cv_type_uid_t = no
; then
25553 cat >>confdefs.h
<<\_ACEOF
25558 cat >>confdefs.h
<<\_ACEOF
25568 ac_cpp
='$CXXCPP $CPPFLAGS'
25569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25573 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25574 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25575 if test "${wx_cv_size_t_is_uint+set}" = set; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25579 cat >conftest.
$ac_ext <<_ACEOF
25580 #line $LINENO "configure"
25583 cat confdefs.h
>>conftest.
$ac_ext
25584 cat >>conftest.
$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 #include <stddef.h>
25593 struct Foo { void foo(size_t); void foo(unsigned int); };
25601 rm -f conftest.
$ac_objext
25602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25603 (eval $ac_compile) 2>&5
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606 (exit $ac_status); } &&
25607 { ac_try
='test -s conftest.$ac_objext'
25608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25609 (eval $ac_try) 2>&5
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); }; }; then
25613 wx_cv_size_t_is_uint
=no
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.
$ac_ext >&5
25618 wx_cv_size_t_is_uint
=yes
25621 rm -f conftest.
$ac_objext conftest.
$ac_ext
25625 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25626 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25628 if test "$wx_cv_size_t_is_uint" = "yes"; then
25629 cat >>confdefs.h
<<\_ACEOF
25630 #define wxSIZE_T_IS_UINT 1
25634 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25635 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25636 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 cat >conftest.
$ac_ext <<_ACEOF
25640 #line $LINENO "configure"
25643 cat confdefs.h
>>conftest.
$ac_ext
25644 cat >>conftest.
$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646 #include <stddef.h>
25653 struct Foo { void foo(size_t); void foo(unsigned long); };
25661 rm -f conftest.
$ac_objext
25662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25663 (eval $ac_compile) 2>&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } &&
25667 { ac_try
='test -s conftest.$ac_objext'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; }; then
25673 wx_cv_size_t_is_ulong
=no
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.
$ac_ext >&5
25678 wx_cv_size_t_is_ulong
=yes
25681 rm -f conftest.
$ac_objext conftest.
$ac_ext
25684 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25685 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25687 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25688 cat >>confdefs.h
<<\_ACEOF
25689 #define wxSIZE_T_IS_ULONG 1
25696 ac_cpp
='$CPP $CPPFLAGS'
25697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25703 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25704 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25705 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25709 cat >conftest.
$ac_ext <<_ACEOF
25710 #line $LINENO "configure"
25713 cat confdefs.h
>>conftest.
$ac_ext
25714 cat >>conftest.
$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25729 rm -f conftest.
$ac_objext
25730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25731 (eval $ac_compile) 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } &&
25735 { ac_try
='test -s conftest.$ac_objext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25742 wx_cv_struct_pw_gecos
=yes
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.
$ac_ext >&5
25749 wx_cv_struct_pw_gecos
=no
25753 rm -f conftest.
$ac_objext conftest.
$ac_ext
25757 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25758 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25760 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25761 cat >>confdefs.h
<<\_ACEOF
25762 #define HAVE_PW_GECOS 1
25768 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25769 cat >>confdefs.h
<<\_ACEOF
25770 #define wxUSE_WCHAR_T 1
25777 for ac_func
in wcslen
25779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25780 echo "$as_me:$LINENO: checking for $ac_func" >&5
25781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25782 if eval "test \"\${$as_ac_var+set}\" = set"; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 cat >conftest.
$ac_ext <<_ACEOF
25786 #line $LINENO "configure"
25789 cat confdefs.h
>>conftest.
$ac_ext
25790 cat >>conftest.
$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792 /* System header to define __stub macros and hopefully few prototypes,
25793 which can conflict with char $ac_func (); below.
25794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25795 <limits.h> exists even on freestanding compilers. */
25797 # include <limits.h>
25799 # include <assert.h>
25801 /* Override any gcc2 internal prototype to avoid an error. */
25806 /* We use char because int might match the return type of a gcc2
25807 builtin and then its argument prototype would still apply. */
25809 /* The GNU C library defines this for functions which it implements
25810 to always fail with ENOSYS. Some functions are actually named
25811 something starting with __ and the normal name is an alias. */
25812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25815 char (*f) () = $ac_func;
25824 return f != $ac_func;
25829 rm -f conftest.
$ac_objext conftest
$ac_exeext
25830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25831 (eval $ac_link) 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); } &&
25835 { ac_try
='test -s conftest$ac_exeext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
25841 eval "$as_ac_var=yes"
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.
$ac_ext >&5
25846 eval "$as_ac_var=no"
25848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25852 if test `eval echo '${'$as_ac_var'}'` = yes; then
25853 cat >>confdefs.h
<<_ACEOF
25854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25861 if test "$WCSLEN_FOUND" = 0; then
25862 if test "$TOOLKIT" = "MSW"; then
25863 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25864 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25865 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25866 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 ac_check_lib_save_LIBS
=$LIBS
25869 LIBS
="-lmsvcrt $LIBS"
25870 cat >conftest.
$ac_ext <<_ACEOF
25871 #line $LINENO "configure"
25874 cat confdefs.h
>>conftest.
$ac_ext
25875 cat >>conftest.
$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25878 /* Override any gcc2 internal prototype to avoid an error. */
25882 /* We use char because int might match the return type of a gcc2
25883 builtin and then its argument prototype would still apply. */
25893 rm -f conftest.
$ac_objext conftest
$ac_exeext
25894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25895 (eval $ac_link) 2>&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try
='test -s conftest$ac_exeext'
25900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25901 (eval $ac_try) 2>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); }; }; then
25905 ac_cv_lib_msvcrt_wcslen
=yes
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.
$ac_ext >&5
25910 ac_cv_lib_msvcrt_wcslen
=no
25912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25913 LIBS
=$ac_check_lib_save_LIBS
25915 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25916 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25917 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25922 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25923 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25924 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25927 ac_check_lib_save_LIBS
=$LIBS
25929 cat >conftest.
$ac_ext <<_ACEOF
25930 #line $LINENO "configure"
25933 cat confdefs.h
>>conftest.
$ac_ext
25934 cat >>conftest.
$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25937 /* Override any gcc2 internal prototype to avoid an error. */
25941 /* We use char because int might match the return type of a gcc2
25942 builtin and then its argument prototype would still apply. */
25952 rm -f conftest.
$ac_objext conftest
$ac_exeext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25954 (eval $ac_link) 2>&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } &&
25958 { ac_try
='test -s conftest$ac_exeext'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; }; then
25964 ac_cv_lib_w_wcslen
=yes
25966 echo "$as_me: failed program was:" >&5
25967 sed 's/^/| /' conftest.
$ac_ext >&5
25969 ac_cv_lib_w_wcslen
=no
25971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25972 LIBS
=$ac_check_lib_save_LIBS
25974 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25975 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25976 if test $ac_cv_lib_w_wcslen = yes; then
25986 if test "$WCSLEN_FOUND" = 1; then
25987 cat >>confdefs.h
<<\_ACEOF
25988 #define HAVE_WCSLEN 1
25994 for ac_func
in wcsrtombs
25996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25997 echo "$as_me:$LINENO: checking for $ac_func" >&5
25998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25999 if eval "test \"\${$as_ac_var+set}\" = set"; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 cat >conftest.
$ac_ext <<_ACEOF
26003 #line $LINENO "configure"
26006 cat confdefs.h
>>conftest.
$ac_ext
26007 cat >>conftest.
$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009 /* System header to define __stub macros and hopefully few prototypes,
26010 which can conflict with char $ac_func (); below.
26011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26012 <limits.h> exists even on freestanding compilers. */
26014 # include <limits.h>
26016 # include <assert.h>
26018 /* Override any gcc2 internal prototype to avoid an error. */
26023 /* We use char because int might match the return type of a gcc2
26024 builtin and then its argument prototype would still apply. */
26026 /* The GNU C library defines this for functions which it implements
26027 to always fail with ENOSYS. Some functions are actually named
26028 something starting with __ and the normal name is an alias. */
26029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26032 char (*f) () = $ac_func;
26041 return f != $ac_func;
26046 rm -f conftest.
$ac_objext conftest
$ac_exeext
26047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26048 (eval $ac_link) 2>&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); } &&
26052 { ac_try
='test -s conftest$ac_exeext'
26053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26054 (eval $ac_try) 2>&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); }; }; then
26058 eval "$as_ac_var=yes"
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.
$ac_ext >&5
26063 eval "$as_ac_var=no"
26065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26069 if test `eval echo '${'$as_ac_var'}'` = yes; then
26070 cat >>confdefs.h
<<_ACEOF
26071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26078 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26079 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26085 ac_cpp
='$CXXCPP $CPPFLAGS'
26086 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26092 for ac_func
in vsnprintf
26094 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26095 echo "$as_me:$LINENO: checking for $ac_func" >&5
26096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26097 if eval "test \"\${$as_ac_var+set}\" = set"; then
26098 echo $ECHO_N "(cached) $ECHO_C" >&6
26100 cat >conftest.
$ac_ext <<_ACEOF
26101 #line $LINENO "configure"
26104 cat confdefs.h
>>conftest.
$ac_ext
26105 cat >>conftest.
$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107 /* System header to define __stub macros and hopefully few prototypes,
26108 which can conflict with char $ac_func (); below.
26109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26110 <limits.h> exists even on freestanding compilers. */
26112 # include <limits.h>
26114 # include <assert.h>
26116 /* Override any gcc2 internal prototype to avoid an error. */
26121 /* We use char because int might match the return type of a gcc2
26122 builtin and then its argument prototype would still apply. */
26124 /* The GNU C library defines this for functions which it implements
26125 to always fail with ENOSYS. Some functions are actually named
26126 something starting with __ and the normal name is an alias. */
26127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26130 char (*f) () = $ac_func;
26139 return f != $ac_func;
26144 rm -f conftest.
$ac_objext conftest
$ac_exeext
26145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26146 (eval $ac_link) 2>&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } &&
26150 { ac_try
='test -s conftest$ac_exeext'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; }; then
26156 eval "$as_ac_var=yes"
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.
$ac_ext >&5
26161 eval "$as_ac_var=no"
26163 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26167 if test `eval echo '${'$as_ac_var'}'` = yes; then
26168 cat >>confdefs.h
<<_ACEOF
26169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26176 if test "$ac_cv_func_vsnprintf" = "yes"; then
26177 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26178 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26179 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26180 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 cat >conftest.
$ac_ext <<_ACEOF
26184 #line $LINENO "configure"
26187 cat confdefs.h
>>conftest.
$ac_ext
26188 cat >>conftest.
$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26192 #include <stdarg.h>
26200 vsnprintf(buf, 10u, "%s", ap);
26206 rm -f conftest.
$ac_objext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26208 (eval $ac_compile) 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try
='test -s conftest.$ac_objext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 wx_cv_func_vsnprintf_decl
=yes
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.
$ac_ext >&5
26223 wx_cv_func_vsnprintf_decl
=no
26226 rm -f conftest.
$ac_objext conftest.
$ac_ext
26230 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26231 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26233 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26234 cat >>confdefs.h
<<\_ACEOF
26235 #define HAVE_VSNPRINTF_DECL 1
26241 if test "$wxUSE_UNICODE" = yes; then
26245 for ac_func
in fputwc wprintf vswprintf
26247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26248 echo "$as_me:$LINENO: checking for $ac_func" >&5
26249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26250 if eval "test \"\${$as_ac_var+set}\" = set"; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 cat >conftest.
$ac_ext <<_ACEOF
26254 #line $LINENO "configure"
26257 cat confdefs.h
>>conftest.
$ac_ext
26258 cat >>conftest.
$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26260 /* System header to define __stub macros and hopefully few prototypes,
26261 which can conflict with char $ac_func (); below.
26262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26263 <limits.h> exists even on freestanding compilers. */
26265 # include <limits.h>
26267 # include <assert.h>
26269 /* Override any gcc2 internal prototype to avoid an error. */
26274 /* We use char because int might match the return type of a gcc2
26275 builtin and then its argument prototype would still apply. */
26277 /* The GNU C library defines this for functions which it implements
26278 to always fail with ENOSYS. Some functions are actually named
26279 something starting with __ and the normal name is an alias. */
26280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26283 char (*f) () = $ac_func;
26292 return f != $ac_func;
26297 rm -f conftest.
$ac_objext conftest
$ac_exeext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26299 (eval $ac_link) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } &&
26303 { ac_try
='test -s conftest$ac_exeext'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; }; then
26309 eval "$as_ac_var=yes"
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26314 eval "$as_ac_var=no"
26316 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26320 if test `eval echo '${'$as_ac_var'}'` = yes; then
26321 cat >>confdefs.h
<<_ACEOF
26322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26329 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26330 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26331 cat >conftest.
$ac_ext <<_ACEOF
26332 #line $LINENO "configure"
26335 cat confdefs.h
>>conftest.
$ac_ext
26336 cat >>conftest.
$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26347 rm -f conftest.
$ac_objext
26348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26349 (eval $ac_compile) 2>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try
='test -s conftest.$ac_objext'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; }; then
26359 echo "$as_me:$LINENO: result: yes" >&5
26360 echo "${ECHO_T}yes" >&6
26361 cat >>confdefs.h
<<\_ACEOF
26362 #define HAVE__VSNWPRINTF 1
26366 echo "$as_me: failed program was:" >&5
26367 sed 's/^/| /' conftest.
$ac_ext >&5
26369 echo "$as_me:$LINENO: result: no" >&5
26370 echo "${ECHO_T}no" >&6
26372 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26376 ac_cpp
='$CPP $CPPFLAGS'
26377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26384 if test "$TOOLKIT" != "MSW"; then
26390 ac_cpp
='$CXXCPP $CPPFLAGS'
26391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26398 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26399 if test "${with_libiconv_prefix+set}" = set; then
26400 withval
="$with_libiconv_prefix"
26402 for dir
in `echo "$withval" | tr : ' '`; do
26403 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26404 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26409 echo "$as_me:$LINENO: checking for iconv" >&5
26410 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26411 if test "${am_cv_func_iconv+set}" = set; then
26412 echo $ECHO_N "(cached) $ECHO_C" >&6
26415 am_cv_func_iconv
="no, consider installing GNU libiconv"
26417 cat >conftest.
$ac_ext <<_ACEOF
26418 #line $LINENO "configure"
26421 cat confdefs.h
>>conftest.
$ac_ext
26422 cat >>conftest.
$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424 #include <stdlib.h>
26429 iconv_t cd = iconv_open("","");
26430 iconv(cd,NULL,NULL,NULL,NULL);
26436 rm -f conftest.
$ac_objext conftest
$ac_exeext
26437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26438 (eval $ac_link) 2>&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try
='test -s conftest$ac_exeext'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; }; then
26448 am_cv_func_iconv
=yes
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.
$ac_ext >&5
26454 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26455 if test "$am_cv_func_iconv" != yes; then
26456 am_save_LIBS
="$LIBS"
26457 LIBS
="$LIBS -liconv"
26458 cat >conftest.
$ac_ext <<_ACEOF
26459 #line $LINENO "configure"
26462 cat confdefs.h
>>conftest.
$ac_ext
26463 cat >>conftest.
$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26465 #include <stdlib.h>
26470 iconv_t cd = iconv_open("","");
26471 iconv(cd,NULL,NULL,NULL,NULL);
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>&5
26481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 (exit $ac_status); } &&
26483 { ac_try
='test -s conftest$ac_exeext'
26484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26485 (eval $ac_try) 2>&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); }; }; then
26489 am_cv_lib_iconv
=yes
26490 am_cv_func_iconv
=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26496 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26497 LIBS
="$am_save_LIBS"
26501 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26502 echo "${ECHO_T}$am_cv_func_iconv" >&6
26503 if test "$am_cv_func_iconv" = yes; then
26505 cat >>confdefs.h
<<\_ACEOF
26506 #define HAVE_ICONV 1
26509 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26510 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26511 if test "${wx_cv_func_iconv_const+set}" = set; then
26512 echo $ECHO_N "(cached) $ECHO_C" >&6
26514 cat >conftest.
$ac_ext <<_ACEOF
26515 #line $LINENO "configure"
26518 cat confdefs.h
>>conftest.
$ac_ext
26519 cat >>conftest.
$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26522 #include <stdlib.h>
26528 #if defined(__STDC__) || defined(__cplusplus)
26529 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26542 rm -f conftest.
$ac_objext
26543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26544 (eval $ac_compile) 2>&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } &&
26548 { ac_try
='test -s conftest.$ac_objext'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; }; then
26554 wx_cv_func_iconv_const
="no"
26556 echo "$as_me: failed program was:" >&5
26557 sed 's/^/| /' conftest.
$ac_ext >&5
26559 wx_cv_func_iconv_const
="yes"
26562 rm -f conftest.
$ac_objext conftest.
$ac_ext
26565 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26566 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26569 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26570 iconv_const
="const"
26574 cat >>confdefs.h
<<_ACEOF
26575 #define ICONV_CONST $iconv_const
26580 if test "$am_cv_lib_iconv" = yes; then
26585 LIBS
="$LIBICONV $LIBS"
26587 ac_cpp
='$CPP $CPPFLAGS'
26588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26593 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26595 for ac_func
in sigaction
26597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26598 echo "$as_me:$LINENO: checking for $ac_func" >&5
26599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26600 if eval "test \"\${$as_ac_var+set}\" = set"; then
26601 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 cat >conftest.
$ac_ext <<_ACEOF
26604 #line $LINENO "configure"
26607 cat confdefs.h
>>conftest.
$ac_ext
26608 cat >>conftest.
$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610 /* System header to define __stub macros and hopefully few prototypes,
26611 which can conflict with char $ac_func (); below.
26612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26613 <limits.h> exists even on freestanding compilers. */
26615 # include <limits.h>
26617 # include <assert.h>
26619 /* Override any gcc2 internal prototype to avoid an error. */
26624 /* We use char because int might match the return type of a gcc2
26625 builtin and then its argument prototype would still apply. */
26627 /* The GNU C library defines this for functions which it implements
26628 to always fail with ENOSYS. Some functions are actually named
26629 something starting with __ and the normal name is an alias. */
26630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26633 char (*f) () = $ac_func;
26642 return f != $ac_func;
26647 rm -f conftest.
$ac_objext conftest
$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); } &&
26653 { ac_try
='test -s conftest$ac_exeext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 eval "$as_ac_var=yes"
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.
$ac_ext >&5
26664 eval "$as_ac_var=no"
26666 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26670 if test `eval echo '${'$as_ac_var'}'` = yes; then
26671 cat >>confdefs.h
<<_ACEOF
26672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26679 if test "$ac_cv_func_sigaction" = "no"; then
26680 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26681 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26682 wxUSE_ON_FATAL_EXCEPTION
=no
26685 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26689 ac_cpp
='$CXXCPP $CPPFLAGS'
26690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26695 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26696 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26697 if test "${wx_cv_type_sa_handler+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 cat >conftest.
$ac_ext <<_ACEOF
26702 #line $LINENO "configure"
26705 cat confdefs.h
>>conftest.
$ac_ext
26706 cat >>conftest.
$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26708 #include <signal.h>
26713 extern void testSigHandler(int);
26715 struct sigaction sa;
26716 sa.sa_handler = testSigHandler;
26722 rm -f conftest.
$ac_objext
26723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26724 (eval $ac_compile) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } &&
26728 { ac_try
='test -s conftest.$ac_objext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26735 wx_cv_type_sa_handler
=int
26738 echo "$as_me: failed program was:" >&5
26739 sed 's/^/| /' conftest.
$ac_ext >&5
26742 wx_cv_type_sa_handler
=void
26745 rm -f conftest.
$ac_objext conftest.
$ac_ext
26748 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26749 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26752 ac_cpp
='$CPP $CPPFLAGS'
26753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26758 cat >>confdefs.h
<<_ACEOF
26759 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26767 for ac_func
in mkstemp mktemp
26769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26770 echo "$as_me:$LINENO: checking for $ac_func" >&5
26771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26772 if eval "test \"\${$as_ac_var+set}\" = set"; then
26773 echo $ECHO_N "(cached) $ECHO_C" >&6
26775 cat >conftest.
$ac_ext <<_ACEOF
26776 #line $LINENO "configure"
26779 cat confdefs.h
>>conftest.
$ac_ext
26780 cat >>conftest.
$ac_ext <<_ACEOF
26781 /* end confdefs.h. */
26782 /* System header to define __stub macros and hopefully few prototypes,
26783 which can conflict with char $ac_func (); below.
26784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26785 <limits.h> exists even on freestanding compilers. */
26787 # include <limits.h>
26789 # include <assert.h>
26791 /* Override any gcc2 internal prototype to avoid an error. */
26796 /* We use char because int might match the return type of a gcc2
26797 builtin and then its argument prototype would still apply. */
26799 /* The GNU C library defines this for functions which it implements
26800 to always fail with ENOSYS. Some functions are actually named
26801 something starting with __ and the normal name is an alias. */
26802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26805 char (*f) () = $ac_func;
26814 return f != $ac_func;
26819 rm -f conftest.
$ac_objext conftest
$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821 (eval $ac_link) 2>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); } &&
26825 { ac_try
='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 eval "$as_ac_var=yes"
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.
$ac_ext >&5
26836 eval "$as_ac_var=no"
26838 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26842 if test `eval echo '${'$as_ac_var'}'` = yes; then
26843 cat >>confdefs.h
<<_ACEOF
26844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26851 echo "$as_me:$LINENO: checking for statfs" >&5
26852 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26853 if test "${wx_cv_func_statfs+set}" = set; then
26854 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 cat >conftest.
$ac_ext <<_ACEOF
26857 #line $LINENO "configure"
26860 cat confdefs.h
>>conftest.
$ac_ext
26861 cat >>conftest.
$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26864 #if defined(__BSD__)
26865 #include <sys/param.h>
26866 #include <sys/mount.h>
26868 #include <sys/vfs.h>
26886 rm -f conftest.
$ac_objext
26887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26888 (eval $ac_compile) 2>&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } &&
26892 { ac_try
='test -s conftest.$ac_objext'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; }; then
26899 wx_cv_func_statfs
=yes
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26906 wx_cv_func_statfs
=no
26910 rm -f conftest.
$ac_objext conftest.
$ac_ext
26913 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26914 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26916 if test "$wx_cv_func_statfs" = "yes"; then
26917 wx_cv_type_statvfs_t
="struct statfs"
26918 cat >>confdefs.h
<<\_ACEOF
26919 #define HAVE_STATFS 1
26923 echo "$as_me:$LINENO: checking for statvfs" >&5
26924 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26925 if test "${wx_cv_func_statvfs+set}" = set; then
26926 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 cat >conftest.
$ac_ext <<_ACEOF
26929 #line $LINENO "configure"
26932 cat confdefs.h
>>conftest.
$ac_ext
26933 cat >>conftest.
$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26936 #include <stddef.h>
26937 #include <sys/statvfs.h>
26943 statvfs("/", NULL);
26949 rm -f conftest.
$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try
='test -s conftest.$ac_objext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 wx_cv_func_statvfs
=yes
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.
$ac_ext >&5
26966 wx_cv_func_statvfs
=no
26969 rm -f conftest.
$ac_objext conftest.
$ac_ext
26972 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26973 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26975 if test "$wx_cv_func_statvfs" = "yes"; then
26979 ac_cpp
='$CXXCPP $CPPFLAGS'
26980 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26981 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26982 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26985 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26986 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26987 if test "${wx_cv_type_statvfs_t+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 cat >conftest.
$ac_ext <<_ACEOF
26991 #line $LINENO "configure"
26994 cat confdefs.h
>>conftest.
$ac_ext
26995 cat >>conftest.
$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26998 #include <sys/statvfs.h>
27015 rm -f conftest.
$ac_objext
27016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27017 (eval $ac_compile) 2>&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try
='test -s conftest.$ac_objext'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; }; then
27027 wx_cv_type_statvfs_t
=statvfs_t
27029 echo "$as_me: failed program was:" >&5
27030 sed 's/^/| /' conftest.
$ac_ext >&5
27033 cat >conftest.
$ac_ext <<_ACEOF
27034 #line $LINENO "configure"
27037 cat confdefs.h
>>conftest.
$ac_ext
27038 cat >>conftest.
$ac_ext <<_ACEOF
27039 /* end confdefs.h. */
27041 #include <sys/statvfs.h>
27058 rm -f conftest.
$ac_objext
27059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27060 (eval $ac_compile) 2>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } &&
27064 { ac_try
='test -s conftest.$ac_objext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 wx_cv_type_statvfs_t
="struct statvfs"
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.
$ac_ext >&5
27075 wx_cv_type_statvfs_t
="unknown"
27078 rm -f conftest.
$ac_objext conftest.
$ac_ext
27082 rm -f conftest.
$ac_objext conftest.
$ac_ext
27085 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27086 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27089 ac_cpp
='$CPP $CPPFLAGS'
27090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27095 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27096 cat >>confdefs.h
<<\_ACEOF
27097 #define HAVE_STATVFS 1
27102 wx_cv_type_statvfs_t
="unknown"
27106 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27107 cat >>confdefs.h
<<_ACEOF
27108 #define WX_STATFS_T $wx_cv_type_statvfs_t
27112 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27113 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27116 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27119 for ac_func
in fcntl flock
27121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27122 echo "$as_me:$LINENO: checking for $ac_func" >&5
27123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27124 if eval "test \"\${$as_ac_var+set}\" = set"; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 cat >conftest.
$ac_ext <<_ACEOF
27128 #line $LINENO "configure"
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 /* System header to define __stub macros and hopefully few prototypes,
27135 which can conflict with char $ac_func (); below.
27136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27137 <limits.h> exists even on freestanding compilers. */
27139 # include <limits.h>
27141 # include <assert.h>
27143 /* Override any gcc2 internal prototype to avoid an error. */
27148 /* We use char because int might match the return type of a gcc2
27149 builtin and then its argument prototype would still apply. */
27151 /* The GNU C library defines this for functions which it implements
27152 to always fail with ENOSYS. Some functions are actually named
27153 something starting with __ and the normal name is an alias. */
27154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27157 char (*f) () = $ac_func;
27166 return f != $ac_func;
27171 rm -f conftest.
$ac_objext conftest
$ac_exeext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27173 (eval $ac_link) 2>&5
27175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176 (exit $ac_status); } &&
27177 { ac_try
='test -s conftest$ac_exeext'
27178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27179 (eval $ac_try) 2>&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); }; }; then
27183 eval "$as_ac_var=yes"
27185 echo "$as_me: failed program was:" >&5
27186 sed 's/^/| /' conftest.
$ac_ext >&5
27188 eval "$as_ac_var=no"
27190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27194 if test `eval echo '${'$as_ac_var'}'` = yes; then
27195 cat >>confdefs.h
<<_ACEOF
27196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27203 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27204 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27205 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27206 wxUSE_SNGLINST_CHECKER
=no
27211 for ac_func
in timegm
27213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27214 echo "$as_me:$LINENO: checking for $ac_func" >&5
27215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27216 if eval "test \"\${$as_ac_var+set}\" = set"; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 cat >conftest.
$ac_ext <<_ACEOF
27220 #line $LINENO "configure"
27223 cat confdefs.h
>>conftest.
$ac_ext
27224 cat >>conftest.
$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27226 /* System header to define __stub macros and hopefully few prototypes,
27227 which can conflict with char $ac_func (); below.
27228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27229 <limits.h> exists even on freestanding compilers. */
27231 # include <limits.h>
27233 # include <assert.h>
27235 /* Override any gcc2 internal prototype to avoid an error. */
27240 /* We use char because int might match the return type of a gcc2
27241 builtin and then its argument prototype would still apply. */
27243 /* The GNU C library defines this for functions which it implements
27244 to always fail with ENOSYS. Some functions are actually named
27245 something starting with __ and the normal name is an alias. */
27246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27249 char (*f) () = $ac_func;
27258 return f != $ac_func;
27263 rm -f conftest.
$ac_objext conftest
$ac_exeext
27264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27265 (eval $ac_link) 2>&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); } &&
27269 { ac_try
='test -s conftest$ac_exeext'
27270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27271 (eval $ac_try) 2>&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); }; }; then
27275 eval "$as_ac_var=yes"
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.
$ac_ext >&5
27280 eval "$as_ac_var=no"
27282 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27286 if test `eval echo '${'$as_ac_var'}'` = yes; then
27287 cat >>confdefs.h
<<_ACEOF
27288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27297 for ac_func
in putenv setenv
27299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27300 echo "$as_me:$LINENO: checking for $ac_func" >&5
27301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27302 if eval "test \"\${$as_ac_var+set}\" = set"; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27305 cat >conftest.
$ac_ext <<_ACEOF
27306 #line $LINENO "configure"
27309 cat confdefs.h
>>conftest.
$ac_ext
27310 cat >>conftest.
$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312 /* System header to define __stub macros and hopefully few prototypes,
27313 which can conflict with char $ac_func (); below.
27314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27315 <limits.h> exists even on freestanding compilers. */
27317 # include <limits.h>
27319 # include <assert.h>
27321 /* Override any gcc2 internal prototype to avoid an error. */
27326 /* We use char because int might match the return type of a gcc2
27327 builtin and then its argument prototype would still apply. */
27329 /* The GNU C library defines this for functions which it implements
27330 to always fail with ENOSYS. Some functions are actually named
27331 something starting with __ and the normal name is an alias. */
27332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27335 char (*f) () = $ac_func;
27344 return f != $ac_func;
27349 rm -f conftest.
$ac_objext conftest
$ac_exeext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27351 (eval $ac_link) 2>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try
='test -s conftest$ac_exeext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27361 eval "$as_ac_var=yes"
27363 echo "$as_me: failed program was:" >&5
27364 sed 's/^/| /' conftest.
$ac_ext >&5
27366 eval "$as_ac_var=no"
27368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27372 if test `eval echo '${'$as_ac_var'}'` = yes; then
27373 cat >>confdefs.h
<<_ACEOF
27374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27381 HAVE_SOME_SLEEP_FUNC
=0
27382 if test "$USE_BEOS" = 1; then
27383 cat >>confdefs.h
<<\_ACEOF
27384 #define HAVE_SLEEP 1
27387 HAVE_SOME_SLEEP_FUNC
=1
27390 if test "$USE_DARWIN" = 1; then
27391 cat >>confdefs.h
<<\_ACEOF
27392 #define HAVE_USLEEP 1
27395 HAVE_SOME_SLEEP_FUNC
=1
27398 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27401 for ac_func
in nanosleep
27403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27404 echo "$as_me:$LINENO: checking for $ac_func" >&5
27405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27406 if eval "test \"\${$as_ac_var+set}\" = set"; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 cat >conftest.
$ac_ext <<_ACEOF
27410 #line $LINENO "configure"
27413 cat confdefs.h
>>conftest.
$ac_ext
27414 cat >>conftest.
$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416 /* System header to define __stub macros and hopefully few prototypes,
27417 which can conflict with char $ac_func (); below.
27418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27419 <limits.h> exists even on freestanding compilers. */
27421 # include <limits.h>
27423 # include <assert.h>
27425 /* Override any gcc2 internal prototype to avoid an error. */
27430 /* We use char because int might match the return type of a gcc2
27431 builtin and then its argument prototype would still apply. */
27433 /* The GNU C library defines this for functions which it implements
27434 to always fail with ENOSYS. Some functions are actually named
27435 something starting with __ and the normal name is an alias. */
27436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27439 char (*f) () = $ac_func;
27448 return f != $ac_func;
27453 rm -f conftest.
$ac_objext conftest
$ac_exeext
27454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27455 (eval $ac_link) 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } &&
27459 { ac_try
='test -s conftest$ac_exeext'
27460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27461 (eval $ac_try) 2>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); }; }; then
27465 eval "$as_ac_var=yes"
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.
$ac_ext >&5
27470 eval "$as_ac_var=no"
27472 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27476 if test `eval echo '${'$as_ac_var'}'` = yes; then
27477 cat >>confdefs.h
<<_ACEOF
27478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27480 cat >>confdefs.h
<<\_ACEOF
27481 #define HAVE_NANOSLEEP 1
27486 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27487 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27488 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27489 echo $ECHO_N "(cached) $ECHO_C" >&6
27491 ac_check_lib_save_LIBS
=$LIBS
27492 LIBS
="-lposix4 $LIBS"
27493 cat >conftest.
$ac_ext <<_ACEOF
27494 #line $LINENO "configure"
27497 cat confdefs.h
>>conftest.
$ac_ext
27498 cat >>conftest.
$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27501 /* Override any gcc2 internal prototype to avoid an error. */
27505 /* We use char because int might match the return type of a gcc2
27506 builtin and then its argument prototype would still apply. */
27516 rm -f conftest.
$ac_objext conftest
$ac_exeext
27517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27518 (eval $ac_link) 2>&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } &&
27522 { ac_try
='test -s conftest$ac_exeext'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; }; then
27528 ac_cv_lib_posix4_nanosleep
=yes
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.
$ac_ext >&5
27533 ac_cv_lib_posix4_nanosleep
=no
27535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27536 LIBS
=$ac_check_lib_save_LIBS
27538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27539 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27540 if test $ac_cv_lib_posix4_nanosleep = yes; then
27542 cat >>confdefs.h
<<\_ACEOF
27543 #define HAVE_NANOSLEEP 1
27546 POSIX4_LINK
=" -lposix4"
27551 for ac_func
in usleep
27553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27554 echo "$as_me:$LINENO: checking for $ac_func" >&5
27555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27556 if eval "test \"\${$as_ac_var+set}\" = set"; then
27557 echo $ECHO_N "(cached) $ECHO_C" >&6
27559 cat >conftest.
$ac_ext <<_ACEOF
27560 #line $LINENO "configure"
27563 cat confdefs.h
>>conftest.
$ac_ext
27564 cat >>conftest.
$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27566 /* System header to define __stub macros and hopefully few prototypes,
27567 which can conflict with char $ac_func (); below.
27568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27569 <limits.h> exists even on freestanding compilers. */
27571 # include <limits.h>
27573 # include <assert.h>
27575 /* Override any gcc2 internal prototype to avoid an error. */
27580 /* We use char because int might match the return type of a gcc2
27581 builtin and then its argument prototype would still apply. */
27583 /* The GNU C library defines this for functions which it implements
27584 to always fail with ENOSYS. Some functions are actually named
27585 something starting with __ and the normal name is an alias. */
27586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27589 char (*f) () = $ac_func;
27598 return f != $ac_func;
27603 rm -f conftest.
$ac_objext conftest
$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } &&
27609 { ac_try
='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 eval "$as_ac_var=yes"
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.
$ac_ext >&5
27620 eval "$as_ac_var=no"
27622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27626 if test `eval echo '${'$as_ac_var'}'` = yes; then
27627 cat >>confdefs.h
<<_ACEOF
27628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27630 cat >>confdefs.h
<<\_ACEOF
27631 #define HAVE_USLEEP 1
27635 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27636 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27654 for ac_func
in uname gethostname
27656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27657 echo "$as_me:$LINENO: checking for $ac_func" >&5
27658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27659 if eval "test \"\${$as_ac_var+set}\" = set"; then
27660 echo $ECHO_N "(cached) $ECHO_C" >&6
27662 cat >conftest.
$ac_ext <<_ACEOF
27663 #line $LINENO "configure"
27666 cat confdefs.h
>>conftest.
$ac_ext
27667 cat >>conftest.
$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27669 /* System header to define __stub macros and hopefully few prototypes,
27670 which can conflict with char $ac_func (); below.
27671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27672 <limits.h> exists even on freestanding compilers. */
27674 # include <limits.h>
27676 # include <assert.h>
27678 /* Override any gcc2 internal prototype to avoid an error. */
27683 /* We use char because int might match the return type of a gcc2
27684 builtin and then its argument prototype would still apply. */
27686 /* The GNU C library defines this for functions which it implements
27687 to always fail with ENOSYS. Some functions are actually named
27688 something starting with __ and the normal name is an alias. */
27689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27692 char (*f) () = $ac_func;
27701 return f != $ac_func;
27706 rm -f conftest.
$ac_objext conftest
$ac_exeext
27707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27708 (eval $ac_link) 2>&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); } &&
27712 { ac_try
='test -s conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27718 eval "$as_ac_var=yes"
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.
$ac_ext >&5
27723 eval "$as_ac_var=no"
27725 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27729 if test `eval echo '${'$as_ac_var'}'` = yes; then
27730 cat >>confdefs.h
<<_ACEOF
27731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27741 ac_cpp
='$CXXCPP $CPPFLAGS'
27742 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27748 for ac_func
in strtok_r
27750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27751 echo "$as_me:$LINENO: checking for $ac_func" >&5
27752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27753 if eval "test \"\${$as_ac_var+set}\" = set"; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 cat >conftest.
$ac_ext <<_ACEOF
27757 #line $LINENO "configure"
27760 cat confdefs.h
>>conftest.
$ac_ext
27761 cat >>conftest.
$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27768 # include <limits.h>
27770 # include <assert.h>
27772 /* Override any gcc2 internal prototype to avoid an error. */
27777 /* We use char because int might match the return type of a gcc2
27778 builtin and then its argument prototype would still apply. */
27780 /* The GNU C library defines this for functions which it implements
27781 to always fail with ENOSYS. Some functions are actually named
27782 something starting with __ and the normal name is an alias. */
27783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27786 char (*f) () = $ac_func;
27795 return f != $ac_func;
27800 rm -f conftest.
$ac_objext conftest
$ac_exeext
27801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27802 (eval $ac_link) 2>&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } &&
27806 { ac_try
='test -s conftest$ac_exeext'
27807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808 (eval $ac_try) 2>&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; }; then
27812 eval "$as_ac_var=yes"
27814 echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.
$ac_ext >&5
27817 eval "$as_ac_var=no"
27819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27823 if test `eval echo '${'$as_ac_var'}'` = yes; then
27824 cat >>confdefs.h
<<_ACEOF
27825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27833 ac_cpp
='$CPP $CPPFLAGS'
27834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27841 for ac_func
in inet_addr
27843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27844 echo "$as_me:$LINENO: checking for $ac_func" >&5
27845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27846 if eval "test \"\${$as_ac_var+set}\" = set"; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 cat >conftest.
$ac_ext <<_ACEOF
27850 #line $LINENO "configure"
27853 cat confdefs.h
>>conftest.
$ac_ext
27854 cat >>conftest.
$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856 /* System header to define __stub macros and hopefully few prototypes,
27857 which can conflict with char $ac_func (); below.
27858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27859 <limits.h> exists even on freestanding compilers. */
27861 # include <limits.h>
27863 # include <assert.h>
27865 /* Override any gcc2 internal prototype to avoid an error. */
27870 /* We use char because int might match the return type of a gcc2
27871 builtin and then its argument prototype would still apply. */
27873 /* The GNU C library defines this for functions which it implements
27874 to always fail with ENOSYS. Some functions are actually named
27875 something starting with __ and the normal name is an alias. */
27876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27879 char (*f) () = $ac_func;
27888 return f != $ac_func;
27893 rm -f conftest.
$ac_objext conftest
$ac_exeext
27894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27895 (eval $ac_link) 2>&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); } &&
27899 { ac_try
='test -s conftest$ac_exeext'
27900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901 (eval $ac_try) 2>&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; }; then
27905 eval "$as_ac_var=yes"
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.
$ac_ext >&5
27910 eval "$as_ac_var=no"
27912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27916 if test `eval echo '${'$as_ac_var'}'` = yes; then
27917 cat >>confdefs.h
<<_ACEOF
27918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27920 cat >>confdefs.h
<<\_ACEOF
27921 #define HAVE_INET_ADDR 1
27926 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27927 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27928 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27931 ac_check_lib_save_LIBS
=$LIBS
27933 cat >conftest.
$ac_ext <<_ACEOF
27934 #line $LINENO "configure"
27937 cat confdefs.h
>>conftest.
$ac_ext
27938 cat >>conftest.
$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27941 /* Override any gcc2 internal prototype to avoid an error. */
27945 /* We use char because int might match the return type of a gcc2
27946 builtin and then its argument prototype would still apply. */
27956 rm -f conftest.
$ac_objext conftest
$ac_exeext
27957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27958 (eval $ac_link) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try
='test -s conftest$ac_exeext'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; }; then
27968 ac_cv_lib_nsl_inet_addr
=yes
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.
$ac_ext >&5
27973 ac_cv_lib_nsl_inet_addr
=no
27975 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27976 LIBS
=$ac_check_lib_save_LIBS
27978 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27979 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27980 if test $ac_cv_lib_nsl_inet_addr = yes; then
27983 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27984 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27985 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27986 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 ac_check_lib_save_LIBS
=$LIBS
27989 LIBS
="-lresolv $LIBS"
27990 cat >conftest.
$ac_ext <<_ACEOF
27991 #line $LINENO "configure"
27994 cat confdefs.h
>>conftest.
$ac_ext
27995 cat >>conftest.
$ac_ext <<_ACEOF
27996 /* end confdefs.h. */
27998 /* Override any gcc2 internal prototype to avoid an error. */
28002 /* We use char because int might match the return type of a gcc2
28003 builtin and then its argument prototype would still apply. */
28013 rm -f conftest.
$ac_objext conftest
$ac_exeext
28014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015 (eval $ac_link) 2>&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } &&
28019 { ac_try
='test -s conftest$ac_exeext'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; }; then
28025 ac_cv_lib_resolv_inet_addr
=yes
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.
$ac_ext >&5
28030 ac_cv_lib_resolv_inet_addr
=no
28032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28033 LIBS
=$ac_check_lib_save_LIBS
28035 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28036 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28037 if test $ac_cv_lib_resolv_inet_addr = yes; then
28040 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28041 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28042 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28043 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 ac_check_lib_save_LIBS
=$LIBS
28046 LIBS
="-lsocket $LIBS"
28047 cat >conftest.
$ac_ext <<_ACEOF
28048 #line $LINENO "configure"
28051 cat confdefs.h
>>conftest.
$ac_ext
28052 cat >>conftest.
$ac_ext <<_ACEOF
28053 /* end confdefs.h. */
28055 /* Override any gcc2 internal prototype to avoid an error. */
28059 /* We use char because int might match the return type of a gcc2
28060 builtin and then its argument prototype would still apply. */
28070 rm -f conftest.
$ac_objext conftest
$ac_exeext
28071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28072 (eval $ac_link) 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } &&
28076 { ac_try
='test -s conftest$ac_exeext'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; }; then
28082 ac_cv_lib_socket_inet_addr
=yes
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.
$ac_ext >&5
28087 ac_cv_lib_socket_inet_addr
=no
28089 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28090 LIBS
=$ac_check_lib_save_LIBS
28092 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28093 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28094 if test $ac_cv_lib_socket_inet_addr = yes; then
28112 for ac_func
in inet_aton
28114 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for $ac_func" >&5
28116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_var+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 cat >conftest.
$ac_ext <<_ACEOF
28121 #line $LINENO "configure"
28124 cat confdefs.h
>>conftest.
$ac_ext
28125 cat >>conftest.
$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127 /* System header to define __stub macros and hopefully few prototypes,
28128 which can conflict with char $ac_func (); below.
28129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28130 <limits.h> exists even on freestanding compilers. */
28132 # include <limits.h>
28134 # include <assert.h>
28136 /* Override any gcc2 internal prototype to avoid an error. */
28141 /* We use char because int might match the return type of a gcc2
28142 builtin and then its argument prototype would still apply. */
28144 /* The GNU C library defines this for functions which it implements
28145 to always fail with ENOSYS. Some functions are actually named
28146 something starting with __ and the normal name is an alias. */
28147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28150 char (*f) () = $ac_func;
28159 return f != $ac_func;
28164 rm -f conftest.
$ac_objext conftest
$ac_exeext
28165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166 (eval $ac_link) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try
='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 eval "$as_ac_var=yes"
28178 echo "$as_me: failed program was:" >&5
28179 sed 's/^/| /' conftest.
$ac_ext >&5
28181 eval "$as_ac_var=no"
28183 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28187 if test `eval echo '${'$as_ac_var'}'` = yes; then
28188 cat >>confdefs.h
<<_ACEOF
28189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28191 cat >>confdefs.h
<<\_ACEOF
28192 #define HAVE_INET_ATON 1
28197 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28198 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28199 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28200 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28201 echo $ECHO_N "(cached) $ECHO_C" >&6
28203 ac_check_lib_save_LIBS
=$LIBS
28204 LIBS
="-l$INET_LINK $LIBS"
28205 cat >conftest.
$ac_ext <<_ACEOF
28206 #line $LINENO "configure"
28209 cat confdefs.h
>>conftest.
$ac_ext
28210 cat >>conftest.
$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28213 /* Override any gcc2 internal prototype to avoid an error. */
28217 /* We use char because int might match the return type of a gcc2
28218 builtin and then its argument prototype would still apply. */
28228 rm -f conftest.
$ac_objext conftest
$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230 (eval $ac_link) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try
='test -s conftest$ac_exeext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 eval "$as_ac_Lib=yes"
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.
$ac_ext >&5
28245 eval "$as_ac_Lib=no"
28247 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28248 LIBS
=$ac_check_lib_save_LIBS
28250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28251 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28252 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28253 cat >>confdefs.h
<<\_ACEOF
28254 #define HAVE_INET_ATON 1
28264 if test "x$INET_LINK" != "x"; then
28265 cat >>confdefs.h
<<\_ACEOF
28266 #define HAVE_INET_ADDR 1
28269 INET_LINK
=" -l$INET_LINK"
28277 if test "${ac_cv_header_esd_h+set}" = set; then
28278 echo "$as_me:$LINENO: checking for esd.h" >&5
28279 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28280 if test "${ac_cv_header_esd_h+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28284 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28286 # Is the header compilable?
28287 echo "$as_me:$LINENO: checking esd.h usability" >&5
28288 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28289 cat >conftest.
$ac_ext <<_ACEOF
28290 #line $LINENO "configure"
28293 cat confdefs.h
>>conftest.
$ac_ext
28294 cat >>conftest.
$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296 $ac_includes_default
28299 rm -f conftest.
$ac_objext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28301 (eval $ac_compile) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } &&
28305 { ac_try
='test -s conftest.$ac_objext'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; }; then
28311 ac_header_compiler
=yes
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.
$ac_ext >&5
28316 ac_header_compiler
=no
28318 rm -f conftest.
$ac_objext conftest.
$ac_ext
28319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28320 echo "${ECHO_T}$ac_header_compiler" >&6
28322 # Is the header present?
28323 echo "$as_me:$LINENO: checking esd.h presence" >&5
28324 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28325 cat >conftest.
$ac_ext <<_ACEOF
28326 #line $LINENO "configure"
28329 cat confdefs.h
>>conftest.
$ac_ext
28330 cat >>conftest.
$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28337 grep -v '^ *+' conftest.er1
>conftest.err
28339 cat conftest.err
>&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); } >/dev
/null
; then
28342 if test -s conftest.err
; then
28343 ac_cpp_err
=$ac_c_preproc_warn_flag
28350 if test -z "$ac_cpp_err"; then
28351 ac_header_preproc
=yes
28353 echo "$as_me: failed program was:" >&5
28354 sed 's/^/| /' conftest.
$ac_ext >&5
28356 ac_header_preproc
=no
28358 rm -f conftest.err conftest.
$ac_ext
28359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28360 echo "${ECHO_T}$ac_header_preproc" >&6
28362 # So? What about this header?
28363 case $ac_header_compiler:$ac_header_preproc in
28365 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28366 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28367 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28368 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28371 ## ------------------------------------ ##
28372 ## Report this to bug-autoconf@gnu.org. ##
28373 ## ------------------------------------ ##
28376 sed "s/^/$as_me: WARNING: /" >&2
28379 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28380 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28381 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28382 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28383 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28384 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28387 ## ------------------------------------ ##
28388 ## Report this to bug-autoconf@gnu.org. ##
28389 ## ------------------------------------ ##
28392 sed "s/^/$as_me: WARNING: /" >&2
28395 echo "$as_me:$LINENO: checking for esd.h" >&5
28396 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28397 if test "${ac_cv_header_esd_h+set}" = set; then
28398 echo $ECHO_N "(cached) $ECHO_C" >&6
28400 ac_cv_header_esd_h
=$ac_header_preproc
28402 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28403 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28406 if test $ac_cv_header_esd_h = yes; then
28408 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28409 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28410 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28411 echo $ECHO_N "(cached) $ECHO_C" >&6
28413 ac_check_lib_save_LIBS
=$LIBS
28415 cat >conftest.
$ac_ext <<_ACEOF
28416 #line $LINENO "configure"
28419 cat confdefs.h
>>conftest.
$ac_ext
28420 cat >>conftest.
$ac_ext <<_ACEOF
28421 /* end confdefs.h. */
28423 /* Override any gcc2 internal prototype to avoid an error. */
28427 /* We use char because int might match the return type of a gcc2
28428 builtin and then its argument prototype would still apply. */
28438 rm -f conftest.
$ac_objext conftest
$ac_exeext
28439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28440 (eval $ac_link) 2>&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } &&
28444 { ac_try
='test -s conftest$ac_exeext'
28445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28446 (eval $ac_try) 2>&5
28448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28449 (exit $ac_status); }; }; then
28450 ac_cv_lib_esd_esd_close
=yes
28452 echo "$as_me: failed program was:" >&5
28453 sed 's/^/| /' conftest.
$ac_ext >&5
28455 ac_cv_lib_esd_esd_close
=no
28457 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28458 LIBS
=$ac_check_lib_save_LIBS
28460 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28461 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28462 if test $ac_cv_lib_esd_esd_close = yes; then
28475 cat >confcache
<<\_ACEOF
28476 # This file is a shell script that caches the results of configure
28477 # tests run on this system so they can be shared between configure
28478 # scripts and configure runs, see configure's option --config-cache.
28479 # It is not useful on other systems. If it contains results you don't
28480 # want to keep, you may remove or edit it.
28482 # config.status only pays attention to the cache file if you give it
28483 # the --recheck option to rerun configure.
28485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28487 # following values.
28491 # The following way of writing the cache mishandles newlines in values,
28492 # but we know of no workaround that is simple, portable, and efficient.
28493 # So, don't put newlines in cache variables' values.
28494 # Ultrix sh set writes to stderr and can't be redirected directly,
28495 # and sets the high bit in the cache file unless we assign to the vars.
28498 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28500 # `set' does not quote correctly, so add quotes (double-quote
28501 # substitution turns \\\\ into \\, and sed turns \\ into \).
28504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28507 # `set' quotes correctly as required by POSIX, so do not add quotes.
28509 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28518 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28520 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28521 if test -w $cache_file; then
28522 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28523 cat confcache
>$cache_file
28525 echo "not updating unwritable cache $cache_file"
28532 if test "$TOOLKIT" != "MSW"; then
28538 if test "$wxUSE_THREADS" = "yes" ; then
28539 if test "$USE_BEOS" = 1; then
28540 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28541 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28546 if test "$wxUSE_THREADS" = "yes" ; then
28549 THREAD_OPTS
="-pthread"
28551 *-*-solaris2* | *-*-sunos4* )
28552 if test "x$GCC" = "xyes"; then
28553 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28555 THREAD_OPTS
="-mt $THREAD_OPTS"
28559 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28561 *-*-darwin* | *-*-cygwin* )
28565 THREAD_OPTS
="pthreads"
28568 if test "x$GCC" != "xyes"; then
28574 if test "x$GCC" = "xyes"; then
28580 if test "x$GCC" != "xyes"; then
28581 THREAD_OPTS
="-Ethread"
28586 THREAD_OPTS
="$THREAD_OPTS pthread none"
28589 for flag
in $THREAD_OPTS; do
28592 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28593 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28597 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28598 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28599 THREADS_CFLAGS
="$flag"
28603 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28604 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28605 THREADS_LINK
="-l$flag"
28610 save_CFLAGS
="$CFLAGS"
28611 LIBS
="$THREADS_LINK $LIBS"
28612 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28614 cat >conftest.
$ac_ext <<_ACEOF
28615 #line $LINENO "configure"
28618 cat confdefs.h
>>conftest.
$ac_ext
28619 cat >>conftest.
$ac_ext <<_ACEOF
28620 /* end confdefs.h. */
28621 #include <pthread.h>
28625 pthread_create(0,0,0,0);
28630 rm -f conftest.
$ac_objext conftest
$ac_exeext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28632 (eval $ac_link) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } &&
28636 { ac_try
='test -s conftest$ac_exeext'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; }; then
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.
$ac_ext >&5
28648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28651 CFLAGS
="$save_CFLAGS"
28653 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28654 echo "${ECHO_T}$THREADS_OK" >&6
28655 if test "x$THREADS_OK" = "xyes"; then
28663 if test "x$THREADS_OK" != "xyes"; then
28665 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28666 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28668 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28669 LIBS
="$THREADS_LINK $LIBS"
28671 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28672 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28676 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28677 flag
="-D_THREAD_SAFE"
28680 flag
="-D_THREAD_SAFE"
28683 flag
="-D_REENTRANT"
28684 if test "x$GCC" != "xyes"; then
28685 flag
="$flag -D_RWSTD_MULTI_THREAD"
28688 *solaris
* | alpha
*-osf*)
28689 flag
="-D_REENTRANT"
28692 echo "$as_me:$LINENO: result: ${flag}" >&5
28693 echo "${ECHO_T}${flag}" >&6
28694 if test "x$flag" != xno
; then
28695 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28698 if test "x$THREADS_CFLAGS" != "x"; then
28699 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28700 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28705 if test "$wxUSE_THREADS" = "yes" ; then
28707 for ac_func
in thr_setconcurrency
28709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28710 echo "$as_me:$LINENO: checking for $ac_func" >&5
28711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28712 if eval "test \"\${$as_ac_var+set}\" = set"; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 cat >conftest.
$ac_ext <<_ACEOF
28716 #line $LINENO "configure"
28719 cat confdefs.h
>>conftest.
$ac_ext
28720 cat >>conftest.
$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 /* System header to define __stub macros and hopefully few prototypes,
28723 which can conflict with char $ac_func (); below.
28724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28725 <limits.h> exists even on freestanding compilers. */
28727 # include <limits.h>
28729 # include <assert.h>
28731 /* Override any gcc2 internal prototype to avoid an error. */
28736 /* We use char because int might match the return type of a gcc2
28737 builtin and then its argument prototype would still apply. */
28739 /* The GNU C library defines this for functions which it implements
28740 to always fail with ENOSYS. Some functions are actually named
28741 something starting with __ and the normal name is an alias. */
28742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28745 char (*f) () = $ac_func;
28754 return f != $ac_func;
28759 rm -f conftest.
$ac_objext conftest
$ac_exeext
28760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28761 (eval $ac_link) 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try
='test -s conftest$ac_exeext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 eval "$as_ac_var=yes"
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.
$ac_ext >&5
28776 eval "$as_ac_var=no"
28778 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28782 if test `eval echo '${'$as_ac_var'}'` = yes; then
28783 cat >>confdefs.h
<<_ACEOF
28784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28792 for ac_header
in sched.h
28794 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28796 echo "$as_me:$LINENO: checking for $ac_header" >&5
28797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28804 # Is the header compilable?
28805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28807 cat >conftest.
$ac_ext <<_ACEOF
28808 #line $LINENO "configure"
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28814 $ac_includes_default
28815 #include <$ac_header>
28817 rm -f conftest.
$ac_objext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28819 (eval $ac_compile) 2>&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try
='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829 ac_header_compiler
=yes
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.
$ac_ext >&5
28834 ac_header_compiler
=no
28836 rm -f conftest.
$ac_objext conftest.
$ac_ext
28837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28838 echo "${ECHO_T}$ac_header_compiler" >&6
28840 # Is the header present?
28841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28843 cat >conftest.
$ac_ext <<_ACEOF
28844 #line $LINENO "configure"
28847 cat confdefs.h
>>conftest.
$ac_ext
28848 cat >>conftest.
$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 #include <$ac_header>
28852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28855 grep -v '^ *+' conftest.er1
>conftest.err
28857 cat conftest.err
>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } >/dev
/null
; then
28860 if test -s conftest.err
; then
28861 ac_cpp_err
=$ac_c_preproc_warn_flag
28868 if test -z "$ac_cpp_err"; then
28869 ac_header_preproc
=yes
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.
$ac_ext >&5
28874 ac_header_preproc
=no
28876 rm -f conftest.err conftest.
$ac_ext
28877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28878 echo "${ECHO_T}$ac_header_preproc" >&6
28880 # So? What about this header?
28881 case $ac_header_compiler:$ac_header_preproc in
28883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28889 ## ------------------------------------ ##
28890 ## Report this to bug-autoconf@gnu.org. ##
28891 ## ------------------------------------ ##
28894 sed "s/^/$as_me: WARNING: /" >&2
28897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28905 ## ------------------------------------ ##
28906 ## Report this to bug-autoconf@gnu.org. ##
28907 ## ------------------------------------ ##
28910 sed "s/^/$as_me: WARNING: /" >&2
28913 echo "$as_me:$LINENO: checking for $ac_header" >&5
28914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28916 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 eval "$as_ac_Header=$ac_header_preproc"
28920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28925 cat >>confdefs.h
<<_ACEOF
28926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28933 if test "$ac_cv_header_sched_h" = "yes"; then
28934 echo "$as_me:$LINENO: checking for sched_yield" >&5
28935 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28936 if test "${ac_cv_func_sched_yield+set}" = set; then
28937 echo $ECHO_N "(cached) $ECHO_C" >&6
28939 cat >conftest.
$ac_ext <<_ACEOF
28940 #line $LINENO "configure"
28943 cat confdefs.h
>>conftest.
$ac_ext
28944 cat >>conftest.
$ac_ext <<_ACEOF
28945 /* end confdefs.h. */
28946 /* System header to define __stub macros and hopefully few prototypes,
28947 which can conflict with char sched_yield (); below.
28948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28949 <limits.h> exists even on freestanding compilers. */
28951 # include <limits.h>
28953 # include <assert.h>
28955 /* Override any gcc2 internal prototype to avoid an error. */
28960 /* We use char because int might match the return type of a gcc2
28961 builtin and then its argument prototype would still apply. */
28962 char sched_yield ();
28963 /* The GNU C library defines this for functions which it implements
28964 to always fail with ENOSYS. Some functions are actually named
28965 something starting with __ and the normal name is an alias. */
28966 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28969 char (*f) () = sched_yield;
28978 return f != sched_yield;
28983 rm -f conftest.
$ac_objext conftest
$ac_exeext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28985 (eval $ac_link) 2>&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } &&
28989 { ac_try
='test -s conftest$ac_exeext'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; }; then
28995 ac_cv_func_sched_yield
=yes
28997 echo "$as_me: failed program was:" >&5
28998 sed 's/^/| /' conftest.
$ac_ext >&5
29000 ac_cv_func_sched_yield
=no
29002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29004 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29005 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29006 if test $ac_cv_func_sched_yield = yes; then
29007 cat >>confdefs.h
<<\_ACEOF
29008 #define HAVE_SCHED_YIELD 1
29013 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29014 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29015 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29016 echo $ECHO_N "(cached) $ECHO_C" >&6
29018 ac_check_lib_save_LIBS
=$LIBS
29019 LIBS
="-lposix4 $LIBS"
29020 cat >conftest.
$ac_ext <<_ACEOF
29021 #line $LINENO "configure"
29024 cat confdefs.h
>>conftest.
$ac_ext
29025 cat >>conftest.
$ac_ext <<_ACEOF
29026 /* end confdefs.h. */
29028 /* Override any gcc2 internal prototype to avoid an error. */
29032 /* We use char because int might match the return type of a gcc2
29033 builtin and then its argument prototype would still apply. */
29034 char sched_yield ();
29043 rm -f conftest.
$ac_objext conftest
$ac_exeext
29044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29045 (eval $ac_link) 2>&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } &&
29049 { ac_try
='test -s conftest$ac_exeext'
29050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051 (eval $ac_try) 2>&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; }; then
29055 ac_cv_lib_posix4_sched_yield
=yes
29057 echo "$as_me: failed program was:" >&5
29058 sed 's/^/| /' conftest.
$ac_ext >&5
29060 ac_cv_lib_posix4_sched_yield
=no
29062 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29063 LIBS
=$ac_check_lib_save_LIBS
29065 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29066 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29067 if test $ac_cv_lib_posix4_sched_yield = yes; then
29068 cat >>confdefs.h
<<\_ACEOF
29069 #define HAVE_SCHED_YIELD 1
29071 POSIX4_LINK
=" -lposix4"
29073 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29074 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29085 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29086 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29087 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 cat >conftest.
$ac_ext <<_ACEOF
29091 #line $LINENO "configure"
29094 cat confdefs.h
>>conftest.
$ac_ext
29095 cat >>conftest.
$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097 /* System header to define __stub macros and hopefully few prototypes,
29098 which can conflict with char pthread_attr_getschedpolicy (); below.
29099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29100 <limits.h> exists even on freestanding compilers. */
29102 # include <limits.h>
29104 # include <assert.h>
29106 /* Override any gcc2 internal prototype to avoid an error. */
29111 /* We use char because int might match the return type of a gcc2
29112 builtin and then its argument prototype would still apply. */
29113 char pthread_attr_getschedpolicy ();
29114 /* The GNU C library defines this for functions which it implements
29115 to always fail with ENOSYS. Some functions are actually named
29116 something starting with __ and the normal name is an alias. */
29117 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29120 char (*f) () = pthread_attr_getschedpolicy;
29129 return f != pthread_attr_getschedpolicy;
29134 rm -f conftest.
$ac_objext conftest
$ac_exeext
29135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29136 (eval $ac_link) 2>&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } &&
29140 { ac_try
='test -s conftest$ac_exeext'
29141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29142 (eval $ac_try) 2>&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); }; }; then
29146 ac_cv_func_pthread_attr_getschedpolicy
=yes
29148 echo "$as_me: failed program was:" >&5
29149 sed 's/^/| /' conftest.
$ac_ext >&5
29151 ac_cv_func_pthread_attr_getschedpolicy
=no
29153 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29155 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29156 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29157 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29158 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29159 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29160 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29161 echo $ECHO_N "(cached) $ECHO_C" >&6
29163 cat >conftest.
$ac_ext <<_ACEOF
29164 #line $LINENO "configure"
29167 cat confdefs.h
>>conftest.
$ac_ext
29168 cat >>conftest.
$ac_ext <<_ACEOF
29169 /* end confdefs.h. */
29170 /* System header to define __stub macros and hopefully few prototypes,
29171 which can conflict with char pthread_attr_setschedparam (); below.
29172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29173 <limits.h> exists even on freestanding compilers. */
29175 # include <limits.h>
29177 # include <assert.h>
29179 /* Override any gcc2 internal prototype to avoid an error. */
29184 /* We use char because int might match the return type of a gcc2
29185 builtin and then its argument prototype would still apply. */
29186 char pthread_attr_setschedparam ();
29187 /* The GNU C library defines this for functions which it implements
29188 to always fail with ENOSYS. Some functions are actually named
29189 something starting with __ and the normal name is an alias. */
29190 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29193 char (*f) () = pthread_attr_setschedparam;
29202 return f != pthread_attr_setschedparam;
29207 rm -f conftest.
$ac_objext conftest
$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); } &&
29213 { ac_try
='test -s conftest$ac_exeext'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; }; then
29219 ac_cv_func_pthread_attr_setschedparam
=yes
29221 echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.
$ac_ext >&5
29224 ac_cv_func_pthread_attr_setschedparam
=no
29226 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29228 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29229 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29230 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29231 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29232 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29233 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29234 echo $ECHO_N "(cached) $ECHO_C" >&6
29236 cat >conftest.
$ac_ext <<_ACEOF
29237 #line $LINENO "configure"
29240 cat confdefs.h
>>conftest.
$ac_ext
29241 cat >>conftest.
$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243 /* System header to define __stub macros and hopefully few prototypes,
29244 which can conflict with char sched_get_priority_max (); below.
29245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29246 <limits.h> exists even on freestanding compilers. */
29248 # include <limits.h>
29250 # include <assert.h>
29252 /* Override any gcc2 internal prototype to avoid an error. */
29257 /* We use char because int might match the return type of a gcc2
29258 builtin and then its argument prototype would still apply. */
29259 char sched_get_priority_max ();
29260 /* The GNU C library defines this for functions which it implements
29261 to always fail with ENOSYS. Some functions are actually named
29262 something starting with __ and the normal name is an alias. */
29263 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29266 char (*f) () = sched_get_priority_max;
29275 return f != sched_get_priority_max;
29280 rm -f conftest.
$ac_objext conftest
$ac_exeext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29282 (eval $ac_link) 2>&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } &&
29286 { ac_try
='test -s conftest$ac_exeext'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; }; then
29292 ac_cv_func_sched_get_priority_max
=yes
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.
$ac_ext >&5
29297 ac_cv_func_sched_get_priority_max
=no
29299 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29301 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29302 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29303 if test $ac_cv_func_sched_get_priority_max = yes; then
29306 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29307 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29308 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29311 ac_check_lib_save_LIBS
=$LIBS
29312 LIBS
="-lposix4 $LIBS"
29313 cat >conftest.
$ac_ext <<_ACEOF
29314 #line $LINENO "configure"
29317 cat confdefs.h
>>conftest.
$ac_ext
29318 cat >>conftest.
$ac_ext <<_ACEOF
29319 /* end confdefs.h. */
29321 /* Override any gcc2 internal prototype to avoid an error. */
29325 /* We use char because int might match the return type of a gcc2
29326 builtin and then its argument prototype would still apply. */
29327 char sched_get_priority_max ();
29331 sched_get_priority_max ();
29336 rm -f conftest.
$ac_objext conftest
$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try
='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 ac_cv_lib_posix4_sched_get_priority_max
=yes
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.
$ac_ext >&5
29353 ac_cv_lib_posix4_sched_get_priority_max
=no
29355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29356 LIBS
=$ac_check_lib_save_LIBS
29358 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29359 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29360 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29363 POSIX4_LINK
=" -lposix4"
29377 if test "$HAVE_PRIOR_FUNCS" = 1; then
29378 cat >>confdefs.h
<<\_ACEOF
29379 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29383 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29384 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29387 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29388 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29389 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 cat >conftest.
$ac_ext <<_ACEOF
29393 #line $LINENO "configure"
29396 cat confdefs.h
>>conftest.
$ac_ext
29397 cat >>conftest.
$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399 /* System header to define __stub macros and hopefully few prototypes,
29400 which can conflict with char pthread_cancel (); below.
29401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29402 <limits.h> exists even on freestanding compilers. */
29404 # include <limits.h>
29406 # include <assert.h>
29408 /* Override any gcc2 internal prototype to avoid an error. */
29413 /* We use char because int might match the return type of a gcc2
29414 builtin and then its argument prototype would still apply. */
29415 char pthread_cancel ();
29416 /* The GNU C library defines this for functions which it implements
29417 to always fail with ENOSYS. Some functions are actually named
29418 something starting with __ and the normal name is an alias. */
29419 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29422 char (*f) () = pthread_cancel;
29431 return f != pthread_cancel;
29436 rm -f conftest.
$ac_objext conftest
$ac_exeext
29437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29438 (eval $ac_link) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); } &&
29442 { ac_try
='test -s conftest$ac_exeext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29448 ac_cv_func_pthread_cancel
=yes
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.
$ac_ext >&5
29453 ac_cv_func_pthread_cancel
=no
29455 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29457 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29458 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29459 if test $ac_cv_func_pthread_cancel = yes; then
29460 cat >>confdefs.h
<<\_ACEOF
29461 #define HAVE_PTHREAD_CANCEL 1
29465 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29466 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29470 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29471 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29472 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29476 cat >conftest.
$ac_ext <<_ACEOF
29477 #line $LINENO "configure"
29480 cat confdefs.h
>>conftest.
$ac_ext
29481 cat >>conftest.
$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 #include <pthread.h>
29488 pthread_cleanup_push(NULL, NULL);
29489 pthread_cleanup_pop(0);
29495 rm -f conftest.
$ac_objext
29496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29497 (eval $ac_compile) 2>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); } &&
29501 { ac_try
='test -s conftest.$ac_objext'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; }; then
29508 wx_cv_func_pthread_cleanup_push
=yes
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.
$ac_ext >&5
29515 wx_cv_func_pthread_cleanup_push
=no
29518 rm -f conftest.
$ac_objext conftest.
$ac_ext
29521 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29522 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29524 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29525 cat >>confdefs.h
<<\_ACEOF
29526 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29532 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29533 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29534 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29535 echo $ECHO_N "(cached) $ECHO_C" >&6
29538 cat >conftest.
$ac_ext <<_ACEOF
29539 #line $LINENO "configure"
29542 cat confdefs.h
>>conftest.
$ac_ext
29543 cat >>conftest.
$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29545 #include <pthread.h>
29550 pthread_mutexattr_t attr;
29551 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29557 rm -f conftest.
$ac_objext
29558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29559 (eval $ac_compile) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); } &&
29563 { ac_try
='test -s conftest.$ac_objext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29570 wx_cv_type_pthread_mutexattr_t
=yes
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.
$ac_ext >&5
29577 wx_cv_type_pthread_mutexattr_t
=no
29581 rm -f conftest.
$ac_objext conftest.
$ac_ext
29584 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29585 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29587 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29588 cat >>confdefs.h
<<\_ACEOF
29589 #define HAVE_PTHREAD_MUTEXATTR_T 1
29593 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29594 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29595 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29596 echo $ECHO_N "(cached) $ECHO_C" >&6
29599 cat >conftest.
$ac_ext <<_ACEOF
29600 #line $LINENO "configure"
29603 cat confdefs.h
>>conftest.
$ac_ext
29604 cat >>conftest.
$ac_ext <<_ACEOF
29605 /* end confdefs.h. */
29606 #include <pthread.h>
29611 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29617 rm -f conftest.
$ac_objext
29618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29619 (eval $ac_compile) 2>&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } &&
29623 { ac_try
='test -s conftest.$ac_objext'
29624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625 (eval $ac_try) 2>&5
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; }; then
29630 wx_cv_type_pthread_rec_mutex_init
=yes
29633 echo "$as_me: failed program was:" >&5
29634 sed 's/^/| /' conftest.
$ac_ext >&5
29637 wx_cv_type_pthread_rec_mutex_init
=no
29641 rm -f conftest.
$ac_objext conftest.
$ac_ext
29644 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29645 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29646 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29647 cat >>confdefs.h
<<\_ACEOF
29648 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29652 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29653 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29659 if test "$wxUSE_THREADS" = "yes" ; then
29662 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29663 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29664 if test "${wx_cv_cflags_mthread+set}" = set; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 CFLAGS_OLD
="$CFLAGS"
29669 CFLAGS
="$CFLAGS -mthreads"
29670 cat >conftest.
$ac_ext <<_ACEOF
29671 #line $LINENO "configure"
29674 cat confdefs.h
>>conftest.
$ac_ext
29675 cat >>conftest.
$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29686 rm -f conftest.
$ac_objext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29688 (eval $ac_compile) 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); } &&
29692 { ac_try
='test -s conftest.$ac_objext'
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29698 wx_cv_cflags_mthread
=yes
29700 echo "$as_me: failed program was:" >&5
29701 sed 's/^/| /' conftest.
$ac_ext >&5
29703 wx_cv_cflags_mthread
=no
29706 rm -f conftest.
$ac_objext conftest.
$ac_ext
29710 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29711 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29713 if test "$wx_cv_cflags_mthread" = "yes"; then
29714 CXXFLAGS
="$CXXFLAGS -mthreads"
29715 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29716 LDFLAGS
="$LDFLAGS -mthreads"
29718 CFLAGS
="$CFLAGS_OLD"
29725 if test "$wxUSE_THREADS" = "yes"; then
29726 cat >>confdefs.h
<<\_ACEOF
29727 #define wxUSE_THREADS 1
29731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29733 if test "$ac_cv_func_strtok_r" = "yes"; then
29734 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29735 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29736 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29737 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29738 echo "$as_me:$LINENO: result: yes" >&5
29739 echo "${ECHO_T}yes" >&6
29741 echo "$as_me:$LINENO: result: no" >&5
29742 echo "${ECHO_T}no" >&6
29747 if test "$WXGTK20" = 1 ; then
29748 cat >>confdefs.h
<<_ACEOF
29749 #define __WXGTK20__ $WXGTK20
29755 if test "$WXGTK12" = 1 ; then
29756 cat >>confdefs.h
<<_ACEOF
29757 #define __WXGTK12__ $WXGTK12
29762 if test "$WXGTK127" = 1 ; then
29763 cat >>confdefs.h
<<_ACEOF
29764 #define __WXGTK127__ $WXGTK127
29771 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29776 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29777 wxUSE_DEBUG_INFO
=yes
29781 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29782 cat >>confdefs.h
<<\_ACEOF
29786 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29788 if test "$wxUSE_GTK" = 1 ; then
29789 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29793 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29794 cat >>confdefs.h
<<\_ACEOF
29795 #define wxUSE_MEMORY_TRACING 1
29798 cat >>confdefs.h
<<\_ACEOF
29799 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29802 cat >>confdefs.h
<<\_ACEOF
29803 #define wxUSE_DEBUG_NEW_ALWAYS 1
29806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
29809 if test "$wxUSE_DMALLOC" = "yes" ; then
29810 DMALLOC_LIBS
="-ldmalloc"
29814 if test "$wxUSE_PROFILE" = "yes" ; then
29819 CODE_GEN_FLAGS_CXX
=
29820 if test "$GCC" = "yes" ; then
29821 if test "$wxUSE_NO_RTTI" = "yes" ; then
29822 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
29824 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29825 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29827 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29828 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
29830 if test "$USE_WIN32" = 1 ; then
29831 # I'm not even really sure what this was ever added to solve,
29832 # but someone added it for mingw native builds, so I guess
29833 # they had a reason, right??
29834 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29839 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
29842 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
29848 if test "$wxUSE_OPTIMISE" = "no" ; then
29849 if test "$GCC" = yes ; then
29853 if test "$GCC" = yes ; then
29857 i586
-*-*|i686
-*-* )
29858 OPTIMISE
="${OPTIMISE} "
29867 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29868 cat >>confdefs.h
<<\_ACEOF
29869 #define WXWIN_COMPATIBILITY_2 1
29873 WXWIN_COMPATIBILITY_2_2
="yes"
29876 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29877 cat >>confdefs.h
<<\_ACEOF
29878 #define WXWIN_COMPATIBILITY_2_2 1
29882 WXWIN_COMPATIBILITY_2_4
="yes"
29885 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29886 cat >>confdefs.h
<<\_ACEOF
29887 #define WXWIN_COMPATIBILITY_2_4 1
29893 if test "$wxUSE_GUI" = "yes"; then
29894 cat >>confdefs.h
<<\_ACEOF
29895 #define wxUSE_GUI 1
29900 cat >>confdefs.h
<<\_ACEOF
29901 #define wxUSE_NOGUI 1
29907 if test "$wxUSE_UNIX" = "yes"; then
29908 cat >>confdefs.h
<<\_ACEOF
29909 #define wxUSE_UNIX 1
29915 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29916 cat >>confdefs.h
<<\_ACEOF
29917 #define wxUSE_APPLE_IEEE 1
29922 if test "$wxUSE_TIMER" = "yes"; then
29923 cat >>confdefs.h
<<\_ACEOF
29924 #define wxUSE_TIMER 1
29929 if test "$wxUSE_WAVE" = "yes"; then
29930 cat >>confdefs.h
<<\_ACEOF
29931 #define wxUSE_WAVE 1
29936 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29937 cat >>confdefs.h
<<\_ACEOF
29938 #define wxUSE_CMDLINE_PARSER 1
29943 if test "$wxUSE_STOPWATCH" = "yes"; then
29944 cat >>confdefs.h
<<\_ACEOF
29945 #define wxUSE_STOPWATCH 1
29950 if test "$wxUSE_DATETIME" = "yes"; then
29951 cat >>confdefs.h
<<\_ACEOF
29952 #define wxUSE_DATETIME 1
29957 if test "$wxUSE_FILE" = "yes"; then
29958 cat >>confdefs.h
<<\_ACEOF
29959 #define wxUSE_FILE 1
29964 if test "$wxUSE_FFILE" = "yes"; then
29965 cat >>confdefs.h
<<\_ACEOF
29966 #define wxUSE_FFILE 1
29971 if test "$wxUSE_FILESYSTEM" = "yes"; then
29972 cat >>confdefs.h
<<\_ACEOF
29973 #define wxUSE_FILESYSTEM 1
29978 if test "$wxUSE_FS_INET" = "yes"; then
29979 cat >>confdefs.h
<<\_ACEOF
29980 #define wxUSE_FS_INET 1
29985 if test "$wxUSE_FS_ZIP" = "yes"; then
29986 cat >>confdefs.h
<<\_ACEOF
29987 #define wxUSE_FS_ZIP 1
29992 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29993 cat >>confdefs.h
<<\_ACEOF
29994 #define wxUSE_ZIPSTREAM 1
29999 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30000 cat >>confdefs.h
<<\_ACEOF
30001 #define wxUSE_ON_FATAL_EXCEPTION 1
30006 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30007 cat >>confdefs.h
<<\_ACEOF
30008 #define wxUSE_SNGLINST_CHECKER 1
30013 if test "$wxUSE_BUSYINFO" = "yes"; then
30014 cat >>confdefs.h
<<\_ACEOF
30015 #define wxUSE_BUSYINFO 1
30020 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30021 cat >>confdefs.h
<<\_ACEOF
30022 #define wxUSE_STD_IOSTREAM 1
30027 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30028 cat >>confdefs.h
<<\_ACEOF
30029 #define wxUSE_TEXTBUFFER 1
30034 if test "$wxUSE_TEXTFILE" = "yes"; then
30035 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30036 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30037 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30039 cat >>confdefs.h
<<\_ACEOF
30040 #define wxUSE_TEXTFILE 1
30046 if test "$wxUSE_CONFIG" = "yes" ; then
30047 if test "$wxUSE_TEXTFILE" != "yes"; then
30048 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30049 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30051 cat >>confdefs.h
<<\_ACEOF
30052 #define wxUSE_CONFIG 1
30055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30059 if test "$wxUSE_INTL" = "yes" ; then
30060 if test "$wxUSE_FILE" != "yes"; then
30061 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30062 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30064 cat >>confdefs.h
<<\_ACEOF
30065 #define wxUSE_INTL 1
30068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30069 GUIDIST
="$GUIDIST INTL_DIST"
30073 if test "$wxUSE_LOG" = "yes"; then
30074 cat >>confdefs.h
<<\_ACEOF
30075 #define wxUSE_LOG 1
30079 if test "$wxUSE_LOGGUI" = "yes"; then
30080 cat >>confdefs.h
<<\_ACEOF
30081 #define wxUSE_LOGGUI 1
30086 if test "$wxUSE_LOGWINDOW" = "yes"; then
30087 cat >>confdefs.h
<<\_ACEOF
30088 #define wxUSE_LOGWINDOW 1
30093 if test "$wxUSE_LOGDIALOG" = "yes"; then
30094 cat >>confdefs.h
<<\_ACEOF
30095 #define wxUSE_LOG_DIALOG 1
30101 if test "$wxUSE_LONGLONG" = "yes"; then
30102 cat >>confdefs.h
<<\_ACEOF
30103 #define wxUSE_LONGLONG 1
30108 if test "$wxUSE_GEOMETRY" = "yes"; then
30109 cat >>confdefs.h
<<\_ACEOF
30110 #define wxUSE_GEOMETRY 1
30115 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30116 cat >>confdefs.h
<<\_ACEOF
30117 #define wxUSE_DIALUP_MANAGER 1
30120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30123 if test "$wxUSE_STREAMS" = "yes" ; then
30124 cat >>confdefs.h
<<\_ACEOF
30125 #define wxUSE_STREAMS 1
30131 if test "$wxUSE_DATETIME" = "yes"; then
30133 for ac_func
in strptime
30135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30136 echo "$as_me:$LINENO: checking for $ac_func" >&5
30137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30138 if eval "test \"\${$as_ac_var+set}\" = set"; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 cat >conftest.
$ac_ext <<_ACEOF
30142 #line $LINENO "configure"
30145 cat confdefs.h
>>conftest.
$ac_ext
30146 cat >>conftest.
$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 /* System header to define __stub macros and hopefully few prototypes,
30149 which can conflict with char $ac_func (); below.
30150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30151 <limits.h> exists even on freestanding compilers. */
30153 # include <limits.h>
30155 # include <assert.h>
30157 /* Override any gcc2 internal prototype to avoid an error. */
30162 /* We use char because int might match the return type of a gcc2
30163 builtin and then its argument prototype would still apply. */
30165 /* The GNU C library defines this for functions which it implements
30166 to always fail with ENOSYS. Some functions are actually named
30167 something starting with __ and the normal name is an alias. */
30168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30171 char (*f) () = $ac_func;
30180 return f != $ac_func;
30185 rm -f conftest.
$ac_objext conftest
$ac_exeext
30186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30187 (eval $ac_link) 2>&5
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); } &&
30191 { ac_try
='test -s conftest$ac_exeext'
30192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30193 (eval $ac_try) 2>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); }; }; then
30197 eval "$as_ac_var=yes"
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.
$ac_ext >&5
30202 eval "$as_ac_var=no"
30204 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30208 if test `eval echo '${'$as_ac_var'}'` = yes; then
30209 cat >>confdefs.h
<<_ACEOF
30210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30217 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30218 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30219 if test "${wx_cv_var_timezone+set}" = set; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30223 cat >conftest.
$ac_ext <<_ACEOF
30224 #line $LINENO "configure"
30227 cat confdefs.h
>>conftest.
$ac_ext
30228 cat >>conftest.
$ac_ext <<_ACEOF
30229 /* end confdefs.h. */
30244 rm -f conftest.
$ac_objext
30245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30246 (eval $ac_compile) 2>&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } &&
30250 { ac_try
='test -s conftest.$ac_objext'
30251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30252 (eval $ac_try) 2>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; }; then
30257 wx_cv_var_timezone
=timezone
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.
$ac_ext >&5
30264 cat >conftest.
$ac_ext <<_ACEOF
30265 #line $LINENO "configure"
30268 cat confdefs.h
>>conftest.
$ac_ext
30269 cat >>conftest.
$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30285 rm -f conftest.
$ac_objext
30286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30287 (eval $ac_compile) 2>&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } &&
30291 { ac_try
='test -s conftest.$ac_objext'
30292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30293 (eval $ac_try) 2>&5
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); }; }; then
30298 wx_cv_var_timezone
=_timezone
30301 echo "$as_me: failed program was:" >&5
30302 sed 's/^/| /' conftest.
$ac_ext >&5
30305 cat >conftest.
$ac_ext <<_ACEOF
30306 #line $LINENO "configure"
30309 cat confdefs.h
>>conftest.
$ac_ext
30310 cat >>conftest.
$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30326 rm -f conftest.
$ac_objext
30327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30328 (eval $ac_compile) 2>&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } &&
30332 { ac_try
='test -s conftest.$ac_objext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30339 wx_cv_var_timezone
=__timezone
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.
$ac_ext >&5
30346 if test "$USE_DOS" = 0 ; then
30347 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30348 echo "$as_me: WARNING: no timezone variable" >&2;}
30353 rm -f conftest.
$ac_objext conftest.
$ac_ext
30357 rm -f conftest.
$ac_objext conftest.
$ac_ext
30361 rm -f conftest.
$ac_objext conftest.
$ac_ext
30365 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30366 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30368 if test "x$wx_cv_var_timezone" != x
; then
30369 cat >>confdefs.h
<<_ACEOF
30370 #define WX_TIMEZONE $wx_cv_var_timezone
30376 for ac_func
in localtime
30378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30379 echo "$as_me:$LINENO: checking for $ac_func" >&5
30380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30381 if eval "test \"\${$as_ac_var+set}\" = set"; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 cat >conftest.
$ac_ext <<_ACEOF
30385 #line $LINENO "configure"
30388 cat confdefs.h
>>conftest.
$ac_ext
30389 cat >>conftest.
$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30391 /* System header to define __stub macros and hopefully few prototypes,
30392 which can conflict with char $ac_func (); below.
30393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30394 <limits.h> exists even on freestanding compilers. */
30396 # include <limits.h>
30398 # include <assert.h>
30400 /* Override any gcc2 internal prototype to avoid an error. */
30405 /* We use char because int might match the return type of a gcc2
30406 builtin and then its argument prototype would still apply. */
30408 /* The GNU C library defines this for functions which it implements
30409 to always fail with ENOSYS. Some functions are actually named
30410 something starting with __ and the normal name is an alias. */
30411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30414 char (*f) () = $ac_func;
30423 return f != $ac_func;
30428 rm -f conftest.
$ac_objext conftest
$ac_exeext
30429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30430 (eval $ac_link) 2>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); } &&
30434 { ac_try
='test -s conftest$ac_exeext'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; }; then
30440 eval "$as_ac_var=yes"
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.
$ac_ext >&5
30445 eval "$as_ac_var=no"
30447 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30451 if test `eval echo '${'$as_ac_var'}'` = yes; then
30452 cat >>confdefs.h
<<_ACEOF
30453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30460 if test "$ac_cv_func_localtime" = "yes"; then
30461 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30462 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30463 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30464 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 cat >conftest.
$ac_ext <<_ACEOF
30468 #line $LINENO "configure"
30471 cat confdefs.h
>>conftest.
$ac_ext
30472 cat >>conftest.
$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30488 rm -f conftest.
$ac_objext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30490 (eval $ac_compile) 2>&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } &&
30494 { ac_try
='test -s conftest.$ac_objext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30501 wx_cv_struct_tm_has_gmtoff
=yes
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.
$ac_ext >&5
30507 wx_cv_struct_tm_has_gmtoff
=no
30510 rm -f conftest.
$ac_objext conftest.
$ac_ext
30513 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30514 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30517 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30518 cat >>confdefs.h
<<\_ACEOF
30519 #define WX_GMTOFF_IN_TM 1
30526 for ac_func
in gettimeofday ftime
30528 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30529 echo "$as_me:$LINENO: checking for $ac_func" >&5
30530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30531 if eval "test \"\${$as_ac_var+set}\" = set"; then
30532 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 cat >conftest.
$ac_ext <<_ACEOF
30535 #line $LINENO "configure"
30538 cat confdefs.h
>>conftest.
$ac_ext
30539 cat >>conftest.
$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 /* System header to define __stub macros and hopefully few prototypes,
30542 which can conflict with char $ac_func (); below.
30543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30544 <limits.h> exists even on freestanding compilers. */
30546 # include <limits.h>
30548 # include <assert.h>
30550 /* Override any gcc2 internal prototype to avoid an error. */
30555 /* We use char because int might match the return type of a gcc2
30556 builtin and then its argument prototype would still apply. */
30558 /* The GNU C library defines this for functions which it implements
30559 to always fail with ENOSYS. Some functions are actually named
30560 something starting with __ and the normal name is an alias. */
30561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30564 char (*f) () = $ac_func;
30573 return f != $ac_func;
30578 rm -f conftest.
$ac_objext conftest
$ac_exeext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30580 (eval $ac_link) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try
='test -s conftest$ac_exeext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 eval "$as_ac_var=yes"
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.
$ac_ext >&5
30595 eval "$as_ac_var=no"
30597 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30601 if test `eval echo '${'$as_ac_var'}'` = yes; then
30602 cat >>confdefs.h
<<_ACEOF
30603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30610 if test "$ac_cv_func_gettimeofday" = "yes"; then
30611 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30612 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30613 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30614 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 ac_cpp
='$CXXCPP $CPPFLAGS'
30621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30626 cat >conftest.
$ac_ext <<_ACEOF
30627 #line $LINENO "configure"
30630 cat confdefs.h
>>conftest.
$ac_ext
30631 cat >>conftest.
$ac_ext <<_ACEOF
30632 /* end confdefs.h. */
30634 #include <sys/time.h>
30635 #include <unistd.h>
30642 gettimeofday(&tv, NULL);
30648 rm -f conftest.
$ac_objext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30650 (eval $ac_compile) 2>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } &&
30654 { ac_try
='test -s conftest.$ac_objext'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; }; then
30660 wx_cv_func_gettimeofday_has_2_args
=yes
30662 echo "$as_me: failed program was:" >&5
30663 sed 's/^/| /' conftest.
$ac_ext >&5
30665 cat >conftest.
$ac_ext <<_ACEOF
30666 #line $LINENO "configure"
30669 cat confdefs.h
>>conftest.
$ac_ext
30670 cat >>conftest.
$ac_ext <<_ACEOF
30671 /* end confdefs.h. */
30673 #include <sys/time.h>
30674 #include <unistd.h>
30687 rm -f conftest.
$ac_objext
30688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30689 (eval $ac_compile) 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); } &&
30693 { ac_try
='test -s conftest.$ac_objext'
30694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30695 (eval $ac_try) 2>&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); }; }; then
30699 wx_cv_func_gettimeofday_has_2_args
=no
30701 echo "$as_me: failed program was:" >&5
30702 sed 's/^/| /' conftest.
$ac_ext >&5
30705 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30706 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30707 wx_cv_func_gettimeofday_has_2_args
=unknown
30711 rm -f conftest.
$ac_objext conftest.
$ac_ext
30714 rm -f conftest.
$ac_objext conftest.
$ac_ext
30716 ac_cpp
='$CPP $CPPFLAGS'
30717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30723 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30724 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30726 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30727 cat >>confdefs.h
<<\_ACEOF
30728 #define WX_GETTIMEOFDAY_NO_TZ 1
30734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30738 if test "$wxUSE_SOCKETS" = "yes"; then
30739 if test "$wxUSE_MGL" = "1"; then
30740 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30741 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30746 if test "$wxUSE_SOCKETS" = "yes"; then
30747 if test "$TOOLKIT" != "MSW"; then
30748 echo "$as_me:$LINENO: checking for socket" >&5
30749 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30750 if test "${ac_cv_func_socket+set}" = set; then
30751 echo $ECHO_N "(cached) $ECHO_C" >&6
30753 cat >conftest.
$ac_ext <<_ACEOF
30754 #line $LINENO "configure"
30757 cat confdefs.h
>>conftest.
$ac_ext
30758 cat >>conftest.
$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30760 /* System header to define __stub macros and hopefully few prototypes,
30761 which can conflict with char socket (); below.
30762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30763 <limits.h> exists even on freestanding compilers. */
30765 # include <limits.h>
30767 # include <assert.h>
30769 /* Override any gcc2 internal prototype to avoid an error. */
30774 /* We use char because int might match the return type of a gcc2
30775 builtin and then its argument prototype would still apply. */
30777 /* The GNU C library defines this for functions which it implements
30778 to always fail with ENOSYS. Some functions are actually named
30779 something starting with __ and the normal name is an alias. */
30780 #if defined (__stub_socket) || defined (__stub___socket)
30783 char (*f) () = socket;
30792 return f != socket;
30797 rm -f conftest.
$ac_objext conftest
$ac_exeext
30798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30799 (eval $ac_link) 2>&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } &&
30803 { ac_try
='test -s conftest$ac_exeext'
30804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30805 (eval $ac_try) 2>&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; }; then
30809 ac_cv_func_socket
=yes
30811 echo "$as_me: failed program was:" >&5
30812 sed 's/^/| /' conftest.
$ac_ext >&5
30814 ac_cv_func_socket
=no
30816 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30818 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30819 echo "${ECHO_T}$ac_cv_func_socket" >&6
30820 if test $ac_cv_func_socket = yes; then
30823 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30824 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30825 if test "${ac_cv_lib_socket_socket+set}" = set; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 ac_check_lib_save_LIBS
=$LIBS
30829 LIBS
="-lsocket $LIBS"
30830 cat >conftest.
$ac_ext <<_ACEOF
30831 #line $LINENO "configure"
30834 cat confdefs.h
>>conftest.
$ac_ext
30835 cat >>conftest.
$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30838 /* Override any gcc2 internal prototype to avoid an error. */
30842 /* We use char because int might match the return type of a gcc2
30843 builtin and then its argument prototype would still apply. */
30853 rm -f conftest.
$ac_objext conftest
$ac_exeext
30854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30855 (eval $ac_link) 2>&5
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); } &&
30859 { ac_try
='test -s conftest$ac_exeext'
30860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; }; then
30865 ac_cv_lib_socket_socket
=yes
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.
$ac_ext >&5
30870 ac_cv_lib_socket_socket
=no
30872 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30873 LIBS
=$ac_check_lib_save_LIBS
30875 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30876 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30877 if test $ac_cv_lib_socket_socket = yes; then
30878 if test "$INET_LINK" != " -lsocket"; then
30879 INET_LINK
="$INET_LINK -lsocket"
30883 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30884 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30896 if test "$wxUSE_SOCKETS" = "yes" ; then
30897 if test "$TOOLKIT" != "MSW"; then
30898 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30899 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30900 if test "${wx_cv_type_getsockname3+set}" = set; then
30901 echo $ECHO_N "(cached) $ECHO_C" >&6
30904 cat >conftest.
$ac_ext <<_ACEOF
30905 #line $LINENO "configure"
30908 cat confdefs.h
>>conftest.
$ac_ext
30909 cat >>conftest.
$ac_ext <<_ACEOF
30910 /* end confdefs.h. */
30912 #include <sys/types.h>
30913 #include <sys/socket.h>
30920 getsockname(0, 0, &len);
30926 rm -f conftest.
$ac_objext
30927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30928 (eval $ac_compile) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try
='test -s conftest.$ac_objext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 wx_cv_type_getsockname3
=socklen_t
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.
$ac_ext >&5
30944 CFLAGS_OLD
="$CFLAGS"
30945 if test "$GCC" = yes ; then
30946 CFLAGS
="$CFLAGS -Werror"
30949 cat >conftest.
$ac_ext <<_ACEOF
30950 #line $LINENO "configure"
30953 cat confdefs.h
>>conftest.
$ac_ext
30954 cat >>conftest.
$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30957 #include <sys/types.h>
30958 #include <sys/socket.h>
30965 getsockname(0, 0, &len);
30971 rm -f conftest.
$ac_objext
30972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30973 (eval $ac_compile) 2>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try
='test -s conftest.$ac_objext'
30978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30979 (eval $ac_try) 2>&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); }; }; then
30983 wx_cv_type_getsockname3
=size_t
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.
$ac_ext >&5
30988 cat >conftest.
$ac_ext <<_ACEOF
30989 #line $LINENO "configure"
30992 cat confdefs.h
>>conftest.
$ac_ext
30993 cat >>conftest.
$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30996 #include <sys/types.h>
30997 #include <sys/socket.h>
31004 getsockname(0, 0, &len);
31010 rm -f conftest.
$ac_objext
31011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31012 (eval $ac_compile) 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try
='test -s conftest.$ac_objext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 wx_cv_type_getsockname3
=int
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.
$ac_ext >&5
31027 wx_cv_type_getsockname3
=unknown
31030 rm -f conftest.
$ac_objext conftest.
$ac_ext
31033 rm -f conftest.
$ac_objext conftest.
$ac_ext
31035 CFLAGS
="$CFLAGS_OLD"
31039 rm -f conftest.
$ac_objext conftest.
$ac_ext
31042 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31043 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31045 if test "$wx_cv_type_getsockname3" = "unknown"; then
31047 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31048 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31050 cat >>confdefs.h
<<_ACEOF
31051 #define SOCKLEN_T $wx_cv_type_getsockname3
31058 if test "$wxUSE_SOCKETS" = "yes" ; then
31059 cat >>confdefs.h
<<\_ACEOF
31060 #define wxUSE_SOCKETS 1
31063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31067 if test "$wxUSE_GUI" = "yes"; then
31069 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31070 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31071 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31074 if test "$TOOLKIT" = "MOTIF"; then
31075 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31076 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31079 if test "$TOOLKIT" = "X11"; then
31080 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31081 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31085 if test "$TOOLKIT" != "MSW"; then
31086 if test "$wxUSE_JOYSTICK" = "yes"; then
31088 for ac_header
in linux
/joystick.h
31090 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31092 echo "$as_me:$LINENO: checking for $ac_header" >&5
31093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31100 # Is the header compilable?
31101 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31103 cat >conftest.
$ac_ext <<_ACEOF
31104 #line $LINENO "configure"
31107 cat confdefs.h
>>conftest.
$ac_ext
31108 cat >>conftest.
$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 $ac_includes_default
31111 #include <$ac_header>
31113 rm -f conftest.
$ac_objext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31115 (eval $ac_compile) 2>&5
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); } &&
31119 { ac_try
='test -s conftest.$ac_objext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125 ac_header_compiler
=yes
31127 echo "$as_me: failed program was:" >&5
31128 sed 's/^/| /' conftest.
$ac_ext >&5
31130 ac_header_compiler
=no
31132 rm -f conftest.
$ac_objext conftest.
$ac_ext
31133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31134 echo "${ECHO_T}$ac_header_compiler" >&6
31136 # Is the header present?
31137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31139 cat >conftest.
$ac_ext <<_ACEOF
31140 #line $LINENO "configure"
31143 cat confdefs.h
>>conftest.
$ac_ext
31144 cat >>conftest.
$ac_ext <<_ACEOF
31145 /* end confdefs.h. */
31146 #include <$ac_header>
31148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31151 grep -v '^ *+' conftest.er1
>conftest.err
31153 cat conftest.err
>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } >/dev
/null
; then
31156 if test -s conftest.err
; then
31157 ac_cpp_err
=$ac_c_preproc_warn_flag
31164 if test -z "$ac_cpp_err"; then
31165 ac_header_preproc
=yes
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.
$ac_ext >&5
31170 ac_header_preproc
=no
31172 rm -f conftest.err conftest.
$ac_ext
31173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31174 echo "${ECHO_T}$ac_header_preproc" >&6
31176 # So? What about this header?
31177 case $ac_header_compiler:$ac_header_preproc in
31179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31185 ## ------------------------------------ ##
31186 ## Report this to bug-autoconf@gnu.org. ##
31187 ## ------------------------------------ ##
31190 sed "s/^/$as_me: WARNING: /" >&2
31193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31201 ## ------------------------------------ ##
31202 ## Report this to bug-autoconf@gnu.org. ##
31203 ## ------------------------------------ ##
31206 sed "s/^/$as_me: WARNING: /" >&2
31209 echo "$as_me:$LINENO: checking for $ac_header" >&5
31210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31214 eval "$as_ac_Header=$ac_header_preproc"
31216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31221 cat >>confdefs.h
<<_ACEOF
31222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31229 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31231 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31232 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31237 if test "$wxUSE_JOYSTICK" = "yes"; then
31238 cat >>confdefs.h
<<\_ACEOF
31239 #define wxUSE_JOYSTICK 1
31242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31247 if test "$TOOLKIT" != "MSW"; then
31251 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31252 if test "$USE_DARWIN" = 1; then
31256 for ac_func
in dlopen
31258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31259 echo "$as_me:$LINENO: checking for $ac_func" >&5
31260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31261 if eval "test \"\${$as_ac_var+set}\" = set"; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31264 cat >conftest.
$ac_ext <<_ACEOF
31265 #line $LINENO "configure"
31268 cat confdefs.h
>>conftest.
$ac_ext
31269 cat >>conftest.
$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31276 # include <limits.h>
31278 # include <assert.h>
31280 /* Override any gcc2 internal prototype to avoid an error. */
31285 /* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31288 /* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31294 char (*f) () = $ac_func;
31303 return f != $ac_func;
31308 rm -f conftest.
$ac_objext conftest
$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } &&
31314 { ac_try
='test -s conftest$ac_exeext'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; }; then
31320 eval "$as_ac_var=yes"
31322 echo "$as_me: failed program was:" >&5
31323 sed 's/^/| /' conftest.
$ac_ext >&5
31325 eval "$as_ac_var=no"
31327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31331 if test `eval echo '${'$as_ac_var'}'` = yes; then
31332 cat >>confdefs.h
<<_ACEOF
31333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31336 cat >>confdefs.h
<<\_ACEOF
31337 #define HAVE_DLOPEN 1
31344 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31345 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31346 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31349 ac_check_lib_save_LIBS
=$LIBS
31351 cat >conftest.
$ac_ext <<_ACEOF
31352 #line $LINENO "configure"
31355 cat confdefs.h
>>conftest.
$ac_ext
31356 cat >>conftest.
$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31359 /* Override any gcc2 internal prototype to avoid an error. */
31363 /* We use char because int might match the return type of a gcc2
31364 builtin and then its argument prototype would still apply. */
31374 rm -f conftest.
$ac_objext conftest
$ac_exeext
31375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31376 (eval $ac_link) 2>&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); } &&
31380 { ac_try
='test -s conftest$ac_exeext'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; }; then
31386 ac_cv_lib_dl_dlopen
=yes
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.
$ac_ext >&5
31391 ac_cv_lib_dl_dlopen
=no
31393 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31394 LIBS
=$ac_check_lib_save_LIBS
31396 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31397 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31398 if test $ac_cv_lib_dl_dlopen = yes; then
31400 cat >>confdefs.h
<<\_ACEOF
31401 #define HAVE_DLOPEN 1
31405 DL_LINK
=" -ldl$DL_LINK"
31410 for ac_func
in shl_load
31412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31413 echo "$as_me:$LINENO: checking for $ac_func" >&5
31414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31415 if eval "test \"\${$as_ac_var+set}\" = set"; then
31416 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 cat >conftest.
$ac_ext <<_ACEOF
31419 #line $LINENO "configure"
31422 cat confdefs.h
>>conftest.
$ac_ext
31423 cat >>conftest.
$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425 /* System header to define __stub macros and hopefully few prototypes,
31426 which can conflict with char $ac_func (); below.
31427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31428 <limits.h> exists even on freestanding compilers. */
31430 # include <limits.h>
31432 # include <assert.h>
31434 /* Override any gcc2 internal prototype to avoid an error. */
31439 /* We use char because int might match the return type of a gcc2
31440 builtin and then its argument prototype would still apply. */
31442 /* The GNU C library defines this for functions which it implements
31443 to always fail with ENOSYS. Some functions are actually named
31444 something starting with __ and the normal name is an alias. */
31445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31448 char (*f) () = $ac_func;
31457 return f != $ac_func;
31462 rm -f conftest.
$ac_objext conftest
$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464 (eval $ac_link) 2>&5
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); } &&
31468 { ac_try
='test -s conftest$ac_exeext'
31469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31470 (eval $ac_try) 2>&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); }; }; then
31474 eval "$as_ac_var=yes"
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.
$ac_ext >&5
31479 eval "$as_ac_var=no"
31481 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31485 if test `eval echo '${'$as_ac_var'}'` = yes; then
31486 cat >>confdefs.h
<<_ACEOF
31487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31490 cat >>confdefs.h
<<\_ACEOF
31491 #define HAVE_SHL_LOAD 1
31498 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31499 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31500 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31501 echo $ECHO_N "(cached) $ECHO_C" >&6
31503 ac_check_lib_save_LIBS
=$LIBS
31504 LIBS
="-lshl_load $LIBS"
31505 cat >conftest.
$ac_ext <<_ACEOF
31506 #line $LINENO "configure"
31509 cat confdefs.h
>>conftest.
$ac_ext
31510 cat >>conftest.
$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31513 /* Override any gcc2 internal prototype to avoid an error. */
31517 /* We use char because int might match the return type of a gcc2
31518 builtin and then its argument prototype would still apply. */
31528 rm -f conftest.
$ac_objext conftest
$ac_exeext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31530 (eval $ac_link) 2>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } &&
31534 { ac_try
='test -s conftest$ac_exeext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 ac_cv_lib_shl_load_dld
=yes
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.
$ac_ext >&5
31545 ac_cv_lib_shl_load_dld
=no
31547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31548 LIBS
=$ac_check_lib_save_LIBS
31550 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31551 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31552 if test $ac_cv_lib_shl_load_dld = yes; then
31555 DL_LINK
=" -ldld$DL_LINK"
31571 if test "$HAVE_DL_FUNCS" = 1; then
31573 for ac_func
in dlerror
31575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31576 echo "$as_me:$LINENO: checking for $ac_func" >&5
31577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31578 if eval "test \"\${$as_ac_var+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31581 cat >conftest.
$ac_ext <<_ACEOF
31582 #line $LINENO "configure"
31585 cat confdefs.h
>>conftest.
$ac_ext
31586 cat >>conftest.
$ac_ext <<_ACEOF
31587 /* end confdefs.h. */
31588 /* System header to define __stub macros and hopefully few prototypes,
31589 which can conflict with char $ac_func (); below.
31590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31591 <limits.h> exists even on freestanding compilers. */
31593 # include <limits.h>
31595 # include <assert.h>
31597 /* Override any gcc2 internal prototype to avoid an error. */
31602 /* We use char because int might match the return type of a gcc2
31603 builtin and then its argument prototype would still apply. */
31605 /* The GNU C library defines this for functions which it implements
31606 to always fail with ENOSYS. Some functions are actually named
31607 something starting with __ and the normal name is an alias. */
31608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31611 char (*f) () = $ac_func;
31620 return f != $ac_func;
31625 rm -f conftest.
$ac_objext conftest
$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627 (eval $ac_link) 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } &&
31631 { ac_try
='test -s conftest$ac_exeext'
31632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31633 (eval $ac_try) 2>&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; }; then
31637 eval "$as_ac_var=yes"
31639 echo "$as_me: failed program was:" >&5
31640 sed 's/^/| /' conftest.
$ac_ext >&5
31642 eval "$as_ac_var=no"
31644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31648 if test `eval echo '${'$as_ac_var'}'` = yes; then
31649 cat >>confdefs.h
<<_ACEOF
31650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31652 cat >>confdefs.h
<<\_ACEOF
31653 #define HAVE_DLERROR 1
31657 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31658 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31659 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31660 echo $ECHO_N "(cached) $ECHO_C" >&6
31662 ac_check_lib_save_LIBS
=$LIBS
31664 cat >conftest.
$ac_ext <<_ACEOF
31665 #line $LINENO "configure"
31668 cat confdefs.h
>>conftest.
$ac_ext
31669 cat >>conftest.
$ac_ext <<_ACEOF
31670 /* end confdefs.h. */
31672 /* Override any gcc2 internal prototype to avoid an error. */
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31687 rm -f conftest.
$ac_objext conftest
$ac_exeext
31688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31689 (eval $ac_link) 2>&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } &&
31693 { ac_try
='test -s conftest$ac_exeext'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; }; then
31699 ac_cv_lib_dl_dlerror
=yes
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.
$ac_ext >&5
31704 ac_cv_lib_dl_dlerror
=no
31706 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31707 LIBS
=$ac_check_lib_save_LIBS
31709 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31710 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31711 if test $ac_cv_lib_dl_dlerror = yes; then
31712 cat >>confdefs.h
<<\_ACEOF
31713 #define HAVE_DLERROR 1
31724 if test "$HAVE_DL_FUNCS" = 0; then
31725 if test "$HAVE_SHL_FUNCS" = 0; then
31726 if test "$USE_UNIX" = 1; then
31727 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31728 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31729 wxUSE_DYNAMIC_LOADER
=no
31730 wxUSE_DYNLIB_CLASS
=no
31732 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31733 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31740 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31741 cat >>confdefs.h
<<\_ACEOF
31742 #define wxUSE_DYNAMIC_LOADER 1
31745 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31746 cat >>confdefs.h
<<\_ACEOF
31747 #define wxUSE_DYNLIB_CLASS 1
31753 if test "$wxUSE_FONTMAP" = "yes" ; then
31754 cat >>confdefs.h
<<\_ACEOF
31755 #define wxUSE_FONTMAP 1
31760 if test "$wxUSE_UNICODE" = "yes" ; then
31761 cat >>confdefs.h
<<\_ACEOF
31762 #define wxUSE_UNICODE 1
31766 if test "$wxUSE_MSW" != 1; then
31767 wxUSE_UNICODE_MSLU
=no
31770 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31771 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31772 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31773 if test "${ac_cv_lib_unicows_main+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31776 ac_check_lib_save_LIBS
=$LIBS
31777 LIBS
="-lunicows $LIBS"
31778 cat >conftest.
$ac_ext <<_ACEOF
31779 #line $LINENO "configure"
31782 cat confdefs.h
>>conftest.
$ac_ext
31783 cat >>conftest.
$ac_ext <<_ACEOF
31784 /* end confdefs.h. */
31795 rm -f conftest.
$ac_objext conftest
$ac_exeext
31796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31797 (eval $ac_link) 2>&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } &&
31801 { ac_try
='test -s conftest$ac_exeext'
31802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31803 (eval $ac_try) 2>&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; }; then
31807 ac_cv_lib_unicows_main
=yes
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.
$ac_ext >&5
31812 ac_cv_lib_unicows_main
=no
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31815 LIBS
=$ac_check_lib_save_LIBS
31817 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31818 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31819 if test $ac_cv_lib_unicows_main = yes; then
31821 cat >>confdefs.h
<<\_ACEOF
31822 #define wxUSE_UNICODE_MSLU 1
31828 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31829 Applications will only run on Windows NT/2000/XP!" >&5
31830 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31831 Applications will only run on Windows NT/2000/XP!" >&2;}
31832 wxUSE_UNICODE_MSLU
=no
31839 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31840 cat >>confdefs.h
<<\_ACEOF
31841 #define wxUSE_EXPERIMENTAL_PRINTF 1
31847 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31848 cat >>confdefs.h
<<\_ACEOF
31849 #define wxUSE_POSTSCRIPT 1
31854 cat >>confdefs.h
<<\_ACEOF
31855 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31859 cat >>confdefs.h
<<\_ACEOF
31860 #define wxUSE_NORMALIZED_PS_FONTS 1
31865 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31866 cat >>confdefs.h
<<\_ACEOF
31867 #define wxUSE_CONSTRAINTS 1
31870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
31873 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31876 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31877 cat >>confdefs.h
<<\_ACEOF
31878 #define wxUSE_MDI_ARCHITECTURE 1
31881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
31885 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31886 cat >>confdefs.h
<<\_ACEOF
31887 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
31891 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
31896 if test "$wxUSE_HELP" = "yes"; then
31897 cat >>confdefs.h
<<\_ACEOF
31898 #define wxUSE_HELP 1
31901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
31903 if test "$wxUSE_MSW" = 1; then
31904 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31905 cat >>confdefs.h
<<\_ACEOF
31906 #define wxUSE_MS_HTML_HELP 1
31912 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31913 if test "$wxUSE_HTML" = "yes"; then
31914 cat >>confdefs.h
<<\_ACEOF
31915 #define wxUSE_WXHTML_HELP 1
31919 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31920 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31921 wxUSE_WXHTML_HELP
=no
31926 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31928 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31929 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31931 cat >>confdefs.h
<<\_ACEOF
31932 #define wxUSE_PRINTING_ARCHITECTURE 1
31936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
31939 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31940 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31941 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31942 { (exit 1); exit 1; }; }
31946 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
31947 -o "$wxUSE_CLIPBOARD" = "yes" \
31948 -o "$wxUSE_OLE" = "yes" \
31949 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
31951 for ac_header
in ole2.h
31953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31955 echo "$as_me:$LINENO: checking for $ac_header" >&5
31956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31963 # Is the header compilable?
31964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31966 cat >conftest.
$ac_ext <<_ACEOF
31967 #line $LINENO "configure"
31970 cat confdefs.h
>>conftest.
$ac_ext
31971 cat >>conftest.
$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31973 $ac_includes_default
31974 #include <$ac_header>
31976 rm -f conftest.
$ac_objext
31977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31978 (eval $ac_compile) 2>&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } &&
31982 { ac_try
='test -s conftest.$ac_objext'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; }; then
31988 ac_header_compiler
=yes
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.
$ac_ext >&5
31993 ac_header_compiler
=no
31995 rm -f conftest.
$ac_objext conftest.
$ac_ext
31996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31997 echo "${ECHO_T}$ac_header_compiler" >&6
31999 # Is the header present?
32000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32002 cat >conftest.
$ac_ext <<_ACEOF
32003 #line $LINENO "configure"
32006 cat confdefs.h
>>conftest.
$ac_ext
32007 cat >>conftest.
$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 #include <$ac_header>
32011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32014 grep -v '^ *+' conftest.er1
>conftest.err
32016 cat conftest.err
>&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } >/dev
/null
; then
32019 if test -s conftest.err
; then
32020 ac_cpp_err
=$ac_c_preproc_warn_flag
32027 if test -z "$ac_cpp_err"; then
32028 ac_header_preproc
=yes
32030 echo "$as_me: failed program was:" >&5
32031 sed 's/^/| /' conftest.
$ac_ext >&5
32033 ac_header_preproc
=no
32035 rm -f conftest.err conftest.
$ac_ext
32036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32037 echo "${ECHO_T}$ac_header_preproc" >&6
32039 # So? What about this header?
32040 case $ac_header_compiler:$ac_header_preproc in
32042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32048 ## ------------------------------------ ##
32049 ## Report this to bug-autoconf@gnu.org. ##
32050 ## ------------------------------------ ##
32053 sed "s/^/$as_me: WARNING: /" >&2
32056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32064 ## ------------------------------------ ##
32065 ## Report this to bug-autoconf@gnu.org. ##
32066 ## ------------------------------------ ##
32069 sed "s/^/$as_me: WARNING: /" >&2
32072 echo "$as_me:$LINENO: checking for $ac_header" >&5
32073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 eval "$as_ac_Header=$ac_header_preproc"
32079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32084 cat >>confdefs.h
<<_ACEOF
32085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32093 if test "$ac_cv_header_ole2_h" = "yes" ; then
32094 if test "$GCC" = yes ; then
32098 ac_cpp
='$CXXCPP $CPPFLAGS'
32099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32104 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32105 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32106 cat >conftest.
$ac_ext <<_ACEOF
32107 #line $LINENO "configure"
32110 cat confdefs.h
>>conftest.
$ac_ext
32111 cat >>conftest.
$ac_ext <<_ACEOF
32112 /* end confdefs.h. */
32113 #include <windows.h>
32123 rm -f conftest.
$ac_objext
32124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32125 (eval $ac_compile) 2>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } &&
32129 { ac_try
='test -s conftest.$ac_objext'
32130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131 (eval $ac_try) 2>&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); }; }; then
32135 echo "$as_me:$LINENO: result: no" >&5
32136 echo "${ECHO_T}no" >&6
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.
$ac_ext >&5
32141 echo "$as_me:$LINENO: result: yes" >&5
32142 echo "${ECHO_T}yes" >&6
32143 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32145 rm -f conftest.
$ac_objext conftest.
$ac_ext
32147 ac_cpp
='$CPP $CPPFLAGS'
32148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32152 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32153 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32154 cat >>confdefs.h
<<\_ACEOF
32155 #define wxUSE_OLE 1
32161 cat >>confdefs.h
<<\_ACEOF
32162 #define wxUSE_DATAOBJ 1
32166 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32167 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32170 wxUSE_DRAG_AND_DROP
=no
32175 if test "$wxUSE_METAFILE" = "yes"; then
32176 cat >>confdefs.h
<<\_ACEOF
32177 #define wxUSE_METAFILE 1
32181 cat >>confdefs.h
<<\_ACEOF
32182 #define wxUSE_ENH_METAFILE 1
32188 if test "$wxUSE_IPC" = "yes"; then
32189 if test "$wxUSE_SOCKETS" != "yes"; then
32190 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32191 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32194 cat >>confdefs.h
<<\_ACEOF
32195 #define wxUSE_IPC 1
32200 if test "$wxUSE_CLIPBOARD" = "yes"; then
32201 if test "$wxUSE_MGL" = 1; then
32202 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32203 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32207 if test "$wxUSE_CLIPBOARD" = "yes"; then
32208 cat >>confdefs.h
<<\_ACEOF
32209 #define wxUSE_CLIPBOARD 1
32213 cat >>confdefs.h
<<\_ACEOF
32214 #define wxUSE_DATAOBJ 1
32220 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32221 if test "$wxUSE_GTK" = 1; then
32222 if test "$WXGTK12" != 1; then
32223 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32224 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32225 wxUSE_DRAG_AND_DROP
=no
32229 if test "$wxUSE_MOTIF" = 1; then
32230 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32231 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32232 wxUSE_DRAG_AND_DROP
=no
32235 if test "$wxUSE_X11" = 1; then
32236 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32237 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32238 wxUSE_DRAG_AND_DROP
=no
32241 if test "$wxUSE_MGL" = 1; then
32242 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32243 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32244 wxUSE_DRAG_AND_DROP
=no
32247 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32248 cat >>confdefs.h
<<\_ACEOF
32249 #define wxUSE_DRAG_AND_DROP 1
32252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32257 if test "$wxUSE_SPLINES" = "yes" ; then
32258 cat >>confdefs.h
<<\_ACEOF
32259 #define wxUSE_SPLINES 1
32266 if test "$wxUSE_CONTROLS" = "yes"; then
32270 if test "$wxUSE_ACCEL" = "yes"; then
32271 cat >>confdefs.h
<<\_ACEOF
32272 #define wxUSE_ACCEL 1
32278 if test "$wxUSE_BUTTON" = "yes"; then
32279 cat >>confdefs.h
<<\_ACEOF
32280 #define wxUSE_BUTTON 1
32286 if test "$wxUSE_BMPBUTTON" = "yes"; then
32287 cat >>confdefs.h
<<\_ACEOF
32288 #define wxUSE_BMPBUTTON 1
32294 if test "$wxUSE_CALCTRL" = "yes"; then
32295 cat >>confdefs.h
<<\_ACEOF
32296 #define wxUSE_CALENDARCTRL 1
32300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32303 if test "$wxUSE_CARET" = "yes"; then
32304 cat >>confdefs.h
<<\_ACEOF
32305 #define wxUSE_CARET 1
32309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32312 if test "$wxUSE_COMBOBOX" = "yes"; then
32313 cat >>confdefs.h
<<\_ACEOF
32314 #define wxUSE_COMBOBOX 1
32320 if test "$wxUSE_CHOICE" = "yes"; then
32321 cat >>confdefs.h
<<\_ACEOF
32322 #define wxUSE_CHOICE 1
32328 if test "$wxUSE_CHECKBOX" = "yes"; then
32329 cat >>confdefs.h
<<\_ACEOF
32330 #define wxUSE_CHECKBOX 1
32336 if test "$wxUSE_CHECKLST" = "yes"; then
32337 cat >>confdefs.h
<<\_ACEOF
32338 #define wxUSE_CHECKLISTBOX 1
32342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32345 if test "$wxUSE_DISPLAY" = "yes"; then
32346 cat >>confdefs.h
<<\_ACEOF
32347 #define wxUSE_DISPLAY 1
32350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32353 if test "$wxUSE_GAUGE" = "yes"; then
32354 cat >>confdefs.h
<<\_ACEOF
32355 #define wxUSE_GAUGE 1
32361 if test "$wxUSE_GRID" = "yes"; then
32362 cat >>confdefs.h
<<\_ACEOF
32363 #define wxUSE_GRID 1
32367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32370 if test "$wxUSE_IMAGLIST" = "yes"; then
32371 cat >>confdefs.h
<<\_ACEOF
32372 #define wxUSE_IMAGLIST 1
32377 if test "$wxUSE_LISTBOX" = "yes"; then
32378 cat >>confdefs.h
<<\_ACEOF
32379 #define wxUSE_LISTBOX 1
32385 if test "$wxUSE_LISTCTRL" = "yes"; then
32386 if test "$wxUSE_IMAGLIST" = "yes"; then
32387 cat >>confdefs.h
<<\_ACEOF
32388 #define wxUSE_LISTCTRL 1
32392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32394 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32395 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32399 if test "$wxUSE_NOTEBOOK" = "yes"; then
32400 cat >>confdefs.h
<<\_ACEOF
32401 #define wxUSE_NOTEBOOK 1
32405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32409 if test "$wxUSE_RADIOBOX" = "yes"; then
32410 cat >>confdefs.h
<<\_ACEOF
32411 #define wxUSE_RADIOBOX 1
32417 if test "$wxUSE_RADIOBTN" = "yes"; then
32418 cat >>confdefs.h
<<\_ACEOF
32419 #define wxUSE_RADIOBTN 1
32425 if test "$wxUSE_SASH" = "yes"; then
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define wxUSE_SASH 1
32430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32433 if test "$wxUSE_SCROLLBAR" = "yes"; then
32434 cat >>confdefs.h
<<\_ACEOF
32435 #define wxUSE_SCROLLBAR 1
32439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32442 if test "$wxUSE_SLIDER" = "yes"; then
32443 cat >>confdefs.h
<<\_ACEOF
32444 #define wxUSE_SLIDER 1
32450 if test "$wxUSE_SPINBTN" = "yes"; then
32451 cat >>confdefs.h
<<\_ACEOF
32452 #define wxUSE_SPINBTN 1
32458 if test "$wxUSE_SPINCTRL" = "yes"; then
32459 cat >>confdefs.h
<<\_ACEOF
32460 #define wxUSE_SPINCTRL 1
32466 if test "$wxUSE_SPLITTER" = "yes"; then
32467 cat >>confdefs.h
<<\_ACEOF
32468 #define wxUSE_SPLITTER 1
32471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32474 if test "$wxUSE_STATBMP" = "yes"; then
32475 cat >>confdefs.h
<<\_ACEOF
32476 #define wxUSE_STATBMP 1
32482 if test "$wxUSE_STATBOX" = "yes"; then
32483 cat >>confdefs.h
<<\_ACEOF
32484 #define wxUSE_STATBOX 1
32490 if test "$wxUSE_STATTEXT" = "yes"; then
32491 cat >>confdefs.h
<<\_ACEOF
32492 #define wxUSE_STATTEXT 1
32498 if test "$wxUSE_STATLINE" = "yes"; then
32499 cat >>confdefs.h
<<\_ACEOF
32500 #define wxUSE_STATLINE 1
32506 if test "$wxUSE_STATUSBAR" = "yes"; then
32507 cat >>confdefs.h
<<\_ACEOF
32508 #define wxUSE_STATUSBAR 1
32513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32516 if test "$wxUSE_TABDIALOG" = "yes"; then
32517 cat >>confdefs.h
<<\_ACEOF
32518 #define wxUSE_TAB_DIALOG 1
32521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32524 if test "$wxUSE_TEXTCTRL" = "yes"; then
32525 cat >>confdefs.h
<<\_ACEOF
32526 #define wxUSE_TEXTCTRL 1
32530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32534 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32535 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32536 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32539 if test "$wxUSE_UNIVERSAL" = "yes"; then
32540 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32541 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32545 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32546 cat >>confdefs.h
<<\_ACEOF
32547 #define wxUSE_TOGGLEBTN 1
32554 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_TOOLBAR_SIMPLE 1
32559 wxUSE_TOOLBAR
="yes"
32563 if test "$wxUSE_TOOLBAR" = "yes"; then
32564 cat >>confdefs.h
<<\_ACEOF
32565 #define wxUSE_TOOLBAR 1
32570 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32571 wxUSE_TOOLBAR_NATIVE
="yes"
32574 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32575 cat >>confdefs.h
<<\_ACEOF
32576 #define wxUSE_TOOLBAR_NATIVE 1
32582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32585 if test "$wxUSE_TOOLTIPS" = "yes"; then
32586 if test "$wxUSE_MOTIF" = 1; then
32587 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32588 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32590 if test "$wxUSE_UNIVERSAL" = "yes"; then
32591 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32592 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32594 cat >>confdefs.h
<<\_ACEOF
32595 #define wxUSE_TOOLTIPS 1
32602 if test "$wxUSE_TREECTRL" = "yes"; then
32603 if test "$wxUSE_IMAGLIST" = "yes"; then
32604 cat >>confdefs.h
<<\_ACEOF
32605 #define wxUSE_TREECTRL 1
32609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32611 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32612 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32616 if test "$wxUSE_POPUPWIN" = "yes"; then
32617 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32618 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32619 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32621 if test "$wxUSE_MOTIF" = 1; then
32622 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32623 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32625 if test "$wxUSE_PM" = 1; then
32626 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32627 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32629 cat >>confdefs.h
<<\_ACEOF
32630 #define wxUSE_POPUPWIN 1
32640 if test "$wxUSE_TIPWINDOW" = "yes"; then
32641 if test "$wxUSE_PM" = 1; then
32642 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32643 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32645 cat >>confdefs.h
<<\_ACEOF
32646 #define wxUSE_TIPWINDOW 1
32652 if test "$USES_CONTROLS" = 1; then
32653 cat >>confdefs.h
<<\_ACEOF
32654 #define wxUSE_CONTROLS 1
32661 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32662 cat >>confdefs.h
<<\_ACEOF
32663 #define wxUSE_DRAGIMAGE 1
32666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32669 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32670 cat >>confdefs.h
<<\_ACEOF
32671 #define wxUSE_ACCESSIBILITY 1
32674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32677 if test "$wxUSE_MENUS" = "yes"; then
32678 cat >>confdefs.h
<<\_ACEOF
32679 #define wxUSE_MENUS 1
32682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32685 if test "$wxUSE_METAFILE" = "yes"; then
32686 cat >>confdefs.h
<<\_ACEOF
32687 #define wxUSE_METAFILE 1
32692 if test "$wxUSE_MIMETYPE" = "yes"; then
32693 cat >>confdefs.h
<<\_ACEOF
32694 #define wxUSE_MIMETYPE 1
32699 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32700 cat >>confdefs.h
<<\_ACEOF
32701 #define wxUSE_SYSTEM_OPTIONS 1
32704 if test "$TOOLKIT" = "MSW"; then
32705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32710 if test "$wxUSE_PROTOCOL" = "yes"; then
32711 if test "$wxUSE_SOCKETS" != "yes"; then
32712 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32713 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32717 if test "$wxUSE_PROTOCOL" = "yes"; then
32718 cat >>confdefs.h
<<\_ACEOF
32719 #define wxUSE_PROTOCOL 1
32723 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32724 cat >>confdefs.h
<<\_ACEOF
32725 #define wxUSE_PROTOCOL_HTTP 1
32729 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32730 cat >>confdefs.h
<<\_ACEOF
32731 #define wxUSE_PROTOCOL_FTP 1
32735 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxUSE_PROTOCOL_FILE 1
32744 if test "$wxUSE_URL" = "yes"; then
32745 if test "$wxUSE_PROTOCOL" != "yes"; then
32746 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32747 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32750 if test "$wxUSE_URL" = "yes"; then
32751 cat >>confdefs.h
<<\_ACEOF
32752 #define wxUSE_URL 1
32758 if test "$wxUSE_MINIFRAME" = "yes"; then
32759 cat >>confdefs.h
<<\_ACEOF
32760 #define wxUSE_MINIFRAME 1
32763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32766 if test "$wxUSE_HTML" = "yes"; then
32767 cat >>confdefs.h
<<\_ACEOF
32768 #define wxUSE_HTML 1
32771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html htlbox"
32774 if test "$wxUSE_VALIDATORS" = "yes"; then
32775 cat >>confdefs.h
<<\_ACEOF
32776 #define wxUSE_VALIDATORS 1
32779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32782 if test "$wxUSE_PALETTE" = "yes" ; then
32783 cat >>confdefs.h
<<\_ACEOF
32784 #define wxUSE_PALETTE 1
32789 if test "$wxUSE_IMAGE" = "yes" ; then
32790 cat >>confdefs.h
<<\_ACEOF
32791 #define wxUSE_IMAGE 1
32796 if test "$wxUSE_GIF" = "yes" ; then
32797 cat >>confdefs.h
<<\_ACEOF
32798 #define wxUSE_GIF 1
32803 if test "$wxUSE_PCX" = "yes" ; then
32804 cat >>confdefs.h
<<\_ACEOF
32805 #define wxUSE_PCX 1
32810 if test "$wxUSE_IFF" = "yes" ; then
32811 cat >>confdefs.h
<<\_ACEOF
32812 #define wxUSE_IFF 1
32817 if test "$wxUSE_PNM" = "yes" ; then
32818 cat >>confdefs.h
<<\_ACEOF
32819 #define wxUSE_PNM 1
32824 if test "$wxUSE_XPM" = "yes" ; then
32825 cat >>confdefs.h
<<\_ACEOF
32826 #define wxUSE_XPM 1
32831 if test "$wxUSE_ICO_CUR" = "yes" ; then
32832 cat >>confdefs.h
<<\_ACEOF
32833 #define wxUSE_ICO_CUR 1
32838 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32839 LIBS
=" -lunicows $LIBS"
32843 if test "$wxUSE_CHOICEDLG" = "yes"; then
32844 cat >>confdefs.h
<<\_ACEOF
32845 #define wxUSE_CHOICEDLG 1
32850 if test "$wxUSE_COLOURDLG" = "yes"; then
32851 cat >>confdefs.h
<<\_ACEOF
32852 #define wxUSE_COLOURDLG 1
32857 if test "$wxUSE_FILEDLG" = "yes"; then
32858 cat >>confdefs.h
<<\_ACEOF
32859 #define wxUSE_FILEDLG 1
32864 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32865 cat >>confdefs.h
<<\_ACEOF
32866 #define wxUSE_FINDREPLDLG 1
32871 if test "$wxUSE_FONTDLG" = "yes"; then
32872 cat >>confdefs.h
<<\_ACEOF
32873 #define wxUSE_FONTDLG 1
32878 if test "$wxUSE_DIRDLG" = "yes"; then
32879 if test "$wxUSE_TREECTRL" != "yes"; then
32880 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32881 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32883 cat >>confdefs.h
<<\_ACEOF
32884 #define wxUSE_DIRDLG 1
32890 if test "$wxUSE_MSGDLG" = "yes"; then
32891 cat >>confdefs.h
<<\_ACEOF
32892 #define wxUSE_MSGDLG 1
32897 if test "$wxUSE_NUMBERDLG" = "yes"; then
32898 cat >>confdefs.h
<<\_ACEOF
32899 #define wxUSE_NUMBERDLG 1
32904 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32905 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32906 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32907 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32909 cat >>confdefs.h
<<\_ACEOF
32910 #define wxUSE_PROGRESSDLG 1
32916 if test "$wxUSE_SPLASH" = "yes"; then
32917 cat >>confdefs.h
<<\_ACEOF
32918 #define wxUSE_SPLASH 1
32923 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32925 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32926 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32928 cat >>confdefs.h
<<\_ACEOF
32929 #define wxUSE_STARTUP_TIPS 1
32935 if test "$wxUSE_TEXTDLG" = "yes"; then
32936 cat >>confdefs.h
<<\_ACEOF
32937 #define wxUSE_TEXTDLG 1
32942 if test "$wxUSE_WIZARDDLG" = "yes"; then
32943 cat >>confdefs.h
<<\_ACEOF
32944 #define wxUSE_WIZARDDLG 1
32947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
32951 if test "$cross_compiling" = "yes"; then
32954 OSINFO
=`uname -s -r -m`
32955 OSINFO
="\"$OSINFO\""
32958 cat >>confdefs.h
<<_ACEOF
32959 #define WXWIN_OS_DESCRIPTION $OSINFO
32964 if test "x$prefix" != "xNONE"; then
32967 wxPREFIX
=$ac_default_prefix
32970 cat >>confdefs.h
<<_ACEOF
32971 #define wxINSTALL_PREFIX "$wxPREFIX"
32975 top_builddir_wxconfig
=`pwd`
32980 if test "$wxUSE_MAC" = 1 ; then
32981 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
32983 if test "$wxUSE_COCOA" = 1 ; then
32984 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
32988 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32996 echo "$as_me:$LINENO: checking for $ac_func" >&5
32997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32998 if eval "test \"\${$as_ac_var+set}\" = set"; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 cat >conftest.
$ac_ext <<_ACEOF
33002 #line $LINENO "configure"
33005 cat confdefs.h
>>conftest.
$ac_ext
33006 cat >>conftest.
$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33008 /* System header to define __stub macros and hopefully few prototypes,
33009 which can conflict with char $ac_func (); below.
33010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33011 <limits.h> exists even on freestanding compilers. */
33013 # include <limits.h>
33015 # include <assert.h>
33017 /* Override any gcc2 internal prototype to avoid an error. */
33022 /* We use char because int might match the return type of a gcc2
33023 builtin and then its argument prototype would still apply. */
33025 /* The GNU C library defines this for functions which it implements
33026 to always fail with ENOSYS. Some functions are actually named
33027 something starting with __ and the normal name is an alias. */
33028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33031 char (*f) () = $ac_func;
33040 return f != $ac_func;
33045 rm -f conftest.
$ac_objext conftest
$ac_exeext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33047 (eval $ac_link) 2>&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try
='test -s conftest$ac_exeext'
33052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33053 (eval $ac_try) 2>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); }; }; then
33057 eval "$as_ac_var=yes"
33059 echo "$as_me: failed program was:" >&5
33060 sed 's/^/| /' conftest.
$ac_ext >&5
33062 eval "$as_ac_var=no"
33064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33068 if test `eval echo '${'$as_ac_var'}'` = yes; then
33069 cat >>confdefs.h
<<_ACEOF
33070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33077 for ac_func
in floor
33079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33080 echo "$as_me:$LINENO: checking for $ac_func" >&5
33081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33082 if eval "test \"\${$as_ac_var+set}\" = set"; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33085 cat >conftest.
$ac_ext <<_ACEOF
33086 #line $LINENO "configure"
33089 cat confdefs.h
>>conftest.
$ac_ext
33090 cat >>conftest.
$ac_ext <<_ACEOF
33091 /* end confdefs.h. */
33092 /* System header to define __stub macros and hopefully few prototypes,
33093 which can conflict with char $ac_func (); below.
33094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33095 <limits.h> exists even on freestanding compilers. */
33097 # include <limits.h>
33099 # include <assert.h>
33101 /* Override any gcc2 internal prototype to avoid an error. */
33106 /* We use char because int might match the return type of a gcc2
33107 builtin and then its argument prototype would still apply. */
33109 /* The GNU C library defines this for functions which it implements
33110 to always fail with ENOSYS. Some functions are actually named
33111 something starting with __ and the normal name is an alias. */
33112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33115 char (*f) () = $ac_func;
33124 return f != $ac_func;
33129 rm -f conftest.
$ac_objext conftest
$ac_exeext
33130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33131 (eval $ac_link) 2>&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); } &&
33135 { ac_try
='test -s conftest$ac_exeext'
33136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33137 (eval $ac_try) 2>&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); }; }; then
33141 eval "$as_ac_var=yes"
33143 echo "$as_me: failed program was:" >&5
33144 sed 's/^/| /' conftest.
$ac_ext >&5
33146 eval "$as_ac_var=no"
33148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33152 if test `eval echo '${'$as_ac_var'}'` = yes; then
33153 cat >>confdefs.h
<<_ACEOF
33154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33160 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33161 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33162 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33163 echo "$as_me:$LINENO: result: yes" >&5
33164 echo "${ECHO_T}yes" >&6
33166 echo "$as_me:$LINENO: result: no" >&5
33167 echo "${ECHO_T}no" >&6
33169 # use different functions to avoid configure caching
33175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33176 echo "$as_me:$LINENO: checking for $ac_func" >&5
33177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33178 if eval "test \"\${$as_ac_var+set}\" = set"; then
33179 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 cat >conftest.
$ac_ext <<_ACEOF
33182 #line $LINENO "configure"
33185 cat confdefs.h
>>conftest.
$ac_ext
33186 cat >>conftest.
$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33188 /* System header to define __stub macros and hopefully few prototypes,
33189 which can conflict with char $ac_func (); below.
33190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33191 <limits.h> exists even on freestanding compilers. */
33193 # include <limits.h>
33195 # include <assert.h>
33197 /* Override any gcc2 internal prototype to avoid an error. */
33202 /* We use char because int might match the return type of a gcc2
33203 builtin and then its argument prototype would still apply. */
33205 /* The GNU C library defines this for functions which it implements
33206 to always fail with ENOSYS. Some functions are actually named
33207 something starting with __ and the normal name is an alias. */
33208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33211 char (*f) () = $ac_func;
33220 return f != $ac_func;
33225 rm -f conftest.
$ac_objext conftest
$ac_exeext
33226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33227 (eval $ac_link) 2>&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } &&
33231 { ac_try
='test -s conftest$ac_exeext'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; }; then
33237 eval "$as_ac_var=yes"
33239 echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.
$ac_ext >&5
33242 eval "$as_ac_var=no"
33244 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33248 if test `eval echo '${'$as_ac_var'}'` = yes; then
33249 cat >>confdefs.h
<<_ACEOF
33250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33257 for ac_func
in ceil
33259 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33260 echo "$as_me:$LINENO: checking for $ac_func" >&5
33261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33262 if eval "test \"\${$as_ac_var+set}\" = set"; then
33263 echo $ECHO_N "(cached) $ECHO_C" >&6
33265 cat >conftest.
$ac_ext <<_ACEOF
33266 #line $LINENO "configure"
33269 cat confdefs.h
>>conftest.
$ac_ext
33270 cat >>conftest.
$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 /* System header to define __stub macros and hopefully few prototypes,
33273 which can conflict with char $ac_func (); below.
33274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33275 <limits.h> exists even on freestanding compilers. */
33277 # include <limits.h>
33279 # include <assert.h>
33281 /* Override any gcc2 internal prototype to avoid an error. */
33286 /* We use char because int might match the return type of a gcc2
33287 builtin and then its argument prototype would still apply. */
33289 /* The GNU C library defines this for functions which it implements
33290 to always fail with ENOSYS. Some functions are actually named
33291 something starting with __ and the normal name is an alias. */
33292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33295 char (*f) () = $ac_func;
33304 return f != $ac_func;
33309 rm -f conftest.
$ac_objext conftest
$ac_exeext
33310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33311 (eval $ac_link) 2>&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); } &&
33315 { ac_try
='test -s conftest$ac_exeext'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; }; then
33321 eval "$as_ac_var=yes"
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.
$ac_ext >&5
33326 eval "$as_ac_var=no"
33328 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33332 if test `eval echo '${'$as_ac_var'}'` = yes; then
33333 cat >>confdefs.h
<<_ACEOF
33334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33340 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33341 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33342 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33343 echo "$as_me:$LINENO: result: yes" >&5
33344 echo "${ECHO_T}yes" >&6
33346 echo "$as_me:$LINENO: result: no" >&5
33347 echo "${ECHO_T}no" >&6
33348 # not sure we should warn the user, crash, etc.
33352 if test "$wxUSE_GUI" = "yes"; then
33354 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33358 drawing dynamic erase event exec font image \
33359 minimal propsize rotate shaped widgets"
33361 SAMPLES_SUBDIRS
="console"
33365 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33366 -I\${top_srcdir}/include \
33367 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33370 if test "$wxUSE_GTK" = 1; then
33373 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33376 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33389 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33399 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33405 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33407 if test -n "$ac_tool_prefix"; then
33408 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33409 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33410 echo "$as_me:$LINENO: checking for $ac_word" >&5
33411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33412 if test "${ac_cv_prog_RANLIB+set}" = set; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 if test -n "$RANLIB"; then
33416 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33419 for as_dir
in $PATH
33422 test -z "$as_dir" && as_dir
=.
33423 for ac_exec_ext
in '' $ac_executable_extensions; do
33424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33425 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33434 RANLIB
=$ac_cv_prog_RANLIB
33435 if test -n "$RANLIB"; then
33436 echo "$as_me:$LINENO: result: $RANLIB" >&5
33437 echo "${ECHO_T}$RANLIB" >&6
33439 echo "$as_me:$LINENO: result: no" >&5
33440 echo "${ECHO_T}no" >&6
33444 if test -z "$ac_cv_prog_RANLIB"; then
33445 ac_ct_RANLIB
=$RANLIB
33446 # Extract the first word of "ranlib", so it can be a program name with args.
33447 set dummy ranlib
; ac_word
=$2
33448 echo "$as_me:$LINENO: checking for $ac_word" >&5
33449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33450 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33451 echo $ECHO_N "(cached) $ECHO_C" >&6
33453 if test -n "$ac_ct_RANLIB"; then
33454 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33457 for as_dir
in $PATH
33460 test -z "$as_dir" && as_dir
=.
33461 for ac_exec_ext
in '' $ac_executable_extensions; do
33462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33463 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33470 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33473 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33474 if test -n "$ac_ct_RANLIB"; then
33475 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33476 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33478 echo "$as_me:$LINENO: result: no" >&5
33479 echo "${ECHO_T}no" >&6
33482 RANLIB
=$ac_ct_RANLIB
33484 RANLIB
="$ac_cv_prog_RANLIB"
33487 # Find a good install program. We prefer a C program (faster),
33488 # so one script is as good as another. But avoid the broken or
33489 # incompatible versions:
33490 # SysV /etc/install, /usr/sbin/install
33491 # SunOS /usr/etc/install
33492 # IRIX /sbin/install
33494 # AmigaOS /C/install, which installs bootblocks on floppy discs
33495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33498 # ./install, which can be erroneously created by make from ./install.sh.
33499 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33500 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33501 if test -z "$INSTALL"; then
33502 if test "${ac_cv_path_install+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33506 for as_dir
in $PATH
33509 test -z "$as_dir" && as_dir
=.
33510 # Account for people who put trailing slashes in PATH elements.
33512 .
/ | .
// | /cC
/* | \
33513 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33516 # OSF1 and SCO ODT 3.0 have their own names for install.
33517 # Don't use installbsd from OSF since it installs stuff as root
33519 for ac_prog
in ginstall scoinst
install; do
33520 for ac_exec_ext
in '' $ac_executable_extensions; do
33521 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33522 if test $ac_prog = install &&
33523 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33524 # AIX install. It has an incompatible calling convention.
33526 elif test $ac_prog = install &&
33527 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33528 # program-specific install script used by HP pwplus--don't use.
33531 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33543 if test "${ac_cv_path_install+set}" = set; then
33544 INSTALL
=$ac_cv_path_install
33546 # As a last resort, use the slow shell script. We don't cache a
33547 # path for INSTALL within a source directory, because that will
33548 # break other packages using the cache if that directory is
33549 # removed, or if the path is relative.
33550 INSTALL
=$ac_install_sh
33553 echo "$as_me:$LINENO: result: $INSTALL" >&5
33554 echo "${ECHO_T}$INSTALL" >&6
33556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33557 # It thinks the first close brace ends the variable substitution.
33558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33562 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33564 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33565 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33567 if test "$LN_S" = "ln -s"; then
33568 echo "$as_me:$LINENO: result: yes" >&5
33569 echo "${ECHO_T}yes" >&6
33571 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33572 echo "${ECHO_T}no, using $LN_S" >&6
33576 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33577 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33578 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33579 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 cat >conftest.
make <<\_ACEOF
33584 @
echo 'ac_maketemp="$(MAKE)"'
33586 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33587 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33588 if test -n "$ac_maketemp"; then
33589 eval ac_cv_prog_make_
${ac_make}_set
=yes
33591 eval ac_cv_prog_make_
${ac_make}_set
=no
33593 rm -f conftest.
make
33595 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33596 echo "$as_me:$LINENO: result: yes" >&5
33597 echo "${ECHO_T}yes" >&6
33600 echo "$as_me:$LINENO: result: no" >&5
33601 echo "${ECHO_T}no" >&6
33602 SET_MAKE
="MAKE=${MAKE-make}"
33607 if test "$build" != "$host" ; then
33609 STRIP
=$host_alias-strip
33611 # Extract the first word of "ar", so it can be a program name with args.
33612 set dummy
ar; ac_word
=$2
33613 echo "$as_me:$LINENO: checking for $ac_word" >&5
33614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33615 if test "${ac_cv_prog_AR+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33618 if test -n "$AR"; then
33619 ac_cv_prog_AR
="$AR" # Let the user override the test.
33621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33622 for as_dir
in $PATH
33625 test -z "$as_dir" && as_dir
=.
33626 for ac_exec_ext
in '' $ac_executable_extensions; do
33627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33635 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33639 if test -n "$AR"; then
33640 echo "$as_me:$LINENO: result: $AR" >&5
33641 echo "${ECHO_T}$AR" >&6
33643 echo "$as_me:$LINENO: result: no" >&5
33644 echo "${ECHO_T}no" >&6
33647 # Extract the first word of "strip", so it can be a program name with args.
33648 set dummy strip
; ac_word
=$2
33649 echo "$as_me:$LINENO: checking for $ac_word" >&5
33650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33651 if test "${ac_cv_prog_STRIP+set}" = set; then
33652 echo $ECHO_N "(cached) $ECHO_C" >&6
33654 if test -n "$STRIP"; then
33655 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33658 for as_dir
in $PATH
33661 test -z "$as_dir" && as_dir
=.
33662 for ac_exec_ext
in '' $ac_executable_extensions; do
33663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33664 ac_cv_prog_STRIP
="strip"
33665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33671 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33674 STRIP
=$ac_cv_prog_STRIP
33675 if test -n "$STRIP"; then
33676 echo "$as_me:$LINENO: result: $STRIP" >&5
33677 echo "${ECHO_T}$STRIP" >&6
33679 echo "$as_me:$LINENO: result: no" >&5
33680 echo "${ECHO_T}no" >&6
33687 INSTALL_DIR
="mkdir"
33689 *) INSTALL_DIR
="$INSTALL -d"
33696 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33697 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33698 if test "${wx_cv_prog_makeisgnu+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
33703 egrep -s GNU
> /dev
/null
); then
33704 bakefile_cv_prog_makeisgnu
="yes"
33706 bakefile_cv_prog_makeisgnu
="no"
33710 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
33711 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
33713 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33728 *-*-cygwin* | *-*-mingw32* )
33731 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33734 powerpc
-*-darwin* )
33761 *-*-cygwin* | *-*-mingw32* )
33766 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33770 powerpc
-*-darwin* )
33780 SHARED_LD_CC
="\$(CC) -shared -o"
33781 SHARED_LD_CXX
="\$(CXX) -shared -o"
33783 if test "x$GCC" = "xyes"; then
33789 if test "x$GCC" = "xyes"; then
33790 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
33791 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
33793 LDFLAGS
="$LDFLAGS -L/usr/lib"
33795 SHARED_LD_CC
="${CC} -b -o"
33796 SHARED_LD_CXX
="${CXX} -b -o"
33802 if test "x$GCC" != "xyes"; then
33803 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33804 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33805 if test "${bakefile_cv_prog_icc+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 cat >conftest.
$ac_ext <<_ACEOF
33810 #line $LINENO "configure"
33813 cat confdefs.h
>>conftest.
$ac_ext
33814 cat >>conftest.
$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33821 #ifndef __INTEL_COMPILER
33829 rm -f conftest.
$ac_objext
33830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33831 (eval $ac_compile) 2>&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } &&
33835 { ac_try
='test -s conftest.$ac_objext'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; }; then
33841 bakefile_cv_prog_icc
=yes
33843 echo "$as_me: failed program was:" >&5
33844 sed 's/^/| /' conftest.
$ac_ext >&5
33846 bakefile_cv_prog_icc
=no
33849 rm -f conftest.
$ac_objext conftest.
$ac_ext
33852 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33853 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33854 if test "$bakefile_cv_prog_icc" = "yes"; then
33861 if test "x$GCC" != xyes
; then
33862 SHARED_LD_CC
="${CC} -G -o"
33863 SHARED_LD_CXX
="${CXX} -G -o"
33869 CFLAGS
="$CFLAGS -fno-common"
33870 CXXFLAGS
="$CXXFLAGS -fno-common"
33873 cat <<EOF >shared-ld-sh
33875 #-----------------------------------------------------------------------------
33876 #-- Name: distrib/mac/shared-ld-sh
33877 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33878 #-- Author: Gilles Depeyrot
33879 #-- Copyright: (c) 2002 Gilles Depeyrot
33880 #-- Licence: any use permitted
33881 #-----------------------------------------------------------------------------
33887 while test \${#} -gt 0; do
33894 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33895 # collect these options and values
33896 args="\${args} \${1} \${2}"
33900 -l*|-L*|-flat_namespace)
33901 # collect these options
33902 args="\${args} \${1}"
33906 # skip these options
33910 echo "shared-ld: unhandled option '\${1}'"
33915 # collect object files
33916 objects="\${objects} \${1}"
33920 echo "shared-ld: unhandled argument '\${1}'"
33929 # Link one module containing all the others
33931 if test \${verbose} = 1; then
33932 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33934 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33936 if test \${status} != 0; then
33941 # Link the shared library from the single module created
33943 if test \${verbose} = 1; then
33944 echo "cc -dynamiclib master.\$\$.o \${args}"
33946 c++ -dynamiclib master.\$\$.o \${args}
33948 if test \${status} != 0; then
33953 # Remove intermediate module
33955 rm -f master.\$\$.o
33959 chmod +x shared
-ld-sh
33961 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33962 SHARED_LD_CXX
="$SHARED_LD_CC"
33963 PIC_FLAG
="-dynamic -fPIC"
33967 if test "x$GCC" != "xyes"; then
33968 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33969 set dummy makeC
++SharedLib
; ac_word
=$2
33970 echo "$as_me:$LINENO: checking for $ac_word" >&5
33971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33972 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33973 echo $ECHO_N "(cached) $ECHO_C" >&6
33975 if test -n "$AIX_CXX_LD"; then
33976 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
33978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33979 for as_dir
in $PATH
33982 test -z "$as_dir" && as_dir
=.
33983 for ac_exec_ext
in '' $ac_executable_extensions; do
33984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33985 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
33986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33992 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
33995 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
33996 if test -n "$AIX_CXX_LD"; then
33997 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33998 echo "${ECHO_T}$AIX_CXX_LD" >&6
34000 echo "$as_me:$LINENO: result: no" >&5
34001 echo "${ECHO_T}no" >&6
34004 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34005 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34010 SHARED_LD_CC
="${LD} -shared -o"
34011 SHARED_LD_CXX
="${LD} -shared -o"
34015 if test "x$GCC" != "xyes"; then
34020 *-*-cygwin* | *-*-mingw32* )
34024 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34032 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34033 echo "$as_me: error: unknown system type $host." >&2;}
34034 { (exit 1); exit 1; }; }
34051 SONAME_FLAG
="-Wl,-soname,"
34080 if test "x$GCC" = "xyes"; then
34091 *-*-cygwin* | *-*-mingw32* )
34092 if test "$build" != "$host" ; then
34093 RESCOMP
=$host_alias-windres
34095 # Extract the first word of "windres", so it can be a program name with args.
34096 set dummy windres
; ac_word
=$2
34097 echo "$as_me:$LINENO: checking for $ac_word" >&5
34098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34099 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34100 echo $ECHO_N "(cached) $ECHO_C" >&6
34102 if test -n "$RESCOMP"; then
34103 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34106 for as_dir
in $PATH
34109 test -z "$as_dir" && as_dir
=.
34110 for ac_exec_ext
in '' $ac_executable_extensions; do
34111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34112 ac_cv_prog_RESCOMP
="windres"
34113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34119 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34122 RESCOMP
=$ac_cv_prog_RESCOMP
34123 if test -n "$RESCOMP"; then
34124 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34125 echo "${ECHO_T}$RESCOMP" >&6
34127 echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6
34135 # Extract the first word of "Rez", so it can be a program name with args.
34136 set dummy Rez
; ac_word
=$2
34137 echo "$as_me:$LINENO: checking for $ac_word" >&5
34138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34139 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 if test -n "$RESCOMP"; then
34143 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34146 for as_dir
in $PATH
34149 test -z "$as_dir" && as_dir
=.
34150 for ac_exec_ext
in '' $ac_executable_extensions; do
34151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34152 ac_cv_prog_RESCOMP
="Rez"
34153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34159 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34162 RESCOMP
=$ac_cv_prog_RESCOMP
34163 if test -n "$RESCOMP"; then
34164 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34165 echo "${ECHO_T}$RESCOMP" >&6
34167 echo "$as_me:$LINENO: result: no" >&5
34168 echo "${ECHO_T}no" >&6
34171 # Extract the first word of "SetFile", so it can be a program name with args.
34172 set dummy SetFile
; ac_word
=$2
34173 echo "$as_me:$LINENO: checking for $ac_word" >&5
34174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34175 if test "${ac_cv_prog_SETFILE+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 if test -n "$SETFILE"; then
34179 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34182 for as_dir
in $PATH
34185 test -z "$as_dir" && as_dir
=.
34186 for ac_exec_ext
in '' $ac_executable_extensions; do
34187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34188 ac_cv_prog_SETFILE
="SetFile"
34189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34195 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34198 SETFILE
=$ac_cv_prog_SETFILE
34199 if test -n "$SETFILE"; then
34200 echo "$as_me:$LINENO: result: $SETFILE" >&5
34201 echo "${ECHO_T}$SETFILE" >&6
34203 echo "$as_me:$LINENO: result: no" >&5
34204 echo "${ECHO_T}no" >&6
34216 COND_WXUSE_ZLIB_BUILTIN
="#"
34217 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34218 COND_WXUSE_ZLIB_BUILTIN
=
34222 if test "x$UNICODE" = "x1" ; then
34226 COND_BUILD_DEBUG
="#"
34227 if test "x$BUILD" = "xdebug" ; then
34231 COND_WXUSE_REGEX_BUILTIN
="#"
34232 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34233 COND_WXUSE_REGEX_BUILTIN
=
34236 COND_USE_SOSYMLINKS_1
="#"
34237 if test "x$USE_SOSYMLINKS" = "x1" ; then
34238 COND_USE_SOSYMLINKS_1
=
34241 COND_WXUSE_LIBJPEG_BUILTIN
="#"
34242 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34243 COND_WXUSE_LIBJPEG_BUILTIN
=
34246 COND_WXUSE_LIBPNG_BUILTIN
="#"
34247 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34248 COND_WXUSE_LIBPNG_BUILTIN
=
34251 COND_SHARED_1_MONOLITHIC_1
="#"
34252 if test "x$SHARED" = "x1" -a \
34253 "x$MONOLITHIC" = "x1" ; then
34254 COND_SHARED_1_MONOLITHIC_1
=
34257 COND_WXUSE_ODBC_BUILTIN
="#"
34258 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34259 COND_WXUSE_ODBC_BUILTIN
=
34262 COND_TOOLKIT_GTK
="#"
34263 if test "x$TOOLKIT" = "xGTK" ; then
34267 COND_TOOLKIT_MOTIF
="#"
34268 if test "x$TOOLKIT" = "xMOTIF" ; then
34269 COND_TOOLKIT_MOTIF
=
34272 COND_TOOLKIT_MSW
="#"
34273 if test "x$TOOLKIT" = "xMSW" ; then
34277 COND_TOOLKIT_MAC
="#"
34278 if test "x$TOOLKIT" = "xMAC" ; then
34282 COND_TOOLKIT_COCOA
="#"
34283 if test "x$TOOLKIT" = "xCOCOA" ; then
34284 COND_TOOLKIT_COCOA
=
34287 COND_TOOLKIT_OS2
="#"
34288 if test "x$TOOLKIT" = "xOS2" ; then
34292 COND_TOOLKIT_X11
="#"
34293 if test "x$TOOLKIT" = "xX11" ; then
34297 COND_TOOLKIT_MGL
="#"
34298 if test "x$TOOLKIT" = "xMGL" ; then
34303 if test "x$WXUNIV" = "x1" ; then
34307 COND_WXUSE_LIBTIFF_BUILTIN
="#"
34308 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34309 COND_WXUSE_LIBTIFF_BUILTIN
=
34312 COND_PLATFORM_UNIX_1
="#"
34313 if test "x$PLATFORM_UNIX" = "x1" ; then
34314 COND_PLATFORM_UNIX_1
=
34317 COND_PLATFORM_MACOSX_1
="#"
34318 if test "x$PLATFORM_MACOSX" = "x1" ; then
34319 COND_PLATFORM_MACOSX_1
=
34322 COND_PLATFORM_WIN32_1
="#"
34323 if test "x$PLATFORM_WIN32" = "x1" ; then
34324 COND_PLATFORM_WIN32_1
=
34327 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0
="#"
34328 if test "x$USE_SOVERSION" = "x1" -a \
34329 "x$PLATFORM_MACOSX" = "x0" ; then
34330 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0
=
34333 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1
="#"
34334 if test "x$USE_SOVERSION" = "x1" -a \
34335 "x$PLATFORM_MACOSX" = "x1" ; then
34336 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1
=
34339 COND_PLATFORM_WIN32_0
="#"
34340 if test "x$PLATFORM_WIN32" = "x0" ; then
34341 COND_PLATFORM_WIN32_0
=
34344 COND_MONOLITHIC_1
="#"
34345 if test "x$MONOLITHIC" = "x1" ; then
34349 COND_MONOLITHIC_0
="#"
34350 if test "x$MONOLITHIC" = "x0" ; then
34355 if test "x$USE_GUI" = "x1" ; then
34359 COND_DEPS_TYPE_GCC
="#"
34360 if test "x$DEPS_TYPE" = "xgcc" ; then
34361 COND_DEPS_TYPE_GCC
=
34365 if test "x$USE_GUI" = "x0" ; then
34369 COND_USE_GUI_1_WXUNIV_0
="#"
34370 if test "x$USE_GUI" = "x1" -a \
34371 "x$WXUNIV" = "x0" ; then
34372 COND_USE_GUI_1_WXUNIV_0
=
34375 COND_USE_GUI_1_WXUNIV_1
="#"
34376 if test "x$USE_GUI" = "x1" -a \
34377 "x$WXUNIV" = "x1" ; then
34378 COND_USE_GUI_1_WXUNIV_1
=
34381 COND_SHARED_0_MONOLITHIC_1
="#"
34382 if test "x$SHARED" = "x0" -a \
34383 "x$MONOLITHIC" = "x1" ; then
34384 COND_SHARED_0_MONOLITHIC_1
=
34387 COND_USE_SOVERLINUX_1
="#"
34388 if test "x$USE_SOVERLINUX" = "x1" ; then
34389 COND_USE_SOVERLINUX_1
=
34392 COND_USE_SOVERSOLARIS_1
="#"
34393 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34394 COND_USE_SOVERSOLARIS_1
=
34397 COND_PLATFORM_MAC_1
="#"
34398 if test "x$PLATFORM_MAC" = "x1" ; then
34399 COND_PLATFORM_MAC_1
=
34405 if test "$GXX" = yes ; then
34406 CXXWARNINGS
="-Wall"
34409 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34411 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34412 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34413 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34414 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34416 LDFLAGS
="$LDFLAGS $PROFILE"
34418 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34522 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34523 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34524 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34525 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34528 cat >conftest.
make <<\_ACEOF
34530 @
echo 'ac_maketemp="$(MAKE)"'
34532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34533 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34534 if test -n "$ac_maketemp"; then
34535 eval ac_cv_prog_make_
${ac_make}_set
=yes
34537 eval ac_cv_prog_make_
${ac_make}_set
=no
34539 rm -f conftest.
make
34541 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34542 echo "$as_me:$LINENO: result: yes" >&5
34543 echo "${ECHO_T}yes" >&6
34546 echo "$as_me:$LINENO: result: no" >&5
34547 echo "${ECHO_T}no" >&6
34548 SET_MAKE
="MAKE=${MAKE-make}"
34552 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
34553 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
34556 ac_config_headers
="$ac_config_headers setup.h"
34559 ac_config_files
="$ac_config_files wx-config version-script Makefile"
34562 ac_config_commands
="$ac_config_commands default"
34566 if test -d ${srcdir}/samples
; then
34567 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"
34571 if test -d ${srcdir}/demos
; then
34572 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"
34576 if test -d ${srcdir}/utils
; then
34577 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"
34581 if test -d ${srcdir}/contrib
; then
34582 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"
34587 cat >confcache
<<\_ACEOF
34588 # This file is a shell script that caches the results of configure
34589 # tests run on this system so they can be shared between configure
34590 # scripts and configure runs, see configure's option --config-cache.
34591 # It is not useful on other systems. If it contains results you don't
34592 # want to keep, you may remove or edit it.
34594 # config.status only pays attention to the cache file if you give it
34595 # the --recheck option to rerun configure.
34597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34599 # following values.
34603 # The following way of writing the cache mishandles newlines in values,
34604 # but we know of no workaround that is simple, portable, and efficient.
34605 # So, don't put newlines in cache variables' values.
34606 # Ultrix sh set writes to stderr and can't be redirected directly,
34607 # and sets the high bit in the cache file unless we assign to the vars.
34610 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34612 # `set' does not quote correctly, so add quotes (double-quote
34613 # substitution turns \\\\ into \\, and sed turns \\ into \).
34616 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34619 # `set' quotes correctly as required by POSIX, so do not add quotes.
34621 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34630 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34632 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34633 if test -w $cache_file; then
34634 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34635 cat confcache
>$cache_file
34637 echo "not updating unwritable cache $cache_file"
34642 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34643 # Let make expand exec_prefix.
34644 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34646 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34647 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34648 # trailing colons and then remove the whole line if VPATH becomes empty
34649 # (actually we leave an empty line to preserve line numbers).
34650 if test "x$srcdir" = x.
; then
34651 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34652 s/:*\$(srcdir):*/:/;
34653 s/:*\${srcdir}:*/:/;
34655 s/^\([^=]*=[ ]*\):*/\1/;
34661 DEFS
=-DHAVE_CONFIG_H
34665 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34666 # 1. Remove the extension, and $U if already installed.
34667 ac_i
=`echo "$ac_i" |
34668 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34670 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
34671 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
34673 LIBOBJS
=$ac_libobjs
34675 LTLIBOBJS
=$ac_ltlibobjs
34679 : ${CONFIG_STATUS=./config.status}
34680 ac_clean_files_save
=$ac_clean_files
34681 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34682 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34683 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34684 cat >$CONFIG_STATUS <<_ACEOF
34686 # Generated by $as_me.
34687 # Run this file to recreate the current configuration.
34688 # Compiler output produced by configure, useful for debugging
34689 # configure, is in config.log if it exists.
34692 ac_cs_recheck=false
34694 SHELL=\${CONFIG_SHELL-$SHELL}
34697 cat >>$CONFIG_STATUS <<\_ACEOF
34698 ## --------------------- ##
34699 ## M4sh Initialization. ##
34700 ## --------------------- ##
34702 # Be Bourne compatible
34703 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34706 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34707 # is contrary to our usage. Disable this feature.
34708 alias -g '${1+"$@"}'='"$@"'
34709 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
34713 # Support unset when possible.
34714 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34721 # Work around bugs in pre-3.0 UWIN ksh.
34722 $as_unset ENV MAIL MAILPATH
34729 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34730 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34731 LC_TELEPHONE LC_TIME
34733 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34734 eval $as_var=C
; export $as_var
34740 # Required to use basename.
34741 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34747 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
34748 as_basename
=basename
34754 # Name of the executable.
34755 as_me
=`$as_basename "$0" ||
34756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34757 X"$0" : 'X\(//\)$' \| \
34758 X"$0" : 'X\(/\)$' \| \
34759 . : '\(.\)' 2>/dev/null ||
34761 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34762 /^X\/\(\/\/\)$/{ s//\1/; q; }
34763 /^X\/\(\/\).*/{ s//\1/; q; }
34767 # PATH needs CR, and LINENO needs CR and PATH.
34768 # Avoid depending upon Character Ranges.
34769 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34770 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34771 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34772 as_cr_digits
='0123456789'
34773 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34775 # The user is always right.
34776 if test "${PATH_SEPARATOR+set}" != set; then
34777 echo "#! /bin/sh" >conf$$.sh
34778 echo "exit 0" >>conf$$.sh
34780 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34789 as_lineno_1
=$LINENO
34790 as_lineno_2
=$LINENO
34791 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
34792 test "x$as_lineno_1" != "x$as_lineno_2" &&
34793 test "x$as_lineno_3" = "x$as_lineno_2" || {
34794 # Find who we are. Look in the path if we contain no path at all
34797 *[\\/]* ) as_myself
=$0 ;;
34798 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34799 for as_dir
in $PATH
34802 test -z "$as_dir" && as_dir
=.
34803 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34808 # We did not find ourselves, most probably we were run as `sh COMMAND'
34809 # in which case we are not to be found in the path.
34810 if test "x$as_myself" = x
; then
34813 if test ! -f "$as_myself"; then
34814 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34815 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34816 { (exit 1); exit 1; }; }
34818 case $CONFIG_SHELL in
34820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34821 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
34824 test -z "$as_dir" && as_dir
=.
34825 for as_base
in sh bash ksh sh5
; do
34828 if ("$as_dir/$as_base" -c '
34829 as_lineno_1=$LINENO
34830 as_lineno_2=$LINENO
34831 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34832 test "x$as_lineno_1" != "x$as_lineno_2" &&
34833 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
34834 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
34835 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
34836 CONFIG_SHELL
=$as_dir/$as_base
34837 export CONFIG_SHELL
34838 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34846 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34847 # uniformly replaced by the line number. The first 'sed' inserts a
34848 # line-number line before each line; the second 'sed' does the real
34849 # work. The second script uses 'N' to pair each line-number line
34850 # with the numbered line, and appends trailing '-' during
34851 # substitution so that $LINENO is not a special case at line end.
34852 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34853 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34854 sed '=' <$as_myself |
34859 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34862 s,^['$as_cr_digits']*\n,,
34863 ' >$as_me.lineno
&&
34864 chmod +x
$as_me.lineno
||
34865 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34866 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34867 { (exit 1); exit 1; }; }
34869 # Don't try to exec as it changes $[0], causing all sort of problems
34870 # (the dirname of $[0] is not the place where we might find the
34871 # original and so on. Autoconf is especially sensible to this).
34873 # Exit status is that of the last command.
34878 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34879 *c
*,-n*) ECHO_N
= ECHO_C
='
34881 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
34882 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
34885 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34891 rm -f conf$$ conf$$.exe conf$$.
file
34893 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34894 # We could just check for DJGPP; but this test a) works b) is more generic
34895 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34896 if test -f conf$$.exe
; then
34897 # Don't use ln at all; we don't have any links
34902 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34907 rm -f conf$$ conf$$.exe conf$$.
file
34909 if mkdir -p .
2>/dev
/null
; then
34915 as_executable_p
="test -f"
34917 # Sed expression to map a string onto a valid CPP name.
34918 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
34920 # Sed expression to map a string onto a valid variable name.
34921 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
34925 # We need space, tab and new line, in precisely that order.
34935 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34936 # report actual input values of CONFIG_FILES etc. instead of their
34937 # values after options handling. Logging --version etc. is OK.
34941 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34942 ## Running $as_me. ##
34947 This file was extended by wxWindows $as_me 2.5.0, which was
34948 generated by GNU Autoconf 2.57. Invocation command line was
34950 CONFIG_FILES = $CONFIG_FILES
34951 CONFIG_HEADERS = $CONFIG_HEADERS
34952 CONFIG_LINKS = $CONFIG_LINKS
34953 CONFIG_COMMANDS = $CONFIG_COMMANDS
34957 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34961 # Files that config.status was made for.
34962 if test -n "$ac_config_files"; then
34963 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34966 if test -n "$ac_config_headers"; then
34967 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34970 if test -n "$ac_config_links"; then
34971 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34974 if test -n "$ac_config_commands"; then
34975 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34978 cat >>$CONFIG_STATUS <<\_ACEOF
34981 \`$as_me' instantiates files from templates according to the
34982 current configuration.
34984 Usage: $0 [OPTIONS] [FILE]...
34986 -h, --help print this help, then exit
34987 -V, --version print version number, then exit
34988 -q, --quiet do not print progress messages
34989 -d, --debug don't remove temporary files
34990 --recheck update $as_me by reconfiguring in the same conditions
34991 --file=FILE[:TEMPLATE]
34992 instantiate the configuration file FILE
34993 --header=FILE[:TEMPLATE]
34994 instantiate the configuration header FILE
34996 Configuration files:
34999 Configuration headers:
35002 Configuration commands:
35005 Report bugs to <bug-autoconf@gnu.org>."
35008 cat >>$CONFIG_STATUS <<_ACEOF
35010 wxWindows config.status 2.5.0
35011 configured by $0, generated by GNU Autoconf 2.57,
35012 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35014 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35015 Free Software Foundation, Inc.
35016 This config.status script is free software; the Free Software Foundation
35017 gives unlimited permission to copy, distribute and modify it."
35022 cat >>$CONFIG_STATUS <<\_ACEOF
35023 # If no file are specified by the user, then we need to provide default
35024 # value. By we need to know if files were specified by the user.
35030 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35031 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35039 *) # This is not an option, so the user has probably given explicit
35042 ac_need_defaults
=false
;;
35046 # Handling of the options.
35048 cat >>$CONFIG_STATUS <<\_ACEOF
35049 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35051 --version | --vers* | -V )
35052 echo "$ac_cs_version"; exit 0 ;;
35054 # Conflict between --help and --header
35055 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35056 Try \`$0 --help' for more information." >&5
35057 echo "$as_me: error: ambiguous option: $1
35058 Try \`$0 --help' for more information." >&2;}
35059 { (exit 1); exit 1; }; };;
35060 --help | --hel | -h )
35061 echo "$ac_cs_usage"; exit 0 ;;
35062 --debug | --d* | -d )
35064 --file | --fil | --fi | --f )
35066 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35067 ac_need_defaults
=false
;;
35068 --header | --heade | --head | --hea )
35070 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35071 ac_need_defaults
=false
;;
35072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35076 # This is an error.
35077 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35078 Try \`$0 --help' for more information." >&5
35079 echo "$as_me: error: unrecognized option: $1
35080 Try \`$0 --help' for more information." >&2;}
35081 { (exit 1); exit 1; }; } ;;
35083 *) ac_config_targets
="$ac_config_targets $1" ;;
35089 ac_configure_extra_args
=
35091 if $ac_cs_silent; then
35093 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35097 cat >>$CONFIG_STATUS <<_ACEOF
35098 if \$ac_cs_recheck; then
35099 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35100 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35105 cat >>$CONFIG_STATUS <<_ACEOF
35107 # INIT-COMMANDS section.
35111 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35120 cat >>$CONFIG_STATUS <<\_ACEOF
35121 for ac_config_target
in $ac_config_targets
35123 case "$ac_config_target" in
35124 # Handling of arguments.
35125 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35126 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35127 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35128 "samples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/Makefile" ;;
35129 "samples/access/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/access/Makefile" ;;
35130 "samples/artprov/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/artprov/Makefile" ;;
35131 "samples/caret/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/caret/Makefile" ;;
35132 "samples/calendar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/calendar/Makefile" ;;
35133 "samples/checklst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/checklst/Makefile" ;;
35134 "samples/config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/config/Makefile" ;;
35135 "samples/controls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/controls/Makefile" ;;
35136 "samples/console/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/console/Makefile" ;;
35137 "samples/db/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/db/Makefile" ;;
35138 "samples/dialogs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dialogs/Makefile" ;;
35139 "samples/dialup/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dialup/Makefile" ;;
35140 "samples/docview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/docview/Makefile" ;;
35141 "samples/docvwmdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/docvwmdi/Makefile" ;;
35142 "samples/dnd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dnd/Makefile" ;;
35143 "samples/dragimag/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dragimag/Makefile" ;;
35144 "samples/drawing/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/drawing/Makefile" ;;
35145 "samples/dynamic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/dynamic/Makefile" ;;
35146 "samples/erase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/erase/Makefile" ;;
35147 "samples/event/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/event/Makefile" ;;
35148 "samples/exec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/exec/Makefile" ;;
35149 "samples/font/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/font/Makefile" ;;
35150 "samples/grid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/grid/Makefile" ;;
35151 "samples/help/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/help/Makefile" ;;
35152 "samples/image/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/image/Makefile" ;;
35153 "samples/internat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/internat/Makefile" ;;
35154 "samples/ipc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/ipc/Makefile" ;;
35155 "samples/joytest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/joytest/Makefile" ;;
35156 "samples/keyboard/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/keyboard/Makefile" ;;
35157 "samples/layout/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/layout/Makefile" ;;
35158 "samples/listctrl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/listctrl/Makefile" ;;
35159 "samples/mdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mdi/Makefile" ;;
35160 "samples/menu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/menu/Makefile" ;;
35161 "samples/memcheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/memcheck/Makefile" ;;
35162 "samples/minifram/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/minifram/Makefile" ;;
35163 "samples/minimal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/minimal/Makefile" ;;
35164 "samples/mobile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mobile/Makefile" ;;
35165 "samples/mobile/wxedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mobile/wxedit/Makefile" ;;
35166 "samples/mobile/styles/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/mobile/styles/Makefile" ;;
35167 "samples/multimon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/multimon/Makefile" ;;
35168 "samples/notebook/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/notebook/Makefile" ;;
35169 "samples/oleauto/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/oleauto/Makefile" ;;
35170 "samples/ownerdrw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/ownerdrw/Makefile" ;;
35171 "samples/png/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/png/Makefile" ;;
35172 "samples/printing/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/printing/Makefile" ;;
35173 "samples/propsize/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/propsize/Makefile" ;;
35174 "samples/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/regtest/Makefile" ;;
35175 "samples/rotate/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/rotate/Makefile" ;;
35176 "samples/sashtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/sashtest/Makefile" ;;
35177 "samples/shaped/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/shaped/Makefile" ;;
35178 "samples/scroll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/scroll/Makefile" ;;
35179 "samples/scrollsub/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/scrollsub/Makefile" ;;
35180 "samples/sockets/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/sockets/Makefile" ;;
35181 "samples/splitter/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/splitter/Makefile" ;;
35182 "samples/statbar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/statbar/Makefile" ;;
35183 "samples/taskbar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/taskbar/Makefile" ;;
35184 "samples/text/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/text/Makefile" ;;
35185 "samples/thread/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/thread/Makefile" ;;
35186 "samples/toolbar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/toolbar/Makefile" ;;
35187 "samples/treectrl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/treectrl/Makefile" ;;
35188 "samples/typetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/typetest/Makefile" ;;
35189 "samples/validate/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/validate/Makefile" ;;
35190 "samples/widgets/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/widgets/Makefile" ;;
35191 "samples/wizard/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/wizard/Makefile" ;;
35192 "samples/htlbox/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/htlbox/Makefile" ;;
35193 "samples/html/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/Makefile" ;;
35194 "samples/html/about/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/about/Makefile" ;;
35195 "samples/html/help/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/help/Makefile" ;;
35196 "samples/html/printing/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/printing/Makefile" ;;
35197 "samples/html/helpview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/helpview/Makefile" ;;
35198 "samples/html/test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/test/Makefile" ;;
35199 "samples/html/zip/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/zip/Makefile" ;;
35200 "samples/html/virtual/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/virtual/Makefile" ;;
35201 "samples/html/widget/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/html/widget/Makefile" ;;
35202 "samples/opengl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/Makefile" ;;
35203 "samples/opengl/cube/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/cube/Makefile" ;;
35204 "samples/opengl/penguin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/penguin/Makefile" ;;
35205 "samples/opengl/isosurf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/opengl/isosurf/Makefile" ;;
35206 "demos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/Makefile" ;;
35207 "demos/bombs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/bombs/Makefile" ;;
35208 "demos/dbbrowse/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/dbbrowse/Makefile" ;;
35209 "demos/forty/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/forty/Makefile" ;;
35210 "demos/fractal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/fractal/Makefile" ;;
35211 "demos/life/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/life/Makefile" ;;
35212 "demos/poem/Makefile" ) CONFIG_FILES
="$CONFIG_FILES demos/poem/Makefile" ;;
35213 "utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
35214 "utils/makegen/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/makegen/Makefile" ;;
35215 "utils/HelpGen/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/HelpGen/Makefile" ;;
35216 "utils/HelpGen/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/HelpGen/src/Makefile" ;;
35217 "utils/tex2rtf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/tex2rtf/Makefile" ;;
35218 "utils/tex2rtf/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/tex2rtf/src/Makefile" ;;
35219 "utils/hhp2cached/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/hhp2cached/Makefile" ;;
35220 "utils/dialoged/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/dialoged/Makefile" ;;
35221 "utils/dialoged/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/dialoged/src/Makefile" ;;
35222 "utils/emulator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/emulator/Makefile" ;;
35223 "utils/emulator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/emulator/src/Makefile" ;;
35224 "utils/helpview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/helpview/Makefile" ;;
35225 "utils/helpview/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/helpview/src/Makefile" ;;
35226 "utils/configtool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/configtool/Makefile" ;;
35227 "utils/configtool/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/configtool/src/Makefile" ;;
35228 "contrib/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/Makefile" ;;
35229 "contrib/src/deprecated/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/deprecated/Makefile" ;;
35230 "contrib/src/ogl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/ogl/Makefile" ;;
35231 "contrib/src/mmedia/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/mmedia/Makefile" ;;
35232 "contrib/src/stc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/stc/Makefile" ;;
35233 "contrib/src/svg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/svg/Makefile" ;;
35234 "contrib/src/xrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/xrc/Makefile" ;;
35235 "contrib/src/gizmos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/gizmos/Makefile" ;;
35236 "contrib/src/plot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/plot/Makefile" ;;
35237 "contrib/src/applet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/applet/Makefile" ;;
35238 "contrib/src/fl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/fl/Makefile" ;;
35239 "contrib/src/net/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/src/net/Makefile" ;;
35240 "contrib/samples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/Makefile" ;;
35241 "contrib/samples/deprecated/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/Makefile" ;;
35242 "contrib/samples/deprecated/proplist/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/proplist/Makefile" ;;
35243 "contrib/samples/deprecated/resource/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/resource/Makefile" ;;
35244 "contrib/samples/deprecated/treelay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/deprecated/treelay/Makefile" ;;
35245 "contrib/samples/mmedia/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/mmedia/Makefile" ;;
35246 "contrib/samples/ogl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/ogl/Makefile" ;;
35247 "contrib/samples/ogl/ogledit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/ogl/ogledit/Makefile" ;;
35248 "contrib/samples/ogl/studio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/ogl/studio/Makefile" ;;
35249 "contrib/samples/stc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/stc/Makefile" ;;
35250 "contrib/samples/svg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/svg/Makefile" ;;
35251 "contrib/samples/gizmos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/Makefile" ;;
35252 "contrib/samples/gizmos/editlbox/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/editlbox/Makefile" ;;
35253 "contrib/samples/gizmos/dynsash/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/dynsash/Makefile" ;;
35254 "contrib/samples/gizmos/dynsash_switch/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/dynsash_switch/Makefile" ;;
35255 "contrib/samples/gizmos/multicell/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/multicell/Makefile" ;;
35256 "contrib/samples/gizmos/splittree/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/splittree/Makefile" ;;
35257 "contrib/samples/gizmos/led/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/gizmos/led/Makefile" ;;
35258 "contrib/samples/xrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/xrc/Makefile" ;;
35259 "contrib/samples/plot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/plot/Makefile" ;;
35260 "contrib/samples/applet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/applet/Makefile" ;;
35261 "contrib/samples/fl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/Makefile" ;;
35262 "contrib/samples/fl/fl_demo1/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_demo1/Makefile" ;;
35263 "contrib/samples/fl/fl_demo2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_demo2/Makefile" ;;
35264 "contrib/samples/fl/fl_sample1/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_sample1/Makefile" ;;
35265 "contrib/samples/fl/fl_sample2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_sample2/Makefile" ;;
35266 "contrib/samples/fl/fl_sample3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/samples/fl/fl_sample3/Makefile" ;;
35267 "contrib/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/Makefile" ;;
35268 "contrib/utils/wxrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/wxrc/Makefile" ;;
35269 "contrib/utils/wxrcedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/wxrcedit/Makefile" ;;
35270 "contrib/utils/convertrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/utils/convertrc/Makefile" ;;
35271 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35272 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35273 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35274 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35275 { (exit 1); exit 1; }; };;
35279 # If the user did not use the arguments to specify the items to instantiate,
35280 # then the envvar interface is used. Set only those that are not.
35281 # We use the long form for the default assignment because of an extremely
35282 # bizarre bug on SunOS 4.1.3.
35283 if $ac_need_defaults; then
35284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35289 # Have a temporary directory for convenience. Make it in the build tree
35290 # simply because there is no reason to put it here, and in addition,
35291 # creating and moving files from /tmp can sometimes cause problems.
35292 # Create a temporary directory, and hook for its removal unless debugging.
35295 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35296 trap '{ (exit 1); exit 1; }' 1 2 13 15
35299 # Create a (secure) tmp directory for tmp files.
35302 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35303 test -n "$tmp" && test -d "$tmp"
35306 tmp
=.
/confstat$$
-$RANDOM
35307 (umask 077 && mkdir $tmp)
35310 echo "$me: cannot create a temporary directory in ." >&2
35311 { (exit 1); exit 1; }
35316 cat >>$CONFIG_STATUS <<_ACEOF
35319 # CONFIG_FILES section.
35322 # No need to generate the scripts if there are no CONFIG_FILES.
35323 # This happens for instance when ./config.status config.h
35324 if test -n "\$CONFIG_FILES"; then
35325 # Protect against being on the right side of a sed subst in config.status.
35326 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35327 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35328 s,@SHELL@,$SHELL,;t t
35329 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35330 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35331 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35332 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35333 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35334 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35335 s,@exec_prefix@,$exec_prefix,;t t
35336 s,@prefix@,$prefix,;t t
35337 s,@program_transform_name@,$program_transform_name,;t t
35338 s,@bindir@,$bindir,;t t
35339 s,@sbindir@,$sbindir,;t t
35340 s,@libexecdir@,$libexecdir,;t t
35341 s,@datadir@,$datadir,;t t
35342 s,@sysconfdir@,$sysconfdir,;t t
35343 s,@sharedstatedir@,$sharedstatedir,;t t
35344 s,@localstatedir@,$localstatedir,;t t
35345 s,@libdir@,$libdir,;t t
35346 s,@includedir@,$includedir,;t t
35347 s,@oldincludedir@,$oldincludedir,;t t
35348 s,@infodir@,$infodir,;t t
35349 s,@mandir@,$mandir,;t t
35350 s,@build_alias@,$build_alias,;t t
35351 s,@host_alias@,$host_alias,;t t
35352 s,@target_alias@,$target_alias,;t t
35353 s,@DEFS@,$DEFS,;t t
35354 s,@ECHO_C@,$ECHO_C,;t t
35355 s,@ECHO_N@,$ECHO_N,;t t
35356 s,@ECHO_T@,$ECHO_T,;t t
35357 s,@LIBS@,$LIBS,;t t
35358 s,@build@,$build,;t t
35359 s,@build_cpu@,$build_cpu,;t t
35360 s,@build_vendor@,$build_vendor,;t t
35361 s,@build_os@,$build_os,;t t
35362 s,@host@,$host,;t t
35363 s,@host_cpu@,$host_cpu,;t t
35364 s,@host_vendor@,$host_vendor,;t t
35365 s,@host_os@,$host_os,;t t
35366 s,@target@,$target,;t t
35367 s,@target_cpu@,$target_cpu,;t t
35368 s,@target_vendor@,$target_vendor,;t t
35369 s,@target_os@,$target_os,;t t
35371 s,@CFLAGS@,$CFLAGS,;t t
35372 s,@LDFLAGS@,$LDFLAGS,;t t
35373 s,@CPPFLAGS@,$CPPFLAGS,;t t
35374 s,@ac_ct_CC@,$ac_ct_CC,;t t
35375 s,@EXEEXT@,$EXEEXT,;t t
35376 s,@OBJEXT@,$OBJEXT,;t t
35378 s,@EGREP@,$EGREP,;t t
35380 s,@CXXFLAGS@,$CXXFLAGS,;t t
35381 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35382 s,@RANLIB@,$RANLIB,;t t
35383 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35385 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35386 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35387 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35388 s,@STRIP@,$STRIP,;t t
35389 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35390 s,@YACC@,$YACC,;t t
35392 s,@LEXLIB@,$LEXLIB,;t t
35393 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35394 s,@LN_S@,$LN_S,;t t
35395 s,@CXXCPP@,$CXXCPP,;t t
35396 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35397 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35398 s,@GTK_LIBS@,$GTK_LIBS,;t t
35399 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35400 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35401 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35402 s,@X_CFLAGS@,$X_CFLAGS,;t t
35403 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35404 s,@X_LIBS@,$X_LIBS,;t t
35405 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35406 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35407 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35408 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35409 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35410 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35411 s,@RESCOMP@,$RESCOMP,;t t
35412 s,@DEREZ@,$DEREZ,;t t
35413 s,@SETFILE@,$SETFILE,;t t
35414 s,@LIBICONV@,$LIBICONV,;t t
35415 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35416 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35417 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35418 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35419 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35420 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35421 s,@WXUNIV@,$WXUNIV,;t t
35422 s,@MONOLITHIC@,$MONOLITHIC,;t t
35423 s,@EXTRALIBS@,$EXTRALIBS,;t t
35424 s,@UNICODE@,$UNICODE,;t t
35425 s,@BUILD@,$BUILD,;t t
35426 s,@SHARED@,$SHARED,;t t
35427 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35428 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35429 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35430 s,@SET_MAKE@,$SET_MAKE,;t t
35431 s,@MAKE_SET@,$MAKE_SET,;t t
35432 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35433 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35434 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35435 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35436 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35437 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35438 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35439 s,@DLLPREFIX@,$DLLPREFIX,;t t
35440 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35441 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35442 s,@PIC_FLAG@,$PIC_FLAG,;t t
35443 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35444 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35445 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35446 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35447 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35448 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35449 s,@DEPS_TYPE@,$DEPS_TYPE,;t t
35450 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35451 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35452 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35453 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35454 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35455 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35456 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35457 s,@COND_SHARED_1_MONOLITHIC_1@,$COND_SHARED_1_MONOLITHIC_1,;t t
35458 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35459 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35460 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35461 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35462 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35463 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35464 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35465 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35466 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35467 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35468 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35469 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35470 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35471 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35472 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_0@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_0,;t t
35473 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_1@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_1,;t t
35474 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35475 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35476 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35477 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35478 s,@COND_DEPS_TYPE_GCC@,$COND_DEPS_TYPE_GCC,;t t
35479 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35480 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35481 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35482 s,@COND_SHARED_0_MONOLITHIC_1@,$COND_SHARED_0_MONOLITHIC_1,;t t
35483 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35484 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35485 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35486 s,@LEX_STEM@,$LEX_STEM,;t t
35487 s,@PATH_IFS@,$PATH_IFS,;t t
35488 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35489 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35490 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35491 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35492 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35493 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35494 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35495 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35496 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35497 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35498 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35499 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35500 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35501 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35502 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35503 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35504 s,@WX_ALL@,$WX_ALL,;t t
35505 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35506 s,@SHARED_LD@,$SHARED_LD,;t t
35507 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35508 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35509 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
35510 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
35511 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
35512 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35513 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35514 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35515 s,@USE_GUI@,$USE_GUI,;t t
35516 s,@AFMINSTALL@,$AFMINSTALL,;t t
35517 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35518 s,@TOOLKIT@,$TOOLKIT,;t t
35519 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35520 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35521 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35522 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35523 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35524 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35525 s,@cross_compiling@,$cross_compiling,;t t
35526 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35527 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35528 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35529 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35530 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35531 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35532 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35533 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35534 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35535 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35536 s,@GUIDIST@,$GUIDIST,;t t
35537 s,@PORT_FILES@,$PORT_FILES,;t t
35538 s,@DISTDIR@,$DISTDIR,;t t
35539 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35540 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35541 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35542 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35543 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35544 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35545 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35546 s,@RESFLAGS@,$RESFLAGS,;t t
35547 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35548 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35549 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35550 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35551 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35552 s,@MACRESCOMP@,$MACRESCOMP,;t t
35553 s,@MACSETFILE@,$MACSETFILE,;t t
35554 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35556 s,@DLLTOOL@,$DLLTOOL,;t t
35560 s,@MAKEINFO@,$MAKEINFO,;t t
35561 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35562 s,@ESD_LINK@,$ESD_LINK,;t t
35563 s,@LIBOBJS@,$LIBOBJS,;t t
35564 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35569 cat >>$CONFIG_STATUS <<\_ACEOF
35570 # Split the substitutions into bite-sized pieces for seds with
35571 # small command number limits, like on Digital OSF/1 and HP-UX.
35572 ac_max_sed_lines
=48
35573 ac_sed_frag
=1 # Number of current file.
35574 ac_beg
=1 # First line for current file.
35575 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35578 while $ac_more_lines; do
35579 if test $ac_beg -gt 1; then
35580 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35582 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35584 if test ! -s $tmp/subs.frag
; then
35585 ac_more_lines
=false
35587 # The purpose of the label and of the branching condition is to
35588 # speed up the sed processing (if there are no `@' at all, there
35589 # is no need to browse any of the substitutions).
35590 # These are the two extra sed commands mentioned above.
35592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
35593 if test -z "$ac_sed_cmds"; then
35594 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35596 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35598 ac_sed_frag
=`expr $ac_sed_frag + 1`
35600 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35603 if test -z "$ac_sed_cmds"; then
35606 fi # test -n "$CONFIG_FILES"
35609 cat >>$CONFIG_STATUS <<\_ACEOF
35610 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35611 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35613 - | *:- | *:-:* ) # input from stdin
35615 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35616 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35617 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35618 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35619 * ) ac_file_in
=$ac_file.
in ;;
35622 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35623 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35624 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35625 X"$ac_file" : 'X\(//\)[^/]' \| \
35626 X"$ac_file" : 'X\(//\)$' \| \
35627 X"$ac_file" : 'X\(/\)' \| \
35628 . : '\(.\)' 2>/dev/null ||
35630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35632 /^X\(\/\/\)$/{ s//\1/; q; }
35633 /^X\(\/\).*/{ s//\1/; q; }
35635 { if $as_mkdir_p; then
35640 while test ! -d "$as_dir"; do
35641 as_dirs
="$as_dir $as_dirs"
35642 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35643 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35644 X"$as_dir" : 'X\(//\)[^/]' \| \
35645 X"$as_dir" : 'X\(//\)$' \| \
35646 X"$as_dir" : 'X\(/\)' \| \
35647 . : '\(.\)' 2>/dev/null ||
35649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35650 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35651 /^X\(\/\/\)$/{ s//\1/; q; }
35652 /^X\(\/\).*/{ s//\1/; q; }
35655 test ! -n "$as_dirs" || mkdir $as_dirs
35656 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35657 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35658 { (exit 1); exit 1; }; }; }
35662 if test "$ac_dir" != .
; then
35663 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35664 # A "../" for each directory in $ac_dir_suffix.
35665 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35667 ac_dir_suffix
= ac_top_builddir
=
35671 .
) # No --srcdir option. We are building in place.
35673 if test -z "$ac_top_builddir"; then
35676 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35678 [\\/]* | ?
:[\\/]* ) # Absolute path.
35679 ac_srcdir
=$srcdir$ac_dir_suffix;
35680 ac_top_srcdir
=$srcdir ;;
35681 *) # Relative path.
35682 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35683 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35685 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35687 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
35688 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35689 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35690 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35694 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35695 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
35698 if test x
"$ac_file" != x
-; then
35699 { echo "$as_me:$LINENO: creating $ac_file" >&5
35700 echo "$as_me: creating $ac_file" >&6;}
35703 # Let's still pretend it is `configure' which instantiates (i.e., don't
35704 # use $as_me), people would be surprised to read:
35705 # /* config.h. Generated by config.status. */
35706 if test x
"$ac_file" = x
-; then
35709 configure_input
="$ac_file. "
35711 configure_input
=$configure_input"Generated from `echo $ac_file_in |
35712 sed 's,.*/,,'` by configure."
35714 # First look for the input files in the build tree, otherwise in the
35716 ac_file_inputs
=`IFS=:
35717 for f in $ac_file_in; do
35719 -) echo $tmp/stdin ;;
35721 # Absolute (can't be DOS-style, as IFS=:)
35722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35723 echo "$as_me: error: cannot find input file: $f" >&2;}
35724 { (exit 1); exit 1; }; }
35727 if test -f "$f"; then
35730 elif test -f "$srcdir/$f"; then
35735 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35736 echo "$as_me: error: cannot find input file: $f" >&2;}
35737 { (exit 1); exit 1; }; }
35740 done` || { (exit 1); exit 1; }
35742 cat >>$CONFIG_STATUS <<_ACEOF
35746 cat >>$CONFIG_STATUS <<\_ACEOF
35748 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
35749 s
,@configure_input@
,$configure_input,;t t
35750 s
,@srcdir@
,$ac_srcdir,;t t
35751 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
35752 s
,@top_srcdir@
,$ac_top_srcdir,;t t
35753 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
35754 s
,@builddir@
,$ac_builddir,;t t
35755 s
,@abs_builddir@
,$ac_abs_builddir,;t t
35756 s
,@top_builddir@
,$ac_top_builddir,;t t
35757 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
35758 s
,@INSTALL@
,$ac_INSTALL,;t t
35759 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35761 if test x"$ac_file" != x-; then
35762 mv $tmp/out $ac_file
35770 cat >>$CONFIG_STATUS <<\_ACEOF
35773 # CONFIG_HEADER section.
35776 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
35777 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35779 # ac_d sets the value in "#define NAME VALUE" lines.
35780 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35781 ac_dB
='[ ].*$,\1#\2'
35784 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35785 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35786 ac_uB
='$,\1#\2define\3'
35790 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
35791 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35793 - | *:- | *:-:* ) # input from stdin
35795 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35796 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35797 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35798 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35799 * ) ac_file_in
=$ac_file.
in ;;
35802 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35803 echo "$as_me: creating $ac_file" >&6;}
35805 # First look for the input files in the build tree, otherwise in the
35807 ac_file_inputs
=`IFS=:
35808 for f in $ac_file_in; do
35810 -) echo $tmp/stdin ;;
35812 # Absolute (can't be DOS-style, as IFS=:)
35813 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35814 echo "$as_me: error: cannot find input file: $f" >&2;}
35815 { (exit 1); exit 1; }; }
35818 if test -f "$f"; then
35821 elif test -f "$srcdir/$f"; then
35826 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35827 echo "$as_me: error: cannot find input file: $f" >&2;}
35828 { (exit 1); exit 1; }; }
35831 done` || { (exit 1); exit 1; }
35832 # Remove the trailing spaces.
35833 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35837 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35838 # `conftest.undefs', that substitutes the proper values into
35839 # config.h.in to produce config.h. The first handles `#define'
35840 # templates, and the second `#undef' templates.
35841 # And first: Protect against being on the right side of a sed subst in
35842 # config.status. Protect against being in an unquoted here document
35843 # in config.status.
35844 rm -f conftest.defines conftest.undefs
35845 # Using a here document instead of a string reduces the quoting nightmare.
35846 # Putting comments in sed scripts is not portable.
35848 # `end' is used to avoid that the second main sed command (meant for
35849 # 0-ary CPP macros) applies to n-ary macro definitions.
35850 # See the Autoconf documentation for `clear'.
35851 cat >confdef2sed.
sed <<\_ACEOF
35856 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35858 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35861 # If some macros were called several times there might be several times
35862 # the same #defines, which is useless. Nevertheless, we may not want to
35863 # sort them, since we want the *last* AC-DEFINE to be honored.
35864 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35865 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35866 rm -f confdef2sed.sed
35868 # This sed command replaces #undef with comments. This is necessary, for
35869 # example, in the case of _POSIX_SOURCE, which is predefined and required
35870 # on some systems where configure will not decide to define it.
35871 cat >>conftest.undefs <<\_ACEOF
35872 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35875 # Break up conftest.defines because some shells have a limit on the size
35876 # of here documents, and old seds have small limits too (100 cmds).
35877 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35878 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35879 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35880 echo ' :' >>$CONFIG_STATUS
35881 rm -f conftest.tail
35882 while grep . conftest.defines >/dev/null
35884 # Write a limited-size here document to $tmp/defines.sed.
35885 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35886 # Speed up: don't consider the non `#define' lines.
35887 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35888 # Work around the forget-to-reset-the-flag bug.
35889 echo 't clr' >>$CONFIG_STATUS
35890 echo ': clr' >>$CONFIG_STATUS
35891 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
35893 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35895 mv $tmp/out $tmp/in
35897 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
35898 rm -f conftest.defines
35899 mv conftest.
tail conftest.defines
35901 rm -f conftest.defines
35902 echo ' fi # grep' >>$CONFIG_STATUS
35903 echo >>$CONFIG_STATUS
35905 # Break up conftest.undefs because some shells have a limit on the size
35906 # of here documents, and old seds have small limits too (100 cmds).
35907 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35908 rm -f conftest.
tail
35909 while grep . conftest.undefs
>/dev
/null
35911 # Write a limited-size here document to $tmp/undefs.sed.
35912 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35913 # Speed up: don't consider the non
`#undef'
35914 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35915 # Work around the forget-to-reset-the-flag bug.
35916 echo 't clr' >>$CONFIG_STATUS
35917 echo ': clr' >>$CONFIG_STATUS
35918 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35920 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35922 mv $tmp/out $tmp/in
35924 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35925 rm -f conftest.undefs
35926 mv conftest.tail conftest.undefs
35928 rm -f conftest.undefs
35930 cat >>$CONFIG_STATUS <<\_ACEOF
35931 # Let's still pretend it is `configure
' which instantiates (i.e., don't
35932 # use $as_me), people would be surprised to read:
35933 # /* config.h. Generated by config.status. */
35934 if test x
"$ac_file" = x
-; then
35935 echo "/* Generated by configure. */" >$tmp/config.h
35937 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35939 cat $tmp/in >>$tmp/config.h
35941 if test x
"$ac_file" != x
-; then
35942 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
35943 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35944 echo "$as_me: $ac_file is unchanged" >&6;}
35946 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35948 X"$ac_file" : 'X\(//\)[^/]' \| \
35949 X"$ac_file" : 'X\(//\)$' \| \
35950 X"$ac_file" : 'X\(/\)' \| \
35951 . : '\(.\)' 2>/dev/null ||
35953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35955 /^X\(\/\/\)$/{ s//\1/; q; }
35956 /^X\(\/\).*/{ s//\1/; q; }
35958 { if $as_mkdir_p; then
35963 while test ! -d "$as_dir"; do
35964 as_dirs
="$as_dir $as_dirs"
35965 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35967 X"$as_dir" : 'X\(//\)[^/]' \| \
35968 X"$as_dir" : 'X\(//\)$' \| \
35969 X"$as_dir" : 'X\(/\)' \| \
35970 . : '\(.\)' 2>/dev/null ||
35972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35974 /^X\(\/\/\)$/{ s//\1/; q; }
35975 /^X\(\/\).*/{ s//\1/; q; }
35978 test ! -n "$as_dirs" || mkdir $as_dirs
35979 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35981 { (exit 1); exit 1; }; }; }
35984 mv $tmp/config.h
$ac_file
35988 rm -f $tmp/config.h
35992 cat >>$CONFIG_STATUS <<\_ACEOF
35995 # CONFIG_COMMANDS section.
35997 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
35998 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
35999 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36000 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36001 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36002 X"$ac_dest" : 'X\(//\)[^/]' \| \
36003 X"$ac_dest" : 'X\(//\)$' \| \
36004 X"$ac_dest" : 'X\(/\)' \| \
36005 . : '\(.\)' 2>/dev/null ||
36007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36009 /^X\(\/\/\)$/{ s//\1/; q; }
36010 /^X\(\/\).*/{ s//\1/; q; }
36014 if test "$ac_dir" != .
; then
36015 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36016 # A "../" for each directory in $ac_dir_suffix.
36017 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36019 ac_dir_suffix
= ac_top_builddir
=
36023 .
) # No --srcdir option. We are building in place.
36025 if test -z "$ac_top_builddir"; then
36028 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36030 [\\/]* | ?
:[\\/]* ) # Absolute path.
36031 ac_srcdir
=$srcdir$ac_dir_suffix;
36032 ac_top_srcdir
=$srcdir ;;
36033 *) # Relative path.
36034 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36035 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36037 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36039 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36040 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36041 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36042 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36045 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36046 echo "$as_me: executing $ac_dest commands" >&6;}
36049 if test ! -h wx
-config; then
36051 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36052 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36055 if test ! -d lib
; then
36058 if test ! -d lib
/wx
; then
36061 if test ! -d lib
/wx
/include
; then
36062 mkdir lib
/wx
/include
36064 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36065 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36067 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36068 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36070 if test -f setup.h
; then
36071 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36078 cat >>$CONFIG_STATUS <<\_ACEOF
36080 { (exit 0); exit 0; }
36082 chmod +x
$CONFIG_STATUS
36083 ac_clean_files
=$ac_clean_files_save
36086 # configure is writing to config.log, and then calls config.status.
36087 # config.status does its own redirection, appending to config.log.
36088 # Unfortunately, on DOS this fails, as config.log is still kept open
36089 # by configure, so config.status won't be able to write to it; its
36090 # output is simply discarded. So we exec the FD to /dev/null,
36091 # effectively closing config.log, so it can be properly (re)opened and
36092 # appended to by config.status. When coming back to configure, we
36093 # need to make the FD available again.
36094 if test "$no_create" != yes; then
36096 ac_config_status_args
=
36097 test "$silent" = yes &&
36098 ac_config_status_args
="$ac_config_status_args --quiet"
36100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36103 # would make configure fail if this is the last instruction.
36104 $ac_cs_success || { (exit 1); exit 1; }
36109 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36111 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36113 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36114 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36115 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36117 echo " What level of wxWindows compatibility should be enabled?"
36118 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36119 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36120 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36122 echo " Which libraries should wxWindows use?"
36123 echo " jpeg ${wxUSE_LIBJPEG-none}"
36124 echo " png ${wxUSE_LIBPNG-none}"
36125 echo " regex ${wxUSE_REGEX}"
36126 echo " tiff ${wxUSE_LIBTIFF-none}"
36127 echo " zlib ${wxUSE_ZLIB}"
36128 echo " odbc ${wxUSE_ODBC}"