]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
Ignore isosurf.dat.
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
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.1.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
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## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
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 \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
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
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
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
125 as_myself=$0
126 fi
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; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
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
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
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 |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
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; }; }
180
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).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if 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
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
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}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.1'
273PACKAGE_STRING='wxWindows 2.5.1'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_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 LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316ac_subst_files=''
317
318# Initialize some variables set by options.
319ac_init_help=
320ac_init_version=false
321# The variables have the same names as the options, with
322# dashes changed to underlines.
323cache_file=/dev/null
324exec_prefix=NONE
325no_create=
326no_recursion=
327prefix=NONE
328program_prefix=NONE
329program_suffix=NONE
330program_transform_name=s,x,x,
331silent=
332site=
333srcdir=
334verbose=
335x_includes=NONE
336x_libraries=NONE
337
338# Installation directory options.
339# These are left unexpanded so users can "make install exec_prefix=/foo"
340# and all the variables that are supposed to be based on exec_prefix
341# by default will actually change.
342# Use braces instead of parens because sh, perl, etc. also accept them.
343bindir='${exec_prefix}/bin'
344sbindir='${exec_prefix}/sbin'
345libexecdir='${exec_prefix}/libexec'
346datadir='${prefix}/share'
347sysconfdir='${prefix}/etc'
348sharedstatedir='${prefix}/com'
349localstatedir='${prefix}/var'
350libdir='${exec_prefix}/lib'
351includedir='${prefix}/include'
352oldincludedir='/usr/include'
353infodir='${prefix}/info'
354mandir='${prefix}/man'
355
356ac_prev=
357for ac_option
358do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653done
654
655if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659fi
660
661# Be sure to have absolute paths.
662for ac_var in exec_prefix prefix
663do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670done
671
672# Be sure to have absolute paths.
673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682done
683
684# There might be people who depend on the old broken behavior: `$host'
685# used to hold the argument of --host etc.
686# FIXME: To remove some day.
687build=$build_alias
688host=$host_alias
689target=$target_alias
690
691# FIXME: To remove some day.
692if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700fi
701
702ac_tool_prefix=
703test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705test "$silent" = yes && exec 6>/dev/null
706
707
708# Find the source files, if location was not specified.
709if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728else
729 ac_srcdir_defaulted=no
730fi
731if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739fi
740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744ac_env_build_alias_set=${build_alias+set}
745ac_env_build_alias_value=$build_alias
746ac_cv_env_build_alias_set=${build_alias+set}
747ac_cv_env_build_alias_value=$build_alias
748ac_env_host_alias_set=${host_alias+set}
749ac_env_host_alias_value=$host_alias
750ac_cv_env_host_alias_set=${host_alias+set}
751ac_cv_env_host_alias_value=$host_alias
752ac_env_target_alias_set=${target_alias+set}
753ac_env_target_alias_value=$target_alias
754ac_cv_env_target_alias_set=${target_alias+set}
755ac_cv_env_target_alias_value=$target_alias
756ac_env_CC_set=${CC+set}
757ac_env_CC_value=$CC
758ac_cv_env_CC_set=${CC+set}
759ac_cv_env_CC_value=$CC
760ac_env_CFLAGS_set=${CFLAGS+set}
761ac_env_CFLAGS_value=$CFLAGS
762ac_cv_env_CFLAGS_set=${CFLAGS+set}
763ac_cv_env_CFLAGS_value=$CFLAGS
764ac_env_LDFLAGS_set=${LDFLAGS+set}
765ac_env_LDFLAGS_value=$LDFLAGS
766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767ac_cv_env_LDFLAGS_value=$LDFLAGS
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772ac_env_CPP_set=${CPP+set}
773ac_env_CPP_value=$CPP
774ac_cv_env_CPP_set=${CPP+set}
775ac_cv_env_CPP_value=$CPP
776ac_env_CXX_set=${CXX+set}
777ac_env_CXX_value=$CXX
778ac_cv_env_CXX_set=${CXX+set}
779ac_cv_env_CXX_value=$CXX
780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781ac_env_CXXFLAGS_value=$CXXFLAGS
782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784ac_env_CXXCPP_set=${CXXCPP+set}
785ac_env_CXXCPP_value=$CXXCPP
786ac_cv_env_CXXCPP_set=${CXXCPP+set}
787ac_cv_env_CXXCPP_value=$CXXCPP
788
789#
790# Report the --help message.
791#
792if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796\`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798Usage: $0 [OPTION]... [VAR=VALUE]...
799
800To assign environment variables (e.g., CC, CFLAGS...), specify them as
801VAR=VALUE. See below for descriptions of some of the useful variables.
802
803Defaults for the options are specified in brackets.
804
805Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816_ACEOF
817
818 cat <<_ACEOF
819Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825By default, \`make install' will install all the files in
826\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828for instance \`--prefix=\$HOME'.
829
830For better control, use the options below.
831
832Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845_ACEOF
846
847 cat <<\_ACEOF
848
849X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857_ACEOF
858fi
859
860if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-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 (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-libxpm use libxpm (XPM file format)
1052 --with-libmspack use libmspack (CHM help files loading)
1053 --with-opengl use OpenGL (or Mesa)
1054 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1055 --with-regex enable support for wxRegEx class
1056 --with-zlib use zlib for LZW compression
1057 --with-odbc use the IODBC and wxODBC classes
1058 --with-expat enable XML support using expat parser
1059 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1060 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1061 --with-x use the X Window System
1062 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1063
1064Some influential environment variables:
1065 CC C compiler command
1066 CFLAGS C compiler flags
1067 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1068 nonstandard directory <lib dir>
1069 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1070 headers in a nonstandard directory <include dir>
1071 CPP C preprocessor
1072 CXX C++ compiler command
1073 CXXFLAGS C++ compiler flags
1074 CXXCPP C++ preprocessor
1075
1076Use these variables to override the choices made by `configure' or to help
1077it to find libraries and programs with nonstandard names/locations.
1078
1079Report bugs to <wx-dev@lists.wxwindows.org>.
1080_ACEOF
1081fi
1082
1083if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1085 ac_popdir=`pwd`
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1088 ac_builddir=.
1089
1090if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1094else
1095 ac_dir_suffix= ac_top_builddir=
1096fi
1097
1098case $srcdir in
1099 .) # No --srcdir option. We are building in place.
1100 ac_srcdir=.
1101 if test -z "$ac_top_builddir"; then
1102 ac_top_srcdir=.
1103 else
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1105 fi ;;
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1109 *) # Relative path.
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112esac
1113# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1114# absolute.
1115ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1116ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1117ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1118ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1119
1120 cd $ac_dir
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1123 echo
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1126 echo
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1130 echo
1131 $ac_configure --help
1132 else
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1134 fi
1135 cd $ac_popdir
1136 done
1137fi
1138
1139test -n "$ac_init_help" && exit 0
1140if $ac_init_version; then
1141 cat <<\_ACEOF
1142wxWindows configure 2.5.1
1143generated by GNU Autoconf 2.57
1144
1145Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1146Free Software Foundation, Inc.
1147This configure script is free software; the Free Software Foundation
1148gives unlimited permission to copy, distribute and modify it.
1149_ACEOF
1150 exit 0
1151fi
1152exec 5>config.log
1153cat >&5 <<_ACEOF
1154This file contains any messages produced by compilers while
1155running configure, to aid debugging if configure makes a mistake.
1156
1157It was created by wxWindows $as_me 2.5.1, which was
1158generated by GNU Autoconf 2.57. Invocation command line was
1159
1160 $ $0 $@
1161
1162_ACEOF
1163{
1164cat <<_ASUNAME
1165## --------- ##
1166## Platform. ##
1167## --------- ##
1168
1169hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1170uname -m = `(uname -m) 2>/dev/null || echo unknown`
1171uname -r = `(uname -r) 2>/dev/null || echo unknown`
1172uname -s = `(uname -s) 2>/dev/null || echo unknown`
1173uname -v = `(uname -v) 2>/dev/null || echo unknown`
1174
1175/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1176/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1177
1178/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1179/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1180/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1181hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1182/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1183/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1184/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1185
1186_ASUNAME
1187
1188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189for as_dir in $PATH
1190do
1191 IFS=$as_save_IFS
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1194done
1195
1196} >&5
1197
1198cat >&5 <<_ACEOF
1199
1200
1201## ----------- ##
1202## Core tests. ##
1203## ----------- ##
1204
1205_ACEOF
1206
1207
1208# Keep a trace of the command line.
1209# Strip out --no-create and --no-recursion so they do not pile up.
1210# Strip out --silent because we don't want to record it for future runs.
1211# Also quote any args containing shell meta-characters.
1212# Make two passes to allow for proper duplicate-argument suppression.
1213ac_configure_args=
1214ac_configure_args0=
1215ac_configure_args1=
1216ac_sep=
1217ac_must_keep_next=false
1218for ac_pass in 1 2
1219do
1220 for ac_arg
1221 do
1222 case $ac_arg in
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1226 continue ;;
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 esac
1230 case $ac_pass in
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1232 2)
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1236 else
1237 case $ac_arg in
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 esac
1245 ;;
1246 -* ) ac_must_keep_next=true ;;
1247 esac
1248 fi
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1251 ac_sep=" "
1252 ;;
1253 esac
1254 done
1255done
1256$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1258
1259# When interrupted or exit'd, cleanup temporary files, and complete
1260# config.log. We remove comments because anyway the quotes in there
1261# would cause problems or look ugly.
1262# WARNING: Be sure not to use single quotes in there, as some shells,
1263# such as our DU 5.0 friend, will then `close' the trap.
1264trap 'exit_status=$?
1265 # Save into config.log some information that might help in debugging.
1266 {
1267 echo
1268
1269 cat <<\_ASBOX
1270## ---------------- ##
1271## Cache variables. ##
1272## ---------------- ##
1273_ASBOX
1274 echo
1275 # The following way of writing the cache mishandles newlines in values,
1276{
1277 (set) 2>&1 |
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 *ac_space=\ *)
1280 sed -n \
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 ;;
1284 *)
1285 sed -n \
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ;;
1288 esac;
1289}
1290 echo
1291
1292 cat <<\_ASBOX
1293## ----------------- ##
1294## Output variables. ##
1295## ----------------- ##
1296_ASBOX
1297 echo
1298 for ac_var in $ac_subst_vars
1299 do
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1302 done | sort
1303 echo
1304
1305 if test -n "$ac_subst_files"; then
1306 cat <<\_ASBOX
1307## ------------- ##
1308## Output files. ##
1309## ------------- ##
1310_ASBOX
1311 echo
1312 for ac_var in $ac_subst_files
1313 do
1314 eval ac_val=$`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1316 done | sort
1317 echo
1318 fi
1319
1320 if test -s confdefs.h; then
1321 cat <<\_ASBOX
1322## ----------- ##
1323## confdefs.h. ##
1324## ----------- ##
1325_ASBOX
1326 echo
1327 sed "/^$/d" confdefs.h | sort
1328 echo
1329 fi
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1333 } >&5
1334 rm -f core core.* *.core &&
1335 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1336 exit $exit_status
1337 ' 0
1338for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340done
1341ac_signal=0
1342
1343# confdefs.h avoids OS command line length limits that DEFS can exceed.
1344rm -rf conftest* confdefs.h
1345# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346echo >confdefs.h
1347
1348# Predefined preprocessor variables.
1349
1350cat >>confdefs.h <<_ACEOF
1351#define PACKAGE_NAME "$PACKAGE_NAME"
1352_ACEOF
1353
1354
1355cat >>confdefs.h <<_ACEOF
1356#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357_ACEOF
1358
1359
1360cat >>confdefs.h <<_ACEOF
1361#define PACKAGE_VERSION "$PACKAGE_VERSION"
1362_ACEOF
1363
1364
1365cat >>confdefs.h <<_ACEOF
1366#define PACKAGE_STRING "$PACKAGE_STRING"
1367_ACEOF
1368
1369
1370cat >>confdefs.h <<_ACEOF
1371#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372_ACEOF
1373
1374
1375# Let the site file select an alternate cache file if it wants to.
1376# Prefer explicitly selected file to automatically selected ones.
1377if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1380 else
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 fi
1383fi
1384for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's/^/| /' "$ac_site_file" >&5
1389 . "$ac_site_file"
1390 fi
1391done
1392
1393if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398echo "$as_me: loading cache $cache_file" >&6;}
1399 case $cache_file in
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1402 esac
1403 fi
1404else
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406echo "$as_me: creating cache $cache_file" >&6;}
1407 >$cache_file
1408fi
1409
1410# Check that the precious variables saved in the cache have kept the same
1411# value.
1412ac_cache_corrupted=false
1413for ac_var in `(set) 2>&1 |
1414 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1420 set,)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1422echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,set)
1425 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1426echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1428 ,);;
1429 *)
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1432echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1433 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1434echo "$as_me: former value: $ac_old_val" >&2;}
1435 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1436echo "$as_me: current value: $ac_new_val" >&2;}
1437 ac_cache_corrupted=:
1438 fi;;
1439 esac
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1442 case $ac_new_val in
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1446 esac
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 esac
1451 fi
1452done
1453if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1455echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1456 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1457echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1458 { (exit 1); exit 1; }; }
1459fi
1460
1461ac_ext=c
1462ac_cpp='$CPP $CPPFLAGS'
1463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1465ac_compiler_gnu=$ac_cv_c_compiler_gnu
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496ac_aux_dir=
1497for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1498 if test -f $ac_dir/install-sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install-sh -c"
1501 break
1502 elif test -f $ac_dir/install.sh; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/install.sh -c"
1505 break
1506 elif test -f $ac_dir/shtool; then
1507 ac_aux_dir=$ac_dir
1508 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 break
1510 fi
1511done
1512if test -z "$ac_aux_dir"; then
1513 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1514echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 { (exit 1); exit 1; }; }
1516fi
1517ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1518ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1519ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1520
1521# Make sure we can run config.sub.
1522$ac_config_sub sun4 >/dev/null 2>&1 ||
1523 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1524echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1525 { (exit 1); exit 1; }; }
1526
1527echo "$as_me:$LINENO: checking build system type" >&5
1528echo $ECHO_N "checking build system type... $ECHO_C" >&6
1529if test "${ac_cv_build+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1531else
1532 ac_cv_build_alias=$build_alias
1533test -z "$ac_cv_build_alias" &&
1534 ac_cv_build_alias=`$ac_config_guess`
1535test -z "$ac_cv_build_alias" &&
1536 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1537echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1538 { (exit 1); exit 1; }; }
1539ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1541echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1543
1544fi
1545echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1546echo "${ECHO_T}$ac_cv_build" >&6
1547build=$ac_cv_build
1548build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1549build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1550build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1551
1552
1553echo "$as_me:$LINENO: checking host system type" >&5
1554echo $ECHO_N "checking host system type... $ECHO_C" >&6
1555if test "${ac_cv_host+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1557else
1558 ac_cv_host_alias=$host_alias
1559test -z "$ac_cv_host_alias" &&
1560 ac_cv_host_alias=$ac_cv_build_alias
1561ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1563echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1565
1566fi
1567echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1568echo "${ECHO_T}$ac_cv_host" >&6
1569host=$ac_cv_host
1570host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573
1574
1575echo "$as_me:$LINENO: checking target system type" >&5
1576echo $ECHO_N "checking target system type... $ECHO_C" >&6
1577if test "${ac_cv_target+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1579else
1580 ac_cv_target_alias=$target_alias
1581test "x$ac_cv_target_alias" = "x" &&
1582 ac_cv_target_alias=$ac_cv_host_alias
1583ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1585echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588fi
1589echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1590echo "${ECHO_T}$ac_cv_target" >&6
1591target=$ac_cv_target
1592target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595
1596
1597# The aliases save the names the user supplied, while $host etc.
1598# will get canonicalized.
1599test -n "$target_alias" &&
1600 test "$program_prefix$program_suffix$program_transform_name" = \
1601 NONENONEs,x,x, &&
1602 program_prefix=${target_alias}-
1603
1604
1605
1606WX_MAJOR_VERSION_NUMBER=2
1607WX_MINOR_VERSION_NUMBER=5
1608WX_RELEASE_NUMBER=1
1609
1610WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1611WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1612
1613WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1614
1615WX_CURRENT=1
1616WX_REVISION=0
1617WX_AGE=0
1618
1619
1620
1621USE_UNIX=1
1622USE_OS2=0
1623USE_WIN32=0
1624USE_DOS=0
1625USE_BEOS=0
1626USE_MAC=0
1627
1628USE_AIX=
1629USE_BSD= USE_DARWIN= USE_FREEBSD=
1630USE_GNU= USE_HPUX=
1631USE_LINUX=
1632USE_NETBSD=
1633USE_OPENBSD=
1634USE_OSF= USE_SGI=
1635USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1636USE_ULTRIX=
1637USE_UNIXWARE=
1638
1639USE_ALPHA=
1640
1641NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1642
1643ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1644
1645DEFAULT_wxUSE_COCOA=0
1646DEFAULT_wxUSE_GTK=0
1647DEFAULT_wxUSE_MAC=0
1648DEFAULT_wxUSE_MGL=0
1649DEFAULT_wxUSE_MICROWIN=0
1650DEFAULT_wxUSE_MOTIF=0
1651DEFAULT_wxUSE_MSW=0
1652DEFAULT_wxUSE_PM=0
1653DEFAULT_wxUSE_X11=0
1654
1655DEFAULT_DEFAULT_wxUSE_COCOA=0
1656DEFAULT_DEFAULT_wxUSE_GTK=0
1657DEFAULT_DEFAULT_wxUSE_MAC=0
1658DEFAULT_DEFAULT_wxUSE_MGL=0
1659DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1660DEFAULT_DEFAULT_wxUSE_MOTIF=0
1661DEFAULT_DEFAULT_wxUSE_MSW=0
1662DEFAULT_DEFAULT_wxUSE_PM=0
1663DEFAULT_DEFAULT_wxUSE_X11=0
1664
1665PROGRAM_EXT=
1666SO_SUFFIX=so
1667SAMPLES_RPATH_FLAG=
1668SAMPLES_RPATH_POSTLINK=
1669
1670case "${host}" in
1671 *-hp-hpux* )
1672 USE_HPUX=1
1673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1674 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1675 SO_SUFFIX=sl
1676 cat >>confdefs.h <<\_ACEOF
1677#define __HPUX__ 1
1678_ACEOF
1679
1680 ;;
1681 *-*-linux* )
1682 USE_LINUX=1
1683 cat >>confdefs.h <<\_ACEOF
1684#define __LINUX__ 1
1685_ACEOF
1686
1687 TMP=`uname -m`
1688 if test "x$TMP" = "xalpha"; then
1689 USE_ALPHA=1
1690 cat >>confdefs.h <<\_ACEOF
1691#define __ALPHA__ 1
1692_ACEOF
1693
1694 fi
1695 DEFAULT_DEFAULT_wxUSE_GTK=1
1696 ;;
1697 *-*-gnu* )
1698 USE_GNU=1
1699 cat >>confdefs.h <<\_ACEOF
1700#define __GNU__ 1
1701_ACEOF
1702
1703 TMP=`uname -m`
1704 if test "x$TMP" = "xalpha"; then
1705 USE_ALPHA=1
1706 cat >>confdefs.h <<\_ACEOF
1707#define __ALPHA__ 1
1708_ACEOF
1709
1710 fi
1711 DEFAULT_DEFAULT_wxUSE_GTK=1
1712 ;;
1713 *-*-irix5* | *-*-irix6* )
1714 USE_SGI=1
1715 USE_SVR4=1
1716 cat >>confdefs.h <<\_ACEOF
1717#define __SGI__ 1
1718_ACEOF
1719
1720 cat >>confdefs.h <<\_ACEOF
1721#define __SVR4__ 1
1722_ACEOF
1723
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 ;;
1726 *-*-solaris2* )
1727 USE_SUN=1
1728 USE_SOLARIS=1
1729 USE_SVR4=1
1730 cat >>confdefs.h <<\_ACEOF
1731#define __SUN__ 1
1732_ACEOF
1733
1734 cat >>confdefs.h <<\_ACEOF
1735#define __SOLARIS__ 1
1736_ACEOF
1737
1738 cat >>confdefs.h <<\_ACEOF
1739#define __SVR4__ 1
1740_ACEOF
1741
1742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1744 ;;
1745 *-*-sunos4* )
1746 USE_SUN=1
1747 USE_SUNOS=1
1748 USE_BSD=1
1749 cat >>confdefs.h <<\_ACEOF
1750#define __SUN__ 1
1751_ACEOF
1752
1753 cat >>confdefs.h <<\_ACEOF
1754#define __SUNOS__ 1
1755_ACEOF
1756
1757 cat >>confdefs.h <<\_ACEOF
1758#define __BSD__ 1
1759_ACEOF
1760
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 ;;
1763 *-*-freebsd*)
1764 USE_BSD=1
1765 USE_FREEBSD=1
1766 cat >>confdefs.h <<\_ACEOF
1767#define __FREEBSD__ 1
1768_ACEOF
1769
1770 cat >>confdefs.h <<\_ACEOF
1771#define __BSD__ 1
1772_ACEOF
1773
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 ;;
1776 *-*-openbsd*)
1777 USE_BSD=1
1778 USE_OPENBSD=1
1779 cat >>confdefs.h <<\_ACEOF
1780#define __OPENBSD__ 1
1781_ACEOF
1782
1783 cat >>confdefs.h <<\_ACEOF
1784#define __BSD__ 1
1785_ACEOF
1786
1787 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 ;;
1789 *-*-netbsd*)
1790 USE_BSD=1
1791 USE_NETBSD=1
1792 cat >>confdefs.h <<\_ACEOF
1793#define __NETBSD__ 1
1794_ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797#define __BSD__ 1
1798_ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 ;;
1802 *-*-osf* )
1803 USE_ALPHA=1
1804 USE_OSF=1
1805 cat >>confdefs.h <<\_ACEOF
1806#define __ALPHA__ 1
1807_ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810#define __OSF__ 1
1811_ACEOF
1812
1813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 ;;
1816 *-*-dgux5* )
1817 USE_ALPHA=1
1818 USE_SVR4=1
1819 cat >>confdefs.h <<\_ACEOF
1820#define __ALPHA__ 1
1821_ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824#define __SVR4__ 1
1825_ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 ;;
1829 *-*-sysv5* )
1830 USE_SYSV=1
1831 USE_SVR4=1
1832 cat >>confdefs.h <<\_ACEOF
1833#define __SYSV__ 1
1834_ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837#define __SVR4__ 1
1838_ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1841 ;;
1842 *-*-aix* )
1843 USE_AIX=1
1844 USE_SYSV=1
1845 USE_SVR4=1
1846 SO_SUFFIX=a
1847 cat >>confdefs.h <<\_ACEOF
1848#define __AIX__ 1
1849_ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852#define __SYSV__ 1
1853_ACEOF
1854
1855 cat >>confdefs.h <<\_ACEOF
1856#define __SVR4__ 1
1857_ACEOF
1858
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1860 ;;
1861
1862 *-*-*UnixWare*)
1863 USE_SYSV=1
1864 USE_SVR4=1
1865 USE_UNIXWARE=1
1866 cat >>confdefs.h <<\_ACEOF
1867#define __UNIXWARE__ 1
1868_ACEOF
1869
1870 ;;
1871
1872 *-*-cygwin* | *-*-mingw32* )
1873 SO_SUFFIX=dll
1874 PROGRAM_EXT=".exe"
1875 RESCOMP=windres
1876 DEFAULT_DEFAULT_wxUSE_MSW=1
1877 ;;
1878
1879 *-pc-msdosdjgpp )
1880 USE_UNIX=0
1881 USE_DOS=1
1882 cat >>confdefs.h <<\_ACEOF
1883#define __DOS__ 1
1884_ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_MGL=1
1888 LIBS="$LIBS -lstdc++"
1889 ;;
1890
1891 *-pc-os2_emx | *-pc-os2-emx )
1892 cat >>confdefs.h <<\_ACEOF
1893#define __EMX__ 1
1894_ACEOF
1895
1896 USE_OS2=1
1897 cat >>confdefs.h <<\_ACEOF
1898#define __OS2__ 1
1899_ACEOF
1900
1901 PROGRAM_EXT=".exe"
1902 DEFAULT_DEFAULT_wxUSE_PM=1
1903 CXX=gcc
1904 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1905 ac_executable_extensions=".exe"
1906 export ac_executable_extensions
1907 ac_save_IFS="$IFS"
1908 IFS='\\'
1909 ac_TEMP_PATH=
1910 for ac_dir in $PATH; do
1911 IFS=$ac_save_IFS
1912 if test -z "$ac_TEMP_PATH"; then
1913 ac_TEMP_PATH="$ac_dir"
1914 else
1915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1916 fi
1917 done
1918 export PATH="$ac_TEMP_PATH"
1919 unset ac_TEMP_PATH
1920 ;;
1921
1922 powerpc-*-darwin* )
1923 USE_BSD=1
1924 USE_DARWIN=1
1925 SO_SUFFIX=dylib
1926 cat >>confdefs.h <<\_ACEOF
1927#define __BSD__ 1
1928_ACEOF
1929
1930 cat >>confdefs.h <<\_ACEOF
1931#define __DARWIN__ 1
1932_ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935#define __POWERPC__ 1
1936_ACEOF
1937
1938 cat >>confdefs.h <<\_ACEOF
1939#define TARGET_CARBON 1
1940_ACEOF
1941
1942 DEFAULT_DEFAULT_wxUSE_MAC=1
1943 ;;
1944
1945 *-*-beos* )
1946 USE_BEOS=1
1947 cat >>confdefs.h <<\_ACEOF
1948#define __BEOS__ 1
1949_ACEOF
1950
1951 ;;
1952
1953 *)
1954 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1955echo "$as_me: error: unknown system type ${host}." >&2;}
1956 { (exit 1); exit 1; }; }
1957esac
1958
1959
1960
1961
1962 wx_arg_cache_file="configarg.cache"
1963 echo "loading argument cache $wx_arg_cache_file"
1964 rm -f ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}.tmp
1966 touch ${wx_arg_cache_file}
1967
1968
1969DEBUG_CONFIGURE=0
1970if test $DEBUG_CONFIGURE = 1; then
1971 DEFAULT_wxUSE_UNIVERSAL=no
1972 DEFAULT_wxUSE_STL=no
1973
1974 DEFAULT_wxUSE_NANOX=no
1975
1976 DEFAULT_wxUSE_THREADS=yes
1977
1978 DEFAULT_wxUSE_SHARED=yes
1979 DEFAULT_wxUSE_OPTIMISE=no
1980 DEFAULT_wxUSE_PROFILE=no
1981 DEFAULT_wxUSE_NO_DEPS=no
1982 DEFAULT_wxUSE_NO_RTTI=no
1983 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1984 DEFAULT_wxUSE_PERMISSIVE=no
1985 DEFAULT_wxUSE_DEBUG_FLAG=yes
1986 DEFAULT_wxUSE_DEBUG_INFO=yes
1987 DEFAULT_wxUSE_DEBUG_GDB=yes
1988 DEFAULT_wxUSE_MEM_TRACING=no
1989 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1990 DEFAULT_wxUSE_DMALLOC=no
1991 DEFAULT_wxUSE_APPLE_IEEE=no
1992
1993 DEFAULT_wxUSE_EXCEPTIONS=no
1994 DEFAULT_wxUSE_LOG=yes
1995 DEFAULT_wxUSE_LOGWINDOW=no
1996 DEFAULT_wxUSE_LOGGUI=no
1997 DEFAULT_wxUSE_LOGDIALOG=no
1998
1999 DEFAULT_wxUSE_GUI=yes
2000 DEFAULT_wxUSE_CONTROLS=no
2001
2002 DEFAULT_wxUSE_REGEX=no
2003 DEFAULT_wxUSE_XML=no
2004 DEFAULT_wxUSE_EXPAT=no
2005 DEFAULT_wxUSE_ZLIB=no
2006 DEFAULT_wxUSE_LIBPNG=no
2007 DEFAULT_wxUSE_LIBJPEG=no
2008 DEFAULT_wxUSE_LIBTIFF=no
2009 DEFAULT_wxUSE_LIBXPM=no
2010 DEFAULT_wxUSE_ODBC=no
2011 DEFAULT_wxUSE_OPENGL=no
2012
2013 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2014 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2015 DEFAULT_wxUSE_STD_IOSTREAM=no
2016 DEFAULT_wxUSE_CMDLINE_PARSER=no
2017 DEFAULT_wxUSE_DATETIME=no
2018 DEFAULT_wxUSE_TIMER=no
2019 DEFAULT_wxUSE_STOPWATCH=no
2020 DEFAULT_wxUSE_FILE=no
2021 DEFAULT_wxUSE_FFILE=no
2022 DEFAULT_wxUSE_TEXTBUFFER=no
2023 DEFAULT_wxUSE_TEXTFILE=no
2024 DEFAULT_wxUSE_WAVE=no
2025 DEFAULT_wxUSE_INTL=no
2026 DEFAULT_wxUSE_CONFIG=no
2027 DEFAULT_wxUSE_FONTMAP=no
2028 DEFAULT_wxUSE_STREAMS=no
2029 DEFAULT_wxUSE_SOCKETS=no
2030 DEFAULT_wxUSE_OLE=no
2031 DEFAULT_wxUSE_DATAOBJ=no
2032 DEFAULT_wxUSE_DIALUP_MANAGER=no
2033 DEFAULT_wxUSE_JOYSTICK=no
2034 DEFAULT_wxUSE_DYNLIB_CLASS=no
2035 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2036 DEFAULT_wxUSE_LONGLONG=no
2037 DEFAULT_wxUSE_GEOMETRY=no
2038
2039 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2040 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2041 DEFAULT_wxUSE_POSTSCRIPT=no
2042
2043 DEFAULT_wxUSE_CLIPBOARD=no
2044 DEFAULT_wxUSE_TOOLTIPS=no
2045 DEFAULT_wxUSE_DRAG_AND_DROP=no
2046 DEFAULT_wxUSE_DRAGIMAGE=no
2047 DEFAULT_wxUSE_SPLINES=no
2048
2049 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2050 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2051 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2052
2053 DEFAULT_wxUSE_RESOURCES=no
2054 DEFAULT_wxUSE_CONSTRAINTS=no
2055 DEFAULT_wxUSE_IPC=no
2056 DEFAULT_wxUSE_HELP=no
2057 DEFAULT_wxUSE_MS_HTML_HELP=no
2058 DEFAULT_wxUSE_WXHTML_HELP=no
2059 DEFAULT_wxUSE_TREELAYOUT=no
2060 DEFAULT_wxUSE_METAFILE=no
2061 DEFAULT_wxUSE_MIMETYPE=no
2062 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2063 DEFAULT_wxUSE_PROTOCOL=no
2064 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2065 DEFAULT_wxUSE_PROTOCOL_FTP=no
2066 DEFAULT_wxUSE_PROTOCOL_FILE=no
2067 DEFAULT_wxUSE_URL=no
2068
2069 DEFAULT_wxUSE_COMMONDLGS=no
2070 DEFAULT_wxUSE_CHOICEDLG=no
2071 DEFAULT_wxUSE_COLOURDLG=no
2072 DEFAULT_wxUSE_DIRDLG=no
2073 DEFAULT_wxUSE_FILEDLG=no
2074 DEFAULT_wxUSE_FINDREPLDLG=no
2075 DEFAULT_wxUSE_FONTDLG=no
2076 DEFAULT_wxUSE_MSGDLG=no
2077 DEFAULT_wxUSE_NUMBERDLG=no
2078 DEFAULT_wxUSE_TEXTDLG=no
2079 DEFAULT_wxUSE_SPLASH=no
2080 DEFAULT_wxUSE_STARTUP_TIPS=no
2081 DEFAULT_wxUSE_PROGRESSDLG=no
2082 DEFAULT_wxUSE_WIZARDDLG=no
2083
2084 DEFAULT_wxUSE_MENUS=no
2085 DEFAULT_wxUSE_MINIFRAME=no
2086 DEFAULT_wxUSE_HTML=no
2087 DEFAULT_wxUSE_FILESYSTEM=no
2088 DEFAULT_wxUSE_FS_INET=no
2089 DEFAULT_wxUSE_FS_ZIP=no
2090 DEFAULT_wxUSE_BUSYINFO=no
2091 DEFAULT_wxUSE_ZIPSTREAM=no
2092 DEFAULT_wxUSE_GZSTREAM=no
2093 DEFAULT_wxUSE_VALIDATORS=no
2094
2095 DEFAULT_wxUSE_ACCEL=no
2096 DEFAULT_wxUSE_BUTTON=no
2097 DEFAULT_wxUSE_BMPBUTTON=no
2098 DEFAULT_wxUSE_CALCTRL=no
2099 DEFAULT_wxUSE_CARET=no
2100 DEFAULT_wxUSE_CHECKBOX=no
2101 DEFAULT_wxUSE_CHECKLST=no
2102 DEFAULT_wxUSE_CHOICE=no
2103 DEFAULT_wxUSE_COMBOBOX=no
2104 DEFAULT_wxUSE_DISPLAY=no
2105 DEFAULT_wxUSE_GAUGE=no
2106 DEFAULT_wxUSE_GRID=no
2107 DEFAULT_wxUSE_IMAGLIST=no
2108 DEFAULT_wxUSE_LISTBOOK=no
2109 DEFAULT_wxUSE_LISTBOX=no
2110 DEFAULT_wxUSE_LISTCTRL=no
2111 DEFAULT_wxUSE_NOTEBOOK=no
2112 DEFAULT_wxUSE_RADIOBOX=no
2113 DEFAULT_wxUSE_RADIOBTN=no
2114 DEFAULT_wxUSE_SASH=no
2115 DEFAULT_wxUSE_SCROLLBAR=no
2116 DEFAULT_wxUSE_SLIDER=no
2117 DEFAULT_wxUSE_SPINBTN=no
2118 DEFAULT_wxUSE_SPINCTRL=no
2119 DEFAULT_wxUSE_SPLITTER=no
2120 DEFAULT_wxUSE_STATBMP=no
2121 DEFAULT_wxUSE_STATBOX=no
2122 DEFAULT_wxUSE_STATLINE=no
2123 DEFAULT_wxUSE_STATTEXT=no
2124 DEFAULT_wxUSE_STATUSBAR=yes
2125 DEFAULT_wxUSE_TABDIALOG=no
2126 DEFAULT_wxUSE_TEXTCTRL=no
2127 DEFAULT_wxUSE_TOGGLEBTN=no
2128 DEFAULT_wxUSE_TOOLBAR=no
2129 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2130 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2131 DEFAULT_wxUSE_TREECTRL=no
2132 DEFAULT_wxUSE_POPUPWIN=no
2133 DEFAULT_wxUSE_TIPWINDOW=no
2134
2135 DEFAULT_wxUSE_UNICODE=no
2136 DEFAULT_wxUSE_UNICODE_MSLU=no
2137 DEFAULT_wxUSE_WCSRTOMBS=no
2138
2139 DEFAULT_wxUSE_PALETTE=no
2140 DEFAULT_wxUSE_IMAGE=no
2141 DEFAULT_wxUSE_GIF=no
2142 DEFAULT_wxUSE_PCX=no
2143 DEFAULT_wxUSE_PNM=no
2144 DEFAULT_wxUSE_IFF=no
2145 DEFAULT_wxUSE_XPM=no
2146 DEFAULT_wxUSE_ICO_CUR=no
2147 DEFAULT_wxUSE_ACCESSIBILITY=no
2148
2149 DEFAULT_wxUSE_MONOLITHIC=no
2150 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2151else
2152 DEFAULT_wxUSE_UNIVERSAL=no
2153 DEFAULT_wxUSE_STL=no
2154
2155 DEFAULT_wxUSE_NANOX=no
2156
2157 DEFAULT_wxUSE_THREADS=yes
2158
2159 DEFAULT_wxUSE_SHARED=yes
2160 DEFAULT_wxUSE_OPTIMISE=yes
2161 DEFAULT_wxUSE_PROFILE=no
2162 DEFAULT_wxUSE_NO_DEPS=no
2163 DEFAULT_wxUSE_NO_RTTI=no
2164 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2165 DEFAULT_wxUSE_PERMISSIVE=no
2166 DEFAULT_wxUSE_DEBUG_FLAG=no
2167 DEFAULT_wxUSE_DEBUG_INFO=no
2168 DEFAULT_wxUSE_DEBUG_GDB=no
2169 DEFAULT_wxUSE_MEM_TRACING=no
2170 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2171 DEFAULT_wxUSE_DMALLOC=no
2172 DEFAULT_wxUSE_APPLE_IEEE=yes
2173
2174 DEFAULT_wxUSE_EXCEPTIONS=yes
2175 DEFAULT_wxUSE_LOG=yes
2176 DEFAULT_wxUSE_LOGWINDOW=yes
2177 DEFAULT_wxUSE_LOGGUI=yes
2178 DEFAULT_wxUSE_LOGDIALOG=yes
2179
2180 DEFAULT_wxUSE_GUI=yes
2181
2182 DEFAULT_wxUSE_REGEX=yes
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=yes
2185 DEFAULT_wxUSE_ZLIB=yes
2186 DEFAULT_wxUSE_LIBPNG=yes
2187 DEFAULT_wxUSE_LIBJPEG=yes
2188 DEFAULT_wxUSE_LIBTIFF=yes
2189 DEFAULT_wxUSE_LIBXPM=yes
2190 DEFAULT_wxUSE_LIBMSPACK=yes
2191 DEFAULT_wxUSE_ODBC=no
2192 DEFAULT_wxUSE_OPENGL=no
2193
2194 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2195 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2196 DEFAULT_wxUSE_STD_IOSTREAM=no
2197 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2198 DEFAULT_wxUSE_DATETIME=yes
2199 DEFAULT_wxUSE_TIMER=yes
2200 DEFAULT_wxUSE_STOPWATCH=yes
2201 DEFAULT_wxUSE_FILE=yes
2202 DEFAULT_wxUSE_FFILE=yes
2203 DEFAULT_wxUSE_TEXTBUFFER=yes
2204 DEFAULT_wxUSE_TEXTFILE=yes
2205 DEFAULT_wxUSE_WAVE=no
2206 DEFAULT_wxUSE_INTL=yes
2207 DEFAULT_wxUSE_CONFIG=yes
2208 DEFAULT_wxUSE_FONTMAP=yes
2209 DEFAULT_wxUSE_STREAMS=yes
2210 DEFAULT_wxUSE_SOCKETS=yes
2211 DEFAULT_wxUSE_OLE=yes
2212 DEFAULT_wxUSE_DATAOBJ=yes
2213 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2214 DEFAULT_wxUSE_JOYSTICK=yes
2215 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2216 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2217 DEFAULT_wxUSE_LONGLONG=yes
2218 DEFAULT_wxUSE_GEOMETRY=yes
2219
2220 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2222 DEFAULT_wxUSE_POSTSCRIPT=yes
2223
2224 DEFAULT_wxUSE_CLIPBOARD=yes
2225 DEFAULT_wxUSE_TOOLTIPS=yes
2226 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2227 DEFAULT_wxUSE_DRAGIMAGE=yes
2228 DEFAULT_wxUSE_SPLINES=yes
2229
2230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2233
2234 DEFAULT_wxUSE_RESOURCES=no
2235 DEFAULT_wxUSE_CONSTRAINTS=yes
2236 DEFAULT_wxUSE_IPC=yes
2237 DEFAULT_wxUSE_HELP=yes
2238 DEFAULT_wxUSE_MS_HTML_HELP=yes
2239 DEFAULT_wxUSE_WXHTML_HELP=yes
2240 DEFAULT_wxUSE_TREELAYOUT=yes
2241 DEFAULT_wxUSE_METAFILE=yes
2242 DEFAULT_wxUSE_MIMETYPE=yes
2243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2244 DEFAULT_wxUSE_PROTOCOL=yes
2245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2248 DEFAULT_wxUSE_URL=yes
2249
2250 DEFAULT_wxUSE_COMMONDLGS=yes
2251 DEFAULT_wxUSE_CHOICEDLG=yes
2252 DEFAULT_wxUSE_COLOURDLG=yes
2253 DEFAULT_wxUSE_DIRDLG=yes
2254 DEFAULT_wxUSE_FILEDLG=yes
2255 DEFAULT_wxUSE_FINDREPLDLG=yes
2256 DEFAULT_wxUSE_FONTDLG=yes
2257 DEFAULT_wxUSE_MSGDLG=yes
2258 DEFAULT_wxUSE_NUMBERDLG=yes
2259 DEFAULT_wxUSE_TEXTDLG=yes
2260 DEFAULT_wxUSE_SPLASH=yes
2261 DEFAULT_wxUSE_STARTUP_TIPS=yes
2262 DEFAULT_wxUSE_PROGRESSDLG=yes
2263 DEFAULT_wxUSE_WIZARDDLG=yes
2264
2265 DEFAULT_wxUSE_MENUS=yes
2266 DEFAULT_wxUSE_MINIFRAME=yes
2267 DEFAULT_wxUSE_HTML=yes
2268 DEFAULT_wxUSE_FILESYSTEM=yes
2269 DEFAULT_wxUSE_FS_INET=yes
2270 DEFAULT_wxUSE_FS_ZIP=yes
2271 DEFAULT_wxUSE_BUSYINFO=yes
2272 DEFAULT_wxUSE_ZIPSTREAM=yes
2273 DEFAULT_wxUSE_GZSTREAM=yes
2274 DEFAULT_wxUSE_VALIDATORS=yes
2275
2276 DEFAULT_wxUSE_ACCEL=yes
2277 DEFAULT_wxUSE_BUTTON=yes
2278 DEFAULT_wxUSE_BMPBUTTON=yes
2279 DEFAULT_wxUSE_CALCTRL=yes
2280 DEFAULT_wxUSE_CARET=yes
2281 DEFAULT_wxUSE_CHECKBOX=yes
2282 DEFAULT_wxUSE_CHECKLST=yes
2283 DEFAULT_wxUSE_CHOICE=yes
2284 DEFAULT_wxUSE_COMBOBOX=yes
2285 DEFAULT_wxUSE_DISPLAY=no
2286 DEFAULT_wxUSE_GAUGE=yes
2287 DEFAULT_wxUSE_GRID=yes
2288 DEFAULT_wxUSE_IMAGLIST=yes
2289 DEFAULT_wxUSE_LISTBOOK=yes
2290 DEFAULT_wxUSE_LISTBOX=yes
2291 DEFAULT_wxUSE_LISTCTRL=yes
2292 DEFAULT_wxUSE_NOTEBOOK=yes
2293 DEFAULT_wxUSE_RADIOBOX=yes
2294 DEFAULT_wxUSE_RADIOBTN=yes
2295 DEFAULT_wxUSE_SASH=yes
2296 DEFAULT_wxUSE_SCROLLBAR=yes
2297 DEFAULT_wxUSE_SLIDER=yes
2298 DEFAULT_wxUSE_SPINBTN=yes
2299 DEFAULT_wxUSE_SPINCTRL=yes
2300 DEFAULT_wxUSE_SPLITTER=yes
2301 DEFAULT_wxUSE_STATBMP=yes
2302 DEFAULT_wxUSE_STATBOX=yes
2303 DEFAULT_wxUSE_STATLINE=yes
2304 DEFAULT_wxUSE_STATTEXT=yes
2305 DEFAULT_wxUSE_STATUSBAR=yes
2306 DEFAULT_wxUSE_TABDIALOG=no
2307 DEFAULT_wxUSE_TEXTCTRL=yes
2308 DEFAULT_wxUSE_TOGGLEBTN=yes
2309 DEFAULT_wxUSE_TOOLBAR=yes
2310 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2312 DEFAULT_wxUSE_TREECTRL=yes
2313 DEFAULT_wxUSE_POPUPWIN=yes
2314 DEFAULT_wxUSE_TIPWINDOW=yes
2315
2316 DEFAULT_wxUSE_UNICODE=no
2317 DEFAULT_wxUSE_UNICODE_MSLU=yes
2318 DEFAULT_wxUSE_WCSRTOMBS=no
2319
2320 DEFAULT_wxUSE_PALETTE=yes
2321 DEFAULT_wxUSE_IMAGE=yes
2322 DEFAULT_wxUSE_GIF=yes
2323 DEFAULT_wxUSE_PCX=yes
2324 DEFAULT_wxUSE_IFF=no
2325 DEFAULT_wxUSE_PNM=yes
2326 DEFAULT_wxUSE_XPM=yes
2327 DEFAULT_wxUSE_ICO_CUR=yes
2328 DEFAULT_wxUSE_ACCESSIBILITY=no
2329
2330 DEFAULT_wxUSE_MONOLITHIC=no
2331 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2332fi
2333
2334
2335
2336for toolkit in `echo $ALL_TOOLKITS`; do
2337 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2338 if test "x$LINE" != "x" ; then
2339 has_toolkit_in_cache=1
2340 eval "DEFAULT_$LINE"
2341 eval "CACHE_$toolkit=1"
2342 fi
2343done
2344
2345
2346
2347 enablestring=
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2349echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2350 no_cache=0
2351 # Check whether --enable-gui or --disable-gui was given.
2352if test "${enable_gui+set}" = set; then
2353 enableval="$enable_gui"
2354
2355 if test "$enableval" = yes; then
2356 ac_cv_use_gui='wxUSE_GUI=yes'
2357 else
2358 ac_cv_use_gui='wxUSE_GUI=no'
2359 fi
2360
2361else
2362
2363 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2366 else
2367 no_cache=1
2368 fi
2369
2370 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2371
2372fi;
2373
2374 eval "$ac_cv_use_gui"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2377 fi
2378
2379 if test "$wxUSE_GUI" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381echo "${ECHO_T}yes" >&6
2382 else
2383 echo "$as_me:$LINENO: result: no" >&5
2384echo "${ECHO_T}no" >&6
2385 fi
2386
2387
2388 enablestring=
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2390echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2391 no_cache=0
2392 # Check whether --enable-monolithic or --disable-monolithic was given.
2393if test "${enable_monolithic+set}" = set; then
2394 enableval="$enable_monolithic"
2395
2396 if test "$enableval" = yes; then
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2398 else
2399 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2400 fi
2401
2402else
2403
2404 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2407 else
2408 no_cache=1
2409 fi
2410
2411 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2412
2413fi;
2414
2415 eval "$ac_cv_use_monolithic"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2418 fi
2419
2420 if test "$wxUSE_MONOLITHIC" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422echo "${ECHO_T}yes" >&6
2423 else
2424 echo "$as_me:$LINENO: result: no" >&5
2425echo "${ECHO_T}no" >&6
2426 fi
2427
2428
2429if test "$wxUSE_GUI" = "yes"; then
2430
2431
2432 enablestring=
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2434echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2435 no_cache=0
2436 # Check whether --enable-universal or --disable-universal was given.
2437if test "${enable_universal+set}" = set; then
2438 enableval="$enable_universal"
2439
2440 if test "$enableval" = yes; then
2441 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2442 else
2443 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2444 fi
2445
2446else
2447
2448 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2456
2457fi;
2458
2459 eval "$ac_cv_use_universal"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2462 fi
2463
2464 if test "$wxUSE_UNIVERSAL" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466echo "${ECHO_T}yes" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469echo "${ECHO_T}no" >&6
2470 fi
2471
2472
2473# Check whether --with-gtk or --without-gtk was given.
2474if test "${with_gtk+set}" = set; then
2475 withval="$with_gtk"
2476 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2477fi;
2478
2479# Check whether --with-motif or --without-motif was given.
2480if test "${with_motif+set}" = set; then
2481 withval="$with_motif"
2482 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2483fi;
2484
2485# Check whether --with-mac or --without-mac was given.
2486if test "${with_mac+set}" = set; then
2487 withval="$with_mac"
2488 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2489fi;
2490
2491# Check whether --with-cocoa or --without-cocoa was given.
2492if test "${with_cocoa+set}" = set; then
2493 withval="$with_cocoa"
2494 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2495fi;
2496
2497# Check whether --with-wine or --without-wine was given.
2498if test "${with_wine+set}" = set; then
2499 withval="$with_wine"
2500 wxUSE_WINE="$withval" CACHE_WINE=1
2501fi;
2502
2503# Check whether --with-msw or --without-msw was given.
2504if test "${with_msw+set}" = set; then
2505 withval="$with_msw"
2506 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2507fi;
2508
2509# Check whether --with-pm or --without-pm was given.
2510if test "${with_pm+set}" = set; then
2511 withval="$with_pm"
2512 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2513fi;
2514
2515# Check whether --with-mgl or --without-mgl was given.
2516if test "${with_mgl+set}" = set; then
2517 withval="$with_mgl"
2518 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2519fi;
2520
2521# Check whether --with-microwin or --without-microwin was given.
2522if test "${with_microwin+set}" = set; then
2523 withval="$with_microwin"
2524 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2525fi;
2526
2527# Check whether --with-x11 or --without-x11 was given.
2528if test "${with_x11+set}" = set; then
2529 withval="$with_x11"
2530 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2531fi;
2532
2533 enablestring=
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2535echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2536 no_cache=0
2537 # Check whether --enable-nanox or --disable-nanox was given.
2538if test "${enable_nanox+set}" = set; then
2539 enableval="$enable_nanox"
2540
2541 if test "$enableval" = yes; then
2542 ac_cv_use_nanox='wxUSE_NANOX=yes'
2543 else
2544 ac_cv_use_nanox='wxUSE_NANOX=no'
2545 fi
2546
2547else
2548
2549 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2552 else
2553 no_cache=1
2554 fi
2555
2556 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2557
2558fi;
2559
2560 eval "$ac_cv_use_nanox"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2563 fi
2564
2565 if test "$wxUSE_NANOX" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567echo "${ECHO_T}yes" >&6
2568 else
2569 echo "$as_me:$LINENO: result: no" >&5
2570echo "${ECHO_T}no" >&6
2571 fi
2572
2573
2574
2575 enablestring=
2576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2577echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2578 no_cache=0
2579 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2580if test "${enable_gtk2+set}" = set; then
2581 enableval="$enable_gtk2"
2582
2583 if test "$enableval" = yes; then
2584 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2585 else
2586 ac_cv_use_gtk2='wxUSE_GTK2=no'
2587 fi
2588
2589else
2590
2591 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2594 else
2595 no_cache=1
2596 fi
2597
2598 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2599
2600fi;
2601
2602 eval "$ac_cv_use_gtk2"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2605 fi
2606
2607 if test "$wxUSE_GTK2" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609echo "${ECHO_T}yes" >&6
2610 else
2611 echo "$as_me:$LINENO: result: no" >&5
2612echo "${ECHO_T}no" >&6
2613 fi
2614
2615
2616
2617 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2618echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2619 no_cache=0
2620
2621# Check whether --with-libpng or --without-libpng was given.
2622if test "${with_libpng+set}" = set; then
2623 withval="$with_libpng"
2624
2625 if test "$withval" = yes; then
2626 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2627 elif test "$withval" = no; then
2628 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2629 elif test "$withval" = sys; then
2630 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2631 elif test "$withval" = builtin; then
2632 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2633 else
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2637 fi
2638
2639else
2640
2641 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2644 else
2645 no_cache=1
2646 fi
2647
2648 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2649
2650fi;
2651
2652 eval "$ac_cv_use_libpng"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2655 fi
2656
2657 if test "$wxUSE_LIBPNG" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659echo "${ECHO_T}yes" >&6
2660 elif test "$wxUSE_LIBPNG" = no; then
2661 echo "$as_me:$LINENO: result: no" >&5
2662echo "${ECHO_T}no" >&6
2663 elif test "$wxUSE_LIBPNG" = sys; then
2664 echo "$as_me:$LINENO: result: system version" >&5
2665echo "${ECHO_T}system version" >&6
2666 elif test "$wxUSE_LIBPNG" = builtin; then
2667 echo "$as_me:$LINENO: result: builtin version" >&5
2668echo "${ECHO_T}builtin version" >&6
2669 else
2670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2671echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2672 { (exit 1); exit 1; }; }
2673 fi
2674
2675
2676 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2677echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2678 no_cache=0
2679
2680# Check whether --with-libjpeg or --without-libjpeg was given.
2681if test "${with_libjpeg+set}" = set; then
2682 withval="$with_libjpeg"
2683
2684 if test "$withval" = yes; then
2685 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2686 elif test "$withval" = no; then
2687 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2688 elif test "$withval" = sys; then
2689 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2690 elif test "$withval" = builtin; then
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2692 else
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2696 fi
2697
2698else
2699
2700 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2703 else
2704 no_cache=1
2705 fi
2706
2707 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2708
2709fi;
2710
2711 eval "$ac_cv_use_libjpeg"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2714 fi
2715
2716 if test "$wxUSE_LIBJPEG" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718echo "${ECHO_T}yes" >&6
2719 elif test "$wxUSE_LIBJPEG" = no; then
2720 echo "$as_me:$LINENO: result: no" >&5
2721echo "${ECHO_T}no" >&6
2722 elif test "$wxUSE_LIBJPEG" = sys; then
2723 echo "$as_me:$LINENO: result: system version" >&5
2724echo "${ECHO_T}system version" >&6
2725 elif test "$wxUSE_LIBJPEG" = builtin; then
2726 echo "$as_me:$LINENO: result: builtin version" >&5
2727echo "${ECHO_T}builtin version" >&6
2728 else
2729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2730echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2731 { (exit 1); exit 1; }; }
2732 fi
2733
2734
2735 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2736echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2737 no_cache=0
2738
2739# Check whether --with-libtiff or --without-libtiff was given.
2740if test "${with_libtiff+set}" = set; then
2741 withval="$with_libtiff"
2742
2743 if test "$withval" = yes; then
2744 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2745 elif test "$withval" = no; then
2746 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2747 elif test "$withval" = sys; then
2748 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2749 elif test "$withval" = builtin; then
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2751 else
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2755 fi
2756
2757else
2758
2759 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2767
2768fi;
2769
2770 eval "$ac_cv_use_libtiff"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_LIBTIFF" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777echo "${ECHO_T}yes" >&6
2778 elif test "$wxUSE_LIBTIFF" = no; then
2779 echo "$as_me:$LINENO: result: no" >&5
2780echo "${ECHO_T}no" >&6
2781 elif test "$wxUSE_LIBTIFF" = sys; then
2782 echo "$as_me:$LINENO: result: system version" >&5
2783echo "${ECHO_T}system version" >&6
2784 elif test "$wxUSE_LIBTIFF" = builtin; then
2785 echo "$as_me:$LINENO: result: builtin version" >&5
2786echo "${ECHO_T}builtin version" >&6
2787 else
2788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2789echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2790 { (exit 1); exit 1; }; }
2791 fi
2792
2793
2794 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2795echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2796 no_cache=0
2797
2798# Check whether --with-libxpm or --without-libxpm was given.
2799if test "${with_libxpm+set}" = set; then
2800 withval="$with_libxpm"
2801
2802 if test "$withval" = yes; then
2803 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2804 elif test "$withval" = no; then
2805 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2806 elif test "$withval" = sys; then
2807 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2808 elif test "$withval" = builtin; then
2809 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2810 else
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2812echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2814 fi
2815
2816else
2817
2818 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2821 else
2822 no_cache=1
2823 fi
2824
2825 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2826
2827fi;
2828
2829 eval "$ac_cv_use_libxpm"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2832 fi
2833
2834 if test "$wxUSE_LIBXPM" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836echo "${ECHO_T}yes" >&6
2837 elif test "$wxUSE_LIBXPM" = no; then
2838 echo "$as_me:$LINENO: result: no" >&5
2839echo "${ECHO_T}no" >&6
2840 elif test "$wxUSE_LIBXPM" = sys; then
2841 echo "$as_me:$LINENO: result: system version" >&5
2842echo "${ECHO_T}system version" >&6
2843 elif test "$wxUSE_LIBXPM" = builtin; then
2844 echo "$as_me:$LINENO: result: builtin version" >&5
2845echo "${ECHO_T}builtin version" >&6
2846 else
2847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2848echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2849 { (exit 1); exit 1; }; }
2850 fi
2851
2852
2853 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2854echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2855 no_cache=0
2856
2857# Check whether --with-libmspack or --without-libmspack was given.
2858if test "${with_libmspack+set}" = set; then
2859 withval="$with_libmspack"
2860
2861 if test "$withval" = yes; then
2862 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2863 else
2864 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2865 fi
2866
2867else
2868
2869 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2872 else
2873 no_cache=1
2874 fi
2875
2876 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2877
2878fi;
2879
2880 eval "$ac_cv_use_libmspack"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$wxUSE_LIBMSPACK" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887echo "${ECHO_T}yes" >&6
2888 else
2889 echo "$as_me:$LINENO: result: no" >&5
2890echo "${ECHO_T}no" >&6
2891 fi
2892
2893
2894 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2895echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2896 no_cache=0
2897
2898# Check whether --with-opengl or --without-opengl was given.
2899if test "${with_opengl+set}" = set; then
2900 withval="$with_opengl"
2901
2902 if test "$withval" = yes; then
2903 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2904 else
2905 ac_cv_use_opengl='wxUSE_OPENGL=no'
2906 fi
2907
2908else
2909
2910 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2913 else
2914 no_cache=1
2915 fi
2916
2917 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2918
2919fi;
2920
2921 eval "$ac_cv_use_opengl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_OPENGL" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928echo "${ECHO_T}yes" >&6
2929 else
2930 echo "$as_me:$LINENO: result: no" >&5
2931echo "${ECHO_T}no" >&6
2932 fi
2933
2934
2935fi
2936
2937
2938 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2939echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2940 no_cache=0
2941
2942# Check whether --with-dmalloc or --without-dmalloc was given.
2943if test "${with_dmalloc+set}" = set; then
2944 withval="$with_dmalloc"
2945
2946 if test "$withval" = yes; then
2947 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2948 else
2949 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2950 fi
2951
2952else
2953
2954 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2957 else
2958 no_cache=1
2959 fi
2960
2961 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2962
2963fi;
2964
2965 eval "$ac_cv_use_dmalloc"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2968 fi
2969
2970 if test "$wxUSE_DMALLOC" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972echo "${ECHO_T}yes" >&6
2973 else
2974 echo "$as_me:$LINENO: result: no" >&5
2975echo "${ECHO_T}no" >&6
2976 fi
2977
2978
2979 echo "$as_me:$LINENO: checking for --with-regex" >&5
2980echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2981 no_cache=0
2982
2983# Check whether --with-regex or --without-regex was given.
2984if test "${with_regex+set}" = set; then
2985 withval="$with_regex"
2986
2987 if test "$withval" = yes; then
2988 ac_cv_use_regex='wxUSE_REGEX=yes'
2989 elif test "$withval" = no; then
2990 ac_cv_use_regex='wxUSE_REGEX=no'
2991 elif test "$withval" = sys; then
2992 ac_cv_use_regex='wxUSE_REGEX=sys'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_regex='wxUSE_REGEX=builtin'
2995 else
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2997echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
2999 fi
3000
3001else
3002
3003 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3006 else
3007 no_cache=1
3008 fi
3009
3010 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3011
3012fi;
3013
3014 eval "$ac_cv_use_regex"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3017 fi
3018
3019 if test "$wxUSE_REGEX" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_REGEX" = no; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_REGEX" = sys; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_REGEX" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030echo "${ECHO_T}builtin version" >&6
3031 else
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3033echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3035 fi
3036
3037
3038 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3039echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3040 no_cache=0
3041
3042# Check whether --with-zlib or --without-zlib was given.
3043if test "${with_zlib+set}" = set; then
3044 withval="$with_zlib"
3045
3046 if test "$withval" = yes; then
3047 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3048 elif test "$withval" = no; then
3049 ac_cv_use_zlib='wxUSE_ZLIB=no'
3050 elif test "$withval" = sys; then
3051 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3054 else
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3056echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3058 fi
3059
3060else
3061
3062 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3065 else
3066 no_cache=1
3067 fi
3068
3069 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3070
3071fi;
3072
3073 eval "$ac_cv_use_zlib"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3076 fi
3077
3078 if test "$wxUSE_ZLIB" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_ZLIB" = no; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_ZLIB" = sys; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_ZLIB" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089echo "${ECHO_T}builtin version" >&6
3090 else
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3092echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3094 fi
3095
3096
3097 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3098echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3099 no_cache=0
3100
3101# Check whether --with-odbc or --without-odbc was given.
3102if test "${with_odbc+set}" = set; then
3103 withval="$with_odbc"
3104
3105 if test "$withval" = yes; then
3106 ac_cv_use_odbc='wxUSE_ODBC=yes'
3107 elif test "$withval" = no; then
3108 ac_cv_use_odbc='wxUSE_ODBC=no'
3109 elif test "$withval" = sys; then
3110 ac_cv_use_odbc='wxUSE_ODBC=sys'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3113 else
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3115echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3117 fi
3118
3119else
3120
3121 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 else
3125 no_cache=1
3126 fi
3127
3128 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3129
3130fi;
3131
3132 eval "$ac_cv_use_odbc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_ODBC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_ODBC" = no; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_ODBC" = sys; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_ODBC" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148echo "${ECHO_T}builtin version" >&6
3149 else
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3151echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3153 fi
3154
3155
3156 echo "$as_me:$LINENO: checking for --with-expat" >&5
3157echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3158 no_cache=0
3159
3160# Check whether --with-expat or --without-expat was given.
3161if test "${with_expat+set}" = set; then
3162 withval="$with_expat"
3163
3164 if test "$withval" = yes; then
3165 ac_cv_use_expat='wxUSE_EXPAT=yes'
3166 elif test "$withval" = no; then
3167 ac_cv_use_expat='wxUSE_EXPAT=no'
3168 elif test "$withval" = sys; then
3169 ac_cv_use_expat='wxUSE_EXPAT=sys'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3172 else
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3174echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3176 fi
3177
3178else
3179
3180 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3183 else
3184 no_cache=1
3185 fi
3186
3187 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3188
3189fi;
3190
3191 eval "$ac_cv_use_expat"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_EXPAT" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_EXPAT" = no; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_EXPAT" = sys; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_EXPAT" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207echo "${ECHO_T}builtin version" >&6
3208 else
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3210echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3212 fi
3213
3214
3215
3216
3217 enablestring=
3218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3219echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3220 no_cache=0
3221 # Check whether --enable-shared or --disable-shared was given.
3222if test "${enable_shared+set}" = set; then
3223 enableval="$enable_shared"
3224
3225 if test "$enableval" = yes; then
3226 ac_cv_use_shared='wxUSE_SHARED=yes'
3227 else
3228 ac_cv_use_shared='wxUSE_SHARED=no'
3229 fi
3230
3231else
3232
3233 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3236 else
3237 no_cache=1
3238 fi
3239
3240 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3241
3242fi;
3243
3244 eval "$ac_cv_use_shared"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3247 fi
3248
3249 if test "$wxUSE_SHARED" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251echo "${ECHO_T}yes" >&6
3252 else
3253 echo "$as_me:$LINENO: result: no" >&5
3254echo "${ECHO_T}no" >&6
3255 fi
3256
3257
3258 enablestring=
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3260echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3261 no_cache=0
3262 # Check whether --enable-optimise or --disable-optimise was given.
3263if test "${enable_optimise+set}" = set; then
3264 enableval="$enable_optimise"
3265
3266 if test "$enableval" = yes; then
3267 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3268 else
3269 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3270 fi
3271
3272else
3273
3274 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 else
3278 no_cache=1
3279 fi
3280
3281 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3282
3283fi;
3284
3285 eval "$ac_cv_use_optimise"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_OPTIMISE" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292echo "${ECHO_T}yes" >&6
3293 else
3294 echo "$as_me:$LINENO: result: no" >&5
3295echo "${ECHO_T}no" >&6
3296 fi
3297
3298
3299 enablestring=
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3301echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3302 no_cache=0
3303 # Check whether --enable-debug or --disable-debug was given.
3304if test "${enable_debug+set}" = set; then
3305 enableval="$enable_debug"
3306
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug='wxUSE_DEBUG=yes'
3309 else
3310 ac_cv_use_debug='wxUSE_DEBUG=no'
3311 fi
3312
3313else
3314
3315 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3318 else
3319 no_cache=1
3320 fi
3321
3322 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3323
3324fi;
3325
3326 eval "$ac_cv_use_debug"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3329 fi
3330
3331 if test "$wxUSE_DEBUG" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333echo "${ECHO_T}yes" >&6
3334 else
3335 echo "$as_me:$LINENO: result: no" >&5
3336echo "${ECHO_T}no" >&6
3337 fi
3338
3339
3340 enablestring=
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3342echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3343 no_cache=0
3344 # Check whether --enable-stl or --disable-stl was given.
3345if test "${enable_stl+set}" = set; then
3346 enableval="$enable_stl"
3347
3348 if test "$enableval" = yes; then
3349 ac_cv_use_stl='wxUSE_STL=yes'
3350 else
3351 ac_cv_use_stl='wxUSE_STL=no'
3352 fi
3353
3354else
3355
3356 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3359 else
3360 no_cache=1
3361 fi
3362
3363 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3364
3365fi;
3366
3367 eval "$ac_cv_use_stl"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test "$wxUSE_STL" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374echo "${ECHO_T}yes" >&6
3375 else
3376 echo "$as_me:$LINENO: result: no" >&5
3377echo "${ECHO_T}no" >&6
3378 fi
3379
3380
3381if test "$wxUSE_DEBUG" = "yes"; then
3382 DEFAULT_wxUSE_DEBUG_FLAG=yes
3383 DEFAULT_wxUSE_DEBUG_INFO=yes
3384 BUILD=debug
3385elif test "$wxUSE_DEBUG" = "no"; then
3386 DEFAULT_wxUSE_DEBUG_FLAG=no
3387 DEFAULT_wxUSE_DEBUG_INFO=no
3388 BUILD=release
3389fi
3390
3391
3392 enablestring=
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3394echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3395 no_cache=0
3396 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3397if test "${enable_debug_flag+set}" = set; then
3398 enableval="$enable_debug_flag"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3402 else
3403 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3404 fi
3405
3406else
3407
3408 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3416
3417fi;
3418
3419 eval "$ac_cv_use_debug_flag"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_DEBUG_FLAG" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426echo "${ECHO_T}yes" >&6
3427 else
3428 echo "$as_me:$LINENO: result: no" >&5
3429echo "${ECHO_T}no" >&6
3430 fi
3431
3432
3433 enablestring=
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3435echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3436 no_cache=0
3437 # Check whether --enable-debug_info or --disable-debug_info was given.
3438if test "${enable_debug_info+set}" = set; then
3439 enableval="$enable_debug_info"
3440
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3443 else
3444 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3445 fi
3446
3447else
3448
3449 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3452 else
3453 no_cache=1
3454 fi
3455
3456 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3457
3458fi;
3459
3460 eval "$ac_cv_use_debug_info"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_DEBUG_INFO" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467echo "${ECHO_T}yes" >&6
3468 else
3469 echo "$as_me:$LINENO: result: no" >&5
3470echo "${ECHO_T}no" >&6
3471 fi
3472
3473
3474 enablestring=
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3476echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3477 no_cache=0
3478 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3479if test "${enable_debug_gdb+set}" = set; then
3480 enableval="$enable_debug_gdb"
3481
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3484 else
3485 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3486 fi
3487
3488else
3489
3490 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3493 else
3494 no_cache=1
3495 fi
3496
3497 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3498
3499fi;
3500
3501 eval "$ac_cv_use_debug_gdb"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3504 fi
3505
3506 if test "$wxUSE_DEBUG_GDB" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508echo "${ECHO_T}yes" >&6
3509 else
3510 echo "$as_me:$LINENO: result: no" >&5
3511echo "${ECHO_T}no" >&6
3512 fi
3513
3514
3515 enablestring=
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3517echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3518 no_cache=0
3519 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3520if test "${enable_debug_cntxt+set}" = set; then
3521 enableval="$enable_debug_cntxt"
3522
3523 if test "$enableval" = yes; then
3524 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3525 else
3526 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3527 fi
3528
3529else
3530
3531 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3534 else
3535 no_cache=1
3536 fi
3537
3538 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3539
3540fi;
3541
3542 eval "$ac_cv_use_debug_cntxt"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3545 fi
3546
3547 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549echo "${ECHO_T}yes" >&6
3550 else
3551 echo "$as_me:$LINENO: result: no" >&5
3552echo "${ECHO_T}no" >&6
3553 fi
3554
3555
3556 enablestring=
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3558echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3559 no_cache=0
3560 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3561if test "${enable_mem_tracing+set}" = set; then
3562 enableval="$enable_mem_tracing"
3563
3564 if test "$enableval" = yes; then
3565 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3566 else
3567 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3568 fi
3569
3570else
3571
3572 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3580
3581fi;
3582
3583 eval "$ac_cv_use_mem_tracing"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3586 fi
3587
3588 if test "$wxUSE_MEM_TRACING" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590echo "${ECHO_T}yes" >&6
3591 else
3592 echo "$as_me:$LINENO: result: no" >&5
3593echo "${ECHO_T}no" >&6
3594 fi
3595
3596
3597 enablestring=
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3599echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3600 no_cache=0
3601 # Check whether --enable-profile or --disable-profile was given.
3602if test "${enable_profile+set}" = set; then
3603 enableval="$enable_profile"
3604
3605 if test "$enableval" = yes; then
3606 ac_cv_use_profile='wxUSE_PROFILE=yes'
3607 else
3608 ac_cv_use_profile='wxUSE_PROFILE=no'
3609 fi
3610
3611else
3612
3613 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3616 else
3617 no_cache=1
3618 fi
3619
3620 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3621
3622fi;
3623
3624 eval "$ac_cv_use_profile"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3627 fi
3628
3629 if test "$wxUSE_PROFILE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631echo "${ECHO_T}yes" >&6
3632 else
3633 echo "$as_me:$LINENO: result: no" >&5
3634echo "${ECHO_T}no" >&6
3635 fi
3636
3637
3638 enablestring=
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3640echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3641 no_cache=0
3642 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3643if test "${enable_no_rtti+set}" = set; then
3644 enableval="$enable_no_rtti"
3645
3646 if test "$enableval" = yes; then
3647 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3648 else
3649 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3650 fi
3651
3652else
3653
3654 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3657 else
3658 no_cache=1
3659 fi
3660
3661 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3662
3663fi;
3664
3665 eval "$ac_cv_use_no_rtti"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3668 fi
3669
3670 if test "$wxUSE_NO_RTTI" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672echo "${ECHO_T}yes" >&6
3673 else
3674 echo "$as_me:$LINENO: result: no" >&5
3675echo "${ECHO_T}no" >&6
3676 fi
3677
3678
3679 enablestring=
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3681echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3682 no_cache=0
3683 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3684if test "${enable_no_exceptions+set}" = set; then
3685 enableval="$enable_no_exceptions"
3686
3687 if test "$enableval" = yes; then
3688 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3689 else
3690 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3691 fi
3692
3693else
3694
3695 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3698 else
3699 no_cache=1
3700 fi
3701
3702 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3703
3704fi;
3705
3706 eval "$ac_cv_use_no_exceptions"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713echo "${ECHO_T}yes" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716echo "${ECHO_T}no" >&6
3717 fi
3718
3719
3720 enablestring=
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3722echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3723 no_cache=0
3724 # Check whether --enable-permissive or --disable-permissive was given.
3725if test "${enable_permissive+set}" = set; then
3726 enableval="$enable_permissive"
3727
3728 if test "$enableval" = yes; then
3729 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3730 else
3731 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3732 fi
3733
3734else
3735
3736 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3739 else
3740 no_cache=1
3741 fi
3742
3743 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3744
3745fi;
3746
3747 eval "$ac_cv_use_permissive"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_PERMISSIVE" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754echo "${ECHO_T}yes" >&6
3755 else
3756 echo "$as_me:$LINENO: result: no" >&5
3757echo "${ECHO_T}no" >&6
3758 fi
3759
3760
3761 enablestring=
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3763echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3764 no_cache=0
3765 # Check whether --enable-no_deps or --disable-no_deps was given.
3766if test "${enable_no_deps+set}" = set; then
3767 enableval="$enable_no_deps"
3768
3769 if test "$enableval" = yes; then
3770 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3771 else
3772 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3773 fi
3774
3775else
3776
3777 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3780 else
3781 no_cache=1
3782 fi
3783
3784 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3785
3786fi;
3787
3788 eval "$ac_cv_use_no_deps"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3791 fi
3792
3793 if test "$wxUSE_NO_DEPS" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795echo "${ECHO_T}yes" >&6
3796 else
3797 echo "$as_me:$LINENO: result: no" >&5
3798echo "${ECHO_T}no" >&6
3799 fi
3800
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3805echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-compat22 or --disable-compat22 was given.
3808if test "${enable_compat22+set}" = set; then
3809 enableval="$enable_compat22"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3813 else
3814 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3815 fi
3816
3817else
3818
3819 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3827
3828fi;
3829
3830 eval "$ac_cv_use_compat22"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=disable
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3846echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-compat24 or --disable-compat24 was given.
3849if test "${enable_compat24+set}" = set; then
3850 enableval="$enable_compat24"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3854 else
3855 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3856 fi
3857
3858else
3859
3860 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3868
3869fi;
3870
3871 eval "$ac_cv_use_compat24"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885# Check whether --enable-rpath or --disable-rpath was given.
3886if test "${enable_rpath+set}" = set; then
3887 enableval="$enable_rpath"
3888 wxRPATH_DIR="$enableval"
3889fi;
3890
3891if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3892 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3893fi
3894
3895
3896
3897
3898 enablestring=
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3900echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3901 no_cache=0
3902 # Check whether --enable-intl or --disable-intl was given.
3903if test "${enable_intl+set}" = set; then
3904 enableval="$enable_intl"
3905
3906 if test "$enableval" = yes; then
3907 ac_cv_use_intl='wxUSE_INTL=yes'
3908 else
3909 ac_cv_use_intl='wxUSE_INTL=no'
3910 fi
3911
3912else
3913
3914 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3917 else
3918 no_cache=1
3919 fi
3920
3921 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3922
3923fi;
3924
3925 eval "$ac_cv_use_intl"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3928 fi
3929
3930 if test "$wxUSE_INTL" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932echo "${ECHO_T}yes" >&6
3933 else
3934 echo "$as_me:$LINENO: result: no" >&5
3935echo "${ECHO_T}no" >&6
3936 fi
3937
3938
3939 enablestring=
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3941echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3942 no_cache=0
3943 # Check whether --enable-config or --disable-config was given.
3944if test "${enable_config+set}" = set; then
3945 enableval="$enable_config"
3946
3947 if test "$enableval" = yes; then
3948 ac_cv_use_config='wxUSE_CONFIG=yes'
3949 else
3950 ac_cv_use_config='wxUSE_CONFIG=no'
3951 fi
3952
3953else
3954
3955 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3958 else
3959 no_cache=1
3960 fi
3961
3962 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3963
3964fi;
3965
3966 eval "$ac_cv_use_config"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test "$wxUSE_CONFIG" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973echo "${ECHO_T}yes" >&6
3974 else
3975 echo "$as_me:$LINENO: result: no" >&5
3976echo "${ECHO_T}no" >&6
3977 fi
3978
3979
3980
3981 enablestring=
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3983echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3984 no_cache=0
3985 # Check whether --enable-protocols or --disable-protocols was given.
3986if test "${enable_protocols+set}" = set; then
3987 enableval="$enable_protocols"
3988
3989 if test "$enableval" = yes; then
3990 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3991 else
3992 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3993 fi
3994
3995else
3996
3997 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4000 else
4001 no_cache=1
4002 fi
4003
4004 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4005
4006fi;
4007
4008 eval "$ac_cv_use_protocols"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4011 fi
4012
4013 if test "$wxUSE_PROTOCOL" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015echo "${ECHO_T}yes" >&6
4016 else
4017 echo "$as_me:$LINENO: result: no" >&5
4018echo "${ECHO_T}no" >&6
4019 fi
4020
4021
4022 enablestring=
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4024echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4025 no_cache=0
4026 # Check whether --enable-ftp or --disable-ftp was given.
4027if test "${enable_ftp+set}" = set; then
4028 enableval="$enable_ftp"
4029
4030 if test "$enableval" = yes; then
4031 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4032 else
4033 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4034 fi
4035
4036else
4037
4038 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4046
4047fi;
4048
4049 eval "$ac_cv_use_ftp"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4052 fi
4053
4054 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056echo "${ECHO_T}yes" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059echo "${ECHO_T}no" >&6
4060 fi
4061
4062
4063 enablestring=
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4065echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4066 no_cache=0
4067 # Check whether --enable-http or --disable-http was given.
4068if test "${enable_http+set}" = set; then
4069 enableval="$enable_http"
4070
4071 if test "$enableval" = yes; then
4072 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4073 else
4074 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4075 fi
4076
4077else
4078
4079 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 else
4083 no_cache=1
4084 fi
4085
4086 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4087
4088fi;
4089
4090 eval "$ac_cv_use_http"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097echo "${ECHO_T}yes" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100echo "${ECHO_T}no" >&6
4101 fi
4102
4103
4104 enablestring=
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4106echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4107 no_cache=0
4108 # Check whether --enable-fileproto or --disable-fileproto was given.
4109if test "${enable_fileproto+set}" = set; then
4110 enableval="$enable_fileproto"
4111
4112 if test "$enableval" = yes; then
4113 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4114 else
4115 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4116 fi
4117
4118else
4119
4120 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4128
4129fi;
4130
4131 eval "$ac_cv_use_fileproto"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138echo "${ECHO_T}yes" >&6
4139 else
4140 echo "$as_me:$LINENO: result: no" >&5
4141echo "${ECHO_T}no" >&6
4142 fi
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4147echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-sockets or --disable-sockets was given.
4150if test "${enable_sockets+set}" = set; then
4151 enableval="$enable_sockets"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4155 else
4156 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4157 fi
4158
4159else
4160
4161 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4169
4170fi;
4171
4172 eval "$ac_cv_use_sockets"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_SOCKETS" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4188echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-ole or --disable-ole was given.
4191if test "${enable_ole+set}" = set; then
4192 enableval="$enable_ole"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_ole='wxUSE_OLE=yes'
4196 else
4197 ac_cv_use_ole='wxUSE_OLE=no'
4198 fi
4199
4200else
4201
4202 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4210
4211fi;
4212
4213 eval "$ac_cv_use_ole"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_OLE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4229echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-dataobj or --disable-dataobj was given.
4232if test "${enable_dataobj+set}" = set; then
4233 enableval="$enable_dataobj"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4237 else
4238 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4239 fi
4240
4241else
4242
4243 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4251
4252fi;
4253
4254 eval "$ac_cv_use_dataobj"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_DATAOBJ" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268
4269 enablestring=
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4271echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4272 no_cache=0
4273 # Check whether --enable-ipc or --disable-ipc was given.
4274if test "${enable_ipc+set}" = set; then
4275 enableval="$enable_ipc"
4276
4277 if test "$enableval" = yes; then
4278 ac_cv_use_ipc='wxUSE_IPC=yes'
4279 else
4280 ac_cv_use_ipc='wxUSE_IPC=no'
4281 fi
4282
4283else
4284
4285 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4293
4294fi;
4295
4296 eval "$ac_cv_use_ipc"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4299 fi
4300
4301 if test "$wxUSE_IPC" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303echo "${ECHO_T}yes" >&6
4304 else
4305 echo "$as_me:$LINENO: result: no" >&5
4306echo "${ECHO_T}no" >&6
4307 fi
4308
4309
4310
4311 enablestring=
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4313echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4314 no_cache=0
4315 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4316if test "${enable_apple_ieee+set}" = set; then
4317 enableval="$enable_apple_ieee"
4318
4319 if test "$enableval" = yes; then
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4321 else
4322 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4323 fi
4324
4325else
4326
4327 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4330 else
4331 no_cache=1
4332 fi
4333
4334 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4335
4336fi;
4337
4338 eval "$ac_cv_use_apple_ieee"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4341 fi
4342
4343 if test "$wxUSE_APPLE_IEEE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345echo "${ECHO_T}yes" >&6
4346 else
4347 echo "$as_me:$LINENO: result: no" >&5
4348echo "${ECHO_T}no" >&6
4349 fi
4350
4351
4352 enablestring=
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4354echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4355 no_cache=0
4356 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4357if test "${enable_catch_segvs+set}" = set; then
4358 enableval="$enable_catch_segvs"
4359
4360 if test "$enableval" = yes; then
4361 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4362 else
4363 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4364 fi
4365
4366else
4367
4368 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4371 else
4372 no_cache=1
4373 fi
4374
4375 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4376
4377fi;
4378
4379 eval "$ac_cv_use_catch_segvs"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386echo "${ECHO_T}yes" >&6
4387 else
4388 echo "$as_me:$LINENO: result: no" >&5
4389echo "${ECHO_T}no" >&6
4390 fi
4391
4392
4393 enablestring=
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4395echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4396 no_cache=0
4397 # Check whether --enable-cmdline or --disable-cmdline was given.
4398if test "${enable_cmdline+set}" = set; then
4399 enableval="$enable_cmdline"
4400
4401 if test "$enableval" = yes; then
4402 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4403 else
4404 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4405 fi
4406
4407else
4408
4409 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4412 else
4413 no_cache=1
4414 fi
4415
4416 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4417
4418fi;
4419
4420 eval "$ac_cv_use_cmdline"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4423 fi
4424
4425 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427echo "${ECHO_T}yes" >&6
4428 else
4429 echo "$as_me:$LINENO: result: no" >&5
4430echo "${ECHO_T}no" >&6
4431 fi
4432
4433
4434 enablestring=
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4436echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4437 no_cache=0
4438 # Check whether --enable-datetime or --disable-datetime was given.
4439if test "${enable_datetime+set}" = set; then
4440 enableval="$enable_datetime"
4441
4442 if test "$enableval" = yes; then
4443 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4444 else
4445 ac_cv_use_datetime='wxUSE_DATETIME=no'
4446 fi
4447
4448else
4449
4450 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4453 else
4454 no_cache=1
4455 fi
4456
4457 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4458
4459fi;
4460
4461 eval "$ac_cv_use_datetime"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4464 fi
4465
4466 if test "$wxUSE_DATETIME" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468echo "${ECHO_T}yes" >&6
4469 else
4470 echo "$as_me:$LINENO: result: no" >&5
4471echo "${ECHO_T}no" >&6
4472 fi
4473
4474
4475 enablestring=
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4477echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4478 no_cache=0
4479 # Check whether --enable-dialupman or --disable-dialupman was given.
4480if test "${enable_dialupman+set}" = set; then
4481 enableval="$enable_dialupman"
4482
4483 if test "$enableval" = yes; then
4484 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4485 else
4486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4487 fi
4488
4489else
4490
4491 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4494 else
4495 no_cache=1
4496 fi
4497
4498 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4499
4500fi;
4501
4502 eval "$ac_cv_use_dialupman"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509echo "${ECHO_T}yes" >&6
4510 else
4511 echo "$as_me:$LINENO: result: no" >&5
4512echo "${ECHO_T}no" >&6
4513 fi
4514
4515
4516 enablestring=
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4518echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4519 no_cache=0
4520 # Check whether --enable-dynlib or --disable-dynlib was given.
4521if test "${enable_dynlib+set}" = set; then
4522 enableval="$enable_dynlib"
4523
4524 if test "$enableval" = yes; then
4525 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4526 else
4527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4528 fi
4529
4530else
4531
4532 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4535 else
4536 no_cache=1
4537 fi
4538
4539 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4540
4541fi;
4542
4543 eval "$ac_cv_use_dynlib"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4546 fi
4547
4548 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550echo "${ECHO_T}yes" >&6
4551 else
4552 echo "$as_me:$LINENO: result: no" >&5
4553echo "${ECHO_T}no" >&6
4554 fi
4555
4556
4557 enablestring=
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4559echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4560 no_cache=0
4561 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4562if test "${enable_dynamicloader+set}" = set; then
4563 enableval="$enable_dynamicloader"
4564
4565 if test "$enableval" = yes; then
4566 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4567 else
4568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4569 fi
4570
4571else
4572
4573 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4576 else
4577 no_cache=1
4578 fi
4579
4580 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4581
4582fi;
4583
4584 eval "$ac_cv_use_dynamicloader"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4587 fi
4588
4589 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591echo "${ECHO_T}yes" >&6
4592 else
4593 echo "$as_me:$LINENO: result: no" >&5
4594echo "${ECHO_T}no" >&6
4595 fi
4596
4597
4598 enablestring=
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4600echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4601 no_cache=0
4602 # Check whether --enable-exceptions or --disable-exceptions was given.
4603if test "${enable_exceptions+set}" = set; then
4604 enableval="$enable_exceptions"
4605
4606 if test "$enableval" = yes; then
4607 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4608 else
4609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4610 fi
4611
4612else
4613
4614 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4617 else
4618 no_cache=1
4619 fi
4620
4621 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4622
4623fi;
4624
4625 eval "$ac_cv_use_exceptions"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test "$wxUSE_EXCEPTIONS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632echo "${ECHO_T}yes" >&6
4633 else
4634 echo "$as_me:$LINENO: result: no" >&5
4635echo "${ECHO_T}no" >&6
4636 fi
4637
4638
4639 enablestring=
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4641echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4642 no_cache=0
4643 # Check whether --enable-ffile or --disable-ffile was given.
4644if test "${enable_ffile+set}" = set; then
4645 enableval="$enable_ffile"
4646
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ffile='wxUSE_FFILE=yes'
4649 else
4650 ac_cv_use_ffile='wxUSE_FFILE=no'
4651 fi
4652
4653else
4654
4655 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4658 else
4659 no_cache=1
4660 fi
4661
4662 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4663
4664fi;
4665
4666 eval "$ac_cv_use_ffile"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4669 fi
4670
4671 if test "$wxUSE_FFILE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673echo "${ECHO_T}yes" >&6
4674 else
4675 echo "$as_me:$LINENO: result: no" >&5
4676echo "${ECHO_T}no" >&6
4677 fi
4678
4679
4680 enablestring=
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4682echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4683 no_cache=0
4684 # Check whether --enable-file or --disable-file was given.
4685if test "${enable_file+set}" = set; then
4686 enableval="$enable_file"
4687
4688 if test "$enableval" = yes; then
4689 ac_cv_use_file='wxUSE_FILE=yes'
4690 else
4691 ac_cv_use_file='wxUSE_FILE=no'
4692 fi
4693
4694else
4695
4696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4699 else
4700 no_cache=1
4701 fi
4702
4703 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4704
4705fi;
4706
4707 eval "$ac_cv_use_file"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4710 fi
4711
4712 if test "$wxUSE_FILE" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714echo "${ECHO_T}yes" >&6
4715 else
4716 echo "$as_me:$LINENO: result: no" >&5
4717echo "${ECHO_T}no" >&6
4718 fi
4719
4720
4721 enablestring=
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4723echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4724 no_cache=0
4725 # Check whether --enable-filesystem or --disable-filesystem was given.
4726if test "${enable_filesystem+set}" = set; then
4727 enableval="$enable_filesystem"
4728
4729 if test "$enableval" = yes; then
4730 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4731 else
4732 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4733 fi
4734
4735else
4736
4737 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4740 else
4741 no_cache=1
4742 fi
4743
4744 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4745
4746fi;
4747
4748 eval "$ac_cv_use_filesystem"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4751 fi
4752
4753 if test "$wxUSE_FILESYSTEM" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755echo "${ECHO_T}yes" >&6
4756 else
4757 echo "$as_me:$LINENO: result: no" >&5
4758echo "${ECHO_T}no" >&6
4759 fi
4760
4761
4762 enablestring=
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4764echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4765 no_cache=0
4766 # Check whether --enable-fontmap or --disable-fontmap was given.
4767if test "${enable_fontmap+set}" = set; then
4768 enableval="$enable_fontmap"
4769
4770 if test "$enableval" = yes; then
4771 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4772 else
4773 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4774 fi
4775
4776else
4777
4778 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4781 else
4782 no_cache=1
4783 fi
4784
4785 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4786
4787fi;
4788
4789 eval "$ac_cv_use_fontmap"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4792 fi
4793
4794 if test "$wxUSE_FONTMAP" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796echo "${ECHO_T}yes" >&6
4797 else
4798 echo "$as_me:$LINENO: result: no" >&5
4799echo "${ECHO_T}no" >&6
4800 fi
4801
4802
4803 enablestring=
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4805echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4806 no_cache=0
4807 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4808if test "${enable_fs_inet+set}" = set; then
4809 enableval="$enable_fs_inet"
4810
4811 if test "$enableval" = yes; then
4812 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4813 else
4814 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4815 fi
4816
4817else
4818
4819 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4822 else
4823 no_cache=1
4824 fi
4825
4826 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4827
4828fi;
4829
4830 eval "$ac_cv_use_fs_inet"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4833 fi
4834
4835 if test "$wxUSE_FS_INET" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837echo "${ECHO_T}yes" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840echo "${ECHO_T}no" >&6
4841 fi
4842
4843
4844 enablestring=
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4846echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4847 no_cache=0
4848 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4849if test "${enable_fs_zip+set}" = set; then
4850 enableval="$enable_fs_zip"
4851
4852 if test "$enableval" = yes; then
4853 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4854 else
4855 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4856 fi
4857
4858else
4859
4860 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4863 else
4864 no_cache=1
4865 fi
4866
4867 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4868
4869fi;
4870
4871 eval "$ac_cv_use_fs_zip"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4874 fi
4875
4876 if test "$wxUSE_FS_ZIP" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878echo "${ECHO_T}yes" >&6
4879 else
4880 echo "$as_me:$LINENO: result: no" >&5
4881echo "${ECHO_T}no" >&6
4882 fi
4883
4884
4885 enablestring=
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4887echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4888 no_cache=0
4889 # Check whether --enable-geometry or --disable-geometry was given.
4890if test "${enable_geometry+set}" = set; then
4891 enableval="$enable_geometry"
4892
4893 if test "$enableval" = yes; then
4894 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4895 else
4896 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4897 fi
4898
4899else
4900
4901 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4904 else
4905 no_cache=1
4906 fi
4907
4908 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4909
4910fi;
4911
4912 eval "$ac_cv_use_geometry"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4915 fi
4916
4917 if test "$wxUSE_GEOMETRY" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919echo "${ECHO_T}yes" >&6
4920 else
4921 echo "$as_me:$LINENO: result: no" >&5
4922echo "${ECHO_T}no" >&6
4923 fi
4924
4925
4926 enablestring=
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4928echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4929 no_cache=0
4930 # Check whether --enable-log or --disable-log was given.
4931if test "${enable_log+set}" = set; then
4932 enableval="$enable_log"
4933
4934 if test "$enableval" = yes; then
4935 ac_cv_use_log='wxUSE_LOG=yes'
4936 else
4937 ac_cv_use_log='wxUSE_LOG=no'
4938 fi
4939
4940else
4941
4942 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4945 else
4946 no_cache=1
4947 fi
4948
4949 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4950
4951fi;
4952
4953 eval "$ac_cv_use_log"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4956 fi
4957
4958 if test "$wxUSE_LOG" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960echo "${ECHO_T}yes" >&6
4961 else
4962 echo "$as_me:$LINENO: result: no" >&5
4963echo "${ECHO_T}no" >&6
4964 fi
4965
4966
4967 enablestring=
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4969echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4970 no_cache=0
4971 # Check whether --enable-longlong or --disable-longlong was given.
4972if test "${enable_longlong+set}" = set; then
4973 enableval="$enable_longlong"
4974
4975 if test "$enableval" = yes; then
4976 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4977 else
4978 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4979 fi
4980
4981else
4982
4983 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4986 else
4987 no_cache=1
4988 fi
4989
4990 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4991
4992fi;
4993
4994 eval "$ac_cv_use_longlong"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4997 fi
4998
4999 if test "$wxUSE_LONGLONG" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001echo "${ECHO_T}yes" >&6
5002 else
5003 echo "$as_me:$LINENO: result: no" >&5
5004echo "${ECHO_T}no" >&6
5005 fi
5006
5007
5008 enablestring=
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5010echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5011 no_cache=0
5012 # Check whether --enable-mimetype or --disable-mimetype was given.
5013if test "${enable_mimetype+set}" = set; then
5014 enableval="$enable_mimetype"
5015
5016 if test "$enableval" = yes; then
5017 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5018 else
5019 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5020 fi
5021
5022else
5023
5024 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5032
5033fi;
5034
5035 eval "$ac_cv_use_mimetype"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5038 fi
5039
5040 if test "$wxUSE_MIMETYPE" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042echo "${ECHO_T}yes" >&6
5043 else
5044 echo "$as_me:$LINENO: result: no" >&5
5045echo "${ECHO_T}no" >&6
5046 fi
5047
5048
5049 enablestring=
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5051echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5052 no_cache=0
5053 # Check whether --enable-mslu or --disable-mslu was given.
5054if test "${enable_mslu+set}" = set; then
5055 enableval="$enable_mslu"
5056
5057 if test "$enableval" = yes; then
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5059 else
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5061 fi
5062
5063else
5064
5065 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5068 else
5069 no_cache=1
5070 fi
5071
5072 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5073
5074fi;
5075
5076 eval "$ac_cv_use_mslu"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5079 fi
5080
5081 if test "$wxUSE_UNICODE_MSLU" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083echo "${ECHO_T}yes" >&6
5084 else
5085 echo "$as_me:$LINENO: result: no" >&5
5086echo "${ECHO_T}no" >&6
5087 fi
5088
5089
5090 enablestring=
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5092echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5093 no_cache=0
5094 # Check whether --enable-snglinst or --disable-snglinst was given.
5095if test "${enable_snglinst+set}" = set; then
5096 enableval="$enable_snglinst"
5097
5098 if test "$enableval" = yes; then
5099 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5100 else
5101 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5102 fi
5103
5104else
5105
5106 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5109 else
5110 no_cache=1
5111 fi
5112
5113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5114
5115fi;
5116
5117 eval "$ac_cv_use_snglinst"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5120 fi
5121
5122 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124echo "${ECHO_T}yes" >&6
5125 else
5126 echo "$as_me:$LINENO: result: no" >&5
5127echo "${ECHO_T}no" >&6
5128 fi
5129
5130
5131 enablestring=
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5133echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5134 no_cache=0
5135 # Check whether --enable-streams or --disable-streams was given.
5136if test "${enable_streams+set}" = set; then
5137 enableval="$enable_streams"
5138
5139 if test "$enableval" = yes; then
5140 ac_cv_use_streams='wxUSE_STREAMS=yes'
5141 else
5142 ac_cv_use_streams='wxUSE_STREAMS=no'
5143 fi
5144
5145else
5146
5147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5155
5156fi;
5157
5158 eval "$ac_cv_use_streams"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5161 fi
5162
5163 if test "$wxUSE_STREAMS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165echo "${ECHO_T}yes" >&6
5166 else
5167 echo "$as_me:$LINENO: result: no" >&5
5168echo "${ECHO_T}no" >&6
5169 fi
5170
5171
5172 enablestring=
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5174echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5175 no_cache=0
5176 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5177if test "${enable_std_iostreams+set}" = set; then
5178 enableval="$enable_std_iostreams"
5179
5180 if test "$enableval" = yes; then
5181 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5182 else
5183 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5184 fi
5185
5186else
5187
5188 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5191 else
5192 no_cache=1
5193 fi
5194
5195 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5196
5197fi;
5198
5199 eval "$ac_cv_use_std_iostreams"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 if test "$wxUSE_STD_IOSTREAM" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206echo "${ECHO_T}yes" >&6
5207 else
5208 echo "$as_me:$LINENO: result: no" >&5
5209echo "${ECHO_T}no" >&6
5210 fi
5211
5212
5213 enablestring=
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5215echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5216 no_cache=0
5217 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5218if test "${enable_stopwatch+set}" = set; then
5219 enableval="$enable_stopwatch"
5220
5221 if test "$enableval" = yes; then
5222 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5223 else
5224 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5225 fi
5226
5227else
5228
5229 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5232 else
5233 no_cache=1
5234 fi
5235
5236 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5237
5238fi;
5239
5240 eval "$ac_cv_use_stopwatch"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5243 fi
5244
5245 if test "$wxUSE_STOPWATCH" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247echo "${ECHO_T}yes" >&6
5248 else
5249 echo "$as_me:$LINENO: result: no" >&5
5250echo "${ECHO_T}no" >&6
5251 fi
5252
5253
5254 enablestring=
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5256echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5257 no_cache=0
5258 # Check whether --enable-system_options or --disable-system_options was given.
5259if test "${enable_system_options+set}" = set; then
5260 enableval="$enable_system_options"
5261
5262 if test "$enableval" = yes; then
5263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5264 else
5265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5266 fi
5267
5268else
5269
5270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5273 else
5274 no_cache=1
5275 fi
5276
5277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5278
5279fi;
5280
5281 eval "$ac_cv_use_system_options"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5284 fi
5285
5286 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288echo "${ECHO_T}yes" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291echo "${ECHO_T}no" >&6
5292 fi
5293
5294
5295 enablestring=
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5297echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5298 no_cache=0
5299 # Check whether --enable-textbuf or --disable-textbuf was given.
5300if test "${enable_textbuf+set}" = set; then
5301 enableval="$enable_textbuf"
5302
5303 if test "$enableval" = yes; then
5304 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5305 else
5306 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5307 fi
5308
5309else
5310
5311 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5314 else
5315 no_cache=1
5316 fi
5317
5318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5319
5320fi;
5321
5322 eval "$ac_cv_use_textbuf"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5325 fi
5326
5327 if test "$wxUSE_TEXTBUFFER" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329echo "${ECHO_T}yes" >&6
5330 else
5331 echo "$as_me:$LINENO: result: no" >&5
5332echo "${ECHO_T}no" >&6
5333 fi
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5338echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-textfile or --disable-textfile was given.
5341if test "${enable_textfile+set}" = set; then
5342 enableval="$enable_textfile"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5346 else
5347 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5348 fi
5349
5350else
5351
5352 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5360
5361fi;
5362
5363 eval "$ac_cv_use_textfile"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_TEXTFILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5379echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-timer or --disable-timer was given.
5382if test "${enable_timer+set}" = set; then
5383 enableval="$enable_timer"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_timer='wxUSE_TIMER=yes'
5387 else
5388 ac_cv_use_timer='wxUSE_TIMER=no'
5389 fi
5390
5391else
5392
5393 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5401
5402fi;
5403
5404 eval "$ac_cv_use_timer"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_TIMER" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418 enablestring=
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5420echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5421 no_cache=0
5422 # Check whether --enable-unicode or --disable-unicode was given.
5423if test "${enable_unicode+set}" = set; then
5424 enableval="$enable_unicode"
5425
5426 if test "$enableval" = yes; then
5427 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5428 else
5429 ac_cv_use_unicode='wxUSE_UNICODE=no'
5430 fi
5431
5432else
5433
5434 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5442
5443fi;
5444
5445 eval "$ac_cv_use_unicode"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_UNICODE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452echo "${ECHO_T}yes" >&6
5453 else
5454 echo "$as_me:$LINENO: result: no" >&5
5455echo "${ECHO_T}no" >&6
5456 fi
5457
5458
5459 enablestring=
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5461echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5462 no_cache=0
5463 # Check whether --enable-wave or --disable-wave was given.
5464if test "${enable_wave+set}" = set; then
5465 enableval="$enable_wave"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_wave='wxUSE_WAVE=yes'
5469 else
5470 ac_cv_use_wave='wxUSE_WAVE=no'
5471 fi
5472
5473else
5474
5475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5483
5484fi;
5485
5486 eval "$ac_cv_use_wave"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5489 fi
5490
5491 if test "$wxUSE_WAVE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493echo "${ECHO_T}yes" >&6
5494 else
5495 echo "$as_me:$LINENO: result: no" >&5
5496echo "${ECHO_T}no" >&6
5497 fi
5498
5499
5500 enablestring=
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5502echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5503 no_cache=0
5504 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5505if test "${enable_wxprintfv+set}" = set; then
5506 enableval="$enable_wxprintfv"
5507
5508 if test "$enableval" = yes; then
5509 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5510 else
5511 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5512 fi
5513
5514else
5515
5516 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5524
5525fi;
5526
5527 eval "$ac_cv_use_wxprintfv"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534echo "${ECHO_T}yes" >&6
5535 else
5536 echo "$as_me:$LINENO: result: no" >&5
5537echo "${ECHO_T}no" >&6
5538 fi
5539
5540
5541 enablestring=
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5543echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5544 no_cache=0
5545 # Check whether --enable-zipstream or --disable-zipstream was given.
5546if test "${enable_zipstream+set}" = set; then
5547 enableval="$enable_zipstream"
5548
5549 if test "$enableval" = yes; then
5550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5551 else
5552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5553 fi
5554
5555else
5556
5557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5565
5566fi;
5567
5568 eval "$ac_cv_use_zipstream"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test "$wxUSE_ZIPSTREAM" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575echo "${ECHO_T}yes" >&6
5576 else
5577 echo "$as_me:$LINENO: result: no" >&5
5578echo "${ECHO_T}no" >&6
5579 fi
5580
5581
5582 enablestring=
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5584echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5585 no_cache=0
5586 # Check whether --enable-gzstream or --disable-gzstream was given.
5587if test "${enable_gzstream+set}" = set; then
5588 enableval="$enable_gzstream"
5589
5590 if test "$enableval" = yes; then
5591 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5592 else
5593 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5594 fi
5595
5596else
5597
5598 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5606
5607fi;
5608
5609 eval "$ac_cv_use_gzstream"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5612 fi
5613
5614 if test "$wxUSE_GZSTREAM" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616echo "${ECHO_T}yes" >&6
5617 else
5618 echo "$as_me:$LINENO: result: no" >&5
5619echo "${ECHO_T}no" >&6
5620 fi
5621
5622
5623
5624 enablestring=
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5626echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5627 no_cache=0
5628 # Check whether --enable-url or --disable-url was given.
5629if test "${enable_url+set}" = set; then
5630 enableval="$enable_url"
5631
5632 if test "$enableval" = yes; then
5633 ac_cv_use_url='wxUSE_URL=yes'
5634 else
5635 ac_cv_use_url='wxUSE_URL=no'
5636 fi
5637
5638else
5639
5640 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5643 else
5644 no_cache=1
5645 fi
5646
5647 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5648
5649fi;
5650
5651 eval "$ac_cv_use_url"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_URL" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658echo "${ECHO_T}yes" >&6
5659 else
5660 echo "$as_me:$LINENO: result: no" >&5
5661echo "${ECHO_T}no" >&6
5662 fi
5663
5664
5665 enablestring=
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5667echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5668 no_cache=0
5669 # Check whether --enable-protocol or --disable-protocol was given.
5670if test "${enable_protocol+set}" = set; then
5671 enableval="$enable_protocol"
5672
5673 if test "$enableval" = yes; then
5674 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5675 else
5676 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5677 fi
5678
5679else
5680
5681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5684 else
5685 no_cache=1
5686 fi
5687
5688 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5689
5690fi;
5691
5692 eval "$ac_cv_use_protocol"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_PROTOCOL" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699echo "${ECHO_T}yes" >&6
5700 else
5701 echo "$as_me:$LINENO: result: no" >&5
5702echo "${ECHO_T}no" >&6
5703 fi
5704
5705
5706 enablestring=
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5708echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5709 no_cache=0
5710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5711if test "${enable_protocol_http+set}" = set; then
5712 enableval="$enable_protocol_http"
5713
5714 if test "$enableval" = yes; then
5715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5716 else
5717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5718 fi
5719
5720else
5721
5722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5730
5731fi;
5732
5733 eval "$ac_cv_use_protocol_http"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5736 fi
5737
5738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740echo "${ECHO_T}yes" >&6
5741 else
5742 echo "$as_me:$LINENO: result: no" >&5
5743echo "${ECHO_T}no" >&6
5744 fi
5745
5746
5747 enablestring=
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5749echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5750 no_cache=0
5751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5752if test "${enable_protocol_ftp+set}" = set; then
5753 enableval="$enable_protocol_ftp"
5754
5755 if test "$enableval" = yes; then
5756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5757 else
5758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5759 fi
5760
5761else
5762
5763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5766 else
5767 no_cache=1
5768 fi
5769
5770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5771
5772fi;
5773
5774 eval "$ac_cv_use_protocol_ftp"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5777 fi
5778
5779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781echo "${ECHO_T}yes" >&6
5782 else
5783 echo "$as_me:$LINENO: result: no" >&5
5784echo "${ECHO_T}no" >&6
5785 fi
5786
5787
5788 enablestring=
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5790echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5791 no_cache=0
5792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5793if test "${enable_protocol_file+set}" = set; then
5794 enableval="$enable_protocol_file"
5795
5796 if test "$enableval" = yes; then
5797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5798 else
5799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5800 fi
5801
5802else
5803
5804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5807 else
5808 no_cache=1
5809 fi
5810
5811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5812
5813fi;
5814
5815 eval "$ac_cv_use_protocol_file"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5818 fi
5819
5820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822echo "${ECHO_T}yes" >&6
5823 else
5824 echo "$as_me:$LINENO: result: no" >&5
5825echo "${ECHO_T}no" >&6
5826 fi
5827
5828
5829
5830
5831
5832 enablestring=
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5834echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5835 no_cache=0
5836 # Check whether --enable-threads or --disable-threads was given.
5837if test "${enable_threads+set}" = set; then
5838 enableval="$enable_threads"
5839
5840 if test "$enableval" = yes; then
5841 ac_cv_use_threads='wxUSE_THREADS=yes'
5842 else
5843 ac_cv_use_threads='wxUSE_THREADS=no'
5844 fi
5845
5846else
5847
5848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 else
5852 no_cache=1
5853 fi
5854
5855 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5856
5857fi;
5858
5859 eval "$ac_cv_use_threads"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5862 fi
5863
5864 if test "$wxUSE_THREADS" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866echo "${ECHO_T}yes" >&6
5867 else
5868 echo "$as_me:$LINENO: result: no" >&5
5869echo "${ECHO_T}no" >&6
5870 fi
5871
5872
5873if test "$wxUSE_GUI" = "yes"; then
5874
5875
5876
5877 enablestring=
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5879echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5880 no_cache=0
5881 # Check whether --enable-docview or --disable-docview was given.
5882if test "${enable_docview+set}" = set; then
5883 enableval="$enable_docview"
5884
5885 if test "$enableval" = yes; then
5886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5887 else
5888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5889 fi
5890
5891else
5892
5893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5901
5902fi;
5903
5904 eval "$ac_cv_use_docview"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911echo "${ECHO_T}yes" >&6
5912 else
5913 echo "$as_me:$LINENO: result: no" >&5
5914echo "${ECHO_T}no" >&6
5915 fi
5916
5917
5918 enablestring=
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5920echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5921 no_cache=0
5922 # Check whether --enable-help or --disable-help was given.
5923if test "${enable_help+set}" = set; then
5924 enableval="$enable_help"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_help='wxUSE_HELP=yes'
5928 else
5929 ac_cv_use_help='wxUSE_HELP=no'
5930 fi
5931
5932else
5933
5934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5942
5943fi;
5944
5945 eval "$ac_cv_use_help"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_HELP" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952echo "${ECHO_T}yes" >&6
5953 else
5954 echo "$as_me:$LINENO: result: no" >&5
5955echo "${ECHO_T}no" >&6
5956 fi
5957
5958
5959 enablestring=
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5961echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5962 no_cache=0
5963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5964if test "${enable_mshtmlhelp+set}" = set; then
5965 enableval="$enable_mshtmlhelp"
5966
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5969 else
5970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5971 fi
5972
5973else
5974
5975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5983
5984fi;
5985
5986 eval "$ac_cv_use_mshtmlhelp"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_MS_HTML_HELP" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993echo "${ECHO_T}yes" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996echo "${ECHO_T}no" >&6
5997 fi
5998
5999
6000 enablestring=
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6002echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6003 no_cache=0
6004 # Check whether --enable-html or --disable-html was given.
6005if test "${enable_html+set}" = set; then
6006 enableval="$enable_html"
6007
6008 if test "$enableval" = yes; then
6009 ac_cv_use_html='wxUSE_HTML=yes'
6010 else
6011 ac_cv_use_html='wxUSE_HTML=no'
6012 fi
6013
6014else
6015
6016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6024
6025fi;
6026
6027 eval "$ac_cv_use_html"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_HTML" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034echo "${ECHO_T}yes" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037echo "${ECHO_T}no" >&6
6038 fi
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6043echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6046if test "${enable_htmlhelp+set}" = set; then
6047 enableval="$enable_htmlhelp"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6051 else
6052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6053 fi
6054
6055else
6056
6057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6065
6066fi;
6067
6068 eval "$ac_cv_use_htmlhelp"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_WXHTML_HELP" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 enablestring=
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6084echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6085 no_cache=0
6086 # Check whether --enable-constraints or --disable-constraints was given.
6087if test "${enable_constraints+set}" = set; then
6088 enableval="$enable_constraints"
6089
6090 if test "$enableval" = yes; then
6091 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6092 else
6093 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6094 fi
6095
6096else
6097
6098 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6106
6107fi;
6108
6109 eval "$ac_cv_use_constraints"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_CONSTRAINTS" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116echo "${ECHO_T}yes" >&6
6117 else
6118 echo "$as_me:$LINENO: result: no" >&5
6119echo "${ECHO_T}no" >&6
6120 fi
6121
6122
6123 enablestring=
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6125echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6126 no_cache=0
6127 # Check whether --enable-printarch or --disable-printarch was given.
6128if test "${enable_printarch+set}" = set; then
6129 enableval="$enable_printarch"
6130
6131 if test "$enableval" = yes; then
6132 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6133 else
6134 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6135 fi
6136
6137else
6138
6139 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6147
6148fi;
6149
6150 eval "$ac_cv_use_printarch"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157echo "${ECHO_T}yes" >&6
6158 else
6159 echo "$as_me:$LINENO: result: no" >&5
6160echo "${ECHO_T}no" >&6
6161 fi
6162
6163
6164 enablestring=
6165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6166echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6167 no_cache=0
6168 # Check whether --enable-mdi or --disable-mdi was given.
6169if test "${enable_mdi+set}" = set; then
6170 enableval="$enable_mdi"
6171
6172 if test "$enableval" = yes; then
6173 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6174 else
6175 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6176 fi
6177
6178else
6179
6180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6183 else
6184 no_cache=1
6185 fi
6186
6187 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6188
6189fi;
6190
6191 eval "$ac_cv_use_mdi"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6194 fi
6195
6196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6197 echo "$as_me:$LINENO: result: yes" >&5
6198echo "${ECHO_T}yes" >&6
6199 else
6200 echo "$as_me:$LINENO: result: no" >&5
6201echo "${ECHO_T}no" >&6
6202 fi
6203
6204
6205 enablestring=
6206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6207echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6208 no_cache=0
6209 # Check whether --enable-loggui or --disable-loggui was given.
6210if test "${enable_loggui+set}" = set; then
6211 enableval="$enable_loggui"
6212
6213 if test "$enableval" = yes; then
6214 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6215 else
6216 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6217 fi
6218
6219else
6220
6221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6224 else
6225 no_cache=1
6226 fi
6227
6228 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6229
6230fi;
6231
6232 eval "$ac_cv_use_loggui"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6235 fi
6236
6237 if test "$wxUSE_LOGGUI" = yes; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239echo "${ECHO_T}yes" >&6
6240 else
6241 echo "$as_me:$LINENO: result: no" >&5
6242echo "${ECHO_T}no" >&6
6243 fi
6244
6245
6246 enablestring=
6247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6248echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6249 no_cache=0
6250 # Check whether --enable-logwin or --disable-logwin was given.
6251if test "${enable_logwin+set}" = set; then
6252 enableval="$enable_logwin"
6253
6254 if test "$enableval" = yes; then
6255 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6256 else
6257 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6258 fi
6259
6260else
6261
6262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6265 else
6266 no_cache=1
6267 fi
6268
6269 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6270
6271fi;
6272
6273 eval "$ac_cv_use_logwin"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6276 fi
6277
6278 if test "$wxUSE_LOGWINDOW" = yes; then
6279 echo "$as_me:$LINENO: result: yes" >&5
6280echo "${ECHO_T}yes" >&6
6281 else
6282 echo "$as_me:$LINENO: result: no" >&5
6283echo "${ECHO_T}no" >&6
6284 fi
6285
6286
6287 enablestring=
6288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6289echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6290 no_cache=0
6291 # Check whether --enable-logdialog or --disable-logdialog was given.
6292if test "${enable_logdialog+set}" = set; then
6293 enableval="$enable_logdialog"
6294
6295 if test "$enableval" = yes; then
6296 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6297 else
6298 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6299 fi
6300
6301else
6302
6303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6306 else
6307 no_cache=1
6308 fi
6309
6310 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6311
6312fi;
6313
6314 eval "$ac_cv_use_logdialog"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6317 fi
6318
6319 if test "$wxUSE_LOGDIALOG" = yes; then
6320 echo "$as_me:$LINENO: result: yes" >&5
6321echo "${ECHO_T}yes" >&6
6322 else
6323 echo "$as_me:$LINENO: result: no" >&5
6324echo "${ECHO_T}no" >&6
6325 fi
6326
6327
6328
6329 enablestring=
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6331echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6332 no_cache=0
6333 # Check whether --enable-postscript or --disable-postscript was given.
6334if test "${enable_postscript+set}" = set; then
6335 enableval="$enable_postscript"
6336
6337 if test "$enableval" = yes; then
6338 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6339 else
6340 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6341 fi
6342
6343else
6344
6345 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6348 else
6349 no_cache=1
6350 fi
6351
6352 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6353
6354fi;
6355
6356 eval "$ac_cv_use_postscript"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6359 fi
6360
6361 if test "$wxUSE_POSTSCRIPT" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363echo "${ECHO_T}yes" >&6
6364 else
6365 echo "$as_me:$LINENO: result: no" >&5
6366echo "${ECHO_T}no" >&6
6367 fi
6368
6369
6370
6371
6372
6373 enablestring=
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6375echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6376 no_cache=0
6377 # Check whether --enable-prologio or --disable-prologio was given.
6378if test "${enable_prologio+set}" = set; then
6379 enableval="$enable_prologio"
6380
6381 if test "$enableval" = yes; then
6382 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6383 else
6384 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6385 fi
6386
6387else
6388
6389 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6392 else
6393 no_cache=1
6394 fi
6395
6396 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6397
6398fi;
6399
6400 eval "$ac_cv_use_prologio"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_PROLOGIO" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407echo "${ECHO_T}yes" >&6
6408 else
6409 echo "$as_me:$LINENO: result: no" >&5
6410echo "${ECHO_T}no" >&6
6411 fi
6412
6413
6414 enablestring=
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6416echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6417 no_cache=0
6418 # Check whether --enable-resources or --disable-resources was given.
6419if test "${enable_resources+set}" = set; then
6420 enableval="$enable_resources"
6421
6422 if test "$enableval" = yes; then
6423 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6424 else
6425 ac_cv_use_resources='wxUSE_RESOURCES=no'
6426 fi
6427
6428else
6429
6430 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6433 else
6434 no_cache=1
6435 fi
6436
6437 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6438
6439fi;
6440
6441 eval "$ac_cv_use_resources"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6444 fi
6445
6446 if test "$wxUSE_RESOURCES" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448echo "${ECHO_T}yes" >&6
6449 else
6450 echo "$as_me:$LINENO: result: no" >&5
6451echo "${ECHO_T}no" >&6
6452 fi
6453
6454
6455
6456
6457 enablestring=
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6459echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6460 no_cache=0
6461 # Check whether --enable-clipboard or --disable-clipboard was given.
6462if test "${enable_clipboard+set}" = set; then
6463 enableval="$enable_clipboard"
6464
6465 if test "$enableval" = yes; then
6466 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6467 else
6468 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6469 fi
6470
6471else
6472
6473 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 else
6477 no_cache=1
6478 fi
6479
6480 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6481
6482fi;
6483
6484 eval "$ac_cv_use_clipboard"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6487 fi
6488
6489 if test "$wxUSE_CLIPBOARD" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491echo "${ECHO_T}yes" >&6
6492 else
6493 echo "$as_me:$LINENO: result: no" >&5
6494echo "${ECHO_T}no" >&6
6495 fi
6496
6497
6498 enablestring=
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6500echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6501 no_cache=0
6502 # Check whether --enable-dnd or --disable-dnd was given.
6503if test "${enable_dnd+set}" = set; then
6504 enableval="$enable_dnd"
6505
6506 if test "$enableval" = yes; then
6507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6508 else
6509 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6510 fi
6511
6512else
6513
6514 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6522
6523fi;
6524
6525 eval "$ac_cv_use_dnd"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532echo "${ECHO_T}yes" >&6
6533 else
6534 echo "$as_me:$LINENO: result: no" >&5
6535echo "${ECHO_T}no" >&6
6536 fi
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6541echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-metafile or --disable-metafile was given.
6544if test "${enable_metafile+set}" = set; then
6545 enableval="$enable_metafile"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6549 else
6550 ac_cv_use_metafile='wxUSE_METAFILE=no'
6551 fi
6552
6553else
6554
6555 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6563
6564fi;
6565
6566 eval "$ac_cv_use_metafile"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_METAFILE" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6585echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-controls or --disable-controls was given.
6588if test "${enable_controls+set}" = set; then
6589 enableval="$enable_controls"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6593 else
6594 ac_cv_use_controls='wxUSE_CONTROLS=no'
6595 fi
6596
6597else
6598
6599 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6607
6608fi;
6609
6610 eval "$ac_cv_use_controls"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_CONTROLS" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624if test "$wxUSE_CONTROLS" = "yes"; then
6625 DEFAULT_wxUSE_ACCEL=yes
6626 DEFAULT_wxUSE_BMPBUTTON=yes
6627 DEFAULT_wxUSE_BUTTON=yes
6628 DEFAULT_wxUSE_CALCTRL=no
6629 DEFAULT_wxUSE_CARET=yes
6630 DEFAULT_wxUSE_COMBOBOX=yes
6631 DEFAULT_wxUSE_CHECKBOX=yes
6632 DEFAULT_wxUSE_CHECKLISTBOX=yes
6633 DEFAULT_wxUSE_CHOICE=yes
6634 DEFAULT_wxUSE_GAUGE=yes
6635 DEFAULT_wxUSE_GRID=yes
6636 DEFAULT_wxUSE_IMAGLIST=yes
6637 DEFAULT_wxUSE_LISTBOOK=yes
6638 DEFAULT_wxUSE_LISTBOX=yes
6639 DEFAULT_wxUSE_LISTCTRL=yes
6640 DEFAULT_wxUSE_NOTEBOOK=yes
6641 DEFAULT_wxUSE_RADIOBOX=yes
6642 DEFAULT_wxUSE_RADIOBTN=yes
6643 DEFAULT_wxUSE_SASH=yes
6644 DEFAULT_wxUSE_SCROLLBAR=yes
6645 DEFAULT_wxUSE_SLIDER=yes
6646 DEFAULT_wxUSE_SPINBTN=yes
6647 DEFAULT_wxUSE_SPINCTRL=yes
6648 DEFAULT_wxUSE_SPLITTER=yes
6649 DEFAULT_wxUSE_STATBMP=yes
6650 DEFAULT_wxUSE_STATBOX=yes
6651 DEFAULT_wxUSE_STATLINE=yes
6652 DEFAULT_wxUSE_STATUSBAR=yes
6653 DEFAULT_wxUSE_TAB_DIALOG=yes
6654 DEFAULT_wxUSE_TOGGLEBTN=yes
6655 DEFAULT_wxUSE_TOOLBAR=yes
6656 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6657 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6658 DEFAULT_wxUSE_TOOLTIPS=yes
6659 DEFAULT_wxUSE_TREECTRL=yes
6660 DEFAULT_wxUSE_POPUPWIN=yes
6661 DEFAULT_wxUSE_TIPWINDOW=yes
6662elif test "$wxUSE_CONTROLS" = "no"; then
6663 DEFAULT_wxUSE_ACCEL=no
6664 DEFAULT_wxUSE_BMPBUTTON=no
6665 DEFAULT_wxUSE_BUTTON=no
6666 DEFAULT_wxUSE_CALCTRL=no
6667 DEFAULT_wxUSE_CARET=no
6668 DEFAULT_wxUSE_COMBOBOX=no
6669 DEFAULT_wxUSE_CHECKBOX=no
6670 DEFAULT_wxUSE_CHECKLISTBOX=no
6671 DEFAULT_wxUSE_CHOICE=no
6672 DEFAULT_wxUSE_GAUGE=no
6673 DEFAULT_wxUSE_GRID=no
6674 DEFAULT_wxUSE_IMAGLIST=no
6675 DEFAULT_wxUSE_LISTBOOK=no
6676 DEFAULT_wxUSE_LISTBOX=no
6677 DEFAULT_wxUSE_LISTCTRL=no
6678 DEFAULT_wxUSE_NOTEBOOK=no
6679 DEFAULT_wxUSE_RADIOBOX=no
6680 DEFAULT_wxUSE_RADIOBTN=no
6681 DEFAULT_wxUSE_SASH=no
6682 DEFAULT_wxUSE_SCROLLBAR=no
6683 DEFAULT_wxUSE_SLIDER=no
6684 DEFAULT_wxUSE_SPINBTN=no
6685 DEFAULT_wxUSE_SPINCTRL=no
6686 DEFAULT_wxUSE_SPLITTER=no
6687 DEFAULT_wxUSE_STATBMP=no
6688 DEFAULT_wxUSE_STATBOX=no
6689 DEFAULT_wxUSE_STATLINE=no
6690 DEFAULT_wxUSE_STATUSBAR=no
6691 DEFAULT_wxUSE_TAB_DIALOG=no
6692 DEFAULT_wxUSE_TOGGLEBTN=no
6693 DEFAULT_wxUSE_TOOLBAR=no
6694 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6695 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6696 DEFAULT_wxUSE_TOOLTIPS=no
6697 DEFAULT_wxUSE_TREECTRL=no
6698 DEFAULT_wxUSE_POPUPWIN=no
6699 DEFAULT_wxUSE_TIPWINDOW=no
6700fi
6701
6702## FIXME: This is a blatant hack
6703if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6704 wxUSE_PRINTING_ARCHITECTURE=no
6705 wxUSE_DRAG_AND_DROP=no
6706 # Generic notebook requires tab dialog
6707 DEFAULT_wxUSE_TABDIALOG=yes
6708 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6709 DEFAULT_wxUSE_SCROLLBAR=no
6710 DEFAULT_wxUSE_TOOLTIPS=no
6711 DEFAULT_wxUSE_DRAGIMAGE=no
6712fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6717echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-accel or --disable-accel was given.
6720if test "${enable_accel+set}" = set; then
6721 enableval="$enable_accel"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_accel='wxUSE_ACCEL=yes'
6725 else
6726 ac_cv_use_accel='wxUSE_ACCEL=no'
6727 fi
6728
6729else
6730
6731 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6739
6740fi;
6741
6742 eval "$ac_cv_use_accel"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_ACCEL" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6758echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-button or --disable-button was given.
6761if test "${enable_button+set}" = set; then
6762 enableval="$enable_button"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_button='wxUSE_BUTTON=yes'
6766 else
6767 ac_cv_use_button='wxUSE_BUTTON=no'
6768 fi
6769
6770else
6771
6772 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6780
6781fi;
6782
6783 eval "$ac_cv_use_button"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_BUTTON" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6799echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6802if test "${enable_bmpbutton+set}" = set; then
6803 enableval="$enable_bmpbutton"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6807 else
6808 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6809 fi
6810
6811else
6812
6813 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6821
6822fi;
6823
6824 eval "$ac_cv_use_bmpbutton"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_BMPBUTTON" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6840echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-calendar or --disable-calendar was given.
6843if test "${enable_calendar+set}" = set; then
6844 enableval="$enable_calendar"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6848 else
6849 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6850 fi
6851
6852else
6853
6854 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6862
6863fi;
6864
6865 eval "$ac_cv_use_calendar"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_CALCTRL" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6881echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-caret or --disable-caret was given.
6884if test "${enable_caret+set}" = set; then
6885 enableval="$enable_caret"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_caret='wxUSE_CARET=yes'
6889 else
6890 ac_cv_use_caret='wxUSE_CARET=no'
6891 fi
6892
6893else
6894
6895 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6903
6904fi;
6905
6906 eval "$ac_cv_use_caret"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_CARET" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6922echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-checkbox or --disable-checkbox was given.
6925if test "${enable_checkbox+set}" = set; then
6926 enableval="$enable_checkbox"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6930 else
6931 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6932 fi
6933
6934else
6935
6936 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6944
6945fi;
6946
6947 eval "$ac_cv_use_checkbox"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_CHECKBOX" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961 enablestring=
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6963echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6964 no_cache=0
6965 # Check whether --enable-checklst or --disable-checklst was given.
6966if test "${enable_checklst+set}" = set; then
6967 enableval="$enable_checklst"
6968
6969 if test "$enableval" = yes; then
6970 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6971 else
6972 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6973 fi
6974
6975else
6976
6977 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6985
6986fi;
6987
6988 eval "$ac_cv_use_checklst"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6991 fi
6992
6993 if test "$wxUSE_CHECKLST" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995echo "${ECHO_T}yes" >&6
6996 else
6997 echo "$as_me:$LINENO: result: no" >&5
6998echo "${ECHO_T}no" >&6
6999 fi
7000
7001
7002 enablestring=
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7004echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7005 no_cache=0
7006 # Check whether --enable-choice or --disable-choice was given.
7007if test "${enable_choice+set}" = set; then
7008 enableval="$enable_choice"
7009
7010 if test "$enableval" = yes; then
7011 ac_cv_use_choice='wxUSE_CHOICE=yes'
7012 else
7013 ac_cv_use_choice='wxUSE_CHOICE=no'
7014 fi
7015
7016else
7017
7018 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7021 else
7022 no_cache=1
7023 fi
7024
7025 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7026
7027fi;
7028
7029 eval "$ac_cv_use_choice"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7032 fi
7033
7034 if test "$wxUSE_CHOICE" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036echo "${ECHO_T}yes" >&6
7037 else
7038 echo "$as_me:$LINENO: result: no" >&5
7039echo "${ECHO_T}no" >&6
7040 fi
7041
7042
7043 enablestring=
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7045echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7046 no_cache=0
7047 # Check whether --enable-combobox or --disable-combobox was given.
7048if test "${enable_combobox+set}" = set; then
7049 enableval="$enable_combobox"
7050
7051 if test "$enableval" = yes; then
7052 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7053 else
7054 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7055 fi
7056
7057else
7058
7059 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7062 else
7063 no_cache=1
7064 fi
7065
7066 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7067
7068fi;
7069
7070 eval "$ac_cv_use_combobox"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7073 fi
7074
7075 if test "$wxUSE_COMBOBOX" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077echo "${ECHO_T}yes" >&6
7078 else
7079 echo "$as_me:$LINENO: result: no" >&5
7080echo "${ECHO_T}no" >&6
7081 fi
7082
7083
7084 enablestring=
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7086echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7087 no_cache=0
7088 # Check whether --enable-display or --disable-display was given.
7089if test "${enable_display+set}" = set; then
7090 enableval="$enable_display"
7091
7092 if test "$enableval" = yes; then
7093 ac_cv_use_display='wxUSE_DISPLAY=yes'
7094 else
7095 ac_cv_use_display='wxUSE_DISPLAY=no'
7096 fi
7097
7098else
7099
7100 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 else
7104 no_cache=1
7105 fi
7106
7107 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7108
7109fi;
7110
7111 eval "$ac_cv_use_display"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7114 fi
7115
7116 if test "$wxUSE_DISPLAY" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118echo "${ECHO_T}yes" >&6
7119 else
7120 echo "$as_me:$LINENO: result: no" >&5
7121echo "${ECHO_T}no" >&6
7122 fi
7123
7124
7125 enablestring=
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7127echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7128 no_cache=0
7129 # Check whether --enable-gauge or --disable-gauge was given.
7130if test "${enable_gauge+set}" = set; then
7131 enableval="$enable_gauge"
7132
7133 if test "$enableval" = yes; then
7134 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7135 else
7136 ac_cv_use_gauge='wxUSE_GAUGE=no'
7137 fi
7138
7139else
7140
7141 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7149
7150fi;
7151
7152 eval "$ac_cv_use_gauge"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7155 fi
7156
7157 if test "$wxUSE_GAUGE" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159echo "${ECHO_T}yes" >&6
7160 else
7161 echo "$as_me:$LINENO: result: no" >&5
7162echo "${ECHO_T}no" >&6
7163 fi
7164
7165
7166 enablestring=
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7168echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7169 no_cache=0
7170 # Check whether --enable-grid or --disable-grid was given.
7171if test "${enable_grid+set}" = set; then
7172 enableval="$enable_grid"
7173
7174 if test "$enableval" = yes; then
7175 ac_cv_use_grid='wxUSE_GRID=yes'
7176 else
7177 ac_cv_use_grid='wxUSE_GRID=no'
7178 fi
7179
7180else
7181
7182 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7185 else
7186 no_cache=1
7187 fi
7188
7189 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7190
7191fi;
7192
7193 eval "$ac_cv_use_grid"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7196 fi
7197
7198 if test "$wxUSE_GRID" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200echo "${ECHO_T}yes" >&6
7201 else
7202 echo "$as_me:$LINENO: result: no" >&5
7203echo "${ECHO_T}no" >&6
7204 fi
7205
7206
7207 enablestring=
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7209echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7210 no_cache=0
7211 # Check whether --enable-imaglist or --disable-imaglist was given.
7212if test "${enable_imaglist+set}" = set; then
7213 enableval="$enable_imaglist"
7214
7215 if test "$enableval" = yes; then
7216 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7217 else
7218 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7219 fi
7220
7221else
7222
7223 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7226 else
7227 no_cache=1
7228 fi
7229
7230 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7231
7232fi;
7233
7234 eval "$ac_cv_use_imaglist"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7237 fi
7238
7239 if test "$wxUSE_IMAGLIST" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241echo "${ECHO_T}yes" >&6
7242 else
7243 echo "$as_me:$LINENO: result: no" >&5
7244echo "${ECHO_T}no" >&6
7245 fi
7246
7247
7248 enablestring=
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7250echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7251 no_cache=0
7252 # Check whether --enable-listbook or --disable-listbook was given.
7253if test "${enable_listbook+set}" = set; then
7254 enableval="$enable_listbook"
7255
7256 if test "$enableval" = yes; then
7257 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7258 else
7259 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7260 fi
7261
7262else
7263
7264 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7272
7273fi;
7274
7275 eval "$ac_cv_use_listbook"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7278 fi
7279
7280 if test "$wxUSE_LISTBOOK" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282echo "${ECHO_T}yes" >&6
7283 else
7284 echo "$as_me:$LINENO: result: no" >&5
7285echo "${ECHO_T}no" >&6
7286 fi
7287
7288
7289 enablestring=
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7291echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7292 no_cache=0
7293 # Check whether --enable-listbox or --disable-listbox was given.
7294if test "${enable_listbox+set}" = set; then
7295 enableval="$enable_listbox"
7296
7297 if test "$enableval" = yes; then
7298 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7299 else
7300 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7301 fi
7302
7303else
7304
7305 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 else
7309 no_cache=1
7310 fi
7311
7312 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7313
7314fi;
7315
7316 eval "$ac_cv_use_listbox"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test "$wxUSE_LISTBOX" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323echo "${ECHO_T}yes" >&6
7324 else
7325 echo "$as_me:$LINENO: result: no" >&5
7326echo "${ECHO_T}no" >&6
7327 fi
7328
7329
7330 enablestring=
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7332echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7333 no_cache=0
7334 # Check whether --enable-listctrl or --disable-listctrl was given.
7335if test "${enable_listctrl+set}" = set; then
7336 enableval="$enable_listctrl"
7337
7338 if test "$enableval" = yes; then
7339 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7340 else
7341 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7342 fi
7343
7344else
7345
7346 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7349 else
7350 no_cache=1
7351 fi
7352
7353 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7354
7355fi;
7356
7357 eval "$ac_cv_use_listctrl"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7360 fi
7361
7362 if test "$wxUSE_LISTCTRL" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364echo "${ECHO_T}yes" >&6
7365 else
7366 echo "$as_me:$LINENO: result: no" >&5
7367echo "${ECHO_T}no" >&6
7368 fi
7369
7370
7371 enablestring=
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7373echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7374 no_cache=0
7375 # Check whether --enable-notebook or --disable-notebook was given.
7376if test "${enable_notebook+set}" = set; then
7377 enableval="$enable_notebook"
7378
7379 if test "$enableval" = yes; then
7380 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7381 else
7382 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7383 fi
7384
7385else
7386
7387 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7390 else
7391 no_cache=1
7392 fi
7393
7394 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7395
7396fi;
7397
7398 eval "$ac_cv_use_notebook"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7401 fi
7402
7403 if test "$wxUSE_NOTEBOOK" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405echo "${ECHO_T}yes" >&6
7406 else
7407 echo "$as_me:$LINENO: result: no" >&5
7408echo "${ECHO_T}no" >&6
7409 fi
7410
7411
7412 enablestring=
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7414echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7415 no_cache=0
7416 # Check whether --enable-radiobox or --disable-radiobox was given.
7417if test "${enable_radiobox+set}" = set; then
7418 enableval="$enable_radiobox"
7419
7420 if test "$enableval" = yes; then
7421 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7422 else
7423 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7424 fi
7425
7426else
7427
7428 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7431 else
7432 no_cache=1
7433 fi
7434
7435 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7436
7437fi;
7438
7439 eval "$ac_cv_use_radiobox"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7442 fi
7443
7444 if test "$wxUSE_RADIOBOX" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446echo "${ECHO_T}yes" >&6
7447 else
7448 echo "$as_me:$LINENO: result: no" >&5
7449echo "${ECHO_T}no" >&6
7450 fi
7451
7452
7453 enablestring=
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7455echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7456 no_cache=0
7457 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7458if test "${enable_radiobtn+set}" = set; then
7459 enableval="$enable_radiobtn"
7460
7461 if test "$enableval" = yes; then
7462 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7463 else
7464 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7465 fi
7466
7467else
7468
7469 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7472 else
7473 no_cache=1
7474 fi
7475
7476 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7477
7478fi;
7479
7480 eval "$ac_cv_use_radiobtn"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7483 fi
7484
7485 if test "$wxUSE_RADIOBTN" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487echo "${ECHO_T}yes" >&6
7488 else
7489 echo "$as_me:$LINENO: result: no" >&5
7490echo "${ECHO_T}no" >&6
7491 fi
7492
7493
7494 enablestring=
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7496echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7497 no_cache=0
7498 # Check whether --enable-sash or --disable-sash was given.
7499if test "${enable_sash+set}" = set; then
7500 enableval="$enable_sash"
7501
7502 if test "$enableval" = yes; then
7503 ac_cv_use_sash='wxUSE_SASH=yes'
7504 else
7505 ac_cv_use_sash='wxUSE_SASH=no'
7506 fi
7507
7508else
7509
7510 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7513 else
7514 no_cache=1
7515 fi
7516
7517 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7518
7519fi;
7520
7521 eval "$ac_cv_use_sash"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7524 fi
7525
7526 if test "$wxUSE_SASH" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528echo "${ECHO_T}yes" >&6
7529 else
7530 echo "$as_me:$LINENO: result: no" >&5
7531echo "${ECHO_T}no" >&6
7532 fi
7533
7534
7535 enablestring=
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7537echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7538 no_cache=0
7539 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7540if test "${enable_scrollbar+set}" = set; then
7541 enableval="$enable_scrollbar"
7542
7543 if test "$enableval" = yes; then
7544 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7545 else
7546 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7547 fi
7548
7549else
7550
7551 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7554 else
7555 no_cache=1
7556 fi
7557
7558 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7559
7560fi;
7561
7562 eval "$ac_cv_use_scrollbar"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7565 fi
7566
7567 if test "$wxUSE_SCROLLBAR" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569echo "${ECHO_T}yes" >&6
7570 else
7571 echo "$as_me:$LINENO: result: no" >&5
7572echo "${ECHO_T}no" >&6
7573 fi
7574
7575
7576 enablestring=
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7578echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7579 no_cache=0
7580 # Check whether --enable-slider or --disable-slider was given.
7581if test "${enable_slider+set}" = set; then
7582 enableval="$enable_slider"
7583
7584 if test "$enableval" = yes; then
7585 ac_cv_use_slider='wxUSE_SLIDER=yes'
7586 else
7587 ac_cv_use_slider='wxUSE_SLIDER=no'
7588 fi
7589
7590else
7591
7592 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7595 else
7596 no_cache=1
7597 fi
7598
7599 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7600
7601fi;
7602
7603 eval "$ac_cv_use_slider"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7606 fi
7607
7608 if test "$wxUSE_SLIDER" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610echo "${ECHO_T}yes" >&6
7611 else
7612 echo "$as_me:$LINENO: result: no" >&5
7613echo "${ECHO_T}no" >&6
7614 fi
7615
7616
7617 enablestring=
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7619echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7620 no_cache=0
7621 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7622if test "${enable_spinbtn+set}" = set; then
7623 enableval="$enable_spinbtn"
7624
7625 if test "$enableval" = yes; then
7626 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7627 else
7628 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7629 fi
7630
7631else
7632
7633 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7636 else
7637 no_cache=1
7638 fi
7639
7640 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7641
7642fi;
7643
7644 eval "$ac_cv_use_spinbtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7647 fi
7648
7649 if test "$wxUSE_SPINBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651echo "${ECHO_T}yes" >&6
7652 else
7653 echo "$as_me:$LINENO: result: no" >&5
7654echo "${ECHO_T}no" >&6
7655 fi
7656
7657
7658 enablestring=
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7660echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7661 no_cache=0
7662 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7663if test "${enable_spinctrl+set}" = set; then
7664 enableval="$enable_spinctrl"
7665
7666 if test "$enableval" = yes; then
7667 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7668 else
7669 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7670 fi
7671
7672else
7673
7674 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x ; then
7676 eval "DEFAULT_$LINE"
7677 else
7678 no_cache=1
7679 fi
7680
7681 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7682
7683fi;
7684
7685 eval "$ac_cv_use_spinctrl"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7688 fi
7689
7690 if test "$wxUSE_SPINCTRL" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692echo "${ECHO_T}yes" >&6
7693 else
7694 echo "$as_me:$LINENO: result: no" >&5
7695echo "${ECHO_T}no" >&6
7696 fi
7697
7698
7699 enablestring=
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7701echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7702 no_cache=0
7703 # Check whether --enable-splitter or --disable-splitter was given.
7704if test "${enable_splitter+set}" = set; then
7705 enableval="$enable_splitter"
7706
7707 if test "$enableval" = yes; then
7708 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7709 else
7710 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7711 fi
7712
7713else
7714
7715 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 else
7719 no_cache=1
7720 fi
7721
7722 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7723
7724fi;
7725
7726 eval "$ac_cv_use_splitter"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7729 fi
7730
7731 if test "$wxUSE_SPLITTER" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733echo "${ECHO_T}yes" >&6
7734 else
7735 echo "$as_me:$LINENO: result: no" >&5
7736echo "${ECHO_T}no" >&6
7737 fi
7738
7739
7740 enablestring=
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7742echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7743 no_cache=0
7744 # Check whether --enable-statbmp or --disable-statbmp was given.
7745if test "${enable_statbmp+set}" = set; then
7746 enableval="$enable_statbmp"
7747
7748 if test "$enableval" = yes; then
7749 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7750 else
7751 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7752 fi
7753
7754else
7755
7756 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7759 else
7760 no_cache=1
7761 fi
7762
7763 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7764
7765fi;
7766
7767 eval "$ac_cv_use_statbmp"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7770 fi
7771
7772 if test "$wxUSE_STATBMP" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774echo "${ECHO_T}yes" >&6
7775 else
7776 echo "$as_me:$LINENO: result: no" >&5
7777echo "${ECHO_T}no" >&6
7778 fi
7779
7780
7781 enablestring=
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7783echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7784 no_cache=0
7785 # Check whether --enable-statbox or --disable-statbox was given.
7786if test "${enable_statbox+set}" = set; then
7787 enableval="$enable_statbox"
7788
7789 if test "$enableval" = yes; then
7790 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7791 else
7792 ac_cv_use_statbox='wxUSE_STATBOX=no'
7793 fi
7794
7795else
7796
7797 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7800 else
7801 no_cache=1
7802 fi
7803
7804 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7805
7806fi;
7807
7808 eval "$ac_cv_use_statbox"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test "$wxUSE_STATBOX" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815echo "${ECHO_T}yes" >&6
7816 else
7817 echo "$as_me:$LINENO: result: no" >&5
7818echo "${ECHO_T}no" >&6
7819 fi
7820
7821
7822 enablestring=
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7824echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7825 no_cache=0
7826 # Check whether --enable-statline or --disable-statline was given.
7827if test "${enable_statline+set}" = set; then
7828 enableval="$enable_statline"
7829
7830 if test "$enableval" = yes; then
7831 ac_cv_use_statline='wxUSE_STATLINE=yes'
7832 else
7833 ac_cv_use_statline='wxUSE_STATLINE=no'
7834 fi
7835
7836else
7837
7838 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7841 else
7842 no_cache=1
7843 fi
7844
7845 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7846
7847fi;
7848
7849 eval "$ac_cv_use_statline"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7852 fi
7853
7854 if test "$wxUSE_STATLINE" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856echo "${ECHO_T}yes" >&6
7857 else
7858 echo "$as_me:$LINENO: result: no" >&5
7859echo "${ECHO_T}no" >&6
7860 fi
7861
7862
7863 enablestring=
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7865echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7866 no_cache=0
7867 # Check whether --enable-stattext or --disable-stattext was given.
7868if test "${enable_stattext+set}" = set; then
7869 enableval="$enable_stattext"
7870
7871 if test "$enableval" = yes; then
7872 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7873 else
7874 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7875 fi
7876
7877else
7878
7879 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7887
7888fi;
7889
7890 eval "$ac_cv_use_stattext"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test "$wxUSE_STATTEXT" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897echo "${ECHO_T}yes" >&6
7898 else
7899 echo "$as_me:$LINENO: result: no" >&5
7900echo "${ECHO_T}no" >&6
7901 fi
7902
7903
7904 enablestring=
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7906echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7907 no_cache=0
7908 # Check whether --enable-statusbar or --disable-statusbar was given.
7909if test "${enable_statusbar+set}" = set; then
7910 enableval="$enable_statusbar"
7911
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7914 else
7915 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7916 fi
7917
7918else
7919
7920 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7928
7929fi;
7930
7931 eval "$ac_cv_use_statusbar"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7934 fi
7935
7936 if test "$wxUSE_STATUSBAR" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938echo "${ECHO_T}yes" >&6
7939 else
7940 echo "$as_me:$LINENO: result: no" >&5
7941echo "${ECHO_T}no" >&6
7942 fi
7943
7944
7945 enablestring=
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7947echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7948 no_cache=0
7949 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7950if test "${enable_tabdialog+set}" = set; then
7951 enableval="$enable_tabdialog"
7952
7953 if test "$enableval" = yes; then
7954 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7955 else
7956 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7957 fi
7958
7959else
7960
7961 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7969
7970fi;
7971
7972 eval "$ac_cv_use_tabdialog"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7975 fi
7976
7977 if test "$wxUSE_TABDIALOG" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979echo "${ECHO_T}yes" >&6
7980 else
7981 echo "$as_me:$LINENO: result: no" >&5
7982echo "${ECHO_T}no" >&6
7983 fi
7984
7985
7986 enablestring=
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7988echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7989 no_cache=0
7990 # Check whether --enable-textctrl or --disable-textctrl was given.
7991if test "${enable_textctrl+set}" = set; then
7992 enableval="$enable_textctrl"
7993
7994 if test "$enableval" = yes; then
7995 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7996 else
7997 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7998 fi
7999
8000else
8001
8002 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8010
8011fi;
8012
8013 eval "$ac_cv_use_textctrl"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8016 fi
8017
8018 if test "$wxUSE_TEXTCTRL" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020echo "${ECHO_T}yes" >&6
8021 else
8022 echo "$as_me:$LINENO: result: no" >&5
8023echo "${ECHO_T}no" >&6
8024 fi
8025
8026
8027 enablestring=
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8029echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8030 no_cache=0
8031 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8032if test "${enable_togglebtn+set}" = set; then
8033 enableval="$enable_togglebtn"
8034
8035 if test "$enableval" = yes; then
8036 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8037 else
8038 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8039 fi
8040
8041else
8042
8043 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8051
8052fi;
8053
8054 eval "$ac_cv_use_togglebtn"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test "$wxUSE_TOGGLEBTN" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061echo "${ECHO_T}yes" >&6
8062 else
8063 echo "$as_me:$LINENO: result: no" >&5
8064echo "${ECHO_T}no" >&6
8065 fi
8066
8067
8068 enablestring=
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8070echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8071 no_cache=0
8072 # Check whether --enable-toolbar or --disable-toolbar was given.
8073if test "${enable_toolbar+set}" = set; then
8074 enableval="$enable_toolbar"
8075
8076 if test "$enableval" = yes; then
8077 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8078 else
8079 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8080 fi
8081
8082else
8083
8084 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8092
8093fi;
8094
8095 eval "$ac_cv_use_toolbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8098 fi
8099
8100 if test "$wxUSE_TOOLBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102echo "${ECHO_T}yes" >&6
8103 else
8104 echo "$as_me:$LINENO: result: no" >&5
8105echo "${ECHO_T}no" >&6
8106 fi
8107
8108
8109 enablestring=
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8111echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8112 no_cache=0
8113 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8114if test "${enable_tbarnative+set}" = set; then
8115 enableval="$enable_tbarnative"
8116
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8119 else
8120 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8121 fi
8122
8123else
8124
8125 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8133
8134fi;
8135
8136 eval "$ac_cv_use_tbarnative"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8139 fi
8140
8141 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143echo "${ECHO_T}yes" >&6
8144 else
8145 echo "$as_me:$LINENO: result: no" >&5
8146echo "${ECHO_T}no" >&6
8147 fi
8148
8149
8150 enablestring=
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8152echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8153 no_cache=0
8154 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8155if test "${enable_tbarsmpl+set}" = set; then
8156 enableval="$enable_tbarsmpl"
8157
8158 if test "$enableval" = yes; then
8159 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8160 else
8161 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8162 fi
8163
8164else
8165
8166 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8174
8175fi;
8176
8177 eval "$ac_cv_use_tbarsmpl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184echo "${ECHO_T}yes" >&6
8185 else
8186 echo "$as_me:$LINENO: result: no" >&5
8187echo "${ECHO_T}no" >&6
8188 fi
8189
8190
8191 enablestring=
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8193echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8194 no_cache=0
8195 # Check whether --enable-treectrl or --disable-treectrl was given.
8196if test "${enable_treectrl+set}" = set; then
8197 enableval="$enable_treectrl"
8198
8199 if test "$enableval" = yes; then
8200 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8201 else
8202 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8203 fi
8204
8205else
8206
8207 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8215
8216fi;
8217
8218 eval "$ac_cv_use_treectrl"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test "$wxUSE_TREECTRL" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225echo "${ECHO_T}yes" >&6
8226 else
8227 echo "$as_me:$LINENO: result: no" >&5
8228echo "${ECHO_T}no" >&6
8229 fi
8230
8231
8232 enablestring=
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8234echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8235 no_cache=0
8236 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8237if test "${enable_tipwindow+set}" = set; then
8238 enableval="$enable_tipwindow"
8239
8240 if test "$enableval" = yes; then
8241 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8242 else
8243 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8244 fi
8245
8246else
8247
8248 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8256
8257fi;
8258
8259 eval "$ac_cv_use_tipwindow"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8262 fi
8263
8264 if test "$wxUSE_TIPWINDOW" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266echo "${ECHO_T}yes" >&6
8267 else
8268 echo "$as_me:$LINENO: result: no" >&5
8269echo "${ECHO_T}no" >&6
8270 fi
8271
8272
8273 enablestring=
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8275echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8276 no_cache=0
8277 # Check whether --enable-popupwin or --disable-popupwin was given.
8278if test "${enable_popupwin+set}" = set; then
8279 enableval="$enable_popupwin"
8280
8281 if test "$enableval" = yes; then
8282 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8283 else
8284 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8285 fi
8286
8287else
8288
8289 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8297
8298fi;
8299
8300 eval "$ac_cv_use_popupwin"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8303 fi
8304
8305 if test "$wxUSE_POPUPWIN" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307echo "${ECHO_T}yes" >&6
8308 else
8309 echo "$as_me:$LINENO: result: no" >&5
8310echo "${ECHO_T}no" >&6
8311 fi
8312
8313
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8318echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-commondlg or --disable-commondlg was given.
8321if test "${enable_commondlg+set}" = set; then
8322 enableval="$enable_commondlg"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8326 else
8327 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8328 fi
8329
8330else
8331
8332 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8340
8341fi;
8342
8343 eval "$ac_cv_use_commondlg"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_COMMONDLGS" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8359echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8362if test "${enable_choicedlg+set}" = set; then
8363 enableval="$enable_choicedlg"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8367 else
8368 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8369 fi
8370
8371else
8372
8373 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8381
8382fi;
8383
8384 eval "$ac_cv_use_choicedlg"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHOICEDLG" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8400echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-coldlg or --disable-coldlg was given.
8403if test "${enable_coldlg+set}" = set; then
8404 enableval="$enable_coldlg"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8408 else
8409 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8410 fi
8411
8412else
8413
8414 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8422
8423fi;
8424
8425 eval "$ac_cv_use_coldlg"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_COLOURDLG" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8441echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-filedlg or --disable-filedlg was given.
8444if test "${enable_filedlg+set}" = set; then
8445 enableval="$enable_filedlg"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8449 else
8450 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8451 fi
8452
8453else
8454
8455 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8463
8464fi;
8465
8466 eval "$ac_cv_use_filedlg"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_FILEDLG" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8482echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-finddlg or --disable-finddlg was given.
8485if test "${enable_finddlg+set}" = set; then
8486 enableval="$enable_finddlg"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8490 else
8491 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8492 fi
8493
8494else
8495
8496 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8504
8505fi;
8506
8507 eval "$ac_cv_use_finddlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_FINDREPLDLG" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8523echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8526if test "${enable_fontdlg+set}" = set; then
8527 enableval="$enable_fontdlg"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8531 else
8532 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8533 fi
8534
8535else
8536
8537 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8545
8546fi;
8547
8548 eval "$ac_cv_use_fontdlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_FONTDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8564echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8567if test "${enable_dirdlg+set}" = set; then
8568 enableval="$enable_dirdlg"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8572 else
8573 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8574 fi
8575
8576else
8577
8578 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8586
8587fi;
8588
8589 eval "$ac_cv_use_dirdlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_DIRDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8605echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8608if test "${enable_msgdlg+set}" = set; then
8609 enableval="$enable_msgdlg"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8613 else
8614 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8615 fi
8616
8617else
8618
8619 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8627
8628fi;
8629
8630 eval "$ac_cv_use_msgdlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_MSGDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8646echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8649if test "${enable_numberdlg+set}" = set; then
8650 enableval="$enable_numberdlg"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8654 else
8655 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8656 fi
8657
8658else
8659
8660 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8668
8669fi;
8670
8671 eval "$ac_cv_use_numberdlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_NUMBERDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8687echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-splash or --disable-splash was given.
8690if test "${enable_splash+set}" = set; then
8691 enableval="$enable_splash"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_splash='wxUSE_SPLASH=yes'
8695 else
8696 ac_cv_use_splash='wxUSE_SPLASH=no'
8697 fi
8698
8699else
8700
8701 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8709
8710fi;
8711
8712 eval "$ac_cv_use_splash"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_SPLASH" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8728echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-textdlg or --disable-textdlg was given.
8731if test "${enable_textdlg+set}" = set; then
8732 enableval="$enable_textdlg"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8736 else
8737 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8738 fi
8739
8740else
8741
8742 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8750
8751fi;
8752
8753 eval "$ac_cv_use_textdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_TEXTDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8769echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8772if test "${enable_tipdlg+set}" = set; then
8773 enableval="$enable_tipdlg"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8777 else
8778 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8779 fi
8780
8781else
8782
8783 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8791
8792fi;
8793
8794 eval "$ac_cv_use_tipdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_STARTUP_TIPS" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8810echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8813if test "${enable_progressdlg+set}" = set; then
8814 enableval="$enable_progressdlg"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8818 else
8819 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8820 fi
8821
8822else
8823
8824 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8832
8833fi;
8834
8835 eval "$ac_cv_use_progressdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_PROGRESSDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8851echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8854if test "${enable_wizarddlg+set}" = set; then
8855 enableval="$enable_wizarddlg"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8859 else
8860 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8861 fi
8862
8863else
8864
8865 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8873
8874fi;
8875
8876 eval "$ac_cv_use_wizarddlg"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_WIZARDDLG" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890
8891
8892 enablestring=
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8894echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8895 no_cache=0
8896 # Check whether --enable-menus or --disable-menus was given.
8897if test "${enable_menus+set}" = set; then
8898 enableval="$enable_menus"
8899
8900 if test "$enableval" = yes; then
8901 ac_cv_use_menus='wxUSE_MENUS=yes'
8902 else
8903 ac_cv_use_menus='wxUSE_MENUS=no'
8904 fi
8905
8906else
8907
8908 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8911 else
8912 no_cache=1
8913 fi
8914
8915 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8916
8917fi;
8918
8919 eval "$ac_cv_use_menus"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8922 fi
8923
8924 if test "$wxUSE_MENUS" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926echo "${ECHO_T}yes" >&6
8927 else
8928 echo "$as_me:$LINENO: result: no" >&5
8929echo "${ECHO_T}no" >&6
8930 fi
8931
8932
8933 enablestring=
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8935echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8936 no_cache=0
8937 # Check whether --enable-miniframe or --disable-miniframe was given.
8938if test "${enable_miniframe+set}" = set; then
8939 enableval="$enable_miniframe"
8940
8941 if test "$enableval" = yes; then
8942 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8943 else
8944 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8945 fi
8946
8947else
8948
8949 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8952 else
8953 no_cache=1
8954 fi
8955
8956 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8957
8958fi;
8959
8960 eval "$ac_cv_use_miniframe"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test "$wxUSE_MINIFRAME" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967echo "${ECHO_T}yes" >&6
8968 else
8969 echo "$as_me:$LINENO: result: no" >&5
8970echo "${ECHO_T}no" >&6
8971 fi
8972
8973
8974 enablestring=
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8976echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8977 no_cache=0
8978 # Check whether --enable-tooltips or --disable-tooltips was given.
8979if test "${enable_tooltips+set}" = set; then
8980 enableval="$enable_tooltips"
8981
8982 if test "$enableval" = yes; then
8983 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8984 else
8985 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8986 fi
8987
8988else
8989
8990 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8993 else
8994 no_cache=1
8995 fi
8996
8997 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8998
8999fi;
9000
9001 eval "$ac_cv_use_tooltips"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9004 fi
9005
9006 if test "$wxUSE_TOOLTIPS" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008echo "${ECHO_T}yes" >&6
9009 else
9010 echo "$as_me:$LINENO: result: no" >&5
9011echo "${ECHO_T}no" >&6
9012 fi
9013
9014
9015 enablestring=
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9017echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9018 no_cache=0
9019 # Check whether --enable-splines or --disable-splines was given.
9020if test "${enable_splines+set}" = set; then
9021 enableval="$enable_splines"
9022
9023 if test "$enableval" = yes; then
9024 ac_cv_use_splines='wxUSE_SPLINES=yes'
9025 else
9026 ac_cv_use_splines='wxUSE_SPLINES=no'
9027 fi
9028
9029else
9030
9031 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9034 else
9035 no_cache=1
9036 fi
9037
9038 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9039
9040fi;
9041
9042 eval "$ac_cv_use_splines"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9045 fi
9046
9047 if test "$wxUSE_SPLINES" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049echo "${ECHO_T}yes" >&6
9050 else
9051 echo "$as_me:$LINENO: result: no" >&5
9052echo "${ECHO_T}no" >&6
9053 fi
9054
9055
9056 enablestring=
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9058echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9059 no_cache=0
9060 # Check whether --enable-validators or --disable-validators was given.
9061if test "${enable_validators+set}" = set; then
9062 enableval="$enable_validators"
9063
9064 if test "$enableval" = yes; then
9065 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9066 else
9067 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9068 fi
9069
9070else
9071
9072 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9075 else
9076 no_cache=1
9077 fi
9078
9079 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9080
9081fi;
9082
9083 eval "$ac_cv_use_validators"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9086 fi
9087
9088 if test "$wxUSE_VALIDATORS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090echo "${ECHO_T}yes" >&6
9091 else
9092 echo "$as_me:$LINENO: result: no" >&5
9093echo "${ECHO_T}no" >&6
9094 fi
9095
9096
9097 enablestring=
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9099echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9100 no_cache=0
9101 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9102if test "${enable_busyinfo+set}" = set; then
9103 enableval="$enable_busyinfo"
9104
9105 if test "$enableval" = yes; then
9106 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9107 else
9108 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9109 fi
9110
9111else
9112
9113 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9116 else
9117 no_cache=1
9118 fi
9119
9120 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9121
9122fi;
9123
9124 eval "$ac_cv_use_busyinfo"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9127 fi
9128
9129 if test "$wxUSE_BUSYINFO" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131echo "${ECHO_T}yes" >&6
9132 else
9133 echo "$as_me:$LINENO: result: no" >&5
9134echo "${ECHO_T}no" >&6
9135 fi
9136
9137
9138 enablestring=
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9140echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9141 no_cache=0
9142 # Check whether --enable-joystick or --disable-joystick was given.
9143if test "${enable_joystick+set}" = set; then
9144 enableval="$enable_joystick"
9145
9146 if test "$enableval" = yes; then
9147 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9148 else
9149 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9150 fi
9151
9152else
9153
9154 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9157 else
9158 no_cache=1
9159 fi
9160
9161 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9162
9163fi;
9164
9165 eval "$ac_cv_use_joystick"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test "$wxUSE_JOYSTICK" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172echo "${ECHO_T}yes" >&6
9173 else
9174 echo "$as_me:$LINENO: result: no" >&5
9175echo "${ECHO_T}no" >&6
9176 fi
9177
9178
9179 enablestring=
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9181echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9182 no_cache=0
9183 # Check whether --enable-metafile or --disable-metafile was given.
9184if test "${enable_metafile+set}" = set; then
9185 enableval="$enable_metafile"
9186
9187 if test "$enableval" = yes; then
9188 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9189 else
9190 ac_cv_use_metafile='wxUSE_METAFILE=no'
9191 fi
9192
9193else
9194
9195 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9198 else
9199 no_cache=1
9200 fi
9201
9202 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9203
9204fi;
9205
9206 eval "$ac_cv_use_metafile"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9209 fi
9210
9211 if test "$wxUSE_METAFILE" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213echo "${ECHO_T}yes" >&6
9214 else
9215 echo "$as_me:$LINENO: result: no" >&5
9216echo "${ECHO_T}no" >&6
9217 fi
9218
9219
9220 enablestring=
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9222echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9223 no_cache=0
9224 # Check whether --enable-dragimage or --disable-dragimage was given.
9225if test "${enable_dragimage+set}" = set; then
9226 enableval="$enable_dragimage"
9227
9228 if test "$enableval" = yes; then
9229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9230 else
9231 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9232 fi
9233
9234else
9235
9236 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9239 else
9240 no_cache=1
9241 fi
9242
9243 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9244
9245fi;
9246
9247 eval "$ac_cv_use_dragimage"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9250 fi
9251
9252 if test "$wxUSE_DRAGIMAGE" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254echo "${ECHO_T}yes" >&6
9255 else
9256 echo "$as_me:$LINENO: result: no" >&5
9257echo "${ECHO_T}no" >&6
9258 fi
9259
9260
9261 enablestring=
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9263echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9264 no_cache=0
9265 # Check whether --enable-accessibility or --disable-accessibility was given.
9266if test "${enable_accessibility+set}" = set; then
9267 enableval="$enable_accessibility"
9268
9269 if test "$enableval" = yes; then
9270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9271 else
9272 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9273 fi
9274
9275else
9276
9277 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9280 else
9281 no_cache=1
9282 fi
9283
9284 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9285
9286fi;
9287
9288 eval "$ac_cv_use_accessibility"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9291 fi
9292
9293 if test "$wxUSE_ACCESSIBILITY" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295echo "${ECHO_T}yes" >&6
9296 else
9297 echo "$as_me:$LINENO: result: no" >&5
9298echo "${ECHO_T}no" >&6
9299 fi
9300
9301
9302
9303
9304 enablestring=
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9306echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9307 no_cache=0
9308 # Check whether --enable-palette or --disable-palette was given.
9309if test "${enable_palette+set}" = set; then
9310 enableval="$enable_palette"
9311
9312 if test "$enableval" = yes; then
9313 ac_cv_use_palette='wxUSE_PALETTE=yes'
9314 else
9315 ac_cv_use_palette='wxUSE_PALETTE=no'
9316 fi
9317
9318else
9319
9320 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x ; then
9322 eval "DEFAULT_$LINE"
9323 else
9324 no_cache=1
9325 fi
9326
9327 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9328
9329fi;
9330
9331 eval "$ac_cv_use_palette"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9334 fi
9335
9336 if test "$wxUSE_PALETTE" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338echo "${ECHO_T}yes" >&6
9339 else
9340 echo "$as_me:$LINENO: result: no" >&5
9341echo "${ECHO_T}no" >&6
9342 fi
9343
9344
9345 enablestring=
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9347echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9348 no_cache=0
9349 # Check whether --enable-image or --disable-image was given.
9350if test "${enable_image+set}" = set; then
9351 enableval="$enable_image"
9352
9353 if test "$enableval" = yes; then
9354 ac_cv_use_image='wxUSE_IMAGE=yes'
9355 else
9356 ac_cv_use_image='wxUSE_IMAGE=no'
9357 fi
9358
9359else
9360
9361 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x ; then
9363 eval "DEFAULT_$LINE"
9364 else
9365 no_cache=1
9366 fi
9367
9368 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9369
9370fi;
9371
9372 eval "$ac_cv_use_image"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9375 fi
9376
9377 if test "$wxUSE_IMAGE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379echo "${ECHO_T}yes" >&6
9380 else
9381 echo "$as_me:$LINENO: result: no" >&5
9382echo "${ECHO_T}no" >&6
9383 fi
9384
9385
9386 enablestring=
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9388echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9389 no_cache=0
9390 # Check whether --enable-gif or --disable-gif was given.
9391if test "${enable_gif+set}" = set; then
9392 enableval="$enable_gif"
9393
9394 if test "$enableval" = yes; then
9395 ac_cv_use_gif='wxUSE_GIF=yes'
9396 else
9397 ac_cv_use_gif='wxUSE_GIF=no'
9398 fi
9399
9400else
9401
9402 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x ; then
9404 eval "DEFAULT_$LINE"
9405 else
9406 no_cache=1
9407 fi
9408
9409 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9410
9411fi;
9412
9413 eval "$ac_cv_use_gif"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9416 fi
9417
9418 if test "$wxUSE_GIF" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420echo "${ECHO_T}yes" >&6
9421 else
9422 echo "$as_me:$LINENO: result: no" >&5
9423echo "${ECHO_T}no" >&6
9424 fi
9425
9426
9427 enablestring=
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9429echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9430 no_cache=0
9431 # Check whether --enable-pcx or --disable-pcx was given.
9432if test "${enable_pcx+set}" = set; then
9433 enableval="$enable_pcx"
9434
9435 if test "$enableval" = yes; then
9436 ac_cv_use_pcx='wxUSE_PCX=yes'
9437 else
9438 ac_cv_use_pcx='wxUSE_PCX=no'
9439 fi
9440
9441else
9442
9443 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x ; then
9445 eval "DEFAULT_$LINE"
9446 else
9447 no_cache=1
9448 fi
9449
9450 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9451
9452fi;
9453
9454 eval "$ac_cv_use_pcx"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9457 fi
9458
9459 if test "$wxUSE_PCX" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461echo "${ECHO_T}yes" >&6
9462 else
9463 echo "$as_me:$LINENO: result: no" >&5
9464echo "${ECHO_T}no" >&6
9465 fi
9466
9467
9468 enablestring=
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9470echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9471 no_cache=0
9472 # Check whether --enable-iff or --disable-iff was given.
9473if test "${enable_iff+set}" = set; then
9474 enableval="$enable_iff"
9475
9476 if test "$enableval" = yes; then
9477 ac_cv_use_iff='wxUSE_IFF=yes'
9478 else
9479 ac_cv_use_iff='wxUSE_IFF=no'
9480 fi
9481
9482else
9483
9484 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x ; then
9486 eval "DEFAULT_$LINE"
9487 else
9488 no_cache=1
9489 fi
9490
9491 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9492
9493fi;
9494
9495 eval "$ac_cv_use_iff"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9498 fi
9499
9500 if test "$wxUSE_IFF" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502echo "${ECHO_T}yes" >&6
9503 else
9504 echo "$as_me:$LINENO: result: no" >&5
9505echo "${ECHO_T}no" >&6
9506 fi
9507
9508
9509 enablestring=
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9511echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9512 no_cache=0
9513 # Check whether --enable-pnm or --disable-pnm was given.
9514if test "${enable_pnm+set}" = set; then
9515 enableval="$enable_pnm"
9516
9517 if test "$enableval" = yes; then
9518 ac_cv_use_pnm='wxUSE_PNM=yes'
9519 else
9520 ac_cv_use_pnm='wxUSE_PNM=no'
9521 fi
9522
9523else
9524
9525 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x ; then
9527 eval "DEFAULT_$LINE"
9528 else
9529 no_cache=1
9530 fi
9531
9532 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9533
9534fi;
9535
9536 eval "$ac_cv_use_pnm"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9539 fi
9540
9541 if test "$wxUSE_PNM" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543echo "${ECHO_T}yes" >&6
9544 else
9545 echo "$as_me:$LINENO: result: no" >&5
9546echo "${ECHO_T}no" >&6
9547 fi
9548
9549
9550 enablestring=
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9552echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9553 no_cache=0
9554 # Check whether --enable-xpm or --disable-xpm was given.
9555if test "${enable_xpm+set}" = set; then
9556 enableval="$enable_xpm"
9557
9558 if test "$enableval" = yes; then
9559 ac_cv_use_xpm='wxUSE_XPM=yes'
9560 else
9561 ac_cv_use_xpm='wxUSE_XPM=no'
9562 fi
9563
9564else
9565
9566 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x ; then
9568 eval "DEFAULT_$LINE"
9569 else
9570 no_cache=1
9571 fi
9572
9573 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9574
9575fi;
9576
9577 eval "$ac_cv_use_xpm"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9580 fi
9581
9582 if test "$wxUSE_XPM" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584echo "${ECHO_T}yes" >&6
9585 else
9586 echo "$as_me:$LINENO: result: no" >&5
9587echo "${ECHO_T}no" >&6
9588 fi
9589
9590
9591 enablestring=
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9593echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9594 no_cache=0
9595 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9596if test "${enable_ico_cur+set}" = set; then
9597 enableval="$enable_ico_cur"
9598
9599 if test "$enableval" = yes; then
9600 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9601 else
9602 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9603 fi
9604
9605else
9606
9607 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x ; then
9609 eval "DEFAULT_$LINE"
9610 else
9611 no_cache=1
9612 fi
9613
9614 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9615
9616fi;
9617
9618 eval "$ac_cv_use_ico_cur"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9621 fi
9622
9623 if test "$wxUSE_ICO_CUR" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625echo "${ECHO_T}yes" >&6
9626 else
9627 echo "$as_me:$LINENO: result: no" >&5
9628echo "${ECHO_T}no" >&6
9629 fi
9630
9631
9632fi
9633
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9638echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-official_build or --disable-official_build was given.
9641if test "${enable_official_build+set}" = set; then
9642 enableval="$enable_official_build"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9646 else
9647 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9648 fi
9649
9650else
9651
9652 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9660
9661fi;
9662
9663 eval "$ac_cv_use_official_build"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673echo "${ECHO_T}no" >&6
9674 fi
9675
9676# Check whether --enable-vendor or --disable-vendor was given.
9677if test "${enable_vendor+set}" = set; then
9678 enableval="$enable_vendor"
9679 VENDOR="$enableval"
9680fi;
9681if test "x$VENDOR" = "x"; then
9682 VENDOR="custom"
9683fi
9684
9685case "${host}" in
9686 *-pc-os2_emx | *-pc-os2-emx )
9687 PATH_IFS=';'
9688 ;;
9689 *)
9690 PATH_IFS=':'
9691 ;;
9692esac
9693
9694
9695
9696 echo "saving argument cache $wx_arg_cache_file"
9697 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9698
9699
9700
9701echo "$as_me:$LINENO: checking for toolkit" >&5
9702echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9703
9704# In Wine, we need to default to MSW, not GTK or MOTIF
9705if test "$wxUSE_WINE" = "yes"; then
9706 DEFAULT_DEFAULT_wxUSE_GTK=0
9707 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9708 DEFAULT_DEFAULT_wxUSE_MSW=1
9709fi
9710
9711if test "$wxUSE_GUI" = "yes"; then
9712
9713 if test "$USE_BEOS" = 1; then
9714 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9715echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9716 { (exit 1); exit 1; }; }
9717 fi
9718
9719 if test "$TOOLKIT_GIVEN" = 1; then
9720 for toolkit in `echo $ALL_TOOLKITS`; do
9721 var=wxUSE_$toolkit
9722 eval "value=\$${var}"
9723 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9724 done
9725 else
9726 for toolkit in `echo $ALL_TOOLKITS`; do
9727 if test "$has_toolkit_in_cache" != 1; then
9728 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9729 else
9730 var=DEFAULT_wxUSE_$toolkit
9731 fi
9732 eval "wxUSE_$toolkit=\$${var}"
9733 done
9734 fi
9735
9736 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9737 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9738 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9739
9740 case "${host}" in
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9743 esac
9744
9745 case "$NUM_TOOLKITS" in
9746 1)
9747 ;;
9748 0)
9749 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9750echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9751 { (exit 1); exit 1; }; }
9752 ;;
9753 *)
9754 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9755echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9756 { (exit 1); exit 1; }; }
9757 esac
9758
9759 for toolkit in `echo $ALL_TOOLKITS`; do
9760 var=wxUSE_$toolkit
9761 eval "value=\$${var}"
9762 if test "x$value" != x; then
9763 cache_var=CACHE_$toolkit
9764 eval "cache=\$${cache_var}"
9765 if test "$cache" = 1; then
9766 echo "$var=$value" >> ${wx_arg_cache_file}
9767 fi
9768 if test "$value" = 1; then
9769 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9770 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9771echo "${ECHO_T}$toolkit_echo" >&6
9772 fi
9773 fi
9774 done
9775else
9776 if test "x$host_alias" != "x"; then
9777 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9778echo "${ECHO_T}base ($host_alias hosted) only" >&6
9779 else
9780 echo "$as_me:$LINENO: result: base only" >&5
9781echo "${ECHO_T}base only" >&6
9782 fi
9783fi
9784
9785wants_win32=0
9786doesnt_want_win32=0
9787case "${host}" in
9788 *-*-cygwin*)
9789 if test "$wxUSE_MSW" = 1 ; then
9790 wants_win32=1
9791 else
9792 doesnt_want_win32=1
9793 fi
9794 ;;
9795 *-*-mingw*)
9796 wants_win32=1
9797 ;;
9798esac
9799
9800if test "$wxUSE_WINE" = "yes"; then
9801 wants_win32=1
9802 CC=winegcc
9803 CXX=wineg++
9804 RESCOMP=wrc
9805fi
9806
9807if test "$wants_win32" = 1 ; then
9808 USE_UNIX=0
9809 USE_WIN32=1
9810 cat >>confdefs.h <<\_ACEOF
9811#define __WIN32__ 1
9812_ACEOF
9813
9814 cat >>confdefs.h <<\_ACEOF
9815#define __WIN95__ 1
9816_ACEOF
9817
9818 cat >>confdefs.h <<\_ACEOF
9819#define __WINDOWS__ 1
9820_ACEOF
9821
9822 cat >>confdefs.h <<\_ACEOF
9823#define __GNUWIN32__ 1
9824_ACEOF
9825
9826 cat >>confdefs.h <<\_ACEOF
9827#define STRICT 1
9828_ACEOF
9829
9830 cat >>confdefs.h <<\_ACEOF
9831#define WINVER 0x0400
9832_ACEOF
9833
9834fi
9835if test "$doesnt_want_win32" = 1 ; then
9836 USE_UNIX=1
9837 USE_WIN32=0
9838fi
9839
9840if test "$USE_UNIX" = 1 ; then
9841 wxUSE_UNIX=yes
9842 cat >>confdefs.h <<\_ACEOF
9843#define __UNIX__ 1
9844_ACEOF
9845
9846fi
9847
9848
9849cat >confcache <<\_ACEOF
9850# This file is a shell script that caches the results of configure
9851# tests run on this system so they can be shared between configure
9852# scripts and configure runs, see configure's option --config-cache.
9853# It is not useful on other systems. If it contains results you don't
9854# want to keep, you may remove or edit it.
9855#
9856# config.status only pays attention to the cache file if you give it
9857# the --recheck option to rerun configure.
9858#
9859# `ac_cv_env_foo' variables (set or unset) will be overridden when
9860# loading this file, other *unset* `ac_cv_foo' will be assigned the
9861# following values.
9862
9863_ACEOF
9864
9865# The following way of writing the cache mishandles newlines in values,
9866# but we know of no workaround that is simple, portable, and efficient.
9867# So, don't put newlines in cache variables' values.
9868# Ultrix sh set writes to stderr and can't be redirected directly,
9869# and sets the high bit in the cache file unless we assign to the vars.
9870{
9871 (set) 2>&1 |
9872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9873 *ac_space=\ *)
9874 # `set' does not quote correctly, so add quotes (double-quote
9875 # substitution turns \\\\ into \\, and sed turns \\ into \).
9876 sed -n \
9877 "s/'/'\\\\''/g;
9878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9879 ;;
9880 *)
9881 # `set' quotes correctly as required by POSIX, so do not add quotes.
9882 sed -n \
9883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9884 ;;
9885 esac;
9886} |
9887 sed '
9888 t clear
9889 : clear
9890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9891 t end
9892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9893 : end' >>confcache
9894if diff $cache_file confcache >/dev/null 2>&1; then :; else
9895 if test -w $cache_file; then
9896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9897 cat confcache >$cache_file
9898 else
9899 echo "not updating unwritable cache $cache_file"
9900 fi
9901fi
9902rm -f confcache
9903
9904if test "$build" != "$host" ; then
9905 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9906 CC=$host_alias-gcc
9907 CXX=$host_alias-c++
9908 AR=$host_alias-ar
9909 RANLIB=$host_alias-ranlib
9910 DLLTOOL=$host_alias-dlltool
9911 RESCOMP=$host_alias-windres
9912 LD=$host_alias-ld
9913 NM=$host_alias-nm
9914 STRIP=$host_alias-strip
9915 else
9916 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9917echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9918 { (exit 1); exit 1; }; }
9919 fi
9920fi
9921
9922CFLAGS=${CFLAGS:=}
9923ac_ext=c
9924ac_cpp='$CPP $CPPFLAGS'
9925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927ac_compiler_gnu=$ac_cv_c_compiler_gnu
9928if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9930set dummy ${ac_tool_prefix}gcc; ac_word=$2
9931echo "$as_me:$LINENO: checking for $ac_word" >&5
9932echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933if test "${ac_cv_prog_CC+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9935else
9936 if test -n "$CC"; then
9937 ac_cv_prog_CC="$CC" # Let the user override the test.
9938else
9939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9940for as_dir in $PATH
9941do
9942 IFS=$as_save_IFS
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9948 break 2
9949 fi
9950done
9951done
9952
9953fi
9954fi
9955CC=$ac_cv_prog_CC
9956if test -n "$CC"; then
9957 echo "$as_me:$LINENO: result: $CC" >&5
9958echo "${ECHO_T}$CC" >&6
9959else
9960 echo "$as_me:$LINENO: result: no" >&5
9961echo "${ECHO_T}no" >&6
9962fi
9963
9964fi
9965if test -z "$ac_cv_prog_CC"; then
9966 ac_ct_CC=$CC
9967 # Extract the first word of "gcc", so it can be a program name with args.
9968set dummy gcc; ac_word=$2
9969echo "$as_me:$LINENO: checking for $ac_word" >&5
9970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9971if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9973else
9974 if test -n "$ac_ct_CC"; then
9975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9976else
9977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9978for as_dir in $PATH
9979do
9980 IFS=$as_save_IFS
9981 test -z "$as_dir" && as_dir=.
9982 for ac_exec_ext in '' $ac_executable_extensions; do
9983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9984 ac_cv_prog_ac_ct_CC="gcc"
9985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9986 break 2
9987 fi
9988done
9989done
9990
9991fi
9992fi
9993ac_ct_CC=$ac_cv_prog_ac_ct_CC
9994if test -n "$ac_ct_CC"; then
9995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9996echo "${ECHO_T}$ac_ct_CC" >&6
9997else
9998 echo "$as_me:$LINENO: result: no" >&5
9999echo "${ECHO_T}no" >&6
10000fi
10001
10002 CC=$ac_ct_CC
10003else
10004 CC="$ac_cv_prog_CC"
10005fi
10006
10007if test -z "$CC"; then
10008 if test -n "$ac_tool_prefix"; then
10009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10010set dummy ${ac_tool_prefix}cc; ac_word=$2
10011echo "$as_me:$LINENO: checking for $ac_word" >&5
10012echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013if test "${ac_cv_prog_CC+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10015else
10016 if test -n "$CC"; then
10017 ac_cv_prog_CC="$CC" # Let the user override the test.
10018else
10019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020for as_dir in $PATH
10021do
10022 IFS=$as_save_IFS
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_CC="${ac_tool_prefix}cc"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10028 break 2
10029 fi
10030done
10031done
10032
10033fi
10034fi
10035CC=$ac_cv_prog_CC
10036if test -n "$CC"; then
10037 echo "$as_me:$LINENO: result: $CC" >&5
10038echo "${ECHO_T}$CC" >&6
10039else
10040 echo "$as_me:$LINENO: result: no" >&5
10041echo "${ECHO_T}no" >&6
10042fi
10043
10044fi
10045if test -z "$ac_cv_prog_CC"; then
10046 ac_ct_CC=$CC
10047 # Extract the first word of "cc", so it can be a program name with args.
10048set dummy cc; ac_word=$2
10049echo "$as_me:$LINENO: checking for $ac_word" >&5
10050echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10051if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10053else
10054 if test -n "$ac_ct_CC"; then
10055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10056else
10057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058for as_dir in $PATH
10059do
10060 IFS=$as_save_IFS
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 ac_cv_prog_ac_ct_CC="cc"
10065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 break 2
10067 fi
10068done
10069done
10070
10071fi
10072fi
10073ac_ct_CC=$ac_cv_prog_ac_ct_CC
10074if test -n "$ac_ct_CC"; then
10075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10076echo "${ECHO_T}$ac_ct_CC" >&6
10077else
10078 echo "$as_me:$LINENO: result: no" >&5
10079echo "${ECHO_T}no" >&6
10080fi
10081
10082 CC=$ac_ct_CC
10083else
10084 CC="$ac_cv_prog_CC"
10085fi
10086
10087fi
10088if test -z "$CC"; then
10089 # Extract the first word of "cc", so it can be a program name with args.
10090set dummy cc; ac_word=$2
10091echo "$as_me:$LINENO: checking for $ac_word" >&5
10092echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10093if test "${ac_cv_prog_CC+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10095else
10096 if test -n "$CC"; then
10097 ac_cv_prog_CC="$CC" # Let the user override the test.
10098else
10099 ac_prog_rejected=no
10100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10101for as_dir in $PATH
10102do
10103 IFS=$as_save_IFS
10104 test -z "$as_dir" && as_dir=.
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10108 ac_prog_rejected=yes
10109 continue
10110 fi
10111 ac_cv_prog_CC="cc"
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 break 2
10114 fi
10115done
10116done
10117
10118if test $ac_prog_rejected = yes; then
10119 # We found a bogon in the path, so make sure we never use it.
10120 set dummy $ac_cv_prog_CC
10121 shift
10122 if test $# != 0; then
10123 # We chose a different compiler from the bogus one.
10124 # However, it has the same basename, so the bogon will be chosen
10125 # first if we set CC to just the basename; use the full file name.
10126 shift
10127 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10128 fi
10129fi
10130fi
10131fi
10132CC=$ac_cv_prog_CC
10133if test -n "$CC"; then
10134 echo "$as_me:$LINENO: result: $CC" >&5
10135echo "${ECHO_T}$CC" >&6
10136else
10137 echo "$as_me:$LINENO: result: no" >&5
10138echo "${ECHO_T}no" >&6
10139fi
10140
10141fi
10142if test -z "$CC"; then
10143 if test -n "$ac_tool_prefix"; then
10144 for ac_prog in cl
10145 do
10146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10147set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10148echo "$as_me:$LINENO: checking for $ac_word" >&5
10149echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10152else
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC="$CC" # Let the user override the test.
10155else
10156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157for as_dir in $PATH
10158do
10159 IFS=$as_save_IFS
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10165 break 2
10166 fi
10167done
10168done
10169
10170fi
10171fi
10172CC=$ac_cv_prog_CC
10173if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175echo "${ECHO_T}$CC" >&6
10176else
10177 echo "$as_me:$LINENO: result: no" >&5
10178echo "${ECHO_T}no" >&6
10179fi
10180
10181 test -n "$CC" && break
10182 done
10183fi
10184if test -z "$CC"; then
10185 ac_ct_CC=$CC
10186 for ac_prog in cl
10187do
10188 # Extract the first word of "$ac_prog", so it can be a program name with args.
10189set dummy $ac_prog; ac_word=$2
10190echo "$as_me:$LINENO: checking for $ac_word" >&5
10191echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10192if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10194else
10195 if test -n "$ac_ct_CC"; then
10196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10197else
10198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10199for as_dir in $PATH
10200do
10201 IFS=$as_save_IFS
10202 test -z "$as_dir" && as_dir=.
10203 for ac_exec_ext in '' $ac_executable_extensions; do
10204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10205 ac_cv_prog_ac_ct_CC="$ac_prog"
10206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10207 break 2
10208 fi
10209done
10210done
10211
10212fi
10213fi
10214ac_ct_CC=$ac_cv_prog_ac_ct_CC
10215if test -n "$ac_ct_CC"; then
10216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10217echo "${ECHO_T}$ac_ct_CC" >&6
10218else
10219 echo "$as_me:$LINENO: result: no" >&5
10220echo "${ECHO_T}no" >&6
10221fi
10222
10223 test -n "$ac_ct_CC" && break
10224done
10225
10226 CC=$ac_ct_CC
10227fi
10228
10229fi
10230
10231
10232test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10233See \`config.log' for more details." >&5
10234echo "$as_me: error: no acceptable C compiler found in \$PATH
10235See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10237
10238# Provide some information about the compiler.
10239echo "$as_me:$LINENO:" \
10240 "checking for C compiler version" >&5
10241ac_compiler=`set X $ac_compile; echo $2`
10242{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10243 (eval $ac_compiler --version </dev/null >&5) 2>&5
10244 ac_status=$?
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }
10247{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10248 (eval $ac_compiler -v </dev/null >&5) 2>&5
10249 ac_status=$?
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }
10252{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10253 (eval $ac_compiler -V </dev/null >&5) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }
10257
10258cat >conftest.$ac_ext <<_ACEOF
10259#line $LINENO "configure"
10260/* confdefs.h. */
10261_ACEOF
10262cat confdefs.h >>conftest.$ac_ext
10263cat >>conftest.$ac_ext <<_ACEOF
10264/* end confdefs.h. */
10265
10266int
10267main ()
10268{
10269
10270 ;
10271 return 0;
10272}
10273_ACEOF
10274ac_clean_files_save=$ac_clean_files
10275ac_clean_files="$ac_clean_files a.out a.exe b.out"
10276# Try to create an executable without -o first, disregard a.out.
10277# It will help us diagnose broken compilers, and finding out an intuition
10278# of exeext.
10279echo "$as_me:$LINENO: checking for C compiler default output" >&5
10280echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10281ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10282if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10283 (eval $ac_link_default) 2>&5
10284 ac_status=$?
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; then
10287 # Find the output, starting from the most likely. This scheme is
10288# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10289# resort.
10290
10291# Be careful to initialize this variable, since it used to be cached.
10292# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10293ac_cv_exeext=
10294# b.out is created by i960 compilers.
10295for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10296do
10297 test -f "$ac_file" || continue
10298 case $ac_file in
10299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10300 ;;
10301 conftest.$ac_ext )
10302 # This is the source file.
10303 ;;
10304 [ab].out )
10305 # We found the default executable, but exeext='' is most
10306 # certainly right.
10307 break;;
10308 *.* )
10309 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10310 # FIXME: I believe we export ac_cv_exeext for Libtool,
10311 # but it would be cool to find out if it's true. Does anybody
10312 # maintain Libtool? --akim.
10313 export ac_cv_exeext
10314 break;;
10315 * )
10316 break;;
10317 esac
10318done
10319else
10320 echo "$as_me: failed program was:" >&5
10321sed 's/^/| /' conftest.$ac_ext >&5
10322
10323{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10324See \`config.log' for more details." >&5
10325echo "$as_me: error: C compiler cannot create executables
10326See \`config.log' for more details." >&2;}
10327 { (exit 77); exit 77; }; }
10328fi
10329
10330ac_exeext=$ac_cv_exeext
10331echo "$as_me:$LINENO: result: $ac_file" >&5
10332echo "${ECHO_T}$ac_file" >&6
10333
10334# Check the compiler produces executables we can run. If not, either
10335# the compiler is broken, or we cross compile.
10336echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10337echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10338# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10339# If not cross compiling, check that we can run a simple program.
10340if test "$cross_compiling" != yes; then
10341 if { ac_try='./$ac_file'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10344 ac_status=$?
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 cross_compiling=no
10348 else
10349 if test "$cross_compiling" = maybe; then
10350 cross_compiling=yes
10351 else
10352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10353If you meant to cross compile, use \`--host'.
10354See \`config.log' for more details." >&5
10355echo "$as_me: error: cannot run C compiled programs.
10356If you meant to cross compile, use \`--host'.
10357See \`config.log' for more details." >&2;}
10358 { (exit 1); exit 1; }; }
10359 fi
10360 fi
10361fi
10362echo "$as_me:$LINENO: result: yes" >&5
10363echo "${ECHO_T}yes" >&6
10364
10365rm -f a.out a.exe conftest$ac_cv_exeext b.out
10366ac_clean_files=$ac_clean_files_save
10367# Check the compiler produces executables we can run. If not, either
10368# the compiler is broken, or we cross compile.
10369echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10370echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10371echo "$as_me:$LINENO: result: $cross_compiling" >&5
10372echo "${ECHO_T}$cross_compiling" >&6
10373
10374echo "$as_me:$LINENO: checking for suffix of executables" >&5
10375echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>&5
10378 ac_status=$?
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; then
10381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10382# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10383# work properly (i.e., refer to `conftest.exe'), while it won't with
10384# `rm'.
10385for ac_file in conftest.exe conftest conftest.*; do
10386 test -f "$ac_file" || continue
10387 case $ac_file in
10388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10389 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10390 export ac_cv_exeext
10391 break;;
10392 * ) break;;
10393 esac
10394done
10395else
10396 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10397See \`config.log' for more details." >&5
10398echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10399See \`config.log' for more details." >&2;}
10400 { (exit 1); exit 1; }; }
10401fi
10402
10403rm -f conftest$ac_cv_exeext
10404echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10405echo "${ECHO_T}$ac_cv_exeext" >&6
10406
10407rm -f conftest.$ac_ext
10408EXEEXT=$ac_cv_exeext
10409ac_exeext=$EXEEXT
10410echo "$as_me:$LINENO: checking for suffix of object files" >&5
10411echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10412if test "${ac_cv_objext+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10414else
10415 cat >conftest.$ac_ext <<_ACEOF
10416#line $LINENO "configure"
10417/* confdefs.h. */
10418_ACEOF
10419cat confdefs.h >>conftest.$ac_ext
10420cat >>conftest.$ac_ext <<_ACEOF
10421/* end confdefs.h. */
10422
10423int
10424main ()
10425{
10426
10427 ;
10428 return 0;
10429}
10430_ACEOF
10431rm -f conftest.o conftest.obj
10432if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10438 case $ac_file in
10439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10440 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10441 break;;
10442 esac
10443done
10444else
10445 echo "$as_me: failed program was:" >&5
10446sed 's/^/| /' conftest.$ac_ext >&5
10447
10448{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10449See \`config.log' for more details." >&5
10450echo "$as_me: error: cannot compute suffix of object files: cannot compile
10451See \`config.log' for more details." >&2;}
10452 { (exit 1); exit 1; }; }
10453fi
10454
10455rm -f conftest.$ac_cv_objext conftest.$ac_ext
10456fi
10457echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10458echo "${ECHO_T}$ac_cv_objext" >&6
10459OBJEXT=$ac_cv_objext
10460ac_objext=$OBJEXT
10461echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10462echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10463if test "${ac_cv_c_compiler_gnu+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10465else
10466 cat >conftest.$ac_ext <<_ACEOF
10467#line $LINENO "configure"
10468/* confdefs.h. */
10469_ACEOF
10470cat confdefs.h >>conftest.$ac_ext
10471cat >>conftest.$ac_ext <<_ACEOF
10472/* end confdefs.h. */
10473
10474int
10475main ()
10476{
10477#ifndef __GNUC__
10478 choke me
10479#endif
10480
10481 ;
10482 return 0;
10483}
10484_ACEOF
10485rm -f conftest.$ac_objext
10486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10488 ac_status=$?
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10494 ac_status=$?
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 ac_compiler_gnu=yes
10498else
10499 echo "$as_me: failed program was:" >&5
10500sed 's/^/| /' conftest.$ac_ext >&5
10501
10502ac_compiler_gnu=no
10503fi
10504rm -f conftest.$ac_objext conftest.$ac_ext
10505ac_cv_c_compiler_gnu=$ac_compiler_gnu
10506
10507fi
10508echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10509echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10510GCC=`test $ac_compiler_gnu = yes && echo yes`
10511ac_test_CFLAGS=${CFLAGS+set}
10512ac_save_CFLAGS=$CFLAGS
10513CFLAGS="-g"
10514echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10515echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10516if test "${ac_cv_prog_cc_g+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10518else
10519 cat >conftest.$ac_ext <<_ACEOF
10520#line $LINENO "configure"
10521/* confdefs.h. */
10522_ACEOF
10523cat confdefs.h >>conftest.$ac_ext
10524cat >>conftest.$ac_ext <<_ACEOF
10525/* end confdefs.h. */
10526
10527int
10528main ()
10529{
10530
10531 ;
10532 return 0;
10533}
10534_ACEOF
10535rm -f conftest.$ac_objext
10536if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537 (eval $ac_compile) 2>&5
10538 ac_status=$?
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10544 ac_status=$?
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_prog_cc_g=yes
10548else
10549 echo "$as_me: failed program was:" >&5
10550sed 's/^/| /' conftest.$ac_ext >&5
10551
10552ac_cv_prog_cc_g=no
10553fi
10554rm -f conftest.$ac_objext conftest.$ac_ext
10555fi
10556echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10557echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10558if test "$ac_test_CFLAGS" = set; then
10559 CFLAGS=$ac_save_CFLAGS
10560elif test $ac_cv_prog_cc_g = yes; then
10561 if test "$GCC" = yes; then
10562 CFLAGS="-g -O2"
10563 else
10564 CFLAGS="-g"
10565 fi
10566else
10567 if test "$GCC" = yes; then
10568 CFLAGS="-O2"
10569 else
10570 CFLAGS=
10571 fi
10572fi
10573echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10574echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10575if test "${ac_cv_prog_cc_stdc+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10577else
10578 ac_cv_prog_cc_stdc=no
10579ac_save_CC=$CC
10580cat >conftest.$ac_ext <<_ACEOF
10581#line $LINENO "configure"
10582/* confdefs.h. */
10583_ACEOF
10584cat confdefs.h >>conftest.$ac_ext
10585cat >>conftest.$ac_ext <<_ACEOF
10586/* end confdefs.h. */
10587#include <stdarg.h>
10588#include <stdio.h>
10589#include <sys/types.h>
10590#include <sys/stat.h>
10591/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10592struct buf { int x; };
10593FILE * (*rcsopen) (struct buf *, struct stat *, int);
10594static char *e (p, i)
10595 char **p;
10596 int i;
10597{
10598 return p[i];
10599}
10600static char *f (char * (*g) (char **, int), char **p, ...)
10601{
10602 char *s;
10603 va_list v;
10604 va_start (v,p);
10605 s = g (p, va_arg (v,int));
10606 va_end (v);
10607 return s;
10608}
10609int test (int i, double x);
10610struct s1 {int (*f) (int a);};
10611struct s2 {int (*f) (double a);};
10612int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10613int argc;
10614char **argv;
10615int
10616main ()
10617{
10618return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10619 ;
10620 return 0;
10621}
10622_ACEOF
10623# Don't try gcc -ansi; that turns off useful extensions and
10624# breaks some systems' header files.
10625# AIX -qlanglvl=ansi
10626# Ultrix and OSF/1 -std1
10627# HP-UX 10.20 and later -Ae
10628# HP-UX older versions -Aa -D_HPUX_SOURCE
10629# SVR4 -Xc -D__EXTENSIONS__
10630for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10631do
10632 CC="$ac_save_CC $ac_arg"
10633 rm -f conftest.$ac_objext
10634if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_prog_cc_stdc=$ac_arg
10646break
10647else
10648 echo "$as_me: failed program was:" >&5
10649sed 's/^/| /' conftest.$ac_ext >&5
10650
10651fi
10652rm -f conftest.$ac_objext
10653done
10654rm -f conftest.$ac_ext conftest.$ac_objext
10655CC=$ac_save_CC
10656
10657fi
10658
10659case "x$ac_cv_prog_cc_stdc" in
10660 x|xno)
10661 echo "$as_me:$LINENO: result: none needed" >&5
10662echo "${ECHO_T}none needed" >&6 ;;
10663 *)
10664 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10665echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10666 CC="$CC $ac_cv_prog_cc_stdc" ;;
10667esac
10668
10669# Some people use a C++ compiler to compile C. Since we use `exit',
10670# in C++ we need to declare it. In case someone uses the same compiler
10671# for both compiling C and C++ we need to have the C++ compiler decide
10672# the declaration of exit, since it's the most demanding environment.
10673cat >conftest.$ac_ext <<_ACEOF
10674#ifndef __cplusplus
10675 choke me
10676#endif
10677_ACEOF
10678rm -f conftest.$ac_objext
10679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>&5
10681 ac_status=$?
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try='test -s conftest.$ac_objext'
10685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686 (eval $ac_try) 2>&5
10687 ac_status=$?
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; }; then
10690 for ac_declaration in \
10691 '' \
10692 'extern "C" void std::exit (int) throw (); using std::exit;' \
10693 'extern "C" void std::exit (int); using std::exit;' \
10694 'extern "C" void exit (int) throw ();' \
10695 'extern "C" void exit (int);' \
10696 'void exit (int);'
10697do
10698 cat >conftest.$ac_ext <<_ACEOF
10699#line $LINENO "configure"
10700/* confdefs.h. */
10701_ACEOF
10702cat confdefs.h >>conftest.$ac_ext
10703cat >>conftest.$ac_ext <<_ACEOF
10704/* end confdefs.h. */
10705$ac_declaration
10706#include <stdlib.h>
10707int
10708main ()
10709{
10710exit (42);
10711 ;
10712 return 0;
10713}
10714_ACEOF
10715rm -f conftest.$ac_objext
10716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10717 (eval $ac_compile) 2>&5
10718 ac_status=$?
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); } &&
10721 { ac_try='test -s conftest.$ac_objext'
10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5
10724 ac_status=$?
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then
10727 :
10728else
10729 echo "$as_me: failed program was:" >&5
10730sed 's/^/| /' conftest.$ac_ext >&5
10731
10732continue
10733fi
10734rm -f conftest.$ac_objext conftest.$ac_ext
10735 cat >conftest.$ac_ext <<_ACEOF
10736#line $LINENO "configure"
10737/* confdefs.h. */
10738_ACEOF
10739cat confdefs.h >>conftest.$ac_ext
10740cat >>conftest.$ac_ext <<_ACEOF
10741/* end confdefs.h. */
10742$ac_declaration
10743int
10744main ()
10745{
10746exit (42);
10747 ;
10748 return 0;
10749}
10750_ACEOF
10751rm -f conftest.$ac_objext
10752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10753 (eval $ac_compile) 2>&5
10754 ac_status=$?
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try='test -s conftest.$ac_objext'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10760 ac_status=$?
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; }; then
10763 break
10764else
10765 echo "$as_me: failed program was:" >&5
10766sed 's/^/| /' conftest.$ac_ext >&5
10767
10768fi
10769rm -f conftest.$ac_objext conftest.$ac_ext
10770done
10771rm -f conftest*
10772if test -n "$ac_declaration"; then
10773 echo '#ifdef __cplusplus' >>confdefs.h
10774 echo $ac_declaration >>confdefs.h
10775 echo '#endif' >>confdefs.h
10776fi
10777
10778else
10779 echo "$as_me: failed program was:" >&5
10780sed 's/^/| /' conftest.$ac_ext >&5
10781
10782fi
10783rm -f conftest.$ac_objext conftest.$ac_ext
10784ac_ext=c
10785ac_cpp='$CPP $CPPFLAGS'
10786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10788ac_compiler_gnu=$ac_cv_c_compiler_gnu
10789
10790
10791
10792ac_ext=c
10793ac_cpp='$CPP $CPPFLAGS'
10794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10796ac_compiler_gnu=$ac_cv_c_compiler_gnu
10797echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10798echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10799# On Suns, sometimes $CPP names a directory.
10800if test -n "$CPP" && test -d "$CPP"; then
10801 CPP=
10802fi
10803if test -z "$CPP"; then
10804 if test "${ac_cv_prog_CPP+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10806else
10807 # Double quotes because CPP needs to be expanded
10808 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10809 do
10810 ac_preproc_ok=false
10811for ac_c_preproc_warn_flag in '' yes
10812do
10813 # Use a header file that comes with gcc, so configuring glibc
10814 # with a fresh cross-compiler works.
10815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10816 # <limits.h> exists even on freestanding compilers.
10817 # On the NeXT, cc -E runs the code through the compiler's parser,
10818 # not just through cpp. "Syntax error" is here to catch this case.
10819 cat >conftest.$ac_ext <<_ACEOF
10820#line $LINENO "configure"
10821/* confdefs.h. */
10822_ACEOF
10823cat confdefs.h >>conftest.$ac_ext
10824cat >>conftest.$ac_ext <<_ACEOF
10825/* end confdefs.h. */
10826#ifdef __STDC__
10827# include <limits.h>
10828#else
10829# include <assert.h>
10830#endif
10831 Syntax error
10832_ACEOF
10833if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10835 ac_status=$?
10836 grep -v '^ *+' conftest.er1 >conftest.err
10837 rm -f conftest.er1
10838 cat conftest.err >&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } >/dev/null; then
10841 if test -s conftest.err; then
10842 ac_cpp_err=$ac_c_preproc_warn_flag
10843 else
10844 ac_cpp_err=
10845 fi
10846else
10847 ac_cpp_err=yes
10848fi
10849if test -z "$ac_cpp_err"; then
10850 :
10851else
10852 echo "$as_me: failed program was:" >&5
10853sed 's/^/| /' conftest.$ac_ext >&5
10854
10855 # Broken: fails on valid input.
10856continue
10857fi
10858rm -f conftest.err conftest.$ac_ext
10859
10860 # OK, works on sane cases. Now check whether non-existent headers
10861 # can be detected and how.
10862 cat >conftest.$ac_ext <<_ACEOF
10863#line $LINENO "configure"
10864/* confdefs.h. */
10865_ACEOF
10866cat confdefs.h >>conftest.$ac_ext
10867cat >>conftest.$ac_ext <<_ACEOF
10868/* end confdefs.h. */
10869#include <ac_nonexistent.h>
10870_ACEOF
10871if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10873 ac_status=$?
10874 grep -v '^ *+' conftest.er1 >conftest.err
10875 rm -f conftest.er1
10876 cat conftest.err >&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); } >/dev/null; then
10879 if test -s conftest.err; then
10880 ac_cpp_err=$ac_c_preproc_warn_flag
10881 else
10882 ac_cpp_err=
10883 fi
10884else
10885 ac_cpp_err=yes
10886fi
10887if test -z "$ac_cpp_err"; then
10888 # Broken: success on invalid input.
10889continue
10890else
10891 echo "$as_me: failed program was:" >&5
10892sed 's/^/| /' conftest.$ac_ext >&5
10893
10894 # Passes both tests.
10895ac_preproc_ok=:
10896break
10897fi
10898rm -f conftest.err conftest.$ac_ext
10899
10900done
10901# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10902rm -f conftest.err conftest.$ac_ext
10903if $ac_preproc_ok; then
10904 break
10905fi
10906
10907 done
10908 ac_cv_prog_CPP=$CPP
10909
10910fi
10911 CPP=$ac_cv_prog_CPP
10912else
10913 ac_cv_prog_CPP=$CPP
10914fi
10915echo "$as_me:$LINENO: result: $CPP" >&5
10916echo "${ECHO_T}$CPP" >&6
10917ac_preproc_ok=false
10918for ac_c_preproc_warn_flag in '' yes
10919do
10920 # Use a header file that comes with gcc, so configuring glibc
10921 # with a fresh cross-compiler works.
10922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10923 # <limits.h> exists even on freestanding compilers.
10924 # On the NeXT, cc -E runs the code through the compiler's parser,
10925 # not just through cpp. "Syntax error" is here to catch this case.
10926 cat >conftest.$ac_ext <<_ACEOF
10927#line $LINENO "configure"
10928/* confdefs.h. */
10929_ACEOF
10930cat confdefs.h >>conftest.$ac_ext
10931cat >>conftest.$ac_ext <<_ACEOF
10932/* end confdefs.h. */
10933#ifdef __STDC__
10934# include <limits.h>
10935#else
10936# include <assert.h>
10937#endif
10938 Syntax error
10939_ACEOF
10940if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10942 ac_status=$?
10943 grep -v '^ *+' conftest.er1 >conftest.err
10944 rm -f conftest.er1
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } >/dev/null; then
10948 if test -s conftest.err; then
10949 ac_cpp_err=$ac_c_preproc_warn_flag
10950 else
10951 ac_cpp_err=
10952 fi
10953else
10954 ac_cpp_err=yes
10955fi
10956if test -z "$ac_cpp_err"; then
10957 :
10958else
10959 echo "$as_me: failed program was:" >&5
10960sed 's/^/| /' conftest.$ac_ext >&5
10961
10962 # Broken: fails on valid input.
10963continue
10964fi
10965rm -f conftest.err conftest.$ac_ext
10966
10967 # OK, works on sane cases. Now check whether non-existent headers
10968 # can be detected and how.
10969 cat >conftest.$ac_ext <<_ACEOF
10970#line $LINENO "configure"
10971/* confdefs.h. */
10972_ACEOF
10973cat confdefs.h >>conftest.$ac_ext
10974cat >>conftest.$ac_ext <<_ACEOF
10975/* end confdefs.h. */
10976#include <ac_nonexistent.h>
10977_ACEOF
10978if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10980 ac_status=$?
10981 grep -v '^ *+' conftest.er1 >conftest.err
10982 rm -f conftest.er1
10983 cat conftest.err >&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } >/dev/null; then
10986 if test -s conftest.err; then
10987 ac_cpp_err=$ac_c_preproc_warn_flag
10988 else
10989 ac_cpp_err=
10990 fi
10991else
10992 ac_cpp_err=yes
10993fi
10994if test -z "$ac_cpp_err"; then
10995 # Broken: success on invalid input.
10996continue
10997else
10998 echo "$as_me: failed program was:" >&5
10999sed 's/^/| /' conftest.$ac_ext >&5
11000
11001 # Passes both tests.
11002ac_preproc_ok=:
11003break
11004fi
11005rm -f conftest.err conftest.$ac_ext
11006
11007done
11008# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11009rm -f conftest.err conftest.$ac_ext
11010if $ac_preproc_ok; then
11011 :
11012else
11013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11014See \`config.log' for more details." >&5
11015echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11016See \`config.log' for more details." >&2;}
11017 { (exit 1); exit 1; }; }
11018fi
11019
11020ac_ext=c
11021ac_cpp='$CPP $CPPFLAGS'
11022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11024ac_compiler_gnu=$ac_cv_c_compiler_gnu
11025
11026
11027echo "$as_me:$LINENO: checking for egrep" >&5
11028echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11029if test "${ac_cv_prog_egrep+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11031else
11032 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11033 then ac_cv_prog_egrep='grep -E'
11034 else ac_cv_prog_egrep='egrep'
11035 fi
11036fi
11037echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11038echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11039 EGREP=$ac_cv_prog_egrep
11040
11041
11042if test $ac_cv_c_compiler_gnu = yes; then
11043 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11044echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11045if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11047else
11048 ac_pattern="Autoconf.*'x'"
11049 cat >conftest.$ac_ext <<_ACEOF
11050#line $LINENO "configure"
11051/* confdefs.h. */
11052_ACEOF
11053cat confdefs.h >>conftest.$ac_ext
11054cat >>conftest.$ac_ext <<_ACEOF
11055/* end confdefs.h. */
11056#include <sgtty.h>
11057Autoconf TIOCGETP
11058_ACEOF
11059if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11060 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11061 ac_cv_prog_gcc_traditional=yes
11062else
11063 ac_cv_prog_gcc_traditional=no
11064fi
11065rm -f conftest*
11066
11067
11068 if test $ac_cv_prog_gcc_traditional = no; then
11069 cat >conftest.$ac_ext <<_ACEOF
11070#line $LINENO "configure"
11071/* confdefs.h. */
11072_ACEOF
11073cat confdefs.h >>conftest.$ac_ext
11074cat >>conftest.$ac_ext <<_ACEOF
11075/* end confdefs.h. */
11076#include <termio.h>
11077Autoconf TCGETA
11078_ACEOF
11079if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11080 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11081 ac_cv_prog_gcc_traditional=yes
11082fi
11083rm -f conftest*
11084
11085 fi
11086fi
11087echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11088echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11089 if test $ac_cv_prog_gcc_traditional = yes; then
11090 CC="$CC -traditional"
11091 fi
11092fi
11093
11094
11095
11096
11097ac_ext=cc
11098ac_cpp='$CXXCPP $CPPFLAGS'
11099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11102
11103
11104CXXFLAGS=${CXXFLAGS:=}
11105ac_ext=cc
11106ac_cpp='$CXXCPP $CPPFLAGS'
11107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11110if test -n "$ac_tool_prefix"; then
11111 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11112 do
11113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11114set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11115echo "$as_me:$LINENO: checking for $ac_word" >&5
11116echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11117if test "${ac_cv_prog_CXX+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11119else
11120 if test -n "$CXX"; then
11121 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11122else
11123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11124for as_dir in $PATH
11125do
11126 IFS=$as_save_IFS
11127 test -z "$as_dir" && as_dir=.
11128 for ac_exec_ext in '' $ac_executable_extensions; do
11129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11130 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11132 break 2
11133 fi
11134done
11135done
11136
11137fi
11138fi
11139CXX=$ac_cv_prog_CXX
11140if test -n "$CXX"; then
11141 echo "$as_me:$LINENO: result: $CXX" >&5
11142echo "${ECHO_T}$CXX" >&6
11143else
11144 echo "$as_me:$LINENO: result: no" >&5
11145echo "${ECHO_T}no" >&6
11146fi
11147
11148 test -n "$CXX" && break
11149 done
11150fi
11151if test -z "$CXX"; then
11152 ac_ct_CXX=$CXX
11153 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11154do
11155 # Extract the first word of "$ac_prog", so it can be a program name with args.
11156set dummy $ac_prog; ac_word=$2
11157echo "$as_me:$LINENO: checking for $ac_word" >&5
11158echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11159if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11161else
11162 if test -n "$ac_ct_CXX"; then
11163 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11164else
11165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11166for as_dir in $PATH
11167do
11168 IFS=$as_save_IFS
11169 test -z "$as_dir" && as_dir=.
11170 for ac_exec_ext in '' $ac_executable_extensions; do
11171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11172 ac_cv_prog_ac_ct_CXX="$ac_prog"
11173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11174 break 2
11175 fi
11176done
11177done
11178
11179fi
11180fi
11181ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11182if test -n "$ac_ct_CXX"; then
11183 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11184echo "${ECHO_T}$ac_ct_CXX" >&6
11185else
11186 echo "$as_me:$LINENO: result: no" >&5
11187echo "${ECHO_T}no" >&6
11188fi
11189
11190 test -n "$ac_ct_CXX" && break
11191done
11192test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11193
11194 CXX=$ac_ct_CXX
11195fi
11196
11197
11198# Provide some information about the compiler.
11199echo "$as_me:$LINENO:" \
11200 "checking for C++ compiler version" >&5
11201ac_compiler=`set X $ac_compile; echo $2`
11202{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11203 (eval $ac_compiler --version </dev/null >&5) 2>&5
11204 ac_status=$?
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }
11207{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11208 (eval $ac_compiler -v </dev/null >&5) 2>&5
11209 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }
11212{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11213 (eval $ac_compiler -V </dev/null >&5) 2>&5
11214 ac_status=$?
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); }
11217
11218echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11219echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11220if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6
11222else
11223 cat >conftest.$ac_ext <<_ACEOF
11224#line $LINENO "configure"
11225/* confdefs.h. */
11226_ACEOF
11227cat confdefs.h >>conftest.$ac_ext
11228cat >>conftest.$ac_ext <<_ACEOF
11229/* end confdefs.h. */
11230
11231int
11232main ()
11233{
11234#ifndef __GNUC__
11235 choke me
11236#endif
11237
11238 ;
11239 return 0;
11240}
11241_ACEOF
11242rm -f conftest.$ac_objext
11243if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11244 (eval $ac_compile) 2>&5
11245 ac_status=$?
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } &&
11248 { ac_try='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_compiler_gnu=yes
11255else
11256 echo "$as_me: failed program was:" >&5
11257sed 's/^/| /' conftest.$ac_ext >&5
11258
11259ac_compiler_gnu=no
11260fi
11261rm -f conftest.$ac_objext conftest.$ac_ext
11262ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11263
11264fi
11265echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11266echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11267GXX=`test $ac_compiler_gnu = yes && echo yes`
11268ac_test_CXXFLAGS=${CXXFLAGS+set}
11269ac_save_CXXFLAGS=$CXXFLAGS
11270CXXFLAGS="-g"
11271echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11272echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11273if test "${ac_cv_prog_cxx_g+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11275else
11276 cat >conftest.$ac_ext <<_ACEOF
11277#line $LINENO "configure"
11278/* confdefs.h. */
11279_ACEOF
11280cat confdefs.h >>conftest.$ac_ext
11281cat >>conftest.$ac_ext <<_ACEOF
11282/* end confdefs.h. */
11283
11284int
11285main ()
11286{
11287
11288 ;
11289 return 0;
11290}
11291_ACEOF
11292rm -f conftest.$ac_objext
11293if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11294 (eval $ac_compile) 2>&5
11295 ac_status=$?
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -s conftest.$ac_objext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11301 ac_status=$?
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_cv_prog_cxx_g=yes
11305else
11306 echo "$as_me: failed program was:" >&5
11307sed 's/^/| /' conftest.$ac_ext >&5
11308
11309ac_cv_prog_cxx_g=no
11310fi
11311rm -f conftest.$ac_objext conftest.$ac_ext
11312fi
11313echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11314echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11315if test "$ac_test_CXXFLAGS" = set; then
11316 CXXFLAGS=$ac_save_CXXFLAGS
11317elif test $ac_cv_prog_cxx_g = yes; then
11318 if test "$GXX" = yes; then
11319 CXXFLAGS="-g -O2"
11320 else
11321 CXXFLAGS="-g"
11322 fi
11323else
11324 if test "$GXX" = yes; then
11325 CXXFLAGS="-O2"
11326 else
11327 CXXFLAGS=
11328 fi
11329fi
11330for ac_declaration in \
11331 '' \
11332 'extern "C" void std::exit (int) throw (); using std::exit;' \
11333 'extern "C" void std::exit (int); using std::exit;' \
11334 'extern "C" void exit (int) throw ();' \
11335 'extern "C" void exit (int);' \
11336 'void exit (int);'
11337do
11338 cat >conftest.$ac_ext <<_ACEOF
11339#line $LINENO "configure"
11340/* confdefs.h. */
11341_ACEOF
11342cat confdefs.h >>conftest.$ac_ext
11343cat >>conftest.$ac_ext <<_ACEOF
11344/* end confdefs.h. */
11345$ac_declaration
11346#include <stdlib.h>
11347int
11348main ()
11349{
11350exit (42);
11351 ;
11352 return 0;
11353}
11354_ACEOF
11355rm -f conftest.$ac_objext
11356if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11357 (eval $ac_compile) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); } &&
11361 { ac_try='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11364 ac_status=$?
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 :
11368else
11369 echo "$as_me: failed program was:" >&5
11370sed 's/^/| /' conftest.$ac_ext >&5
11371
11372continue
11373fi
11374rm -f conftest.$ac_objext conftest.$ac_ext
11375 cat >conftest.$ac_ext <<_ACEOF
11376#line $LINENO "configure"
11377/* confdefs.h. */
11378_ACEOF
11379cat confdefs.h >>conftest.$ac_ext
11380cat >>conftest.$ac_ext <<_ACEOF
11381/* end confdefs.h. */
11382$ac_declaration
11383int
11384main ()
11385{
11386exit (42);
11387 ;
11388 return 0;
11389}
11390_ACEOF
11391rm -f conftest.$ac_objext
11392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -s conftest.$ac_objext'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11400 ac_status=$?
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; }; then
11403 break
11404else
11405 echo "$as_me: failed program was:" >&5
11406sed 's/^/| /' conftest.$ac_ext >&5
11407
11408fi
11409rm -f conftest.$ac_objext conftest.$ac_ext
11410done
11411rm -f conftest*
11412if test -n "$ac_declaration"; then
11413 echo '#ifdef __cplusplus' >>confdefs.h
11414 echo $ac_declaration >>confdefs.h
11415 echo '#endif' >>confdefs.h
11416fi
11417
11418ac_ext=cc
11419ac_cpp='$CXXCPP $CPPFLAGS'
11420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11423
11424
11425ac_ext=c
11426ac_cpp='$CPP $CPPFLAGS'
11427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429ac_compiler_gnu=$ac_cv_c_compiler_gnu
11430
11431
11432if test -n "$ac_tool_prefix"; then
11433 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11434set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11435echo "$as_me:$LINENO: checking for $ac_word" >&5
11436echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11437if test "${ac_cv_prog_RANLIB+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11439else
11440 if test -n "$RANLIB"; then
11441 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11442else
11443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11444for as_dir in $PATH
11445do
11446 IFS=$as_save_IFS
11447 test -z "$as_dir" && as_dir=.
11448 for ac_exec_ext in '' $ac_executable_extensions; do
11449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11450 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11452 break 2
11453 fi
11454done
11455done
11456
11457fi
11458fi
11459RANLIB=$ac_cv_prog_RANLIB
11460if test -n "$RANLIB"; then
11461 echo "$as_me:$LINENO: result: $RANLIB" >&5
11462echo "${ECHO_T}$RANLIB" >&6
11463else
11464 echo "$as_me:$LINENO: result: no" >&5
11465echo "${ECHO_T}no" >&6
11466fi
11467
11468fi
11469if test -z "$ac_cv_prog_RANLIB"; then
11470 ac_ct_RANLIB=$RANLIB
11471 # Extract the first word of "ranlib", so it can be a program name with args.
11472set dummy ranlib; ac_word=$2
11473echo "$as_me:$LINENO: checking for $ac_word" >&5
11474echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11475if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11477else
11478 if test -n "$ac_ct_RANLIB"; then
11479 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11480else
11481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11482for as_dir in $PATH
11483do
11484 IFS=$as_save_IFS
11485 test -z "$as_dir" && as_dir=.
11486 for ac_exec_ext in '' $ac_executable_extensions; do
11487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11488 ac_cv_prog_ac_ct_RANLIB="ranlib"
11489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11490 break 2
11491 fi
11492done
11493done
11494
11495 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11496fi
11497fi
11498ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11499if test -n "$ac_ct_RANLIB"; then
11500 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11501echo "${ECHO_T}$ac_ct_RANLIB" >&6
11502else
11503 echo "$as_me:$LINENO: result: no" >&5
11504echo "${ECHO_T}no" >&6
11505fi
11506
11507 RANLIB=$ac_ct_RANLIB
11508else
11509 RANLIB="$ac_cv_prog_RANLIB"
11510fi
11511
11512
11513# Extract the first word of "ar", so it can be a program name with args.
11514set dummy ar; ac_word=$2
11515echo "$as_me:$LINENO: checking for $ac_word" >&5
11516echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517if test "${ac_cv_prog_AR+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519else
11520 if test -n "$AR"; then
11521 ac_cv_prog_AR="$AR" # Let the user override the test.
11522else
11523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11524for as_dir in $PATH
11525do
11526 IFS=$as_save_IFS
11527 test -z "$as_dir" && as_dir=.
11528 for ac_exec_ext in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_prog_AR="ar"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 break 2
11533 fi
11534done
11535done
11536
11537fi
11538fi
11539AR=$ac_cv_prog_AR
11540if test -n "$AR"; then
11541 echo "$as_me:$LINENO: result: $AR" >&5
11542echo "${ECHO_T}$AR" >&6
11543else
11544 echo "$as_me:$LINENO: result: no" >&5
11545echo "${ECHO_T}no" >&6
11546fi
11547
11548if test "x$AR" = "x" ; then
11549 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11550echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11551 { (exit 1); exit 1; }; }
11552fi
11553
11554# Find a good install program. We prefer a C program (faster),
11555# so one script is as good as another. But avoid the broken or
11556# incompatible versions:
11557# SysV /etc/install, /usr/sbin/install
11558# SunOS /usr/etc/install
11559# IRIX /sbin/install
11560# AIX /bin/install
11561# AmigaOS /C/install, which installs bootblocks on floppy discs
11562# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11563# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11564# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11565# ./install, which can be erroneously created by make from ./install.sh.
11566echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11567echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11568if test -z "$INSTALL"; then
11569if test "${ac_cv_path_install+set}" = set; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6
11571else
11572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11573for as_dir in $PATH
11574do
11575 IFS=$as_save_IFS
11576 test -z "$as_dir" && as_dir=.
11577 # Account for people who put trailing slashes in PATH elements.
11578case $as_dir/ in
11579 ./ | .// | /cC/* | \
11580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11581 /usr/ucb/* ) ;;
11582 *)
11583 # OSF1 and SCO ODT 3.0 have their own names for install.
11584 # Don't use installbsd from OSF since it installs stuff as root
11585 # by default.
11586 for ac_prog in ginstall scoinst install; do
11587 for ac_exec_ext in '' $ac_executable_extensions; do
11588 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11589 if test $ac_prog = install &&
11590 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11591 # AIX install. It has an incompatible calling convention.
11592 :
11593 elif test $ac_prog = install &&
11594 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11595 # program-specific install script used by HP pwplus--don't use.
11596 :
11597 else
11598 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11599 break 3
11600 fi
11601 fi
11602 done
11603 done
11604 ;;
11605esac
11606done
11607
11608
11609fi
11610 if test "${ac_cv_path_install+set}" = set; then
11611 INSTALL=$ac_cv_path_install
11612 else
11613 # As a last resort, use the slow shell script. We don't cache a
11614 # path for INSTALL within a source directory, because that will
11615 # break other packages using the cache if that directory is
11616 # removed, or if the path is relative.
11617 INSTALL=$ac_install_sh
11618 fi
11619fi
11620echo "$as_me:$LINENO: result: $INSTALL" >&5
11621echo "${ECHO_T}$INSTALL" >&6
11622
11623# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11624# It thinks the first close brace ends the variable substitution.
11625test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11626
11627test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11628
11629test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11630
11631
11632case ${INSTALL} in
11633 /* ) # Absolute
11634 ;;
11635 ?:* ) # Drive letter, considered as absolute.
11636 ;;
11637 *)
11638 INSTALL=`pwd`/${INSTALL} ;;
11639esac
11640
11641case ${host} in
11642 *-hp-hpux* )
11643 INSTALL_DIR="mkdir"
11644 ;;
11645
11646 *) INSTALL_DIR="$INSTALL -d"
11647 ;;
11648esac
11649
11650
11651case "${host}" in
11652
11653 powerpc-*-darwin* )
11654 INSTALL_PROGRAM="cp -fp"
11655 INSTALL_DATA="cp -fp"
11656 ;;
11657 *)
11658 ;;
11659esac
11660
11661# Extract the first word of "strip", so it can be a program name with args.
11662set dummy strip; ac_word=$2
11663echo "$as_me:$LINENO: checking for $ac_word" >&5
11664echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11665if test "${ac_cv_prog_STRIP+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11667else
11668 if test -n "$STRIP"; then
11669 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11670else
11671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11672for as_dir in $PATH
11673do
11674 IFS=$as_save_IFS
11675 test -z "$as_dir" && as_dir=.
11676 for ac_exec_ext in '' $ac_executable_extensions; do
11677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11678 ac_cv_prog_STRIP="strip"
11679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11680 break 2
11681 fi
11682done
11683done
11684
11685 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11686fi
11687fi
11688STRIP=$ac_cv_prog_STRIP
11689if test -n "$STRIP"; then
11690 echo "$as_me:$LINENO: result: $STRIP" >&5
11691echo "${ECHO_T}$STRIP" >&6
11692else
11693 echo "$as_me:$LINENO: result: no" >&5
11694echo "${ECHO_T}no" >&6
11695fi
11696
11697
11698echo "$as_me:$LINENO: checking if make is GNU make" >&5
11699echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11700if test "${wx_cv_prog_makeisgnu+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11702else
11703
11704 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11705 egrep -s GNU > /dev/null); then
11706 wx_cv_prog_makeisgnu="yes"
11707 else
11708 wx_cv_prog_makeisgnu="no"
11709 fi
11710
11711fi
11712echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11713echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11714
11715if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11716 IF_GNU_MAKE=""
11717else
11718 IF_GNU_MAKE="#"
11719fi
11720
11721
11722
11723if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11724echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11725echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11726if test "${wx_cv_prog_makevpath+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11728else
11729
11730cat - << EOF > confMake
11731check : file
11732 cp \$? \$@
11733 cp \$? final_file
11734EOF
11735
11736if test ! -d sub ; then
11737 mkdir sub
11738fi
11739echo dummy > sub/file
11740${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11741RESULT=$?
11742rm -f sub/file check final_file confMake
11743rmdir sub
11744if test "$RESULT" = 0; then
11745 wx_cv_prog_makevpath="yes"
11746else
11747 wx_cv_prog_makevpath="no"
11748fi
11749
11750fi
11751echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11752echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11753
11754if test "x$wx_cv_prog_makevpath" != "xyes"; then
11755{ { echo "$as_me:$LINENO: error:
11756You need a make-utility that is able to use the variable
11757VPATH correctly.
11758If your version of make does not support VPATH correctly,
11759please install GNU-make (possibly as gmake), and start
11760configure with the following command:
11761export MAKE=gmake; ./configure for sh-type shells
11762setenv MAKE gmake; ./configure for csh-type shells
11763Also please do remember to use gmake in this case every time
11764you are trying to compile.
11765" >&5
11766echo "$as_me: error:
11767You need a make-utility that is able to use the variable
11768VPATH correctly.
11769If your version of make does not support VPATH correctly,
11770please install GNU-make (possibly as gmake), and start
11771configure with the following command:
11772export MAKE=gmake; ./configure for sh-type shells
11773setenv MAKE gmake; ./configure for csh-type shells
11774Also please do remember to use gmake in this case every time
11775you are trying to compile.
11776" >&2;}
11777 { (exit 1); exit 1; }; }
11778fi fi
11779echo "$as_me:$LINENO: checking whether ln -s works" >&5
11780echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11781LN_S=$as_ln_s
11782if test "$LN_S" = "ln -s"; then
11783 echo "$as_me:$LINENO: result: yes" >&5
11784echo "${ECHO_T}yes" >&6
11785else
11786 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11787echo "${ECHO_T}no, using $LN_S" >&6
11788fi
11789
11790
11791case "${host}" in
11792 *-pc-os2_emx | *-pc-os2-emx )
11793 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11794 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11795echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11796if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11798else
11799 ac_check_lib_save_LIBS=$LIBS
11800LIBS="-lcExt $LIBS"
11801cat >conftest.$ac_ext <<_ACEOF
11802#line $LINENO "configure"
11803/* confdefs.h. */
11804_ACEOF
11805cat confdefs.h >>conftest.$ac_ext
11806cat >>conftest.$ac_ext <<_ACEOF
11807/* end confdefs.h. */
11808
11809/* Override any gcc2 internal prototype to avoid an error. */
11810#ifdef __cplusplus
11811extern "C"
11812#endif
11813/* We use char because int might match the return type of a gcc2
11814 builtin and then its argument prototype would still apply. */
11815char drand48 ();
11816int
11817main ()
11818{
11819drand48 ();
11820 ;
11821 return 0;
11822}
11823_ACEOF
11824rm -f conftest.$ac_objext conftest$ac_exeext
11825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11826 (eval $ac_link) 2>&5
11827 ac_status=$?
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try='test -s conftest$ac_exeext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 ac_cv_lib_cExt_drand48=yes
11837else
11838 echo "$as_me: failed program was:" >&5
11839sed 's/^/| /' conftest.$ac_ext >&5
11840
11841ac_cv_lib_cExt_drand48=no
11842fi
11843rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11844LIBS=$ac_check_lib_save_LIBS
11845fi
11846echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11847echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11848if test $ac_cv_lib_cExt_drand48 = yes; then
11849 LIBS="$LIBS -lcExt"
11850fi
11851
11852 else
11853 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11854 fi
11855 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11856echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11857if test "${wx_cv_gcc3+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11859else
11860
11861 cat >conftest.$ac_ext <<_ACEOF
11862#line $LINENO "configure"
11863/* confdefs.h. */
11864_ACEOF
11865cat confdefs.h >>conftest.$ac_ext
11866cat >>conftest.$ac_ext <<_ACEOF
11867/* end confdefs.h. */
11868
11869int
11870main ()
11871{
11872
11873 #if (__GNUC__ < 3)
11874 #error old gcc
11875 #endif
11876
11877 ;
11878 return 0;
11879}
11880_ACEOF
11881rm -f conftest.$ac_objext
11882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11883 (eval $ac_compile) 2>&5
11884 ac_status=$?
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try='test -s conftest.$ac_objext'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11890 ac_status=$?
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; }; then
11893
11894 wx_cv_gcc3=yes
11895
11896else
11897 echo "$as_me: failed program was:" >&5
11898sed 's/^/| /' conftest.$ac_ext >&5
11899
11900
11901 wx_cv_gcc3=no
11902
11903
11904fi
11905rm -f conftest.$ac_objext conftest.$ac_ext
11906
11907fi
11908echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11909echo "${ECHO_T}$wx_cv_gcc3" >&6
11910 if test "$wx_cv_gcc3" = "no"; then
11911 LIBS="$LIBS -lstdcpp"
11912 else
11913 LIBS="$LIBS -lstdcxx"
11914 fi
11915 ;;
11916esac
11917
11918
11919if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11920 echo "$as_me:$LINENO: checking for strings.h" >&5
11921echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11922if test "${ac_cv_header_strings_h+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11924else
11925 ac_cv_header_strings_h=no
11926fi
11927echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11928echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11929 if test "$ac_cv_header_strings_h" = "no"; then
11930 echo "$as_me:$LINENO: result: forced no into cache" >&5
11931echo "${ECHO_T}forced no into cache" >&6
11932 else
11933 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11934echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11935 fi
11936fi
11937echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11938echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11939if test "${ac_cv_header_stdc+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11941else
11942 cat >conftest.$ac_ext <<_ACEOF
11943#line $LINENO "configure"
11944/* confdefs.h. */
11945_ACEOF
11946cat confdefs.h >>conftest.$ac_ext
11947cat >>conftest.$ac_ext <<_ACEOF
11948/* end confdefs.h. */
11949#include <stdlib.h>
11950#include <stdarg.h>
11951#include <string.h>
11952#include <float.h>
11953
11954int
11955main ()
11956{
11957
11958 ;
11959 return 0;
11960}
11961_ACEOF
11962rm -f conftest.$ac_objext
11963if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11964 (eval $ac_compile) 2>&5
11965 ac_status=$?
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } &&
11968 { ac_try='test -s conftest.$ac_objext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11971 ac_status=$?
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 ac_cv_header_stdc=yes
11975else
11976 echo "$as_me: failed program was:" >&5
11977sed 's/^/| /' conftest.$ac_ext >&5
11978
11979ac_cv_header_stdc=no
11980fi
11981rm -f conftest.$ac_objext conftest.$ac_ext
11982
11983if test $ac_cv_header_stdc = yes; then
11984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11985 cat >conftest.$ac_ext <<_ACEOF
11986#line $LINENO "configure"
11987/* confdefs.h. */
11988_ACEOF
11989cat confdefs.h >>conftest.$ac_ext
11990cat >>conftest.$ac_ext <<_ACEOF
11991/* end confdefs.h. */
11992#include <string.h>
11993
11994_ACEOF
11995if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11996 $EGREP "memchr" >/dev/null 2>&1; then
11997 :
11998else
11999 ac_cv_header_stdc=no
12000fi
12001rm -f conftest*
12002
12003fi
12004
12005if test $ac_cv_header_stdc = yes; then
12006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12007 cat >conftest.$ac_ext <<_ACEOF
12008#line $LINENO "configure"
12009/* confdefs.h. */
12010_ACEOF
12011cat confdefs.h >>conftest.$ac_ext
12012cat >>conftest.$ac_ext <<_ACEOF
12013/* end confdefs.h. */
12014#include <stdlib.h>
12015
12016_ACEOF
12017if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12018 $EGREP "free" >/dev/null 2>&1; then
12019 :
12020else
12021 ac_cv_header_stdc=no
12022fi
12023rm -f conftest*
12024
12025fi
12026
12027if test $ac_cv_header_stdc = yes; then
12028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12029 if test "$cross_compiling" = yes; then
12030 :
12031else
12032 cat >conftest.$ac_ext <<_ACEOF
12033#line $LINENO "configure"
12034/* confdefs.h. */
12035_ACEOF
12036cat confdefs.h >>conftest.$ac_ext
12037cat >>conftest.$ac_ext <<_ACEOF
12038/* end confdefs.h. */
12039#include <ctype.h>
12040#if ((' ' & 0x0FF) == 0x020)
12041# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12042# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12043#else
12044# define ISLOWER(c) \
12045 (('a' <= (c) && (c) <= 'i') \
12046 || ('j' <= (c) && (c) <= 'r') \
12047 || ('s' <= (c) && (c) <= 'z'))
12048# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12049#endif
12050
12051#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12052int
12053main ()
12054{
12055 int i;
12056 for (i = 0; i < 256; i++)
12057 if (XOR (islower (i), ISLOWER (i))
12058 || toupper (i) != TOUPPER (i))
12059 exit(2);
12060 exit (0);
12061}
12062_ACEOF
12063rm -f conftest$ac_exeext
12064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12066 ac_status=$?
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 :
12075else
12076 echo "$as_me: program exited with status $ac_status" >&5
12077echo "$as_me: failed program was:" >&5
12078sed 's/^/| /' conftest.$ac_ext >&5
12079
12080( exit $ac_status )
12081ac_cv_header_stdc=no
12082fi
12083rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12084fi
12085fi
12086fi
12087echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12088echo "${ECHO_T}$ac_cv_header_stdc" >&6
12089if test $ac_cv_header_stdc = yes; then
12090
12091cat >>confdefs.h <<\_ACEOF
12092#define STDC_HEADERS 1
12093_ACEOF
12094
12095fi
12096
12097# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12108 inttypes.h stdint.h unistd.h
12109do
12110as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12111echo "$as_me:$LINENO: checking for $ac_header" >&5
12112echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12113if eval "test \"\${$as_ac_Header+set}\" = set"; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12115else
12116 cat >conftest.$ac_ext <<_ACEOF
12117#line $LINENO "configure"
12118/* confdefs.h. */
12119_ACEOF
12120cat confdefs.h >>conftest.$ac_ext
12121cat >>conftest.$ac_ext <<_ACEOF
12122/* end confdefs.h. */
12123$ac_includes_default
12124
12125#include <$ac_header>
12126_ACEOF
12127rm -f conftest.$ac_objext
12128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>&5
12130 ac_status=$?
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -s conftest.$ac_objext'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12136 ac_status=$?
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 eval "$as_ac_Header=yes"
12140else
12141 echo "$as_me: failed program was:" >&5
12142sed 's/^/| /' conftest.$ac_ext >&5
12143
12144eval "$as_ac_Header=no"
12145fi
12146rm -f conftest.$ac_objext conftest.$ac_ext
12147fi
12148echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12149echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12150if test `eval echo '${'$as_ac_Header'}'` = yes; then
12151 cat >>confdefs.h <<_ACEOF
12152#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12153_ACEOF
12154
12155fi
12156
12157done
12158
12159
12160
12161for ac_header in strings.h
12162do
12163as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12164if eval "test \"\${$as_ac_Header+set}\" = set"; then
12165 echo "$as_me:$LINENO: checking for $ac_header" >&5
12166echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12167if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12169fi
12170echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12171echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12172else
12173 # Is the header compilable?
12174echo "$as_me:$LINENO: checking $ac_header usability" >&5
12175echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12176cat >conftest.$ac_ext <<_ACEOF
12177#line $LINENO "configure"
12178/* confdefs.h. */
12179_ACEOF
12180cat confdefs.h >>conftest.$ac_ext
12181cat >>conftest.$ac_ext <<_ACEOF
12182/* end confdefs.h. */
12183$ac_includes_default
12184#include <$ac_header>
12185_ACEOF
12186rm -f conftest.$ac_objext
12187if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 (eval $ac_compile) 2>&5
12189 ac_status=$?
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } &&
12192 { ac_try='test -s conftest.$ac_objext'
12193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12194 (eval $ac_try) 2>&5
12195 ac_status=$?
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }; }; then
12198 ac_header_compiler=yes
12199else
12200 echo "$as_me: failed program was:" >&5
12201sed 's/^/| /' conftest.$ac_ext >&5
12202
12203ac_header_compiler=no
12204fi
12205rm -f conftest.$ac_objext conftest.$ac_ext
12206echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12207echo "${ECHO_T}$ac_header_compiler" >&6
12208
12209# Is the header present?
12210echo "$as_me:$LINENO: checking $ac_header presence" >&5
12211echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12212cat >conftest.$ac_ext <<_ACEOF
12213#line $LINENO "configure"
12214/* confdefs.h. */
12215_ACEOF
12216cat confdefs.h >>conftest.$ac_ext
12217cat >>conftest.$ac_ext <<_ACEOF
12218/* end confdefs.h. */
12219#include <$ac_header>
12220_ACEOF
12221if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12223 ac_status=$?
12224 grep -v '^ *+' conftest.er1 >conftest.err
12225 rm -f conftest.er1
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } >/dev/null; then
12229 if test -s conftest.err; then
12230 ac_cpp_err=$ac_c_preproc_warn_flag
12231 else
12232 ac_cpp_err=
12233 fi
12234else
12235 ac_cpp_err=yes
12236fi
12237if test -z "$ac_cpp_err"; then
12238 ac_header_preproc=yes
12239else
12240 echo "$as_me: failed program was:" >&5
12241sed 's/^/| /' conftest.$ac_ext >&5
12242
12243 ac_header_preproc=no
12244fi
12245rm -f conftest.err conftest.$ac_ext
12246echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12247echo "${ECHO_T}$ac_header_preproc" >&6
12248
12249# So? What about this header?
12250case $ac_header_compiler:$ac_header_preproc in
12251 yes:no )
12252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12253echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12255echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12256 (
12257 cat <<\_ASBOX
12258## ------------------------------------ ##
12259## Report this to bug-autoconf@gnu.org. ##
12260## ------------------------------------ ##
12261_ASBOX
12262 ) |
12263 sed "s/^/$as_me: WARNING: /" >&2
12264 ;;
12265 no:yes )
12266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12267echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12269echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12271echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12272 (
12273 cat <<\_ASBOX
12274## ------------------------------------ ##
12275## Report this to bug-autoconf@gnu.org. ##
12276## ------------------------------------ ##
12277_ASBOX
12278 ) |
12279 sed "s/^/$as_me: WARNING: /" >&2
12280 ;;
12281esac
12282echo "$as_me:$LINENO: checking for $ac_header" >&5
12283echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12284if eval "test \"\${$as_ac_Header+set}\" = set"; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12286else
12287 eval "$as_ac_Header=$ac_header_preproc"
12288fi
12289echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12290echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12291
12292fi
12293if test `eval echo '${'$as_ac_Header'}'` = yes; then
12294 cat >>confdefs.h <<_ACEOF
12295#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12296_ACEOF
12297
12298fi
12299
12300done
12301
12302
12303
12304for ac_header in stdlib.h
12305do
12306as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12307if eval "test \"\${$as_ac_Header+set}\" = set"; then
12308 echo "$as_me:$LINENO: checking for $ac_header" >&5
12309echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12312fi
12313echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12314echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12315else
12316 # Is the header compilable?
12317echo "$as_me:$LINENO: checking $ac_header usability" >&5
12318echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12319cat >conftest.$ac_ext <<_ACEOF
12320#line $LINENO "configure"
12321/* confdefs.h. */
12322_ACEOF
12323cat confdefs.h >>conftest.$ac_ext
12324cat >>conftest.$ac_ext <<_ACEOF
12325/* end confdefs.h. */
12326$ac_includes_default
12327#include <$ac_header>
12328_ACEOF
12329rm -f conftest.$ac_objext
12330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try='test -s conftest.$ac_objext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12338 ac_status=$?
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_header_compiler=yes
12342else
12343 echo "$as_me: failed program was:" >&5
12344sed 's/^/| /' conftest.$ac_ext >&5
12345
12346ac_header_compiler=no
12347fi
12348rm -f conftest.$ac_objext conftest.$ac_ext
12349echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12350echo "${ECHO_T}$ac_header_compiler" >&6
12351
12352# Is the header present?
12353echo "$as_me:$LINENO: checking $ac_header presence" >&5
12354echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12355cat >conftest.$ac_ext <<_ACEOF
12356#line $LINENO "configure"
12357/* confdefs.h. */
12358_ACEOF
12359cat confdefs.h >>conftest.$ac_ext
12360cat >>conftest.$ac_ext <<_ACEOF
12361/* end confdefs.h. */
12362#include <$ac_header>
12363_ACEOF
12364if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12366 ac_status=$?
12367 grep -v '^ *+' conftest.er1 >conftest.err
12368 rm -f conftest.er1
12369 cat conftest.err >&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } >/dev/null; then
12372 if test -s conftest.err; then
12373 ac_cpp_err=$ac_c_preproc_warn_flag
12374 else
12375 ac_cpp_err=
12376 fi
12377else
12378 ac_cpp_err=yes
12379fi
12380if test -z "$ac_cpp_err"; then
12381 ac_header_preproc=yes
12382else
12383 echo "$as_me: failed program was:" >&5
12384sed 's/^/| /' conftest.$ac_ext >&5
12385
12386 ac_header_preproc=no
12387fi
12388rm -f conftest.err conftest.$ac_ext
12389echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12390echo "${ECHO_T}$ac_header_preproc" >&6
12391
12392# So? What about this header?
12393case $ac_header_compiler:$ac_header_preproc in
12394 yes:no )
12395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12396echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12398echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12399 (
12400 cat <<\_ASBOX
12401## ------------------------------------ ##
12402## Report this to bug-autoconf@gnu.org. ##
12403## ------------------------------------ ##
12404_ASBOX
12405 ) |
12406 sed "s/^/$as_me: WARNING: /" >&2
12407 ;;
12408 no:yes )
12409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12410echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12412echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12414echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12415 (
12416 cat <<\_ASBOX
12417## ------------------------------------ ##
12418## Report this to bug-autoconf@gnu.org. ##
12419## ------------------------------------ ##
12420_ASBOX
12421 ) |
12422 sed "s/^/$as_me: WARNING: /" >&2
12423 ;;
12424esac
12425echo "$as_me:$LINENO: checking for $ac_header" >&5
12426echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12427if eval "test \"\${$as_ac_Header+set}\" = set"; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12429else
12430 eval "$as_ac_Header=$ac_header_preproc"
12431fi
12432echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12433echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12434
12435fi
12436if test `eval echo '${'$as_ac_Header'}'` = yes; then
12437 cat >>confdefs.h <<_ACEOF
12438#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12439_ACEOF
12440
12441fi
12442
12443done
12444
12445
12446for ac_header in malloc.h
12447do
12448as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12449if eval "test \"\${$as_ac_Header+set}\" = set"; then
12450 echo "$as_me:$LINENO: checking for $ac_header" >&5
12451echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12452if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454fi
12455echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12456echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12457else
12458 # Is the header compilable?
12459echo "$as_me:$LINENO: checking $ac_header usability" >&5
12460echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12461cat >conftest.$ac_ext <<_ACEOF
12462#line $LINENO "configure"
12463/* confdefs.h. */
12464_ACEOF
12465cat confdefs.h >>conftest.$ac_ext
12466cat >>conftest.$ac_ext <<_ACEOF
12467/* end confdefs.h. */
12468$ac_includes_default
12469#include <$ac_header>
12470_ACEOF
12471rm -f conftest.$ac_objext
12472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12473 (eval $ac_compile) 2>&5
12474 ac_status=$?
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try='test -s conftest.$ac_objext'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12480 ac_status=$?
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; }; then
12483 ac_header_compiler=yes
12484else
12485 echo "$as_me: failed program was:" >&5
12486sed 's/^/| /' conftest.$ac_ext >&5
12487
12488ac_header_compiler=no
12489fi
12490rm -f conftest.$ac_objext conftest.$ac_ext
12491echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12492echo "${ECHO_T}$ac_header_compiler" >&6
12493
12494# Is the header present?
12495echo "$as_me:$LINENO: checking $ac_header presence" >&5
12496echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12497cat >conftest.$ac_ext <<_ACEOF
12498#line $LINENO "configure"
12499/* confdefs.h. */
12500_ACEOF
12501cat confdefs.h >>conftest.$ac_ext
12502cat >>conftest.$ac_ext <<_ACEOF
12503/* end confdefs.h. */
12504#include <$ac_header>
12505_ACEOF
12506if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12508 ac_status=$?
12509 grep -v '^ *+' conftest.er1 >conftest.err
12510 rm -f conftest.er1
12511 cat conftest.err >&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } >/dev/null; then
12514 if test -s conftest.err; then
12515 ac_cpp_err=$ac_c_preproc_warn_flag
12516 else
12517 ac_cpp_err=
12518 fi
12519else
12520 ac_cpp_err=yes
12521fi
12522if test -z "$ac_cpp_err"; then
12523 ac_header_preproc=yes
12524else
12525 echo "$as_me: failed program was:" >&5
12526sed 's/^/| /' conftest.$ac_ext >&5
12527
12528 ac_header_preproc=no
12529fi
12530rm -f conftest.err conftest.$ac_ext
12531echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12532echo "${ECHO_T}$ac_header_preproc" >&6
12533
12534# So? What about this header?
12535case $ac_header_compiler:$ac_header_preproc in
12536 yes:no )
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12538echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12540echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12541 (
12542 cat <<\_ASBOX
12543## ------------------------------------ ##
12544## Report this to bug-autoconf@gnu.org. ##
12545## ------------------------------------ ##
12546_ASBOX
12547 ) |
12548 sed "s/^/$as_me: WARNING: /" >&2
12549 ;;
12550 no:yes )
12551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12552echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12554echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12556echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12557 (
12558 cat <<\_ASBOX
12559## ------------------------------------ ##
12560## Report this to bug-autoconf@gnu.org. ##
12561## ------------------------------------ ##
12562_ASBOX
12563 ) |
12564 sed "s/^/$as_me: WARNING: /" >&2
12565 ;;
12566esac
12567echo "$as_me:$LINENO: checking for $ac_header" >&5
12568echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12569if eval "test \"\${$as_ac_Header+set}\" = set"; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12571else
12572 eval "$as_ac_Header=$ac_header_preproc"
12573fi
12574echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12575echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12576
12577fi
12578if test `eval echo '${'$as_ac_Header'}'` = yes; then
12579 cat >>confdefs.h <<_ACEOF
12580#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12581_ACEOF
12582
12583fi
12584
12585done
12586
12587
12588for ac_header in unistd.h
12589do
12590as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12591if eval "test \"\${$as_ac_Header+set}\" = set"; then
12592 echo "$as_me:$LINENO: checking for $ac_header" >&5
12593echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12594if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596fi
12597echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12598echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12599else
12600 # Is the header compilable?
12601echo "$as_me:$LINENO: checking $ac_header usability" >&5
12602echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12603cat >conftest.$ac_ext <<_ACEOF
12604#line $LINENO "configure"
12605/* confdefs.h. */
12606_ACEOF
12607cat confdefs.h >>conftest.$ac_ext
12608cat >>conftest.$ac_ext <<_ACEOF
12609/* end confdefs.h. */
12610$ac_includes_default
12611#include <$ac_header>
12612_ACEOF
12613rm -f conftest.$ac_objext
12614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12615 (eval $ac_compile) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try='test -s conftest.$ac_objext'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12622 ac_status=$?
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; }; then
12625 ac_header_compiler=yes
12626else
12627 echo "$as_me: failed program was:" >&5
12628sed 's/^/| /' conftest.$ac_ext >&5
12629
12630ac_header_compiler=no
12631fi
12632rm -f conftest.$ac_objext conftest.$ac_ext
12633echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12634echo "${ECHO_T}$ac_header_compiler" >&6
12635
12636# Is the header present?
12637echo "$as_me:$LINENO: checking $ac_header presence" >&5
12638echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12639cat >conftest.$ac_ext <<_ACEOF
12640#line $LINENO "configure"
12641/* confdefs.h. */
12642_ACEOF
12643cat confdefs.h >>conftest.$ac_ext
12644cat >>conftest.$ac_ext <<_ACEOF
12645/* end confdefs.h. */
12646#include <$ac_header>
12647_ACEOF
12648if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12650 ac_status=$?
12651 grep -v '^ *+' conftest.er1 >conftest.err
12652 rm -f conftest.er1
12653 cat conftest.err >&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } >/dev/null; then
12656 if test -s conftest.err; then
12657 ac_cpp_err=$ac_c_preproc_warn_flag
12658 else
12659 ac_cpp_err=
12660 fi
12661else
12662 ac_cpp_err=yes
12663fi
12664if test -z "$ac_cpp_err"; then
12665 ac_header_preproc=yes
12666else
12667 echo "$as_me: failed program was:" >&5
12668sed 's/^/| /' conftest.$ac_ext >&5
12669
12670 ac_header_preproc=no
12671fi
12672rm -f conftest.err conftest.$ac_ext
12673echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12674echo "${ECHO_T}$ac_header_preproc" >&6
12675
12676# So? What about this header?
12677case $ac_header_compiler:$ac_header_preproc in
12678 yes:no )
12679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12680echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12682echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12683 (
12684 cat <<\_ASBOX
12685## ------------------------------------ ##
12686## Report this to bug-autoconf@gnu.org. ##
12687## ------------------------------------ ##
12688_ASBOX
12689 ) |
12690 sed "s/^/$as_me: WARNING: /" >&2
12691 ;;
12692 no:yes )
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12694echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12696echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12698echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12699 (
12700 cat <<\_ASBOX
12701## ------------------------------------ ##
12702## Report this to bug-autoconf@gnu.org. ##
12703## ------------------------------------ ##
12704_ASBOX
12705 ) |
12706 sed "s/^/$as_me: WARNING: /" >&2
12707 ;;
12708esac
12709echo "$as_me:$LINENO: checking for $ac_header" >&5
12710echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12711if eval "test \"\${$as_ac_Header+set}\" = set"; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12713else
12714 eval "$as_ac_Header=$ac_header_preproc"
12715fi
12716echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12717echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12718
12719fi
12720if test `eval echo '${'$as_ac_Header'}'` = yes; then
12721 cat >>confdefs.h <<_ACEOF
12722#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12723_ACEOF
12724
12725fi
12726
12727done
12728
12729
12730for ac_header in wchar.h
12731do
12732as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12733if eval "test \"\${$as_ac_Header+set}\" = set"; then
12734 echo "$as_me:$LINENO: checking for $ac_header" >&5
12735echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12736if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738fi
12739echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12740echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12741else
12742 # Is the header compilable?
12743echo "$as_me:$LINENO: checking $ac_header usability" >&5
12744echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12745cat >conftest.$ac_ext <<_ACEOF
12746#line $LINENO "configure"
12747/* confdefs.h. */
12748_ACEOF
12749cat confdefs.h >>conftest.$ac_ext
12750cat >>conftest.$ac_ext <<_ACEOF
12751/* end confdefs.h. */
12752$ac_includes_default
12753#include <$ac_header>
12754_ACEOF
12755rm -f conftest.$ac_objext
12756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_header_compiler=yes
12768else
12769 echo "$as_me: failed program was:" >&5
12770sed 's/^/| /' conftest.$ac_ext >&5
12771
12772ac_header_compiler=no
12773fi
12774rm -f conftest.$ac_objext conftest.$ac_ext
12775echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12776echo "${ECHO_T}$ac_header_compiler" >&6
12777
12778# Is the header present?
12779echo "$as_me:$LINENO: checking $ac_header presence" >&5
12780echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12781cat >conftest.$ac_ext <<_ACEOF
12782#line $LINENO "configure"
12783/* confdefs.h. */
12784_ACEOF
12785cat confdefs.h >>conftest.$ac_ext
12786cat >>conftest.$ac_ext <<_ACEOF
12787/* end confdefs.h. */
12788#include <$ac_header>
12789_ACEOF
12790if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12792 ac_status=$?
12793 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } >/dev/null; then
12798 if test -s conftest.err; then
12799 ac_cpp_err=$ac_c_preproc_warn_flag
12800 else
12801 ac_cpp_err=
12802 fi
12803else
12804 ac_cpp_err=yes
12805fi
12806if test -z "$ac_cpp_err"; then
12807 ac_header_preproc=yes
12808else
12809 echo "$as_me: failed program was:" >&5
12810sed 's/^/| /' conftest.$ac_ext >&5
12811
12812 ac_header_preproc=no
12813fi
12814rm -f conftest.err conftest.$ac_ext
12815echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12816echo "${ECHO_T}$ac_header_preproc" >&6
12817
12818# So? What about this header?
12819case $ac_header_compiler:$ac_header_preproc in
12820 yes:no )
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12822echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12824echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12825 (
12826 cat <<\_ASBOX
12827## ------------------------------------ ##
12828## Report this to bug-autoconf@gnu.org. ##
12829## ------------------------------------ ##
12830_ASBOX
12831 ) |
12832 sed "s/^/$as_me: WARNING: /" >&2
12833 ;;
12834 no:yes )
12835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12836echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12838echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12840echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12841 (
12842 cat <<\_ASBOX
12843## ------------------------------------ ##
12844## Report this to bug-autoconf@gnu.org. ##
12845## ------------------------------------ ##
12846_ASBOX
12847 ) |
12848 sed "s/^/$as_me: WARNING: /" >&2
12849 ;;
12850esac
12851echo "$as_me:$LINENO: checking for $ac_header" >&5
12852echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12853if eval "test \"\${$as_ac_Header+set}\" = set"; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12855else
12856 eval "$as_ac_Header=$ac_header_preproc"
12857fi
12858echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12859echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12860
12861fi
12862if test `eval echo '${'$as_ac_Header'}'` = yes; then
12863 cat >>confdefs.h <<_ACEOF
12864#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12865_ACEOF
12866
12867fi
12868
12869done
12870
12871
12872if test "$ac_cv_header_wchar_h" != "yes"; then
12873
12874for ac_header in wcstr.h
12875do
12876as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12877if eval "test \"\${$as_ac_Header+set}\" = set"; then
12878 echo "$as_me:$LINENO: checking for $ac_header" >&5
12879echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12880if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12882fi
12883echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12884echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12885else
12886 # Is the header compilable?
12887echo "$as_me:$LINENO: checking $ac_header usability" >&5
12888echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12889cat >conftest.$ac_ext <<_ACEOF
12890#line $LINENO "configure"
12891/* confdefs.h. */
12892_ACEOF
12893cat confdefs.h >>conftest.$ac_ext
12894cat >>conftest.$ac_ext <<_ACEOF
12895/* end confdefs.h. */
12896$ac_includes_default
12897#include <$ac_header>
12898_ACEOF
12899rm -f conftest.$ac_objext
12900if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901 (eval $ac_compile) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 ac_header_compiler=yes
12912else
12913 echo "$as_me: failed program was:" >&5
12914sed 's/^/| /' conftest.$ac_ext >&5
12915
12916ac_header_compiler=no
12917fi
12918rm -f conftest.$ac_objext conftest.$ac_ext
12919echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12920echo "${ECHO_T}$ac_header_compiler" >&6
12921
12922# Is the header present?
12923echo "$as_me:$LINENO: checking $ac_header presence" >&5
12924echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12925cat >conftest.$ac_ext <<_ACEOF
12926#line $LINENO "configure"
12927/* confdefs.h. */
12928_ACEOF
12929cat confdefs.h >>conftest.$ac_ext
12930cat >>conftest.$ac_ext <<_ACEOF
12931/* end confdefs.h. */
12932#include <$ac_header>
12933_ACEOF
12934if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12936 ac_status=$?
12937 grep -v '^ *+' conftest.er1 >conftest.err
12938 rm -f conftest.er1
12939 cat conftest.err >&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); } >/dev/null; then
12942 if test -s conftest.err; then
12943 ac_cpp_err=$ac_c_preproc_warn_flag
12944 else
12945 ac_cpp_err=
12946 fi
12947else
12948 ac_cpp_err=yes
12949fi
12950if test -z "$ac_cpp_err"; then
12951 ac_header_preproc=yes
12952else
12953 echo "$as_me: failed program was:" >&5
12954sed 's/^/| /' conftest.$ac_ext >&5
12955
12956 ac_header_preproc=no
12957fi
12958rm -f conftest.err conftest.$ac_ext
12959echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12960echo "${ECHO_T}$ac_header_preproc" >&6
12961
12962# So? What about this header?
12963case $ac_header_compiler:$ac_header_preproc in
12964 yes:no )
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12966echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12968echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12969 (
12970 cat <<\_ASBOX
12971## ------------------------------------ ##
12972## Report this to bug-autoconf@gnu.org. ##
12973## ------------------------------------ ##
12974_ASBOX
12975 ) |
12976 sed "s/^/$as_me: WARNING: /" >&2
12977 ;;
12978 no:yes )
12979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12980echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12982echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12984echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12985 (
12986 cat <<\_ASBOX
12987## ------------------------------------ ##
12988## Report this to bug-autoconf@gnu.org. ##
12989## ------------------------------------ ##
12990_ASBOX
12991 ) |
12992 sed "s/^/$as_me: WARNING: /" >&2
12993 ;;
12994esac
12995echo "$as_me:$LINENO: checking for $ac_header" >&5
12996echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12997if eval "test \"\${$as_ac_Header+set}\" = set"; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
12999else
13000 eval "$as_ac_Header=$ac_header_preproc"
13001fi
13002echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13003echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13004
13005fi
13006if test `eval echo '${'$as_ac_Header'}'` = yes; then
13007 cat >>confdefs.h <<_ACEOF
13008#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13009_ACEOF
13010
13011fi
13012
13013done
13014
13015fi
13016
13017
13018for ac_header in fnmatch.h
13019do
13020as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13021if eval "test \"\${$as_ac_Header+set}\" = set"; then
13022 echo "$as_me:$LINENO: checking for $ac_header" >&5
13023echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13024if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13026fi
13027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13028echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13029else
13030 # Is the header compilable?
13031echo "$as_me:$LINENO: checking $ac_header usability" >&5
13032echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13033cat >conftest.$ac_ext <<_ACEOF
13034#line $LINENO "configure"
13035/* confdefs.h. */
13036_ACEOF
13037cat confdefs.h >>conftest.$ac_ext
13038cat >>conftest.$ac_ext <<_ACEOF
13039/* end confdefs.h. */
13040$ac_includes_default
13041#include <$ac_header>
13042_ACEOF
13043rm -f conftest.$ac_objext
13044if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13045 (eval $ac_compile) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try='test -s conftest.$ac_objext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13052 ac_status=$?
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_header_compiler=yes
13056else
13057 echo "$as_me: failed program was:" >&5
13058sed 's/^/| /' conftest.$ac_ext >&5
13059
13060ac_header_compiler=no
13061fi
13062rm -f conftest.$ac_objext conftest.$ac_ext
13063echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13064echo "${ECHO_T}$ac_header_compiler" >&6
13065
13066# Is the header present?
13067echo "$as_me:$LINENO: checking $ac_header presence" >&5
13068echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13069cat >conftest.$ac_ext <<_ACEOF
13070#line $LINENO "configure"
13071/* confdefs.h. */
13072_ACEOF
13073cat confdefs.h >>conftest.$ac_ext
13074cat >>conftest.$ac_ext <<_ACEOF
13075/* end confdefs.h. */
13076#include <$ac_header>
13077_ACEOF
13078if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13080 ac_status=$?
13081 grep -v '^ *+' conftest.er1 >conftest.err
13082 rm -f conftest.er1
13083 cat conftest.err >&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } >/dev/null; then
13086 if test -s conftest.err; then
13087 ac_cpp_err=$ac_c_preproc_warn_flag
13088 else
13089 ac_cpp_err=
13090 fi
13091else
13092 ac_cpp_err=yes
13093fi
13094if test -z "$ac_cpp_err"; then
13095 ac_header_preproc=yes
13096else
13097 echo "$as_me: failed program was:" >&5
13098sed 's/^/| /' conftest.$ac_ext >&5
13099
13100 ac_header_preproc=no
13101fi
13102rm -f conftest.err conftest.$ac_ext
13103echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13104echo "${ECHO_T}$ac_header_preproc" >&6
13105
13106# So? What about this header?
13107case $ac_header_compiler:$ac_header_preproc in
13108 yes:no )
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13110echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13112echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13113 (
13114 cat <<\_ASBOX
13115## ------------------------------------ ##
13116## Report this to bug-autoconf@gnu.org. ##
13117## ------------------------------------ ##
13118_ASBOX
13119 ) |
13120 sed "s/^/$as_me: WARNING: /" >&2
13121 ;;
13122 no:yes )
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13124echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13126echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13128echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13129 (
13130 cat <<\_ASBOX
13131## ------------------------------------ ##
13132## Report this to bug-autoconf@gnu.org. ##
13133## ------------------------------------ ##
13134_ASBOX
13135 ) |
13136 sed "s/^/$as_me: WARNING: /" >&2
13137 ;;
13138esac
13139echo "$as_me:$LINENO: checking for $ac_header" >&5
13140echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13141if eval "test \"\${$as_ac_Header+set}\" = set"; then
13142 echo $ECHO_N "(cached) $ECHO_C" >&6
13143else
13144 eval "$as_ac_Header=$ac_header_preproc"
13145fi
13146echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13147echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13148
13149fi
13150if test `eval echo '${'$as_ac_Header'}'` = yes; then
13151 cat >>confdefs.h <<_ACEOF
13152#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13153_ACEOF
13154
13155fi
13156
13157done
13158
13159
13160if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13161
13162for ac_func in fnmatch
13163do
13164as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13165echo "$as_me:$LINENO: checking for $ac_func" >&5
13166echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13167if eval "test \"\${$as_ac_var+set}\" = set"; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13169else
13170 cat >conftest.$ac_ext <<_ACEOF
13171#line $LINENO "configure"
13172/* confdefs.h. */
13173_ACEOF
13174cat confdefs.h >>conftest.$ac_ext
13175cat >>conftest.$ac_ext <<_ACEOF
13176/* end confdefs.h. */
13177/* System header to define __stub macros and hopefully few prototypes,
13178 which can conflict with char $ac_func (); below.
13179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13180 <limits.h> exists even on freestanding compilers. */
13181#ifdef __STDC__
13182# include <limits.h>
13183#else
13184# include <assert.h>
13185#endif
13186/* Override any gcc2 internal prototype to avoid an error. */
13187#ifdef __cplusplus
13188extern "C"
13189{
13190#endif
13191/* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13193char $ac_func ();
13194/* The GNU C library defines this for functions which it implements
13195 to always fail with ENOSYS. Some functions are actually named
13196 something starting with __ and the normal name is an alias. */
13197#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198choke me
13199#else
13200char (*f) () = $ac_func;
13201#endif
13202#ifdef __cplusplus
13203}
13204#endif
13205
13206int
13207main ()
13208{
13209return f != $ac_func;
13210 ;
13211 return 0;
13212}
13213_ACEOF
13214rm -f conftest.$ac_objext conftest$ac_exeext
13215if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13216 (eval $ac_link) 2>&5
13217 ac_status=$?
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try='test -s conftest$ac_exeext'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13223 ac_status=$?
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; }; then
13226 eval "$as_ac_var=yes"
13227else
13228 echo "$as_me: failed program was:" >&5
13229sed 's/^/| /' conftest.$ac_ext >&5
13230
13231eval "$as_ac_var=no"
13232fi
13233rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13234fi
13235echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13236echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13237if test `eval echo '${'$as_ac_var'}'` = yes; then
13238 cat >>confdefs.h <<_ACEOF
13239#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13240_ACEOF
13241
13242fi
13243done
13244
13245fi
13246
13247
13248for ac_header in langinfo.h
13249do
13250as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13251if eval "test \"\${$as_ac_Header+set}\" = set"; then
13252 echo "$as_me:$LINENO: checking for $ac_header" >&5
13253echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13254if eval "test \"\${$as_ac_Header+set}\" = set"; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256fi
13257echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13258echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13259else
13260 # Is the header compilable?
13261echo "$as_me:$LINENO: checking $ac_header usability" >&5
13262echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13263cat >conftest.$ac_ext <<_ACEOF
13264#line $LINENO "configure"
13265/* confdefs.h. */
13266_ACEOF
13267cat confdefs.h >>conftest.$ac_ext
13268cat >>conftest.$ac_ext <<_ACEOF
13269/* end confdefs.h. */
13270$ac_includes_default
13271#include <$ac_header>
13272_ACEOF
13273rm -f conftest.$ac_objext
13274if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13282 ac_status=$?
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_header_compiler=yes
13286else
13287 echo "$as_me: failed program was:" >&5
13288sed 's/^/| /' conftest.$ac_ext >&5
13289
13290ac_header_compiler=no
13291fi
13292rm -f conftest.$ac_objext conftest.$ac_ext
13293echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13294echo "${ECHO_T}$ac_header_compiler" >&6
13295
13296# Is the header present?
13297echo "$as_me:$LINENO: checking $ac_header presence" >&5
13298echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13299cat >conftest.$ac_ext <<_ACEOF
13300#line $LINENO "configure"
13301/* confdefs.h. */
13302_ACEOF
13303cat confdefs.h >>conftest.$ac_ext
13304cat >>conftest.$ac_ext <<_ACEOF
13305/* end confdefs.h. */
13306#include <$ac_header>
13307_ACEOF
13308if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13310 ac_status=$?
13311 grep -v '^ *+' conftest.er1 >conftest.err
13312 rm -f conftest.er1
13313 cat conftest.err >&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); } >/dev/null; then
13316 if test -s conftest.err; then
13317 ac_cpp_err=$ac_c_preproc_warn_flag
13318 else
13319 ac_cpp_err=
13320 fi
13321else
13322 ac_cpp_err=yes
13323fi
13324if test -z "$ac_cpp_err"; then
13325 ac_header_preproc=yes
13326else
13327 echo "$as_me: failed program was:" >&5
13328sed 's/^/| /' conftest.$ac_ext >&5
13329
13330 ac_header_preproc=no
13331fi
13332rm -f conftest.err conftest.$ac_ext
13333echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13334echo "${ECHO_T}$ac_header_preproc" >&6
13335
13336# So? What about this header?
13337case $ac_header_compiler:$ac_header_preproc in
13338 yes:no )
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13340echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13342echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13343 (
13344 cat <<\_ASBOX
13345## ------------------------------------ ##
13346## Report this to bug-autoconf@gnu.org. ##
13347## ------------------------------------ ##
13348_ASBOX
13349 ) |
13350 sed "s/^/$as_me: WARNING: /" >&2
13351 ;;
13352 no:yes )
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13354echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13356echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13358echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13359 (
13360 cat <<\_ASBOX
13361## ------------------------------------ ##
13362## Report this to bug-autoconf@gnu.org. ##
13363## ------------------------------------ ##
13364_ASBOX
13365 ) |
13366 sed "s/^/$as_me: WARNING: /" >&2
13367 ;;
13368esac
13369echo "$as_me:$LINENO: checking for $ac_header" >&5
13370echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13371if eval "test \"\${$as_ac_Header+set}\" = set"; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13373else
13374 eval "$as_ac_Header=$ac_header_preproc"
13375fi
13376echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13377echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13378
13379fi
13380if test `eval echo '${'$as_ac_Header'}'` = yes; then
13381 cat >>confdefs.h <<_ACEOF
13382#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13383_ACEOF
13384
13385fi
13386
13387done
13388
13389
13390case "${host}" in
13391 *-pc-os2_emx | *-pc-os2-emx )
13392 if test $ac_cv_header_langinfo_h = "yes"; then
13393 LIBS="$LIBS -lintl"
13394 fi
13395 ;;
13396esac
13397
13398if test "$wxUSE_GUI" = "yes"; then
13399 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13400
13401for ac_header in X11/Xlib.h
13402do
13403as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13404if eval "test \"\${$as_ac_Header+set}\" = set"; then
13405 echo "$as_me:$LINENO: checking for $ac_header" >&5
13406echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13407if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409fi
13410echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13411echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13412else
13413 # Is the header compilable?
13414echo "$as_me:$LINENO: checking $ac_header usability" >&5
13415echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13416cat >conftest.$ac_ext <<_ACEOF
13417#line $LINENO "configure"
13418/* confdefs.h. */
13419_ACEOF
13420cat confdefs.h >>conftest.$ac_ext
13421cat >>conftest.$ac_ext <<_ACEOF
13422/* end confdefs.h. */
13423$ac_includes_default
13424#include <$ac_header>
13425_ACEOF
13426rm -f conftest.$ac_objext
13427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13428 (eval $ac_compile) 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13435 ac_status=$?
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 ac_header_compiler=yes
13439else
13440 echo "$as_me: failed program was:" >&5
13441sed 's/^/| /' conftest.$ac_ext >&5
13442
13443ac_header_compiler=no
13444fi
13445rm -f conftest.$ac_objext conftest.$ac_ext
13446echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13447echo "${ECHO_T}$ac_header_compiler" >&6
13448
13449# Is the header present?
13450echo "$as_me:$LINENO: checking $ac_header presence" >&5
13451echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13452cat >conftest.$ac_ext <<_ACEOF
13453#line $LINENO "configure"
13454/* confdefs.h. */
13455_ACEOF
13456cat confdefs.h >>conftest.$ac_ext
13457cat >>conftest.$ac_ext <<_ACEOF
13458/* end confdefs.h. */
13459#include <$ac_header>
13460_ACEOF
13461if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13463 ac_status=$?
13464 grep -v '^ *+' conftest.er1 >conftest.err
13465 rm -f conftest.er1
13466 cat conftest.err >&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } >/dev/null; then
13469 if test -s conftest.err; then
13470 ac_cpp_err=$ac_c_preproc_warn_flag
13471 else
13472 ac_cpp_err=
13473 fi
13474else
13475 ac_cpp_err=yes
13476fi
13477if test -z "$ac_cpp_err"; then
13478 ac_header_preproc=yes
13479else
13480 echo "$as_me: failed program was:" >&5
13481sed 's/^/| /' conftest.$ac_ext >&5
13482
13483 ac_header_preproc=no
13484fi
13485rm -f conftest.err conftest.$ac_ext
13486echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13487echo "${ECHO_T}$ac_header_preproc" >&6
13488
13489# So? What about this header?
13490case $ac_header_compiler:$ac_header_preproc in
13491 yes:no )
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13493echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13495echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13496 (
13497 cat <<\_ASBOX
13498## ------------------------------------ ##
13499## Report this to bug-autoconf@gnu.org. ##
13500## ------------------------------------ ##
13501_ASBOX
13502 ) |
13503 sed "s/^/$as_me: WARNING: /" >&2
13504 ;;
13505 no:yes )
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13507echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13509echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13511echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13512 (
13513 cat <<\_ASBOX
13514## ------------------------------------ ##
13515## Report this to bug-autoconf@gnu.org. ##
13516## ------------------------------------ ##
13517_ASBOX
13518 ) |
13519 sed "s/^/$as_me: WARNING: /" >&2
13520 ;;
13521esac
13522echo "$as_me:$LINENO: checking for $ac_header" >&5
13523echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13524if eval "test \"\${$as_ac_Header+set}\" = set"; then
13525 echo $ECHO_N "(cached) $ECHO_C" >&6
13526else
13527 eval "$as_ac_Header=$ac_header_preproc"
13528fi
13529echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13530echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13531
13532fi
13533if test `eval echo '${'$as_ac_Header'}'` = yes; then
13534 cat >>confdefs.h <<_ACEOF
13535#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13536_ACEOF
13537
13538fi
13539
13540done
13541
13542
13543for ac_header in X11/XKBlib.h
13544do
13545as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13546echo "$as_me:$LINENO: checking for $ac_header" >&5
13547echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550else
13551 cat >conftest.$ac_ext <<_ACEOF
13552#line $LINENO "configure"
13553/* confdefs.h. */
13554_ACEOF
13555cat confdefs.h >>conftest.$ac_ext
13556cat >>conftest.$ac_ext <<_ACEOF
13557/* end confdefs.h. */
13558
13559 #if HAVE_X11_XLIB_H
13560 #include <X11/Xlib.h>
13561 #endif
13562
13563
13564#include <$ac_header>
13565_ACEOF
13566rm -f conftest.$ac_objext
13567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13575 ac_status=$?
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 eval "$as_ac_Header=yes"
13579else
13580 echo "$as_me: failed program was:" >&5
13581sed 's/^/| /' conftest.$ac_ext >&5
13582
13583eval "$as_ac_Header=no"
13584fi
13585rm -f conftest.$ac_objext conftest.$ac_ext
13586fi
13587echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13588echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13589if test `eval echo '${'$as_ac_Header'}'` = yes; then
13590 cat >>confdefs.h <<_ACEOF
13591#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13592_ACEOF
13593
13594fi
13595
13596done
13597
13598 fi
13599fi
13600
13601
13602echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13603echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13604if test "${ac_cv_c_const+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13606else
13607 cat >conftest.$ac_ext <<_ACEOF
13608#line $LINENO "configure"
13609/* confdefs.h. */
13610_ACEOF
13611cat confdefs.h >>conftest.$ac_ext
13612cat >>conftest.$ac_ext <<_ACEOF
13613/* end confdefs.h. */
13614
13615int
13616main ()
13617{
13618/* FIXME: Include the comments suggested by Paul. */
13619#ifndef __cplusplus
13620 /* Ultrix mips cc rejects this. */
13621 typedef int charset[2];
13622 const charset x;
13623 /* SunOS 4.1.1 cc rejects this. */
13624 char const *const *ccp;
13625 char **p;
13626 /* NEC SVR4.0.2 mips cc rejects this. */
13627 struct point {int x, y;};
13628 static struct point const zero = {0,0};
13629 /* AIX XL C 1.02.0.0 rejects this.
13630 It does not let you subtract one const X* pointer from another in
13631 an arm of an if-expression whose if-part is not a constant
13632 expression */
13633 const char *g = "string";
13634 ccp = &g + (g ? g-g : 0);
13635 /* HPUX 7.0 cc rejects these. */
13636 ++ccp;
13637 p = (char**) ccp;
13638 ccp = (char const *const *) p;
13639 { /* SCO 3.2v4 cc rejects this. */
13640 char *t;
13641 char const *s = 0 ? (char *) 0 : (char const *) 0;
13642
13643 *t++ = 0;
13644 }
13645 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13646 int x[] = {25, 17};
13647 const int *foo = &x[0];
13648 ++foo;
13649 }
13650 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13651 typedef const int *iptr;
13652 iptr p = 0;
13653 ++p;
13654 }
13655 { /* AIX XL C 1.02.0.0 rejects this saying
13656 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13657 struct s { int j; const int *ap[3]; };
13658 struct s *b; b->j = 5;
13659 }
13660 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13661 const int foo = 10;
13662 }
13663#endif
13664
13665 ;
13666 return 0;
13667}
13668_ACEOF
13669rm -f conftest.$ac_objext
13670if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13671 (eval $ac_compile) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try='test -s conftest.$ac_objext'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 ac_cv_c_const=yes
13682else
13683 echo "$as_me: failed program was:" >&5
13684sed 's/^/| /' conftest.$ac_ext >&5
13685
13686ac_cv_c_const=no
13687fi
13688rm -f conftest.$ac_objext conftest.$ac_ext
13689fi
13690echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13691echo "${ECHO_T}$ac_cv_c_const" >&6
13692if test $ac_cv_c_const = no; then
13693
13694cat >>confdefs.h <<\_ACEOF
13695#define const
13696_ACEOF
13697
13698fi
13699
13700echo "$as_me:$LINENO: checking for inline" >&5
13701echo $ECHO_N "checking for inline... $ECHO_C" >&6
13702if test "${ac_cv_c_inline+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13704else
13705 ac_cv_c_inline=no
13706for ac_kw in inline __inline__ __inline; do
13707 cat >conftest.$ac_ext <<_ACEOF
13708#line $LINENO "configure"
13709/* confdefs.h. */
13710_ACEOF
13711cat confdefs.h >>conftest.$ac_ext
13712cat >>conftest.$ac_ext <<_ACEOF
13713/* end confdefs.h. */
13714#ifndef __cplusplus
13715typedef int foo_t;
13716static $ac_kw foo_t static_foo () {return 0; }
13717$ac_kw foo_t foo () {return 0; }
13718#endif
13719
13720_ACEOF
13721rm -f conftest.$ac_objext
13722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13723 (eval $ac_compile) 2>&5
13724 ac_status=$?
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_c_inline=$ac_kw; break
13734else
13735 echo "$as_me: failed program was:" >&5
13736sed 's/^/| /' conftest.$ac_ext >&5
13737
13738fi
13739rm -f conftest.$ac_objext conftest.$ac_ext
13740done
13741
13742fi
13743echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13744echo "${ECHO_T}$ac_cv_c_inline" >&6
13745case $ac_cv_c_inline in
13746 inline | yes) ;;
13747 no)
13748cat >>confdefs.h <<\_ACEOF
13749#define inline
13750_ACEOF
13751 ;;
13752 *) cat >>confdefs.h <<_ACEOF
13753#define inline $ac_cv_c_inline
13754_ACEOF
13755 ;;
13756esac
13757
13758
13759echo "$as_me:$LINENO: checking for char" >&5
13760echo $ECHO_N "checking for char... $ECHO_C" >&6
13761if test "${ac_cv_type_char+set}" = set; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13763else
13764 cat >conftest.$ac_ext <<_ACEOF
13765#line $LINENO "configure"
13766/* confdefs.h. */
13767_ACEOF
13768cat confdefs.h >>conftest.$ac_ext
13769cat >>conftest.$ac_ext <<_ACEOF
13770/* end confdefs.h. */
13771$ac_includes_default
13772int
13773main ()
13774{
13775if ((char *) 0)
13776 return 0;
13777if (sizeof (char))
13778 return 0;
13779 ;
13780 return 0;
13781}
13782_ACEOF
13783rm -f conftest.$ac_objext
13784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); } &&
13789 { ac_try='test -s conftest.$ac_objext'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13792 ac_status=$?
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; }; then
13795 ac_cv_type_char=yes
13796else
13797 echo "$as_me: failed program was:" >&5
13798sed 's/^/| /' conftest.$ac_ext >&5
13799
13800ac_cv_type_char=no
13801fi
13802rm -f conftest.$ac_objext conftest.$ac_ext
13803fi
13804echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13805echo "${ECHO_T}$ac_cv_type_char" >&6
13806
13807echo "$as_me:$LINENO: checking size of char" >&5
13808echo $ECHO_N "checking size of char... $ECHO_C" >&6
13809if test "${ac_cv_sizeof_char+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13811else
13812 if test "$ac_cv_type_char" = yes; then
13813 # The cast to unsigned long works around a bug in the HP C Compiler
13814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13816 # This bug is HP SR number 8606223364.
13817 if test "$cross_compiling" = yes; then
13818 # Depending upon the size, compute the lo and hi bounds.
13819cat >conftest.$ac_ext <<_ACEOF
13820#line $LINENO "configure"
13821/* confdefs.h. */
13822_ACEOF
13823cat confdefs.h >>conftest.$ac_ext
13824cat >>conftest.$ac_ext <<_ACEOF
13825/* end confdefs.h. */
13826$ac_includes_default
13827int
13828main ()
13829{
13830static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13831test_array [0] = 0
13832
13833 ;
13834 return 0;
13835}
13836_ACEOF
13837rm -f conftest.$ac_objext
13838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13839 (eval $ac_compile) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_lo=0 ac_mid=0
13850 while :; do
13851 cat >conftest.$ac_ext <<_ACEOF
13852#line $LINENO "configure"
13853/* confdefs.h. */
13854_ACEOF
13855cat confdefs.h >>conftest.$ac_ext
13856cat >>conftest.$ac_ext <<_ACEOF
13857/* end confdefs.h. */
13858$ac_includes_default
13859int
13860main ()
13861{
13862static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13863test_array [0] = 0
13864
13865 ;
13866 return 0;
13867}
13868_ACEOF
13869rm -f conftest.$ac_objext
13870if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13871 (eval $ac_compile) 2>&5
13872 ac_status=$?
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } &&
13875 { ac_try='test -s conftest.$ac_objext'
13876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 (eval $ac_try) 2>&5
13878 ac_status=$?
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; }; then
13881 ac_hi=$ac_mid; break
13882else
13883 echo "$as_me: failed program was:" >&5
13884sed 's/^/| /' conftest.$ac_ext >&5
13885
13886ac_lo=`expr $ac_mid + 1`
13887 if test $ac_lo -le $ac_mid; then
13888 ac_lo= ac_hi=
13889 break
13890 fi
13891 ac_mid=`expr 2 '*' $ac_mid + 1`
13892fi
13893rm -f conftest.$ac_objext conftest.$ac_ext
13894 done
13895else
13896 echo "$as_me: failed program was:" >&5
13897sed 's/^/| /' conftest.$ac_ext >&5
13898
13899cat >conftest.$ac_ext <<_ACEOF
13900#line $LINENO "configure"
13901/* confdefs.h. */
13902_ACEOF
13903cat confdefs.h >>conftest.$ac_ext
13904cat >>conftest.$ac_ext <<_ACEOF
13905/* end confdefs.h. */
13906$ac_includes_default
13907int
13908main ()
13909{
13910static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13911test_array [0] = 0
13912
13913 ;
13914 return 0;
13915}
13916_ACEOF
13917rm -f conftest.$ac_objext
13918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>&5
13920 ac_status=$?
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try='test -s conftest.$ac_objext'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13926 ac_status=$?
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13929 ac_hi=-1 ac_mid=-1
13930 while :; do
13931 cat >conftest.$ac_ext <<_ACEOF
13932#line $LINENO "configure"
13933/* confdefs.h. */
13934_ACEOF
13935cat confdefs.h >>conftest.$ac_ext
13936cat >>conftest.$ac_ext <<_ACEOF
13937/* end confdefs.h. */
13938$ac_includes_default
13939int
13940main ()
13941{
13942static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13943test_array [0] = 0
13944
13945 ;
13946 return 0;
13947}
13948_ACEOF
13949rm -f conftest.$ac_objext
13950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>&5
13952 ac_status=$?
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); } &&
13955 { ac_try='test -s conftest.$ac_objext'
13956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13957 (eval $ac_try) 2>&5
13958 ac_status=$?
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); }; }; then
13961 ac_lo=$ac_mid; break
13962else
13963 echo "$as_me: failed program was:" >&5
13964sed 's/^/| /' conftest.$ac_ext >&5
13965
13966ac_hi=`expr '(' $ac_mid ')' - 1`
13967 if test $ac_mid -le $ac_hi; then
13968 ac_lo= ac_hi=
13969 break
13970 fi
13971 ac_mid=`expr 2 '*' $ac_mid`
13972fi
13973rm -f conftest.$ac_objext conftest.$ac_ext
13974 done
13975else
13976 echo "$as_me: failed program was:" >&5
13977sed 's/^/| /' conftest.$ac_ext >&5
13978
13979ac_lo= ac_hi=
13980fi
13981rm -f conftest.$ac_objext conftest.$ac_ext
13982fi
13983rm -f conftest.$ac_objext conftest.$ac_ext
13984# Binary search between lo and hi bounds.
13985while test "x$ac_lo" != "x$ac_hi"; do
13986 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13987 cat >conftest.$ac_ext <<_ACEOF
13988#line $LINENO "configure"
13989/* confdefs.h. */
13990_ACEOF
13991cat confdefs.h >>conftest.$ac_ext
13992cat >>conftest.$ac_ext <<_ACEOF
13993/* end confdefs.h. */
13994$ac_includes_default
13995int
13996main ()
13997{
13998static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13999test_array [0] = 0
14000
14001 ;
14002 return 0;
14003}
14004_ACEOF
14005rm -f conftest.$ac_objext
14006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007 (eval $ac_compile) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try='test -s conftest.$ac_objext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14014 ac_status=$?
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 ac_hi=$ac_mid
14018else
14019 echo "$as_me: failed program was:" >&5
14020sed 's/^/| /' conftest.$ac_ext >&5
14021
14022ac_lo=`expr '(' $ac_mid ')' + 1`
14023fi
14024rm -f conftest.$ac_objext conftest.$ac_ext
14025done
14026case $ac_lo in
14027?*) ac_cv_sizeof_char=$ac_lo;;
14028'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14029See \`config.log' for more details." >&5
14030echo "$as_me: error: cannot compute sizeof (char), 77
14031See \`config.log' for more details." >&2;}
14032 { (exit 1); exit 1; }; } ;;
14033esac
14034else
14035 if test "$cross_compiling" = yes; then
14036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14037See \`config.log' for more details." >&5
14038echo "$as_me: error: cannot run test program while cross compiling
14039See \`config.log' for more details." >&2;}
14040 { (exit 1); exit 1; }; }
14041else
14042 cat >conftest.$ac_ext <<_ACEOF
14043#line $LINENO "configure"
14044/* confdefs.h. */
14045_ACEOF
14046cat confdefs.h >>conftest.$ac_ext
14047cat >>conftest.$ac_ext <<_ACEOF
14048/* end confdefs.h. */
14049$ac_includes_default
14050long longval () { return (long) (sizeof (char)); }
14051unsigned long ulongval () { return (long) (sizeof (char)); }
14052#include <stdio.h>
14053#include <stdlib.h>
14054int
14055main ()
14056{
14057
14058 FILE *f = fopen ("conftest.val", "w");
14059 if (! f)
14060 exit (1);
14061 if (((long) (sizeof (char))) < 0)
14062 {
14063 long i = longval ();
14064 if (i != ((long) (sizeof (char))))
14065 exit (1);
14066 fprintf (f, "%ld\n", i);
14067 }
14068 else
14069 {
14070 unsigned long i = ulongval ();
14071 if (i != ((long) (sizeof (char))))
14072 exit (1);
14073 fprintf (f, "%lu\n", i);
14074 }
14075 exit (ferror (f) || fclose (f) != 0);
14076
14077 ;
14078 return 0;
14079}
14080_ACEOF
14081rm -f conftest$ac_exeext
14082if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14083 (eval $ac_link) 2>&5
14084 ac_status=$?
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14089 ac_status=$?
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14092 ac_cv_sizeof_char=`cat conftest.val`
14093else
14094 echo "$as_me: program exited with status $ac_status" >&5
14095echo "$as_me: failed program was:" >&5
14096sed 's/^/| /' conftest.$ac_ext >&5
14097
14098( exit $ac_status )
14099{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14100See \`config.log' for more details." >&5
14101echo "$as_me: error: cannot compute sizeof (char), 77
14102See \`config.log' for more details." >&2;}
14103 { (exit 1); exit 1; }; }
14104fi
14105rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14106fi
14107fi
14108rm -f conftest.val
14109else
14110 ac_cv_sizeof_char=0
14111fi
14112fi
14113echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14114echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14115cat >>confdefs.h <<_ACEOF
14116#define SIZEOF_CHAR $ac_cv_sizeof_char
14117_ACEOF
14118
14119
14120echo "$as_me:$LINENO: checking for short" >&5
14121echo $ECHO_N "checking for short... $ECHO_C" >&6
14122if test "${ac_cv_type_short+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124else
14125 cat >conftest.$ac_ext <<_ACEOF
14126#line $LINENO "configure"
14127/* confdefs.h. */
14128_ACEOF
14129cat confdefs.h >>conftest.$ac_ext
14130cat >>conftest.$ac_ext <<_ACEOF
14131/* end confdefs.h. */
14132$ac_includes_default
14133int
14134main ()
14135{
14136if ((short *) 0)
14137 return 0;
14138if (sizeof (short))
14139 return 0;
14140 ;
14141 return 0;
14142}
14143_ACEOF
14144rm -f conftest.$ac_objext
14145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14146 (eval $ac_compile) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } &&
14150 { ac_try='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14153 ac_status=$?
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 ac_cv_type_short=yes
14157else
14158 echo "$as_me: failed program was:" >&5
14159sed 's/^/| /' conftest.$ac_ext >&5
14160
14161ac_cv_type_short=no
14162fi
14163rm -f conftest.$ac_objext conftest.$ac_ext
14164fi
14165echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14166echo "${ECHO_T}$ac_cv_type_short" >&6
14167
14168echo "$as_me:$LINENO: checking size of short" >&5
14169echo $ECHO_N "checking size of short... $ECHO_C" >&6
14170if test "${ac_cv_sizeof_short+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14172else
14173 if test "$ac_cv_type_short" = yes; then
14174 # The cast to unsigned long works around a bug in the HP C Compiler
14175 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14176 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14177 # This bug is HP SR number 8606223364.
14178 if test "$cross_compiling" = yes; then
14179 # Depending upon the size, compute the lo and hi bounds.
14180cat >conftest.$ac_ext <<_ACEOF
14181#line $LINENO "configure"
14182/* confdefs.h. */
14183_ACEOF
14184cat confdefs.h >>conftest.$ac_ext
14185cat >>conftest.$ac_ext <<_ACEOF
14186/* end confdefs.h. */
14187$ac_includes_default
14188int
14189main ()
14190{
14191static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14192test_array [0] = 0
14193
14194 ;
14195 return 0;
14196}
14197_ACEOF
14198rm -f conftest.$ac_objext
14199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try='test -s conftest.$ac_objext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14207 ac_status=$?
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14210 ac_lo=0 ac_mid=0
14211 while :; do
14212 cat >conftest.$ac_ext <<_ACEOF
14213#line $LINENO "configure"
14214/* confdefs.h. */
14215_ACEOF
14216cat confdefs.h >>conftest.$ac_ext
14217cat >>conftest.$ac_ext <<_ACEOF
14218/* end confdefs.h. */
14219$ac_includes_default
14220int
14221main ()
14222{
14223static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14224test_array [0] = 0
14225
14226 ;
14227 return 0;
14228}
14229_ACEOF
14230rm -f conftest.$ac_objext
14231if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14232 (eval $ac_compile) 2>&5
14233 ac_status=$?
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14239 ac_status=$?
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14242 ac_hi=$ac_mid; break
14243else
14244 echo "$as_me: failed program was:" >&5
14245sed 's/^/| /' conftest.$ac_ext >&5
14246
14247ac_lo=`expr $ac_mid + 1`
14248 if test $ac_lo -le $ac_mid; then
14249 ac_lo= ac_hi=
14250 break
14251 fi
14252 ac_mid=`expr 2 '*' $ac_mid + 1`
14253fi
14254rm -f conftest.$ac_objext conftest.$ac_ext
14255 done
14256else
14257 echo "$as_me: failed program was:" >&5
14258sed 's/^/| /' conftest.$ac_ext >&5
14259
14260cat >conftest.$ac_ext <<_ACEOF
14261#line $LINENO "configure"
14262/* confdefs.h. */
14263_ACEOF
14264cat confdefs.h >>conftest.$ac_ext
14265cat >>conftest.$ac_ext <<_ACEOF
14266/* end confdefs.h. */
14267$ac_includes_default
14268int
14269main ()
14270{
14271static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14272test_array [0] = 0
14273
14274 ;
14275 return 0;
14276}
14277_ACEOF
14278rm -f conftest.$ac_objext
14279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try='test -s conftest.$ac_objext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14287 ac_status=$?
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_hi=-1 ac_mid=-1
14291 while :; do
14292 cat >conftest.$ac_ext <<_ACEOF
14293#line $LINENO "configure"
14294/* confdefs.h. */
14295_ACEOF
14296cat confdefs.h >>conftest.$ac_ext
14297cat >>conftest.$ac_ext <<_ACEOF
14298/* end confdefs.h. */
14299$ac_includes_default
14300int
14301main ()
14302{
14303static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14304test_array [0] = 0
14305
14306 ;
14307 return 0;
14308}
14309_ACEOF
14310rm -f conftest.$ac_objext
14311if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -s conftest.$ac_objext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_lo=$ac_mid; break
14323else
14324 echo "$as_me: failed program was:" >&5
14325sed 's/^/| /' conftest.$ac_ext >&5
14326
14327ac_hi=`expr '(' $ac_mid ')' - 1`
14328 if test $ac_mid -le $ac_hi; then
14329 ac_lo= ac_hi=
14330 break
14331 fi
14332 ac_mid=`expr 2 '*' $ac_mid`
14333fi
14334rm -f conftest.$ac_objext conftest.$ac_ext
14335 done
14336else
14337 echo "$as_me: failed program was:" >&5
14338sed 's/^/| /' conftest.$ac_ext >&5
14339
14340ac_lo= ac_hi=
14341fi
14342rm -f conftest.$ac_objext conftest.$ac_ext
14343fi
14344rm -f conftest.$ac_objext conftest.$ac_ext
14345# Binary search between lo and hi bounds.
14346while test "x$ac_lo" != "x$ac_hi"; do
14347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14348 cat >conftest.$ac_ext <<_ACEOF
14349#line $LINENO "configure"
14350/* confdefs.h. */
14351_ACEOF
14352cat confdefs.h >>conftest.$ac_ext
14353cat >>conftest.$ac_ext <<_ACEOF
14354/* end confdefs.h. */
14355$ac_includes_default
14356int
14357main ()
14358{
14359static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14360test_array [0] = 0
14361
14362 ;
14363 return 0;
14364}
14365_ACEOF
14366rm -f conftest.$ac_objext
14367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14368 (eval $ac_compile) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_hi=$ac_mid
14379else
14380 echo "$as_me: failed program was:" >&5
14381sed 's/^/| /' conftest.$ac_ext >&5
14382
14383ac_lo=`expr '(' $ac_mid ')' + 1`
14384fi
14385rm -f conftest.$ac_objext conftest.$ac_ext
14386done
14387case $ac_lo in
14388?*) ac_cv_sizeof_short=$ac_lo;;
14389'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14390See \`config.log' for more details." >&5
14391echo "$as_me: error: cannot compute sizeof (short), 77
14392See \`config.log' for more details." >&2;}
14393 { (exit 1); exit 1; }; } ;;
14394esac
14395else
14396 if test "$cross_compiling" = yes; then
14397 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14398See \`config.log' for more details." >&5
14399echo "$as_me: error: cannot run test program while cross compiling
14400See \`config.log' for more details." >&2;}
14401 { (exit 1); exit 1; }; }
14402else
14403 cat >conftest.$ac_ext <<_ACEOF
14404#line $LINENO "configure"
14405/* confdefs.h. */
14406_ACEOF
14407cat confdefs.h >>conftest.$ac_ext
14408cat >>conftest.$ac_ext <<_ACEOF
14409/* end confdefs.h. */
14410$ac_includes_default
14411long longval () { return (long) (sizeof (short)); }
14412unsigned long ulongval () { return (long) (sizeof (short)); }
14413#include <stdio.h>
14414#include <stdlib.h>
14415int
14416main ()
14417{
14418
14419 FILE *f = fopen ("conftest.val", "w");
14420 if (! f)
14421 exit (1);
14422 if (((long) (sizeof (short))) < 0)
14423 {
14424 long i = longval ();
14425 if (i != ((long) (sizeof (short))))
14426 exit (1);
14427 fprintf (f, "%ld\n", i);
14428 }
14429 else
14430 {
14431 unsigned long i = ulongval ();
14432 if (i != ((long) (sizeof (short))))
14433 exit (1);
14434 fprintf (f, "%lu\n", i);
14435 }
14436 exit (ferror (f) || fclose (f) != 0);
14437
14438 ;
14439 return 0;
14440}
14441_ACEOF
14442rm -f conftest$ac_exeext
14443if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14444 (eval $ac_link) 2>&5
14445 ac_status=$?
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14450 ac_status=$?
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14453 ac_cv_sizeof_short=`cat conftest.val`
14454else
14455 echo "$as_me: program exited with status $ac_status" >&5
14456echo "$as_me: failed program was:" >&5
14457sed 's/^/| /' conftest.$ac_ext >&5
14458
14459( exit $ac_status )
14460{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14461See \`config.log' for more details." >&5
14462echo "$as_me: error: cannot compute sizeof (short), 77
14463See \`config.log' for more details." >&2;}
14464 { (exit 1); exit 1; }; }
14465fi
14466rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14467fi
14468fi
14469rm -f conftest.val
14470else
14471 ac_cv_sizeof_short=0
14472fi
14473fi
14474echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14475echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14476cat >>confdefs.h <<_ACEOF
14477#define SIZEOF_SHORT $ac_cv_sizeof_short
14478_ACEOF
14479
14480
14481echo "$as_me:$LINENO: checking for void *" >&5
14482echo $ECHO_N "checking for void *... $ECHO_C" >&6
14483if test "${ac_cv_type_void_p+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14485else
14486 cat >conftest.$ac_ext <<_ACEOF
14487#line $LINENO "configure"
14488/* confdefs.h. */
14489_ACEOF
14490cat confdefs.h >>conftest.$ac_ext
14491cat >>conftest.$ac_ext <<_ACEOF
14492/* end confdefs.h. */
14493$ac_includes_default
14494int
14495main ()
14496{
14497if ((void * *) 0)
14498 return 0;
14499if (sizeof (void *))
14500 return 0;
14501 ;
14502 return 0;
14503}
14504_ACEOF
14505rm -f conftest.$ac_objext
14506if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14507 (eval $ac_compile) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -s conftest.$ac_objext'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14514 ac_status=$?
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 ac_cv_type_void_p=yes
14518else
14519 echo "$as_me: failed program was:" >&5
14520sed 's/^/| /' conftest.$ac_ext >&5
14521
14522ac_cv_type_void_p=no
14523fi
14524rm -f conftest.$ac_objext conftest.$ac_ext
14525fi
14526echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14527echo "${ECHO_T}$ac_cv_type_void_p" >&6
14528
14529echo "$as_me:$LINENO: checking size of void *" >&5
14530echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14531if test "${ac_cv_sizeof_void_p+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14533else
14534 if test "$ac_cv_type_void_p" = yes; then
14535 # The cast to unsigned long works around a bug in the HP C Compiler
14536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14538 # This bug is HP SR number 8606223364.
14539 if test "$cross_compiling" = yes; then
14540 # Depending upon the size, compute the lo and hi bounds.
14541cat >conftest.$ac_ext <<_ACEOF
14542#line $LINENO "configure"
14543/* confdefs.h. */
14544_ACEOF
14545cat confdefs.h >>conftest.$ac_ext
14546cat >>conftest.$ac_ext <<_ACEOF
14547/* end confdefs.h. */
14548$ac_includes_default
14549int
14550main ()
14551{
14552static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14553test_array [0] = 0
14554
14555 ;
14556 return 0;
14557}
14558_ACEOF
14559rm -f conftest.$ac_objext
14560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>&5
14562 ac_status=$?
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_lo=0 ac_mid=0
14572 while :; do
14573 cat >conftest.$ac_ext <<_ACEOF
14574#line $LINENO "configure"
14575/* confdefs.h. */
14576_ACEOF
14577cat confdefs.h >>conftest.$ac_ext
14578cat >>conftest.$ac_ext <<_ACEOF
14579/* end confdefs.h. */
14580$ac_includes_default
14581int
14582main ()
14583{
14584static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14585test_array [0] = 0
14586
14587 ;
14588 return 0;
14589}
14590_ACEOF
14591rm -f conftest.$ac_objext
14592if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14593 (eval $ac_compile) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14600 ac_status=$?
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14603 ac_hi=$ac_mid; break
14604else
14605 echo "$as_me: failed program was:" >&5
14606sed 's/^/| /' conftest.$ac_ext >&5
14607
14608ac_lo=`expr $ac_mid + 1`
14609 if test $ac_lo -le $ac_mid; then
14610 ac_lo= ac_hi=
14611 break
14612 fi
14613 ac_mid=`expr 2 '*' $ac_mid + 1`
14614fi
14615rm -f conftest.$ac_objext conftest.$ac_ext
14616 done
14617else
14618 echo "$as_me: failed program was:" >&5
14619sed 's/^/| /' conftest.$ac_ext >&5
14620
14621cat >conftest.$ac_ext <<_ACEOF
14622#line $LINENO "configure"
14623/* confdefs.h. */
14624_ACEOF
14625cat confdefs.h >>conftest.$ac_ext
14626cat >>conftest.$ac_ext <<_ACEOF
14627/* end confdefs.h. */
14628$ac_includes_default
14629int
14630main ()
14631{
14632static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14633test_array [0] = 0
14634
14635 ;
14636 return 0;
14637}
14638_ACEOF
14639rm -f conftest.$ac_objext
14640if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 ac_hi=-1 ac_mid=-1
14652 while :; do
14653 cat >conftest.$ac_ext <<_ACEOF
14654#line $LINENO "configure"
14655/* confdefs.h. */
14656_ACEOF
14657cat confdefs.h >>conftest.$ac_ext
14658cat >>conftest.$ac_ext <<_ACEOF
14659/* end confdefs.h. */
14660$ac_includes_default
14661int
14662main ()
14663{
14664static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14665test_array [0] = 0
14666
14667 ;
14668 return 0;
14669}
14670_ACEOF
14671rm -f conftest.$ac_objext
14672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14673 (eval $ac_compile) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } &&
14677 { ac_try='test -s conftest.$ac_objext'
14678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14679 (eval $ac_try) 2>&5
14680 ac_status=$?
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); }; }; then
14683 ac_lo=$ac_mid; break
14684else
14685 echo "$as_me: failed program was:" >&5
14686sed 's/^/| /' conftest.$ac_ext >&5
14687
14688ac_hi=`expr '(' $ac_mid ')' - 1`
14689 if test $ac_mid -le $ac_hi; then
14690 ac_lo= ac_hi=
14691 break
14692 fi
14693 ac_mid=`expr 2 '*' $ac_mid`
14694fi
14695rm -f conftest.$ac_objext conftest.$ac_ext
14696 done
14697else
14698 echo "$as_me: failed program was:" >&5
14699sed 's/^/| /' conftest.$ac_ext >&5
14700
14701ac_lo= ac_hi=
14702fi
14703rm -f conftest.$ac_objext conftest.$ac_ext
14704fi
14705rm -f conftest.$ac_objext conftest.$ac_ext
14706# Binary search between lo and hi bounds.
14707while test "x$ac_lo" != "x$ac_hi"; do
14708 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14709 cat >conftest.$ac_ext <<_ACEOF
14710#line $LINENO "configure"
14711/* confdefs.h. */
14712_ACEOF
14713cat confdefs.h >>conftest.$ac_ext
14714cat >>conftest.$ac_ext <<_ACEOF
14715/* end confdefs.h. */
14716$ac_includes_default
14717int
14718main ()
14719{
14720static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14721test_array [0] = 0
14722
14723 ;
14724 return 0;
14725}
14726_ACEOF
14727rm -f conftest.$ac_objext
14728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>&5
14730 ac_status=$?
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14736 ac_status=$?
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 ac_hi=$ac_mid
14740else
14741 echo "$as_me: failed program was:" >&5
14742sed 's/^/| /' conftest.$ac_ext >&5
14743
14744ac_lo=`expr '(' $ac_mid ')' + 1`
14745fi
14746rm -f conftest.$ac_objext conftest.$ac_ext
14747done
14748case $ac_lo in
14749?*) ac_cv_sizeof_void_p=$ac_lo;;
14750'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14751See \`config.log' for more details." >&5
14752echo "$as_me: error: cannot compute sizeof (void *), 77
14753See \`config.log' for more details." >&2;}
14754 { (exit 1); exit 1; }; } ;;
14755esac
14756else
14757 if test "$cross_compiling" = yes; then
14758 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14759See \`config.log' for more details." >&5
14760echo "$as_me: error: cannot run test program while cross compiling
14761See \`config.log' for more details." >&2;}
14762 { (exit 1); exit 1; }; }
14763else
14764 cat >conftest.$ac_ext <<_ACEOF
14765#line $LINENO "configure"
14766/* confdefs.h. */
14767_ACEOF
14768cat confdefs.h >>conftest.$ac_ext
14769cat >>conftest.$ac_ext <<_ACEOF
14770/* end confdefs.h. */
14771$ac_includes_default
14772long longval () { return (long) (sizeof (void *)); }
14773unsigned long ulongval () { return (long) (sizeof (void *)); }
14774#include <stdio.h>
14775#include <stdlib.h>
14776int
14777main ()
14778{
14779
14780 FILE *f = fopen ("conftest.val", "w");
14781 if (! f)
14782 exit (1);
14783 if (((long) (sizeof (void *))) < 0)
14784 {
14785 long i = longval ();
14786 if (i != ((long) (sizeof (void *))))
14787 exit (1);
14788 fprintf (f, "%ld\n", i);
14789 }
14790 else
14791 {
14792 unsigned long i = ulongval ();
14793 if (i != ((long) (sizeof (void *))))
14794 exit (1);
14795 fprintf (f, "%lu\n", i);
14796 }
14797 exit (ferror (f) || fclose (f) != 0);
14798
14799 ;
14800 return 0;
14801}
14802_ACEOF
14803rm -f conftest$ac_exeext
14804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14805 (eval $ac_link) 2>&5
14806 ac_status=$?
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 ac_cv_sizeof_void_p=`cat conftest.val`
14815else
14816 echo "$as_me: program exited with status $ac_status" >&5
14817echo "$as_me: failed program was:" >&5
14818sed 's/^/| /' conftest.$ac_ext >&5
14819
14820( exit $ac_status )
14821{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14822See \`config.log' for more details." >&5
14823echo "$as_me: error: cannot compute sizeof (void *), 77
14824See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; }
14826fi
14827rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14828fi
14829fi
14830rm -f conftest.val
14831else
14832 ac_cv_sizeof_void_p=0
14833fi
14834fi
14835echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14836echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14837cat >>confdefs.h <<_ACEOF
14838#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14839_ACEOF
14840
14841
14842echo "$as_me:$LINENO: checking for int" >&5
14843echo $ECHO_N "checking for int... $ECHO_C" >&6
14844if test "${ac_cv_type_int+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846else
14847 cat >conftest.$ac_ext <<_ACEOF
14848#line $LINENO "configure"
14849/* confdefs.h. */
14850_ACEOF
14851cat confdefs.h >>conftest.$ac_ext
14852cat >>conftest.$ac_ext <<_ACEOF
14853/* end confdefs.h. */
14854$ac_includes_default
14855int
14856main ()
14857{
14858if ((int *) 0)
14859 return 0;
14860if (sizeof (int))
14861 return 0;
14862 ;
14863 return 0;
14864}
14865_ACEOF
14866rm -f conftest.$ac_objext
14867if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try='test -s conftest.$ac_objext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14875 ac_status=$?
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_cv_type_int=yes
14879else
14880 echo "$as_me: failed program was:" >&5
14881sed 's/^/| /' conftest.$ac_ext >&5
14882
14883ac_cv_type_int=no
14884fi
14885rm -f conftest.$ac_objext conftest.$ac_ext
14886fi
14887echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14888echo "${ECHO_T}$ac_cv_type_int" >&6
14889
14890echo "$as_me:$LINENO: checking size of int" >&5
14891echo $ECHO_N "checking size of int... $ECHO_C" >&6
14892if test "${ac_cv_sizeof_int+set}" = set; then
14893 echo $ECHO_N "(cached) $ECHO_C" >&6
14894else
14895 if test "$ac_cv_type_int" = yes; then
14896 # The cast to unsigned long works around a bug in the HP C Compiler
14897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14899 # This bug is HP SR number 8606223364.
14900 if test "$cross_compiling" = yes; then
14901 # Depending upon the size, compute the lo and hi bounds.
14902cat >conftest.$ac_ext <<_ACEOF
14903#line $LINENO "configure"
14904/* confdefs.h. */
14905_ACEOF
14906cat confdefs.h >>conftest.$ac_ext
14907cat >>conftest.$ac_ext <<_ACEOF
14908/* end confdefs.h. */
14909$ac_includes_default
14910int
14911main ()
14912{
14913static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14914test_array [0] = 0
14915
14916 ;
14917 return 0;
14918}
14919_ACEOF
14920rm -f conftest.$ac_objext
14921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try='test -s conftest.$ac_objext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_lo=0 ac_mid=0
14933 while :; do
14934 cat >conftest.$ac_ext <<_ACEOF
14935#line $LINENO "configure"
14936/* confdefs.h. */
14937_ACEOF
14938cat confdefs.h >>conftest.$ac_ext
14939cat >>conftest.$ac_ext <<_ACEOF
14940/* end confdefs.h. */
14941$ac_includes_default
14942int
14943main ()
14944{
14945static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14946test_array [0] = 0
14947
14948 ;
14949 return 0;
14950}
14951_ACEOF
14952rm -f conftest.$ac_objext
14953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -s conftest.$ac_objext'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 ac_hi=$ac_mid; break
14965else
14966 echo "$as_me: failed program was:" >&5
14967sed 's/^/| /' conftest.$ac_ext >&5
14968
14969ac_lo=`expr $ac_mid + 1`
14970 if test $ac_lo -le $ac_mid; then
14971 ac_lo= ac_hi=
14972 break
14973 fi
14974 ac_mid=`expr 2 '*' $ac_mid + 1`
14975fi
14976rm -f conftest.$ac_objext conftest.$ac_ext
14977 done
14978else
14979 echo "$as_me: failed program was:" >&5
14980sed 's/^/| /' conftest.$ac_ext >&5
14981
14982cat >conftest.$ac_ext <<_ACEOF
14983#line $LINENO "configure"
14984/* confdefs.h. */
14985_ACEOF
14986cat confdefs.h >>conftest.$ac_ext
14987cat >>conftest.$ac_ext <<_ACEOF
14988/* end confdefs.h. */
14989$ac_includes_default
14990int
14991main ()
14992{
14993static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14994test_array [0] = 0
14995
14996 ;
14997 return 0;
14998}
14999_ACEOF
15000rm -f conftest.$ac_objext
15001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_hi=-1 ac_mid=-1
15013 while :; do
15014 cat >conftest.$ac_ext <<_ACEOF
15015#line $LINENO "configure"
15016/* confdefs.h. */
15017_ACEOF
15018cat confdefs.h >>conftest.$ac_ext
15019cat >>conftest.$ac_ext <<_ACEOF
15020/* end confdefs.h. */
15021$ac_includes_default
15022int
15023main ()
15024{
15025static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15026test_array [0] = 0
15027
15028 ;
15029 return 0;
15030}
15031_ACEOF
15032rm -f conftest.$ac_objext
15033if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15034 (eval $ac_compile) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_lo=$ac_mid; break
15045else
15046 echo "$as_me: failed program was:" >&5
15047sed 's/^/| /' conftest.$ac_ext >&5
15048
15049ac_hi=`expr '(' $ac_mid ')' - 1`
15050 if test $ac_mid -le $ac_hi; then
15051 ac_lo= ac_hi=
15052 break
15053 fi
15054 ac_mid=`expr 2 '*' $ac_mid`
15055fi
15056rm -f conftest.$ac_objext conftest.$ac_ext
15057 done
15058else
15059 echo "$as_me: failed program was:" >&5
15060sed 's/^/| /' conftest.$ac_ext >&5
15061
15062ac_lo= ac_hi=
15063fi
15064rm -f conftest.$ac_objext conftest.$ac_ext
15065fi
15066rm -f conftest.$ac_objext conftest.$ac_ext
15067# Binary search between lo and hi bounds.
15068while test "x$ac_lo" != "x$ac_hi"; do
15069 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15070 cat >conftest.$ac_ext <<_ACEOF
15071#line $LINENO "configure"
15072/* confdefs.h. */
15073_ACEOF
15074cat confdefs.h >>conftest.$ac_ext
15075cat >>conftest.$ac_ext <<_ACEOF
15076/* end confdefs.h. */
15077$ac_includes_default
15078int
15079main ()
15080{
15081static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15082test_array [0] = 0
15083
15084 ;
15085 return 0;
15086}
15087_ACEOF
15088rm -f conftest.$ac_objext
15089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15090 (eval $ac_compile) 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 ac_hi=$ac_mid
15101else
15102 echo "$as_me: failed program was:" >&5
15103sed 's/^/| /' conftest.$ac_ext >&5
15104
15105ac_lo=`expr '(' $ac_mid ')' + 1`
15106fi
15107rm -f conftest.$ac_objext conftest.$ac_ext
15108done
15109case $ac_lo in
15110?*) ac_cv_sizeof_int=$ac_lo;;
15111'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15112See \`config.log' for more details." >&5
15113echo "$as_me: error: cannot compute sizeof (int), 77
15114See \`config.log' for more details." >&2;}
15115 { (exit 1); exit 1; }; } ;;
15116esac
15117else
15118 if test "$cross_compiling" = yes; then
15119 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15120See \`config.log' for more details." >&5
15121echo "$as_me: error: cannot run test program while cross compiling
15122See \`config.log' for more details." >&2;}
15123 { (exit 1); exit 1; }; }
15124else
15125 cat >conftest.$ac_ext <<_ACEOF
15126#line $LINENO "configure"
15127/* confdefs.h. */
15128_ACEOF
15129cat confdefs.h >>conftest.$ac_ext
15130cat >>conftest.$ac_ext <<_ACEOF
15131/* end confdefs.h. */
15132$ac_includes_default
15133long longval () { return (long) (sizeof (int)); }
15134unsigned long ulongval () { return (long) (sizeof (int)); }
15135#include <stdio.h>
15136#include <stdlib.h>
15137int
15138main ()
15139{
15140
15141 FILE *f = fopen ("conftest.val", "w");
15142 if (! f)
15143 exit (1);
15144 if (((long) (sizeof (int))) < 0)
15145 {
15146 long i = longval ();
15147 if (i != ((long) (sizeof (int))))
15148 exit (1);
15149 fprintf (f, "%ld\n", i);
15150 }
15151 else
15152 {
15153 unsigned long i = ulongval ();
15154 if (i != ((long) (sizeof (int))))
15155 exit (1);
15156 fprintf (f, "%lu\n", i);
15157 }
15158 exit (ferror (f) || fclose (f) != 0);
15159
15160 ;
15161 return 0;
15162}
15163_ACEOF
15164rm -f conftest$ac_exeext
15165if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166 (eval $ac_link) 2>&5
15167 ac_status=$?
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15172 ac_status=$?
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; }; then
15175 ac_cv_sizeof_int=`cat conftest.val`
15176else
15177 echo "$as_me: program exited with status $ac_status" >&5
15178echo "$as_me: failed program was:" >&5
15179sed 's/^/| /' conftest.$ac_ext >&5
15180
15181( exit $ac_status )
15182{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15183See \`config.log' for more details." >&5
15184echo "$as_me: error: cannot compute sizeof (int), 77
15185See \`config.log' for more details." >&2;}
15186 { (exit 1); exit 1; }; }
15187fi
15188rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15189fi
15190fi
15191rm -f conftest.val
15192else
15193 ac_cv_sizeof_int=0
15194fi
15195fi
15196echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15197echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15198cat >>confdefs.h <<_ACEOF
15199#define SIZEOF_INT $ac_cv_sizeof_int
15200_ACEOF
15201
15202
15203echo "$as_me:$LINENO: checking for long" >&5
15204echo $ECHO_N "checking for long... $ECHO_C" >&6
15205if test "${ac_cv_type_long+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15207else
15208 cat >conftest.$ac_ext <<_ACEOF
15209#line $LINENO "configure"
15210/* confdefs.h. */
15211_ACEOF
15212cat confdefs.h >>conftest.$ac_ext
15213cat >>conftest.$ac_ext <<_ACEOF
15214/* end confdefs.h. */
15215$ac_includes_default
15216int
15217main ()
15218{
15219if ((long *) 0)
15220 return 0;
15221if (sizeof (long))
15222 return 0;
15223 ;
15224 return 0;
15225}
15226_ACEOF
15227rm -f conftest.$ac_objext
15228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15229 (eval $ac_compile) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } &&
15233 { ac_try='test -s conftest.$ac_objext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 ac_cv_type_long=yes
15240else
15241 echo "$as_me: failed program was:" >&5
15242sed 's/^/| /' conftest.$ac_ext >&5
15243
15244ac_cv_type_long=no
15245fi
15246rm -f conftest.$ac_objext conftest.$ac_ext
15247fi
15248echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15249echo "${ECHO_T}$ac_cv_type_long" >&6
15250
15251echo "$as_me:$LINENO: checking size of long" >&5
15252echo $ECHO_N "checking size of long... $ECHO_C" >&6
15253if test "${ac_cv_sizeof_long+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15255else
15256 if test "$ac_cv_type_long" = yes; then
15257 # The cast to unsigned long works around a bug in the HP C Compiler
15258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15260 # This bug is HP SR number 8606223364.
15261 if test "$cross_compiling" = yes; then
15262 # Depending upon the size, compute the lo and hi bounds.
15263cat >conftest.$ac_ext <<_ACEOF
15264#line $LINENO "configure"
15265/* confdefs.h. */
15266_ACEOF
15267cat confdefs.h >>conftest.$ac_ext
15268cat >>conftest.$ac_ext <<_ACEOF
15269/* end confdefs.h. */
15270$ac_includes_default
15271int
15272main ()
15273{
15274static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15275test_array [0] = 0
15276
15277 ;
15278 return 0;
15279}
15280_ACEOF
15281rm -f conftest.$ac_objext
15282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15283 (eval $ac_compile) 2>&5
15284 ac_status=$?
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 ac_lo=0 ac_mid=0
15294 while :; do
15295 cat >conftest.$ac_ext <<_ACEOF
15296#line $LINENO "configure"
15297/* confdefs.h. */
15298_ACEOF
15299cat confdefs.h >>conftest.$ac_ext
15300cat >>conftest.$ac_ext <<_ACEOF
15301/* end confdefs.h. */
15302$ac_includes_default
15303int
15304main ()
15305{
15306static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15307test_array [0] = 0
15308
15309 ;
15310 return 0;
15311}
15312_ACEOF
15313rm -f conftest.$ac_objext
15314if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15315 (eval $ac_compile) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try='test -s conftest.$ac_objext'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15322 ac_status=$?
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; }; then
15325 ac_hi=$ac_mid; break
15326else
15327 echo "$as_me: failed program was:" >&5
15328sed 's/^/| /' conftest.$ac_ext >&5
15329
15330ac_lo=`expr $ac_mid + 1`
15331 if test $ac_lo -le $ac_mid; then
15332 ac_lo= ac_hi=
15333 break
15334 fi
15335 ac_mid=`expr 2 '*' $ac_mid + 1`
15336fi
15337rm -f conftest.$ac_objext conftest.$ac_ext
15338 done
15339else
15340 echo "$as_me: failed program was:" >&5
15341sed 's/^/| /' conftest.$ac_ext >&5
15342
15343cat >conftest.$ac_ext <<_ACEOF
15344#line $LINENO "configure"
15345/* confdefs.h. */
15346_ACEOF
15347cat confdefs.h >>conftest.$ac_ext
15348cat >>conftest.$ac_ext <<_ACEOF
15349/* end confdefs.h. */
15350$ac_includes_default
15351int
15352main ()
15353{
15354static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15355test_array [0] = 0
15356
15357 ;
15358 return 0;
15359}
15360_ACEOF
15361rm -f conftest.$ac_objext
15362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15363 (eval $ac_compile) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try='test -s conftest.$ac_objext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15370 ac_status=$?
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 ac_hi=-1 ac_mid=-1
15374 while :; do
15375 cat >conftest.$ac_ext <<_ACEOF
15376#line $LINENO "configure"
15377/* confdefs.h. */
15378_ACEOF
15379cat confdefs.h >>conftest.$ac_ext
15380cat >>conftest.$ac_ext <<_ACEOF
15381/* end confdefs.h. */
15382$ac_includes_default
15383int
15384main ()
15385{
15386static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15387test_array [0] = 0
15388
15389 ;
15390 return 0;
15391}
15392_ACEOF
15393rm -f conftest.$ac_objext
15394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15395 (eval $ac_compile) 2>&5
15396 ac_status=$?
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try='test -s conftest.$ac_objext'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15402 ac_status=$?
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; }; then
15405 ac_lo=$ac_mid; break
15406else
15407 echo "$as_me: failed program was:" >&5
15408sed 's/^/| /' conftest.$ac_ext >&5
15409
15410ac_hi=`expr '(' $ac_mid ')' - 1`
15411 if test $ac_mid -le $ac_hi; then
15412 ac_lo= ac_hi=
15413 break
15414 fi
15415 ac_mid=`expr 2 '*' $ac_mid`
15416fi
15417rm -f conftest.$ac_objext conftest.$ac_ext
15418 done
15419else
15420 echo "$as_me: failed program was:" >&5
15421sed 's/^/| /' conftest.$ac_ext >&5
15422
15423ac_lo= ac_hi=
15424fi
15425rm -f conftest.$ac_objext conftest.$ac_ext
15426fi
15427rm -f conftest.$ac_objext conftest.$ac_ext
15428# Binary search between lo and hi bounds.
15429while test "x$ac_lo" != "x$ac_hi"; do
15430 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15431 cat >conftest.$ac_ext <<_ACEOF
15432#line $LINENO "configure"
15433/* confdefs.h. */
15434_ACEOF
15435cat confdefs.h >>conftest.$ac_ext
15436cat >>conftest.$ac_ext <<_ACEOF
15437/* end confdefs.h. */
15438$ac_includes_default
15439int
15440main ()
15441{
15442static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15443test_array [0] = 0
15444
15445 ;
15446 return 0;
15447}
15448_ACEOF
15449rm -f conftest.$ac_objext
15450if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15451 (eval $ac_compile) 2>&5
15452 ac_status=$?
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } &&
15455 { ac_try='test -s conftest.$ac_objext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 ac_hi=$ac_mid
15462else
15463 echo "$as_me: failed program was:" >&5
15464sed 's/^/| /' conftest.$ac_ext >&5
15465
15466ac_lo=`expr '(' $ac_mid ')' + 1`
15467fi
15468rm -f conftest.$ac_objext conftest.$ac_ext
15469done
15470case $ac_lo in
15471?*) ac_cv_sizeof_long=$ac_lo;;
15472'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15473See \`config.log' for more details." >&5
15474echo "$as_me: error: cannot compute sizeof (long), 77
15475See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; } ;;
15477esac
15478else
15479 if test "$cross_compiling" = yes; then
15480 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15481See \`config.log' for more details." >&5
15482echo "$as_me: error: cannot run test program while cross compiling
15483See \`config.log' for more details." >&2;}
15484 { (exit 1); exit 1; }; }
15485else
15486 cat >conftest.$ac_ext <<_ACEOF
15487#line $LINENO "configure"
15488/* confdefs.h. */
15489_ACEOF
15490cat confdefs.h >>conftest.$ac_ext
15491cat >>conftest.$ac_ext <<_ACEOF
15492/* end confdefs.h. */
15493$ac_includes_default
15494long longval () { return (long) (sizeof (long)); }
15495unsigned long ulongval () { return (long) (sizeof (long)); }
15496#include <stdio.h>
15497#include <stdlib.h>
15498int
15499main ()
15500{
15501
15502 FILE *f = fopen ("conftest.val", "w");
15503 if (! f)
15504 exit (1);
15505 if (((long) (sizeof (long))) < 0)
15506 {
15507 long i = longval ();
15508 if (i != ((long) (sizeof (long))))
15509 exit (1);
15510 fprintf (f, "%ld\n", i);
15511 }
15512 else
15513 {
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (long))))
15516 exit (1);
15517 fprintf (f, "%lu\n", i);
15518 }
15519 exit (ferror (f) || fclose (f) != 0);
15520
15521 ;
15522 return 0;
15523}
15524_ACEOF
15525rm -f conftest$ac_exeext
15526if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15533 ac_status=$?
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_long=`cat conftest.val`
15537else
15538 echo "$as_me: program exited with status $ac_status" >&5
15539echo "$as_me: failed program was:" >&5
15540sed 's/^/| /' conftest.$ac_ext >&5
15541
15542( exit $ac_status )
15543{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15544See \`config.log' for more details." >&5
15545echo "$as_me: error: cannot compute sizeof (long), 77
15546See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; }
15548fi
15549rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15550fi
15551fi
15552rm -f conftest.val
15553else
15554 ac_cv_sizeof_long=0
15555fi
15556fi
15557echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15558echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15559cat >>confdefs.h <<_ACEOF
15560#define SIZEOF_LONG $ac_cv_sizeof_long
15561_ACEOF
15562
15563
15564
15565case "${host}" in
15566 arm-*-linux* )
15567 echo "$as_me:$LINENO: checking for long long" >&5
15568echo $ECHO_N "checking for long long... $ECHO_C" >&6
15569if test "${ac_cv_type_long_long+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571else
15572 cat >conftest.$ac_ext <<_ACEOF
15573#line $LINENO "configure"
15574/* confdefs.h. */
15575_ACEOF
15576cat confdefs.h >>conftest.$ac_ext
15577cat >>conftest.$ac_ext <<_ACEOF
15578/* end confdefs.h. */
15579$ac_includes_default
15580int
15581main ()
15582{
15583if ((long long *) 0)
15584 return 0;
15585if (sizeof (long long))
15586 return 0;
15587 ;
15588 return 0;
15589}
15590_ACEOF
15591rm -f conftest.$ac_objext
15592if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15593 (eval $ac_compile) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } &&
15597 { ac_try='test -s conftest.$ac_objext'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; }; then
15603 ac_cv_type_long_long=yes
15604else
15605 echo "$as_me: failed program was:" >&5
15606sed 's/^/| /' conftest.$ac_ext >&5
15607
15608ac_cv_type_long_long=no
15609fi
15610rm -f conftest.$ac_objext conftest.$ac_ext
15611fi
15612echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15613echo "${ECHO_T}$ac_cv_type_long_long" >&6
15614
15615echo "$as_me:$LINENO: checking size of long long" >&5
15616echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15617if test "${ac_cv_sizeof_long_long+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15619else
15620 if test "$ac_cv_type_long_long" = yes; then
15621 # The cast to unsigned long works around a bug in the HP C Compiler
15622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15624 # This bug is HP SR number 8606223364.
15625 if test "$cross_compiling" = yes; then
15626 # Depending upon the size, compute the lo and hi bounds.
15627cat >conftest.$ac_ext <<_ACEOF
15628#line $LINENO "configure"
15629/* confdefs.h. */
15630_ACEOF
15631cat confdefs.h >>conftest.$ac_ext
15632cat >>conftest.$ac_ext <<_ACEOF
15633/* end confdefs.h. */
15634$ac_includes_default
15635int
15636main ()
15637{
15638static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15639test_array [0] = 0
15640
15641 ;
15642 return 0;
15643}
15644_ACEOF
15645rm -f conftest.$ac_objext
15646if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 (eval $ac_compile) 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } &&
15651 { ac_try='test -s conftest.$ac_objext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_lo=0 ac_mid=0
15658 while :; do
15659 cat >conftest.$ac_ext <<_ACEOF
15660#line $LINENO "configure"
15661/* confdefs.h. */
15662_ACEOF
15663cat confdefs.h >>conftest.$ac_ext
15664cat >>conftest.$ac_ext <<_ACEOF
15665/* end confdefs.h. */
15666$ac_includes_default
15667int
15668main ()
15669{
15670static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15671test_array [0] = 0
15672
15673 ;
15674 return 0;
15675}
15676_ACEOF
15677rm -f conftest.$ac_objext
15678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15679 (eval $ac_compile) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); } &&
15683 { ac_try='test -s conftest.$ac_objext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15686 ac_status=$?
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_hi=$ac_mid; break
15690else
15691 echo "$as_me: failed program was:" >&5
15692sed 's/^/| /' conftest.$ac_ext >&5
15693
15694ac_lo=`expr $ac_mid + 1`
15695 if test $ac_lo -le $ac_mid; then
15696 ac_lo= ac_hi=
15697 break
15698 fi
15699 ac_mid=`expr 2 '*' $ac_mid + 1`
15700fi
15701rm -f conftest.$ac_objext conftest.$ac_ext
15702 done
15703else
15704 echo "$as_me: failed program was:" >&5
15705sed 's/^/| /' conftest.$ac_ext >&5
15706
15707cat >conftest.$ac_ext <<_ACEOF
15708#line $LINENO "configure"
15709/* confdefs.h. */
15710_ACEOF
15711cat confdefs.h >>conftest.$ac_ext
15712cat >>conftest.$ac_ext <<_ACEOF
15713/* end confdefs.h. */
15714$ac_includes_default
15715int
15716main ()
15717{
15718static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15719test_array [0] = 0
15720
15721 ;
15722 return 0;
15723}
15724_ACEOF
15725rm -f conftest.$ac_objext
15726if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727 (eval $ac_compile) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } &&
15731 { ac_try='test -s conftest.$ac_objext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15734 ac_status=$?
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_hi=-1 ac_mid=-1
15738 while :; do
15739 cat >conftest.$ac_ext <<_ACEOF
15740#line $LINENO "configure"
15741/* confdefs.h. */
15742_ACEOF
15743cat confdefs.h >>conftest.$ac_ext
15744cat >>conftest.$ac_ext <<_ACEOF
15745/* end confdefs.h. */
15746$ac_includes_default
15747int
15748main ()
15749{
15750static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15751test_array [0] = 0
15752
15753 ;
15754 return 0;
15755}
15756_ACEOF
15757rm -f conftest.$ac_objext
15758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>&5
15760 ac_status=$?
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try='test -s conftest.$ac_objext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15766 ac_status=$?
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 ac_lo=$ac_mid; break
15770else
15771 echo "$as_me: failed program was:" >&5
15772sed 's/^/| /' conftest.$ac_ext >&5
15773
15774ac_hi=`expr '(' $ac_mid ')' - 1`
15775 if test $ac_mid -le $ac_hi; then
15776 ac_lo= ac_hi=
15777 break
15778 fi
15779 ac_mid=`expr 2 '*' $ac_mid`
15780fi
15781rm -f conftest.$ac_objext conftest.$ac_ext
15782 done
15783else
15784 echo "$as_me: failed program was:" >&5
15785sed 's/^/| /' conftest.$ac_ext >&5
15786
15787ac_lo= ac_hi=
15788fi
15789rm -f conftest.$ac_objext conftest.$ac_ext
15790fi
15791rm -f conftest.$ac_objext conftest.$ac_ext
15792# Binary search between lo and hi bounds.
15793while test "x$ac_lo" != "x$ac_hi"; do
15794 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15795 cat >conftest.$ac_ext <<_ACEOF
15796#line $LINENO "configure"
15797/* confdefs.h. */
15798_ACEOF
15799cat confdefs.h >>conftest.$ac_ext
15800cat >>conftest.$ac_ext <<_ACEOF
15801/* end confdefs.h. */
15802$ac_includes_default
15803int
15804main ()
15805{
15806static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15807test_array [0] = 0
15808
15809 ;
15810 return 0;
15811}
15812_ACEOF
15813rm -f conftest.$ac_objext
15814if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815 (eval $ac_compile) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_hi=$ac_mid
15826else
15827 echo "$as_me: failed program was:" >&5
15828sed 's/^/| /' conftest.$ac_ext >&5
15829
15830ac_lo=`expr '(' $ac_mid ')' + 1`
15831fi
15832rm -f conftest.$ac_objext conftest.$ac_ext
15833done
15834case $ac_lo in
15835?*) ac_cv_sizeof_long_long=$ac_lo;;
15836'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15837See \`config.log' for more details." >&5
15838echo "$as_me: error: cannot compute sizeof (long long), 77
15839See \`config.log' for more details." >&2;}
15840 { (exit 1); exit 1; }; } ;;
15841esac
15842else
15843 if test "$cross_compiling" = yes; then
15844 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15845See \`config.log' for more details." >&5
15846echo "$as_me: error: cannot run test program while cross compiling
15847See \`config.log' for more details." >&2;}
15848 { (exit 1); exit 1; }; }
15849else
15850 cat >conftest.$ac_ext <<_ACEOF
15851#line $LINENO "configure"
15852/* confdefs.h. */
15853_ACEOF
15854cat confdefs.h >>conftest.$ac_ext
15855cat >>conftest.$ac_ext <<_ACEOF
15856/* end confdefs.h. */
15857$ac_includes_default
15858long longval () { return (long) (sizeof (long long)); }
15859unsigned long ulongval () { return (long) (sizeof (long long)); }
15860#include <stdio.h>
15861#include <stdlib.h>
15862int
15863main ()
15864{
15865
15866 FILE *f = fopen ("conftest.val", "w");
15867 if (! f)
15868 exit (1);
15869 if (((long) (sizeof (long long))) < 0)
15870 {
15871 long i = longval ();
15872 if (i != ((long) (sizeof (long long))))
15873 exit (1);
15874 fprintf (f, "%ld\n", i);
15875 }
15876 else
15877 {
15878 unsigned long i = ulongval ();
15879 if (i != ((long) (sizeof (long long))))
15880 exit (1);
15881 fprintf (f, "%lu\n", i);
15882 }
15883 exit (ferror (f) || fclose (f) != 0);
15884
15885 ;
15886 return 0;
15887}
15888_ACEOF
15889rm -f conftest$ac_exeext
15890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_cv_sizeof_long_long=`cat conftest.val`
15901else
15902 echo "$as_me: program exited with status $ac_status" >&5
15903echo "$as_me: failed program was:" >&5
15904sed 's/^/| /' conftest.$ac_ext >&5
15905
15906( exit $ac_status )
15907{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15908See \`config.log' for more details." >&5
15909echo "$as_me: error: cannot compute sizeof (long long), 77
15910See \`config.log' for more details." >&2;}
15911 { (exit 1); exit 1; }; }
15912fi
15913rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15914fi
15915fi
15916rm -f conftest.val
15917else
15918 ac_cv_sizeof_long_long=0
15919fi
15920fi
15921echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15922echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15923cat >>confdefs.h <<_ACEOF
15924#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15925_ACEOF
15926
15927
15928 ;;
15929 *-hp-hpux* )
15930 echo "$as_me:$LINENO: checking for long long" >&5
15931echo $ECHO_N "checking for long long... $ECHO_C" >&6
15932if test "${ac_cv_type_long_long+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934else
15935 cat >conftest.$ac_ext <<_ACEOF
15936#line $LINENO "configure"
15937/* confdefs.h. */
15938_ACEOF
15939cat confdefs.h >>conftest.$ac_ext
15940cat >>conftest.$ac_ext <<_ACEOF
15941/* end confdefs.h. */
15942$ac_includes_default
15943int
15944main ()
15945{
15946if ((long long *) 0)
15947 return 0;
15948if (sizeof (long long))
15949 return 0;
15950 ;
15951 return 0;
15952}
15953_ACEOF
15954rm -f conftest.$ac_objext
15955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15956 (eval $ac_compile) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } &&
15960 { ac_try='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15963 ac_status=$?
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_type_long_long=yes
15967else
15968 echo "$as_me: failed program was:" >&5
15969sed 's/^/| /' conftest.$ac_ext >&5
15970
15971ac_cv_type_long_long=no
15972fi
15973rm -f conftest.$ac_objext conftest.$ac_ext
15974fi
15975echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15976echo "${ECHO_T}$ac_cv_type_long_long" >&6
15977
15978echo "$as_me:$LINENO: checking size of long long" >&5
15979echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15980if test "${ac_cv_sizeof_long_long+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982else
15983 if test "$ac_cv_type_long_long" = yes; then
15984 # The cast to unsigned long works around a bug in the HP C Compiler
15985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15987 # This bug is HP SR number 8606223364.
15988 if test "$cross_compiling" = yes; then
15989 # Depending upon the size, compute the lo and hi bounds.
15990cat >conftest.$ac_ext <<_ACEOF
15991#line $LINENO "configure"
15992/* confdefs.h. */
15993_ACEOF
15994cat confdefs.h >>conftest.$ac_ext
15995cat >>conftest.$ac_ext <<_ACEOF
15996/* end confdefs.h. */
15997$ac_includes_default
15998int
15999main ()
16000{
16001static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16002test_array [0] = 0
16003
16004 ;
16005 return 0;
16006}
16007_ACEOF
16008rm -f conftest.$ac_objext
16009if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16010 (eval $ac_compile) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_lo=0 ac_mid=0
16021 while :; do
16022 cat >conftest.$ac_ext <<_ACEOF
16023#line $LINENO "configure"
16024/* confdefs.h. */
16025_ACEOF
16026cat confdefs.h >>conftest.$ac_ext
16027cat >>conftest.$ac_ext <<_ACEOF
16028/* end confdefs.h. */
16029$ac_includes_default
16030int
16031main ()
16032{
16033static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16034test_array [0] = 0
16035
16036 ;
16037 return 0;
16038}
16039_ACEOF
16040rm -f conftest.$ac_objext
16041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_hi=$ac_mid; break
16053else
16054 echo "$as_me: failed program was:" >&5
16055sed 's/^/| /' conftest.$ac_ext >&5
16056
16057ac_lo=`expr $ac_mid + 1`
16058 if test $ac_lo -le $ac_mid; then
16059 ac_lo= ac_hi=
16060 break
16061 fi
16062 ac_mid=`expr 2 '*' $ac_mid + 1`
16063fi
16064rm -f conftest.$ac_objext conftest.$ac_ext
16065 done
16066else
16067 echo "$as_me: failed program was:" >&5
16068sed 's/^/| /' conftest.$ac_ext >&5
16069
16070cat >conftest.$ac_ext <<_ACEOF
16071#line $LINENO "configure"
16072/* confdefs.h. */
16073_ACEOF
16074cat confdefs.h >>conftest.$ac_ext
16075cat >>conftest.$ac_ext <<_ACEOF
16076/* end confdefs.h. */
16077$ac_includes_default
16078int
16079main ()
16080{
16081static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16082test_array [0] = 0
16083
16084 ;
16085 return 0;
16086}
16087_ACEOF
16088rm -f conftest.$ac_objext
16089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16097 ac_status=$?
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_hi=-1 ac_mid=-1
16101 while :; do
16102 cat >conftest.$ac_ext <<_ACEOF
16103#line $LINENO "configure"
16104/* confdefs.h. */
16105_ACEOF
16106cat confdefs.h >>conftest.$ac_ext
16107cat >>conftest.$ac_ext <<_ACEOF
16108/* end confdefs.h. */
16109$ac_includes_default
16110int
16111main ()
16112{
16113static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16114test_array [0] = 0
16115
16116 ;
16117 return 0;
16118}
16119_ACEOF
16120rm -f conftest.$ac_objext
16121if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16122 (eval $ac_compile) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } &&
16126 { ac_try='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_lo=$ac_mid; break
16133else
16134 echo "$as_me: failed program was:" >&5
16135sed 's/^/| /' conftest.$ac_ext >&5
16136
16137ac_hi=`expr '(' $ac_mid ')' - 1`
16138 if test $ac_mid -le $ac_hi; then
16139 ac_lo= ac_hi=
16140 break
16141 fi
16142 ac_mid=`expr 2 '*' $ac_mid`
16143fi
16144rm -f conftest.$ac_objext conftest.$ac_ext
16145 done
16146else
16147 echo "$as_me: failed program was:" >&5
16148sed 's/^/| /' conftest.$ac_ext >&5
16149
16150ac_lo= ac_hi=
16151fi
16152rm -f conftest.$ac_objext conftest.$ac_ext
16153fi
16154rm -f conftest.$ac_objext conftest.$ac_ext
16155# Binary search between lo and hi bounds.
16156while test "x$ac_lo" != "x$ac_hi"; do
16157 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16158 cat >conftest.$ac_ext <<_ACEOF
16159#line $LINENO "configure"
16160/* confdefs.h. */
16161_ACEOF
16162cat confdefs.h >>conftest.$ac_ext
16163cat >>conftest.$ac_ext <<_ACEOF
16164/* end confdefs.h. */
16165$ac_includes_default
16166int
16167main ()
16168{
16169static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16170test_array [0] = 0
16171
16172 ;
16173 return 0;
16174}
16175_ACEOF
16176rm -f conftest.$ac_objext
16177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16178 (eval $ac_compile) 2>&5
16179 ac_status=$?
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_hi=$ac_mid
16189else
16190 echo "$as_me: failed program was:" >&5
16191sed 's/^/| /' conftest.$ac_ext >&5
16192
16193ac_lo=`expr '(' $ac_mid ')' + 1`
16194fi
16195rm -f conftest.$ac_objext conftest.$ac_ext
16196done
16197case $ac_lo in
16198?*) ac_cv_sizeof_long_long=$ac_lo;;
16199'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16200See \`config.log' for more details." >&5
16201echo "$as_me: error: cannot compute sizeof (long long), 77
16202See \`config.log' for more details." >&2;}
16203 { (exit 1); exit 1; }; } ;;
16204esac
16205else
16206 if test "$cross_compiling" = yes; then
16207 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16208See \`config.log' for more details." >&5
16209echo "$as_me: error: cannot run test program while cross compiling
16210See \`config.log' for more details." >&2;}
16211 { (exit 1); exit 1; }; }
16212else
16213 cat >conftest.$ac_ext <<_ACEOF
16214#line $LINENO "configure"
16215/* confdefs.h. */
16216_ACEOF
16217cat confdefs.h >>conftest.$ac_ext
16218cat >>conftest.$ac_ext <<_ACEOF
16219/* end confdefs.h. */
16220$ac_includes_default
16221long longval () { return (long) (sizeof (long long)); }
16222unsigned long ulongval () { return (long) (sizeof (long long)); }
16223#include <stdio.h>
16224#include <stdlib.h>
16225int
16226main ()
16227{
16228
16229 FILE *f = fopen ("conftest.val", "w");
16230 if (! f)
16231 exit (1);
16232 if (((long) (sizeof (long long))) < 0)
16233 {
16234 long i = longval ();
16235 if (i != ((long) (sizeof (long long))))
16236 exit (1);
16237 fprintf (f, "%ld\n", i);
16238 }
16239 else
16240 {
16241 unsigned long i = ulongval ();
16242 if (i != ((long) (sizeof (long long))))
16243 exit (1);
16244 fprintf (f, "%lu\n", i);
16245 }
16246 exit (ferror (f) || fclose (f) != 0);
16247
16248 ;
16249 return 0;
16250}
16251_ACEOF
16252rm -f conftest$ac_exeext
16253if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16254 (eval $ac_link) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16260 ac_status=$?
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16263 ac_cv_sizeof_long_long=`cat conftest.val`
16264else
16265 echo "$as_me: program exited with status $ac_status" >&5
16266echo "$as_me: failed program was:" >&5
16267sed 's/^/| /' conftest.$ac_ext >&5
16268
16269( exit $ac_status )
16270{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16271See \`config.log' for more details." >&5
16272echo "$as_me: error: cannot compute sizeof (long long), 77
16273See \`config.log' for more details." >&2;}
16274 { (exit 1); exit 1; }; }
16275fi
16276rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16277fi
16278fi
16279rm -f conftest.val
16280else
16281 ac_cv_sizeof_long_long=0
16282fi
16283fi
16284echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16285echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16286cat >>confdefs.h <<_ACEOF
16287#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16288_ACEOF
16289
16290
16291 if test "$ac_cv_sizeof_long_long" != "0"; then
16292 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16293 fi
16294 ;;
16295 * )
16296 echo "$as_me:$LINENO: checking for long long" >&5
16297echo $ECHO_N "checking for long long... $ECHO_C" >&6
16298if test "${ac_cv_type_long_long+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16300else
16301 cat >conftest.$ac_ext <<_ACEOF
16302#line $LINENO "configure"
16303/* confdefs.h. */
16304_ACEOF
16305cat confdefs.h >>conftest.$ac_ext
16306cat >>conftest.$ac_ext <<_ACEOF
16307/* end confdefs.h. */
16308$ac_includes_default
16309int
16310main ()
16311{
16312if ((long long *) 0)
16313 return 0;
16314if (sizeof (long long))
16315 return 0;
16316 ;
16317 return 0;
16318}
16319_ACEOF
16320rm -f conftest.$ac_objext
16321if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16322 (eval $ac_compile) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try='test -s conftest.$ac_objext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16329 ac_status=$?
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_cv_type_long_long=yes
16333else
16334 echo "$as_me: failed program was:" >&5
16335sed 's/^/| /' conftest.$ac_ext >&5
16336
16337ac_cv_type_long_long=no
16338fi
16339rm -f conftest.$ac_objext conftest.$ac_ext
16340fi
16341echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16342echo "${ECHO_T}$ac_cv_type_long_long" >&6
16343
16344echo "$as_me:$LINENO: checking size of long long" >&5
16345echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16346if test "${ac_cv_sizeof_long_long+set}" = set; then
16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16348else
16349 if test "$ac_cv_type_long_long" = yes; then
16350 # The cast to unsigned long works around a bug in the HP C Compiler
16351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16353 # This bug is HP SR number 8606223364.
16354 if test "$cross_compiling" = yes; then
16355 # Depending upon the size, compute the lo and hi bounds.
16356cat >conftest.$ac_ext <<_ACEOF
16357#line $LINENO "configure"
16358/* confdefs.h. */
16359_ACEOF
16360cat confdefs.h >>conftest.$ac_ext
16361cat >>conftest.$ac_ext <<_ACEOF
16362/* end confdefs.h. */
16363$ac_includes_default
16364int
16365main ()
16366{
16367static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16368test_array [0] = 0
16369
16370 ;
16371 return 0;
16372}
16373_ACEOF
16374rm -f conftest.$ac_objext
16375if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_lo=0 ac_mid=0
16387 while :; do
16388 cat >conftest.$ac_ext <<_ACEOF
16389#line $LINENO "configure"
16390/* confdefs.h. */
16391_ACEOF
16392cat confdefs.h >>conftest.$ac_ext
16393cat >>conftest.$ac_ext <<_ACEOF
16394/* end confdefs.h. */
16395$ac_includes_default
16396int
16397main ()
16398{
16399static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16400test_array [0] = 0
16401
16402 ;
16403 return 0;
16404}
16405_ACEOF
16406rm -f conftest.$ac_objext
16407if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_hi=$ac_mid; break
16419else
16420 echo "$as_me: failed program was:" >&5
16421sed 's/^/| /' conftest.$ac_ext >&5
16422
16423ac_lo=`expr $ac_mid + 1`
16424 if test $ac_lo -le $ac_mid; then
16425 ac_lo= ac_hi=
16426 break
16427 fi
16428 ac_mid=`expr 2 '*' $ac_mid + 1`
16429fi
16430rm -f conftest.$ac_objext conftest.$ac_ext
16431 done
16432else
16433 echo "$as_me: failed program was:" >&5
16434sed 's/^/| /' conftest.$ac_ext >&5
16435
16436cat >conftest.$ac_ext <<_ACEOF
16437#line $LINENO "configure"
16438/* confdefs.h. */
16439_ACEOF
16440cat confdefs.h >>conftest.$ac_ext
16441cat >>conftest.$ac_ext <<_ACEOF
16442/* end confdefs.h. */
16443$ac_includes_default
16444int
16445main ()
16446{
16447static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16448test_array [0] = 0
16449
16450 ;
16451 return 0;
16452}
16453_ACEOF
16454rm -f conftest.$ac_objext
16455if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try='test -s conftest.$ac_objext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_hi=-1 ac_mid=-1
16467 while :; do
16468 cat >conftest.$ac_ext <<_ACEOF
16469#line $LINENO "configure"
16470/* confdefs.h. */
16471_ACEOF
16472cat confdefs.h >>conftest.$ac_ext
16473cat >>conftest.$ac_ext <<_ACEOF
16474/* end confdefs.h. */
16475$ac_includes_default
16476int
16477main ()
16478{
16479static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16480test_array [0] = 0
16481
16482 ;
16483 return 0;
16484}
16485_ACEOF
16486rm -f conftest.$ac_objext
16487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } &&
16492 { ac_try='test -s conftest.$ac_objext'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16495 ac_status=$?
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 ac_lo=$ac_mid; break
16499else
16500 echo "$as_me: failed program was:" >&5
16501sed 's/^/| /' conftest.$ac_ext >&5
16502
16503ac_hi=`expr '(' $ac_mid ')' - 1`
16504 if test $ac_mid -le $ac_hi; then
16505 ac_lo= ac_hi=
16506 break
16507 fi
16508 ac_mid=`expr 2 '*' $ac_mid`
16509fi
16510rm -f conftest.$ac_objext conftest.$ac_ext
16511 done
16512else
16513 echo "$as_me: failed program was:" >&5
16514sed 's/^/| /' conftest.$ac_ext >&5
16515
16516ac_lo= ac_hi=
16517fi
16518rm -f conftest.$ac_objext conftest.$ac_ext
16519fi
16520rm -f conftest.$ac_objext conftest.$ac_ext
16521# Binary search between lo and hi bounds.
16522while test "x$ac_lo" != "x$ac_hi"; do
16523 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16524 cat >conftest.$ac_ext <<_ACEOF
16525#line $LINENO "configure"
16526/* confdefs.h. */
16527_ACEOF
16528cat confdefs.h >>conftest.$ac_ext
16529cat >>conftest.$ac_ext <<_ACEOF
16530/* end confdefs.h. */
16531$ac_includes_default
16532int
16533main ()
16534{
16535static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16536test_array [0] = 0
16537
16538 ;
16539 return 0;
16540}
16541_ACEOF
16542rm -f conftest.$ac_objext
16543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_hi=$ac_mid
16555else
16556 echo "$as_me: failed program was:" >&5
16557sed 's/^/| /' conftest.$ac_ext >&5
16558
16559ac_lo=`expr '(' $ac_mid ')' + 1`
16560fi
16561rm -f conftest.$ac_objext conftest.$ac_ext
16562done
16563case $ac_lo in
16564?*) ac_cv_sizeof_long_long=$ac_lo;;
16565'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16566See \`config.log' for more details." >&5
16567echo "$as_me: error: cannot compute sizeof (long long), 77
16568See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; } ;;
16570esac
16571else
16572 if test "$cross_compiling" = yes; then
16573 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16574See \`config.log' for more details." >&5
16575echo "$as_me: error: cannot run test program while cross compiling
16576See \`config.log' for more details." >&2;}
16577 { (exit 1); exit 1; }; }
16578else
16579 cat >conftest.$ac_ext <<_ACEOF
16580#line $LINENO "configure"
16581/* confdefs.h. */
16582_ACEOF
16583cat confdefs.h >>conftest.$ac_ext
16584cat >>conftest.$ac_ext <<_ACEOF
16585/* end confdefs.h. */
16586$ac_includes_default
16587long longval () { return (long) (sizeof (long long)); }
16588unsigned long ulongval () { return (long) (sizeof (long long)); }
16589#include <stdio.h>
16590#include <stdlib.h>
16591int
16592main ()
16593{
16594
16595 FILE *f = fopen ("conftest.val", "w");
16596 if (! f)
16597 exit (1);
16598 if (((long) (sizeof (long long))) < 0)
16599 {
16600 long i = longval ();
16601 if (i != ((long) (sizeof (long long))))
16602 exit (1);
16603 fprintf (f, "%ld\n", i);
16604 }
16605 else
16606 {
16607 unsigned long i = ulongval ();
16608 if (i != ((long) (sizeof (long long))))
16609 exit (1);
16610 fprintf (f, "%lu\n", i);
16611 }
16612 exit (ferror (f) || fclose (f) != 0);
16613
16614 ;
16615 return 0;
16616}
16617_ACEOF
16618rm -f conftest$ac_exeext
16619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16620 (eval $ac_link) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 ac_cv_sizeof_long_long=`cat conftest.val`
16630else
16631 echo "$as_me: program exited with status $ac_status" >&5
16632echo "$as_me: failed program was:" >&5
16633sed 's/^/| /' conftest.$ac_ext >&5
16634
16635( exit $ac_status )
16636{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16637See \`config.log' for more details." >&5
16638echo "$as_me: error: cannot compute sizeof (long long), 77
16639See \`config.log' for more details." >&2;}
16640 { (exit 1); exit 1; }; }
16641fi
16642rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16643fi
16644fi
16645rm -f conftest.val
16646else
16647 ac_cv_sizeof_long_long=0
16648fi
16649fi
16650echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16651echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16652cat >>confdefs.h <<_ACEOF
16653#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16654_ACEOF
16655
16656
16657esac
16658
16659echo "$as_me:$LINENO: checking size of wchar_t" >&5
16660echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16661if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16663else
16664
16665 if test "$cross_compiling" = yes; then
16666
16667 case "${host}" in
16668 *-pc-msdosdjgpp )
16669 wx_cv_sizeof_wchar_t=0
16670 ;;
16671 * )
16672 wx_cv_sizeof_wchar_t=4
16673 ;;
16674 esac
16675
16676
16677else
16678 cat >conftest.$ac_ext <<_ACEOF
16679#line $LINENO "configure"
16680/* confdefs.h. */
16681_ACEOF
16682cat confdefs.h >>conftest.$ac_ext
16683cat >>conftest.$ac_ext <<_ACEOF
16684/* end confdefs.h. */
16685
16686 /* DJGPP only has fake wchar_t: */
16687 #ifdef __DJGPP__
16688 # error "fake wchar_t"
16689 #endif
16690 #ifdef HAVE_WCHAR_H
16691 # ifdef __CYGWIN__
16692 # include <stddef.h>
16693 # endif
16694 # include <wchar.h>
16695 #endif
16696 #ifdef HAVE_STDLIB_H
16697 # include <stdlib.h>
16698 #endif
16699 #include <stdio.h>
16700 int main()
16701 {
16702 FILE *f=fopen("conftestval", "w");
16703 if (!f) exit(1);
16704 fprintf(f, "%i", sizeof(wchar_t));
16705 exit(0);
16706 }
16707
16708_ACEOF
16709rm -f conftest$ac_exeext
16710if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16711 (eval $ac_link) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 wx_cv_sizeof_wchar_t=`cat conftestval`
16721else
16722 echo "$as_me: program exited with status $ac_status" >&5
16723echo "$as_me: failed program was:" >&5
16724sed 's/^/| /' conftest.$ac_ext >&5
16725
16726( exit $ac_status )
16727wx_cv_sizeof_wchar_t=0
16728fi
16729rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16730fi
16731
16732fi
16733echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16734echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16735
16736cat >>confdefs.h <<_ACEOF
16737#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16738_ACEOF
16739
16740
16741# Check whether --enable-largefile or --disable-largefile was given.
16742if test "${enable_largefile+set}" = set; then
16743 enableval="$enable_largefile"
16744
16745fi;
16746if test "$enable_largefile" != no; then
16747 wx_largefile=no
16748
16749 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16750echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16751if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16753else
16754
16755 cat >conftest.$ac_ext <<_ACEOF
16756#line $LINENO "configure"
16757/* confdefs.h. */
16758_ACEOF
16759cat confdefs.h >>conftest.$ac_ext
16760cat >>conftest.$ac_ext <<_ACEOF
16761/* end confdefs.h. */
16762#define _FILE_OFFSET_BITS 64
16763 #include <sys/types.h>
16764int
16765main ()
16766{
16767typedef struct {
16768 unsigned int field: sizeof(off_t) == 8;
16769} wxlf;
16770
16771 ;
16772 return 0;
16773}
16774_ACEOF
16775rm -f conftest.$ac_objext
16776if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try='test -s conftest.$ac_objext'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16784 ac_status=$?
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; }; then
16787 ac_cv_sys_file_offset_bits=64
16788else
16789 echo "$as_me: failed program was:" >&5
16790sed 's/^/| /' conftest.$ac_ext >&5
16791
16792ac_cv_sys_file_offset_bits=no
16793fi
16794rm -f conftest.$ac_objext conftest.$ac_ext
16795
16796
16797fi
16798echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16799echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16800
16801 if test "$ac_cv_sys_file_offset_bits" != no; then
16802 wx_largefile=yes
16803 cat >>confdefs.h <<_ACEOF
16804#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16805_ACEOF
16806
16807 fi
16808
16809 if test "x$wx_largefile" != "xyes"; then
16810
16811 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16812echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16813if test "${ac_cv_sys_large_files+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16815else
16816
16817 cat >conftest.$ac_ext <<_ACEOF
16818#line $LINENO "configure"
16819/* confdefs.h. */
16820_ACEOF
16821cat confdefs.h >>conftest.$ac_ext
16822cat >>conftest.$ac_ext <<_ACEOF
16823/* end confdefs.h. */
16824#define _LARGE_FILES 1
16825 #include <sys/types.h>
16826int
16827main ()
16828{
16829typedef struct {
16830 unsigned int field: sizeof(off_t) == 8;
16831} wxlf;
16832
16833 ;
16834 return 0;
16835}
16836_ACEOF
16837rm -f conftest.$ac_objext
16838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16846 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16849 ac_cv_sys_large_files=1
16850else
16851 echo "$as_me: failed program was:" >&5
16852sed 's/^/| /' conftest.$ac_ext >&5
16853
16854ac_cv_sys_large_files=no
16855fi
16856rm -f conftest.$ac_objext conftest.$ac_ext
16857
16858
16859fi
16860echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16861echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16862
16863 if test "$ac_cv_sys_large_files" != no; then
16864 wx_largefile=yes
16865 cat >>confdefs.h <<_ACEOF
16866#define _LARGE_FILES $ac_cv_sys_large_files
16867_ACEOF
16868
16869 fi
16870
16871 fi
16872
16873 echo "$as_me:$LINENO: checking if large file support is available" >&5
16874echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16875 if test "x$wx_largefile" = "xyes"; then
16876 cat >>confdefs.h <<\_ACEOF
16877#define HAVE_LARGEFILE_SUPPORT 1
16878_ACEOF
16879
16880 fi
16881 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16882echo "${ECHO_T}$wx_largefile" >&6
16883fi
16884
16885
16886if test "x$wx_largefile" = "xyes"; then
16887 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16888 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16889 else
16890 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16891 fi
16892 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16893fi
16894
16895echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16896echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16897if test "${ac_cv_c_bigendian+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899else
16900 ac_cv_c_bigendian=unknown
16901# See if sys/param.h defines the BYTE_ORDER macro.
16902cat >conftest.$ac_ext <<_ACEOF
16903#line $LINENO "configure"
16904/* confdefs.h. */
16905_ACEOF
16906cat confdefs.h >>conftest.$ac_ext
16907cat >>conftest.$ac_ext <<_ACEOF
16908/* end confdefs.h. */
16909#include <sys/types.h>
16910#include <sys/param.h>
16911int
16912main ()
16913{
16914
16915#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16916 bogus endian macros
16917#endif
16918 ;
16919 return 0;
16920}
16921_ACEOF
16922rm -f conftest.$ac_objext
16923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 # It does; now see whether it defined to BIG_ENDIAN or not.
16935cat >conftest.$ac_ext <<_ACEOF
16936#line $LINENO "configure"
16937/* confdefs.h. */
16938_ACEOF
16939cat confdefs.h >>conftest.$ac_ext
16940cat >>conftest.$ac_ext <<_ACEOF
16941/* end confdefs.h. */
16942#include <sys/types.h>
16943#include <sys/param.h>
16944int
16945main ()
16946{
16947
16948#if BYTE_ORDER != BIG_ENDIAN
16949 not big endian
16950#endif
16951 ;
16952 return 0;
16953}
16954_ACEOF
16955rm -f conftest.$ac_objext
16956if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16957 (eval $ac_compile) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } &&
16961 { ac_try='test -s conftest.$ac_objext'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; }; then
16967 ac_cv_c_bigendian=yes
16968else
16969 echo "$as_me: failed program was:" >&5
16970sed 's/^/| /' conftest.$ac_ext >&5
16971
16972ac_cv_c_bigendian=no
16973fi
16974rm -f conftest.$ac_objext conftest.$ac_ext
16975else
16976 echo "$as_me: failed program was:" >&5
16977sed 's/^/| /' conftest.$ac_ext >&5
16978
16979fi
16980rm -f conftest.$ac_objext conftest.$ac_ext
16981if test $ac_cv_c_bigendian = unknown; then
16982if test "$cross_compiling" = yes; then
16983 ac_cv_c_bigendian=unknown
16984else
16985 cat >conftest.$ac_ext <<_ACEOF
16986#line $LINENO "configure"
16987/* confdefs.h. */
16988_ACEOF
16989cat confdefs.h >>conftest.$ac_ext
16990cat >>conftest.$ac_ext <<_ACEOF
16991/* end confdefs.h. */
16992main () {
16993 /* Are we little or big endian? From Harbison&Steele. */
16994 union
16995 {
16996 long l;
16997 char c[sizeof (long)];
16998 } u;
16999 u.l = 1;
17000 exit (u.c[sizeof (long) - 1] == 1);
17001}
17002_ACEOF
17003rm -f conftest$ac_exeext
17004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_cv_c_bigendian=no
17015else
17016 echo "$as_me: program exited with status $ac_status" >&5
17017echo "$as_me: failed program was:" >&5
17018sed 's/^/| /' conftest.$ac_ext >&5
17019
17020( exit $ac_status )
17021ac_cv_c_bigendian=yes
17022fi
17023rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17024fi
17025fi
17026fi
17027echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17028echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17029if test $ac_cv_c_bigendian = unknown; then
17030 { 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
17031echo "$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;}
17032fi
17033if test $ac_cv_c_bigendian = yes; then
17034 cat >>confdefs.h <<\_ACEOF
17035#define WORDS_BIGENDIAN 1
17036_ACEOF
17037
17038fi
17039
17040
17041
17042ac_ext=cc
17043ac_cpp='$CXXCPP $CPPFLAGS'
17044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17047echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17048echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17049if test -z "$CXXCPP"; then
17050 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052else
17053 # Double quotes because CXXCPP needs to be expanded
17054 for CXXCPP in "$CXX -E" "/lib/cpp"
17055 do
17056 ac_preproc_ok=false
17057for ac_cxx_preproc_warn_flag in '' yes
17058do
17059 # Use a header file that comes with gcc, so configuring glibc
17060 # with a fresh cross-compiler works.
17061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17062 # <limits.h> exists even on freestanding compilers.
17063 # On the NeXT, cc -E runs the code through the compiler's parser,
17064 # not just through cpp. "Syntax error" is here to catch this case.
17065 cat >conftest.$ac_ext <<_ACEOF
17066#line $LINENO "configure"
17067/* confdefs.h. */
17068_ACEOF
17069cat confdefs.h >>conftest.$ac_ext
17070cat >>conftest.$ac_ext <<_ACEOF
17071/* end confdefs.h. */
17072#ifdef __STDC__
17073# include <limits.h>
17074#else
17075# include <assert.h>
17076#endif
17077 Syntax error
17078_ACEOF
17079if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } >/dev/null; then
17087 if test -s conftest.err; then
17088 ac_cpp_err=$ac_cxx_preproc_warn_flag
17089 else
17090 ac_cpp_err=
17091 fi
17092else
17093 ac_cpp_err=yes
17094fi
17095if test -z "$ac_cpp_err"; then
17096 :
17097else
17098 echo "$as_me: failed program was:" >&5
17099sed 's/^/| /' conftest.$ac_ext >&5
17100
17101 # Broken: fails on valid input.
17102continue
17103fi
17104rm -f conftest.err conftest.$ac_ext
17105
17106 # OK, works on sane cases. Now check whether non-existent headers
17107 # can be detected and how.
17108 cat >conftest.$ac_ext <<_ACEOF
17109#line $LINENO "configure"
17110/* confdefs.h. */
17111_ACEOF
17112cat confdefs.h >>conftest.$ac_ext
17113cat >>conftest.$ac_ext <<_ACEOF
17114/* end confdefs.h. */
17115#include <ac_nonexistent.h>
17116_ACEOF
17117if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17119 ac_status=$?
17120 grep -v '^ *+' conftest.er1 >conftest.err
17121 rm -f conftest.er1
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } >/dev/null; then
17125 if test -s conftest.err; then
17126 ac_cpp_err=$ac_cxx_preproc_warn_flag
17127 else
17128 ac_cpp_err=
17129 fi
17130else
17131 ac_cpp_err=yes
17132fi
17133if test -z "$ac_cpp_err"; then
17134 # Broken: success on invalid input.
17135continue
17136else
17137 echo "$as_me: failed program was:" >&5
17138sed 's/^/| /' conftest.$ac_ext >&5
17139
17140 # Passes both tests.
17141ac_preproc_ok=:
17142break
17143fi
17144rm -f conftest.err conftest.$ac_ext
17145
17146done
17147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17148rm -f conftest.err conftest.$ac_ext
17149if $ac_preproc_ok; then
17150 break
17151fi
17152
17153 done
17154 ac_cv_prog_CXXCPP=$CXXCPP
17155
17156fi
17157 CXXCPP=$ac_cv_prog_CXXCPP
17158else
17159 ac_cv_prog_CXXCPP=$CXXCPP
17160fi
17161echo "$as_me:$LINENO: result: $CXXCPP" >&5
17162echo "${ECHO_T}$CXXCPP" >&6
17163ac_preproc_ok=false
17164for ac_cxx_preproc_warn_flag in '' yes
17165do
17166 # Use a header file that comes with gcc, so configuring glibc
17167 # with a fresh cross-compiler works.
17168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17169 # <limits.h> exists even on freestanding compilers.
17170 # On the NeXT, cc -E runs the code through the compiler's parser,
17171 # not just through cpp. "Syntax error" is here to catch this case.
17172 cat >conftest.$ac_ext <<_ACEOF
17173#line $LINENO "configure"
17174/* confdefs.h. */
17175_ACEOF
17176cat confdefs.h >>conftest.$ac_ext
17177cat >>conftest.$ac_ext <<_ACEOF
17178/* end confdefs.h. */
17179#ifdef __STDC__
17180# include <limits.h>
17181#else
17182# include <assert.h>
17183#endif
17184 Syntax error
17185_ACEOF
17186if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } >/dev/null; then
17194 if test -s conftest.err; then
17195 ac_cpp_err=$ac_cxx_preproc_warn_flag
17196 else
17197 ac_cpp_err=
17198 fi
17199else
17200 ac_cpp_err=yes
17201fi
17202if test -z "$ac_cpp_err"; then
17203 :
17204else
17205 echo "$as_me: failed program was:" >&5
17206sed 's/^/| /' conftest.$ac_ext >&5
17207
17208 # Broken: fails on valid input.
17209continue
17210fi
17211rm -f conftest.err conftest.$ac_ext
17212
17213 # OK, works on sane cases. Now check whether non-existent headers
17214 # can be detected and how.
17215 cat >conftest.$ac_ext <<_ACEOF
17216#line $LINENO "configure"
17217/* confdefs.h. */
17218_ACEOF
17219cat confdefs.h >>conftest.$ac_ext
17220cat >>conftest.$ac_ext <<_ACEOF
17221/* end confdefs.h. */
17222#include <ac_nonexistent.h>
17223_ACEOF
17224if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } >/dev/null; then
17232 if test -s conftest.err; then
17233 ac_cpp_err=$ac_cxx_preproc_warn_flag
17234 else
17235 ac_cpp_err=
17236 fi
17237else
17238 ac_cpp_err=yes
17239fi
17240if test -z "$ac_cpp_err"; then
17241 # Broken: success on invalid input.
17242continue
17243else
17244 echo "$as_me: failed program was:" >&5
17245sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 # Passes both tests.
17248ac_preproc_ok=:
17249break
17250fi
17251rm -f conftest.err conftest.$ac_ext
17252
17253done
17254# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17255rm -f conftest.err conftest.$ac_ext
17256if $ac_preproc_ok; then
17257 :
17258else
17259 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17260See \`config.log' for more details." >&5
17261echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17262See \`config.log' for more details." >&2;}
17263 { (exit 1); exit 1; }; }
17264fi
17265
17266ac_ext=cc
17267ac_cpp='$CXXCPP $CPPFLAGS'
17268ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17271
17272
17273
17274 if test "$cross_compiling" = "yes"; then
17275 cat >>confdefs.h <<\_ACEOF
17276#define wxUSE_IOSTREAMH 1
17277_ACEOF
17278
17279 else
17280
17281
17282 ac_ext=cc
17283ac_cpp='$CXXCPP $CPPFLAGS'
17284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17287
17288
17289
17290for ac_header in iostream
17291do
17292as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17293if eval "test \"\${$as_ac_Header+set}\" = set"; then
17294 echo "$as_me:$LINENO: checking for $ac_header" >&5
17295echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17296if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17298fi
17299echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17300echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17301else
17302 # Is the header compilable?
17303echo "$as_me:$LINENO: checking $ac_header usability" >&5
17304echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17305cat >conftest.$ac_ext <<_ACEOF
17306#line $LINENO "configure"
17307/* confdefs.h. */
17308_ACEOF
17309cat confdefs.h >>conftest.$ac_ext
17310cat >>conftest.$ac_ext <<_ACEOF
17311/* end confdefs.h. */
17312$ac_includes_default
17313#include <$ac_header>
17314_ACEOF
17315rm -f conftest.$ac_objext
17316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317 (eval $ac_compile) 2>&5
17318 ac_status=$?
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -s conftest.$ac_objext'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; }; then
17327 ac_header_compiler=yes
17328else
17329 echo "$as_me: failed program was:" >&5
17330sed 's/^/| /' conftest.$ac_ext >&5
17331
17332ac_header_compiler=no
17333fi
17334rm -f conftest.$ac_objext conftest.$ac_ext
17335echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17336echo "${ECHO_T}$ac_header_compiler" >&6
17337
17338# Is the header present?
17339echo "$as_me:$LINENO: checking $ac_header presence" >&5
17340echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17341cat >conftest.$ac_ext <<_ACEOF
17342#line $LINENO "configure"
17343/* confdefs.h. */
17344_ACEOF
17345cat confdefs.h >>conftest.$ac_ext
17346cat >>conftest.$ac_ext <<_ACEOF
17347/* end confdefs.h. */
17348#include <$ac_header>
17349_ACEOF
17350if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17352 ac_status=$?
17353 grep -v '^ *+' conftest.er1 >conftest.err
17354 rm -f conftest.er1
17355 cat conftest.err >&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } >/dev/null; then
17358 if test -s conftest.err; then
17359 ac_cpp_err=$ac_cxx_preproc_warn_flag
17360 else
17361 ac_cpp_err=
17362 fi
17363else
17364 ac_cpp_err=yes
17365fi
17366if test -z "$ac_cpp_err"; then
17367 ac_header_preproc=yes
17368else
17369 echo "$as_me: failed program was:" >&5
17370sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ac_header_preproc=no
17373fi
17374rm -f conftest.err conftest.$ac_ext
17375echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17376echo "${ECHO_T}$ac_header_preproc" >&6
17377
17378# So? What about this header?
17379case $ac_header_compiler:$ac_header_preproc in
17380 yes:no )
17381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17382echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17384echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17385 (
17386 cat <<\_ASBOX
17387## ------------------------------------ ##
17388## Report this to bug-autoconf@gnu.org. ##
17389## ------------------------------------ ##
17390_ASBOX
17391 ) |
17392 sed "s/^/$as_me: WARNING: /" >&2
17393 ;;
17394 no:yes )
17395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17396echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17398echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17400echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17401 (
17402 cat <<\_ASBOX
17403## ------------------------------------ ##
17404## Report this to bug-autoconf@gnu.org. ##
17405## ------------------------------------ ##
17406_ASBOX
17407 ) |
17408 sed "s/^/$as_me: WARNING: /" >&2
17409 ;;
17410esac
17411echo "$as_me:$LINENO: checking for $ac_header" >&5
17412echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17413if eval "test \"\${$as_ac_Header+set}\" = set"; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17415else
17416 eval "$as_ac_Header=$ac_header_preproc"
17417fi
17418echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17419echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17420
17421fi
17422if test `eval echo '${'$as_ac_Header'}'` = yes; then
17423 cat >>confdefs.h <<_ACEOF
17424#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17425_ACEOF
17426
17427fi
17428
17429done
17430
17431
17432 if test "$ac_cv_header_iostream" = "yes" ; then
17433 :
17434 else
17435 cat >>confdefs.h <<\_ACEOF
17436#define wxUSE_IOSTREAMH 1
17437_ACEOF
17438
17439 fi
17440
17441 ac_ext=c
17442ac_cpp='$CPP $CPPFLAGS'
17443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446
17447 fi
17448
17449
17450
17451 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17452echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17453if test "${wx_cv_cpp_bool+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17455else
17456
17457
17458
17459 ac_ext=cc
17460ac_cpp='$CXXCPP $CPPFLAGS'
17461ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17464
17465
17466 cat >conftest.$ac_ext <<_ACEOF
17467#line $LINENO "configure"
17468/* confdefs.h. */
17469_ACEOF
17470cat confdefs.h >>conftest.$ac_ext
17471cat >>conftest.$ac_ext <<_ACEOF
17472/* end confdefs.h. */
17473
17474
17475int
17476main ()
17477{
17478
17479 bool b = true;
17480
17481 return 0;
17482
17483 ;
17484 return 0;
17485}
17486_ACEOF
17487rm -f conftest.$ac_objext
17488if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499
17500 wx_cv_cpp_bool=yes
17501
17502else
17503 echo "$as_me: failed program was:" >&5
17504sed 's/^/| /' conftest.$ac_ext >&5
17505
17506
17507 wx_cv_cpp_bool=no
17508
17509
17510fi
17511rm -f conftest.$ac_objext conftest.$ac_ext
17512
17513 ac_ext=c
17514ac_cpp='$CPP $CPPFLAGS'
17515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518
17519
17520fi
17521echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17522echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17523
17524 if test "$wx_cv_cpp_bool" = "yes"; then
17525 cat >>confdefs.h <<\_ACEOF
17526#define HAVE_BOOL 1
17527_ACEOF
17528
17529 fi
17530
17531
17532
17533 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17534echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17535if test "${wx_cv_explicit+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17537else
17538
17539
17540
17541 ac_ext=cc
17542ac_cpp='$CXXCPP $CPPFLAGS'
17543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17546
17547
17548 cat >conftest.$ac_ext <<_ACEOF
17549#line $LINENO "configure"
17550/* confdefs.h. */
17551_ACEOF
17552cat confdefs.h >>conftest.$ac_ext
17553cat >>conftest.$ac_ext <<_ACEOF
17554/* end confdefs.h. */
17555
17556 class Foo { public: explicit Foo(int) {} };
17557
17558int
17559main ()
17560{
17561
17562 return 0;
17563
17564 ;
17565 return 0;
17566}
17567_ACEOF
17568rm -f conftest.$ac_objext
17569if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17580
17581 cat >conftest.$ac_ext <<_ACEOF
17582#line $LINENO "configure"
17583/* confdefs.h. */
17584_ACEOF
17585cat confdefs.h >>conftest.$ac_ext
17586cat >>conftest.$ac_ext <<_ACEOF
17587/* end confdefs.h. */
17588
17589 class Foo { public: explicit Foo(int) {} };
17590 static void TakeFoo(const Foo& foo) { }
17591
17592int
17593main ()
17594{
17595
17596 TakeFoo(17);
17597 return 0;
17598
17599 ;
17600 return 0;
17601}
17602_ACEOF
17603rm -f conftest.$ac_objext
17604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>&5
17606 ac_status=$?
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17612 ac_status=$?
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17615 wx_cv_explicit=no
17616else
17617 echo "$as_me: failed program was:" >&5
17618sed 's/^/| /' conftest.$ac_ext >&5
17619
17620wx_cv_explicit=yes
17621
17622fi
17623rm -f conftest.$ac_objext conftest.$ac_ext
17624
17625else
17626 echo "$as_me: failed program was:" >&5
17627sed 's/^/| /' conftest.$ac_ext >&5
17628
17629wx_cv_explicit=no
17630
17631fi
17632rm -f conftest.$ac_objext conftest.$ac_ext
17633
17634 ac_ext=c
17635ac_cpp='$CPP $CPPFLAGS'
17636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639
17640
17641fi
17642echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17643echo "${ECHO_T}$wx_cv_explicit" >&6
17644
17645 if test "$wx_cv_explicit" = "yes"; then
17646 cat >>confdefs.h <<\_ACEOF
17647#define HAVE_EXPLICIT 1
17648_ACEOF
17649
17650 fi
17651
17652
17653echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17654echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17655if test "${ac_cv_cxx_const_cast+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657else
17658
17659
17660 ac_ext=cc
17661ac_cpp='$CXXCPP $CPPFLAGS'
17662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17665
17666 cat >conftest.$ac_ext <<_ACEOF
17667#line $LINENO "configure"
17668/* confdefs.h. */
17669_ACEOF
17670cat confdefs.h >>conftest.$ac_ext
17671cat >>conftest.$ac_ext <<_ACEOF
17672/* end confdefs.h. */
17673
17674int
17675main ()
17676{
17677int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17678 ;
17679 return 0;
17680}
17681_ACEOF
17682rm -f conftest.$ac_objext
17683if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } &&
17688 { ac_try='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_cxx_const_cast=yes
17695else
17696 echo "$as_me: failed program was:" >&5
17697sed 's/^/| /' conftest.$ac_ext >&5
17698
17699ac_cv_cxx_const_cast=no
17700fi
17701rm -f conftest.$ac_objext conftest.$ac_ext
17702 ac_ext=c
17703ac_cpp='$CPP $CPPFLAGS'
17704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709fi
17710echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17711echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17712if test "$ac_cv_cxx_const_cast" = yes; then
17713
17714cat >>confdefs.h <<\_ACEOF
17715#define HAVE_CONST_CAST
17716_ACEOF
17717
17718fi
17719
17720
17721if test "$wxUSE_STL" = "yes"; then
17722 ac_ext=cc
17723ac_cpp='$CXXCPP $CPPFLAGS'
17724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17727
17728
17729 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17730echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17731 cat >conftest.$ac_ext <<_ACEOF
17732#line $LINENO "configure"
17733/* confdefs.h. */
17734_ACEOF
17735cat confdefs.h >>conftest.$ac_ext
17736cat >>conftest.$ac_ext <<_ACEOF
17737/* end confdefs.h. */
17738#include <string>
17739 #include <functional>
17740 #include <algorithm>
17741 #include <vector>
17742 #include <list>
17743int
17744main ()
17745{
17746std::vector<int> moo;
17747 std::list<int> foo;
17748 std::vector<int>::iterator it =
17749 std::find_if(moo.begin(), moo.end(),
17750 std::bind2nd(std::less<int>(), 3));
17751 ;
17752 return 0;
17753}
17754_ACEOF
17755rm -f conftest.$ac_objext
17756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -s conftest.$ac_objext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17767 echo "$as_me:$LINENO: result: yes" >&5
17768echo "${ECHO_T}yes" >&6
17769else
17770 echo "$as_me: failed program was:" >&5
17771sed 's/^/| /' conftest.$ac_ext >&5
17772
17773echo "$as_me:$LINENO: result: no" >&5
17774echo "${ECHO_T}no" >&6
17775 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17776echo "$as_me: error: Basic STL functionality missing" >&2;}
17777 { (exit 1); exit 1; }; }
17778fi
17779rm -f conftest.$ac_objext conftest.$ac_ext
17780
17781 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17782echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17783 cat >conftest.$ac_ext <<_ACEOF
17784#line $LINENO "configure"
17785/* confdefs.h. */
17786_ACEOF
17787cat confdefs.h >>conftest.$ac_ext
17788cat >>conftest.$ac_ext <<_ACEOF
17789/* end confdefs.h. */
17790#include <string>
17791int
17792main ()
17793{
17794std::wstring foo;
17795 ;
17796 return 0;
17797}
17798_ACEOF
17799rm -f conftest.$ac_objext
17800if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17801 (eval $ac_compile) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try='test -s conftest.$ac_objext'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; }; then
17811 echo "$as_me:$LINENO: result: yes" >&5
17812echo "${ECHO_T}yes" >&6
17813 cat >>confdefs.h <<\_ACEOF
17814#define HAVE_STD_WSTRING 1
17815_ACEOF
17816
17817else
17818 echo "$as_me: failed program was:" >&5
17819sed 's/^/| /' conftest.$ac_ext >&5
17820
17821echo "$as_me:$LINENO: result: no" >&5
17822echo "${ECHO_T}no" >&6
17823fi
17824rm -f conftest.$ac_objext conftest.$ac_ext
17825
17826 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17827echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17828 cat >conftest.$ac_ext <<_ACEOF
17829#line $LINENO "configure"
17830/* confdefs.h. */
17831_ACEOF
17832cat confdefs.h >>conftest.$ac_ext
17833cat >>conftest.$ac_ext <<_ACEOF
17834/* end confdefs.h. */
17835#include <string>
17836int
17837main ()
17838{
17839std::string foo, bar;
17840 foo.compare(bar);
17841 foo.compare(1, 1, bar);
17842 foo.compare(1, 1, bar, 1, 1);
17843 foo.compare("");
17844 foo.compare(1, 1, "");
17845 foo.compare(1, 1, "", 2);
17846 ;
17847 return 0;
17848}
17849_ACEOF
17850rm -f conftest.$ac_objext
17851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 echo "$as_me:$LINENO: result: yes" >&5
17863echo "${ECHO_T}yes" >&6
17864 cat >>confdefs.h <<\_ACEOF
17865#define HAVE_STD_STRING_COMPARE 1
17866_ACEOF
17867
17868else
17869 echo "$as_me: failed program was:" >&5
17870sed 's/^/| /' conftest.$ac_ext >&5
17871
17872echo "$as_me:$LINENO: result: no" >&5
17873echo "${ECHO_T}no" >&6
17874fi
17875rm -f conftest.$ac_objext conftest.$ac_ext
17876
17877 ac_ext=c
17878ac_cpp='$CPP $CPPFLAGS'
17879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882
17883fi
17884
17885
17886SEARCH_INCLUDE="\
17887 /usr/local/include \
17888 \
17889 /usr/Motif-1.2/include \
17890 /usr/Motif-2.1/include \
17891 \
17892 /usr/include/Motif1.2 \
17893 /opt/xpm/include/X11 \
17894 /opt/GBxpm/include/ \
17895 /opt/GBxpm/X11/include/ \
17896 \
17897 /usr/Motif1.2/include \
17898 /usr/dt/include \
17899 /usr/openwin/include \
17900 \
17901 /usr/include/Xm \
17902 \
17903 /usr/X11R6/include \
17904 /usr/X11R6.4/include \
17905 /usr/X11R5/include \
17906 /usr/X11R4/include \
17907 \
17908 /usr/include/X11R6 \
17909 /usr/include/X11R5 \
17910 /usr/include/X11R4 \
17911 \
17912 /usr/local/X11R6/include \
17913 /usr/local/X11R5/include \
17914 /usr/local/X11R4/include \
17915 \
17916 /usr/local/include/X11R6 \
17917 /usr/local/include/X11R5 \
17918 /usr/local/include/X11R4 \
17919 \
17920 /usr/X11/include \
17921 /usr/include/X11 \
17922 /usr/local/X11/include \
17923 /usr/local/include/X11 \
17924 \
17925 /usr/X386/include \
17926 /usr/x386/include \
17927 /usr/XFree86/include/X11 \
17928 \
17929 X:/XFree86/include \
17930 X:/XFree86/include/X11 \
17931 \
17932 /usr/include/gtk \
17933 /usr/local/include/gtk \
17934 /usr/include/glib \
17935 /usr/local/include/glib \
17936 \
17937 /usr/include/qt \
17938 /usr/local/include/qt \
17939 \
17940 /usr/include/windows \
17941 /usr/include/wine \
17942 /usr/local/include/wine \
17943 \
17944 /usr/unsupported/include \
17945 /usr/athena/include \
17946 /usr/local/x11r5/include \
17947 /usr/lpp/Xamples/include \
17948 \
17949 /usr/openwin/share/include"
17950
17951SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17952
17953
17954cat >confcache <<\_ACEOF
17955# This file is a shell script that caches the results of configure
17956# tests run on this system so they can be shared between configure
17957# scripts and configure runs, see configure's option --config-cache.
17958# It is not useful on other systems. If it contains results you don't
17959# want to keep, you may remove or edit it.
17960#
17961# config.status only pays attention to the cache file if you give it
17962# the --recheck option to rerun configure.
17963#
17964# `ac_cv_env_foo' variables (set or unset) will be overridden when
17965# loading this file, other *unset* `ac_cv_foo' will be assigned the
17966# following values.
17967
17968_ACEOF
17969
17970# The following way of writing the cache mishandles newlines in values,
17971# but we know of no workaround that is simple, portable, and efficient.
17972# So, don't put newlines in cache variables' values.
17973# Ultrix sh set writes to stderr and can't be redirected directly,
17974# and sets the high bit in the cache file unless we assign to the vars.
17975{
17976 (set) 2>&1 |
17977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17978 *ac_space=\ *)
17979 # `set' does not quote correctly, so add quotes (double-quote
17980 # substitution turns \\\\ into \\, and sed turns \\ into \).
17981 sed -n \
17982 "s/'/'\\\\''/g;
17983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17984 ;;
17985 *)
17986 # `set' quotes correctly as required by POSIX, so do not add quotes.
17987 sed -n \
17988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17989 ;;
17990 esac;
17991} |
17992 sed '
17993 t clear
17994 : clear
17995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17996 t end
17997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17998 : end' >>confcache
17999if diff $cache_file confcache >/dev/null 2>&1; then :; else
18000 if test -w $cache_file; then
18001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18002 cat confcache >$cache_file
18003 else
18004 echo "not updating unwritable cache $cache_file"
18005 fi
18006fi
18007rm -f confcache
18008
18009if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18010 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18011echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18012if test "${wx_cv_lib_glibc21+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014else
18015
18016 cat >conftest.$ac_ext <<_ACEOF
18017#line $LINENO "configure"
18018/* confdefs.h. */
18019_ACEOF
18020cat confdefs.h >>conftest.$ac_ext
18021cat >>conftest.$ac_ext <<_ACEOF
18022/* end confdefs.h. */
18023#include <features.h>
18024int
18025main ()
18026{
18027
18028 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18029 #error not glibc2.1
18030 #endif
18031
18032 ;
18033 return 0;
18034}
18035_ACEOF
18036rm -f conftest.$ac_objext
18037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18038 (eval $ac_compile) 2>&5
18039 ac_status=$?
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -s conftest.$ac_objext'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18045 ac_status=$?
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; }; then
18048
18049 wx_cv_lib_glibc21=yes
18050
18051else
18052 echo "$as_me: failed program was:" >&5
18053sed 's/^/| /' conftest.$ac_ext >&5
18054
18055
18056 wx_cv_lib_glibc21=no
18057
18058
18059fi
18060rm -f conftest.$ac_objext conftest.$ac_ext
18061
18062fi
18063echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18064echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18065 if test "$wx_cv_lib_glibc21" = "yes"; then
18066 cat >>confdefs.h <<\_ACEOF
18067#define wxHAVE_GLIBC2 1
18068_ACEOF
18069
18070 fi
18071fi
18072
18073if test "x$wx_cv_lib_glibc21" = "xyes"; then
18074 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18075 cat >>confdefs.h <<\_ACEOF
18076#define _GNU_SOURCE 1
18077_ACEOF
18078
18079 fi
18080fi
18081
18082
18083
18084REGEX_INCLUDE=
18085if test "$wxUSE_REGEX" != "no"; then
18086 cat >>confdefs.h <<\_ACEOF
18087#define wxUSE_REGEX 1
18088_ACEOF
18089
18090
18091 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18092 if test "${ac_cv_header_regex_h+set}" = set; then
18093 echo "$as_me:$LINENO: checking for regex.h" >&5
18094echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18095if test "${ac_cv_header_regex_h+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18097fi
18098echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18099echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18100else
18101 # Is the header compilable?
18102echo "$as_me:$LINENO: checking regex.h usability" >&5
18103echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18104cat >conftest.$ac_ext <<_ACEOF
18105#line $LINENO "configure"
18106/* confdefs.h. */
18107_ACEOF
18108cat confdefs.h >>conftest.$ac_ext
18109cat >>conftest.$ac_ext <<_ACEOF
18110/* end confdefs.h. */
18111$ac_includes_default
18112#include <regex.h>
18113_ACEOF
18114rm -f conftest.$ac_objext
18115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } &&
18120 { ac_try='test -s conftest.$ac_objext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_header_compiler=yes
18127else
18128 echo "$as_me: failed program was:" >&5
18129sed 's/^/| /' conftest.$ac_ext >&5
18130
18131ac_header_compiler=no
18132fi
18133rm -f conftest.$ac_objext conftest.$ac_ext
18134echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18135echo "${ECHO_T}$ac_header_compiler" >&6
18136
18137# Is the header present?
18138echo "$as_me:$LINENO: checking regex.h presence" >&5
18139echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18140cat >conftest.$ac_ext <<_ACEOF
18141#line $LINENO "configure"
18142/* confdefs.h. */
18143_ACEOF
18144cat confdefs.h >>conftest.$ac_ext
18145cat >>conftest.$ac_ext <<_ACEOF
18146/* end confdefs.h. */
18147#include <regex.h>
18148_ACEOF
18149if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18151 ac_status=$?
18152 grep -v '^ *+' conftest.er1 >conftest.err
18153 rm -f conftest.er1
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } >/dev/null; then
18157 if test -s conftest.err; then
18158 ac_cpp_err=$ac_c_preproc_warn_flag
18159 else
18160 ac_cpp_err=
18161 fi
18162else
18163 ac_cpp_err=yes
18164fi
18165if test -z "$ac_cpp_err"; then
18166 ac_header_preproc=yes
18167else
18168 echo "$as_me: failed program was:" >&5
18169sed 's/^/| /' conftest.$ac_ext >&5
18170
18171 ac_header_preproc=no
18172fi
18173rm -f conftest.err conftest.$ac_ext
18174echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18175echo "${ECHO_T}$ac_header_preproc" >&6
18176
18177# So? What about this header?
18178case $ac_header_compiler:$ac_header_preproc in
18179 yes:no )
18180 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18181echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18182 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18183echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18184 (
18185 cat <<\_ASBOX
18186## ------------------------------------ ##
18187## Report this to bug-autoconf@gnu.org. ##
18188## ------------------------------------ ##
18189_ASBOX
18190 ) |
18191 sed "s/^/$as_me: WARNING: /" >&2
18192 ;;
18193 no:yes )
18194 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18195echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18196 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18197echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18198 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18199echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18200 (
18201 cat <<\_ASBOX
18202## ------------------------------------ ##
18203## Report this to bug-autoconf@gnu.org. ##
18204## ------------------------------------ ##
18205_ASBOX
18206 ) |
18207 sed "s/^/$as_me: WARNING: /" >&2
18208 ;;
18209esac
18210echo "$as_me:$LINENO: checking for regex.h" >&5
18211echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18212if test "${ac_cv_header_regex_h+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18214else
18215 ac_cv_header_regex_h=$ac_header_preproc
18216fi
18217echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18218echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18219
18220fi
18221if test $ac_cv_header_regex_h = yes; then
18222
18223for ac_func in regcomp
18224do
18225as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18226echo "$as_me:$LINENO: checking for $ac_func" >&5
18227echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18228if eval "test \"\${$as_ac_var+set}\" = set"; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230else
18231 cat >conftest.$ac_ext <<_ACEOF
18232#line $LINENO "configure"
18233/* confdefs.h. */
18234_ACEOF
18235cat confdefs.h >>conftest.$ac_ext
18236cat >>conftest.$ac_ext <<_ACEOF
18237/* end confdefs.h. */
18238/* System header to define __stub macros and hopefully few prototypes,
18239 which can conflict with char $ac_func (); below.
18240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18241 <limits.h> exists even on freestanding compilers. */
18242#ifdef __STDC__
18243# include <limits.h>
18244#else
18245# include <assert.h>
18246#endif
18247/* Override any gcc2 internal prototype to avoid an error. */
18248#ifdef __cplusplus
18249extern "C"
18250{
18251#endif
18252/* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18254char $ac_func ();
18255/* The GNU C library defines this for functions which it implements
18256 to always fail with ENOSYS. Some functions are actually named
18257 something starting with __ and the normal name is an alias. */
18258#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18259choke me
18260#else
18261char (*f) () = $ac_func;
18262#endif
18263#ifdef __cplusplus
18264}
18265#endif
18266
18267int
18268main ()
18269{
18270return f != $ac_func;
18271 ;
18272 return 0;
18273}
18274_ACEOF
18275rm -f conftest.$ac_objext conftest$ac_exeext
18276if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277 (eval $ac_link) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -s conftest$ac_exeext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 eval "$as_ac_var=yes"
18288else
18289 echo "$as_me: failed program was:" >&5
18290sed 's/^/| /' conftest.$ac_ext >&5
18291
18292eval "$as_ac_var=no"
18293fi
18294rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18295fi
18296echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18297echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18298if test `eval echo '${'$as_ac_var'}'` = yes; then
18299 cat >>confdefs.h <<_ACEOF
18300#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18301_ACEOF
18302
18303fi
18304done
18305
18306fi
18307
18308
18309
18310 if test "x$ac_cv_func_regcomp" != "xyes"; then
18311 if test "$wxUSE_REGEX" = "sys" ; then
18312 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18313echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18314 { (exit 1); exit 1; }; }
18315 else
18316 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18317echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18318 wxUSE_REGEX=builtin
18319 fi
18320 else
18321 wxUSE_REGEX=sys
18322 fi
18323 fi
18324
18325 if test "$wxUSE_REGEX" = "builtin" ; then
18326 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18327 fi
18328fi
18329
18330
18331ZLIB_INCLUDE=
18332ZLIB_LINK=
18333if test "$wxUSE_ZLIB" != "no" ; then
18334 cat >>confdefs.h <<\_ACEOF
18335#define wxUSE_ZLIB 1
18336_ACEOF
18337
18338
18339 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18340 if test "$USE_DARWIN" = 1; then
18341 system_zlib_h_ok="yes"
18342 else
18343 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18344echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18345if test "${ac_cv_header_zlib_h+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347else
18348 if test "$cross_compiling" = yes; then
18349 unset ac_cv_header_zlib_h
18350
18351else
18352 cat >conftest.$ac_ext <<_ACEOF
18353#line $LINENO "configure"
18354/* confdefs.h. */
18355_ACEOF
18356cat confdefs.h >>conftest.$ac_ext
18357cat >>conftest.$ac_ext <<_ACEOF
18358/* end confdefs.h. */
18359
18360 #include <zlib.h>
18361 #include <stdio.h>
18362
18363 int main()
18364 {
18365 FILE *f=fopen("conftestval", "w");
18366 if (!f) exit(1);
18367 fprintf(f, "%s",
18368 ZLIB_VERSION[0] == '1' &&
18369 (ZLIB_VERSION[2] > '1' ||
18370 (ZLIB_VERSION[2] == '1' &&
18371 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18372 exit(0);
18373 }
18374
18375_ACEOF
18376rm -f conftest$ac_exeext
18377if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378 (eval $ac_link) 2>&5
18379 ac_status=$?
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; }; then
18387 ac_cv_header_zlib_h=`cat conftestval`
18388else
18389 echo "$as_me: program exited with status $ac_status" >&5
18390echo "$as_me: failed program was:" >&5
18391sed 's/^/| /' conftest.$ac_ext >&5
18392
18393( exit $ac_status )
18394ac_cv_header_zlib_h=no
18395fi
18396rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18397fi
18398
18399fi
18400echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18401echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18402 if test "${ac_cv_header_zlib_h+set}" = set; then
18403 echo "$as_me:$LINENO: checking for zlib.h" >&5
18404echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18405if test "${ac_cv_header_zlib_h+set}" = set; then
18406 echo $ECHO_N "(cached) $ECHO_C" >&6
18407fi
18408echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18409echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18410else
18411 # Is the header compilable?
18412echo "$as_me:$LINENO: checking zlib.h usability" >&5
18413echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18414cat >conftest.$ac_ext <<_ACEOF
18415#line $LINENO "configure"
18416/* confdefs.h. */
18417_ACEOF
18418cat confdefs.h >>conftest.$ac_ext
18419cat >>conftest.$ac_ext <<_ACEOF
18420/* end confdefs.h. */
18421$ac_includes_default
18422#include <zlib.h>
18423_ACEOF
18424rm -f conftest.$ac_objext
18425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18426 (eval $ac_compile) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_header_compiler=yes
18437else
18438 echo "$as_me: failed program was:" >&5
18439sed 's/^/| /' conftest.$ac_ext >&5
18440
18441ac_header_compiler=no
18442fi
18443rm -f conftest.$ac_objext conftest.$ac_ext
18444echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18445echo "${ECHO_T}$ac_header_compiler" >&6
18446
18447# Is the header present?
18448echo "$as_me:$LINENO: checking zlib.h presence" >&5
18449echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18450cat >conftest.$ac_ext <<_ACEOF
18451#line $LINENO "configure"
18452/* confdefs.h. */
18453_ACEOF
18454cat confdefs.h >>conftest.$ac_ext
18455cat >>conftest.$ac_ext <<_ACEOF
18456/* end confdefs.h. */
18457#include <zlib.h>
18458_ACEOF
18459if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } >/dev/null; then
18467 if test -s conftest.err; then
18468 ac_cpp_err=$ac_c_preproc_warn_flag
18469 else
18470 ac_cpp_err=
18471 fi
18472else
18473 ac_cpp_err=yes
18474fi
18475if test -z "$ac_cpp_err"; then
18476 ac_header_preproc=yes
18477else
18478 echo "$as_me: failed program was:" >&5
18479sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 ac_header_preproc=no
18482fi
18483rm -f conftest.err conftest.$ac_ext
18484echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18485echo "${ECHO_T}$ac_header_preproc" >&6
18486
18487# So? What about this header?
18488case $ac_header_compiler:$ac_header_preproc in
18489 yes:no )
18490 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18491echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18493echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18494 (
18495 cat <<\_ASBOX
18496## ------------------------------------ ##
18497## Report this to bug-autoconf@gnu.org. ##
18498## ------------------------------------ ##
18499_ASBOX
18500 ) |
18501 sed "s/^/$as_me: WARNING: /" >&2
18502 ;;
18503 no:yes )
18504 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18505echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18506 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18507echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18509echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18510 (
18511 cat <<\_ASBOX
18512## ------------------------------------ ##
18513## Report this to bug-autoconf@gnu.org. ##
18514## ------------------------------------ ##
18515_ASBOX
18516 ) |
18517 sed "s/^/$as_me: WARNING: /" >&2
18518 ;;
18519esac
18520echo "$as_me:$LINENO: checking for zlib.h" >&5
18521echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18522if test "${ac_cv_header_zlib_h+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18524else
18525 ac_cv_header_zlib_h=$ac_header_preproc
18526fi
18527echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18528echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18529
18530fi
18531
18532
18533
18534 system_zlib_h_ok=$ac_cv_header_zlib_h
18535 fi
18536
18537 if test "$system_zlib_h_ok" = "yes"; then
18538 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18539echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18540if test "${ac_cv_lib_z_deflate+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18542else
18543 ac_check_lib_save_LIBS=$LIBS
18544LIBS="-lz $LIBS"
18545cat >conftest.$ac_ext <<_ACEOF
18546#line $LINENO "configure"
18547/* confdefs.h. */
18548_ACEOF
18549cat confdefs.h >>conftest.$ac_ext
18550cat >>conftest.$ac_ext <<_ACEOF
18551/* end confdefs.h. */
18552
18553/* Override any gcc2 internal prototype to avoid an error. */
18554#ifdef __cplusplus
18555extern "C"
18556#endif
18557/* We use char because int might match the return type of a gcc2
18558 builtin and then its argument prototype would still apply. */
18559char deflate ();
18560int
18561main ()
18562{
18563deflate ();
18564 ;
18565 return 0;
18566}
18567_ACEOF
18568rm -f conftest.$ac_objext conftest$ac_exeext
18569if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try='test -s conftest$ac_exeext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_cv_lib_z_deflate=yes
18581else
18582 echo "$as_me: failed program was:" >&5
18583sed 's/^/| /' conftest.$ac_ext >&5
18584
18585ac_cv_lib_z_deflate=no
18586fi
18587rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18588LIBS=$ac_check_lib_save_LIBS
18589fi
18590echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18591echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18592if test $ac_cv_lib_z_deflate = yes; then
18593 ZLIB_LINK=" -lz"
18594fi
18595
18596 fi
18597
18598 if test "x$ZLIB_LINK" = "x" ; then
18599 if test "$wxUSE_ZLIB" = "sys" ; then
18600 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18601echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18602 { (exit 1); exit 1; }; }
18603 else
18604 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18605echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18606 wxUSE_ZLIB=builtin
18607 fi
18608 else
18609 wxUSE_ZLIB=sys
18610 fi
18611 fi
18612
18613 if test "$wxUSE_ZLIB" = "builtin" ; then
18614 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18615 fi
18616fi
18617
18618
18619PNG_INCLUDE=
18620PNG_LINK=
18621if test "$wxUSE_LIBPNG" != "no" ; then
18622 cat >>confdefs.h <<\_ACEOF
18623#define wxUSE_LIBPNG 1
18624_ACEOF
18625
18626
18627 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18628 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18629echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18630 wxUSE_LIBPNG=sys
18631 fi
18632
18633 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18634 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18635echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18636 wxUSE_LIBPNG=builtin
18637 fi
18638
18639 if test "$wxUSE_MGL" != 1 ; then
18640 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18641 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18642echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18643if test "${ac_cv_header_png_h+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645else
18646 if test "$cross_compiling" = yes; then
18647 unset ac_cv_header_png_h
18648
18649else
18650 cat >conftest.$ac_ext <<_ACEOF
18651#line $LINENO "configure"
18652/* confdefs.h. */
18653_ACEOF
18654cat confdefs.h >>conftest.$ac_ext
18655cat >>conftest.$ac_ext <<_ACEOF
18656/* end confdefs.h. */
18657
18658 #include <png.h>
18659 #include <stdio.h>
18660
18661 int main()
18662 {
18663 FILE *f=fopen("conftestval", "w");
18664 if (!f) exit(1);
18665 fprintf(f, "%s",
18666 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18667 exit(0);
18668 }
18669
18670_ACEOF
18671rm -f conftest$ac_exeext
18672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18673 (eval $ac_link) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_cv_header_png_h=`cat conftestval`
18683else
18684 echo "$as_me: program exited with status $ac_status" >&5
18685echo "$as_me: failed program was:" >&5
18686sed 's/^/| /' conftest.$ac_ext >&5
18687
18688( exit $ac_status )
18689ac_cv_header_png_h=no
18690fi
18691rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18692fi
18693
18694fi
18695echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18696echo "${ECHO_T}$ac_cv_header_png_h" >&6
18697 if test "${ac_cv_header_png_h+set}" = set; then
18698 echo "$as_me:$LINENO: checking for png.h" >&5
18699echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18700if test "${ac_cv_header_png_h+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702fi
18703echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18704echo "${ECHO_T}$ac_cv_header_png_h" >&6
18705else
18706 # Is the header compilable?
18707echo "$as_me:$LINENO: checking png.h usability" >&5
18708echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18709cat >conftest.$ac_ext <<_ACEOF
18710#line $LINENO "configure"
18711/* confdefs.h. */
18712_ACEOF
18713cat confdefs.h >>conftest.$ac_ext
18714cat >>conftest.$ac_ext <<_ACEOF
18715/* end confdefs.h. */
18716$ac_includes_default
18717#include <png.h>
18718_ACEOF
18719rm -f conftest.$ac_objext
18720if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_header_compiler=yes
18732else
18733 echo "$as_me: failed program was:" >&5
18734sed 's/^/| /' conftest.$ac_ext >&5
18735
18736ac_header_compiler=no
18737fi
18738rm -f conftest.$ac_objext conftest.$ac_ext
18739echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18740echo "${ECHO_T}$ac_header_compiler" >&6
18741
18742# Is the header present?
18743echo "$as_me:$LINENO: checking png.h presence" >&5
18744echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18745cat >conftest.$ac_ext <<_ACEOF
18746#line $LINENO "configure"
18747/* confdefs.h. */
18748_ACEOF
18749cat confdefs.h >>conftest.$ac_ext
18750cat >>conftest.$ac_ext <<_ACEOF
18751/* end confdefs.h. */
18752#include <png.h>
18753_ACEOF
18754if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18756 ac_status=$?
18757 grep -v '^ *+' conftest.er1 >conftest.err
18758 rm -f conftest.er1
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } >/dev/null; then
18762 if test -s conftest.err; then
18763 ac_cpp_err=$ac_c_preproc_warn_flag
18764 else
18765 ac_cpp_err=
18766 fi
18767else
18768 ac_cpp_err=yes
18769fi
18770if test -z "$ac_cpp_err"; then
18771 ac_header_preproc=yes
18772else
18773 echo "$as_me: failed program was:" >&5
18774sed 's/^/| /' conftest.$ac_ext >&5
18775
18776 ac_header_preproc=no
18777fi
18778rm -f conftest.err conftest.$ac_ext
18779echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18780echo "${ECHO_T}$ac_header_preproc" >&6
18781
18782# So? What about this header?
18783case $ac_header_compiler:$ac_header_preproc in
18784 yes:no )
18785 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18786echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18787 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18788echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18789 (
18790 cat <<\_ASBOX
18791## ------------------------------------ ##
18792## Report this to bug-autoconf@gnu.org. ##
18793## ------------------------------------ ##
18794_ASBOX
18795 ) |
18796 sed "s/^/$as_me: WARNING: /" >&2
18797 ;;
18798 no:yes )
18799 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18800echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18801 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18802echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18804echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18805 (
18806 cat <<\_ASBOX
18807## ------------------------------------ ##
18808## Report this to bug-autoconf@gnu.org. ##
18809## ------------------------------------ ##
18810_ASBOX
18811 ) |
18812 sed "s/^/$as_me: WARNING: /" >&2
18813 ;;
18814esac
18815echo "$as_me:$LINENO: checking for png.h" >&5
18816echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18817if test "${ac_cv_header_png_h+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18819else
18820 ac_cv_header_png_h=$ac_header_preproc
18821fi
18822echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18823echo "${ECHO_T}$ac_cv_header_png_h" >&6
18824
18825fi
18826
18827
18828
18829 if test "$ac_cv_header_png_h" = "yes"; then
18830 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18831echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18832if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834else
18835 ac_check_lib_save_LIBS=$LIBS
18836LIBS="-lpng -lz -lm $LIBS"
18837cat >conftest.$ac_ext <<_ACEOF
18838#line $LINENO "configure"
18839/* confdefs.h. */
18840_ACEOF
18841cat confdefs.h >>conftest.$ac_ext
18842cat >>conftest.$ac_ext <<_ACEOF
18843/* end confdefs.h. */
18844
18845/* Override any gcc2 internal prototype to avoid an error. */
18846#ifdef __cplusplus
18847extern "C"
18848#endif
18849/* We use char because int might match the return type of a gcc2
18850 builtin and then its argument prototype would still apply. */
18851char png_check_sig ();
18852int
18853main ()
18854{
18855png_check_sig ();
18856 ;
18857 return 0;
18858}
18859_ACEOF
18860rm -f conftest.$ac_objext conftest$ac_exeext
18861if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try='test -s conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_lib_png_png_check_sig=yes
18873else
18874 echo "$as_me: failed program was:" >&5
18875sed 's/^/| /' conftest.$ac_ext >&5
18876
18877ac_cv_lib_png_png_check_sig=no
18878fi
18879rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18880LIBS=$ac_check_lib_save_LIBS
18881fi
18882echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18883echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18884if test $ac_cv_lib_png_png_check_sig = yes; then
18885 PNG_LINK=" -lpng"
18886fi
18887
18888 fi
18889
18890 if test "x$PNG_LINK" = "x" ; then
18891 if test "$wxUSE_LIBPNG" = "sys" ; then
18892 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18893echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18894 { (exit 1); exit 1; }; }
18895 else
18896 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18897echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18898 wxUSE_LIBPNG=builtin
18899 fi
18900 else
18901 wxUSE_LIBPNG=sys
18902 fi
18903 fi
18904 fi
18905
18906 if test "$wxUSE_LIBPNG" = "builtin" ; then
18907 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18908 fi
18909
18910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18911fi
18912
18913
18914JPEG_INCLUDE=
18915JPEG_LINK=
18916if test "$wxUSE_LIBJPEG" != "no" ; then
18917 cat >>confdefs.h <<\_ACEOF
18918#define wxUSE_LIBJPEG 1
18919_ACEOF
18920
18921
18922 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18923 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18924echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18925 wxUSE_LIBJPEG=sys
18926 fi
18927
18928 if test "$wxUSE_MGL" != 1 ; then
18929 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18930 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18931echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18932 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18934else
18935 cat >conftest.$ac_ext <<_ACEOF
18936#line $LINENO "configure"
18937/* confdefs.h. */
18938_ACEOF
18939cat confdefs.h >>conftest.$ac_ext
18940cat >>conftest.$ac_ext <<_ACEOF
18941/* end confdefs.h. */
18942
18943 #undef HAVE_STDLIB_H
18944 #include <stdio.h>
18945 #include <jpeglib.h>
18946
18947int
18948main ()
18949{
18950
18951
18952 ;
18953 return 0;
18954}
18955_ACEOF
18956rm -f conftest.$ac_objext
18957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18958 (eval $ac_compile) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } &&
18962 { ac_try='test -s conftest.$ac_objext'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; }; then
18968 ac_cv_header_jpeglib_h=yes
18969else
18970 echo "$as_me: failed program was:" >&5
18971sed 's/^/| /' conftest.$ac_ext >&5
18972
18973ac_cv_header_jpeglib_h=no
18974
18975fi
18976rm -f conftest.$ac_objext conftest.$ac_ext
18977
18978fi
18979
18980 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18981echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18982
18983 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18984 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18985echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18986if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18988else
18989 ac_check_lib_save_LIBS=$LIBS
18990LIBS="-ljpeg $LIBS"
18991cat >conftest.$ac_ext <<_ACEOF
18992#line $LINENO "configure"
18993/* confdefs.h. */
18994_ACEOF
18995cat confdefs.h >>conftest.$ac_ext
18996cat >>conftest.$ac_ext <<_ACEOF
18997/* end confdefs.h. */
18998
18999/* Override any gcc2 internal prototype to avoid an error. */
19000#ifdef __cplusplus
19001extern "C"
19002#endif
19003/* We use char because int might match the return type of a gcc2
19004 builtin and then its argument prototype would still apply. */
19005char jpeg_read_header ();
19006int
19007main ()
19008{
19009jpeg_read_header ();
19010 ;
19011 return 0;
19012}
19013_ACEOF
19014rm -f conftest.$ac_objext conftest$ac_exeext
19015if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19016 (eval $ac_link) 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19023 ac_status=$?
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 ac_cv_lib_jpeg_jpeg_read_header=yes
19027else
19028 echo "$as_me: failed program was:" >&5
19029sed 's/^/| /' conftest.$ac_ext >&5
19030
19031ac_cv_lib_jpeg_jpeg_read_header=no
19032fi
19033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19034LIBS=$ac_check_lib_save_LIBS
19035fi
19036echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19037echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19038if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19039 JPEG_LINK=" -ljpeg"
19040fi
19041
19042 fi
19043
19044 if test "x$JPEG_LINK" = "x" ; then
19045 if test "$wxUSE_LIBJPEG" = "sys" ; then
19046 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19047echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19048 { (exit 1); exit 1; }; }
19049 else
19050 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19051echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19052 wxUSE_LIBJPEG=builtin
19053 fi
19054 else
19055 wxUSE_LIBJPEG=sys
19056 fi
19057 fi
19058 fi
19059
19060 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19061 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19062 fi
19063fi
19064
19065
19066TIFF_INCLUDE=
19067TIFF_LINK=
19068TIFF_PREREQ_LINKS=-lm
19069if test "$wxUSE_LIBTIFF" != "no" ; then
19070 cat >>confdefs.h <<\_ACEOF
19071#define wxUSE_LIBTIFF 1
19072_ACEOF
19073
19074
19075 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19076 if test "$wxUSE_LIBJPEG" = "sys"; then
19077 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19078 fi
19079 if test "$wxUSE_ZLIB" = "sys"; then
19080 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19081 fi
19082 if test "${ac_cv_header_tiffio_h+set}" = set; then
19083 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19084echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19085if test "${ac_cv_header_tiffio_h+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087fi
19088echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19089echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19090else
19091 # Is the header compilable?
19092echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19093echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19094cat >conftest.$ac_ext <<_ACEOF
19095#line $LINENO "configure"
19096/* confdefs.h. */
19097_ACEOF
19098cat confdefs.h >>conftest.$ac_ext
19099cat >>conftest.$ac_ext <<_ACEOF
19100/* end confdefs.h. */
19101$ac_includes_default
19102#include <tiffio.h>
19103_ACEOF
19104rm -f conftest.$ac_objext
19105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_header_compiler=yes
19117else
19118 echo "$as_me: failed program was:" >&5
19119sed 's/^/| /' conftest.$ac_ext >&5
19120
19121ac_header_compiler=no
19122fi
19123rm -f conftest.$ac_objext conftest.$ac_ext
19124echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19125echo "${ECHO_T}$ac_header_compiler" >&6
19126
19127# Is the header present?
19128echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19129echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19130cat >conftest.$ac_ext <<_ACEOF
19131#line $LINENO "configure"
19132/* confdefs.h. */
19133_ACEOF
19134cat confdefs.h >>conftest.$ac_ext
19135cat >>conftest.$ac_ext <<_ACEOF
19136/* end confdefs.h. */
19137#include <tiffio.h>
19138_ACEOF
19139if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } >/dev/null; then
19147 if test -s conftest.err; then
19148 ac_cpp_err=$ac_c_preproc_warn_flag
19149 else
19150 ac_cpp_err=
19151 fi
19152else
19153 ac_cpp_err=yes
19154fi
19155if test -z "$ac_cpp_err"; then
19156 ac_header_preproc=yes
19157else
19158 echo "$as_me: failed program was:" >&5
19159sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_header_preproc=no
19162fi
19163rm -f conftest.err conftest.$ac_ext
19164echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19165echo "${ECHO_T}$ac_header_preproc" >&6
19166
19167# So? What about this header?
19168case $ac_header_compiler:$ac_header_preproc in
19169 yes:no )
19170 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19171echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19173echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19174 (
19175 cat <<\_ASBOX
19176## ------------------------------------ ##
19177## Report this to bug-autoconf@gnu.org. ##
19178## ------------------------------------ ##
19179_ASBOX
19180 ) |
19181 sed "s/^/$as_me: WARNING: /" >&2
19182 ;;
19183 no:yes )
19184 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19185echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19186 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19187echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19189echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19190 (
19191 cat <<\_ASBOX
19192## ------------------------------------ ##
19193## Report this to bug-autoconf@gnu.org. ##
19194## ------------------------------------ ##
19195_ASBOX
19196 ) |
19197 sed "s/^/$as_me: WARNING: /" >&2
19198 ;;
19199esac
19200echo "$as_me:$LINENO: checking for tiffio.h" >&5
19201echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19202if test "${ac_cv_header_tiffio_h+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19204else
19205 ac_cv_header_tiffio_h=$ac_header_preproc
19206fi
19207echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19208echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19209
19210fi
19211if test $ac_cv_header_tiffio_h = yes; then
19212
19213 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19214echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19215if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217else
19218 ac_check_lib_save_LIBS=$LIBS
19219LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19220cat >conftest.$ac_ext <<_ACEOF
19221#line $LINENO "configure"
19222/* confdefs.h. */
19223_ACEOF
19224cat confdefs.h >>conftest.$ac_ext
19225cat >>conftest.$ac_ext <<_ACEOF
19226/* end confdefs.h. */
19227
19228/* Override any gcc2 internal prototype to avoid an error. */
19229#ifdef __cplusplus
19230extern "C"
19231#endif
19232/* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19234char TIFFError ();
19235int
19236main ()
19237{
19238TIFFError ();
19239 ;
19240 return 0;
19241}
19242_ACEOF
19243rm -f conftest.$ac_objext conftest$ac_exeext
19244if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19245 (eval $ac_link) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_lib_tiff_TIFFError=yes
19256else
19257 echo "$as_me: failed program was:" >&5
19258sed 's/^/| /' conftest.$ac_ext >&5
19259
19260ac_cv_lib_tiff_TIFFError=no
19261fi
19262rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19263LIBS=$ac_check_lib_save_LIBS
19264fi
19265echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19266echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19267if test $ac_cv_lib_tiff_TIFFError = yes; then
19268 TIFF_LINK=" -ltiff"
19269fi
19270
19271
19272
19273fi
19274
19275
19276
19277 if test "x$TIFF_LINK" = "x" ; then
19278 if test "$wxUSE_LIBTIFF" = "sys" ; then
19279 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19280echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19281 { (exit 1); exit 1; }; }
19282 else
19283 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19284echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19285 wxUSE_LIBTIFF=builtin
19286 fi
19287 else
19288 wxUSE_LIBTIFF=sys
19289 fi
19290 fi
19291
19292 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19293 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19294 fi
19295fi
19296
19297
19298if test "$wxUSE_EXPAT" != "no"; then
19299 wxUSE_XML=yes
19300 cat >>confdefs.h <<\_ACEOF
19301#define wxUSE_EXPAT 1
19302_ACEOF
19303
19304 cat >>confdefs.h <<\_ACEOF
19305#define wxUSE_XML 1
19306_ACEOF
19307
19308
19309 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19310 if test "${ac_cv_header_expat_h+set}" = set; then
19311 echo "$as_me:$LINENO: checking for expat.h" >&5
19312echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19313if test "${ac_cv_header_expat_h+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19315fi
19316echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19317echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19318else
19319 # Is the header compilable?
19320echo "$as_me:$LINENO: checking expat.h usability" >&5
19321echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19322cat >conftest.$ac_ext <<_ACEOF
19323#line $LINENO "configure"
19324/* confdefs.h. */
19325_ACEOF
19326cat confdefs.h >>conftest.$ac_ext
19327cat >>conftest.$ac_ext <<_ACEOF
19328/* end confdefs.h. */
19329$ac_includes_default
19330#include <expat.h>
19331_ACEOF
19332rm -f conftest.$ac_objext
19333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334 (eval $ac_compile) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } &&
19338 { ac_try='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19341 ac_status=$?
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_header_compiler=yes
19345else
19346 echo "$as_me: failed program was:" >&5
19347sed 's/^/| /' conftest.$ac_ext >&5
19348
19349ac_header_compiler=no
19350fi
19351rm -f conftest.$ac_objext conftest.$ac_ext
19352echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19353echo "${ECHO_T}$ac_header_compiler" >&6
19354
19355# Is the header present?
19356echo "$as_me:$LINENO: checking expat.h presence" >&5
19357echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19358cat >conftest.$ac_ext <<_ACEOF
19359#line $LINENO "configure"
19360/* confdefs.h. */
19361_ACEOF
19362cat confdefs.h >>conftest.$ac_ext
19363cat >>conftest.$ac_ext <<_ACEOF
19364/* end confdefs.h. */
19365#include <expat.h>
19366_ACEOF
19367if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19369 ac_status=$?
19370 grep -v '^ *+' conftest.er1 >conftest.err
19371 rm -f conftest.er1
19372 cat conftest.err >&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } >/dev/null; then
19375 if test -s conftest.err; then
19376 ac_cpp_err=$ac_c_preproc_warn_flag
19377 else
19378 ac_cpp_err=
19379 fi
19380else
19381 ac_cpp_err=yes
19382fi
19383if test -z "$ac_cpp_err"; then
19384 ac_header_preproc=yes
19385else
19386 echo "$as_me: failed program was:" >&5
19387sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 ac_header_preproc=no
19390fi
19391rm -f conftest.err conftest.$ac_ext
19392echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19393echo "${ECHO_T}$ac_header_preproc" >&6
19394
19395# So? What about this header?
19396case $ac_header_compiler:$ac_header_preproc in
19397 yes:no )
19398 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19399echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19400 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19401echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19402 (
19403 cat <<\_ASBOX
19404## ------------------------------------ ##
19405## Report this to bug-autoconf@gnu.org. ##
19406## ------------------------------------ ##
19407_ASBOX
19408 ) |
19409 sed "s/^/$as_me: WARNING: /" >&2
19410 ;;
19411 no:yes )
19412 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19413echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19414 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19415echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19416 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19417echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19418 (
19419 cat <<\_ASBOX
19420## ------------------------------------ ##
19421## Report this to bug-autoconf@gnu.org. ##
19422## ------------------------------------ ##
19423_ASBOX
19424 ) |
19425 sed "s/^/$as_me: WARNING: /" >&2
19426 ;;
19427esac
19428echo "$as_me:$LINENO: checking for expat.h" >&5
19429echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19430if test "${ac_cv_header_expat_h+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19432else
19433 ac_cv_header_expat_h=$ac_header_preproc
19434fi
19435echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19436echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19437
19438fi
19439if test $ac_cv_header_expat_h = yes; then
19440 found_expat_h=1
19441fi
19442
19443
19444 if test "x$found_expat_h" = "x1"; then
19445 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19446echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19447if test "${wx_cv_expat_is_not_broken+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449else
19450
19451
19452
19453 ac_ext=cc
19454ac_cpp='$CXXCPP $CPPFLAGS'
19455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19458
19459 cat >conftest.$ac_ext <<_ACEOF
19460#line $LINENO "configure"
19461/* confdefs.h. */
19462_ACEOF
19463cat confdefs.h >>conftest.$ac_ext
19464cat >>conftest.$ac_ext <<_ACEOF
19465/* end confdefs.h. */
19466#include <expat.h>
19467int
19468main ()
19469{
19470
19471 ;
19472 return 0;
19473}
19474_ACEOF
19475rm -f conftest.$ac_objext
19476if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>&5
19478 ac_status=$?
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try='test -s conftest.$ac_objext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 wx_cv_expat_is_not_broken=yes
19488else
19489 echo "$as_me: failed program was:" >&5
19490sed 's/^/| /' conftest.$ac_ext >&5
19491
19492wx_cv_expat_is_not_broken=no
19493
19494fi
19495rm -f conftest.$ac_objext conftest.$ac_ext
19496 ac_ext=c
19497ac_cpp='$CPP $CPPFLAGS'
19498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500ac_compiler_gnu=$ac_cv_c_compiler_gnu
19501
19502
19503
19504fi
19505echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19506echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19507 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19508 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19509echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19510if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19512else
19513 ac_check_lib_save_LIBS=$LIBS
19514LIBS="-lexpat $LIBS"
19515cat >conftest.$ac_ext <<_ACEOF
19516#line $LINENO "configure"
19517/* confdefs.h. */
19518_ACEOF
19519cat confdefs.h >>conftest.$ac_ext
19520cat >>conftest.$ac_ext <<_ACEOF
19521/* end confdefs.h. */
19522
19523/* Override any gcc2 internal prototype to avoid an error. */
19524#ifdef __cplusplus
19525extern "C"
19526#endif
19527/* We use char because int might match the return type of a gcc2
19528 builtin and then its argument prototype would still apply. */
19529char XML_ParserCreate ();
19530int
19531main ()
19532{
19533XML_ParserCreate ();
19534 ;
19535 return 0;
19536}
19537_ACEOF
19538rm -f conftest.$ac_objext conftest$ac_exeext
19539if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19540 (eval $ac_link) 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try='test -s conftest$ac_exeext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19547 ac_status=$?
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_cv_lib_expat_XML_ParserCreate=yes
19551else
19552 echo "$as_me: failed program was:" >&5
19553sed 's/^/| /' conftest.$ac_ext >&5
19554
19555ac_cv_lib_expat_XML_ParserCreate=no
19556fi
19557rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19558LIBS=$ac_check_lib_save_LIBS
19559fi
19560echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19561echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19562if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19563 EXPAT_LINK=" -lexpat"
19564fi
19565
19566 fi
19567 fi
19568 if test "x$EXPAT_LINK" = "x" ; then
19569 if test "$wxUSE_EXPAT" = "sys" ; then
19570 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19571echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19572 { (exit 1); exit 1; }; }
19573 else
19574 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19575echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19576 wxUSE_EXPAT=builtin
19577 fi
19578 else
19579 wxUSE_EXPAT=sys
19580 fi
19581 fi
19582 if test "$wxUSE_EXPAT" = "builtin" ; then
19583
19584
19585subdirs="$subdirs src/expat"
19586
19587 fi
19588fi
19589
19590
19591
19592if test "$wxUSE_LIBMSPACK" != "no"; then
19593
19594 if test "${ac_cv_header_mspack_h+set}" = set; then
19595 echo "$as_me:$LINENO: checking for mspack.h" >&5
19596echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19597if test "${ac_cv_header_mspack_h+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19599fi
19600echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19601echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19602else
19603 # Is the header compilable?
19604echo "$as_me:$LINENO: checking mspack.h usability" >&5
19605echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19606cat >conftest.$ac_ext <<_ACEOF
19607#line $LINENO "configure"
19608/* confdefs.h. */
19609_ACEOF
19610cat confdefs.h >>conftest.$ac_ext
19611cat >>conftest.$ac_ext <<_ACEOF
19612/* end confdefs.h. */
19613$ac_includes_default
19614#include <mspack.h>
19615_ACEOF
19616rm -f conftest.$ac_objext
19617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19618 (eval $ac_compile) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_header_compiler=yes
19629else
19630 echo "$as_me: failed program was:" >&5
19631sed 's/^/| /' conftest.$ac_ext >&5
19632
19633ac_header_compiler=no
19634fi
19635rm -f conftest.$ac_objext conftest.$ac_ext
19636echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19637echo "${ECHO_T}$ac_header_compiler" >&6
19638
19639# Is the header present?
19640echo "$as_me:$LINENO: checking mspack.h presence" >&5
19641echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19642cat >conftest.$ac_ext <<_ACEOF
19643#line $LINENO "configure"
19644/* confdefs.h. */
19645_ACEOF
19646cat confdefs.h >>conftest.$ac_ext
19647cat >>conftest.$ac_ext <<_ACEOF
19648/* end confdefs.h. */
19649#include <mspack.h>
19650_ACEOF
19651if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19653 ac_status=$?
19654 grep -v '^ *+' conftest.er1 >conftest.err
19655 rm -f conftest.er1
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } >/dev/null; then
19659 if test -s conftest.err; then
19660 ac_cpp_err=$ac_c_preproc_warn_flag
19661 else
19662 ac_cpp_err=
19663 fi
19664else
19665 ac_cpp_err=yes
19666fi
19667if test -z "$ac_cpp_err"; then
19668 ac_header_preproc=yes
19669else
19670 echo "$as_me: failed program was:" >&5
19671sed 's/^/| /' conftest.$ac_ext >&5
19672
19673 ac_header_preproc=no
19674fi
19675rm -f conftest.err conftest.$ac_ext
19676echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19677echo "${ECHO_T}$ac_header_preproc" >&6
19678
19679# So? What about this header?
19680case $ac_header_compiler:$ac_header_preproc in
19681 yes:no )
19682 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19683echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19685echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19686 (
19687 cat <<\_ASBOX
19688## ------------------------------------ ##
19689## Report this to bug-autoconf@gnu.org. ##
19690## ------------------------------------ ##
19691_ASBOX
19692 ) |
19693 sed "s/^/$as_me: WARNING: /" >&2
19694 ;;
19695 no:yes )
19696 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19697echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19698 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19699echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19701echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19702 (
19703 cat <<\_ASBOX
19704## ------------------------------------ ##
19705## Report this to bug-autoconf@gnu.org. ##
19706## ------------------------------------ ##
19707_ASBOX
19708 ) |
19709 sed "s/^/$as_me: WARNING: /" >&2
19710 ;;
19711esac
19712echo "$as_me:$LINENO: checking for mspack.h" >&5
19713echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19714if test "${ac_cv_header_mspack_h+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716else
19717 ac_cv_header_mspack_h=$ac_header_preproc
19718fi
19719echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19720echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19721
19722fi
19723if test $ac_cv_header_mspack_h = yes; then
19724 found_mspack_h=1
19725fi
19726
19727
19728 if test "x$found_mspack_h" = "x1"; then
19729 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19730echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19731if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19733else
19734 ac_check_lib_save_LIBS=$LIBS
19735LIBS="-lmspack $LIBS"
19736cat >conftest.$ac_ext <<_ACEOF
19737#line $LINENO "configure"
19738/* confdefs.h. */
19739_ACEOF
19740cat confdefs.h >>conftest.$ac_ext
19741cat >>conftest.$ac_ext <<_ACEOF
19742/* end confdefs.h. */
19743
19744/* Override any gcc2 internal prototype to avoid an error. */
19745#ifdef __cplusplus
19746extern "C"
19747#endif
19748/* We use char because int might match the return type of a gcc2
19749 builtin and then its argument prototype would still apply. */
19750char mspack_create_chm_decompressor ();
19751int
19752main ()
19753{
19754mspack_create_chm_decompressor ();
19755 ;
19756 return 0;
19757}
19758_ACEOF
19759rm -f conftest.$ac_objext conftest$ac_exeext
19760if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19761 (eval $ac_link) 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try='test -s conftest$ac_exeext'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19768 ac_status=$?
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; }; then
19771 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19772else
19773 echo "$as_me: failed program was:" >&5
19774sed 's/^/| /' conftest.$ac_ext >&5
19775
19776ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19777fi
19778rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19779LIBS=$ac_check_lib_save_LIBS
19780fi
19781echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19782echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19783if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19784 MSPACK_LINK=" -lmspack"
19785fi
19786
19787 fi
19788 if test "x$MSPACK_LINK" = "x" ; then
19789 wxUSE_LIBMSPACK=no
19790 else
19791 cat >>confdefs.h <<\_ACEOF
19792#define wxUSE_LIBMSPACK 1
19793_ACEOF
19794
19795 fi
19796fi
19797
19798
19799
19800AFMINSTALL=
19801WIN32INSTALL=
19802
19803TOOLKIT=
19804TOOLKIT_INCLUDE=
19805WIDGET_SET=
19806
19807if test "$USE_WIN32" = 1 ; then
19808
19809for ac_header in w32api.h
19810do
19811as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19812if eval "test \"\${$as_ac_Header+set}\" = set"; then
19813 echo "$as_me:$LINENO: checking for $ac_header" >&5
19814echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19815if eval "test \"\${$as_ac_Header+set}\" = set"; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19817fi
19818echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19819echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19820else
19821 # Is the header compilable?
19822echo "$as_me:$LINENO: checking $ac_header usability" >&5
19823echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19824cat >conftest.$ac_ext <<_ACEOF
19825#line $LINENO "configure"
19826/* confdefs.h. */
19827_ACEOF
19828cat confdefs.h >>conftest.$ac_ext
19829cat >>conftest.$ac_ext <<_ACEOF
19830/* end confdefs.h. */
19831$ac_includes_default
19832#include <$ac_header>
19833_ACEOF
19834rm -f conftest.$ac_objext
19835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19836 (eval $ac_compile) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19843 ac_status=$?
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_header_compiler=yes
19847else
19848 echo "$as_me: failed program was:" >&5
19849sed 's/^/| /' conftest.$ac_ext >&5
19850
19851ac_header_compiler=no
19852fi
19853rm -f conftest.$ac_objext conftest.$ac_ext
19854echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19855echo "${ECHO_T}$ac_header_compiler" >&6
19856
19857# Is the header present?
19858echo "$as_me:$LINENO: checking $ac_header presence" >&5
19859echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19860cat >conftest.$ac_ext <<_ACEOF
19861#line $LINENO "configure"
19862/* confdefs.h. */
19863_ACEOF
19864cat confdefs.h >>conftest.$ac_ext
19865cat >>conftest.$ac_ext <<_ACEOF
19866/* end confdefs.h. */
19867#include <$ac_header>
19868_ACEOF
19869if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19871 ac_status=$?
19872 grep -v '^ *+' conftest.er1 >conftest.err
19873 rm -f conftest.er1
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } >/dev/null; then
19877 if test -s conftest.err; then
19878 ac_cpp_err=$ac_c_preproc_warn_flag
19879 else
19880 ac_cpp_err=
19881 fi
19882else
19883 ac_cpp_err=yes
19884fi
19885if test -z "$ac_cpp_err"; then
19886 ac_header_preproc=yes
19887else
19888 echo "$as_me: failed program was:" >&5
19889sed 's/^/| /' conftest.$ac_ext >&5
19890
19891 ac_header_preproc=no
19892fi
19893rm -f conftest.err conftest.$ac_ext
19894echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19895echo "${ECHO_T}$ac_header_preproc" >&6
19896
19897# So? What about this header?
19898case $ac_header_compiler:$ac_header_preproc in
19899 yes:no )
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19901echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19903echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19904 (
19905 cat <<\_ASBOX
19906## ------------------------------------ ##
19907## Report this to bug-autoconf@gnu.org. ##
19908## ------------------------------------ ##
19909_ASBOX
19910 ) |
19911 sed "s/^/$as_me: WARNING: /" >&2
19912 ;;
19913 no:yes )
19914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19915echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19917echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19919echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19920 (
19921 cat <<\_ASBOX
19922## ------------------------------------ ##
19923## Report this to bug-autoconf@gnu.org. ##
19924## ------------------------------------ ##
19925_ASBOX
19926 ) |
19927 sed "s/^/$as_me: WARNING: /" >&2
19928 ;;
19929esac
19930echo "$as_me:$LINENO: checking for $ac_header" >&5
19931echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19932if eval "test \"\${$as_ac_Header+set}\" = set"; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19934else
19935 eval "$as_ac_Header=$ac_header_preproc"
19936fi
19937echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19938echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19939
19940fi
19941if test `eval echo '${'$as_ac_Header'}'` = yes; then
19942 cat >>confdefs.h <<_ACEOF
19943#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19944_ACEOF
19945
19946fi
19947
19948done
19949
19950 if test "${ac_cv_header_windows_h+set}" = set; then
19951 echo "$as_me:$LINENO: checking for windows.h" >&5
19952echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19953if test "${ac_cv_header_windows_h+set}" = set; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19955fi
19956echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19957echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19958else
19959 # Is the header compilable?
19960echo "$as_me:$LINENO: checking windows.h usability" >&5
19961echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19962cat >conftest.$ac_ext <<_ACEOF
19963#line $LINENO "configure"
19964/* confdefs.h. */
19965_ACEOF
19966cat confdefs.h >>conftest.$ac_ext
19967cat >>conftest.$ac_ext <<_ACEOF
19968/* end confdefs.h. */
19969$ac_includes_default
19970#include <windows.h>
19971_ACEOF
19972rm -f conftest.$ac_objext
19973if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19974 (eval $ac_compile) 2>&5
19975 ac_status=$?
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try='test -s conftest.$ac_objext'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19984 ac_header_compiler=yes
19985else
19986 echo "$as_me: failed program was:" >&5
19987sed 's/^/| /' conftest.$ac_ext >&5
19988
19989ac_header_compiler=no
19990fi
19991rm -f conftest.$ac_objext conftest.$ac_ext
19992echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19993echo "${ECHO_T}$ac_header_compiler" >&6
19994
19995# Is the header present?
19996echo "$as_me:$LINENO: checking windows.h presence" >&5
19997echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19998cat >conftest.$ac_ext <<_ACEOF
19999#line $LINENO "configure"
20000/* confdefs.h. */
20001_ACEOF
20002cat confdefs.h >>conftest.$ac_ext
20003cat >>conftest.$ac_ext <<_ACEOF
20004/* end confdefs.h. */
20005#include <windows.h>
20006_ACEOF
20007if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } >/dev/null; then
20015 if test -s conftest.err; then
20016 ac_cpp_err=$ac_c_preproc_warn_flag
20017 else
20018 ac_cpp_err=
20019 fi
20020else
20021 ac_cpp_err=yes
20022fi
20023if test -z "$ac_cpp_err"; then
20024 ac_header_preproc=yes
20025else
20026 echo "$as_me: failed program was:" >&5
20027sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 ac_header_preproc=no
20030fi
20031rm -f conftest.err conftest.$ac_ext
20032echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20033echo "${ECHO_T}$ac_header_preproc" >&6
20034
20035# So? What about this header?
20036case $ac_header_compiler:$ac_header_preproc in
20037 yes:no )
20038 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20039echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20041echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20042 (
20043 cat <<\_ASBOX
20044## ------------------------------------ ##
20045## Report this to bug-autoconf@gnu.org. ##
20046## ------------------------------------ ##
20047_ASBOX
20048 ) |
20049 sed "s/^/$as_me: WARNING: /" >&2
20050 ;;
20051 no:yes )
20052 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20053echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20054 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20055echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20057echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20058 (
20059 cat <<\_ASBOX
20060## ------------------------------------ ##
20061## Report this to bug-autoconf@gnu.org. ##
20062## ------------------------------------ ##
20063_ASBOX
20064 ) |
20065 sed "s/^/$as_me: WARNING: /" >&2
20066 ;;
20067esac
20068echo "$as_me:$LINENO: checking for windows.h" >&5
20069echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20070if test "${ac_cv_header_windows_h+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20072else
20073 ac_cv_header_windows_h=$ac_header_preproc
20074fi
20075echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20076echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20077
20078fi
20079if test $ac_cv_header_windows_h = yes; then
20080 :
20081else
20082
20083 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20084echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20085 { (exit 1); exit 1; }; }
20086
20087fi
20088
20089
20090
20091 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20092
20093 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20094 LIBS="$LIBS -loleacc"
20095 fi
20096
20097 case "${host}" in
20098 *-*-cygwin* )
20099 LIBS="$LIBS -lkernel32 -luser32"
20100 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20101 esac
20102
20103 if test "$wxUSE_ODBC" = "sys" ; then
20104 wxUSE_ODBC = "yes"
20105 fi
20106 if test "$wxUSE_ODBC" = "yes" ; then
20107 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20108 cat >>confdefs.h <<\_ACEOF
20109#define wxUSE_ODBC 1
20110_ACEOF
20111
20112 fi
20113
20114 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20115 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20116
20117 WIN32INSTALL=win32install
20118fi
20119
20120if test "$wxUSE_GUI" = "yes"; then
20121 USE_GUI=1
20122
20123 GUI_TK_LIBRARY=
20124
20125 WXGTK12=
20126 WXGTK127=
20127 WXGTK20=
20128
20129 if test "$wxUSE_MSW" = 1 ; then
20130 TOOLKIT=MSW
20131 GUIDIST=MSW_DIST
20132
20133 case "${host}" in
20134 *-*-mingw32* )
20135 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20136 esac
20137 fi
20138
20139 if test "$wxUSE_GTK" = 1; then
20140 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20141echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20142
20143 gtk_version_cached=1
20144 if test "${wx_cv_lib_gtk+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20146else
20147
20148 gtk_version_cached=0
20149 echo "$as_me:$LINENO: result: " >&5
20150echo "${ECHO_T}" >&6
20151
20152 GTK_MODULES=
20153 if test "$wxUSE_THREADS" = "yes"; then
20154 GTK_MODULES=gthread
20155 fi
20156
20157 wx_cv_lib_gtk=
20158 if test "x$wxUSE_GTK2" = "xyes"; then
20159 # Check whether --enable-gtktest or --disable-gtktest was given.
20160if test "${enable_gtktest+set}" = set; then
20161 enableval="$enable_gtktest"
20162
20163else
20164 enable_gtktest=yes
20165fi;
20166
20167 pkg_config_args=gtk+-2.0
20168 for module in . $GTK_MODULES
20169 do
20170 case "$module" in
20171 gthread)
20172 pkg_config_args="$pkg_config_args gthread-2.0"
20173 ;;
20174 esac
20175 done
20176
20177 no_gtk=""
20178
20179 # Extract the first word of "pkg-config", so it can be a program name with args.
20180set dummy pkg-config; ac_word=$2
20181echo "$as_me:$LINENO: checking for $ac_word" >&5
20182echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20183if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20184 echo $ECHO_N "(cached) $ECHO_C" >&6
20185else
20186 case $PKG_CONFIG in
20187 [\\/]* | ?:[\\/]*)
20188 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20189 ;;
20190 *)
20191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20192for as_dir in $PATH
20193do
20194 IFS=$as_save_IFS
20195 test -z "$as_dir" && as_dir=.
20196 for ac_exec_ext in '' $ac_executable_extensions; do
20197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20198 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20200 break 2
20201 fi
20202done
20203done
20204
20205 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20206 ;;
20207esac
20208fi
20209PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20210
20211if test -n "$PKG_CONFIG"; then
20212 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20213echo "${ECHO_T}$PKG_CONFIG" >&6
20214else
20215 echo "$as_me:$LINENO: result: no" >&5
20216echo "${ECHO_T}no" >&6
20217fi
20218
20219
20220 if test x$PKG_CONFIG != xno ; then
20221 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20222 :
20223 else
20224 echo *** pkg-config too old; version 0.7 or better required.
20225 no_gtk=yes
20226 PKG_CONFIG=no
20227 fi
20228 else
20229 no_gtk=yes
20230 fi
20231
20232 min_gtk_version=2.0.0
20233 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20234echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20235
20236 if test x$PKG_CONFIG != xno ; then
20237 ## don't try to run the test against uninstalled libtool libs
20238 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20239 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20240 enable_gtktest=no
20241 fi
20242
20243 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20244 :
20245 else
20246 no_gtk=yes
20247 fi
20248 fi
20249
20250 if test x"$no_gtk" = x ; then
20251 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20252 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20253 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20255 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20257 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20259 if test "x$enable_gtktest" = "xyes" ; then
20260 ac_save_CFLAGS="$CFLAGS"
20261 ac_save_LIBS="$LIBS"
20262 CFLAGS="$CFLAGS $GTK_CFLAGS"
20263 LIBS="$GTK_LIBS $LIBS"
20264 rm -f conf.gtktest
20265 if test "$cross_compiling" = yes; then
20266 echo $ac_n "cross compiling; assumed OK... $ac_c"
20267else
20268 cat >conftest.$ac_ext <<_ACEOF
20269#line $LINENO "configure"
20270/* confdefs.h. */
20271_ACEOF
20272cat confdefs.h >>conftest.$ac_ext
20273cat >>conftest.$ac_ext <<_ACEOF
20274/* end confdefs.h. */
20275
20276#include <gtk/gtk.h>
20277#include <stdio.h>
20278#include <stdlib.h>
20279
20280int
20281main ()
20282{
20283 int major, minor, micro;
20284 char *tmp_version;
20285
20286 system ("touch conf.gtktest");
20287
20288 /* HP/UX 9 (%@#!) writes to sscanf strings */
20289 tmp_version = g_strdup("$min_gtk_version");
20290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20291 printf("%s, bad version string\n", "$min_gtk_version");
20292 exit(1);
20293 }
20294
20295 if ((gtk_major_version != $gtk_config_major_version) ||
20296 (gtk_minor_version != $gtk_config_minor_version) ||
20297 (gtk_micro_version != $gtk_config_micro_version))
20298 {
20299 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20300 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20301 gtk_major_version, gtk_minor_version, gtk_micro_version);
20302 printf ("*** was found! If pkg-config was correct, then it is best\n");
20303 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20304 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20305 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20306 printf("*** required on your system.\n");
20307 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20308 printf("*** to point to the correct configuration files\n");
20309 }
20310 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20311 (gtk_minor_version != GTK_MINOR_VERSION) ||
20312 (gtk_micro_version != GTK_MICRO_VERSION))
20313 {
20314 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20315 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20316 printf("*** library (version %d.%d.%d)\n",
20317 gtk_major_version, gtk_minor_version, gtk_micro_version);
20318 }
20319 else
20320 {
20321 if ((gtk_major_version > major) ||
20322 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20323 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20324 {
20325 return 0;
20326 }
20327 else
20328 {
20329 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20330 gtk_major_version, gtk_minor_version, gtk_micro_version);
20331 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20332 major, minor, micro);
20333 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20334 printf("***\n");
20335 printf("*** If you have already installed a sufficiently new version, this error\n");
20336 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20337 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20338 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20339 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20340 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20341 printf("*** so that the correct libraries are found at run-time))\n");
20342 }
20343 }
20344 return 1;
20345}
20346
20347_ACEOF
20348rm -f conftest$ac_exeext
20349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20356 ac_status=$?
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 :
20360else
20361 echo "$as_me: program exited with status $ac_status" >&5
20362echo "$as_me: failed program was:" >&5
20363sed 's/^/| /' conftest.$ac_ext >&5
20364
20365( exit $ac_status )
20366no_gtk=yes
20367fi
20368rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20369fi
20370 CFLAGS="$ac_save_CFLAGS"
20371 LIBS="$ac_save_LIBS"
20372 fi
20373 fi
20374 if test "x$no_gtk" = x ; then
20375 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20376echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20377 wx_cv_lib_gtk=2.0
20378 else
20379 echo "$as_me:$LINENO: result: no" >&5
20380echo "${ECHO_T}no" >&6
20381 if test "$PKG_CONFIG" = "no" ; then
20382 echo "*** A new enough version of pkg-config was not found."
20383 echo "*** See http://pkgconfig.sourceforge.net"
20384 else
20385 if test -f conf.gtktest ; then
20386 :
20387 else
20388 echo "*** Could not run GTK+ test program, checking why..."
20389 ac_save_CFLAGS="$CFLAGS"
20390 ac_save_LIBS="$LIBS"
20391 CFLAGS="$CFLAGS $GTK_CFLAGS"
20392 LIBS="$LIBS $GTK_LIBS"
20393 cat >conftest.$ac_ext <<_ACEOF
20394#line $LINENO "configure"
20395/* confdefs.h. */
20396_ACEOF
20397cat confdefs.h >>conftest.$ac_ext
20398cat >>conftest.$ac_ext <<_ACEOF
20399/* end confdefs.h. */
20400
20401#include <gtk/gtk.h>
20402#include <stdio.h>
20403
20404int
20405main ()
20406{
20407 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20408 ;
20409 return 0;
20410}
20411_ACEOF
20412rm -f conftest.$ac_objext conftest$ac_exeext
20413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20414 (eval $ac_link) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try='test -s conftest$ac_exeext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 echo "*** The test program compiled, but did not run. This usually means"
20425 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20426 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20427 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20428 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20429 echo "*** is required on your system"
20430 echo "***"
20431 echo "*** If you have an old version installed, it is best to remove it, although"
20432 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20433else
20434 echo "$as_me: failed program was:" >&5
20435sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 echo "*** The test program failed to compile or link. See the file config.log for the"
20438 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20439fi
20440rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20441 CFLAGS="$ac_save_CFLAGS"
20442 LIBS="$ac_save_LIBS"
20443 fi
20444 fi
20445 GTK_CFLAGS=""
20446 GTK_LIBS=""
20447 :
20448 fi
20449
20450
20451 rm -f conf.gtktest
20452
20453 else
20454
20455# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20456if test "${with_gtk_prefix+set}" = set; then
20457 withval="$with_gtk_prefix"
20458 gtk_config_prefix="$withval"
20459else
20460 gtk_config_prefix=""
20461fi;
20462
20463# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20464if test "${with_gtk_exec_prefix+set}" = set; then
20465 withval="$with_gtk_exec_prefix"
20466 gtk_config_exec_prefix="$withval"
20467else
20468 gtk_config_exec_prefix=""
20469fi;
20470# Check whether --enable-gtktest or --disable-gtktest was given.
20471if test "${enable_gtktest+set}" = set; then
20472 enableval="$enable_gtktest"
20473
20474else
20475 enable_gtktest=yes
20476fi;
20477
20478 for module in . $GTK_MODULES
20479 do
20480 case "$module" in
20481 gthread)
20482 gtk_config_args="$gtk_config_args gthread"
20483 ;;
20484 esac
20485 done
20486
20487 if test x$gtk_config_exec_prefix != x ; then
20488 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20489 if test x${GTK_CONFIG+set} != xset ; then
20490 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20491 fi
20492 fi
20493 if test x$gtk_config_prefix != x ; then
20494 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20495 if test x${GTK_CONFIG+set} != xset ; then
20496 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20497 fi
20498 fi
20499
20500 # Extract the first word of "gtk-config", so it can be a program name with args.
20501set dummy gtk-config; ac_word=$2
20502echo "$as_me:$LINENO: checking for $ac_word" >&5
20503echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20504if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20506else
20507 case $GTK_CONFIG in
20508 [\\/]* | ?:[\\/]*)
20509 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20510 ;;
20511 *)
20512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20513for as_dir in $PATH
20514do
20515 IFS=$as_save_IFS
20516 test -z "$as_dir" && as_dir=.
20517 for ac_exec_ext in '' $ac_executable_extensions; do
20518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20519 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20521 break 2
20522 fi
20523done
20524done
20525
20526 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20527 ;;
20528esac
20529fi
20530GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20531
20532if test -n "$GTK_CONFIG"; then
20533 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20534echo "${ECHO_T}$GTK_CONFIG" >&6
20535else
20536 echo "$as_me:$LINENO: result: no" >&5
20537echo "${ECHO_T}no" >&6
20538fi
20539
20540 min_gtk_version=1.2.7
20541 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20542echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20543 no_gtk=""
20544 if test "$GTK_CONFIG" = "no" ; then
20545 no_gtk=yes
20546 else
20547 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20548 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20549 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20551 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20553 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20555 if test "x$enable_gtktest" = "xyes" ; then
20556 ac_save_CFLAGS="$CFLAGS"
20557 ac_save_LIBS="$LIBS"
20558 CFLAGS="$CFLAGS $GTK_CFLAGS"
20559 LIBS="$GTK_LIBS $LIBS"
20560 rm -f conf.gtktest
20561 if test "$cross_compiling" = yes; then
20562 echo $ac_n "cross compiling; assumed OK... $ac_c"
20563else
20564 cat >conftest.$ac_ext <<_ACEOF
20565#line $LINENO "configure"
20566/* confdefs.h. */
20567_ACEOF
20568cat confdefs.h >>conftest.$ac_ext
20569cat >>conftest.$ac_ext <<_ACEOF
20570/* end confdefs.h. */
20571
20572#include <gtk/gtk.h>
20573#include <stdio.h>
20574#include <stdlib.h>
20575
20576int
20577main ()
20578{
20579 int major, minor, micro;
20580 char *tmp_version;
20581
20582 system ("touch conf.gtktest");
20583
20584 /* HP/UX 9 (%@#!) writes to sscanf strings */
20585 tmp_version = g_strdup("$min_gtk_version");
20586 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20587 printf("%s, bad version string\n", "$min_gtk_version");
20588 exit(1);
20589 }
20590
20591 if ((gtk_major_version != $gtk_config_major_version) ||
20592 (gtk_minor_version != $gtk_config_minor_version) ||
20593 (gtk_micro_version != $gtk_config_micro_version))
20594 {
20595 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20596 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20597 gtk_major_version, gtk_minor_version, gtk_micro_version);
20598 printf ("*** was found! If gtk-config was correct, then it is best\n");
20599 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20600 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20601 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20602 printf("*** required on your system.\n");
20603 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20604 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20605 printf("*** before re-running configure\n");
20606 }
20607#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20608 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20609 (gtk_minor_version != GTK_MINOR_VERSION) ||
20610 (gtk_micro_version != GTK_MICRO_VERSION))
20611 {
20612 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20613 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20614 printf("*** library (version %d.%d.%d)\n",
20615 gtk_major_version, gtk_minor_version, gtk_micro_version);
20616 }
20617#endif /* defined (GTK_MAJOR_VERSION) ... */
20618 else
20619 {
20620 if ((gtk_major_version > major) ||
20621 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20622 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20623 {
20624 return 0;
20625 }
20626 else
20627 {
20628 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20629 gtk_major_version, gtk_minor_version, gtk_micro_version);
20630 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20631 major, minor, micro);
20632 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20633 printf("***\n");
20634 printf("*** If you have already installed a sufficiently new version, this error\n");
20635 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20636 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20637 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20638 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20639 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20640 printf("*** so that the correct libraries are found at run-time))\n");
20641 }
20642 }
20643 return 1;
20644}
20645
20646_ACEOF
20647rm -f conftest$ac_exeext
20648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20649 (eval $ac_link) 2>&5
20650 ac_status=$?
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 :
20659else
20660 echo "$as_me: program exited with status $ac_status" >&5
20661echo "$as_me: failed program was:" >&5
20662sed 's/^/| /' conftest.$ac_ext >&5
20663
20664( exit $ac_status )
20665no_gtk=yes
20666fi
20667rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20668fi
20669 CFLAGS="$ac_save_CFLAGS"
20670 LIBS="$ac_save_LIBS"
20671 fi
20672 fi
20673 if test "x$no_gtk" = x ; then
20674 echo "$as_me:$LINENO: result: yes" >&5
20675echo "${ECHO_T}yes" >&6
20676 wx_cv_lib_gtk=1.2.7
20677 else
20678 echo "$as_me:$LINENO: result: no" >&5
20679echo "${ECHO_T}no" >&6
20680 if test "$GTK_CONFIG" = "no" ; then
20681 echo "*** The gtk-config script installed by GTK could not be found"
20682 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20683 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20684 echo "*** full path to gtk-config."
20685 else
20686 if test -f conf.gtktest ; then
20687 :
20688 else
20689 echo "*** Could not run GTK test program, checking why..."
20690 CFLAGS="$CFLAGS $GTK_CFLAGS"
20691 LIBS="$LIBS $GTK_LIBS"
20692 cat >conftest.$ac_ext <<_ACEOF
20693#line $LINENO "configure"
20694/* confdefs.h. */
20695_ACEOF
20696cat confdefs.h >>conftest.$ac_ext
20697cat >>conftest.$ac_ext <<_ACEOF
20698/* end confdefs.h. */
20699
20700#include <gtk/gtk.h>
20701#include <stdio.h>
20702
20703int
20704main ()
20705{
20706 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20707 ;
20708 return 0;
20709}
20710_ACEOF
20711rm -f conftest.$ac_objext conftest$ac_exeext
20712if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20713 (eval $ac_link) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try='test -s conftest$ac_exeext'
20718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20719 (eval $ac_try) 2>&5
20720 ac_status=$?
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); }; }; then
20723 echo "*** The test program compiled, but did not run. This usually means"
20724 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20725 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20726 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20727 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20728 echo "*** is required on your system"
20729 echo "***"
20730 echo "*** If you have an old version installed, it is best to remove it, although"
20731 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20732 echo "***"
20733 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20734 echo "*** came with the system with the command"
20735 echo "***"
20736 echo "*** rpm --erase --nodeps gtk gtk-devel"
20737else
20738 echo "$as_me: failed program was:" >&5
20739sed 's/^/| /' conftest.$ac_ext >&5
20740
20741 echo "*** The test program failed to compile or link. See the file config.log for the"
20742 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20743 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20744 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20745fi
20746rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20747 CFLAGS="$ac_save_CFLAGS"
20748 LIBS="$ac_save_LIBS"
20749 fi
20750 fi
20751 GTK_CFLAGS=""
20752 GTK_LIBS=""
20753 :
20754 fi
20755
20756
20757 rm -f conf.gtktest
20758
20759
20760 if test -z "$wx_cv_lib_gtk"; then
20761
20762# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20763if test "${with_gtk_prefix+set}" = set; then
20764 withval="$with_gtk_prefix"
20765 gtk_config_prefix="$withval"
20766else
20767 gtk_config_prefix=""
20768fi;
20769
20770# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20771if test "${with_gtk_exec_prefix+set}" = set; then
20772 withval="$with_gtk_exec_prefix"
20773 gtk_config_exec_prefix="$withval"
20774else
20775 gtk_config_exec_prefix=""
20776fi;
20777# Check whether --enable-gtktest or --disable-gtktest was given.
20778if test "${enable_gtktest+set}" = set; then
20779 enableval="$enable_gtktest"
20780
20781else
20782 enable_gtktest=yes
20783fi;
20784
20785 for module in . $GTK_MODULES
20786 do
20787 case "$module" in
20788 gthread)
20789 gtk_config_args="$gtk_config_args gthread"
20790 ;;
20791 esac
20792 done
20793
20794 if test x$gtk_config_exec_prefix != x ; then
20795 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20796 if test x${GTK_CONFIG+set} != xset ; then
20797 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20798 fi
20799 fi
20800 if test x$gtk_config_prefix != x ; then
20801 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20802 if test x${GTK_CONFIG+set} != xset ; then
20803 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20804 fi
20805 fi
20806
20807 # Extract the first word of "gtk-config", so it can be a program name with args.
20808set dummy gtk-config; ac_word=$2
20809echo "$as_me:$LINENO: checking for $ac_word" >&5
20810echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20811if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813else
20814 case $GTK_CONFIG in
20815 [\\/]* | ?:[\\/]*)
20816 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20817 ;;
20818 *)
20819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20820for as_dir in $PATH
20821do
20822 IFS=$as_save_IFS
20823 test -z "$as_dir" && as_dir=.
20824 for ac_exec_ext in '' $ac_executable_extensions; do
20825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20826 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20828 break 2
20829 fi
20830done
20831done
20832
20833 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20834 ;;
20835esac
20836fi
20837GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20838
20839if test -n "$GTK_CONFIG"; then
20840 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20841echo "${ECHO_T}$GTK_CONFIG" >&6
20842else
20843 echo "$as_me:$LINENO: result: no" >&5
20844echo "${ECHO_T}no" >&6
20845fi
20846
20847 min_gtk_version=1.2.3
20848 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20849echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20850 no_gtk=""
20851 if test "$GTK_CONFIG" = "no" ; then
20852 no_gtk=yes
20853 else
20854 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20855 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20856 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20858 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20860 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20862 if test "x$enable_gtktest" = "xyes" ; then
20863 ac_save_CFLAGS="$CFLAGS"
20864 ac_save_LIBS="$LIBS"
20865 CFLAGS="$CFLAGS $GTK_CFLAGS"
20866 LIBS="$GTK_LIBS $LIBS"
20867 rm -f conf.gtktest
20868 if test "$cross_compiling" = yes; then
20869 echo $ac_n "cross compiling; assumed OK... $ac_c"
20870else
20871 cat >conftest.$ac_ext <<_ACEOF
20872#line $LINENO "configure"
20873/* confdefs.h. */
20874_ACEOF
20875cat confdefs.h >>conftest.$ac_ext
20876cat >>conftest.$ac_ext <<_ACEOF
20877/* end confdefs.h. */
20878
20879#include <gtk/gtk.h>
20880#include <stdio.h>
20881#include <stdlib.h>
20882
20883int
20884main ()
20885{
20886 int major, minor, micro;
20887 char *tmp_version;
20888
20889 system ("touch conf.gtktest");
20890
20891 /* HP/UX 9 (%@#!) writes to sscanf strings */
20892 tmp_version = g_strdup("$min_gtk_version");
20893 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20894 printf("%s, bad version string\n", "$min_gtk_version");
20895 exit(1);
20896 }
20897
20898 if ((gtk_major_version != $gtk_config_major_version) ||
20899 (gtk_minor_version != $gtk_config_minor_version) ||
20900 (gtk_micro_version != $gtk_config_micro_version))
20901 {
20902 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20903 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20904 gtk_major_version, gtk_minor_version, gtk_micro_version);
20905 printf ("*** was found! If gtk-config was correct, then it is best\n");
20906 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20907 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20908 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20909 printf("*** required on your system.\n");
20910 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20911 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20912 printf("*** before re-running configure\n");
20913 }
20914#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20915 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20916 (gtk_minor_version != GTK_MINOR_VERSION) ||
20917 (gtk_micro_version != GTK_MICRO_VERSION))
20918 {
20919 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20920 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20921 printf("*** library (version %d.%d.%d)\n",
20922 gtk_major_version, gtk_minor_version, gtk_micro_version);
20923 }
20924#endif /* defined (GTK_MAJOR_VERSION) ... */
20925 else
20926 {
20927 if ((gtk_major_version > major) ||
20928 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20929 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20930 {
20931 return 0;
20932 }
20933 else
20934 {
20935 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20936 gtk_major_version, gtk_minor_version, gtk_micro_version);
20937 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20938 major, minor, micro);
20939 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20940 printf("***\n");
20941 printf("*** If you have already installed a sufficiently new version, this error\n");
20942 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20943 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20944 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20945 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20946 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20947 printf("*** so that the correct libraries are found at run-time))\n");
20948 }
20949 }
20950 return 1;
20951}
20952
20953_ACEOF
20954rm -f conftest$ac_exeext
20955if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20956 (eval $ac_link) 2>&5
20957 ac_status=$?
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20965 :
20966else
20967 echo "$as_me: program exited with status $ac_status" >&5
20968echo "$as_me: failed program was:" >&5
20969sed 's/^/| /' conftest.$ac_ext >&5
20970
20971( exit $ac_status )
20972no_gtk=yes
20973fi
20974rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20975fi
20976 CFLAGS="$ac_save_CFLAGS"
20977 LIBS="$ac_save_LIBS"
20978 fi
20979 fi
20980 if test "x$no_gtk" = x ; then
20981 echo "$as_me:$LINENO: result: yes" >&5
20982echo "${ECHO_T}yes" >&6
20983 wx_cv_lib_gtk=1.2.3
20984 else
20985 echo "$as_me:$LINENO: result: no" >&5
20986echo "${ECHO_T}no" >&6
20987 if test "$GTK_CONFIG" = "no" ; then
20988 echo "*** The gtk-config script installed by GTK could not be found"
20989 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20990 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20991 echo "*** full path to gtk-config."
20992 else
20993 if test -f conf.gtktest ; then
20994 :
20995 else
20996 echo "*** Could not run GTK test program, checking why..."
20997 CFLAGS="$CFLAGS $GTK_CFLAGS"
20998 LIBS="$LIBS $GTK_LIBS"
20999 cat >conftest.$ac_ext <<_ACEOF
21000#line $LINENO "configure"
21001/* confdefs.h. */
21002_ACEOF
21003cat confdefs.h >>conftest.$ac_ext
21004cat >>conftest.$ac_ext <<_ACEOF
21005/* end confdefs.h. */
21006
21007#include <gtk/gtk.h>
21008#include <stdio.h>
21009
21010int
21011main ()
21012{
21013 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21014 ;
21015 return 0;
21016}
21017_ACEOF
21018rm -f conftest.$ac_objext conftest$ac_exeext
21019if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21020 (eval $ac_link) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try='test -s conftest$ac_exeext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 echo "*** The test program compiled, but did not run. This usually means"
21031 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21032 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21033 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21034 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21035 echo "*** is required on your system"
21036 echo "***"
21037 echo "*** If you have an old version installed, it is best to remove it, although"
21038 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21039 echo "***"
21040 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21041 echo "*** came with the system with the command"
21042 echo "***"
21043 echo "*** rpm --erase --nodeps gtk gtk-devel"
21044else
21045 echo "$as_me: failed program was:" >&5
21046sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 echo "*** The test program failed to compile or link. See the file config.log for the"
21049 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21050 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21051 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21052fi
21053rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21054 CFLAGS="$ac_save_CFLAGS"
21055 LIBS="$ac_save_LIBS"
21056 fi
21057 fi
21058 GTK_CFLAGS=""
21059 GTK_LIBS=""
21060 :
21061 fi
21062
21063
21064 rm -f conf.gtktest
21065
21066 fi
21067 fi
21068
21069 if test -z "$wx_cv_lib_gtk"; then
21070 wx_cv_lib_gtk=none
21071 else
21072 wx_cv_cflags_gtk=$GTK_CFLAGS
21073 wx_cv_libs_gtk=$GTK_LIBS
21074 fi
21075
21076
21077fi
21078
21079
21080 if test "$gtk_version_cached" = 1; then
21081 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21082echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21083 fi
21084
21085 case "$wx_cv_lib_gtk" in
21086 2.0) WXGTK20=1
21087 TOOLKIT_VERSION=2
21088 ;;
21089 1.2.7) WXGTK127=1
21090 WXGTK12=1
21091 ;;
21092 1.2.3) WXGTK12=1
21093 ;;
21094 *) { { echo "$as_me:$LINENO: error:
21095Please check that gtk-config is in path, the directory
21096where GTK+ libraries are installed (returned by
21097'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21098equivalent variable and GTK+ is version 1.2.3 or above.
21099 " >&5
21100echo "$as_me: error:
21101Please check that gtk-config is in path, the directory
21102where GTK+ libraries are installed (returned by
21103'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21104equivalent variable and GTK+ is version 1.2.3 or above.
21105 " >&2;}
21106 { (exit 1); exit 1; }; }
21107 ;;
21108 esac
21109
21110 if test "$WXGTK20" = 1; then
21111 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21112
21113 succeeded=no
21114
21115 if test -z "$PKG_CONFIG"; then
21116 # Extract the first word of "pkg-config", so it can be a program name with args.
21117set dummy pkg-config; ac_word=$2
21118echo "$as_me:$LINENO: checking for $ac_word" >&5
21119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21120if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21122else
21123 case $PKG_CONFIG in
21124 [\\/]* | ?:[\\/]*)
21125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21126 ;;
21127 *)
21128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21129for as_dir in $PATH
21130do
21131 IFS=$as_save_IFS
21132 test -z "$as_dir" && as_dir=.
21133 for ac_exec_ext in '' $ac_executable_extensions; do
21134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21135 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21137 break 2
21138 fi
21139done
21140done
21141
21142 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21143 ;;
21144esac
21145fi
21146PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21147
21148if test -n "$PKG_CONFIG"; then
21149 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21150echo "${ECHO_T}$PKG_CONFIG" >&6
21151else
21152 echo "$as_me:$LINENO: result: no" >&5
21153echo "${ECHO_T}no" >&6
21154fi
21155
21156 fi
21157
21158 if test "$PKG_CONFIG" = "no" ; then
21159 echo "*** The pkg-config script could not be found. Make sure it is"
21160 echo "*** in your path, or set the PKG_CONFIG environment variable"
21161 echo "*** to the full path to pkg-config."
21162 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21163 else
21164 PKG_CONFIG_MIN_VERSION=0.9.0
21165 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21166 echo "$as_me:$LINENO: checking for pangoft2" >&5
21167echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21168
21169 if $PKG_CONFIG --exists "pangoft2" ; then
21170 echo "$as_me:$LINENO: result: yes" >&5
21171echo "${ECHO_T}yes" >&6
21172 succeeded=yes
21173
21174 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21175echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21176 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21177 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21178echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21179
21180 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21181echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21182 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21183 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21184echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21185 else
21186 PANGOFT2_CFLAGS=""
21187 PANGOFT2_LIBS=""
21188 ## If we have a custom action on failure, don't print errors, but
21189 ## do set a variable so people can do so.
21190 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21191
21192 fi
21193
21194
21195
21196 else
21197 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21198 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21199 fi
21200 fi
21201
21202 if test $succeeded = yes; then
21203
21204 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21205 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21206
21207 else
21208
21209 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21210echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21211 wxUSE_PRINTING_ARCHITECTURE="no"
21212
21213
21214 fi
21215
21216 fi
21217 else
21218 if test "$wxUSE_UNICODE" = "yes"; then
21219 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21220echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21221 wxUSE_UNICODE=no
21222 fi
21223 fi
21224
21225 if test "$USE_DARWIN" != 1; then
21226
21227for ac_func in poll
21228do
21229as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230echo "$as_me:$LINENO: checking for $ac_func" >&5
21231echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234else
21235 cat >conftest.$ac_ext <<_ACEOF
21236#line $LINENO "configure"
21237/* confdefs.h. */
21238_ACEOF
21239cat confdefs.h >>conftest.$ac_ext
21240cat >>conftest.$ac_ext <<_ACEOF
21241/* end confdefs.h. */
21242/* System header to define __stub macros and hopefully few prototypes,
21243 which can conflict with char $ac_func (); below.
21244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21245 <limits.h> exists even on freestanding compilers. */
21246#ifdef __STDC__
21247# include <limits.h>
21248#else
21249# include <assert.h>
21250#endif
21251/* Override any gcc2 internal prototype to avoid an error. */
21252#ifdef __cplusplus
21253extern "C"
21254{
21255#endif
21256/* We use char because int might match the return type of a gcc2
21257 builtin and then its argument prototype would still apply. */
21258char $ac_func ();
21259/* The GNU C library defines this for functions which it implements
21260 to always fail with ENOSYS. Some functions are actually named
21261 something starting with __ and the normal name is an alias. */
21262#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21263choke me
21264#else
21265char (*f) () = $ac_func;
21266#endif
21267#ifdef __cplusplus
21268}
21269#endif
21270
21271int
21272main ()
21273{
21274return f != $ac_func;
21275 ;
21276 return 0;
21277}
21278_ACEOF
21279rm -f conftest.$ac_objext conftest$ac_exeext
21280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21281 (eval $ac_link) 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -s conftest$ac_exeext'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 eval "$as_ac_var=yes"
21292else
21293 echo "$as_me: failed program was:" >&5
21294sed 's/^/| /' conftest.$ac_ext >&5
21295
21296eval "$as_ac_var=no"
21297fi
21298rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21299fi
21300echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21301echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21302if test `eval echo '${'$as_ac_var'}'` = yes; then
21303 cat >>confdefs.h <<_ACEOF
21304#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21305_ACEOF
21306
21307fi
21308done
21309
21310 fi
21311
21312 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21313 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21314
21315 AFMINSTALL=afminstall
21316 TOOLKIT=GTK
21317 GUIDIST=GTK_DIST
21318
21319 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21320echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21321if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21323else
21324 ac_check_lib_save_LIBS=$LIBS
21325LIBS="-lgdk $LIBS"
21326cat >conftest.$ac_ext <<_ACEOF
21327#line $LINENO "configure"
21328/* confdefs.h. */
21329_ACEOF
21330cat confdefs.h >>conftest.$ac_ext
21331cat >>conftest.$ac_ext <<_ACEOF
21332/* end confdefs.h. */
21333
21334/* Override any gcc2 internal prototype to avoid an error. */
21335#ifdef __cplusplus
21336extern "C"
21337#endif
21338/* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21340char gdk_im_open ();
21341int
21342main ()
21343{
21344gdk_im_open ();
21345 ;
21346 return 0;
21347}
21348_ACEOF
21349rm -f conftest.$ac_objext conftest$ac_exeext
21350if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -s conftest$ac_exeext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 ac_cv_lib_gdk_gdk_im_open=yes
21362else
21363 echo "$as_me: failed program was:" >&5
21364sed 's/^/| /' conftest.$ac_ext >&5
21365
21366ac_cv_lib_gdk_gdk_im_open=no
21367fi
21368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21369LIBS=$ac_check_lib_save_LIBS
21370fi
21371echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21372echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21373if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21374 cat >>confdefs.h <<\_ACEOF
21375#define HAVE_XIM 1
21376_ACEOF
21377
21378fi
21379
21380 fi
21381
21382 if test "$wxUSE_MGL" = 1; then
21383 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21384echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21385 if test "x$MGL_ROOT" = x ; then
21386 echo "$as_me:$LINENO: result: not found" >&5
21387echo "${ECHO_T}not found" >&6
21388 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21389echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21390 { (exit 1); exit 1; }; }
21391 else
21392 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21393echo "${ECHO_T}$MGL_ROOT" >&6
21394 fi
21395
21396 echo "$as_me:$LINENO: checking for libmgl location" >&5
21397echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21398 case "${host}" in
21399 *-*-linux* )
21400 if test "x$wxUSE_SHARED" = xyes ; then
21401 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21402 else
21403 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21404 fi
21405 ;;
21406 *-pc-msdosdjgpp )
21407 mgl_os_candidates="dos32/dj2"
21408 ;;
21409 *)
21410 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21411echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21412 { (exit 1); exit 1; }; }
21413 esac
21414
21415 mgl_lib_type=""
21416 mgl_os=""
21417
21418 for mgl_os_i in $mgl_os_candidates ; do
21419 if test "x$mgl_os" = x ; then
21420 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21421 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21422 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21423 mgl_lib_type=debug
21424 mgl_os=$mgl_os_i
21425 fi
21426 fi
21427 if test "x$mgl_lib_type" = x ; then
21428 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21429 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21430 mgl_lib_type=release
21431 mgl_os=$mgl_os_i
21432 fi
21433 fi
21434 fi
21435 done
21436
21437 if test "x$mgl_os" = x ; then
21438 echo "$as_me:$LINENO: result: not found" >&5
21439echo "${ECHO_T}not found" >&6
21440 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21441echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21442 { (exit 1); exit 1; }; }
21443 fi
21444 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21445echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21446
21447 wxUSE_UNIVERSAL="yes"
21448
21449 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21450 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21451
21452 AFMINSTALL=afminstall
21453 TOOLKIT=MGL
21454 GUIDIST=MGL_DIST
21455 fi
21456
21457 if test "$wxUSE_MICROWIN" = 1; then
21458 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21459echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21460 if test "x$MICROWINDOWS" = x ; then
21461 echo "$as_me:$LINENO: result: not found" >&5
21462echo "${ECHO_T}not found" >&6
21463 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21464echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21465 { (exit 1); exit 1; }; }
21466 else
21467 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21468echo "${ECHO_T}$MICROWINDOWS" >&6
21469 fi
21470
21471 if test -f $MICROWINDOWS/lib/libmwin.a; then
21472 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21473echo "${ECHO_T}MicroWindows' libraries found." >&6
21474 else
21475 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21476echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21477 { (exit 1); exit 1; }; }
21478 fi
21479
21480 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21481 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21482
21483 wxUSE_UNIVERSAL="yes"
21484
21485 AFMINSTALL=afminstall
21486 TOOLKIT=MICROWIN
21487 GUIDIST=MICROWIN_DIST
21488
21489 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21490 fi
21491
21492 if test "$wxUSE_X11" = 1; then
21493 echo "$as_me:$LINENO: checking for X" >&5
21494echo $ECHO_N "checking for X... $ECHO_C" >&6
21495
21496
21497# Check whether --with-x or --without-x was given.
21498if test "${with_x+set}" = set; then
21499 withval="$with_x"
21500
21501fi;
21502# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21503if test "x$with_x" = xno; then
21504 # The user explicitly disabled X.
21505 have_x=disabled
21506else
21507 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21508 # Both variables are already set.
21509 have_x=yes
21510 else
21511 if test "${ac_cv_have_x+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21513else
21514 # One or both of the vars are not set, and there is no cached value.
21515ac_x_includes=no ac_x_libraries=no
21516rm -fr conftest.dir
21517if mkdir conftest.dir; then
21518 cd conftest.dir
21519 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21520 cat >Imakefile <<'_ACEOF'
21521acfindx:
21522 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21523_ACEOF
21524 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21526 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21527 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21528 for ac_extension in a so sl; do
21529 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21530 test -f $ac_im_libdir/libX11.$ac_extension; then
21531 ac_im_usrlibdir=$ac_im_libdir; break
21532 fi
21533 done
21534 # Screen out bogus values from the imake configuration. They are
21535 # bogus both because they are the default anyway, and because
21536 # using them would break gcc on systems where it needs fixed includes.
21537 case $ac_im_incroot in
21538 /usr/include) ;;
21539 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21540 esac
21541 case $ac_im_usrlibdir in
21542 /usr/lib | /lib) ;;
21543 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21544 esac
21545 fi
21546 cd ..
21547 rm -fr conftest.dir
21548fi
21549
21550# Standard set of common directories for X headers.
21551# Check X11 before X11Rn because it is often a symlink to the current release.
21552ac_x_header_dirs='
21553/usr/X11/include
21554/usr/X11R6/include
21555/usr/X11R5/include
21556/usr/X11R4/include
21557
21558/usr/include/X11
21559/usr/include/X11R6
21560/usr/include/X11R5
21561/usr/include/X11R4
21562
21563/usr/local/X11/include
21564/usr/local/X11R6/include
21565/usr/local/X11R5/include
21566/usr/local/X11R4/include
21567
21568/usr/local/include/X11
21569/usr/local/include/X11R6
21570/usr/local/include/X11R5
21571/usr/local/include/X11R4
21572
21573/usr/X386/include
21574/usr/x386/include
21575/usr/XFree86/include/X11
21576
21577/usr/include
21578/usr/local/include
21579/usr/unsupported/include
21580/usr/athena/include
21581/usr/local/x11r5/include
21582/usr/lpp/Xamples/include
21583
21584/usr/openwin/include
21585/usr/openwin/share/include'
21586
21587if test "$ac_x_includes" = no; then
21588 # Guess where to find include files, by looking for Intrinsic.h.
21589 # First, try using that file with no special directory specified.
21590 cat >conftest.$ac_ext <<_ACEOF
21591#line $LINENO "configure"
21592/* confdefs.h. */
21593_ACEOF
21594cat confdefs.h >>conftest.$ac_ext
21595cat >>conftest.$ac_ext <<_ACEOF
21596/* end confdefs.h. */
21597#include <X11/Intrinsic.h>
21598_ACEOF
21599if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } >/dev/null; then
21607 if test -s conftest.err; then
21608 ac_cpp_err=$ac_c_preproc_warn_flag
21609 else
21610 ac_cpp_err=
21611 fi
21612else
21613 ac_cpp_err=yes
21614fi
21615if test -z "$ac_cpp_err"; then
21616 # We can compile using X headers with no special include directory.
21617ac_x_includes=
21618else
21619 echo "$as_me: failed program was:" >&5
21620sed 's/^/| /' conftest.$ac_ext >&5
21621
21622 for ac_dir in $ac_x_header_dirs; do
21623 if test -r "$ac_dir/X11/Intrinsic.h"; then
21624 ac_x_includes=$ac_dir
21625 break
21626 fi
21627done
21628fi
21629rm -f conftest.err conftest.$ac_ext
21630fi # $ac_x_includes = no
21631
21632if test "$ac_x_libraries" = no; then
21633 # Check for the libraries.
21634 # See if we find them without any special options.
21635 # Don't add to $LIBS permanently.
21636 ac_save_LIBS=$LIBS
21637 LIBS="-lXt $LIBS"
21638 cat >conftest.$ac_ext <<_ACEOF
21639#line $LINENO "configure"
21640/* confdefs.h. */
21641_ACEOF
21642cat confdefs.h >>conftest.$ac_ext
21643cat >>conftest.$ac_ext <<_ACEOF
21644/* end confdefs.h. */
21645#include <X11/Intrinsic.h>
21646int
21647main ()
21648{
21649XtMalloc (0)
21650 ;
21651 return 0;
21652}
21653_ACEOF
21654rm -f conftest.$ac_objext conftest$ac_exeext
21655if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 LIBS=$ac_save_LIBS
21667# We can link X programs with no special library path.
21668ac_x_libraries=
21669else
21670 echo "$as_me: failed program was:" >&5
21671sed 's/^/| /' conftest.$ac_ext >&5
21672
21673LIBS=$ac_save_LIBS
21674for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21675do
21676 # Don't even attempt the hair of trying to link an X program!
21677 for ac_extension in a so sl; do
21678 if test -r $ac_dir/libXt.$ac_extension; then
21679 ac_x_libraries=$ac_dir
21680 break 2
21681 fi
21682 done
21683done
21684fi
21685rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21686fi # $ac_x_libraries = no
21687
21688if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21689 # Didn't find X anywhere. Cache the known absence of X.
21690 ac_cv_have_x="have_x=no"
21691else
21692 # Record where we found X for the cache.
21693 ac_cv_have_x="have_x=yes \
21694 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21695fi
21696fi
21697
21698 fi
21699 eval "$ac_cv_have_x"
21700fi # $with_x != no
21701
21702if test "$have_x" != yes; then
21703 echo "$as_me:$LINENO: result: $have_x" >&5
21704echo "${ECHO_T}$have_x" >&6
21705 no_x=yes
21706else
21707 # If each of the values was on the command line, it overrides each guess.
21708 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21709 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21710 # Update the cache value to reflect the command line values.
21711 ac_cv_have_x="have_x=yes \
21712 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21713 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21714echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21715fi
21716
21717if test "$no_x" = yes; then
21718 # Not all programs may use this symbol, but it does not hurt to define it.
21719
21720cat >>confdefs.h <<\_ACEOF
21721#define X_DISPLAY_MISSING 1
21722_ACEOF
21723
21724 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21725else
21726 if test -n "$x_includes"; then
21727 X_CFLAGS="$X_CFLAGS -I$x_includes"
21728 fi
21729
21730 # It would also be nice to do this for all -L options, not just this one.
21731 if test -n "$x_libraries"; then
21732 X_LIBS="$X_LIBS -L$x_libraries"
21733 # For Solaris; some versions of Sun CC require a space after -R and
21734 # others require no space. Words are not sufficient . . . .
21735 case `(uname -sr) 2>/dev/null` in
21736 "SunOS 5"*)
21737 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21738echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21739 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21740 cat >conftest.$ac_ext <<_ACEOF
21741#line $LINENO "configure"
21742/* confdefs.h. */
21743_ACEOF
21744cat confdefs.h >>conftest.$ac_ext
21745cat >>conftest.$ac_ext <<_ACEOF
21746/* end confdefs.h. */
21747
21748int
21749main ()
21750{
21751
21752 ;
21753 return 0;
21754}
21755_ACEOF
21756rm -f conftest.$ac_objext conftest$ac_exeext
21757if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758 (eval $ac_link) 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try='test -s conftest$ac_exeext'
21763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764 (eval $ac_try) 2>&5
21765 ac_status=$?
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; }; then
21768 ac_R_nospace=yes
21769else
21770 echo "$as_me: failed program was:" >&5
21771sed 's/^/| /' conftest.$ac_ext >&5
21772
21773ac_R_nospace=no
21774fi
21775rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21776 if test $ac_R_nospace = yes; then
21777 echo "$as_me:$LINENO: result: no" >&5
21778echo "${ECHO_T}no" >&6
21779 X_LIBS="$X_LIBS -R$x_libraries"
21780 else
21781 LIBS="$ac_xsave_LIBS -R $x_libraries"
21782 cat >conftest.$ac_ext <<_ACEOF
21783#line $LINENO "configure"
21784/* confdefs.h. */
21785_ACEOF
21786cat confdefs.h >>conftest.$ac_ext
21787cat >>conftest.$ac_ext <<_ACEOF
21788/* end confdefs.h. */
21789
21790int
21791main ()
21792{
21793
21794 ;
21795 return 0;
21796}
21797_ACEOF
21798rm -f conftest.$ac_objext conftest$ac_exeext
21799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21800 (eval $ac_link) 2>&5
21801 ac_status=$?
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } &&
21804 { ac_try='test -s conftest$ac_exeext'
21805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21806 (eval $ac_try) 2>&5
21807 ac_status=$?
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); }; }; then
21810 ac_R_space=yes
21811else
21812 echo "$as_me: failed program was:" >&5
21813sed 's/^/| /' conftest.$ac_ext >&5
21814
21815ac_R_space=no
21816fi
21817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21818 if test $ac_R_space = yes; then
21819 echo "$as_me:$LINENO: result: yes" >&5
21820echo "${ECHO_T}yes" >&6
21821 X_LIBS="$X_LIBS -R $x_libraries"
21822 else
21823 echo "$as_me:$LINENO: result: neither works" >&5
21824echo "${ECHO_T}neither works" >&6
21825 fi
21826 fi
21827 LIBS=$ac_xsave_LIBS
21828 esac
21829 fi
21830
21831 # Check for system-dependent libraries X programs must link with.
21832 # Do this before checking for the system-independent R6 libraries
21833 # (-lICE), since we may need -lsocket or whatever for X linking.
21834
21835 if test "$ISC" = yes; then
21836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21837 else
21838 # Martyn Johnson says this is needed for Ultrix, if the X
21839 # libraries were built with DECnet support. And Karl Berry says
21840 # the Alpha needs dnet_stub (dnet does not exist).
21841 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21842 cat >conftest.$ac_ext <<_ACEOF
21843#line $LINENO "configure"
21844/* confdefs.h. */
21845_ACEOF
21846cat confdefs.h >>conftest.$ac_ext
21847cat >>conftest.$ac_ext <<_ACEOF
21848/* end confdefs.h. */
21849
21850/* Override any gcc2 internal prototype to avoid an error. */
21851#ifdef __cplusplus
21852extern "C"
21853#endif
21854/* We use char because int might match the return type of a gcc2
21855 builtin and then its argument prototype would still apply. */
21856char XOpenDisplay ();
21857int
21858main ()
21859{
21860XOpenDisplay ();
21861 ;
21862 return 0;
21863}
21864_ACEOF
21865rm -f conftest.$ac_objext conftest$ac_exeext
21866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21867 (eval $ac_link) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } &&
21871 { ac_try='test -s conftest$ac_exeext'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; }; then
21877 :
21878else
21879 echo "$as_me: failed program was:" >&5
21880sed 's/^/| /' conftest.$ac_ext >&5
21881
21882echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21883echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21884if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21886else
21887 ac_check_lib_save_LIBS=$LIBS
21888LIBS="-ldnet $LIBS"
21889cat >conftest.$ac_ext <<_ACEOF
21890#line $LINENO "configure"
21891/* confdefs.h. */
21892_ACEOF
21893cat confdefs.h >>conftest.$ac_ext
21894cat >>conftest.$ac_ext <<_ACEOF
21895/* end confdefs.h. */
21896
21897/* Override any gcc2 internal prototype to avoid an error. */
21898#ifdef __cplusplus
21899extern "C"
21900#endif
21901/* We use char because int might match the return type of a gcc2
21902 builtin and then its argument prototype would still apply. */
21903char dnet_ntoa ();
21904int
21905main ()
21906{
21907dnet_ntoa ();
21908 ;
21909 return 0;
21910}
21911_ACEOF
21912rm -f conftest.$ac_objext conftest$ac_exeext
21913if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21914 (eval $ac_link) 2>&5
21915 ac_status=$?
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -s conftest$ac_exeext'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21921 ac_status=$?
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 ac_cv_lib_dnet_dnet_ntoa=yes
21925else
21926 echo "$as_me: failed program was:" >&5
21927sed 's/^/| /' conftest.$ac_ext >&5
21928
21929ac_cv_lib_dnet_dnet_ntoa=no
21930fi
21931rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21932LIBS=$ac_check_lib_save_LIBS
21933fi
21934echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21935echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21936if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21937 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21938fi
21939
21940 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21941 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21942echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21943if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21945else
21946 ac_check_lib_save_LIBS=$LIBS
21947LIBS="-ldnet_stub $LIBS"
21948cat >conftest.$ac_ext <<_ACEOF
21949#line $LINENO "configure"
21950/* confdefs.h. */
21951_ACEOF
21952cat confdefs.h >>conftest.$ac_ext
21953cat >>conftest.$ac_ext <<_ACEOF
21954/* end confdefs.h. */
21955
21956/* Override any gcc2 internal prototype to avoid an error. */
21957#ifdef __cplusplus
21958extern "C"
21959#endif
21960/* We use char because int might match the return type of a gcc2
21961 builtin and then its argument prototype would still apply. */
21962char dnet_ntoa ();
21963int
21964main ()
21965{
21966dnet_ntoa ();
21967 ;
21968 return 0;
21969}
21970_ACEOF
21971rm -f conftest.$ac_objext conftest$ac_exeext
21972if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21973 (eval $ac_link) 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } &&
21977 { ac_try='test -s conftest$ac_exeext'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21980 ac_status=$?
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21984else
21985 echo "$as_me: failed program was:" >&5
21986sed 's/^/| /' conftest.$ac_ext >&5
21987
21988ac_cv_lib_dnet_stub_dnet_ntoa=no
21989fi
21990rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21991LIBS=$ac_check_lib_save_LIBS
21992fi
21993echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21994echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21995if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21996 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21997fi
21998
21999 fi
22000fi
22001rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22002 LIBS="$ac_xsave_LIBS"
22003
22004 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22005 # to get the SysV transport functions.
22006 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22007 # needs -lnsl.
22008 # The nsl library prevents programs from opening the X display
22009 # on Irix 5.2, according to T.E. Dickey.
22010 # The functions gethostbyname, getservbyname, and inet_addr are
22011 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22012 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22013echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22014if test "${ac_cv_func_gethostbyname+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22016else
22017 cat >conftest.$ac_ext <<_ACEOF
22018#line $LINENO "configure"
22019/* confdefs.h. */
22020_ACEOF
22021cat confdefs.h >>conftest.$ac_ext
22022cat >>conftest.$ac_ext <<_ACEOF
22023/* end confdefs.h. */
22024/* System header to define __stub macros and hopefully few prototypes,
22025 which can conflict with char gethostbyname (); below.
22026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22027 <limits.h> exists even on freestanding compilers. */
22028#ifdef __STDC__
22029# include <limits.h>
22030#else
22031# include <assert.h>
22032#endif
22033/* Override any gcc2 internal prototype to avoid an error. */
22034#ifdef __cplusplus
22035extern "C"
22036{
22037#endif
22038/* We use char because int might match the return type of a gcc2
22039 builtin and then its argument prototype would still apply. */
22040char gethostbyname ();
22041/* The GNU C library defines this for functions which it implements
22042 to always fail with ENOSYS. Some functions are actually named
22043 something starting with __ and the normal name is an alias. */
22044#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22045choke me
22046#else
22047char (*f) () = gethostbyname;
22048#endif
22049#ifdef __cplusplus
22050}
22051#endif
22052
22053int
22054main ()
22055{
22056return f != gethostbyname;
22057 ;
22058 return 0;
22059}
22060_ACEOF
22061rm -f conftest.$ac_objext conftest$ac_exeext
22062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22063 (eval $ac_link) 2>&5
22064 ac_status=$?
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -s conftest$ac_exeext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_cv_func_gethostbyname=yes
22074else
22075 echo "$as_me: failed program was:" >&5
22076sed 's/^/| /' conftest.$ac_ext >&5
22077
22078ac_cv_func_gethostbyname=no
22079fi
22080rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22081fi
22082echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22083echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22084
22085 if test $ac_cv_func_gethostbyname = no; then
22086 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22087echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22088if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22090else
22091 ac_check_lib_save_LIBS=$LIBS
22092LIBS="-lnsl $LIBS"
22093cat >conftest.$ac_ext <<_ACEOF
22094#line $LINENO "configure"
22095/* confdefs.h. */
22096_ACEOF
22097cat confdefs.h >>conftest.$ac_ext
22098cat >>conftest.$ac_ext <<_ACEOF
22099/* end confdefs.h. */
22100
22101/* Override any gcc2 internal prototype to avoid an error. */
22102#ifdef __cplusplus
22103extern "C"
22104#endif
22105/* We use char because int might match the return type of a gcc2
22106 builtin and then its argument prototype would still apply. */
22107char gethostbyname ();
22108int
22109main ()
22110{
22111gethostbyname ();
22112 ;
22113 return 0;
22114}
22115_ACEOF
22116rm -f conftest.$ac_objext conftest$ac_exeext
22117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118 (eval $ac_link) 2>&5
22119 ac_status=$?
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try='test -s conftest$ac_exeext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_lib_nsl_gethostbyname=yes
22129else
22130 echo "$as_me: failed program was:" >&5
22131sed 's/^/| /' conftest.$ac_ext >&5
22132
22133ac_cv_lib_nsl_gethostbyname=no
22134fi
22135rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22136LIBS=$ac_check_lib_save_LIBS
22137fi
22138echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22139echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22140if test $ac_cv_lib_nsl_gethostbyname = yes; then
22141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22142fi
22143
22144 if test $ac_cv_lib_nsl_gethostbyname = no; then
22145 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22146echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22147if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22149else
22150 ac_check_lib_save_LIBS=$LIBS
22151LIBS="-lbsd $LIBS"
22152cat >conftest.$ac_ext <<_ACEOF
22153#line $LINENO "configure"
22154/* confdefs.h. */
22155_ACEOF
22156cat confdefs.h >>conftest.$ac_ext
22157cat >>conftest.$ac_ext <<_ACEOF
22158/* end confdefs.h. */
22159
22160/* Override any gcc2 internal prototype to avoid an error. */
22161#ifdef __cplusplus
22162extern "C"
22163#endif
22164/* We use char because int might match the return type of a gcc2
22165 builtin and then its argument prototype would still apply. */
22166char gethostbyname ();
22167int
22168main ()
22169{
22170gethostbyname ();
22171 ;
22172 return 0;
22173}
22174_ACEOF
22175rm -f conftest.$ac_objext conftest$ac_exeext
22176if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try='test -s conftest$ac_exeext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_cv_lib_bsd_gethostbyname=yes
22188else
22189 echo "$as_me: failed program was:" >&5
22190sed 's/^/| /' conftest.$ac_ext >&5
22191
22192ac_cv_lib_bsd_gethostbyname=no
22193fi
22194rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22195LIBS=$ac_check_lib_save_LIBS
22196fi
22197echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22198echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22199if test $ac_cv_lib_bsd_gethostbyname = yes; then
22200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22201fi
22202
22203 fi
22204 fi
22205
22206 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22207 # socket/setsockopt and other routines are undefined under SCO ODT
22208 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22209 # on later versions), says Simon Leinen: it contains gethostby*
22210 # variants that don't use the name server (or something). -lsocket
22211 # must be given before -lnsl if both are needed. We assume that
22212 # if connect needs -lnsl, so does gethostbyname.
22213 echo "$as_me:$LINENO: checking for connect" >&5
22214echo $ECHO_N "checking for connect... $ECHO_C" >&6
22215if test "${ac_cv_func_connect+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22217else
22218 cat >conftest.$ac_ext <<_ACEOF
22219#line $LINENO "configure"
22220/* confdefs.h. */
22221_ACEOF
22222cat confdefs.h >>conftest.$ac_ext
22223cat >>conftest.$ac_ext <<_ACEOF
22224/* end confdefs.h. */
22225/* System header to define __stub macros and hopefully few prototypes,
22226 which can conflict with char connect (); below.
22227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22228 <limits.h> exists even on freestanding compilers. */
22229#ifdef __STDC__
22230# include <limits.h>
22231#else
22232# include <assert.h>
22233#endif
22234/* Override any gcc2 internal prototype to avoid an error. */
22235#ifdef __cplusplus
22236extern "C"
22237{
22238#endif
22239/* We use char because int might match the return type of a gcc2
22240 builtin and then its argument prototype would still apply. */
22241char connect ();
22242/* The GNU C library defines this for functions which it implements
22243 to always fail with ENOSYS. Some functions are actually named
22244 something starting with __ and the normal name is an alias. */
22245#if defined (__stub_connect) || defined (__stub___connect)
22246choke me
22247#else
22248char (*f) () = connect;
22249#endif
22250#ifdef __cplusplus
22251}
22252#endif
22253
22254int
22255main ()
22256{
22257return f != connect;
22258 ;
22259 return 0;
22260}
22261_ACEOF
22262rm -f conftest.$ac_objext conftest$ac_exeext
22263if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22264 (eval $ac_link) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -s conftest$ac_exeext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 ac_cv_func_connect=yes
22275else
22276 echo "$as_me: failed program was:" >&5
22277sed 's/^/| /' conftest.$ac_ext >&5
22278
22279ac_cv_func_connect=no
22280fi
22281rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22282fi
22283echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22284echo "${ECHO_T}$ac_cv_func_connect" >&6
22285
22286 if test $ac_cv_func_connect = no; then
22287 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22288echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22289if test "${ac_cv_lib_socket_connect+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22291else
22292 ac_check_lib_save_LIBS=$LIBS
22293LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22294cat >conftest.$ac_ext <<_ACEOF
22295#line $LINENO "configure"
22296/* confdefs.h. */
22297_ACEOF
22298cat confdefs.h >>conftest.$ac_ext
22299cat >>conftest.$ac_ext <<_ACEOF
22300/* end confdefs.h. */
22301
22302/* Override any gcc2 internal prototype to avoid an error. */
22303#ifdef __cplusplus
22304extern "C"
22305#endif
22306/* We use char because int might match the return type of a gcc2
22307 builtin and then its argument prototype would still apply. */
22308char connect ();
22309int
22310main ()
22311{
22312connect ();
22313 ;
22314 return 0;
22315}
22316_ACEOF
22317rm -f conftest.$ac_objext conftest$ac_exeext
22318if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22319 (eval $ac_link) 2>&5
22320 ac_status=$?
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -s conftest$ac_exeext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_cv_lib_socket_connect=yes
22330else
22331 echo "$as_me: failed program was:" >&5
22332sed 's/^/| /' conftest.$ac_ext >&5
22333
22334ac_cv_lib_socket_connect=no
22335fi
22336rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22337LIBS=$ac_check_lib_save_LIBS
22338fi
22339echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22340echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22341if test $ac_cv_lib_socket_connect = yes; then
22342 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22343fi
22344
22345 fi
22346
22347 # Guillermo Gomez says -lposix is necessary on A/UX.
22348 echo "$as_me:$LINENO: checking for remove" >&5
22349echo $ECHO_N "checking for remove... $ECHO_C" >&6
22350if test "${ac_cv_func_remove+set}" = set; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
22352else
22353 cat >conftest.$ac_ext <<_ACEOF
22354#line $LINENO "configure"
22355/* confdefs.h. */
22356_ACEOF
22357cat confdefs.h >>conftest.$ac_ext
22358cat >>conftest.$ac_ext <<_ACEOF
22359/* end confdefs.h. */
22360/* System header to define __stub macros and hopefully few prototypes,
22361 which can conflict with char remove (); below.
22362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22363 <limits.h> exists even on freestanding compilers. */
22364#ifdef __STDC__
22365# include <limits.h>
22366#else
22367# include <assert.h>
22368#endif
22369/* Override any gcc2 internal prototype to avoid an error. */
22370#ifdef __cplusplus
22371extern "C"
22372{
22373#endif
22374/* We use char because int might match the return type of a gcc2
22375 builtin and then its argument prototype would still apply. */
22376char remove ();
22377/* The GNU C library defines this for functions which it implements
22378 to always fail with ENOSYS. Some functions are actually named
22379 something starting with __ and the normal name is an alias. */
22380#if defined (__stub_remove) || defined (__stub___remove)
22381choke me
22382#else
22383char (*f) () = remove;
22384#endif
22385#ifdef __cplusplus
22386}
22387#endif
22388
22389int
22390main ()
22391{
22392return f != remove;
22393 ;
22394 return 0;
22395}
22396_ACEOF
22397rm -f conftest.$ac_objext conftest$ac_exeext
22398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22399 (eval $ac_link) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); } &&
22403 { ac_try='test -s conftest$ac_exeext'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22406 ac_status=$?
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; }; then
22409 ac_cv_func_remove=yes
22410else
22411 echo "$as_me: failed program was:" >&5
22412sed 's/^/| /' conftest.$ac_ext >&5
22413
22414ac_cv_func_remove=no
22415fi
22416rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22417fi
22418echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22419echo "${ECHO_T}$ac_cv_func_remove" >&6
22420
22421 if test $ac_cv_func_remove = no; then
22422 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22423echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22424if test "${ac_cv_lib_posix_remove+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426else
22427 ac_check_lib_save_LIBS=$LIBS
22428LIBS="-lposix $LIBS"
22429cat >conftest.$ac_ext <<_ACEOF
22430#line $LINENO "configure"
22431/* confdefs.h. */
22432_ACEOF
22433cat confdefs.h >>conftest.$ac_ext
22434cat >>conftest.$ac_ext <<_ACEOF
22435/* end confdefs.h. */
22436
22437/* Override any gcc2 internal prototype to avoid an error. */
22438#ifdef __cplusplus
22439extern "C"
22440#endif
22441/* We use char because int might match the return type of a gcc2
22442 builtin and then its argument prototype would still apply. */
22443char remove ();
22444int
22445main ()
22446{
22447remove ();
22448 ;
22449 return 0;
22450}
22451_ACEOF
22452rm -f conftest.$ac_objext conftest$ac_exeext
22453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22454 (eval $ac_link) 2>&5
22455 ac_status=$?
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try='test -s conftest$ac_exeext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22461 ac_status=$?
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_lib_posix_remove=yes
22465else
22466 echo "$as_me: failed program was:" >&5
22467sed 's/^/| /' conftest.$ac_ext >&5
22468
22469ac_cv_lib_posix_remove=no
22470fi
22471rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22472LIBS=$ac_check_lib_save_LIBS
22473fi
22474echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22475echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22476if test $ac_cv_lib_posix_remove = yes; then
22477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22478fi
22479
22480 fi
22481
22482 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22483 echo "$as_me:$LINENO: checking for shmat" >&5
22484echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22485if test "${ac_cv_func_shmat+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22487else
22488 cat >conftest.$ac_ext <<_ACEOF
22489#line $LINENO "configure"
22490/* confdefs.h. */
22491_ACEOF
22492cat confdefs.h >>conftest.$ac_ext
22493cat >>conftest.$ac_ext <<_ACEOF
22494/* end confdefs.h. */
22495/* System header to define __stub macros and hopefully few prototypes,
22496 which can conflict with char shmat (); below.
22497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22498 <limits.h> exists even on freestanding compilers. */
22499#ifdef __STDC__
22500# include <limits.h>
22501#else
22502# include <assert.h>
22503#endif
22504/* Override any gcc2 internal prototype to avoid an error. */
22505#ifdef __cplusplus
22506extern "C"
22507{
22508#endif
22509/* We use char because int might match the return type of a gcc2
22510 builtin and then its argument prototype would still apply. */
22511char shmat ();
22512/* The GNU C library defines this for functions which it implements
22513 to always fail with ENOSYS. Some functions are actually named
22514 something starting with __ and the normal name is an alias. */
22515#if defined (__stub_shmat) || defined (__stub___shmat)
22516choke me
22517#else
22518char (*f) () = shmat;
22519#endif
22520#ifdef __cplusplus
22521}
22522#endif
22523
22524int
22525main ()
22526{
22527return f != shmat;
22528 ;
22529 return 0;
22530}
22531_ACEOF
22532rm -f conftest.$ac_objext conftest$ac_exeext
22533if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22534 (eval $ac_link) 2>&5
22535 ac_status=$?
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } &&
22538 { ac_try='test -s conftest$ac_exeext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22541 ac_status=$?
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22544 ac_cv_func_shmat=yes
22545else
22546 echo "$as_me: failed program was:" >&5
22547sed 's/^/| /' conftest.$ac_ext >&5
22548
22549ac_cv_func_shmat=no
22550fi
22551rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22552fi
22553echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22554echo "${ECHO_T}$ac_cv_func_shmat" >&6
22555
22556 if test $ac_cv_func_shmat = no; then
22557 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22558echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22559if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22561else
22562 ac_check_lib_save_LIBS=$LIBS
22563LIBS="-lipc $LIBS"
22564cat >conftest.$ac_ext <<_ACEOF
22565#line $LINENO "configure"
22566/* confdefs.h. */
22567_ACEOF
22568cat confdefs.h >>conftest.$ac_ext
22569cat >>conftest.$ac_ext <<_ACEOF
22570/* end confdefs.h. */
22571
22572/* Override any gcc2 internal prototype to avoid an error. */
22573#ifdef __cplusplus
22574extern "C"
22575#endif
22576/* We use char because int might match the return type of a gcc2
22577 builtin and then its argument prototype would still apply. */
22578char shmat ();
22579int
22580main ()
22581{
22582shmat ();
22583 ;
22584 return 0;
22585}
22586_ACEOF
22587rm -f conftest.$ac_objext conftest$ac_exeext
22588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22589 (eval $ac_link) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try='test -s conftest$ac_exeext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_lib_ipc_shmat=yes
22600else
22601 echo "$as_me: failed program was:" >&5
22602sed 's/^/| /' conftest.$ac_ext >&5
22603
22604ac_cv_lib_ipc_shmat=no
22605fi
22606rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22607LIBS=$ac_check_lib_save_LIBS
22608fi
22609echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22610echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22611if test $ac_cv_lib_ipc_shmat = yes; then
22612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22613fi
22614
22615 fi
22616 fi
22617
22618 # Check for libraries that X11R6 Xt/Xaw programs need.
22619 ac_save_LDFLAGS=$LDFLAGS
22620 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22621 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22622 # check for ICE first), but we must link in the order -lSM -lICE or
22623 # we get undefined symbols. So assume we have SM if we have ICE.
22624 # These have to be linked with before -lX11, unlike the other
22625 # libraries we check for below, so use a different variable.
22626 # John Interrante, Karl Berry
22627 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22628echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22629if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22630 echo $ECHO_N "(cached) $ECHO_C" >&6
22631else
22632 ac_check_lib_save_LIBS=$LIBS
22633LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22634cat >conftest.$ac_ext <<_ACEOF
22635#line $LINENO "configure"
22636/* confdefs.h. */
22637_ACEOF
22638cat confdefs.h >>conftest.$ac_ext
22639cat >>conftest.$ac_ext <<_ACEOF
22640/* end confdefs.h. */
22641
22642/* Override any gcc2 internal prototype to avoid an error. */
22643#ifdef __cplusplus
22644extern "C"
22645#endif
22646/* We use char because int might match the return type of a gcc2
22647 builtin and then its argument prototype would still apply. */
22648char IceConnectionNumber ();
22649int
22650main ()
22651{
22652IceConnectionNumber ();
22653 ;
22654 return 0;
22655}
22656_ACEOF
22657rm -f conftest.$ac_objext conftest$ac_exeext
22658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22659 (eval $ac_link) 2>&5
22660 ac_status=$?
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -s conftest$ac_exeext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_lib_ICE_IceConnectionNumber=yes
22670else
22671 echo "$as_me: failed program was:" >&5
22672sed 's/^/| /' conftest.$ac_ext >&5
22673
22674ac_cv_lib_ICE_IceConnectionNumber=no
22675fi
22676rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22677LIBS=$ac_check_lib_save_LIBS
22678fi
22679echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22680echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22681if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22682 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22683fi
22684
22685 LDFLAGS=$ac_save_LDFLAGS
22686
22687fi
22688
22689
22690 if test "$no_x" = "yes"; then
22691 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22692echo "$as_me: error: X11 not found" >&2;}
22693 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22694 fi
22695
22696 GUI_TK_LIBRARY="$X_LIBS"
22697 TOOLKIT_INCLUDE="$X_CFLAGS"
22698 AFMINSTALL=afminstall
22699 COMPILED_X_PROGRAM=0
22700
22701 if test "$wxUSE_NANOX" = "yes"; then
22702 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22703echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22704 if test "x$MICROWIN" = x ; then
22705 echo "$as_me:$LINENO: result: not found" >&5
22706echo "${ECHO_T}not found" >&6
22707 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22708echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22709 { (exit 1); exit 1; }; }
22710 else
22711 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22712echo "${ECHO_T}$MICROWIN" >&6
22713 cat >>confdefs.h <<\_ACEOF
22714#define wxUSE_NANOX 1
22715_ACEOF
22716
22717 fi
22718 fi
22719
22720 if test "$wxUSE_UNICODE" = "yes"; then
22721
22722 succeeded=no
22723
22724 if test -z "$PKG_CONFIG"; then
22725 # Extract the first word of "pkg-config", so it can be a program name with args.
22726set dummy pkg-config; ac_word=$2
22727echo "$as_me:$LINENO: checking for $ac_word" >&5
22728echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22729if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731else
22732 case $PKG_CONFIG in
22733 [\\/]* | ?:[\\/]*)
22734 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22735 ;;
22736 *)
22737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22738for as_dir in $PATH
22739do
22740 IFS=$as_save_IFS
22741 test -z "$as_dir" && as_dir=.
22742 for ac_exec_ext in '' $ac_executable_extensions; do
22743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22744 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22746 break 2
22747 fi
22748done
22749done
22750
22751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22752 ;;
22753esac
22754fi
22755PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22756
22757if test -n "$PKG_CONFIG"; then
22758 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22759echo "${ECHO_T}$PKG_CONFIG" >&6
22760else
22761 echo "$as_me:$LINENO: result: no" >&5
22762echo "${ECHO_T}no" >&6
22763fi
22764
22765 fi
22766
22767 if test "$PKG_CONFIG" = "no" ; then
22768 echo "*** The pkg-config script could not be found. Make sure it is"
22769 echo "*** in your path, or set the PKG_CONFIG environment variable"
22770 echo "*** to the full path to pkg-config."
22771 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22772 else
22773 PKG_CONFIG_MIN_VERSION=0.9.0
22774 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22775 echo "$as_me:$LINENO: checking for pangox" >&5
22776echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22777
22778 if $PKG_CONFIG --exists "pangox" ; then
22779 echo "$as_me:$LINENO: result: yes" >&5
22780echo "${ECHO_T}yes" >&6
22781 succeeded=yes
22782
22783 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22784echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22785 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22786 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22787echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22788
22789 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22790echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22791 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22792 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22793echo "${ECHO_T}$PANGOX_LIBS" >&6
22794 else
22795 PANGOX_CFLAGS=""
22796 PANGOX_LIBS=""
22797 ## If we have a custom action on failure, don't print errors, but
22798 ## do set a variable so people can do so.
22799 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22800
22801 fi
22802
22803
22804
22805 else
22806 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22807 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22808 fi
22809 fi
22810
22811 if test $succeeded = yes; then
22812
22813 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22815
22816 else
22817
22818 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22819echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22820 { (exit 1); exit 1; }; }
22821
22822
22823 fi
22824
22825
22826 succeeded=no
22827
22828 if test -z "$PKG_CONFIG"; then
22829 # Extract the first word of "pkg-config", so it can be a program name with args.
22830set dummy pkg-config; ac_word=$2
22831echo "$as_me:$LINENO: checking for $ac_word" >&5
22832echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22833if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835else
22836 case $PKG_CONFIG in
22837 [\\/]* | ?:[\\/]*)
22838 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22839 ;;
22840 *)
22841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22842for as_dir in $PATH
22843do
22844 IFS=$as_save_IFS
22845 test -z "$as_dir" && as_dir=.
22846 for ac_exec_ext in '' $ac_executable_extensions; do
22847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22848 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22850 break 2
22851 fi
22852done
22853done
22854
22855 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22856 ;;
22857esac
22858fi
22859PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22860
22861if test -n "$PKG_CONFIG"; then
22862 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22863echo "${ECHO_T}$PKG_CONFIG" >&6
22864else
22865 echo "$as_me:$LINENO: result: no" >&5
22866echo "${ECHO_T}no" >&6
22867fi
22868
22869 fi
22870
22871 if test "$PKG_CONFIG" = "no" ; then
22872 echo "*** The pkg-config script could not be found. Make sure it is"
22873 echo "*** in your path, or set the PKG_CONFIG environment variable"
22874 echo "*** to the full path to pkg-config."
22875 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22876 else
22877 PKG_CONFIG_MIN_VERSION=0.9.0
22878 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22879 echo "$as_me:$LINENO: checking for pangoft2" >&5
22880echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22881
22882 if $PKG_CONFIG --exists "pangoft2" ; then
22883 echo "$as_me:$LINENO: result: yes" >&5
22884echo "${ECHO_T}yes" >&6
22885 succeeded=yes
22886
22887 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22888echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22889 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22890 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22891echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22892
22893 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22894echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22895 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22896 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22897echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22898 else
22899 PANGOFT2_CFLAGS=""
22900 PANGOFT2_LIBS=""
22901 ## If we have a custom action on failure, don't print errors, but
22902 ## do set a variable so people can do so.
22903 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22904
22905 fi
22906
22907
22908
22909 else
22910 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22911 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22912 fi
22913 fi
22914
22915 if test $succeeded = yes; then
22916
22917 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22919
22920 else
22921
22922 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22923echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22924 wxUSE_PRINTING_ARCHITECTURE="no"
22925
22926
22927 fi
22928
22929
22930 succeeded=no
22931
22932 if test -z "$PKG_CONFIG"; then
22933 # Extract the first word of "pkg-config", so it can be a program name with args.
22934set dummy pkg-config; ac_word=$2
22935echo "$as_me:$LINENO: checking for $ac_word" >&5
22936echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22937if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22939else
22940 case $PKG_CONFIG in
22941 [\\/]* | ?:[\\/]*)
22942 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22943 ;;
22944 *)
22945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22946for as_dir in $PATH
22947do
22948 IFS=$as_save_IFS
22949 test -z "$as_dir" && as_dir=.
22950 for ac_exec_ext in '' $ac_executable_extensions; do
22951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22952 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22954 break 2
22955 fi
22956done
22957done
22958
22959 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22960 ;;
22961esac
22962fi
22963PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22964
22965if test -n "$PKG_CONFIG"; then
22966 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22967echo "${ECHO_T}$PKG_CONFIG" >&6
22968else
22969 echo "$as_me:$LINENO: result: no" >&5
22970echo "${ECHO_T}no" >&6
22971fi
22972
22973 fi
22974
22975 if test "$PKG_CONFIG" = "no" ; then
22976 echo "*** The pkg-config script could not be found. Make sure it is"
22977 echo "*** in your path, or set the PKG_CONFIG environment variable"
22978 echo "*** to the full path to pkg-config."
22979 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22980 else
22981 PKG_CONFIG_MIN_VERSION=0.9.0
22982 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22983 echo "$as_me:$LINENO: checking for pangoxft" >&5
22984echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22985
22986 if $PKG_CONFIG --exists "pangoxft" ; then
22987 echo "$as_me:$LINENO: result: yes" >&5
22988echo "${ECHO_T}yes" >&6
22989 succeeded=yes
22990
22991 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22992echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22993 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22994 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22995echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22996
22997 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22998echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22999 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23000 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23001echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23002 else
23003 PANGOXFT_CFLAGS=""
23004 PANGOXFT_LIBS=""
23005 ## If we have a custom action on failure, don't print errors, but
23006 ## do set a variable so people can do so.
23007 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23008
23009 fi
23010
23011
23012
23013 else
23014 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23015 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23016 fi
23017 fi
23018
23019 if test $succeeded = yes; then
23020
23021 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23022 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23023
23024 else
23025
23026 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23027echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23028
23029
23030 fi
23031
23032 fi
23033
23034 wxUSE_UNIVERSAL="yes"
23035
23036 if test "$wxUSE_NANOX" = "yes"; then
23037 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23038 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"
23039 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23040 else
23041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23042 fi
23043
23044 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23045 TOOLKIT=X11
23046 GUIDIST=X11_DIST
23047 fi
23048
23049 if test "$wxUSE_MOTIF" = 1; then
23050 if test "$no_x" = yes; then
23051 # Not all programs may use this symbol, but it does not hurt to define it.
23052
23053cat >>confdefs.h <<\_ACEOF
23054#define X_DISPLAY_MISSING 1
23055_ACEOF
23056
23057 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23058else
23059 if test -n "$x_includes"; then
23060 X_CFLAGS="$X_CFLAGS -I$x_includes"
23061 fi
23062
23063 # It would also be nice to do this for all -L options, not just this one.
23064 if test -n "$x_libraries"; then
23065 X_LIBS="$X_LIBS -L$x_libraries"
23066 # For Solaris; some versions of Sun CC require a space after -R and
23067 # others require no space. Words are not sufficient . . . .
23068 case `(uname -sr) 2>/dev/null` in
23069 "SunOS 5"*)
23070 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23071echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23072 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23073 cat >conftest.$ac_ext <<_ACEOF
23074#line $LINENO "configure"
23075/* confdefs.h. */
23076_ACEOF
23077cat confdefs.h >>conftest.$ac_ext
23078cat >>conftest.$ac_ext <<_ACEOF
23079/* end confdefs.h. */
23080
23081int
23082main ()
23083{
23084
23085 ;
23086 return 0;
23087}
23088_ACEOF
23089rm -f conftest.$ac_objext conftest$ac_exeext
23090if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 (eval $ac_link) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try='test -s conftest$ac_exeext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23098 ac_status=$?
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 ac_R_nospace=yes
23102else
23103 echo "$as_me: failed program was:" >&5
23104sed 's/^/| /' conftest.$ac_ext >&5
23105
23106ac_R_nospace=no
23107fi
23108rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23109 if test $ac_R_nospace = yes; then
23110 echo "$as_me:$LINENO: result: no" >&5
23111echo "${ECHO_T}no" >&6
23112 X_LIBS="$X_LIBS -R$x_libraries"
23113 else
23114 LIBS="$ac_xsave_LIBS -R $x_libraries"
23115 cat >conftest.$ac_ext <<_ACEOF
23116#line $LINENO "configure"
23117/* confdefs.h. */
23118_ACEOF
23119cat confdefs.h >>conftest.$ac_ext
23120cat >>conftest.$ac_ext <<_ACEOF
23121/* end confdefs.h. */
23122
23123int
23124main ()
23125{
23126
23127 ;
23128 return 0;
23129}
23130_ACEOF
23131rm -f conftest.$ac_objext conftest$ac_exeext
23132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } &&
23137 { ac_try='test -s conftest$ac_exeext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23143 ac_R_space=yes
23144else
23145 echo "$as_me: failed program was:" >&5
23146sed 's/^/| /' conftest.$ac_ext >&5
23147
23148ac_R_space=no
23149fi
23150rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23151 if test $ac_R_space = yes; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153echo "${ECHO_T}yes" >&6
23154 X_LIBS="$X_LIBS -R $x_libraries"
23155 else
23156 echo "$as_me:$LINENO: result: neither works" >&5
23157echo "${ECHO_T}neither works" >&6
23158 fi
23159 fi
23160 LIBS=$ac_xsave_LIBS
23161 esac
23162 fi
23163
23164 # Check for system-dependent libraries X programs must link with.
23165 # Do this before checking for the system-independent R6 libraries
23166 # (-lICE), since we may need -lsocket or whatever for X linking.
23167
23168 if test "$ISC" = yes; then
23169 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23170 else
23171 # Martyn Johnson says this is needed for Ultrix, if the X
23172 # libraries were built with DECnet support. And Karl Berry says
23173 # the Alpha needs dnet_stub (dnet does not exist).
23174 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23175 cat >conftest.$ac_ext <<_ACEOF
23176#line $LINENO "configure"
23177/* confdefs.h. */
23178_ACEOF
23179cat confdefs.h >>conftest.$ac_ext
23180cat >>conftest.$ac_ext <<_ACEOF
23181/* end confdefs.h. */
23182
23183/* Override any gcc2 internal prototype to avoid an error. */
23184#ifdef __cplusplus
23185extern "C"
23186#endif
23187/* We use char because int might match the return type of a gcc2
23188 builtin and then its argument prototype would still apply. */
23189char XOpenDisplay ();
23190int
23191main ()
23192{
23193XOpenDisplay ();
23194 ;
23195 return 0;
23196}
23197_ACEOF
23198rm -f conftest.$ac_objext conftest$ac_exeext
23199if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>&5
23201 ac_status=$?
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 :
23211else
23212 echo "$as_me: failed program was:" >&5
23213sed 's/^/| /' conftest.$ac_ext >&5
23214
23215echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23216echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23217if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23218 echo $ECHO_N "(cached) $ECHO_C" >&6
23219else
23220 ac_check_lib_save_LIBS=$LIBS
23221LIBS="-ldnet $LIBS"
23222cat >conftest.$ac_ext <<_ACEOF
23223#line $LINENO "configure"
23224/* confdefs.h. */
23225_ACEOF
23226cat confdefs.h >>conftest.$ac_ext
23227cat >>conftest.$ac_ext <<_ACEOF
23228/* end confdefs.h. */
23229
23230/* Override any gcc2 internal prototype to avoid an error. */
23231#ifdef __cplusplus
23232extern "C"
23233#endif
23234/* We use char because int might match the return type of a gcc2
23235 builtin and then its argument prototype would still apply. */
23236char dnet_ntoa ();
23237int
23238main ()
23239{
23240dnet_ntoa ();
23241 ;
23242 return 0;
23243}
23244_ACEOF
23245rm -f conftest.$ac_objext conftest$ac_exeext
23246if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247 (eval $ac_link) 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } &&
23251 { ac_try='test -s conftest$ac_exeext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23254 ac_status=$?
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 ac_cv_lib_dnet_dnet_ntoa=yes
23258else
23259 echo "$as_me: failed program was:" >&5
23260sed 's/^/| /' conftest.$ac_ext >&5
23261
23262ac_cv_lib_dnet_dnet_ntoa=no
23263fi
23264rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23265LIBS=$ac_check_lib_save_LIBS
23266fi
23267echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23268echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23269if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23270 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23271fi
23272
23273 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23274 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23275echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23276if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23278else
23279 ac_check_lib_save_LIBS=$LIBS
23280LIBS="-ldnet_stub $LIBS"
23281cat >conftest.$ac_ext <<_ACEOF
23282#line $LINENO "configure"
23283/* confdefs.h. */
23284_ACEOF
23285cat confdefs.h >>conftest.$ac_ext
23286cat >>conftest.$ac_ext <<_ACEOF
23287/* end confdefs.h. */
23288
23289/* Override any gcc2 internal prototype to avoid an error. */
23290#ifdef __cplusplus
23291extern "C"
23292#endif
23293/* We use char because int might match the return type of a gcc2
23294 builtin and then its argument prototype would still apply. */
23295char dnet_ntoa ();
23296int
23297main ()
23298{
23299dnet_ntoa ();
23300 ;
23301 return 0;
23302}
23303_ACEOF
23304rm -f conftest.$ac_objext conftest$ac_exeext
23305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23306 (eval $ac_link) 2>&5
23307 ac_status=$?
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } &&
23310 { ac_try='test -s conftest$ac_exeext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23317else
23318 echo "$as_me: failed program was:" >&5
23319sed 's/^/| /' conftest.$ac_ext >&5
23320
23321ac_cv_lib_dnet_stub_dnet_ntoa=no
23322fi
23323rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23324LIBS=$ac_check_lib_save_LIBS
23325fi
23326echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23327echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23328if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23329 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23330fi
23331
23332 fi
23333fi
23334rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23335 LIBS="$ac_xsave_LIBS"
23336
23337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23338 # to get the SysV transport functions.
23339 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23340 # needs -lnsl.
23341 # The nsl library prevents programs from opening the X display
23342 # on Irix 5.2, according to T.E. Dickey.
23343 # The functions gethostbyname, getservbyname, and inet_addr are
23344 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23345 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23346echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23347if test "${ac_cv_func_gethostbyname+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23349else
23350 cat >conftest.$ac_ext <<_ACEOF
23351#line $LINENO "configure"
23352/* confdefs.h. */
23353_ACEOF
23354cat confdefs.h >>conftest.$ac_ext
23355cat >>conftest.$ac_ext <<_ACEOF
23356/* end confdefs.h. */
23357/* System header to define __stub macros and hopefully few prototypes,
23358 which can conflict with char gethostbyname (); below.
23359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23360 <limits.h> exists even on freestanding compilers. */
23361#ifdef __STDC__
23362# include <limits.h>
23363#else
23364# include <assert.h>
23365#endif
23366/* Override any gcc2 internal prototype to avoid an error. */
23367#ifdef __cplusplus
23368extern "C"
23369{
23370#endif
23371/* We use char because int might match the return type of a gcc2
23372 builtin and then its argument prototype would still apply. */
23373char gethostbyname ();
23374/* The GNU C library defines this for functions which it implements
23375 to always fail with ENOSYS. Some functions are actually named
23376 something starting with __ and the normal name is an alias. */
23377#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23378choke me
23379#else
23380char (*f) () = gethostbyname;
23381#endif
23382#ifdef __cplusplus
23383}
23384#endif
23385
23386int
23387main ()
23388{
23389return f != gethostbyname;
23390 ;
23391 return 0;
23392}
23393_ACEOF
23394rm -f conftest.$ac_objext conftest$ac_exeext
23395if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23396 (eval $ac_link) 2>&5
23397 ac_status=$?
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_cv_func_gethostbyname=yes
23407else
23408 echo "$as_me: failed program was:" >&5
23409sed 's/^/| /' conftest.$ac_ext >&5
23410
23411ac_cv_func_gethostbyname=no
23412fi
23413rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23414fi
23415echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23416echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23417
23418 if test $ac_cv_func_gethostbyname = no; then
23419 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23420echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23421if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23423else
23424 ac_check_lib_save_LIBS=$LIBS
23425LIBS="-lnsl $LIBS"
23426cat >conftest.$ac_ext <<_ACEOF
23427#line $LINENO "configure"
23428/* confdefs.h. */
23429_ACEOF
23430cat confdefs.h >>conftest.$ac_ext
23431cat >>conftest.$ac_ext <<_ACEOF
23432/* end confdefs.h. */
23433
23434/* Override any gcc2 internal prototype to avoid an error. */
23435#ifdef __cplusplus
23436extern "C"
23437#endif
23438/* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23440char gethostbyname ();
23441int
23442main ()
23443{
23444gethostbyname ();
23445 ;
23446 return 0;
23447}
23448_ACEOF
23449rm -f conftest.$ac_objext conftest$ac_exeext
23450if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>&5
23452 ac_status=$?
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try='test -s conftest$ac_exeext'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; }; then
23461 ac_cv_lib_nsl_gethostbyname=yes
23462else
23463 echo "$as_me: failed program was:" >&5
23464sed 's/^/| /' conftest.$ac_ext >&5
23465
23466ac_cv_lib_nsl_gethostbyname=no
23467fi
23468rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23469LIBS=$ac_check_lib_save_LIBS
23470fi
23471echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23472echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23473if test $ac_cv_lib_nsl_gethostbyname = yes; then
23474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23475fi
23476
23477 if test $ac_cv_lib_nsl_gethostbyname = no; then
23478 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23479echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23480if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482else
23483 ac_check_lib_save_LIBS=$LIBS
23484LIBS="-lbsd $LIBS"
23485cat >conftest.$ac_ext <<_ACEOF
23486#line $LINENO "configure"
23487/* confdefs.h. */
23488_ACEOF
23489cat confdefs.h >>conftest.$ac_ext
23490cat >>conftest.$ac_ext <<_ACEOF
23491/* end confdefs.h. */
23492
23493/* Override any gcc2 internal prototype to avoid an error. */
23494#ifdef __cplusplus
23495extern "C"
23496#endif
23497/* We use char because int might match the return type of a gcc2
23498 builtin and then its argument prototype would still apply. */
23499char gethostbyname ();
23500int
23501main ()
23502{
23503gethostbyname ();
23504 ;
23505 return 0;
23506}
23507_ACEOF
23508rm -f conftest.$ac_objext conftest$ac_exeext
23509if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23510 (eval $ac_link) 2>&5
23511 ac_status=$?
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try='test -s conftest$ac_exeext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 ac_cv_lib_bsd_gethostbyname=yes
23521else
23522 echo "$as_me: failed program was:" >&5
23523sed 's/^/| /' conftest.$ac_ext >&5
23524
23525ac_cv_lib_bsd_gethostbyname=no
23526fi
23527rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23528LIBS=$ac_check_lib_save_LIBS
23529fi
23530echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23531echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23532if test $ac_cv_lib_bsd_gethostbyname = yes; then
23533 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23534fi
23535
23536 fi
23537 fi
23538
23539 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23540 # socket/setsockopt and other routines are undefined under SCO ODT
23541 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23542 # on later versions), says Simon Leinen: it contains gethostby*
23543 # variants that don't use the name server (or something). -lsocket
23544 # must be given before -lnsl if both are needed. We assume that
23545 # if connect needs -lnsl, so does gethostbyname.
23546 echo "$as_me:$LINENO: checking for connect" >&5
23547echo $ECHO_N "checking for connect... $ECHO_C" >&6
23548if test "${ac_cv_func_connect+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23550else
23551 cat >conftest.$ac_ext <<_ACEOF
23552#line $LINENO "configure"
23553/* confdefs.h. */
23554_ACEOF
23555cat confdefs.h >>conftest.$ac_ext
23556cat >>conftest.$ac_ext <<_ACEOF
23557/* end confdefs.h. */
23558/* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char connect (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23562#ifdef __STDC__
23563# include <limits.h>
23564#else
23565# include <assert.h>
23566#endif
23567/* Override any gcc2 internal prototype to avoid an error. */
23568#ifdef __cplusplus
23569extern "C"
23570{
23571#endif
23572/* We use char because int might match the return type of a gcc2
23573 builtin and then its argument prototype would still apply. */
23574char connect ();
23575/* The GNU C library defines this for functions which it implements
23576 to always fail with ENOSYS. Some functions are actually named
23577 something starting with __ and the normal name is an alias. */
23578#if defined (__stub_connect) || defined (__stub___connect)
23579choke me
23580#else
23581char (*f) () = connect;
23582#endif
23583#ifdef __cplusplus
23584}
23585#endif
23586
23587int
23588main ()
23589{
23590return f != connect;
23591 ;
23592 return 0;
23593}
23594_ACEOF
23595rm -f conftest.$ac_objext conftest$ac_exeext
23596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>&5
23598 ac_status=$?
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } &&
23601 { ac_try='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23604 ac_status=$?
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_func_connect=yes
23608else
23609 echo "$as_me: failed program was:" >&5
23610sed 's/^/| /' conftest.$ac_ext >&5
23611
23612ac_cv_func_connect=no
23613fi
23614rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23615fi
23616echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23617echo "${ECHO_T}$ac_cv_func_connect" >&6
23618
23619 if test $ac_cv_func_connect = no; then
23620 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23621echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23622if test "${ac_cv_lib_socket_connect+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23624else
23625 ac_check_lib_save_LIBS=$LIBS
23626LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23627cat >conftest.$ac_ext <<_ACEOF
23628#line $LINENO "configure"
23629/* confdefs.h. */
23630_ACEOF
23631cat confdefs.h >>conftest.$ac_ext
23632cat >>conftest.$ac_ext <<_ACEOF
23633/* end confdefs.h. */
23634
23635/* Override any gcc2 internal prototype to avoid an error. */
23636#ifdef __cplusplus
23637extern "C"
23638#endif
23639/* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23641char connect ();
23642int
23643main ()
23644{
23645connect ();
23646 ;
23647 return 0;
23648}
23649_ACEOF
23650rm -f conftest.$ac_objext conftest$ac_exeext
23651if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>&5
23653 ac_status=$?
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try='test -s conftest$ac_exeext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23659 ac_status=$?
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 ac_cv_lib_socket_connect=yes
23663else
23664 echo "$as_me: failed program was:" >&5
23665sed 's/^/| /' conftest.$ac_ext >&5
23666
23667ac_cv_lib_socket_connect=no
23668fi
23669rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23670LIBS=$ac_check_lib_save_LIBS
23671fi
23672echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23673echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23674if test $ac_cv_lib_socket_connect = yes; then
23675 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23676fi
23677
23678 fi
23679
23680 # Guillermo Gomez says -lposix is necessary on A/UX.
23681 echo "$as_me:$LINENO: checking for remove" >&5
23682echo $ECHO_N "checking for remove... $ECHO_C" >&6
23683if test "${ac_cv_func_remove+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685else
23686 cat >conftest.$ac_ext <<_ACEOF
23687#line $LINENO "configure"
23688/* confdefs.h. */
23689_ACEOF
23690cat confdefs.h >>conftest.$ac_ext
23691cat >>conftest.$ac_ext <<_ACEOF
23692/* end confdefs.h. */
23693/* System header to define __stub macros and hopefully few prototypes,
23694 which can conflict with char remove (); below.
23695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23696 <limits.h> exists even on freestanding compilers. */
23697#ifdef __STDC__
23698# include <limits.h>
23699#else
23700# include <assert.h>
23701#endif
23702/* Override any gcc2 internal prototype to avoid an error. */
23703#ifdef __cplusplus
23704extern "C"
23705{
23706#endif
23707/* We use char because int might match the return type of a gcc2
23708 builtin and then its argument prototype would still apply. */
23709char remove ();
23710/* The GNU C library defines this for functions which it implements
23711 to always fail with ENOSYS. Some functions are actually named
23712 something starting with __ and the normal name is an alias. */
23713#if defined (__stub_remove) || defined (__stub___remove)
23714choke me
23715#else
23716char (*f) () = remove;
23717#endif
23718#ifdef __cplusplus
23719}
23720#endif
23721
23722int
23723main ()
23724{
23725return f != remove;
23726 ;
23727 return 0;
23728}
23729_ACEOF
23730rm -f conftest.$ac_objext conftest$ac_exeext
23731if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23732 (eval $ac_link) 2>&5
23733 ac_status=$?
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } &&
23736 { ac_try='test -s conftest$ac_exeext'
23737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23738 (eval $ac_try) 2>&5
23739 ac_status=$?
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_func_remove=yes
23743else
23744 echo "$as_me: failed program was:" >&5
23745sed 's/^/| /' conftest.$ac_ext >&5
23746
23747ac_cv_func_remove=no
23748fi
23749rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23750fi
23751echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23752echo "${ECHO_T}$ac_cv_func_remove" >&6
23753
23754 if test $ac_cv_func_remove = no; then
23755 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23756echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23757if test "${ac_cv_lib_posix_remove+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23759else
23760 ac_check_lib_save_LIBS=$LIBS
23761LIBS="-lposix $LIBS"
23762cat >conftest.$ac_ext <<_ACEOF
23763#line $LINENO "configure"
23764/* confdefs.h. */
23765_ACEOF
23766cat confdefs.h >>conftest.$ac_ext
23767cat >>conftest.$ac_ext <<_ACEOF
23768/* end confdefs.h. */
23769
23770/* Override any gcc2 internal prototype to avoid an error. */
23771#ifdef __cplusplus
23772extern "C"
23773#endif
23774/* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23776char remove ();
23777int
23778main ()
23779{
23780remove ();
23781 ;
23782 return 0;
23783}
23784_ACEOF
23785rm -f conftest.$ac_objext conftest$ac_exeext
23786if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_posix_remove=yes
23798else
23799 echo "$as_me: failed program was:" >&5
23800sed 's/^/| /' conftest.$ac_ext >&5
23801
23802ac_cv_lib_posix_remove=no
23803fi
23804rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23805LIBS=$ac_check_lib_save_LIBS
23806fi
23807echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23808echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23809if test $ac_cv_lib_posix_remove = yes; then
23810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23811fi
23812
23813 fi
23814
23815 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23816 echo "$as_me:$LINENO: checking for shmat" >&5
23817echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23818if test "${ac_cv_func_shmat+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23820else
23821 cat >conftest.$ac_ext <<_ACEOF
23822#line $LINENO "configure"
23823/* confdefs.h. */
23824_ACEOF
23825cat confdefs.h >>conftest.$ac_ext
23826cat >>conftest.$ac_ext <<_ACEOF
23827/* end confdefs.h. */
23828/* System header to define __stub macros and hopefully few prototypes,
23829 which can conflict with char shmat (); below.
23830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23831 <limits.h> exists even on freestanding compilers. */
23832#ifdef __STDC__
23833# include <limits.h>
23834#else
23835# include <assert.h>
23836#endif
23837/* Override any gcc2 internal prototype to avoid an error. */
23838#ifdef __cplusplus
23839extern "C"
23840{
23841#endif
23842/* We use char because int might match the return type of a gcc2
23843 builtin and then its argument prototype would still apply. */
23844char shmat ();
23845/* The GNU C library defines this for functions which it implements
23846 to always fail with ENOSYS. Some functions are actually named
23847 something starting with __ and the normal name is an alias. */
23848#if defined (__stub_shmat) || defined (__stub___shmat)
23849choke me
23850#else
23851char (*f) () = shmat;
23852#endif
23853#ifdef __cplusplus
23854}
23855#endif
23856
23857int
23858main ()
23859{
23860return f != shmat;
23861 ;
23862 return 0;
23863}
23864_ACEOF
23865rm -f conftest.$ac_objext conftest$ac_exeext
23866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23867 (eval $ac_link) 2>&5
23868 ac_status=$?
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } &&
23871 { ac_try='test -s conftest$ac_exeext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23874 ac_status=$?
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_func_shmat=yes
23878else
23879 echo "$as_me: failed program was:" >&5
23880sed 's/^/| /' conftest.$ac_ext >&5
23881
23882ac_cv_func_shmat=no
23883fi
23884rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23885fi
23886echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23887echo "${ECHO_T}$ac_cv_func_shmat" >&6
23888
23889 if test $ac_cv_func_shmat = no; then
23890 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23891echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23892if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894else
23895 ac_check_lib_save_LIBS=$LIBS
23896LIBS="-lipc $LIBS"
23897cat >conftest.$ac_ext <<_ACEOF
23898#line $LINENO "configure"
23899/* confdefs.h. */
23900_ACEOF
23901cat confdefs.h >>conftest.$ac_ext
23902cat >>conftest.$ac_ext <<_ACEOF
23903/* end confdefs.h. */
23904
23905/* Override any gcc2 internal prototype to avoid an error. */
23906#ifdef __cplusplus
23907extern "C"
23908#endif
23909/* We use char because int might match the return type of a gcc2
23910 builtin and then its argument prototype would still apply. */
23911char shmat ();
23912int
23913main ()
23914{
23915shmat ();
23916 ;
23917 return 0;
23918}
23919_ACEOF
23920rm -f conftest.$ac_objext conftest$ac_exeext
23921if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23922 (eval $ac_link) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try='test -s conftest$ac_exeext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_cv_lib_ipc_shmat=yes
23933else
23934 echo "$as_me: failed program was:" >&5
23935sed 's/^/| /' conftest.$ac_ext >&5
23936
23937ac_cv_lib_ipc_shmat=no
23938fi
23939rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23940LIBS=$ac_check_lib_save_LIBS
23941fi
23942echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23943echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23944if test $ac_cv_lib_ipc_shmat = yes; then
23945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23946fi
23947
23948 fi
23949 fi
23950
23951 # Check for libraries that X11R6 Xt/Xaw programs need.
23952 ac_save_LDFLAGS=$LDFLAGS
23953 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23954 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23955 # check for ICE first), but we must link in the order -lSM -lICE or
23956 # we get undefined symbols. So assume we have SM if we have ICE.
23957 # These have to be linked with before -lX11, unlike the other
23958 # libraries we check for below, so use a different variable.
23959 # John Interrante, Karl Berry
23960 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23961echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23962if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23964else
23965 ac_check_lib_save_LIBS=$LIBS
23966LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23967cat >conftest.$ac_ext <<_ACEOF
23968#line $LINENO "configure"
23969/* confdefs.h. */
23970_ACEOF
23971cat confdefs.h >>conftest.$ac_ext
23972cat >>conftest.$ac_ext <<_ACEOF
23973/* end confdefs.h. */
23974
23975/* Override any gcc2 internal prototype to avoid an error. */
23976#ifdef __cplusplus
23977extern "C"
23978#endif
23979/* We use char because int might match the return type of a gcc2
23980 builtin and then its argument prototype would still apply. */
23981char IceConnectionNumber ();
23982int
23983main ()
23984{
23985IceConnectionNumber ();
23986 ;
23987 return 0;
23988}
23989_ACEOF
23990rm -f conftest.$ac_objext conftest$ac_exeext
23991if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23992 (eval $ac_link) 2>&5
23993 ac_status=$?
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try='test -s conftest$ac_exeext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
23999 ac_status=$?
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 ac_cv_lib_ICE_IceConnectionNumber=yes
24003else
24004 echo "$as_me: failed program was:" >&5
24005sed 's/^/| /' conftest.$ac_ext >&5
24006
24007ac_cv_lib_ICE_IceConnectionNumber=no
24008fi
24009rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24010LIBS=$ac_check_lib_save_LIBS
24011fi
24012echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24013echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24014if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24015 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24016fi
24017
24018 LDFLAGS=$ac_save_LDFLAGS
24019
24020fi
24021
24022
24023 if test "$no_x" = "yes"; then
24024 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24025echo "$as_me: error: X11 not found" >&2;}
24026 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24027 fi
24028
24029 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24030 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24031 AFMINSTALL=afminstall
24032 COMPILED_X_PROGRAM=0
24033
24034 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24035echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24036
24037ac_find_includes=
24038for ac_dir in $SEARCH_INCLUDE /usr/include;
24039 do
24040 if test -f "$ac_dir/Xm/Xm.h"; then
24041 ac_find_includes=$ac_dir
24042 break
24043 fi
24044 done
24045
24046 if test "$ac_find_includes" != "" ; then
24047 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24048echo "${ECHO_T}found in $ac_find_includes" >&6
24049
24050 if test "x$ac_find_includes" = "x/usr/include"; then
24051 ac_path_to_include=""
24052 else
24053 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24054 result=$?
24055 if test $result = 0; then
24056 ac_path_to_include=""
24057 else
24058 ac_path_to_include=" -I$ac_find_includes"
24059 fi
24060 fi
24061
24062 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24063 else
24064 cat >conftest.$ac_ext <<_ACEOF
24065#line $LINENO "configure"
24066/* confdefs.h. */
24067_ACEOF
24068cat confdefs.h >>conftest.$ac_ext
24069cat >>conftest.$ac_ext <<_ACEOF
24070/* end confdefs.h. */
24071
24072 #include <Xm/Xm.h>
24073
24074int
24075main ()
24076{
24077
24078 int version;
24079 version = xmUseVersion;
24080
24081 ;
24082 return 0;
24083}
24084_ACEOF
24085rm -f conftest.$ac_objext
24086if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24087 (eval $ac_compile) 2>&5
24088 ac_status=$?
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try='test -s conftest.$ac_objext'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24094 ac_status=$?
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; }; then
24097
24098 echo "$as_me:$LINENO: result: found in default search path" >&5
24099echo "${ECHO_T}found in default search path" >&6
24100 COMPILED_X_PROGRAM=1
24101
24102else
24103 echo "$as_me: failed program was:" >&5
24104sed 's/^/| /' conftest.$ac_ext >&5
24105
24106
24107 echo "$as_me:$LINENO: result: no" >&5
24108echo "${ECHO_T}no" >&6
24109 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24110echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24111 { (exit 1); exit 1; }; }
24112
24113
24114fi
24115rm -f conftest.$ac_objext conftest.$ac_ext
24116 fi
24117
24118 if test "$COMPILED_X_PROGRAM" = 0; then
24119 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24120echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24121
24122ac_find_libraries=
24123for ac_dir in $SEARCH_LIB /usr/lib;
24124 do
24125 for ac_extension in a so sl dylib; do
24126 if test -f "$ac_dir/libXm.$ac_extension"; then
24127 ac_find_libraries=$ac_dir
24128 break 2
24129 fi
24130 done
24131 done
24132
24133 if test "$ac_find_libraries" != "" ; then
24134 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24135echo "${ECHO_T}found at $ac_find_libraries" >&6
24136
24137
24138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24139 result=$?
24140 if test $result = 0; then
24141 ac_path_to_link=""
24142 else
24143 ac_path_to_link=" -L$ac_find_libraries"
24144 fi
24145
24146 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24147 else
24148 save_CFLAGS=$CFLAGS
24149 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24150
24151 cat >conftest.$ac_ext <<_ACEOF
24152#line $LINENO "configure"
24153/* confdefs.h. */
24154_ACEOF
24155cat confdefs.h >>conftest.$ac_ext
24156cat >>conftest.$ac_ext <<_ACEOF
24157/* end confdefs.h. */
24158
24159 #include <Xm/Xm.h>
24160
24161int
24162main ()
24163{
24164
24165 int version;
24166 version = xmUseVersion;
24167
24168 ;
24169 return 0;
24170}
24171_ACEOF
24172rm -f conftest.$ac_objext
24173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24174 (eval $ac_compile) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } &&
24178 { ac_try='test -s conftest.$ac_objext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184
24185 echo "$as_me:$LINENO: result: found in default search path" >&5
24186echo "${ECHO_T}found in default search path" >&6
24187 COMPILED_X_PROGRAM=1
24188
24189else
24190 echo "$as_me: failed program was:" >&5
24191sed 's/^/| /' conftest.$ac_ext >&5
24192
24193
24194 echo "$as_me:$LINENO: result: no" >&5
24195echo "${ECHO_T}no" >&6
24196 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24197echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24198 { (exit 1); exit 1; }; }
24199
24200
24201fi
24202rm -f conftest.$ac_objext conftest.$ac_ext
24203
24204 CFLAGS=$save_CFLAGS
24205 fi
24206 fi
24207
24208 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24209echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24210 libp_link=""
24211 libsm_ice_link=""
24212 libs_found=0
24213 for libp in "" " -lXp"; do
24214 if test "$libs_found" = "0"; then
24215 for libsm_ice in "" " -lSM -lICE"; do
24216 if test "$libs_found" = "0"; then
24217 save_LIBS="$LIBS"
24218 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24219 save_CFLAGS=$CFLAGS
24220 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24221
24222 cat >conftest.$ac_ext <<_ACEOF
24223#line $LINENO "configure"
24224/* confdefs.h. */
24225_ACEOF
24226cat confdefs.h >>conftest.$ac_ext
24227cat >>conftest.$ac_ext <<_ACEOF
24228/* end confdefs.h. */
24229
24230 #include <Xm/Xm.h>
24231 #include <Xm/List.h>
24232
24233int
24234main ()
24235{
24236
24237 XmString string = NULL;
24238 Widget w = NULL;
24239 int position = 0;
24240 XmListAddItem(w, string, position);
24241
24242 ;
24243 return 0;
24244}
24245_ACEOF
24246rm -f conftest.$ac_objext conftest$ac_exeext
24247if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24248 (eval $ac_link) 2>&5
24249 ac_status=$?
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try='test -s conftest$ac_exeext'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; }; then
24258
24259 libp_link="$libp"
24260 libsm_ice_link="$libsm_ice"
24261 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24262echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24263 libs_found=1
24264
24265else
24266 echo "$as_me: failed program was:" >&5
24267sed 's/^/| /' conftest.$ac_ext >&5
24268
24269
24270
24271fi
24272rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24273
24274 LIBS="$save_LIBS"
24275 CFLAGS=$save_CFLAGS
24276 fi
24277 done
24278 fi
24279 done
24280
24281 if test "$libs_found" = "0"; then
24282 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24283echo "${ECHO_T}can't find the right libraries" >&6
24284 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24285echo "$as_me: error: can't link a simple motif program" >&2;}
24286 { (exit 1); exit 1; }; }
24287 fi
24288
24289 save_CFLAGS=$CFLAGS
24290 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24291 echo "$as_me:$LINENO: checking for Motif 2" >&5
24292echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24293 cat >conftest.$ac_ext <<_ACEOF
24294#line $LINENO "configure"
24295/* confdefs.h. */
24296_ACEOF
24297cat confdefs.h >>conftest.$ac_ext
24298cat >>conftest.$ac_ext <<_ACEOF
24299/* end confdefs.h. */
24300
24301 #include <Xm/Xm.h>
24302
24303int
24304main ()
24305{
24306
24307 #if XmVersion < 2000
24308 #error "Not Motif 2"
24309 #endif
24310
24311 ;
24312 return 0;
24313}
24314_ACEOF
24315rm -f conftest.$ac_objext
24316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24317 (eval $ac_compile) 2>&5
24318 ac_status=$?
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327
24328 cat >>confdefs.h <<\_ACEOF
24329#define __WXMOTIF20__ 1
24330_ACEOF
24331
24332 echo "$as_me:$LINENO: result: found" >&5
24333echo "${ECHO_T}found" >&6
24334
24335else
24336 echo "$as_me: failed program was:" >&5
24337sed 's/^/| /' conftest.$ac_ext >&5
24338
24339
24340 cat >>confdefs.h <<\_ACEOF
24341#define __WXMOTIF20__ 0
24342_ACEOF
24343
24344 echo "$as_me:$LINENO: result: not found" >&5
24345echo "${ECHO_T}not found" >&6
24346
24347fi
24348rm -f conftest.$ac_objext conftest.$ac_ext
24349 CFLAGS=$save_CFLAGS
24350
24351 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24352 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24353 TOOLKIT=MOTIF
24354 GUIDIST=MOTIF_DIST
24355 fi
24356
24357 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24358 if test "$wxUSE_LIBXPM" = "sys"; then
24359 echo "$as_me:$LINENO: checking for Xpm library" >&5
24360echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24361
24362ac_find_libraries=
24363for ac_dir in $SEARCH_LIB /usr/lib;
24364 do
24365 for ac_extension in a so sl dylib; do
24366 if test -f "$ac_dir/libXpm.$ac_extension"; then
24367 ac_find_libraries=$ac_dir
24368 break 2
24369 fi
24370 done
24371 done
24372
24373 if test "$ac_find_libraries" != "" ; then
24374
24375 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24376 result=$?
24377 if test $result = 0; then
24378 ac_path_to_link=""
24379 else
24380 ac_path_to_link=" -L$ac_find_libraries"
24381 fi
24382
24383 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24384 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24385echo "${ECHO_T}found at $ac_find_libraries" >&6
24386
24387 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24388echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24389if test "${wx_cv_x11_xpm_h+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24391else
24392
24393 save_CFLAGS=$CFLAGS
24394 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24395
24396 cat >conftest.$ac_ext <<_ACEOF
24397#line $LINENO "configure"
24398/* confdefs.h. */
24399_ACEOF
24400cat confdefs.h >>conftest.$ac_ext
24401cat >>conftest.$ac_ext <<_ACEOF
24402/* end confdefs.h. */
24403
24404 #include <X11/xpm.h>
24405
24406int
24407main ()
24408{
24409
24410 int version;
24411 version = XpmLibraryVersion();
24412
24413 ;
24414 return 0;
24415}
24416_ACEOF
24417rm -f conftest.$ac_objext
24418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24419 (eval $ac_compile) 2>&5
24420 ac_status=$?
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } &&
24423 { ac_try='test -s conftest.$ac_objext'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24426 ac_status=$?
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; }; then
24429 wx_cv_x11_xpm_h=yes
24430else
24431 echo "$as_me: failed program was:" >&5
24432sed 's/^/| /' conftest.$ac_ext >&5
24433
24434wx_cv_x11_xpm_h=no
24435
24436fi
24437rm -f conftest.$ac_objext conftest.$ac_ext
24438
24439 CFLAGS=$save_CFLAGS
24440
24441
24442fi
24443echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24444echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24445
24446 if test $wx_cv_x11_xpm_h = "yes"; then
24447 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
24448 cat >>confdefs.h <<\_ACEOF
24449#define wxHAVE_LIB_XPM 1
24450_ACEOF
24451
24452 else
24453 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24454echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24455 fi
24456 fi
24457
24458 fi
24459
24460 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24461echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24462if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24464else
24465 ac_check_lib_save_LIBS=$LIBS
24466LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24467cat >conftest.$ac_ext <<_ACEOF
24468#line $LINENO "configure"
24469/* confdefs.h. */
24470_ACEOF
24471cat confdefs.h >>conftest.$ac_ext
24472cat >>conftest.$ac_ext <<_ACEOF
24473/* end confdefs.h. */
24474
24475/* Override any gcc2 internal prototype to avoid an error. */
24476#ifdef __cplusplus
24477extern "C"
24478#endif
24479/* We use char because int might match the return type of a gcc2
24480 builtin and then its argument prototype would still apply. */
24481char XShapeQueryExtension ();
24482int
24483main ()
24484{
24485XShapeQueryExtension ();
24486 ;
24487 return 0;
24488}
24489_ACEOF
24490rm -f conftest.$ac_objext conftest$ac_exeext
24491if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24492 (eval $ac_link) 2>&5
24493 ac_status=$?
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } &&
24496 { ac_try='test -s conftest$ac_exeext'
24497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498 (eval $ac_try) 2>&5
24499 ac_status=$?
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); }; }; then
24502 ac_cv_lib_Xext_XShapeQueryExtension=yes
24503else
24504 echo "$as_me: failed program was:" >&5
24505sed 's/^/| /' conftest.$ac_ext >&5
24506
24507ac_cv_lib_Xext_XShapeQueryExtension=no
24508fi
24509rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24510LIBS=$ac_check_lib_save_LIBS
24511fi
24512echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24513echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24514if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24515
24516 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24517 wxHAVE_XEXT_LIB=1
24518
24519fi
24520
24521
24522 if test "$wxHAVE_XEXT_LIB" = 1; then
24523 save_CFLAGS="$CFLAGS"
24524 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24525
24526 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24527echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24528 cat >conftest.$ac_ext <<_ACEOF
24529#line $LINENO "configure"
24530/* confdefs.h. */
24531_ACEOF
24532cat confdefs.h >>conftest.$ac_ext
24533cat >>conftest.$ac_ext <<_ACEOF
24534/* end confdefs.h. */
24535
24536 #include <X11/Xlib.h>
24537 #include <X11/extensions/shape.h>
24538
24539int
24540main ()
24541{
24542
24543 int dummy1, dummy2;
24544 XShapeQueryExtension((Display*)NULL,
24545 (int*)NULL, (int*)NULL);
24546
24547 ;
24548 return 0;
24549}
24550_ACEOF
24551rm -f conftest.$ac_objext
24552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24553 (eval $ac_compile) 2>&5
24554 ac_status=$?
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try='test -s conftest.$ac_objext'
24558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24559 (eval $ac_try) 2>&5
24560 ac_status=$?
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563
24564 cat >>confdefs.h <<\_ACEOF
24565#define HAVE_XSHAPE 1
24566_ACEOF
24567
24568 echo "$as_me:$LINENO: result: found" >&5
24569echo "${ECHO_T}found" >&6
24570
24571else
24572 echo "$as_me: failed program was:" >&5
24573sed 's/^/| /' conftest.$ac_ext >&5
24574
24575
24576 echo "$as_me:$LINENO: result: not found" >&5
24577echo "${ECHO_T}not found" >&6
24578
24579fi
24580rm -f conftest.$ac_objext conftest.$ac_ext
24581 CFLAGS="$save_CFLAGS"
24582
24583 fi
24584 fi
24585
24586 if test "$wxUSE_MAC" = 1; then
24587 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24588echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24589 if test "$GCC" = yes; then
24590 echo "$as_me:$LINENO: result: gcc" >&5
24591echo "${ECHO_T}gcc" >&6
24592 CPPFLAGS_PASCAL="-fpascal-strings"
24593 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24594 echo "$as_me:$LINENO: result: xlc" >&5
24595echo "${ECHO_T}xlc" >&6
24596 CPPFLAGS_PASCAL="-qmacpstr"
24597 else
24598 echo "$as_me:$LINENO: result: none" >&5
24599echo "${ECHO_T}none" >&6
24600 fi
24601
24602 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24603
24604 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24605 TOOLKIT=MAC
24606 GUIDIST=MACX_DIST
24607 WXBASEPORT="_carbon"
24608 fi
24609
24610 if test "$wxUSE_COCOA" = 1; then
24611 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24612 TOOLKIT=COCOA
24613 GUIDIST=COCOA_DIST
24614 fi
24615
24616 if test "$wxUSE_PM" = 1; then
24617 TOOLKIT=PM
24618 GUIDIST=GTK_DIST
24619 fi
24620
24621 if test "$TOOLKIT" = "PM" ; then
24622 TOOLKIT_DIR="os2"
24623 else
24624 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24625 fi
24626
24627 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24628
24629 if test "$wxUSE_UNIVERSAL" = "yes"; then
24630 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24631
24632 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24633 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24634
24635 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24636 if test "$wxUSE_X11" = 1; then
24637 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24638 else
24639 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24640 fi
24641 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24642 WIDGET_SET=univ
24643 else
24644 ALL_OBJECTS="\$(GUIOBJS)"
24645 ALL_SOURCES="\$(ALL_SOURCES)"
24646 ALL_HEADERS="\$(ALL_HEADERS)"
24647 fi
24648
24649 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24650
24651 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24652 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24653 fi
24654
24655 if test "$wxUSE_HTML" = "yes"; then
24656 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24657 fi
24658
24659 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24660 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24661 fi
24662 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24663 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24664 fi
24665 if test "$wxUSE_LIBPNG" = "builtin" ; then
24666 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24667 fi
24668
24669 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24670 DISTDIR="wx\$(TOOLKIT)"
24671else
24672 USE_GUI=0
24673
24674 TOOLKIT_DIR="base"
24675
24676 if test "$USE_WIN32" = 1 ; then
24677 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24678 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24679
24680 TOOLKIT="MSW"
24681 else
24682 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24683 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24684 fi
24685
24686 ALL_SOURCES="\$(ALL_SOURCES)"
24687 ALL_HEADERS="\$(ALL_HEADERS)"
24688
24689 PORT_FILES="\${top_srcdir}/src/files.lst"
24690
24691 GUIDIST="BASE_DIST"
24692 DISTDIR="wxBase"
24693fi
24694
24695
24696
24697
24698IODBC_C_SRC=""
24699
24700
24701if test "$TOOLKIT" != "MSW" ; then
24702
24703 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24704
24705 if test "${ac_cv_header_sql_h+set}" = set; then
24706 echo "$as_me:$LINENO: checking for sql.h" >&5
24707echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24708if test "${ac_cv_header_sql_h+set}" = set; then
24709 echo $ECHO_N "(cached) $ECHO_C" >&6
24710fi
24711echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24712echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24713else
24714 # Is the header compilable?
24715echo "$as_me:$LINENO: checking sql.h usability" >&5
24716echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24717cat >conftest.$ac_ext <<_ACEOF
24718#line $LINENO "configure"
24719/* confdefs.h. */
24720_ACEOF
24721cat confdefs.h >>conftest.$ac_ext
24722cat >>conftest.$ac_ext <<_ACEOF
24723/* end confdefs.h. */
24724$ac_includes_default
24725#include <sql.h>
24726_ACEOF
24727rm -f conftest.$ac_objext
24728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24729 (eval $ac_compile) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try='test -s conftest.$ac_objext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 ac_header_compiler=yes
24740else
24741 echo "$as_me: failed program was:" >&5
24742sed 's/^/| /' conftest.$ac_ext >&5
24743
24744ac_header_compiler=no
24745fi
24746rm -f conftest.$ac_objext conftest.$ac_ext
24747echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24748echo "${ECHO_T}$ac_header_compiler" >&6
24749
24750# Is the header present?
24751echo "$as_me:$LINENO: checking sql.h presence" >&5
24752echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24753cat >conftest.$ac_ext <<_ACEOF
24754#line $LINENO "configure"
24755/* confdefs.h. */
24756_ACEOF
24757cat confdefs.h >>conftest.$ac_ext
24758cat >>conftest.$ac_ext <<_ACEOF
24759/* end confdefs.h. */
24760#include <sql.h>
24761_ACEOF
24762if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24764 ac_status=$?
24765 grep -v '^ *+' conftest.er1 >conftest.err
24766 rm -f conftest.er1
24767 cat conftest.err >&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } >/dev/null; then
24770 if test -s conftest.err; then
24771 ac_cpp_err=$ac_c_preproc_warn_flag
24772 else
24773 ac_cpp_err=
24774 fi
24775else
24776 ac_cpp_err=yes
24777fi
24778if test -z "$ac_cpp_err"; then
24779 ac_header_preproc=yes
24780else
24781 echo "$as_me: failed program was:" >&5
24782sed 's/^/| /' conftest.$ac_ext >&5
24783
24784 ac_header_preproc=no
24785fi
24786rm -f conftest.err conftest.$ac_ext
24787echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24788echo "${ECHO_T}$ac_header_preproc" >&6
24789
24790# So? What about this header?
24791case $ac_header_compiler:$ac_header_preproc in
24792 yes:no )
24793 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24794echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24795 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24796echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24797 (
24798 cat <<\_ASBOX
24799## ------------------------------------ ##
24800## Report this to bug-autoconf@gnu.org. ##
24801## ------------------------------------ ##
24802_ASBOX
24803 ) |
24804 sed "s/^/$as_me: WARNING: /" >&2
24805 ;;
24806 no:yes )
24807 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24808echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24809 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24810echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24811 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24812echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24813 (
24814 cat <<\_ASBOX
24815## ------------------------------------ ##
24816## Report this to bug-autoconf@gnu.org. ##
24817## ------------------------------------ ##
24818_ASBOX
24819 ) |
24820 sed "s/^/$as_me: WARNING: /" >&2
24821 ;;
24822esac
24823echo "$as_me:$LINENO: checking for sql.h" >&5
24824echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24825if test "${ac_cv_header_sql_h+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24827else
24828 ac_cv_header_sql_h=$ac_header_preproc
24829fi
24830echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24831echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24832
24833fi
24834if test $ac_cv_header_sql_h = yes; then
24835 found_sql_h=1
24836fi
24837
24838
24839 if test "x$found_sql_h" = "x1" ; then
24840 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24841echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24842if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24844else
24845 ac_check_lib_save_LIBS=$LIBS
24846LIBS="-liodbc $LIBS"
24847cat >conftest.$ac_ext <<_ACEOF
24848#line $LINENO "configure"
24849/* confdefs.h. */
24850_ACEOF
24851cat confdefs.h >>conftest.$ac_ext
24852cat >>conftest.$ac_ext <<_ACEOF
24853/* end confdefs.h. */
24854
24855/* Override any gcc2 internal prototype to avoid an error. */
24856#ifdef __cplusplus
24857extern "C"
24858#endif
24859/* We use char because int might match the return type of a gcc2
24860 builtin and then its argument prototype would still apply. */
24861char SQLAllocEnv ();
24862int
24863main ()
24864{
24865SQLAllocEnv ();
24866 ;
24867 return 0;
24868}
24869_ACEOF
24870rm -f conftest.$ac_objext conftest$ac_exeext
24871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24872 (eval $ac_link) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } &&
24876 { ac_try='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24879 ac_status=$?
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 ac_cv_lib_iodbc_SQLAllocEnv=yes
24883else
24884 echo "$as_me: failed program was:" >&5
24885sed 's/^/| /' conftest.$ac_ext >&5
24886
24887ac_cv_lib_iodbc_SQLAllocEnv=no
24888fi
24889rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24890LIBS=$ac_check_lib_save_LIBS
24891fi
24892echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24893echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24894if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24895 ODBC_LINK=" -liodbc"
24896else
24897
24898 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24899echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24900if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24901 echo $ECHO_N "(cached) $ECHO_C" >&6
24902else
24903 ac_check_lib_save_LIBS=$LIBS
24904LIBS="-lunixodbc $LIBS"
24905cat >conftest.$ac_ext <<_ACEOF
24906#line $LINENO "configure"
24907/* confdefs.h. */
24908_ACEOF
24909cat confdefs.h >>conftest.$ac_ext
24910cat >>conftest.$ac_ext <<_ACEOF
24911/* end confdefs.h. */
24912
24913/* Override any gcc2 internal prototype to avoid an error. */
24914#ifdef __cplusplus
24915extern "C"
24916#endif
24917/* We use char because int might match the return type of a gcc2
24918 builtin and then its argument prototype would still apply. */
24919char SQLAllocEnv ();
24920int
24921main ()
24922{
24923SQLAllocEnv ();
24924 ;
24925 return 0;
24926}
24927_ACEOF
24928rm -f conftest.$ac_objext conftest$ac_exeext
24929if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24930 (eval $ac_link) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try='test -s conftest$ac_exeext'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; }; then
24940 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24941else
24942 echo "$as_me: failed program was:" >&5
24943sed 's/^/| /' conftest.$ac_ext >&5
24944
24945ac_cv_lib_unixodbc_SQLAllocEnv=no
24946fi
24947rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24948LIBS=$ac_check_lib_save_LIBS
24949fi
24950echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24951echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24952if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24953 ODBC_LINK=" -lunixodbc"
24954else
24955
24956 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24957echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24958if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24959 echo $ECHO_N "(cached) $ECHO_C" >&6
24960else
24961 ac_check_lib_save_LIBS=$LIBS
24962LIBS="-lodbc $LIBS"
24963cat >conftest.$ac_ext <<_ACEOF
24964#line $LINENO "configure"
24965/* confdefs.h. */
24966_ACEOF
24967cat confdefs.h >>conftest.$ac_ext
24968cat >>conftest.$ac_ext <<_ACEOF
24969/* end confdefs.h. */
24970
24971/* Override any gcc2 internal prototype to avoid an error. */
24972#ifdef __cplusplus
24973extern "C"
24974#endif
24975/* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24977char SQLAllocEnv ();
24978int
24979main ()
24980{
24981SQLAllocEnv ();
24982 ;
24983 return 0;
24984}
24985_ACEOF
24986rm -f conftest.$ac_objext conftest$ac_exeext
24987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>&5
24989 ac_status=$?
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try='test -s conftest$ac_exeext'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24995 ac_status=$?
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; }; then
24998 ac_cv_lib_odbc_SQLAllocEnv=yes
24999else
25000 echo "$as_me: failed program was:" >&5
25001sed 's/^/| /' conftest.$ac_ext >&5
25002
25003ac_cv_lib_odbc_SQLAllocEnv=no
25004fi
25005rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25006LIBS=$ac_check_lib_save_LIBS
25007fi
25008echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25009echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25010if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25011 ODBC_LINK=" -lodbc"
25012fi
25013
25014
25015fi
25016
25017
25018fi
25019
25020 fi
25021 if test "x$ODBC_LINK" = "x" ; then
25022 if test "$wxUSE_ODBC" = "sys" ; then
25023 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25024echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25025 { (exit 1); exit 1; }; }
25026 else
25027 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25028echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25029 wxUSE_ODBC=builtin
25030 fi
25031 else
25032 wxUSE_ODBC=sys
25033 fi
25034 fi
25035 if test "$wxUSE_ODBC" != "no" ; then
25036 cat >>confdefs.h <<\_ACEOF
25037#define wxUSE_ODBC 1
25038_ACEOF
25039
25040 if test "$wxUSE_ODBC" = "builtin" ; then
25041 cat >>confdefs.h <<\_ACEOF
25042#define wxUSE_BUILTIN_IODBC 1
25043_ACEOF
25044
25045 fi
25046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25047
25048 WXODBCFLAG="-D_IODBC_"
25049 fi
25050fi
25051
25052if test "$wxUSE_REGEX" = "builtin" ; then
25053 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25054fi
25055if test "$wxUSE_ZLIB" = "builtin" ; then
25056 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25057fi
25058
25059
25060USE_OPENGL=0
25061if test "$wxUSE_OPENGL" = "yes"; then
25062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25063 OPENGL_LIBS="-framework OpenGL -framework AGL"
25064 elif test "$wxUSE_MSW" = 1; then
25065 OPENGL_LIBS="-lopengl32 -lglu32"
25066 else
25067
25068
25069ac_find_includes=
25070for ac_dir in $SEARCH_INCLUDE /usr/include;
25071 do
25072 if test -f "$ac_dir/GL/gl.h"; then
25073 ac_find_includes=$ac_dir
25074 break
25075 fi
25076 done
25077
25078 if test "$ac_find_includes" != "" ; then
25079 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25080echo "${ECHO_T}found in $ac_find_includes" >&6
25081
25082 if test "x$ac_find_includes" = "x/usr/include"; then
25083 ac_path_to_include=""
25084 else
25085 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25086 result=$?
25087 if test $result = 0; then
25088 ac_path_to_include=""
25089 else
25090 ac_path_to_include=" -I$ac_find_includes"
25091 fi
25092 fi
25093
25094 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25095 fi
25096
25097 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25098 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25099echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25100if test "${ac_cv_header_GL_gl_h+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25102fi
25103echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25104echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25105else
25106 # Is the header compilable?
25107echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25108echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25109cat >conftest.$ac_ext <<_ACEOF
25110#line $LINENO "configure"
25111/* confdefs.h. */
25112_ACEOF
25113cat confdefs.h >>conftest.$ac_ext
25114cat >>conftest.$ac_ext <<_ACEOF
25115/* end confdefs.h. */
25116$ac_includes_default
25117#include <GL/gl.h>
25118_ACEOF
25119rm -f conftest.$ac_objext
25120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } &&
25125 { ac_try='test -s conftest.$ac_objext'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25128 ac_status=$?
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; }; then
25131 ac_header_compiler=yes
25132else
25133 echo "$as_me: failed program was:" >&5
25134sed 's/^/| /' conftest.$ac_ext >&5
25135
25136ac_header_compiler=no
25137fi
25138rm -f conftest.$ac_objext conftest.$ac_ext
25139echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25140echo "${ECHO_T}$ac_header_compiler" >&6
25141
25142# Is the header present?
25143echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25144echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25145cat >conftest.$ac_ext <<_ACEOF
25146#line $LINENO "configure"
25147/* confdefs.h. */
25148_ACEOF
25149cat confdefs.h >>conftest.$ac_ext
25150cat >>conftest.$ac_ext <<_ACEOF
25151/* end confdefs.h. */
25152#include <GL/gl.h>
25153_ACEOF
25154if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25156 ac_status=$?
25157 grep -v '^ *+' conftest.er1 >conftest.err
25158 rm -f conftest.er1
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } >/dev/null; then
25162 if test -s conftest.err; then
25163 ac_cpp_err=$ac_c_preproc_warn_flag
25164 else
25165 ac_cpp_err=
25166 fi
25167else
25168 ac_cpp_err=yes
25169fi
25170if test -z "$ac_cpp_err"; then
25171 ac_header_preproc=yes
25172else
25173 echo "$as_me: failed program was:" >&5
25174sed 's/^/| /' conftest.$ac_ext >&5
25175
25176 ac_header_preproc=no
25177fi
25178rm -f conftest.err conftest.$ac_ext
25179echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25180echo "${ECHO_T}$ac_header_preproc" >&6
25181
25182# So? What about this header?
25183case $ac_header_compiler:$ac_header_preproc in
25184 yes:no )
25185 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25186echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25188echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25189 (
25190 cat <<\_ASBOX
25191## ------------------------------------ ##
25192## Report this to bug-autoconf@gnu.org. ##
25193## ------------------------------------ ##
25194_ASBOX
25195 ) |
25196 sed "s/^/$as_me: WARNING: /" >&2
25197 ;;
25198 no:yes )
25199 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25200echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25201 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25202echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25204echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25205 (
25206 cat <<\_ASBOX
25207## ------------------------------------ ##
25208## Report this to bug-autoconf@gnu.org. ##
25209## ------------------------------------ ##
25210_ASBOX
25211 ) |
25212 sed "s/^/$as_me: WARNING: /" >&2
25213 ;;
25214esac
25215echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25216echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25217if test "${ac_cv_header_GL_gl_h+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25219else
25220 ac_cv_header_GL_gl_h=$ac_header_preproc
25221fi
25222echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25223echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25224
25225fi
25226if test $ac_cv_header_GL_gl_h = yes; then
25227
25228 found_gl=0
25229
25230 echo "$as_me:$LINENO: checking for -lGL" >&5
25231echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25232
25233ac_find_libraries=
25234for ac_dir in $SEARCH_LIB /usr/lib;
25235 do
25236 for ac_extension in a so sl dylib; do
25237 if test -f "$ac_dir/libGL.$ac_extension"; then
25238 ac_find_libraries=$ac_dir
25239 break 2
25240 fi
25241 done
25242 done
25243
25244 if test "$ac_find_libraries" != "" ; then
25245
25246 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25247 result=$?
25248 if test $result = 0; then
25249 ac_path_to_link=""
25250 else
25251 ac_path_to_link=" -L$ac_find_libraries"
25252 fi
25253
25254 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25255 LDFLAGS_GL="$ac_path_to_link"
25256 fi
25257
25258
25259ac_find_libraries=
25260for ac_dir in $SEARCH_LIB /usr/lib;
25261 do
25262 for ac_extension in a so sl dylib; do
25263 if test -f "$ac_dir/libGLU.$ac_extension"; then
25264 ac_find_libraries=$ac_dir
25265 break 2
25266 fi
25267 done
25268 done
25269
25270 if test "$ac_find_libraries" != "" ; then
25271
25272 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25273 result=$?
25274 if test $result = 0; then
25275 ac_path_to_link=""
25276 else
25277 ac_path_to_link=" -L$ac_find_libraries"
25278 fi
25279
25280 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25281 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25282 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25283 fi
25284
25285 found_gl=1
25286 OPENGL_LIBS="-lGL -lGLU"
25287 echo "$as_me:$LINENO: result: yes" >&5
25288echo "${ECHO_T}yes" >&6
25289 fi
25290 fi
25291
25292 if test "$found_gl" != 1; then
25293 echo "$as_me:$LINENO: result: no" >&5
25294echo "${ECHO_T}no" >&6
25295 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25296echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25297
25298ac_find_libraries=
25299for ac_dir in $SEARCH_LIB /usr/lib;
25300 do
25301 for ac_extension in a so sl dylib; do
25302 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25303 ac_find_libraries=$ac_dir
25304 break 2
25305 fi
25306 done
25307 done
25308
25309 if test "$ac_find_libraries" != "" ; then
25310
25311 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25312 result=$?
25313 if test $result = 0; then
25314 ac_path_to_link=""
25315 else
25316 ac_path_to_link=" -L$ac_find_libraries"
25317 fi
25318
25319 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25320 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25321 echo "$as_me:$LINENO: result: yes" >&5
25322echo "${ECHO_T}yes" >&6
25323 else
25324 echo "$as_me:$LINENO: result: no" >&5
25325echo "${ECHO_T}no" >&6
25326 fi
25327 fi
25328
25329fi
25330
25331
25332
25333 if test "x$OPENGL_LIBS" = "x"; then
25334 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25335echo "$as_me: error: OpenGL libraries not available" >&2;}
25336 { (exit 1); exit 1; }; }
25337 fi
25338 fi
25339
25340 if test "$wxUSE_OPENGL" = "yes"; then
25341 USE_OPENGL=1
25342 cat >>confdefs.h <<\_ACEOF
25343#define wxUSE_OPENGL 1
25344_ACEOF
25345
25346 cat >>confdefs.h <<\_ACEOF
25347#define wxUSE_GLCANVAS 1
25348_ACEOF
25349
25350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25351 fi
25352fi
25353
25354if test -z "$TOOLKIT_VPATH" ; then
25355 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25356fi
25357
25358if test -n "$TOOLKIT" ; then
25359 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25360fi
25361
25362UNICODE=0
25363lib_unicode_suffix=
25364if test "$wxUSE_UNICODE" = "yes"; then
25365 lib_unicode_suffix=u
25366 UNICODE=1
25367fi
25368
25369lib_debug_suffix=
25370DEBUG_FLAG=0
25371if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25372 lib_debug_suffix=d
25373 DEBUG_FLAG=1
25374fi
25375
25376DEBUG_INFO=0
25377if test "$wxUSE_DEBUG_INFO" = "yes"; then
25378 DEBUG_INFO=1
25379fi
25380
25381WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25382
25383TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25384TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25385
25386if test "$cross_compiling" = "yes"; then
25387 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25388 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25389 HOST_SUFFIX="-${host_alias}"
25390fi
25391
25392WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25393WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25394WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25395WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25396
25397WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25398WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25399
25400WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25401WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25402WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25403WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25404
25405case "${host}" in
25406 *-*-cygwin* | *-*-mingw32* )
25407 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25408 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25409 ;;
25410
25411 *-*-darwin* )
25412
25413 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25414 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25415
25416 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25417 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25418 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25419 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25420
25421 if test "$wxUSE_MAC" = 1; then
25422 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25423 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25424 fi
25425 ;;
25426esac
25427
25428WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25429WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25430
25431WXCONFIG_LIBS="-l${WX_LIBRARY}"
25432WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25433
25434if test "$wxUSE_OPENGL" = "yes"; then
25435 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25436 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25437fi
25438
25439
25440
25441if test "$wxUSE_SHARED" = "yes"; then
25442 case "${host}" in
25443 *-pc-os2_emx | *-pc-os2-emx | \
25444 *-pc-msdosdjgpp )
25445 wxUSE_SHARED=no
25446 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25447echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25448 ;;
25449 esac
25450fi
25451
25452SHARED=0
25453if test "$wxUSE_SHARED" = "yes"; then
25454 SHARED=1
25455
25456
25457 found_versioning=no
25458
25459
25460 if test $found_versioning = no ; then
25461 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25462echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25463if test "${wx_cv_version_script+set}" = set; then
25464 echo $ECHO_N "(cached) $ECHO_C" >&6
25465else
25466
25467 echo "VER_1 { *; };" >conftest.sym
25468 echo "int main() { return 0; }" >conftest.cpp
25469
25470 if { ac_try='
25471 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25472 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25475 ac_status=$?
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } ; then
25478 if test -s conftest.stderr ; then
25479 wx_cv_version_script=no
25480 else
25481 wx_cv_version_script=yes
25482 fi
25483 else
25484 wx_cv_version_script=no
25485 fi
25486 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25487
25488fi
25489echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25490echo "${ECHO_T}$wx_cv_version_script" >&6
25491 if test $wx_cv_version_script = yes ; then
25492 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25493 fi
25494 fi
25495
25496
25497 case "${host}" in
25498 *-*-linux* | *-*-gnu* )
25499 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25500 ;;
25501
25502 *-*-solaris2* )
25503 if test "$GCC" = yes ; then
25504 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25505
25506 saveLdflags="$LDFLAGS"
25507 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25508 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25509echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25510 cat >conftest.$ac_ext <<_ACEOF
25511#line $LINENO "configure"
25512/* confdefs.h. */
25513_ACEOF
25514cat confdefs.h >>conftest.$ac_ext
25515cat >>conftest.$ac_ext <<_ACEOF
25516/* end confdefs.h. */
25517
25518int
25519main ()
25520{
25521
25522 ;
25523 return 0;
25524}
25525_ACEOF
25526rm -f conftest.$ac_objext conftest$ac_exeext
25527if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>&5
25529 ac_status=$?
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); } &&
25532 { ac_try='test -s conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25535 ac_status=$?
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25538
25539 echo "$as_me:$LINENO: result: yes" >&5
25540echo "${ECHO_T}yes" >&6
25541 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25542
25543else
25544 echo "$as_me: failed program was:" >&5
25545sed 's/^/| /' conftest.$ac_ext >&5
25546
25547
25548 echo "$as_me:$LINENO: result: no" >&5
25549echo "${ECHO_T}no" >&6
25550 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25551echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25552 LDFLAGS="$saveLdflags -Wl,-R,/"
25553 cat >conftest.$ac_ext <<_ACEOF
25554#line $LINENO "configure"
25555/* confdefs.h. */
25556_ACEOF
25557cat confdefs.h >>conftest.$ac_ext
25558cat >>conftest.$ac_ext <<_ACEOF
25559/* end confdefs.h. */
25560
25561int
25562main ()
25563{
25564
25565 ;
25566 return 0;
25567}
25568_ACEOF
25569rm -f conftest.$ac_objext conftest$ac_exeext
25570if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25571 (eval $ac_link) 2>&5
25572 ac_status=$?
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); } &&
25575 { ac_try='test -s conftest$ac_exeext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25578 ac_status=$?
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581
25582 echo "$as_me:$LINENO: result: yes" >&5
25583echo "${ECHO_T}yes" >&6
25584 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25585else
25586 echo "$as_me: failed program was:" >&5
25587sed 's/^/| /' conftest.$ac_ext >&5
25588
25589
25590 echo "$as_me:$LINENO: result: no" >&5
25591echo "${ECHO_T}no" >&6
25592
25593fi
25594rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25595
25596fi
25597rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25598 LDFLAGS="$saveLdflags"
25599 else
25600 SHARED_LD="${CXX} -G -o"
25601 PIC_FLAG="-KPIC"
25602 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25603 fi
25604 ;;
25605
25606 powerpc-*-darwin* )
25607 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25608 cat <<EOF >change-install-names
25609#!/bin/sh
25610libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25611inst_cmd="install_name_tool "
25612for i in \${libnames} ; do
25613 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25614done
25615\${inst_cmd} \${3}
25616EOF
25617 chmod +x change-install-names
25618 ;;
25619
25620 esac
25621
25622 if test "x$WX_TARGET_LIBRARY" = "x"; then
25623 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25624 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25625 fi
25626
25627 WX_TARGET_LIBRARY_TYPE="so"
25628 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25629fi
25630
25631if test "$wxUSE_SHARED" = "no"; then
25632
25633 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25634 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25635 fi
25636
25637 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25638 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25639 fi
25640
25641 if test "$wxUSE_OPENGL" = "yes"; then
25642 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25643 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25644 else
25645 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25646 fi
25647
25648 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25649 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25650
25651 WX_TARGET_LIBRARY_TYPE="a"
25652 INSTALL_LIBRARY='$(INSTALL_DATA)'
25653
25654 STATIC_FLAG="yes"
25655else
25656 STATIC_FLAG="no"
25657fi
25658
25659MACRESCOMP="@#"
25660MACSETFILE="@#"
25661MACRESWXCONFIG="#"
25662if test "$wxUSE_MAC" = 1; then
25663 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25664 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25665 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25666 # Extract the first word of "Rez", so it can be a program name with args.
25667set dummy Rez; ac_word=$2
25668echo "$as_me:$LINENO: checking for $ac_word" >&5
25669echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25670if test "${ac_cv_prog_RESCOMP+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672else
25673 if test -n "$RESCOMP"; then
25674 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25675else
25676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25677for as_dir in $PATH
25678do
25679 IFS=$as_save_IFS
25680 test -z "$as_dir" && as_dir=.
25681 for ac_exec_ext in '' $ac_executable_extensions; do
25682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25683 ac_cv_prog_RESCOMP="Rez"
25684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25685 break 2
25686 fi
25687done
25688done
25689
25690 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25691fi
25692fi
25693RESCOMP=$ac_cv_prog_RESCOMP
25694if test -n "$RESCOMP"; then
25695 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25696echo "${ECHO_T}$RESCOMP" >&6
25697else
25698 echo "$as_me:$LINENO: result: no" >&5
25699echo "${ECHO_T}no" >&6
25700fi
25701
25702 # Extract the first word of "DeRez", so it can be a program name with args.
25703set dummy DeRez; ac_word=$2
25704echo "$as_me:$LINENO: checking for $ac_word" >&5
25705echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25706if test "${ac_cv_prog_DEREZ+set}" = set; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25708else
25709 if test -n "$DEREZ"; then
25710 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25711else
25712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25713for as_dir in $PATH
25714do
25715 IFS=$as_save_IFS
25716 test -z "$as_dir" && as_dir=.
25717 for ac_exec_ext in '' $ac_executable_extensions; do
25718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25719 ac_cv_prog_DEREZ="DeRez"
25720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25721 break 2
25722 fi
25723done
25724done
25725
25726 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25727fi
25728fi
25729DEREZ=$ac_cv_prog_DEREZ
25730if test -n "$DEREZ"; then
25731 echo "$as_me:$LINENO: result: $DEREZ" >&5
25732echo "${ECHO_T}$DEREZ" >&6
25733else
25734 echo "$as_me:$LINENO: result: no" >&5
25735echo "${ECHO_T}no" >&6
25736fi
25737
25738 # Extract the first word of "SetFile", so it can be a program name with args.
25739set dummy SetFile; ac_word=$2
25740echo "$as_me:$LINENO: checking for $ac_word" >&5
25741echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25742if test "${ac_cv_prog_SETFILE+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25744else
25745 if test -n "$SETFILE"; then
25746 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25747else
25748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25749for as_dir in $PATH
25750do
25751 IFS=$as_save_IFS
25752 test -z "$as_dir" && as_dir=.
25753 for ac_exec_ext in '' $ac_executable_extensions; do
25754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25755 ac_cv_prog_SETFILE="SetFile"
25756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25757 break 2
25758 fi
25759done
25760done
25761
25762 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25763fi
25764fi
25765SETFILE=$ac_cv_prog_SETFILE
25766if test -n "$SETFILE"; then
25767 echo "$as_me:$LINENO: result: $SETFILE" >&5
25768echo "${ECHO_T}$SETFILE" >&6
25769else
25770 echo "$as_me:$LINENO: result: no" >&5
25771echo "${ECHO_T}no" >&6
25772fi
25773
25774 MACOSX_BUNDLE="bundle"
25775 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25776 MACSETFILE="\$(SETFILE)"
25777 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25778elif test "$wxUSE_COCOA" = 1; then
25779 # Extract the first word of "Rez", so it can be a program name with args.
25780set dummy Rez; ac_word=$2
25781echo "$as_me:$LINENO: checking for $ac_word" >&5
25782echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25783if test "${ac_cv_prog_RESCOMP+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785else
25786 if test -n "$RESCOMP"; then
25787 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25788else
25789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25790for as_dir in $PATH
25791do
25792 IFS=$as_save_IFS
25793 test -z "$as_dir" && as_dir=.
25794 for ac_exec_ext in '' $ac_executable_extensions; do
25795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25796 ac_cv_prog_RESCOMP="Rez"
25797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25798 break 2
25799 fi
25800done
25801done
25802
25803 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25804fi
25805fi
25806RESCOMP=$ac_cv_prog_RESCOMP
25807if test -n "$RESCOMP"; then
25808 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25809echo "${ECHO_T}$RESCOMP" >&6
25810else
25811 echo "$as_me:$LINENO: result: no" >&5
25812echo "${ECHO_T}no" >&6
25813fi
25814
25815 # Extract the first word of "DeRez", so it can be a program name with args.
25816set dummy DeRez; ac_word=$2
25817echo "$as_me:$LINENO: checking for $ac_word" >&5
25818echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25819if test "${ac_cv_prog_DEREZ+set}" = set; then
25820 echo $ECHO_N "(cached) $ECHO_C" >&6
25821else
25822 if test -n "$DEREZ"; then
25823 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25824else
25825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25826for as_dir in $PATH
25827do
25828 IFS=$as_save_IFS
25829 test -z "$as_dir" && as_dir=.
25830 for ac_exec_ext in '' $ac_executable_extensions; do
25831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25832 ac_cv_prog_DEREZ="DeRez"
25833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25834 break 2
25835 fi
25836done
25837done
25838
25839 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25840fi
25841fi
25842DEREZ=$ac_cv_prog_DEREZ
25843if test -n "$DEREZ"; then
25844 echo "$as_me:$LINENO: result: $DEREZ" >&5
25845echo "${ECHO_T}$DEREZ" >&6
25846else
25847 echo "$as_me:$LINENO: result: no" >&5
25848echo "${ECHO_T}no" >&6
25849fi
25850
25851 # Extract the first word of "SetFile", so it can be a program name with args.
25852set dummy SetFile; ac_word=$2
25853echo "$as_me:$LINENO: checking for $ac_word" >&5
25854echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25855if test "${ac_cv_prog_SETFILE+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857else
25858 if test -n "$SETFILE"; then
25859 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25860else
25861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25862for as_dir in $PATH
25863do
25864 IFS=$as_save_IFS
25865 test -z "$as_dir" && as_dir=.
25866 for ac_exec_ext in '' $ac_executable_extensions; do
25867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25868 ac_cv_prog_SETFILE="SetFile"
25869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25870 break 2
25871 fi
25872done
25873done
25874
25875 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25876fi
25877fi
25878SETFILE=$ac_cv_prog_SETFILE
25879if test -n "$SETFILE"; then
25880 echo "$as_me:$LINENO: result: $SETFILE" >&5
25881echo "${ECHO_T}$SETFILE" >&6
25882else
25883 echo "$as_me:$LINENO: result: no" >&5
25884echo "${ECHO_T}no" >&6
25885fi
25886
25887 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25888 MACSETFILE="\$(SETFILE)"
25889 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25890else
25891 if test "$wxUSE_PM" = 1; then
25892 MACRESCOMP="emxbind -ep"
25893 fi
25894fi
25895
25896
25897echo "$as_me:$LINENO: checking for mode_t" >&5
25898echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25899if test "${ac_cv_type_mode_t+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901else
25902 cat >conftest.$ac_ext <<_ACEOF
25903#line $LINENO "configure"
25904/* confdefs.h. */
25905_ACEOF
25906cat confdefs.h >>conftest.$ac_ext
25907cat >>conftest.$ac_ext <<_ACEOF
25908/* end confdefs.h. */
25909$ac_includes_default
25910int
25911main ()
25912{
25913if ((mode_t *) 0)
25914 return 0;
25915if (sizeof (mode_t))
25916 return 0;
25917 ;
25918 return 0;
25919}
25920_ACEOF
25921rm -f conftest.$ac_objext
25922if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25923 (eval $ac_compile) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } &&
25927 { ac_try='test -s conftest.$ac_objext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25930 ac_status=$?
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_cv_type_mode_t=yes
25934else
25935 echo "$as_me: failed program was:" >&5
25936sed 's/^/| /' conftest.$ac_ext >&5
25937
25938ac_cv_type_mode_t=no
25939fi
25940rm -f conftest.$ac_objext conftest.$ac_ext
25941fi
25942echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25943echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25944if test $ac_cv_type_mode_t = yes; then
25945 :
25946else
25947
25948cat >>confdefs.h <<_ACEOF
25949#define mode_t int
25950_ACEOF
25951
25952fi
25953
25954echo "$as_me:$LINENO: checking for off_t" >&5
25955echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25956if test "${ac_cv_type_off_t+set}" = set; then
25957 echo $ECHO_N "(cached) $ECHO_C" >&6
25958else
25959 cat >conftest.$ac_ext <<_ACEOF
25960#line $LINENO "configure"
25961/* confdefs.h. */
25962_ACEOF
25963cat confdefs.h >>conftest.$ac_ext
25964cat >>conftest.$ac_ext <<_ACEOF
25965/* end confdefs.h. */
25966$ac_includes_default
25967int
25968main ()
25969{
25970if ((off_t *) 0)
25971 return 0;
25972if (sizeof (off_t))
25973 return 0;
25974 ;
25975 return 0;
25976}
25977_ACEOF
25978rm -f conftest.$ac_objext
25979if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25980 (eval $ac_compile) 2>&5
25981 ac_status=$?
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); } &&
25984 { ac_try='test -s conftest.$ac_objext'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25987 ac_status=$?
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; }; then
25990 ac_cv_type_off_t=yes
25991else
25992 echo "$as_me: failed program was:" >&5
25993sed 's/^/| /' conftest.$ac_ext >&5
25994
25995ac_cv_type_off_t=no
25996fi
25997rm -f conftest.$ac_objext conftest.$ac_ext
25998fi
25999echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26000echo "${ECHO_T}$ac_cv_type_off_t" >&6
26001if test $ac_cv_type_off_t = yes; then
26002 :
26003else
26004
26005cat >>confdefs.h <<_ACEOF
26006#define off_t long
26007_ACEOF
26008
26009fi
26010
26011echo "$as_me:$LINENO: checking for pid_t" >&5
26012echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26013if test "${ac_cv_type_pid_t+set}" = set; then
26014 echo $ECHO_N "(cached) $ECHO_C" >&6
26015else
26016 cat >conftest.$ac_ext <<_ACEOF
26017#line $LINENO "configure"
26018/* confdefs.h. */
26019_ACEOF
26020cat confdefs.h >>conftest.$ac_ext
26021cat >>conftest.$ac_ext <<_ACEOF
26022/* end confdefs.h. */
26023$ac_includes_default
26024int
26025main ()
26026{
26027if ((pid_t *) 0)
26028 return 0;
26029if (sizeof (pid_t))
26030 return 0;
26031 ;
26032 return 0;
26033}
26034_ACEOF
26035rm -f conftest.$ac_objext
26036if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037 (eval $ac_compile) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26044 ac_status=$?
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 ac_cv_type_pid_t=yes
26048else
26049 echo "$as_me: failed program was:" >&5
26050sed 's/^/| /' conftest.$ac_ext >&5
26051
26052ac_cv_type_pid_t=no
26053fi
26054rm -f conftest.$ac_objext conftest.$ac_ext
26055fi
26056echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26057echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26058if test $ac_cv_type_pid_t = yes; then
26059 :
26060else
26061
26062cat >>confdefs.h <<_ACEOF
26063#define pid_t int
26064_ACEOF
26065
26066fi
26067
26068echo "$as_me:$LINENO: checking for size_t" >&5
26069echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26070if test "${ac_cv_type_size_t+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26072else
26073 cat >conftest.$ac_ext <<_ACEOF
26074#line $LINENO "configure"
26075/* confdefs.h. */
26076_ACEOF
26077cat confdefs.h >>conftest.$ac_ext
26078cat >>conftest.$ac_ext <<_ACEOF
26079/* end confdefs.h. */
26080$ac_includes_default
26081int
26082main ()
26083{
26084if ((size_t *) 0)
26085 return 0;
26086if (sizeof (size_t))
26087 return 0;
26088 ;
26089 return 0;
26090}
26091_ACEOF
26092rm -f conftest.$ac_objext
26093if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26094 (eval $ac_compile) 2>&5
26095 ac_status=$?
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try='test -s conftest.$ac_objext'
26099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26100 (eval $ac_try) 2>&5
26101 ac_status=$?
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); }; }; then
26104 ac_cv_type_size_t=yes
26105else
26106 echo "$as_me: failed program was:" >&5
26107sed 's/^/| /' conftest.$ac_ext >&5
26108
26109ac_cv_type_size_t=no
26110fi
26111rm -f conftest.$ac_objext conftest.$ac_ext
26112fi
26113echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26114echo "${ECHO_T}$ac_cv_type_size_t" >&6
26115if test $ac_cv_type_size_t = yes; then
26116 :
26117else
26118
26119cat >>confdefs.h <<_ACEOF
26120#define size_t unsigned
26121_ACEOF
26122
26123fi
26124
26125echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26126echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26127if test "${ac_cv_type_uid_t+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129else
26130 cat >conftest.$ac_ext <<_ACEOF
26131#line $LINENO "configure"
26132/* confdefs.h. */
26133_ACEOF
26134cat confdefs.h >>conftest.$ac_ext
26135cat >>conftest.$ac_ext <<_ACEOF
26136/* end confdefs.h. */
26137#include <sys/types.h>
26138
26139_ACEOF
26140if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26141 $EGREP "uid_t" >/dev/null 2>&1; then
26142 ac_cv_type_uid_t=yes
26143else
26144 ac_cv_type_uid_t=no
26145fi
26146rm -f conftest*
26147
26148fi
26149echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26150echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26151if test $ac_cv_type_uid_t = no; then
26152
26153cat >>confdefs.h <<\_ACEOF
26154#define uid_t int
26155_ACEOF
26156
26157
26158cat >>confdefs.h <<\_ACEOF
26159#define gid_t int
26160_ACEOF
26161
26162fi
26163
26164
26165
26166
26167ac_ext=cc
26168ac_cpp='$CXXCPP $CPPFLAGS'
26169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26172
26173echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26174echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26175if test "${wx_cv_size_t_is_uint+set}" = set; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26177else
26178
26179 cat >conftest.$ac_ext <<_ACEOF
26180#line $LINENO "configure"
26181/* confdefs.h. */
26182_ACEOF
26183cat confdefs.h >>conftest.$ac_ext
26184cat >>conftest.$ac_ext <<_ACEOF
26185/* end confdefs.h. */
26186#include <stddef.h>
26187int
26188main ()
26189{
26190
26191 return 0; }
26192
26193 struct Foo { void foo(size_t); void foo(unsigned int); };
26194
26195 int bar() {
26196
26197 ;
26198 return 0;
26199}
26200_ACEOF
26201rm -f conftest.$ac_objext
26202if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26203 (eval $ac_compile) 2>&5
26204 ac_status=$?
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try='test -s conftest.$ac_objext'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26210 ac_status=$?
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26213 wx_cv_size_t_is_uint=no
26214else
26215 echo "$as_me: failed program was:" >&5
26216sed 's/^/| /' conftest.$ac_ext >&5
26217
26218wx_cv_size_t_is_uint=yes
26219
26220fi
26221rm -f conftest.$ac_objext conftest.$ac_ext
26222
26223
26224fi
26225echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26226echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26227
26228if test "$wx_cv_size_t_is_uint" = "yes"; then
26229 cat >>confdefs.h <<\_ACEOF
26230#define wxSIZE_T_IS_UINT 1
26231_ACEOF
26232
26233else
26234 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26235echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26236if test "${wx_cv_size_t_is_ulong+set}" = set; then
26237 echo $ECHO_N "(cached) $ECHO_C" >&6
26238else
26239 cat >conftest.$ac_ext <<_ACEOF
26240#line $LINENO "configure"
26241/* confdefs.h. */
26242_ACEOF
26243cat confdefs.h >>conftest.$ac_ext
26244cat >>conftest.$ac_ext <<_ACEOF
26245/* end confdefs.h. */
26246#include <stddef.h>
26247int
26248main ()
26249{
26250
26251 return 0; }
26252
26253 struct Foo { void foo(size_t); void foo(unsigned long); };
26254
26255 int bar() {
26256
26257 ;
26258 return 0;
26259}
26260_ACEOF
26261rm -f conftest.$ac_objext
26262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26263 (eval $ac_compile) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } &&
26267 { ac_try='test -s conftest.$ac_objext'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 wx_cv_size_t_is_ulong=no
26274else
26275 echo "$as_me: failed program was:" >&5
26276sed 's/^/| /' conftest.$ac_ext >&5
26277
26278wx_cv_size_t_is_ulong=yes
26279
26280fi
26281rm -f conftest.$ac_objext conftest.$ac_ext
26282
26283fi
26284echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26285echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26286
26287 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26288 cat >>confdefs.h <<\_ACEOF
26289#define wxSIZE_T_IS_ULONG 1
26290_ACEOF
26291
26292 fi
26293fi
26294
26295ac_ext=c
26296ac_cpp='$CPP $CPPFLAGS'
26297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26299ac_compiler_gnu=$ac_cv_c_compiler_gnu
26300
26301
26302
26303echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26304echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26305if test "${wx_cv_struct_pw_gecos+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26307else
26308
26309 cat >conftest.$ac_ext <<_ACEOF
26310#line $LINENO "configure"
26311/* confdefs.h. */
26312_ACEOF
26313cat confdefs.h >>conftest.$ac_ext
26314cat >>conftest.$ac_ext <<_ACEOF
26315/* end confdefs.h. */
26316#include <pwd.h>
26317int
26318main ()
26319{
26320
26321 char *p;
26322 struct passwd *pw;
26323 p = pw->pw_gecos;
26324
26325 ;
26326 return 0;
26327}
26328_ACEOF
26329rm -f conftest.$ac_objext
26330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26331 (eval $ac_compile) 2>&5
26332 ac_status=$?
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try='test -s conftest.$ac_objext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26338 ac_status=$?
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26341
26342 wx_cv_struct_pw_gecos=yes
26343
26344else
26345 echo "$as_me: failed program was:" >&5
26346sed 's/^/| /' conftest.$ac_ext >&5
26347
26348
26349 wx_cv_struct_pw_gecos=no
26350
26351
26352fi
26353rm -f conftest.$ac_objext conftest.$ac_ext
26354
26355
26356fi
26357echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26358echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26359
26360if test "$wx_cv_struct_pw_gecos" = "yes"; then
26361 cat >>confdefs.h <<\_ACEOF
26362#define HAVE_PW_GECOS 1
26363_ACEOF
26364
26365fi
26366
26367
26368if test "$wx_cv_sizeof_wchar_t" != "0"; then
26369 cat >>confdefs.h <<\_ACEOF
26370#define wxUSE_WCHAR_T 1
26371_ACEOF
26372
26373
26374 WCSLEN_FOUND=0
26375 WCHAR_LINK=
26376
26377for ac_func in wcslen
26378do
26379as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26380echo "$as_me:$LINENO: checking for $ac_func" >&5
26381echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26382if eval "test \"\${$as_ac_var+set}\" = set"; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26384else
26385 cat >conftest.$ac_ext <<_ACEOF
26386#line $LINENO "configure"
26387/* confdefs.h. */
26388_ACEOF
26389cat confdefs.h >>conftest.$ac_ext
26390cat >>conftest.$ac_ext <<_ACEOF
26391/* end confdefs.h. */
26392/* System header to define __stub macros and hopefully few prototypes,
26393 which can conflict with char $ac_func (); below.
26394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26395 <limits.h> exists even on freestanding compilers. */
26396#ifdef __STDC__
26397# include <limits.h>
26398#else
26399# include <assert.h>
26400#endif
26401/* Override any gcc2 internal prototype to avoid an error. */
26402#ifdef __cplusplus
26403extern "C"
26404{
26405#endif
26406/* We use char because int might match the return type of a gcc2
26407 builtin and then its argument prototype would still apply. */
26408char $ac_func ();
26409/* The GNU C library defines this for functions which it implements
26410 to always fail with ENOSYS. Some functions are actually named
26411 something starting with __ and the normal name is an alias. */
26412#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26413choke me
26414#else
26415char (*f) () = $ac_func;
26416#endif
26417#ifdef __cplusplus
26418}
26419#endif
26420
26421int
26422main ()
26423{
26424return f != $ac_func;
26425 ;
26426 return 0;
26427}
26428_ACEOF
26429rm -f conftest.$ac_objext conftest$ac_exeext
26430if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>&5
26432 ac_status=$?
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } &&
26435 { ac_try='test -s conftest$ac_exeext'
26436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437 (eval $ac_try) 2>&5
26438 ac_status=$?
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); }; }; then
26441 eval "$as_ac_var=yes"
26442else
26443 echo "$as_me: failed program was:" >&5
26444sed 's/^/| /' conftest.$ac_ext >&5
26445
26446eval "$as_ac_var=no"
26447fi
26448rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26449fi
26450echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26451echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26452if test `eval echo '${'$as_ac_var'}'` = yes; then
26453 cat >>confdefs.h <<_ACEOF
26454#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26455_ACEOF
26456 WCSLEN_FOUND=1
26457fi
26458done
26459
26460
26461 if test "$WCSLEN_FOUND" = 0; then
26462 if test "$TOOLKIT" = "MSW"; then
26463 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26464echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26465if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26467else
26468 ac_check_lib_save_LIBS=$LIBS
26469LIBS="-lmsvcrt $LIBS"
26470cat >conftest.$ac_ext <<_ACEOF
26471#line $LINENO "configure"
26472/* confdefs.h. */
26473_ACEOF
26474cat confdefs.h >>conftest.$ac_ext
26475cat >>conftest.$ac_ext <<_ACEOF
26476/* end confdefs.h. */
26477
26478/* Override any gcc2 internal prototype to avoid an error. */
26479#ifdef __cplusplus
26480extern "C"
26481#endif
26482/* We use char because int might match the return type of a gcc2
26483 builtin and then its argument prototype would still apply. */
26484char wcslen ();
26485int
26486main ()
26487{
26488wcslen ();
26489 ;
26490 return 0;
26491}
26492_ACEOF
26493rm -f conftest.$ac_objext conftest$ac_exeext
26494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26495 (eval $ac_link) 2>&5
26496 ac_status=$?
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); } &&
26499 { ac_try='test -s conftest$ac_exeext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_cv_lib_msvcrt_wcslen=yes
26506else
26507 echo "$as_me: failed program was:" >&5
26508sed 's/^/| /' conftest.$ac_ext >&5
26509
26510ac_cv_lib_msvcrt_wcslen=no
26511fi
26512rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26513LIBS=$ac_check_lib_save_LIBS
26514fi
26515echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26516echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26517if test $ac_cv_lib_msvcrt_wcslen = yes; then
26518 WCHAR_OK=1
26519fi
26520
26521 else
26522 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26523echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26524if test "${ac_cv_lib_w_wcslen+set}" = set; then
26525 echo $ECHO_N "(cached) $ECHO_C" >&6
26526else
26527 ac_check_lib_save_LIBS=$LIBS
26528LIBS="-lw $LIBS"
26529cat >conftest.$ac_ext <<_ACEOF
26530#line $LINENO "configure"
26531/* confdefs.h. */
26532_ACEOF
26533cat confdefs.h >>conftest.$ac_ext
26534cat >>conftest.$ac_ext <<_ACEOF
26535/* end confdefs.h. */
26536
26537/* Override any gcc2 internal prototype to avoid an error. */
26538#ifdef __cplusplus
26539extern "C"
26540#endif
26541/* We use char because int might match the return type of a gcc2
26542 builtin and then its argument prototype would still apply. */
26543char wcslen ();
26544int
26545main ()
26546{
26547wcslen ();
26548 ;
26549 return 0;
26550}
26551_ACEOF
26552rm -f conftest.$ac_objext conftest$ac_exeext
26553if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26554 (eval $ac_link) 2>&5
26555 ac_status=$?
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); } &&
26558 { ac_try='test -s conftest$ac_exeext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26561 ac_status=$?
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 ac_cv_lib_w_wcslen=yes
26565else
26566 echo "$as_me: failed program was:" >&5
26567sed 's/^/| /' conftest.$ac_ext >&5
26568
26569ac_cv_lib_w_wcslen=no
26570fi
26571rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26572LIBS=$ac_check_lib_save_LIBS
26573fi
26574echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26575echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26576if test $ac_cv_lib_w_wcslen = yes; then
26577
26578 WCHAR_LINK=" -lw"
26579 WCSLEN_FOUND=1
26580
26581fi
26582
26583 fi
26584 fi
26585
26586 if test "$WCSLEN_FOUND" = 1; then
26587 cat >>confdefs.h <<\_ACEOF
26588#define HAVE_WCSLEN 1
26589_ACEOF
26590
26591 fi
26592
26593
26594for ac_func in wcsrtombs
26595do
26596as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26597echo "$as_me:$LINENO: checking for $ac_func" >&5
26598echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26599if eval "test \"\${$as_ac_var+set}\" = set"; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26601else
26602 cat >conftest.$ac_ext <<_ACEOF
26603#line $LINENO "configure"
26604/* confdefs.h. */
26605_ACEOF
26606cat confdefs.h >>conftest.$ac_ext
26607cat >>conftest.$ac_ext <<_ACEOF
26608/* end confdefs.h. */
26609/* System header to define __stub macros and hopefully few prototypes,
26610 which can conflict with char $ac_func (); below.
26611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26612 <limits.h> exists even on freestanding compilers. */
26613#ifdef __STDC__
26614# include <limits.h>
26615#else
26616# include <assert.h>
26617#endif
26618/* Override any gcc2 internal prototype to avoid an error. */
26619#ifdef __cplusplus
26620extern "C"
26621{
26622#endif
26623/* We use char because int might match the return type of a gcc2
26624 builtin and then its argument prototype would still apply. */
26625char $ac_func ();
26626/* The GNU C library defines this for functions which it implements
26627 to always fail with ENOSYS. Some functions are actually named
26628 something starting with __ and the normal name is an alias. */
26629#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26630choke me
26631#else
26632char (*f) () = $ac_func;
26633#endif
26634#ifdef __cplusplus
26635}
26636#endif
26637
26638int
26639main ()
26640{
26641return f != $ac_func;
26642 ;
26643 return 0;
26644}
26645_ACEOF
26646rm -f conftest.$ac_objext conftest$ac_exeext
26647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26648 (eval $ac_link) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } &&
26652 { ac_try='test -s conftest$ac_exeext'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26655 ac_status=$?
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; }; then
26658 eval "$as_ac_var=yes"
26659else
26660 echo "$as_me: failed program was:" >&5
26661sed 's/^/| /' conftest.$ac_ext >&5
26662
26663eval "$as_ac_var=no"
26664fi
26665rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26666fi
26667echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26668echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26669if test `eval echo '${'$as_ac_var'}'` = yes; then
26670 cat >>confdefs.h <<_ACEOF
26671#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26672_ACEOF
26673
26674fi
26675done
26676
26677else
26678 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26679echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26680fi
26681
26682
26683
26684ac_ext=cc
26685ac_cpp='$CXXCPP $CPPFLAGS'
26686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689
26690
26691
26692for ac_func in vsnprintf
26693do
26694as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26695echo "$as_me:$LINENO: checking for $ac_func" >&5
26696echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26697if eval "test \"\${$as_ac_var+set}\" = set"; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699else
26700 cat >conftest.$ac_ext <<_ACEOF
26701#line $LINENO "configure"
26702/* confdefs.h. */
26703_ACEOF
26704cat confdefs.h >>conftest.$ac_ext
26705cat >>conftest.$ac_ext <<_ACEOF
26706/* end confdefs.h. */
26707/* System header to define __stub macros and hopefully few prototypes,
26708 which can conflict with char $ac_func (); below.
26709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26710 <limits.h> exists even on freestanding compilers. */
26711#ifdef __STDC__
26712# include <limits.h>
26713#else
26714# include <assert.h>
26715#endif
26716/* Override any gcc2 internal prototype to avoid an error. */
26717#ifdef __cplusplus
26718extern "C"
26719{
26720#endif
26721/* We use char because int might match the return type of a gcc2
26722 builtin and then its argument prototype would still apply. */
26723char $ac_func ();
26724/* The GNU C library defines this for functions which it implements
26725 to always fail with ENOSYS. Some functions are actually named
26726 something starting with __ and the normal name is an alias. */
26727#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26728choke me
26729#else
26730char (*f) () = $ac_func;
26731#endif
26732#ifdef __cplusplus
26733}
26734#endif
26735
26736int
26737main ()
26738{
26739return f != $ac_func;
26740 ;
26741 return 0;
26742}
26743_ACEOF
26744rm -f conftest.$ac_objext conftest$ac_exeext
26745if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>&5
26747 ac_status=$?
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -s conftest$ac_exeext'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26753 ac_status=$?
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; }; then
26756 eval "$as_ac_var=yes"
26757else
26758 echo "$as_me: failed program was:" >&5
26759sed 's/^/| /' conftest.$ac_ext >&5
26760
26761eval "$as_ac_var=no"
26762fi
26763rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26764fi
26765echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26766echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26767if test `eval echo '${'$as_ac_var'}'` = yes; then
26768 cat >>confdefs.h <<_ACEOF
26769#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26770_ACEOF
26771
26772fi
26773done
26774
26775
26776if test "$ac_cv_func_vsnprintf" = "yes"; then
26777 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26778echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26779if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26780 echo $ECHO_N "(cached) $ECHO_C" >&6
26781else
26782
26783 cat >conftest.$ac_ext <<_ACEOF
26784#line $LINENO "configure"
26785/* confdefs.h. */
26786_ACEOF
26787cat confdefs.h >>conftest.$ac_ext
26788cat >>conftest.$ac_ext <<_ACEOF
26789/* end confdefs.h. */
26790
26791 #include <stdio.h>
26792 #include <stdarg.h>
26793
26794int
26795main ()
26796{
26797
26798 char *buf;
26799 va_list ap;
26800 vsnprintf(buf, 10u, "%s", ap);
26801
26802 ;
26803 return 0;
26804}
26805_ACEOF
26806rm -f conftest.$ac_objext
26807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26808 (eval $ac_compile) 2>&5
26809 ac_status=$?
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } &&
26812 { ac_try='test -s conftest.$ac_objext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 wx_cv_func_vsnprintf_decl=yes
26819else
26820 echo "$as_me: failed program was:" >&5
26821sed 's/^/| /' conftest.$ac_ext >&5
26822
26823wx_cv_func_vsnprintf_decl=no
26824
26825fi
26826rm -f conftest.$ac_objext conftest.$ac_ext
26827
26828
26829fi
26830echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26831echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26832
26833 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26834 cat >>confdefs.h <<\_ACEOF
26835#define HAVE_VSNPRINTF_DECL 1
26836_ACEOF
26837
26838 fi
26839fi
26840
26841if test "$wxUSE_UNICODE" = yes; then
26842
26843
26844
26845for ac_func in fputwc wprintf vswprintf
26846do
26847as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26848echo "$as_me:$LINENO: checking for $ac_func" >&5
26849echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26850if eval "test \"\${$as_ac_var+set}\" = set"; then
26851 echo $ECHO_N "(cached) $ECHO_C" >&6
26852else
26853 cat >conftest.$ac_ext <<_ACEOF
26854#line $LINENO "configure"
26855/* confdefs.h. */
26856_ACEOF
26857cat confdefs.h >>conftest.$ac_ext
26858cat >>conftest.$ac_ext <<_ACEOF
26859/* end confdefs.h. */
26860/* System header to define __stub macros and hopefully few prototypes,
26861 which can conflict with char $ac_func (); below.
26862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26863 <limits.h> exists even on freestanding compilers. */
26864#ifdef __STDC__
26865# include <limits.h>
26866#else
26867# include <assert.h>
26868#endif
26869/* Override any gcc2 internal prototype to avoid an error. */
26870#ifdef __cplusplus
26871extern "C"
26872{
26873#endif
26874/* We use char because int might match the return type of a gcc2
26875 builtin and then its argument prototype would still apply. */
26876char $ac_func ();
26877/* The GNU C library defines this for functions which it implements
26878 to always fail with ENOSYS. Some functions are actually named
26879 something starting with __ and the normal name is an alias. */
26880#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26881choke me
26882#else
26883char (*f) () = $ac_func;
26884#endif
26885#ifdef __cplusplus
26886}
26887#endif
26888
26889int
26890main ()
26891{
26892return f != $ac_func;
26893 ;
26894 return 0;
26895}
26896_ACEOF
26897rm -f conftest.$ac_objext conftest$ac_exeext
26898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26899 (eval $ac_link) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try='test -s conftest$ac_exeext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 eval "$as_ac_var=yes"
26910else
26911 echo "$as_me: failed program was:" >&5
26912sed 's/^/| /' conftest.$ac_ext >&5
26913
26914eval "$as_ac_var=no"
26915fi
26916rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26917fi
26918echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26919echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26920if test `eval echo '${'$as_ac_var'}'` = yes; then
26921 cat >>confdefs.h <<_ACEOF
26922#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26923_ACEOF
26924
26925fi
26926done
26927
26928
26929 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26930echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26931 cat >conftest.$ac_ext <<_ACEOF
26932#line $LINENO "configure"
26933/* confdefs.h. */
26934_ACEOF
26935cat confdefs.h >>conftest.$ac_ext
26936cat >>conftest.$ac_ext <<_ACEOF
26937/* end confdefs.h. */
26938#include <wchar.h>
26939int
26940main ()
26941{
26942&_vsnwprintf;
26943 ;
26944 return 0;
26945}
26946_ACEOF
26947rm -f conftest.$ac_objext
26948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26949 (eval $ac_compile) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try='test -s conftest.$ac_objext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26956 ac_status=$?
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 echo "$as_me:$LINENO: result: yes" >&5
26960echo "${ECHO_T}yes" >&6
26961 cat >>confdefs.h <<\_ACEOF
26962#define HAVE__VSNWPRINTF 1
26963_ACEOF
26964
26965else
26966 echo "$as_me: failed program was:" >&5
26967sed 's/^/| /' conftest.$ac_ext >&5
26968
26969echo "$as_me:$LINENO: result: no" >&5
26970echo "${ECHO_T}no" >&6
26971fi
26972rm -f conftest.$ac_objext conftest.$ac_ext;
26973fi
26974
26975ac_ext=c
26976ac_cpp='$CPP $CPPFLAGS'
26977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26979ac_compiler_gnu=$ac_cv_c_compiler_gnu
26980
26981
26982
26983
26984if test "$TOOLKIT" != "MSW"; then
26985
26986
26987
26988
26989ac_ext=cc
26990ac_cpp='$CXXCPP $CPPFLAGS'
26991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26994
26995
26996
26997
26998# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26999if test "${with_libiconv_prefix+set}" = set; then
27000 withval="$with_libiconv_prefix"
27001
27002 for dir in `echo "$withval" | tr : ' '`; do
27003 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27004 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27005 done
27006
27007fi;
27008
27009 echo "$as_me:$LINENO: checking for iconv" >&5
27010echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27011if test "${am_cv_func_iconv+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013else
27014
27015 am_cv_func_iconv="no, consider installing GNU libiconv"
27016 am_cv_lib_iconv=no
27017 cat >conftest.$ac_ext <<_ACEOF
27018#line $LINENO "configure"
27019/* confdefs.h. */
27020_ACEOF
27021cat confdefs.h >>conftest.$ac_ext
27022cat >>conftest.$ac_ext <<_ACEOF
27023/* end confdefs.h. */
27024#include <stdlib.h>
27025#include <iconv.h>
27026int
27027main ()
27028{
27029iconv_t cd = iconv_open("","");
27030 iconv(cd,NULL,NULL,NULL,NULL);
27031 iconv_close(cd);
27032 ;
27033 return 0;
27034}
27035_ACEOF
27036rm -f conftest.$ac_objext conftest$ac_exeext
27037if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27038 (eval $ac_link) 2>&5
27039 ac_status=$?
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } &&
27042 { ac_try='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 am_cv_func_iconv=yes
27049else
27050 echo "$as_me: failed program was:" >&5
27051sed 's/^/| /' conftest.$ac_ext >&5
27052
27053fi
27054rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27055 if test "$am_cv_func_iconv" != yes; then
27056 am_save_LIBS="$LIBS"
27057 LIBS="$LIBS -liconv"
27058 cat >conftest.$ac_ext <<_ACEOF
27059#line $LINENO "configure"
27060/* confdefs.h. */
27061_ACEOF
27062cat confdefs.h >>conftest.$ac_ext
27063cat >>conftest.$ac_ext <<_ACEOF
27064/* end confdefs.h. */
27065#include <stdlib.h>
27066#include <iconv.h>
27067int
27068main ()
27069{
27070iconv_t cd = iconv_open("","");
27071 iconv(cd,NULL,NULL,NULL,NULL);
27072 iconv_close(cd);
27073 ;
27074 return 0;
27075}
27076_ACEOF
27077rm -f conftest.$ac_objext conftest$ac_exeext
27078if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27079 (eval $ac_link) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -s conftest$ac_exeext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 am_cv_lib_iconv=yes
27090 am_cv_func_iconv=yes
27091else
27092 echo "$as_me: failed program was:" >&5
27093sed 's/^/| /' conftest.$ac_ext >&5
27094
27095fi
27096rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27097 LIBS="$am_save_LIBS"
27098 fi
27099
27100fi
27101echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27102echo "${ECHO_T}$am_cv_func_iconv" >&6
27103 if test "$am_cv_func_iconv" = yes; then
27104
27105cat >>confdefs.h <<\_ACEOF
27106#define HAVE_ICONV 1
27107_ACEOF
27108
27109 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27110echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27111if test "${wx_cv_func_iconv_const+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113else
27114 cat >conftest.$ac_ext <<_ACEOF
27115#line $LINENO "configure"
27116/* confdefs.h. */
27117_ACEOF
27118cat confdefs.h >>conftest.$ac_ext
27119cat >>conftest.$ac_ext <<_ACEOF
27120/* end confdefs.h. */
27121
27122#include <stdlib.h>
27123#include <iconv.h>
27124extern
27125#ifdef __cplusplus
27126"C"
27127#endif
27128#if defined(__STDC__) || defined(__cplusplus)
27129size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27130#else
27131size_t iconv();
27132#endif
27133
27134int
27135main ()
27136{
27137
27138 ;
27139 return 0;
27140}
27141_ACEOF
27142rm -f conftest.$ac_objext
27143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27144 (eval $ac_compile) 2>&5
27145 ac_status=$?
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try='test -s conftest.$ac_objext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27151 ac_status=$?
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27154 wx_cv_func_iconv_const="no"
27155else
27156 echo "$as_me: failed program was:" >&5
27157sed 's/^/| /' conftest.$ac_ext >&5
27158
27159wx_cv_func_iconv_const="yes"
27160
27161fi
27162rm -f conftest.$ac_objext conftest.$ac_ext
27163
27164fi
27165echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27166echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27167
27168 iconv_const=
27169 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27170 iconv_const="const"
27171 fi
27172
27173
27174cat >>confdefs.h <<_ACEOF
27175#define ICONV_CONST $iconv_const
27176_ACEOF
27177
27178 fi
27179 LIBICONV=
27180 if test "$am_cv_lib_iconv" = yes; then
27181 LIBICONV="-liconv"
27182 fi
27183
27184
27185LIBS="$LIBICONV $LIBS"
27186ac_ext=c
27187ac_cpp='$CPP $CPPFLAGS'
27188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27190ac_compiler_gnu=$ac_cv_c_compiler_gnu
27191
27192
27193if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27194
27195for ac_func in sigaction
27196do
27197as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27198echo "$as_me:$LINENO: checking for $ac_func" >&5
27199echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27200if eval "test \"\${$as_ac_var+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27202else
27203 cat >conftest.$ac_ext <<_ACEOF
27204#line $LINENO "configure"
27205/* confdefs.h. */
27206_ACEOF
27207cat confdefs.h >>conftest.$ac_ext
27208cat >>conftest.$ac_ext <<_ACEOF
27209/* end confdefs.h. */
27210/* System header to define __stub macros and hopefully few prototypes,
27211 which can conflict with char $ac_func (); below.
27212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27213 <limits.h> exists even on freestanding compilers. */
27214#ifdef __STDC__
27215# include <limits.h>
27216#else
27217# include <assert.h>
27218#endif
27219/* Override any gcc2 internal prototype to avoid an error. */
27220#ifdef __cplusplus
27221extern "C"
27222{
27223#endif
27224/* We use char because int might match the return type of a gcc2
27225 builtin and then its argument prototype would still apply. */
27226char $ac_func ();
27227/* The GNU C library defines this for functions which it implements
27228 to always fail with ENOSYS. Some functions are actually named
27229 something starting with __ and the normal name is an alias. */
27230#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27231choke me
27232#else
27233char (*f) () = $ac_func;
27234#endif
27235#ifdef __cplusplus
27236}
27237#endif
27238
27239int
27240main ()
27241{
27242return f != $ac_func;
27243 ;
27244 return 0;
27245}
27246_ACEOF
27247rm -f conftest.$ac_objext conftest$ac_exeext
27248if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27249 (eval $ac_link) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try='test -s conftest$ac_exeext'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; }; then
27259 eval "$as_ac_var=yes"
27260else
27261 echo "$as_me: failed program was:" >&5
27262sed 's/^/| /' conftest.$ac_ext >&5
27263
27264eval "$as_ac_var=no"
27265fi
27266rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27267fi
27268echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27269echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27270if test `eval echo '${'$as_ac_var'}'` = yes; then
27271 cat >>confdefs.h <<_ACEOF
27272#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27273_ACEOF
27274
27275fi
27276done
27277
27278
27279 if test "$ac_cv_func_sigaction" = "no"; then
27280 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27281echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27282 wxUSE_ON_FATAL_EXCEPTION=no
27283 fi
27284
27285 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27286
27287
27288 ac_ext=cc
27289ac_cpp='$CXXCPP $CPPFLAGS'
27290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27293
27294
27295 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27296echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27297if test "${wx_cv_type_sa_handler+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27299else
27300
27301 cat >conftest.$ac_ext <<_ACEOF
27302#line $LINENO "configure"
27303/* confdefs.h. */
27304_ACEOF
27305cat confdefs.h >>conftest.$ac_ext
27306cat >>conftest.$ac_ext <<_ACEOF
27307/* end confdefs.h. */
27308#include <signal.h>
27309int
27310main ()
27311{
27312
27313 extern void testSigHandler(int);
27314
27315 struct sigaction sa;
27316 sa.sa_handler = testSigHandler;
27317
27318 ;
27319 return 0;
27320}
27321_ACEOF
27322rm -f conftest.$ac_objext
27323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27324 (eval $ac_compile) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } &&
27328 { ac_try='test -s conftest.$ac_objext'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27331 ac_status=$?
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; }; then
27334
27335 wx_cv_type_sa_handler=int
27336
27337else
27338 echo "$as_me: failed program was:" >&5
27339sed 's/^/| /' conftest.$ac_ext >&5
27340
27341
27342 wx_cv_type_sa_handler=void
27343
27344fi
27345rm -f conftest.$ac_objext conftest.$ac_ext
27346
27347fi
27348echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27349echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27350
27351 ac_ext=c
27352ac_cpp='$CPP $CPPFLAGS'
27353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355ac_compiler_gnu=$ac_cv_c_compiler_gnu
27356
27357
27358 cat >>confdefs.h <<_ACEOF
27359#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27360_ACEOF
27361
27362 fi
27363fi
27364
27365
27366
27367for ac_func in mkstemp mktemp
27368do
27369as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370echo "$as_me:$LINENO: checking for $ac_func" >&5
27371echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27374else
27375 cat >conftest.$ac_ext <<_ACEOF
27376#line $LINENO "configure"
27377/* confdefs.h. */
27378_ACEOF
27379cat confdefs.h >>conftest.$ac_ext
27380cat >>conftest.$ac_ext <<_ACEOF
27381/* end confdefs.h. */
27382/* System header to define __stub macros and hopefully few prototypes,
27383 which can conflict with char $ac_func (); below.
27384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27385 <limits.h> exists even on freestanding compilers. */
27386#ifdef __STDC__
27387# include <limits.h>
27388#else
27389# include <assert.h>
27390#endif
27391/* Override any gcc2 internal prototype to avoid an error. */
27392#ifdef __cplusplus
27393extern "C"
27394{
27395#endif
27396/* We use char because int might match the return type of a gcc2
27397 builtin and then its argument prototype would still apply. */
27398char $ac_func ();
27399/* The GNU C library defines this for functions which it implements
27400 to always fail with ENOSYS. Some functions are actually named
27401 something starting with __ and the normal name is an alias. */
27402#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27403choke me
27404#else
27405char (*f) () = $ac_func;
27406#endif
27407#ifdef __cplusplus
27408}
27409#endif
27410
27411int
27412main ()
27413{
27414return f != $ac_func;
27415 ;
27416 return 0;
27417}
27418_ACEOF
27419rm -f conftest.$ac_objext conftest$ac_exeext
27420if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27421 (eval $ac_link) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } &&
27425 { ac_try='test -s conftest$ac_exeext'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; }; then
27431 eval "$as_ac_var=yes"
27432else
27433 echo "$as_me: failed program was:" >&5
27434sed 's/^/| /' conftest.$ac_ext >&5
27435
27436eval "$as_ac_var=no"
27437fi
27438rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27439fi
27440echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27441echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27442if test `eval echo '${'$as_ac_var'}'` = yes; then
27443 cat >>confdefs.h <<_ACEOF
27444#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27445_ACEOF
27446 break
27447fi
27448done
27449
27450
27451echo "$as_me:$LINENO: checking for statfs" >&5
27452echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27453if test "${wx_cv_func_statfs+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27455else
27456 cat >conftest.$ac_ext <<_ACEOF
27457#line $LINENO "configure"
27458/* confdefs.h. */
27459_ACEOF
27460cat confdefs.h >>conftest.$ac_ext
27461cat >>conftest.$ac_ext <<_ACEOF
27462/* end confdefs.h. */
27463
27464 #if defined(__BSD__)
27465 #include <sys/param.h>
27466 #include <sys/mount.h>
27467 #else
27468 #include <sys/vfs.h>
27469 #endif
27470
27471int
27472main ()
27473{
27474
27475 long l;
27476 struct statfs fs;
27477 statfs("/", &fs);
27478 l = fs.f_bsize;
27479 l += fs.f_blocks;
27480 l += fs.f_bavail;
27481
27482 ;
27483 return 0;
27484}
27485_ACEOF
27486rm -f conftest.$ac_objext
27487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27488 (eval $ac_compile) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); } &&
27492 { ac_try='test -s conftest.$ac_objext'
27493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494 (eval $ac_try) 2>&5
27495 ac_status=$?
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27498
27499 wx_cv_func_statfs=yes
27500
27501else
27502 echo "$as_me: failed program was:" >&5
27503sed 's/^/| /' conftest.$ac_ext >&5
27504
27505
27506 wx_cv_func_statfs=no
27507
27508
27509fi
27510rm -f conftest.$ac_objext conftest.$ac_ext
27511
27512fi
27513echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27514echo "${ECHO_T}$wx_cv_func_statfs" >&6
27515
27516if test "$wx_cv_func_statfs" = "yes"; then
27517 wx_cv_type_statvfs_t="struct statfs"
27518 cat >>confdefs.h <<\_ACEOF
27519#define HAVE_STATFS 1
27520_ACEOF
27521
27522else
27523 echo "$as_me:$LINENO: checking for statvfs" >&5
27524echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27525if test "${wx_cv_func_statvfs+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27527else
27528 cat >conftest.$ac_ext <<_ACEOF
27529#line $LINENO "configure"
27530/* confdefs.h. */
27531_ACEOF
27532cat confdefs.h >>conftest.$ac_ext
27533cat >>conftest.$ac_ext <<_ACEOF
27534/* end confdefs.h. */
27535
27536 #include <stddef.h>
27537 #include <sys/statvfs.h>
27538
27539int
27540main ()
27541{
27542
27543 statvfs("/", NULL);
27544
27545 ;
27546 return 0;
27547}
27548_ACEOF
27549rm -f conftest.$ac_objext
27550if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27551 (eval $ac_compile) 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try='test -s conftest.$ac_objext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27558 ac_status=$?
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 wx_cv_func_statvfs=yes
27562else
27563 echo "$as_me: failed program was:" >&5
27564sed 's/^/| /' conftest.$ac_ext >&5
27565
27566wx_cv_func_statvfs=no
27567
27568fi
27569rm -f conftest.$ac_objext conftest.$ac_ext
27570
27571fi
27572echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27573echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27574
27575 if test "$wx_cv_func_statvfs" = "yes"; then
27576
27577
27578 ac_ext=cc
27579ac_cpp='$CXXCPP $CPPFLAGS'
27580ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27583
27584
27585 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27586echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27587if test "${wx_cv_type_statvfs_t+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27589else
27590 cat >conftest.$ac_ext <<_ACEOF
27591#line $LINENO "configure"
27592/* confdefs.h. */
27593_ACEOF
27594cat confdefs.h >>conftest.$ac_ext
27595cat >>conftest.$ac_ext <<_ACEOF
27596/* end confdefs.h. */
27597
27598 #include <sys/statvfs.h>
27599
27600int
27601main ()
27602{
27603
27604 long l;
27605 statvfs_t fs;
27606 statvfs("/", &fs);
27607 l = fs.f_bsize;
27608 l += fs.f_blocks;
27609 l += fs.f_bavail;
27610
27611 ;
27612 return 0;
27613}
27614_ACEOF
27615rm -f conftest.$ac_objext
27616if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27617 (eval $ac_compile) 2>&5
27618 ac_status=$?
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); } &&
27621 { ac_try='test -s conftest.$ac_objext'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27624 ac_status=$?
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; }; then
27627 wx_cv_type_statvfs_t=statvfs_t
27628else
27629 echo "$as_me: failed program was:" >&5
27630sed 's/^/| /' conftest.$ac_ext >&5
27631
27632
27633 cat >conftest.$ac_ext <<_ACEOF
27634#line $LINENO "configure"
27635/* confdefs.h. */
27636_ACEOF
27637cat confdefs.h >>conftest.$ac_ext
27638cat >>conftest.$ac_ext <<_ACEOF
27639/* end confdefs.h. */
27640
27641 #include <sys/statvfs.h>
27642
27643int
27644main ()
27645{
27646
27647 long l;
27648 struct statvfs fs;
27649 statvfs("/", &fs);
27650 l = fs.f_bsize;
27651 l += fs.f_blocks;
27652 l += fs.f_bavail;
27653
27654 ;
27655 return 0;
27656}
27657_ACEOF
27658rm -f conftest.$ac_objext
27659if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27660 (eval $ac_compile) 2>&5
27661 ac_status=$?
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } &&
27664 { ac_try='test -s conftest.$ac_objext'
27665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666 (eval $ac_try) 2>&5
27667 ac_status=$?
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; }; then
27670 wx_cv_type_statvfs_t="struct statvfs"
27671else
27672 echo "$as_me: failed program was:" >&5
27673sed 's/^/| /' conftest.$ac_ext >&5
27674
27675wx_cv_type_statvfs_t="unknown"
27676
27677fi
27678rm -f conftest.$ac_objext conftest.$ac_ext
27679
27680
27681fi
27682rm -f conftest.$ac_objext conftest.$ac_ext
27683
27684fi
27685echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27686echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27687
27688 ac_ext=c
27689ac_cpp='$CPP $CPPFLAGS'
27690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692ac_compiler_gnu=$ac_cv_c_compiler_gnu
27693
27694
27695 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27696 cat >>confdefs.h <<\_ACEOF
27697#define HAVE_STATVFS 1
27698_ACEOF
27699
27700 fi
27701 else
27702 wx_cv_type_statvfs_t="unknown"
27703 fi
27704fi
27705
27706if test "$wx_cv_type_statvfs_t" != "unknown"; then
27707 cat >>confdefs.h <<_ACEOF
27708#define WX_STATFS_T $wx_cv_type_statvfs_t
27709_ACEOF
27710
27711else
27712 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27713echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27714fi
27715
27716if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27717
27718
27719for ac_func in fcntl flock
27720do
27721as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27722echo "$as_me:$LINENO: checking for $ac_func" >&5
27723echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27724if eval "test \"\${$as_ac_var+set}\" = set"; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27726else
27727 cat >conftest.$ac_ext <<_ACEOF
27728#line $LINENO "configure"
27729/* confdefs.h. */
27730_ACEOF
27731cat confdefs.h >>conftest.$ac_ext
27732cat >>conftest.$ac_ext <<_ACEOF
27733/* end confdefs.h. */
27734/* System header to define __stub macros and hopefully few prototypes,
27735 which can conflict with char $ac_func (); below.
27736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27737 <limits.h> exists even on freestanding compilers. */
27738#ifdef __STDC__
27739# include <limits.h>
27740#else
27741# include <assert.h>
27742#endif
27743/* Override any gcc2 internal prototype to avoid an error. */
27744#ifdef __cplusplus
27745extern "C"
27746{
27747#endif
27748/* We use char because int might match the return type of a gcc2
27749 builtin and then its argument prototype would still apply. */
27750char $ac_func ();
27751/* The GNU C library defines this for functions which it implements
27752 to always fail with ENOSYS. Some functions are actually named
27753 something starting with __ and the normal name is an alias. */
27754#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27755choke me
27756#else
27757char (*f) () = $ac_func;
27758#endif
27759#ifdef __cplusplus
27760}
27761#endif
27762
27763int
27764main ()
27765{
27766return f != $ac_func;
27767 ;
27768 return 0;
27769}
27770_ACEOF
27771rm -f conftest.$ac_objext conftest$ac_exeext
27772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27773 (eval $ac_link) 2>&5
27774 ac_status=$?
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } &&
27777 { ac_try='test -s conftest$ac_exeext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27780 ac_status=$?
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 eval "$as_ac_var=yes"
27784else
27785 echo "$as_me: failed program was:" >&5
27786sed 's/^/| /' conftest.$ac_ext >&5
27787
27788eval "$as_ac_var=no"
27789fi
27790rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27791fi
27792echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27793echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27794if test `eval echo '${'$as_ac_var'}'` = yes; then
27795 cat >>confdefs.h <<_ACEOF
27796#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27797_ACEOF
27798 break
27799fi
27800done
27801
27802
27803 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27804 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27805echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27806 wxUSE_SNGLINST_CHECKER=no
27807 fi
27808fi
27809
27810
27811for ac_func in timegm
27812do
27813as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27814echo "$as_me:$LINENO: checking for $ac_func" >&5
27815echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27816if eval "test \"\${$as_ac_var+set}\" = set"; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27818else
27819 cat >conftest.$ac_ext <<_ACEOF
27820#line $LINENO "configure"
27821/* confdefs.h. */
27822_ACEOF
27823cat confdefs.h >>conftest.$ac_ext
27824cat >>conftest.$ac_ext <<_ACEOF
27825/* end confdefs.h. */
27826/* System header to define __stub macros and hopefully few prototypes,
27827 which can conflict with char $ac_func (); below.
27828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27829 <limits.h> exists even on freestanding compilers. */
27830#ifdef __STDC__
27831# include <limits.h>
27832#else
27833# include <assert.h>
27834#endif
27835/* Override any gcc2 internal prototype to avoid an error. */
27836#ifdef __cplusplus
27837extern "C"
27838{
27839#endif
27840/* We use char because int might match the return type of a gcc2
27841 builtin and then its argument prototype would still apply. */
27842char $ac_func ();
27843/* The GNU C library defines this for functions which it implements
27844 to always fail with ENOSYS. Some functions are actually named
27845 something starting with __ and the normal name is an alias. */
27846#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27847choke me
27848#else
27849char (*f) () = $ac_func;
27850#endif
27851#ifdef __cplusplus
27852}
27853#endif
27854
27855int
27856main ()
27857{
27858return f != $ac_func;
27859 ;
27860 return 0;
27861}
27862_ACEOF
27863rm -f conftest.$ac_objext conftest$ac_exeext
27864if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27865 (eval $ac_link) 2>&5
27866 ac_status=$?
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); } &&
27869 { ac_try='test -s conftest$ac_exeext'
27870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27871 (eval $ac_try) 2>&5
27872 ac_status=$?
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); }; }; then
27875 eval "$as_ac_var=yes"
27876else
27877 echo "$as_me: failed program was:" >&5
27878sed 's/^/| /' conftest.$ac_ext >&5
27879
27880eval "$as_ac_var=no"
27881fi
27882rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27883fi
27884echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27885echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27886if test `eval echo '${'$as_ac_var'}'` = yes; then
27887 cat >>confdefs.h <<_ACEOF
27888#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27889_ACEOF
27890
27891fi
27892done
27893
27894
27895
27896
27897for ac_func in putenv setenv
27898do
27899as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27900echo "$as_me:$LINENO: checking for $ac_func" >&5
27901echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27902if eval "test \"\${$as_ac_var+set}\" = set"; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904else
27905 cat >conftest.$ac_ext <<_ACEOF
27906#line $LINENO "configure"
27907/* confdefs.h. */
27908_ACEOF
27909cat confdefs.h >>conftest.$ac_ext
27910cat >>conftest.$ac_ext <<_ACEOF
27911/* end confdefs.h. */
27912/* System header to define __stub macros and hopefully few prototypes,
27913 which can conflict with char $ac_func (); below.
27914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27915 <limits.h> exists even on freestanding compilers. */
27916#ifdef __STDC__
27917# include <limits.h>
27918#else
27919# include <assert.h>
27920#endif
27921/* Override any gcc2 internal prototype to avoid an error. */
27922#ifdef __cplusplus
27923extern "C"
27924{
27925#endif
27926/* We use char because int might match the return type of a gcc2
27927 builtin and then its argument prototype would still apply. */
27928char $ac_func ();
27929/* The GNU C library defines this for functions which it implements
27930 to always fail with ENOSYS. Some functions are actually named
27931 something starting with __ and the normal name is an alias. */
27932#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27933choke me
27934#else
27935char (*f) () = $ac_func;
27936#endif
27937#ifdef __cplusplus
27938}
27939#endif
27940
27941int
27942main ()
27943{
27944return f != $ac_func;
27945 ;
27946 return 0;
27947}
27948_ACEOF
27949rm -f conftest.$ac_objext conftest$ac_exeext
27950if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 eval "$as_ac_var=yes"
27962else
27963 echo "$as_me: failed program was:" >&5
27964sed 's/^/| /' conftest.$ac_ext >&5
27965
27966eval "$as_ac_var=no"
27967fi
27968rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27969fi
27970echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27971echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27972if test `eval echo '${'$as_ac_var'}'` = yes; then
27973 cat >>confdefs.h <<_ACEOF
27974#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27975_ACEOF
27976 break
27977fi
27978done
27979
27980
27981HAVE_SOME_SLEEP_FUNC=0
27982if test "$USE_BEOS" = 1; then
27983 cat >>confdefs.h <<\_ACEOF
27984#define HAVE_SLEEP 1
27985_ACEOF
27986
27987 HAVE_SOME_SLEEP_FUNC=1
27988fi
27989
27990if test "$USE_DARWIN" = 1; then
27991 cat >>confdefs.h <<\_ACEOF
27992#define HAVE_USLEEP 1
27993_ACEOF
27994
27995 HAVE_SOME_SLEEP_FUNC=1
27996fi
27997
27998if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27999 POSIX4_LINK=
28000
28001for ac_func in nanosleep
28002do
28003as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28004echo "$as_me:$LINENO: checking for $ac_func" >&5
28005echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28006if eval "test \"\${$as_ac_var+set}\" = set"; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008else
28009 cat >conftest.$ac_ext <<_ACEOF
28010#line $LINENO "configure"
28011/* confdefs.h. */
28012_ACEOF
28013cat confdefs.h >>conftest.$ac_ext
28014cat >>conftest.$ac_ext <<_ACEOF
28015/* end confdefs.h. */
28016/* System header to define __stub macros and hopefully few prototypes,
28017 which can conflict with char $ac_func (); below.
28018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28019 <limits.h> exists even on freestanding compilers. */
28020#ifdef __STDC__
28021# include <limits.h>
28022#else
28023# include <assert.h>
28024#endif
28025/* Override any gcc2 internal prototype to avoid an error. */
28026#ifdef __cplusplus
28027extern "C"
28028{
28029#endif
28030/* We use char because int might match the return type of a gcc2
28031 builtin and then its argument prototype would still apply. */
28032char $ac_func ();
28033/* The GNU C library defines this for functions which it implements
28034 to always fail with ENOSYS. Some functions are actually named
28035 something starting with __ and the normal name is an alias. */
28036#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28037choke me
28038#else
28039char (*f) () = $ac_func;
28040#endif
28041#ifdef __cplusplus
28042}
28043#endif
28044
28045int
28046main ()
28047{
28048return f != $ac_func;
28049 ;
28050 return 0;
28051}
28052_ACEOF
28053rm -f conftest.$ac_objext conftest$ac_exeext
28054if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28055 (eval $ac_link) 2>&5
28056 ac_status=$?
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } &&
28059 { ac_try='test -s conftest$ac_exeext'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28062 ac_status=$?
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; }; then
28065 eval "$as_ac_var=yes"
28066else
28067 echo "$as_me: failed program was:" >&5
28068sed 's/^/| /' conftest.$ac_ext >&5
28069
28070eval "$as_ac_var=no"
28071fi
28072rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28073fi
28074echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28075echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28076if test `eval echo '${'$as_ac_var'}'` = yes; then
28077 cat >>confdefs.h <<_ACEOF
28078#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28079_ACEOF
28080 cat >>confdefs.h <<\_ACEOF
28081#define HAVE_NANOSLEEP 1
28082_ACEOF
28083
28084else
28085
28086 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28087echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28088if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090else
28091 ac_check_lib_save_LIBS=$LIBS
28092LIBS="-lposix4 $LIBS"
28093cat >conftest.$ac_ext <<_ACEOF
28094#line $LINENO "configure"
28095/* confdefs.h. */
28096_ACEOF
28097cat confdefs.h >>conftest.$ac_ext
28098cat >>conftest.$ac_ext <<_ACEOF
28099/* end confdefs.h. */
28100
28101/* Override any gcc2 internal prototype to avoid an error. */
28102#ifdef __cplusplus
28103extern "C"
28104#endif
28105/* We use char because int might match the return type of a gcc2
28106 builtin and then its argument prototype would still apply. */
28107char nanosleep ();
28108int
28109main ()
28110{
28111nanosleep ();
28112 ;
28113 return 0;
28114}
28115_ACEOF
28116rm -f conftest.$ac_objext conftest$ac_exeext
28117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28118 (eval $ac_link) 2>&5
28119 ac_status=$?
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } &&
28122 { ac_try='test -s conftest$ac_exeext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28125 ac_status=$?
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28128 ac_cv_lib_posix4_nanosleep=yes
28129else
28130 echo "$as_me: failed program was:" >&5
28131sed 's/^/| /' conftest.$ac_ext >&5
28132
28133ac_cv_lib_posix4_nanosleep=no
28134fi
28135rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28136LIBS=$ac_check_lib_save_LIBS
28137fi
28138echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28139echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28140if test $ac_cv_lib_posix4_nanosleep = yes; then
28141
28142 cat >>confdefs.h <<\_ACEOF
28143#define HAVE_NANOSLEEP 1
28144_ACEOF
28145
28146 POSIX4_LINK=" -lposix4"
28147
28148else
28149
28150
28151for ac_func in usleep
28152do
28153as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154echo "$as_me:$LINENO: checking for $ac_func" >&5
28155echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28156if eval "test \"\${$as_ac_var+set}\" = set"; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158else
28159 cat >conftest.$ac_ext <<_ACEOF
28160#line $LINENO "configure"
28161/* confdefs.h. */
28162_ACEOF
28163cat confdefs.h >>conftest.$ac_ext
28164cat >>conftest.$ac_ext <<_ACEOF
28165/* end confdefs.h. */
28166/* System header to define __stub macros and hopefully few prototypes,
28167 which can conflict with char $ac_func (); below.
28168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169 <limits.h> exists even on freestanding compilers. */
28170#ifdef __STDC__
28171# include <limits.h>
28172#else
28173# include <assert.h>
28174#endif
28175/* Override any gcc2 internal prototype to avoid an error. */
28176#ifdef __cplusplus
28177extern "C"
28178{
28179#endif
28180/* We use char because int might match the return type of a gcc2
28181 builtin and then its argument prototype would still apply. */
28182char $ac_func ();
28183/* The GNU C library defines this for functions which it implements
28184 to always fail with ENOSYS. Some functions are actually named
28185 something starting with __ and the normal name is an alias. */
28186#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28187choke me
28188#else
28189char (*f) () = $ac_func;
28190#endif
28191#ifdef __cplusplus
28192}
28193#endif
28194
28195int
28196main ()
28197{
28198return f != $ac_func;
28199 ;
28200 return 0;
28201}
28202_ACEOF
28203rm -f conftest.$ac_objext conftest$ac_exeext
28204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28205 (eval $ac_link) 2>&5
28206 ac_status=$?
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try='test -s conftest$ac_exeext'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; }; then
28215 eval "$as_ac_var=yes"
28216else
28217 echo "$as_me: failed program was:" >&5
28218sed 's/^/| /' conftest.$ac_ext >&5
28219
28220eval "$as_ac_var=no"
28221fi
28222rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28223fi
28224echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28225echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28226if test `eval echo '${'$as_ac_var'}'` = yes; then
28227 cat >>confdefs.h <<_ACEOF
28228#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28229_ACEOF
28230 cat >>confdefs.h <<\_ACEOF
28231#define HAVE_USLEEP 1
28232_ACEOF
28233
28234else
28235 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28236echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28237
28238fi
28239done
28240
28241
28242
28243fi
28244
28245
28246
28247fi
28248done
28249
28250fi
28251
28252
28253
28254for ac_func in uname gethostname
28255do
28256as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28257echo "$as_me:$LINENO: checking for $ac_func" >&5
28258echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28259if eval "test \"\${$as_ac_var+set}\" = set"; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261else
28262 cat >conftest.$ac_ext <<_ACEOF
28263#line $LINENO "configure"
28264/* confdefs.h. */
28265_ACEOF
28266cat confdefs.h >>conftest.$ac_ext
28267cat >>conftest.$ac_ext <<_ACEOF
28268/* end confdefs.h. */
28269/* System header to define __stub macros and hopefully few prototypes,
28270 which can conflict with char $ac_func (); below.
28271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28272 <limits.h> exists even on freestanding compilers. */
28273#ifdef __STDC__
28274# include <limits.h>
28275#else
28276# include <assert.h>
28277#endif
28278/* Override any gcc2 internal prototype to avoid an error. */
28279#ifdef __cplusplus
28280extern "C"
28281{
28282#endif
28283/* We use char because int might match the return type of a gcc2
28284 builtin and then its argument prototype would still apply. */
28285char $ac_func ();
28286/* The GNU C library defines this for functions which it implements
28287 to always fail with ENOSYS. Some functions are actually named
28288 something starting with __ and the normal name is an alias. */
28289#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28290choke me
28291#else
28292char (*f) () = $ac_func;
28293#endif
28294#ifdef __cplusplus
28295}
28296#endif
28297
28298int
28299main ()
28300{
28301return f != $ac_func;
28302 ;
28303 return 0;
28304}
28305_ACEOF
28306rm -f conftest.$ac_objext conftest$ac_exeext
28307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28308 (eval $ac_link) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try='test -s conftest$ac_exeext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 eval "$as_ac_var=yes"
28319else
28320 echo "$as_me: failed program was:" >&5
28321sed 's/^/| /' conftest.$ac_ext >&5
28322
28323eval "$as_ac_var=no"
28324fi
28325rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28326fi
28327echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28328echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28329if test `eval echo '${'$as_ac_var'}'` = yes; then
28330 cat >>confdefs.h <<_ACEOF
28331#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28332_ACEOF
28333 break
28334fi
28335done
28336
28337
28338
28339
28340ac_ext=cc
28341ac_cpp='$CXXCPP $CPPFLAGS'
28342ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28343ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28344ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28345
28346
28347
28348for ac_func in strtok_r
28349do
28350as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351echo "$as_me:$LINENO: checking for $ac_func" >&5
28352echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28353if eval "test \"\${$as_ac_var+set}\" = set"; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28355else
28356 cat >conftest.$ac_ext <<_ACEOF
28357#line $LINENO "configure"
28358/* confdefs.h. */
28359_ACEOF
28360cat confdefs.h >>conftest.$ac_ext
28361cat >>conftest.$ac_ext <<_ACEOF
28362/* end confdefs.h. */
28363/* System header to define __stub macros and hopefully few prototypes,
28364 which can conflict with char $ac_func (); below.
28365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28366 <limits.h> exists even on freestanding compilers. */
28367#ifdef __STDC__
28368# include <limits.h>
28369#else
28370# include <assert.h>
28371#endif
28372/* Override any gcc2 internal prototype to avoid an error. */
28373#ifdef __cplusplus
28374extern "C"
28375{
28376#endif
28377/* We use char because int might match the return type of a gcc2
28378 builtin and then its argument prototype would still apply. */
28379char $ac_func ();
28380/* The GNU C library defines this for functions which it implements
28381 to always fail with ENOSYS. Some functions are actually named
28382 something starting with __ and the normal name is an alias. */
28383#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28384choke me
28385#else
28386char (*f) () = $ac_func;
28387#endif
28388#ifdef __cplusplus
28389}
28390#endif
28391
28392int
28393main ()
28394{
28395return f != $ac_func;
28396 ;
28397 return 0;
28398}
28399_ACEOF
28400rm -f conftest.$ac_objext conftest$ac_exeext
28401if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28402 (eval $ac_link) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); } &&
28406 { ac_try='test -s conftest$ac_exeext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 eval "$as_ac_var=yes"
28413else
28414 echo "$as_me: failed program was:" >&5
28415sed 's/^/| /' conftest.$ac_ext >&5
28416
28417eval "$as_ac_var=no"
28418fi
28419rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28420fi
28421echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28422echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28423if test `eval echo '${'$as_ac_var'}'` = yes; then
28424 cat >>confdefs.h <<_ACEOF
28425#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28426_ACEOF
28427
28428fi
28429done
28430
28431
28432ac_ext=c
28433ac_cpp='$CPP $CPPFLAGS'
28434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436ac_compiler_gnu=$ac_cv_c_compiler_gnu
28437
28438
28439INET_LINK=
28440
28441for ac_func in inet_addr
28442do
28443as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28444echo "$as_me:$LINENO: checking for $ac_func" >&5
28445echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28446if eval "test \"\${$as_ac_var+set}\" = set"; then
28447 echo $ECHO_N "(cached) $ECHO_C" >&6
28448else
28449 cat >conftest.$ac_ext <<_ACEOF
28450#line $LINENO "configure"
28451/* confdefs.h. */
28452_ACEOF
28453cat confdefs.h >>conftest.$ac_ext
28454cat >>conftest.$ac_ext <<_ACEOF
28455/* end confdefs.h. */
28456/* System header to define __stub macros and hopefully few prototypes,
28457 which can conflict with char $ac_func (); below.
28458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28459 <limits.h> exists even on freestanding compilers. */
28460#ifdef __STDC__
28461# include <limits.h>
28462#else
28463# include <assert.h>
28464#endif
28465/* Override any gcc2 internal prototype to avoid an error. */
28466#ifdef __cplusplus
28467extern "C"
28468{
28469#endif
28470/* We use char because int might match the return type of a gcc2
28471 builtin and then its argument prototype would still apply. */
28472char $ac_func ();
28473/* The GNU C library defines this for functions which it implements
28474 to always fail with ENOSYS. Some functions are actually named
28475 something starting with __ and the normal name is an alias. */
28476#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28477choke me
28478#else
28479char (*f) () = $ac_func;
28480#endif
28481#ifdef __cplusplus
28482}
28483#endif
28484
28485int
28486main ()
28487{
28488return f != $ac_func;
28489 ;
28490 return 0;
28491}
28492_ACEOF
28493rm -f conftest.$ac_objext conftest$ac_exeext
28494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28495 (eval $ac_link) 2>&5
28496 ac_status=$?
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); } &&
28499 { ac_try='test -s conftest$ac_exeext'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 eval "$as_ac_var=yes"
28506else
28507 echo "$as_me: failed program was:" >&5
28508sed 's/^/| /' conftest.$ac_ext >&5
28509
28510eval "$as_ac_var=no"
28511fi
28512rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28513fi
28514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28515echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28516if test `eval echo '${'$as_ac_var'}'` = yes; then
28517 cat >>confdefs.h <<_ACEOF
28518#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28519_ACEOF
28520 cat >>confdefs.h <<\_ACEOF
28521#define HAVE_INET_ADDR 1
28522_ACEOF
28523
28524else
28525
28526 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28527echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28528if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28530else
28531 ac_check_lib_save_LIBS=$LIBS
28532LIBS="-lnsl $LIBS"
28533cat >conftest.$ac_ext <<_ACEOF
28534#line $LINENO "configure"
28535/* confdefs.h. */
28536_ACEOF
28537cat confdefs.h >>conftest.$ac_ext
28538cat >>conftest.$ac_ext <<_ACEOF
28539/* end confdefs.h. */
28540
28541/* Override any gcc2 internal prototype to avoid an error. */
28542#ifdef __cplusplus
28543extern "C"
28544#endif
28545/* We use char because int might match the return type of a gcc2
28546 builtin and then its argument prototype would still apply. */
28547char inet_addr ();
28548int
28549main ()
28550{
28551inet_addr ();
28552 ;
28553 return 0;
28554}
28555_ACEOF
28556rm -f conftest.$ac_objext conftest$ac_exeext
28557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28558 (eval $ac_link) 2>&5
28559 ac_status=$?
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try='test -s conftest$ac_exeext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 ac_cv_lib_nsl_inet_addr=yes
28569else
28570 echo "$as_me: failed program was:" >&5
28571sed 's/^/| /' conftest.$ac_ext >&5
28572
28573ac_cv_lib_nsl_inet_addr=no
28574fi
28575rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28576LIBS=$ac_check_lib_save_LIBS
28577fi
28578echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28579echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28580if test $ac_cv_lib_nsl_inet_addr = yes; then
28581 INET_LINK="nsl"
28582else
28583
28584 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28585echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28586if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28588else
28589 ac_check_lib_save_LIBS=$LIBS
28590LIBS="-lresolv $LIBS"
28591cat >conftest.$ac_ext <<_ACEOF
28592#line $LINENO "configure"
28593/* confdefs.h. */
28594_ACEOF
28595cat confdefs.h >>conftest.$ac_ext
28596cat >>conftest.$ac_ext <<_ACEOF
28597/* end confdefs.h. */
28598
28599/* Override any gcc2 internal prototype to avoid an error. */
28600#ifdef __cplusplus
28601extern "C"
28602#endif
28603/* We use char because int might match the return type of a gcc2
28604 builtin and then its argument prototype would still apply. */
28605char inet_addr ();
28606int
28607main ()
28608{
28609inet_addr ();
28610 ;
28611 return 0;
28612}
28613_ACEOF
28614rm -f conftest.$ac_objext conftest$ac_exeext
28615if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28616 (eval $ac_link) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try='test -s conftest$ac_exeext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28623 ac_status=$?
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 ac_cv_lib_resolv_inet_addr=yes
28627else
28628 echo "$as_me: failed program was:" >&5
28629sed 's/^/| /' conftest.$ac_ext >&5
28630
28631ac_cv_lib_resolv_inet_addr=no
28632fi
28633rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28634LIBS=$ac_check_lib_save_LIBS
28635fi
28636echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28637echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28638if test $ac_cv_lib_resolv_inet_addr = yes; then
28639 INET_LINK="resolv"
28640else
28641
28642 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28643echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28644if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28646else
28647 ac_check_lib_save_LIBS=$LIBS
28648LIBS="-lsocket $LIBS"
28649cat >conftest.$ac_ext <<_ACEOF
28650#line $LINENO "configure"
28651/* confdefs.h. */
28652_ACEOF
28653cat confdefs.h >>conftest.$ac_ext
28654cat >>conftest.$ac_ext <<_ACEOF
28655/* end confdefs.h. */
28656
28657/* Override any gcc2 internal prototype to avoid an error. */
28658#ifdef __cplusplus
28659extern "C"
28660#endif
28661/* We use char because int might match the return type of a gcc2
28662 builtin and then its argument prototype would still apply. */
28663char inet_addr ();
28664int
28665main ()
28666{
28667inet_addr ();
28668 ;
28669 return 0;
28670}
28671_ACEOF
28672rm -f conftest.$ac_objext conftest$ac_exeext
28673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674 (eval $ac_link) 2>&5
28675 ac_status=$?
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } &&
28678 { ac_try='test -s conftest$ac_exeext'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 ac_cv_lib_socket_inet_addr=yes
28685else
28686 echo "$as_me: failed program was:" >&5
28687sed 's/^/| /' conftest.$ac_ext >&5
28688
28689ac_cv_lib_socket_inet_addr=no
28690fi
28691rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28692LIBS=$ac_check_lib_save_LIBS
28693fi
28694echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28695echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28696if test $ac_cv_lib_socket_inet_addr = yes; then
28697 INET_LINK="socket"
28698
28699fi
28700
28701
28702
28703fi
28704
28705
28706
28707fi
28708
28709
28710
28711fi
28712done
28713
28714
28715
28716for ac_func in inet_aton
28717do
28718as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28719echo "$as_me:$LINENO: checking for $ac_func" >&5
28720echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28721if eval "test \"\${$as_ac_var+set}\" = set"; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28723else
28724 cat >conftest.$ac_ext <<_ACEOF
28725#line $LINENO "configure"
28726/* confdefs.h. */
28727_ACEOF
28728cat confdefs.h >>conftest.$ac_ext
28729cat >>conftest.$ac_ext <<_ACEOF
28730/* end confdefs.h. */
28731/* System header to define __stub macros and hopefully few prototypes,
28732 which can conflict with char $ac_func (); below.
28733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28734 <limits.h> exists even on freestanding compilers. */
28735#ifdef __STDC__
28736# include <limits.h>
28737#else
28738# include <assert.h>
28739#endif
28740/* Override any gcc2 internal prototype to avoid an error. */
28741#ifdef __cplusplus
28742extern "C"
28743{
28744#endif
28745/* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28747char $ac_func ();
28748/* The GNU C library defines this for functions which it implements
28749 to always fail with ENOSYS. Some functions are actually named
28750 something starting with __ and the normal name is an alias. */
28751#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28752choke me
28753#else
28754char (*f) () = $ac_func;
28755#endif
28756#ifdef __cplusplus
28757}
28758#endif
28759
28760int
28761main ()
28762{
28763return f != $ac_func;
28764 ;
28765 return 0;
28766}
28767_ACEOF
28768rm -f conftest.$ac_objext conftest$ac_exeext
28769if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>&5
28771 ac_status=$?
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -s conftest$ac_exeext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 eval "$as_ac_var=yes"
28781else
28782 echo "$as_me: failed program was:" >&5
28783sed 's/^/| /' conftest.$ac_ext >&5
28784
28785eval "$as_ac_var=no"
28786fi
28787rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28788fi
28789echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28790echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28791if test `eval echo '${'$as_ac_var'}'` = yes; then
28792 cat >>confdefs.h <<_ACEOF
28793#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28794_ACEOF
28795 cat >>confdefs.h <<\_ACEOF
28796#define HAVE_INET_ATON 1
28797_ACEOF
28798
28799else
28800
28801 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28802echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28803echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28804if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28806else
28807 ac_check_lib_save_LIBS=$LIBS
28808LIBS="-l$INET_LINK $LIBS"
28809cat >conftest.$ac_ext <<_ACEOF
28810#line $LINENO "configure"
28811/* confdefs.h. */
28812_ACEOF
28813cat confdefs.h >>conftest.$ac_ext
28814cat >>conftest.$ac_ext <<_ACEOF
28815/* end confdefs.h. */
28816
28817/* Override any gcc2 internal prototype to avoid an error. */
28818#ifdef __cplusplus
28819extern "C"
28820#endif
28821/* We use char because int might match the return type of a gcc2
28822 builtin and then its argument prototype would still apply. */
28823char inet_aton ();
28824int
28825main ()
28826{
28827inet_aton ();
28828 ;
28829 return 0;
28830}
28831_ACEOF
28832rm -f conftest.$ac_objext conftest$ac_exeext
28833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28834 (eval $ac_link) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -s conftest$ac_exeext'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28841 ac_status=$?
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28844 eval "$as_ac_Lib=yes"
28845else
28846 echo "$as_me: failed program was:" >&5
28847sed 's/^/| /' conftest.$ac_ext >&5
28848
28849eval "$as_ac_Lib=no"
28850fi
28851rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28852LIBS=$ac_check_lib_save_LIBS
28853fi
28854echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28855echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28856if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28857 cat >>confdefs.h <<\_ACEOF
28858#define HAVE_INET_ATON 1
28859_ACEOF
28860
28861fi
28862
28863
28864fi
28865done
28866
28867
28868if test "x$INET_LINK" != "x"; then
28869 cat >>confdefs.h <<\_ACEOF
28870#define HAVE_INET_ADDR 1
28871_ACEOF
28872
28873 INET_LINK=" -l$INET_LINK"
28874fi
28875
28876fi
28877
28878
28879
28880EXTRALIBS_ESD=
28881echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28882echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28883if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28885else
28886 ac_check_lib_save_LIBS=$LIBS
28887LIBS="-lesd $LIBS"
28888cat >conftest.$ac_ext <<_ACEOF
28889#line $LINENO "configure"
28890/* confdefs.h. */
28891_ACEOF
28892cat confdefs.h >>conftest.$ac_ext
28893cat >>conftest.$ac_ext <<_ACEOF
28894/* end confdefs.h. */
28895
28896/* Override any gcc2 internal prototype to avoid an error. */
28897#ifdef __cplusplus
28898extern "C"
28899#endif
28900/* We use char because int might match the return type of a gcc2
28901 builtin and then its argument prototype would still apply. */
28902char esd_close ();
28903int
28904main ()
28905{
28906esd_close ();
28907 ;
28908 return 0;
28909}
28910_ACEOF
28911rm -f conftest.$ac_objext conftest$ac_exeext
28912if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28913 (eval $ac_link) 2>&5
28914 ac_status=$?
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } &&
28917 { ac_try='test -s conftest$ac_exeext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28920 ac_status=$?
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_cv_lib_esd_esd_close=yes
28924else
28925 echo "$as_me: failed program was:" >&5
28926sed 's/^/| /' conftest.$ac_ext >&5
28927
28928ac_cv_lib_esd_esd_close=no
28929fi
28930rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28931LIBS=$ac_check_lib_save_LIBS
28932fi
28933echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28934echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28935if test $ac_cv_lib_esd_esd_close = yes; then
28936
28937
28938for ac_header in esd.h
28939do
28940as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28941if eval "test \"\${$as_ac_Header+set}\" = set"; then
28942 echo "$as_me:$LINENO: checking for $ac_header" >&5
28943echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28944if eval "test \"\${$as_ac_Header+set}\" = set"; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28946fi
28947echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28948echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28949else
28950 # Is the header compilable?
28951echo "$as_me:$LINENO: checking $ac_header usability" >&5
28952echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28953cat >conftest.$ac_ext <<_ACEOF
28954#line $LINENO "configure"
28955/* confdefs.h. */
28956_ACEOF
28957cat confdefs.h >>conftest.$ac_ext
28958cat >>conftest.$ac_ext <<_ACEOF
28959/* end confdefs.h. */
28960$ac_includes_default
28961#include <$ac_header>
28962_ACEOF
28963rm -f conftest.$ac_objext
28964if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28965 (eval $ac_compile) 2>&5
28966 ac_status=$?
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } &&
28969 { ac_try='test -s conftest.$ac_objext'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28972 ac_status=$?
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; }; then
28975 ac_header_compiler=yes
28976else
28977 echo "$as_me: failed program was:" >&5
28978sed 's/^/| /' conftest.$ac_ext >&5
28979
28980ac_header_compiler=no
28981fi
28982rm -f conftest.$ac_objext conftest.$ac_ext
28983echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28984echo "${ECHO_T}$ac_header_compiler" >&6
28985
28986# Is the header present?
28987echo "$as_me:$LINENO: checking $ac_header presence" >&5
28988echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28989cat >conftest.$ac_ext <<_ACEOF
28990#line $LINENO "configure"
28991/* confdefs.h. */
28992_ACEOF
28993cat confdefs.h >>conftest.$ac_ext
28994cat >>conftest.$ac_ext <<_ACEOF
28995/* end confdefs.h. */
28996#include <$ac_header>
28997_ACEOF
28998if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29000 ac_status=$?
29001 grep -v '^ *+' conftest.er1 >conftest.err
29002 rm -f conftest.er1
29003 cat conftest.err >&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } >/dev/null; then
29006 if test -s conftest.err; then
29007 ac_cpp_err=$ac_c_preproc_warn_flag
29008 else
29009 ac_cpp_err=
29010 fi
29011else
29012 ac_cpp_err=yes
29013fi
29014if test -z "$ac_cpp_err"; then
29015 ac_header_preproc=yes
29016else
29017 echo "$as_me: failed program was:" >&5
29018sed 's/^/| /' conftest.$ac_ext >&5
29019
29020 ac_header_preproc=no
29021fi
29022rm -f conftest.err conftest.$ac_ext
29023echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29024echo "${ECHO_T}$ac_header_preproc" >&6
29025
29026# So? What about this header?
29027case $ac_header_compiler:$ac_header_preproc in
29028 yes:no )
29029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29030echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29032echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29033 (
29034 cat <<\_ASBOX
29035## ------------------------------------ ##
29036## Report this to bug-autoconf@gnu.org. ##
29037## ------------------------------------ ##
29038_ASBOX
29039 ) |
29040 sed "s/^/$as_me: WARNING: /" >&2
29041 ;;
29042 no:yes )
29043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29044echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29046echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29048echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29049 (
29050 cat <<\_ASBOX
29051## ------------------------------------ ##
29052## Report this to bug-autoconf@gnu.org. ##
29053## ------------------------------------ ##
29054_ASBOX
29055 ) |
29056 sed "s/^/$as_me: WARNING: /" >&2
29057 ;;
29058esac
29059echo "$as_me:$LINENO: checking for $ac_header" >&5
29060echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29061if eval "test \"\${$as_ac_Header+set}\" = set"; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29063else
29064 eval "$as_ac_Header=$ac_header_preproc"
29065fi
29066echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29067echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29068
29069fi
29070if test `eval echo '${'$as_ac_Header'}'` = yes; then
29071 cat >>confdefs.h <<_ACEOF
29072#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29073_ACEOF
29074
29075 EXTRALIBS_ESD="-lesd"
29076
29077fi
29078
29079done
29080
29081
29082fi
29083
29084
29085
29086echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29087echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29088cat >conftest.$ac_ext <<_ACEOF
29089#line $LINENO "configure"
29090/* confdefs.h. */
29091_ACEOF
29092cat confdefs.h >>conftest.$ac_ext
29093cat >>conftest.$ac_ext <<_ACEOF
29094/* end confdefs.h. */
29095#ifdef __linux__
29096 #include <linux/cdrom.h>
29097 #else
29098 /* For Solaris */
29099 #include <sys/cdio.h>
29100 #endif
29101
29102int
29103main ()
29104{
29105struct cdrom_tocentry entry, old_entry;
29106 ;
29107 return 0;
29108}
29109_ACEOF
29110rm -f conftest.$ac_objext
29111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29112 (eval $ac_compile) 2>&5
29113 ac_status=$?
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } &&
29116 { ac_try='test -s conftest.$ac_objext'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29119 ac_status=$?
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; }; then
29122 echo "$as_me:$LINENO: result: yes" >&5
29123echo "${ECHO_T}yes" >&6
29124 cat >>confdefs.h <<\_ACEOF
29125#define HAVE_KNOWN_CDROM_INTERFACE 1
29126_ACEOF
29127
29128else
29129 echo "$as_me: failed program was:" >&5
29130sed 's/^/| /' conftest.$ac_ext >&5
29131
29132echo "$as_me:$LINENO: result: no" >&5
29133echo "${ECHO_T}no" >&6
29134fi
29135rm -f conftest.$ac_objext conftest.$ac_ext
29136
29137
29138cat >confcache <<\_ACEOF
29139# This file is a shell script that caches the results of configure
29140# tests run on this system so they can be shared between configure
29141# scripts and configure runs, see configure's option --config-cache.
29142# It is not useful on other systems. If it contains results you don't
29143# want to keep, you may remove or edit it.
29144#
29145# config.status only pays attention to the cache file if you give it
29146# the --recheck option to rerun configure.
29147#
29148# `ac_cv_env_foo' variables (set or unset) will be overridden when
29149# loading this file, other *unset* `ac_cv_foo' will be assigned the
29150# following values.
29151
29152_ACEOF
29153
29154# The following way of writing the cache mishandles newlines in values,
29155# but we know of no workaround that is simple, portable, and efficient.
29156# So, don't put newlines in cache variables' values.
29157# Ultrix sh set writes to stderr and can't be redirected directly,
29158# and sets the high bit in the cache file unless we assign to the vars.
29159{
29160 (set) 2>&1 |
29161 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29162 *ac_space=\ *)
29163 # `set' does not quote correctly, so add quotes (double-quote
29164 # substitution turns \\\\ into \\, and sed turns \\ into \).
29165 sed -n \
29166 "s/'/'\\\\''/g;
29167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29168 ;;
29169 *)
29170 # `set' quotes correctly as required by POSIX, so do not add quotes.
29171 sed -n \
29172 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29173 ;;
29174 esac;
29175} |
29176 sed '
29177 t clear
29178 : clear
29179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29180 t end
29181 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29182 : end' >>confcache
29183if diff $cache_file confcache >/dev/null 2>&1; then :; else
29184 if test -w $cache_file; then
29185 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29186 cat confcache >$cache_file
29187 else
29188 echo "not updating unwritable cache $cache_file"
29189 fi
29190fi
29191rm -f confcache
29192
29193
29194CPP_MT_FLAG=
29195if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29196
29197
29198 THREADS_LINK=
29199 THREADS_CFLAGS=
29200
29201 if test "$wxUSE_THREADS" = "yes" ; then
29202 if test "$USE_BEOS" = 1; then
29203 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29204echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29205 wxUSE_THREADS="no"
29206 fi
29207 fi
29208
29209 if test "$wxUSE_THREADS" = "yes" ; then
29210
29211
29212 THREAD_OPTS="-pthread"
29213 case "${host}" in
29214 *-*-solaris2* | *-*-sunos4* )
29215 if test "x$GCC" = "xyes"; then
29216 THREAD_OPTS="-pthreads $THREAD_OPTS"
29217 else
29218 THREAD_OPTS="-mt $THREAD_OPTS"
29219 fi
29220 ;;
29221 *-*-freebsd*)
29222 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29223 ;;
29224 *-*-darwin* | *-*-cygwin* )
29225 THREAD_OPTS=""
29226 ;;
29227 *-*-aix*)
29228 THREAD_OPTS="pthreads"
29229 ;;
29230 *-hp-hpux* )
29231 if test "x$GCC" != "xyes"; then
29232 THREAD_OPTS=""
29233 fi
29234 ;;
29235
29236 *-*-irix* )
29237 if test "x$GCC" = "xyes"; then
29238 THREAD_OPTS=""
29239 fi
29240 ;;
29241
29242 *-*-*UnixWare*)
29243 if test "x$GCC" != "xyes"; then
29244 THREAD_OPTS="-Ethread"
29245 fi
29246 ;;
29247 esac
29248
29249 THREAD_OPTS="$THREAD_OPTS pthread none"
29250
29251 THREADS_OK=no
29252 for flag in $THREAD_OPTS; do
29253 case $flag in
29254 none)
29255 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29256echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29257 ;;
29258
29259 -*)
29260 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29261echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29262 THREADS_CFLAGS="$flag"
29263 ;;
29264
29265 *)
29266 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29267echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29268 THREADS_LINK="-l$flag"
29269 ;;
29270 esac
29271
29272 save_LIBS="$LIBS"
29273 save_CFLAGS="$CFLAGS"
29274 LIBS="$THREADS_LINK $LIBS"
29275 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29276
29277 cat >conftest.$ac_ext <<_ACEOF
29278#line $LINENO "configure"
29279/* confdefs.h. */
29280_ACEOF
29281cat confdefs.h >>conftest.$ac_ext
29282cat >>conftest.$ac_ext <<_ACEOF
29283/* end confdefs.h. */
29284#include <pthread.h>
29285int
29286main ()
29287{
29288pthread_create(0,0,0,0);
29289 ;
29290 return 0;
29291}
29292_ACEOF
29293rm -f conftest.$ac_objext conftest$ac_exeext
29294if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29295 (eval $ac_link) 2>&5
29296 ac_status=$?
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } &&
29299 { ac_try='test -s conftest$ac_exeext'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29302 ac_status=$?
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 THREADS_OK=yes
29306else
29307 echo "$as_me: failed program was:" >&5
29308sed 's/^/| /' conftest.$ac_ext >&5
29309
29310fi
29311rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29312
29313 LIBS="$save_LIBS"
29314 CFLAGS="$save_CFLAGS"
29315
29316 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29317echo "${ECHO_T}$THREADS_OK" >&6
29318 if test "x$THREADS_OK" = "xyes"; then
29319 break;
29320 fi
29321
29322 THREADS_LINK=""
29323 THREADS_CFLAGS=""
29324 done
29325
29326 if test "x$THREADS_OK" != "xyes"; then
29327 wxUSE_THREADS=no
29328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29329echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29330 else
29331 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29332 LIBS="$THREADS_LINK $LIBS"
29333
29334 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29335echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29336 flag=no
29337 case "${host}" in
29338 *-aix*)
29339 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29340 flag="-D_THREAD_SAFE"
29341 ;;
29342 *-freebsd*)
29343 flag="-D_THREAD_SAFE"
29344 ;;
29345 *-hp-hpux* )
29346 flag="-D_REENTRANT"
29347 if test "x$GCC" != "xyes"; then
29348 flag="$flag -D_RWSTD_MULTI_THREAD"
29349 fi
29350 ;;
29351 *solaris* | alpha*-osf*)
29352 flag="-D_REENTRANT"
29353 ;;
29354 esac
29355 echo "$as_me:$LINENO: result: ${flag}" >&5
29356echo "${ECHO_T}${flag}" >&6
29357 if test "x$flag" != xno; then
29358 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29359 fi
29360
29361 if test "x$THREADS_CFLAGS" != "x"; then
29362 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29363 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29364 fi
29365 fi
29366 fi
29367
29368 if test "$wxUSE_THREADS" = "yes" ; then
29369
29370for ac_func in thr_setconcurrency
29371do
29372as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29373echo "$as_me:$LINENO: checking for $ac_func" >&5
29374echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29375if eval "test \"\${$as_ac_var+set}\" = set"; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377else
29378 cat >conftest.$ac_ext <<_ACEOF
29379#line $LINENO "configure"
29380/* confdefs.h. */
29381_ACEOF
29382cat confdefs.h >>conftest.$ac_ext
29383cat >>conftest.$ac_ext <<_ACEOF
29384/* end confdefs.h. */
29385/* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char $ac_func (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29389#ifdef __STDC__
29390# include <limits.h>
29391#else
29392# include <assert.h>
29393#endif
29394/* Override any gcc2 internal prototype to avoid an error. */
29395#ifdef __cplusplus
29396extern "C"
29397{
29398#endif
29399/* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401char $ac_func ();
29402/* The GNU C library defines this for functions which it implements
29403 to always fail with ENOSYS. Some functions are actually named
29404 something starting with __ and the normal name is an alias. */
29405#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29406choke me
29407#else
29408char (*f) () = $ac_func;
29409#endif
29410#ifdef __cplusplus
29411}
29412#endif
29413
29414int
29415main ()
29416{
29417return f != $ac_func;
29418 ;
29419 return 0;
29420}
29421_ACEOF
29422rm -f conftest.$ac_objext conftest$ac_exeext
29423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29424 (eval $ac_link) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29431 ac_status=$?
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 eval "$as_ac_var=yes"
29435else
29436 echo "$as_me: failed program was:" >&5
29437sed 's/^/| /' conftest.$ac_ext >&5
29438
29439eval "$as_ac_var=no"
29440fi
29441rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29442fi
29443echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29444echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29445if test `eval echo '${'$as_ac_var'}'` = yes; then
29446 cat >>confdefs.h <<_ACEOF
29447#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29448_ACEOF
29449
29450fi
29451done
29452
29453
29454
29455for ac_header in sched.h
29456do
29457as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29458if eval "test \"\${$as_ac_Header+set}\" = set"; then
29459 echo "$as_me:$LINENO: checking for $ac_header" >&5
29460echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29461if eval "test \"\${$as_ac_Header+set}\" = set"; then
29462 echo $ECHO_N "(cached) $ECHO_C" >&6
29463fi
29464echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29465echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29466else
29467 # Is the header compilable?
29468echo "$as_me:$LINENO: checking $ac_header usability" >&5
29469echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29470cat >conftest.$ac_ext <<_ACEOF
29471#line $LINENO "configure"
29472/* confdefs.h. */
29473_ACEOF
29474cat confdefs.h >>conftest.$ac_ext
29475cat >>conftest.$ac_ext <<_ACEOF
29476/* end confdefs.h. */
29477$ac_includes_default
29478#include <$ac_header>
29479_ACEOF
29480rm -f conftest.$ac_objext
29481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29482 (eval $ac_compile) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try='test -s conftest.$ac_objext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_header_compiler=yes
29493else
29494 echo "$as_me: failed program was:" >&5
29495sed 's/^/| /' conftest.$ac_ext >&5
29496
29497ac_header_compiler=no
29498fi
29499rm -f conftest.$ac_objext conftest.$ac_ext
29500echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29501echo "${ECHO_T}$ac_header_compiler" >&6
29502
29503# Is the header present?
29504echo "$as_me:$LINENO: checking $ac_header presence" >&5
29505echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29506cat >conftest.$ac_ext <<_ACEOF
29507#line $LINENO "configure"
29508/* confdefs.h. */
29509_ACEOF
29510cat confdefs.h >>conftest.$ac_ext
29511cat >>conftest.$ac_ext <<_ACEOF
29512/* end confdefs.h. */
29513#include <$ac_header>
29514_ACEOF
29515if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29517 ac_status=$?
29518 grep -v '^ *+' conftest.er1 >conftest.err
29519 rm -f conftest.er1
29520 cat conftest.err >&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } >/dev/null; then
29523 if test -s conftest.err; then
29524 ac_cpp_err=$ac_c_preproc_warn_flag
29525 else
29526 ac_cpp_err=
29527 fi
29528else
29529 ac_cpp_err=yes
29530fi
29531if test -z "$ac_cpp_err"; then
29532 ac_header_preproc=yes
29533else
29534 echo "$as_me: failed program was:" >&5
29535sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 ac_header_preproc=no
29538fi
29539rm -f conftest.err conftest.$ac_ext
29540echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29541echo "${ECHO_T}$ac_header_preproc" >&6
29542
29543# So? What about this header?
29544case $ac_header_compiler:$ac_header_preproc in
29545 yes:no )
29546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29547echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29549echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29550 (
29551 cat <<\_ASBOX
29552## ------------------------------------ ##
29553## Report this to bug-autoconf@gnu.org. ##
29554## ------------------------------------ ##
29555_ASBOX
29556 ) |
29557 sed "s/^/$as_me: WARNING: /" >&2
29558 ;;
29559 no:yes )
29560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29561echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29563echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29565echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29566 (
29567 cat <<\_ASBOX
29568## ------------------------------------ ##
29569## Report this to bug-autoconf@gnu.org. ##
29570## ------------------------------------ ##
29571_ASBOX
29572 ) |
29573 sed "s/^/$as_me: WARNING: /" >&2
29574 ;;
29575esac
29576echo "$as_me:$LINENO: checking for $ac_header" >&5
29577echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29578if eval "test \"\${$as_ac_Header+set}\" = set"; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29580else
29581 eval "$as_ac_Header=$ac_header_preproc"
29582fi
29583echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29584echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29585
29586fi
29587if test `eval echo '${'$as_ac_Header'}'` = yes; then
29588 cat >>confdefs.h <<_ACEOF
29589#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29590_ACEOF
29591
29592fi
29593
29594done
29595
29596 if test "$ac_cv_header_sched_h" = "yes"; then
29597 echo "$as_me:$LINENO: checking for sched_yield" >&5
29598echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29599if test "${ac_cv_func_sched_yield+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601else
29602 cat >conftest.$ac_ext <<_ACEOF
29603#line $LINENO "configure"
29604/* confdefs.h. */
29605_ACEOF
29606cat confdefs.h >>conftest.$ac_ext
29607cat >>conftest.$ac_ext <<_ACEOF
29608/* end confdefs.h. */
29609/* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char sched_yield (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29613#ifdef __STDC__
29614# include <limits.h>
29615#else
29616# include <assert.h>
29617#endif
29618/* Override any gcc2 internal prototype to avoid an error. */
29619#ifdef __cplusplus
29620extern "C"
29621{
29622#endif
29623/* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29625char sched_yield ();
29626/* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29630choke me
29631#else
29632char (*f) () = sched_yield;
29633#endif
29634#ifdef __cplusplus
29635}
29636#endif
29637
29638int
29639main ()
29640{
29641return f != sched_yield;
29642 ;
29643 return 0;
29644}
29645_ACEOF
29646rm -f conftest.$ac_objext conftest$ac_exeext
29647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>&5
29649 ac_status=$?
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try='test -s conftest$ac_exeext'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29655 ac_status=$?
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_func_sched_yield=yes
29659else
29660 echo "$as_me: failed program was:" >&5
29661sed 's/^/| /' conftest.$ac_ext >&5
29662
29663ac_cv_func_sched_yield=no
29664fi
29665rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29666fi
29667echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29668echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29669if test $ac_cv_func_sched_yield = yes; then
29670 cat >>confdefs.h <<\_ACEOF
29671#define HAVE_SCHED_YIELD 1
29672_ACEOF
29673
29674else
29675
29676 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29677echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29678if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29680else
29681 ac_check_lib_save_LIBS=$LIBS
29682LIBS="-lposix4 $LIBS"
29683cat >conftest.$ac_ext <<_ACEOF
29684#line $LINENO "configure"
29685/* confdefs.h. */
29686_ACEOF
29687cat confdefs.h >>conftest.$ac_ext
29688cat >>conftest.$ac_ext <<_ACEOF
29689/* end confdefs.h. */
29690
29691/* Override any gcc2 internal prototype to avoid an error. */
29692#ifdef __cplusplus
29693extern "C"
29694#endif
29695/* We use char because int might match the return type of a gcc2
29696 builtin and then its argument prototype would still apply. */
29697char sched_yield ();
29698int
29699main ()
29700{
29701sched_yield ();
29702 ;
29703 return 0;
29704}
29705_ACEOF
29706rm -f conftest.$ac_objext conftest$ac_exeext
29707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29708 (eval $ac_link) 2>&5
29709 ac_status=$?
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } &&
29712 { ac_try='test -s conftest$ac_exeext'
29713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29714 (eval $ac_try) 2>&5
29715 ac_status=$?
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); }; }; then
29718 ac_cv_lib_posix4_sched_yield=yes
29719else
29720 echo "$as_me: failed program was:" >&5
29721sed 's/^/| /' conftest.$ac_ext >&5
29722
29723ac_cv_lib_posix4_sched_yield=no
29724fi
29725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29726LIBS=$ac_check_lib_save_LIBS
29727fi
29728echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29729echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29730if test $ac_cv_lib_posix4_sched_yield = yes; then
29731 cat >>confdefs.h <<\_ACEOF
29732#define HAVE_SCHED_YIELD 1
29733_ACEOF
29734 POSIX4_LINK=" -lposix4"
29735else
29736 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29737echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29738
29739fi
29740
29741
29742
29743fi
29744
29745 fi
29746
29747 HAVE_PRIOR_FUNCS=0
29748 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29749echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29750if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29752else
29753 cat >conftest.$ac_ext <<_ACEOF
29754#line $LINENO "configure"
29755/* confdefs.h. */
29756_ACEOF
29757cat confdefs.h >>conftest.$ac_ext
29758cat >>conftest.$ac_ext <<_ACEOF
29759/* end confdefs.h. */
29760/* System header to define __stub macros and hopefully few prototypes,
29761 which can conflict with char pthread_attr_getschedpolicy (); below.
29762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29763 <limits.h> exists even on freestanding compilers. */
29764#ifdef __STDC__
29765# include <limits.h>
29766#else
29767# include <assert.h>
29768#endif
29769/* Override any gcc2 internal prototype to avoid an error. */
29770#ifdef __cplusplus
29771extern "C"
29772{
29773#endif
29774/* We use char because int might match the return type of a gcc2
29775 builtin and then its argument prototype would still apply. */
29776char pthread_attr_getschedpolicy ();
29777/* The GNU C library defines this for functions which it implements
29778 to always fail with ENOSYS. Some functions are actually named
29779 something starting with __ and the normal name is an alias. */
29780#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29781choke me
29782#else
29783char (*f) () = pthread_attr_getschedpolicy;
29784#endif
29785#ifdef __cplusplus
29786}
29787#endif
29788
29789int
29790main ()
29791{
29792return f != pthread_attr_getschedpolicy;
29793 ;
29794 return 0;
29795}
29796_ACEOF
29797rm -f conftest.$ac_objext conftest$ac_exeext
29798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29799 (eval $ac_link) 2>&5
29800 ac_status=$?
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try='test -s conftest$ac_exeext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 ac_cv_func_pthread_attr_getschedpolicy=yes
29810else
29811 echo "$as_me: failed program was:" >&5
29812sed 's/^/| /' conftest.$ac_ext >&5
29813
29814ac_cv_func_pthread_attr_getschedpolicy=no
29815fi
29816rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29817fi
29818echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29819echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29820if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29821 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29822echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29823if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29824 echo $ECHO_N "(cached) $ECHO_C" >&6
29825else
29826 cat >conftest.$ac_ext <<_ACEOF
29827#line $LINENO "configure"
29828/* confdefs.h. */
29829_ACEOF
29830cat confdefs.h >>conftest.$ac_ext
29831cat >>conftest.$ac_ext <<_ACEOF
29832/* end confdefs.h. */
29833/* System header to define __stub macros and hopefully few prototypes,
29834 which can conflict with char pthread_attr_setschedparam (); below.
29835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29836 <limits.h> exists even on freestanding compilers. */
29837#ifdef __STDC__
29838# include <limits.h>
29839#else
29840# include <assert.h>
29841#endif
29842/* Override any gcc2 internal prototype to avoid an error. */
29843#ifdef __cplusplus
29844extern "C"
29845{
29846#endif
29847/* We use char because int might match the return type of a gcc2
29848 builtin and then its argument prototype would still apply. */
29849char pthread_attr_setschedparam ();
29850/* The GNU C library defines this for functions which it implements
29851 to always fail with ENOSYS. Some functions are actually named
29852 something starting with __ and the normal name is an alias. */
29853#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29854choke me
29855#else
29856char (*f) () = pthread_attr_setschedparam;
29857#endif
29858#ifdef __cplusplus
29859}
29860#endif
29861
29862int
29863main ()
29864{
29865return f != pthread_attr_setschedparam;
29866 ;
29867 return 0;
29868}
29869_ACEOF
29870rm -f conftest.$ac_objext conftest$ac_exeext
29871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>&5
29873 ac_status=$?
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try='test -s conftest$ac_exeext'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; }; then
29882 ac_cv_func_pthread_attr_setschedparam=yes
29883else
29884 echo "$as_me: failed program was:" >&5
29885sed 's/^/| /' conftest.$ac_ext >&5
29886
29887ac_cv_func_pthread_attr_setschedparam=no
29888fi
29889rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29890fi
29891echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29892echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29893if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29894 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29895echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29896if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29897 echo $ECHO_N "(cached) $ECHO_C" >&6
29898else
29899 cat >conftest.$ac_ext <<_ACEOF
29900#line $LINENO "configure"
29901/* confdefs.h. */
29902_ACEOF
29903cat confdefs.h >>conftest.$ac_ext
29904cat >>conftest.$ac_ext <<_ACEOF
29905/* end confdefs.h. */
29906/* System header to define __stub macros and hopefully few prototypes,
29907 which can conflict with char sched_get_priority_max (); below.
29908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29909 <limits.h> exists even on freestanding compilers. */
29910#ifdef __STDC__
29911# include <limits.h>
29912#else
29913# include <assert.h>
29914#endif
29915/* Override any gcc2 internal prototype to avoid an error. */
29916#ifdef __cplusplus
29917extern "C"
29918{
29919#endif
29920/* We use char because int might match the return type of a gcc2
29921 builtin and then its argument prototype would still apply. */
29922char sched_get_priority_max ();
29923/* The GNU C library defines this for functions which it implements
29924 to always fail with ENOSYS. Some functions are actually named
29925 something starting with __ and the normal name is an alias. */
29926#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29927choke me
29928#else
29929char (*f) () = sched_get_priority_max;
29930#endif
29931#ifdef __cplusplus
29932}
29933#endif
29934
29935int
29936main ()
29937{
29938return f != sched_get_priority_max;
29939 ;
29940 return 0;
29941}
29942_ACEOF
29943rm -f conftest.$ac_objext conftest$ac_exeext
29944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>&5
29946 ac_status=$?
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); } &&
29949 { ac_try='test -s conftest$ac_exeext'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; }; then
29955 ac_cv_func_sched_get_priority_max=yes
29956else
29957 echo "$as_me: failed program was:" >&5
29958sed 's/^/| /' conftest.$ac_ext >&5
29959
29960ac_cv_func_sched_get_priority_max=no
29961fi
29962rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29963fi
29964echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29965echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29966if test $ac_cv_func_sched_get_priority_max = yes; then
29967 HAVE_PRIOR_FUNCS=1
29968else
29969 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29970echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29971if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29972 echo $ECHO_N "(cached) $ECHO_C" >&6
29973else
29974 ac_check_lib_save_LIBS=$LIBS
29975LIBS="-lposix4 $LIBS"
29976cat >conftest.$ac_ext <<_ACEOF
29977#line $LINENO "configure"
29978/* confdefs.h. */
29979_ACEOF
29980cat confdefs.h >>conftest.$ac_ext
29981cat >>conftest.$ac_ext <<_ACEOF
29982/* end confdefs.h. */
29983
29984/* Override any gcc2 internal prototype to avoid an error. */
29985#ifdef __cplusplus
29986extern "C"
29987#endif
29988/* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990char sched_get_priority_max ();
29991int
29992main ()
29993{
29994sched_get_priority_max ();
29995 ;
29996 return 0;
29997}
29998_ACEOF
29999rm -f conftest.$ac_objext conftest$ac_exeext
30000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try='test -s conftest$ac_exeext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011 ac_cv_lib_posix4_sched_get_priority_max=yes
30012else
30013 echo "$as_me: failed program was:" >&5
30014sed 's/^/| /' conftest.$ac_ext >&5
30015
30016ac_cv_lib_posix4_sched_get_priority_max=no
30017fi
30018rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30019LIBS=$ac_check_lib_save_LIBS
30020fi
30021echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30022echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30023if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30024
30025 HAVE_PRIOR_FUNCS=1
30026 POSIX4_LINK=" -lposix4"
30027
30028fi
30029
30030
30031fi
30032
30033
30034fi
30035
30036
30037fi
30038
30039
30040 if test "$HAVE_PRIOR_FUNCS" = 1; then
30041 cat >>confdefs.h <<\_ACEOF
30042#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30043_ACEOF
30044
30045 else
30046 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30047echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30048 fi
30049
30050 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30051echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30052if test "${ac_cv_func_pthread_cancel+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30054else
30055 cat >conftest.$ac_ext <<_ACEOF
30056#line $LINENO "configure"
30057/* confdefs.h. */
30058_ACEOF
30059cat confdefs.h >>conftest.$ac_ext
30060cat >>conftest.$ac_ext <<_ACEOF
30061/* end confdefs.h. */
30062/* System header to define __stub macros and hopefully few prototypes,
30063 which can conflict with char pthread_cancel (); below.
30064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30065 <limits.h> exists even on freestanding compilers. */
30066#ifdef __STDC__
30067# include <limits.h>
30068#else
30069# include <assert.h>
30070#endif
30071/* Override any gcc2 internal prototype to avoid an error. */
30072#ifdef __cplusplus
30073extern "C"
30074{
30075#endif
30076/* We use char because int might match the return type of a gcc2
30077 builtin and then its argument prototype would still apply. */
30078char pthread_cancel ();
30079/* The GNU C library defines this for functions which it implements
30080 to always fail with ENOSYS. Some functions are actually named
30081 something starting with __ and the normal name is an alias. */
30082#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30083choke me
30084#else
30085char (*f) () = pthread_cancel;
30086#endif
30087#ifdef __cplusplus
30088}
30089#endif
30090
30091int
30092main ()
30093{
30094return f != pthread_cancel;
30095 ;
30096 return 0;
30097}
30098_ACEOF
30099rm -f conftest.$ac_objext conftest$ac_exeext
30100if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30101 (eval $ac_link) 2>&5
30102 ac_status=$?
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } &&
30105 { ac_try='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30108 ac_status=$?
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 ac_cv_func_pthread_cancel=yes
30112else
30113 echo "$as_me: failed program was:" >&5
30114sed 's/^/| /' conftest.$ac_ext >&5
30115
30116ac_cv_func_pthread_cancel=no
30117fi
30118rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30119fi
30120echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30121echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30122if test $ac_cv_func_pthread_cancel = yes; then
30123 cat >>confdefs.h <<\_ACEOF
30124#define HAVE_PTHREAD_CANCEL 1
30125_ACEOF
30126
30127else
30128 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30129echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30130fi
30131
30132
30133
30134
30135 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30136echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30137if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30139else
30140
30141 cat >conftest.$ac_ext <<_ACEOF
30142#line $LINENO "configure"
30143/* confdefs.h. */
30144_ACEOF
30145cat confdefs.h >>conftest.$ac_ext
30146cat >>conftest.$ac_ext <<_ACEOF
30147/* end confdefs.h. */
30148#include <pthread.h>
30149int
30150main ()
30151{
30152
30153 pthread_mutexattr_t attr;
30154 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30155
30156 ;
30157 return 0;
30158}
30159_ACEOF
30160rm -f conftest.$ac_objext
30161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30162 (eval $ac_compile) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try='test -s conftest.$ac_objext'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; }; then
30172
30173 wx_cv_type_pthread_mutexattr_t=yes
30174
30175else
30176 echo "$as_me: failed program was:" >&5
30177sed 's/^/| /' conftest.$ac_ext >&5
30178
30179
30180 wx_cv_type_pthread_mutexattr_t=no
30181
30182
30183fi
30184rm -f conftest.$ac_objext conftest.$ac_ext
30185
30186fi
30187echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30188echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30189
30190 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30191 cat >>confdefs.h <<\_ACEOF
30192#define HAVE_PTHREAD_MUTEXATTR_T 1
30193_ACEOF
30194
30195 else
30196 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30197echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30198if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30200else
30201
30202 cat >conftest.$ac_ext <<_ACEOF
30203#line $LINENO "configure"
30204/* confdefs.h. */
30205_ACEOF
30206cat confdefs.h >>conftest.$ac_ext
30207cat >>conftest.$ac_ext <<_ACEOF
30208/* end confdefs.h. */
30209#include <pthread.h>
30210int
30211main ()
30212{
30213
30214 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30215
30216 ;
30217 return 0;
30218}
30219_ACEOF
30220rm -f conftest.$ac_objext
30221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30222 (eval $ac_compile) 2>&5
30223 ac_status=$?
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); } &&
30226 { ac_try='test -s conftest.$ac_objext'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; }; then
30232
30233 wx_cv_type_pthread_rec_mutex_init=yes
30234
30235else
30236 echo "$as_me: failed program was:" >&5
30237sed 's/^/| /' conftest.$ac_ext >&5
30238
30239
30240 wx_cv_type_pthread_rec_mutex_init=no
30241
30242
30243fi
30244rm -f conftest.$ac_objext conftest.$ac_ext
30245
30246fi
30247echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30248echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30249 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30250 cat >>confdefs.h <<\_ACEOF
30251#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30252_ACEOF
30253
30254 else
30255 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30256echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30257 fi
30258 fi
30259 fi
30260
30261else
30262 if test "$wxUSE_THREADS" = "yes" ; then
30263 case "${host}" in
30264 *-*-mingw32* )
30265 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30266echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30267if test "${wx_cv_cflags_mthread+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30269else
30270
30271 CFLAGS_OLD="$CFLAGS"
30272 CFLAGS="$CFLAGS -mthreads"
30273 cat >conftest.$ac_ext <<_ACEOF
30274#line $LINENO "configure"
30275/* confdefs.h. */
30276_ACEOF
30277cat confdefs.h >>conftest.$ac_ext
30278cat >>conftest.$ac_ext <<_ACEOF
30279/* end confdefs.h. */
30280
30281int
30282main ()
30283{
30284
30285 ;
30286 return 0;
30287}
30288_ACEOF
30289rm -f conftest.$ac_objext
30290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30291 (eval $ac_compile) 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); } &&
30295 { ac_try='test -s conftest.$ac_objext'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; }; then
30301 wx_cv_cflags_mthread=yes
30302else
30303 echo "$as_me: failed program was:" >&5
30304sed 's/^/| /' conftest.$ac_ext >&5
30305
30306wx_cv_cflags_mthread=no
30307
30308fi
30309rm -f conftest.$ac_objext conftest.$ac_ext
30310
30311
30312fi
30313echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30314echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30315
30316 if test "$wx_cv_cflags_mthread" = "yes"; then
30317 CXXFLAGS="$CXXFLAGS -mthreads"
30318 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30319 LDFLAGS="$LDFLAGS -mthreads"
30320 else
30321 CFLAGS="$CFLAGS_OLD"
30322 fi
30323 ;;
30324 *-pc-os2*emx )
30325 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30326 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30327 LDFLAGS="$LDFLAGS -Zmt"
30328 ;;
30329 esac
30330 fi
30331fi
30332
30333if test "$wxUSE_THREADS" = "yes"; then
30334 cat >>confdefs.h <<\_ACEOF
30335#define wxUSE_THREADS 1
30336_ACEOF
30337
30338
30339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30340else
30341 if test "$ac_cv_func_strtok_r" = "yes"; then
30342 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30343echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30344 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30345 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30346 echo "$as_me:$LINENO: result: yes" >&5
30347echo "${ECHO_T}yes" >&6
30348 else
30349 echo "$as_me:$LINENO: result: no" >&5
30350echo "${ECHO_T}no" >&6
30351 fi
30352 fi
30353fi
30354
30355if test "$WXGTK20" = 1 ; then
30356 cat >>confdefs.h <<_ACEOF
30357#define __WXGTK20__ $WXGTK20
30358_ACEOF
30359
30360 WXGTK12=1
30361fi
30362
30363if test "$WXGTK12" = 1 ; then
30364 cat >>confdefs.h <<_ACEOF
30365#define __WXGTK12__ $WXGTK12
30366_ACEOF
30367
30368fi
30369
30370if test "$WXGTK127" = 1 ; then
30371 cat >>confdefs.h <<_ACEOF
30372#define __WXGTK127__ $WXGTK127
30373_ACEOF
30374
30375fi
30376
30377WXDEBUG=
30378
30379if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30380 WXDEBUG="-g"
30381 wxUSE_OPTIMISE=no
30382fi
30383
30384if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30385 wxUSE_DEBUG_INFO=yes
30386 WXDEBUG="-ggdb"
30387fi
30388
30389if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30390 cat >>confdefs.h <<\_ACEOF
30391#define WXDEBUG 1
30392_ACEOF
30393
30394 WXDEBUG_DEFINE="-D__WXDEBUG__"
30395else
30396 if test "$wxUSE_GTK" = 1 ; then
30397 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30398 fi
30399fi
30400
30401if test "$wxUSE_MEM_TRACING" = "yes" ; then
30402 cat >>confdefs.h <<\_ACEOF
30403#define wxUSE_MEMORY_TRACING 1
30404_ACEOF
30405
30406 cat >>confdefs.h <<\_ACEOF
30407#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30408_ACEOF
30409
30410 cat >>confdefs.h <<\_ACEOF
30411#define wxUSE_DEBUG_NEW_ALWAYS 1
30412_ACEOF
30413
30414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30415fi
30416
30417if test "$wxUSE_DMALLOC" = "yes" ; then
30418 DMALLOC_LIBS="-ldmalloc"
30419fi
30420
30421PROFILE=
30422if test "$wxUSE_PROFILE" = "yes" ; then
30423 PROFILE=" -pg"
30424fi
30425
30426CODE_GEN_FLAGS=
30427CODE_GEN_FLAGS_CXX=
30428if test "$GCC" = "yes" ; then
30429 if test "$wxUSE_NO_RTTI" = "yes" ; then
30430 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30431 fi
30432 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30433 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30434 fi
30435 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30436 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30437 fi
30438
30439 case "${host}" in
30440 powerpc*-*-aix* )
30441 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30442 ;;
30443 *-hppa* )
30444 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30445 ;;
30446 esac
30447fi
30448
30449OPTIMISE=
30450if test "$wxUSE_OPTIMISE" = "no" ; then
30451 if test "$GCC" = yes ; then
30452 OPTIMISE="-O0"
30453 fi
30454else
30455 if test "$GCC" = yes ; then
30456 OPTIMISE="-O2"
30457
30458 case "${host}" in
30459 i586-*-*|i686-*-* )
30460 OPTIMISE="${OPTIMISE} "
30461 ;;
30462 esac
30463 else
30464 OPTIMISE="-O"
30465 fi
30466fi
30467
30468
30469if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30470 cat >>confdefs.h <<\_ACEOF
30471#define WXWIN_COMPATIBILITY_2_2 1
30472_ACEOF
30473
30474
30475 WXWIN_COMPATIBILITY_2_4="yes"
30476fi
30477
30478if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30479 cat >>confdefs.h <<\_ACEOF
30480#define WXWIN_COMPATIBILITY_2_4 1
30481_ACEOF
30482
30483fi
30484
30485
30486if test "$wxUSE_GUI" = "yes"; then
30487 cat >>confdefs.h <<\_ACEOF
30488#define wxUSE_GUI 1
30489_ACEOF
30490
30491
30492 else
30493 cat >>confdefs.h <<\_ACEOF
30494#define wxUSE_NOGUI 1
30495_ACEOF
30496
30497fi
30498
30499
30500if test "$wxUSE_UNIX" = "yes"; then
30501 cat >>confdefs.h <<\_ACEOF
30502#define wxUSE_UNIX 1
30503_ACEOF
30504
30505fi
30506
30507
30508if test "$wxUSE_STL" = "yes"; then
30509 cat >>confdefs.h <<\_ACEOF
30510#define wxUSE_STL 1
30511_ACEOF
30512
30513fi
30514
30515if test "$wxUSE_APPLE_IEEE" = "yes"; then
30516 cat >>confdefs.h <<\_ACEOF
30517#define wxUSE_APPLE_IEEE 1
30518_ACEOF
30519
30520fi
30521
30522if test "$wxUSE_TIMER" = "yes"; then
30523 cat >>confdefs.h <<\_ACEOF
30524#define wxUSE_TIMER 1
30525_ACEOF
30526
30527fi
30528
30529if test "$wxUSE_WAVE" = "yes"; then
30530 cat >>confdefs.h <<\_ACEOF
30531#define wxUSE_WAVE 1
30532_ACEOF
30533
30534fi
30535
30536if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30537 cat >>confdefs.h <<\_ACEOF
30538#define wxUSE_CMDLINE_PARSER 1
30539_ACEOF
30540
30541fi
30542
30543if test "$wxUSE_STOPWATCH" = "yes"; then
30544 cat >>confdefs.h <<\_ACEOF
30545#define wxUSE_STOPWATCH 1
30546_ACEOF
30547
30548fi
30549
30550if test "$wxUSE_DATETIME" = "yes"; then
30551 cat >>confdefs.h <<\_ACEOF
30552#define wxUSE_DATETIME 1
30553_ACEOF
30554
30555fi
30556
30557if test "$wxUSE_FILE" = "yes"; then
30558 cat >>confdefs.h <<\_ACEOF
30559#define wxUSE_FILE 1
30560_ACEOF
30561
30562fi
30563
30564if test "$wxUSE_FFILE" = "yes"; then
30565 cat >>confdefs.h <<\_ACEOF
30566#define wxUSE_FFILE 1
30567_ACEOF
30568
30569fi
30570
30571if test "$wxUSE_FILESYSTEM" = "yes"; then
30572 cat >>confdefs.h <<\_ACEOF
30573#define wxUSE_FILESYSTEM 1
30574_ACEOF
30575
30576fi
30577
30578if test "$wxUSE_FS_ZIP" = "yes"; then
30579 cat >>confdefs.h <<\_ACEOF
30580#define wxUSE_FS_ZIP 1
30581_ACEOF
30582
30583fi
30584
30585if test "$wxUSE_ZIPSTREAM" = "yes"; then
30586 cat >>confdefs.h <<\_ACEOF
30587#define wxUSE_ZIPSTREAM 1
30588_ACEOF
30589
30590fi
30591
30592if test "$wxUSE_GZSTREAM" = "yes"; then
30593 cat >>confdefs.h <<\_ACEOF
30594#define wxUSE_GZSTREAM 1
30595_ACEOF
30596
30597fi
30598
30599if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30600 cat >>confdefs.h <<\_ACEOF
30601#define wxUSE_ON_FATAL_EXCEPTION 1
30602_ACEOF
30603
30604fi
30605
30606if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30607 cat >>confdefs.h <<\_ACEOF
30608#define wxUSE_SNGLINST_CHECKER 1
30609_ACEOF
30610
30611fi
30612
30613if test "$wxUSE_BUSYINFO" = "yes"; then
30614 cat >>confdefs.h <<\_ACEOF
30615#define wxUSE_BUSYINFO 1
30616_ACEOF
30617
30618fi
30619
30620if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30621 cat >>confdefs.h <<\_ACEOF
30622#define wxUSE_STD_IOSTREAM 1
30623_ACEOF
30624
30625fi
30626
30627if test "$wxUSE_TEXTBUFFER" = "yes"; then
30628 cat >>confdefs.h <<\_ACEOF
30629#define wxUSE_TEXTBUFFER 1
30630_ACEOF
30631
30632fi
30633
30634if test "$wxUSE_TEXTFILE" = "yes"; then
30635 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30636 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30637echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30638 else
30639 cat >>confdefs.h <<\_ACEOF
30640#define wxUSE_TEXTFILE 1
30641_ACEOF
30642
30643 fi
30644fi
30645
30646if test "$wxUSE_CONFIG" = "yes" ; then
30647 if test "$wxUSE_TEXTFILE" != "yes"; then
30648 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30649echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30650 else
30651 cat >>confdefs.h <<\_ACEOF
30652#define wxUSE_CONFIG 1
30653_ACEOF
30654
30655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30656 fi
30657fi
30658
30659if test "$wxUSE_INTL" = "yes" ; then
30660 if test "$wxUSE_FILE" != "yes"; then
30661 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30662echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30663 else
30664 cat >>confdefs.h <<\_ACEOF
30665#define wxUSE_INTL 1
30666_ACEOF
30667
30668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30669 GUIDIST="$GUIDIST INTL_DIST"
30670 fi
30671fi
30672
30673if test "$wxUSE_LOG" = "yes"; then
30674 cat >>confdefs.h <<\_ACEOF
30675#define wxUSE_LOG 1
30676_ACEOF
30677
30678
30679 if test "$wxUSE_LOGGUI" = "yes"; then
30680 cat >>confdefs.h <<\_ACEOF
30681#define wxUSE_LOGGUI 1
30682_ACEOF
30683
30684 fi
30685
30686 if test "$wxUSE_LOGWINDOW" = "yes"; then
30687 cat >>confdefs.h <<\_ACEOF
30688#define wxUSE_LOGWINDOW 1
30689_ACEOF
30690
30691 fi
30692
30693 if test "$wxUSE_LOGDIALOG" = "yes"; then
30694 cat >>confdefs.h <<\_ACEOF
30695#define wxUSE_LOG_DIALOG 1
30696_ACEOF
30697
30698 fi
30699fi
30700
30701if test "$wxUSE_LONGLONG" = "yes"; then
30702 cat >>confdefs.h <<\_ACEOF
30703#define wxUSE_LONGLONG 1
30704_ACEOF
30705
30706fi
30707
30708if test "$wxUSE_GEOMETRY" = "yes"; then
30709 cat >>confdefs.h <<\_ACEOF
30710#define wxUSE_GEOMETRY 1
30711_ACEOF
30712
30713fi
30714
30715if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30716 cat >>confdefs.h <<\_ACEOF
30717#define wxUSE_DIALUP_MANAGER 1
30718_ACEOF
30719
30720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30721fi
30722
30723if test "$wxUSE_STREAMS" = "yes" ; then
30724 cat >>confdefs.h <<\_ACEOF
30725#define wxUSE_STREAMS 1
30726_ACEOF
30727
30728fi
30729
30730
30731if test "$wxUSE_DATETIME" = "yes"; then
30732
30733for ac_func in strptime
30734do
30735as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30736echo "$as_me:$LINENO: checking for $ac_func" >&5
30737echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30738if eval "test \"\${$as_ac_var+set}\" = set"; then
30739 echo $ECHO_N "(cached) $ECHO_C" >&6
30740else
30741 cat >conftest.$ac_ext <<_ACEOF
30742#line $LINENO "configure"
30743/* confdefs.h. */
30744_ACEOF
30745cat confdefs.h >>conftest.$ac_ext
30746cat >>conftest.$ac_ext <<_ACEOF
30747/* end confdefs.h. */
30748/* System header to define __stub macros and hopefully few prototypes,
30749 which can conflict with char $ac_func (); below.
30750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30751 <limits.h> exists even on freestanding compilers. */
30752#ifdef __STDC__
30753# include <limits.h>
30754#else
30755# include <assert.h>
30756#endif
30757/* Override any gcc2 internal prototype to avoid an error. */
30758#ifdef __cplusplus
30759extern "C"
30760{
30761#endif
30762/* We use char because int might match the return type of a gcc2
30763 builtin and then its argument prototype would still apply. */
30764char $ac_func ();
30765/* The GNU C library defines this for functions which it implements
30766 to always fail with ENOSYS. Some functions are actually named
30767 something starting with __ and the normal name is an alias. */
30768#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30769choke me
30770#else
30771char (*f) () = $ac_func;
30772#endif
30773#ifdef __cplusplus
30774}
30775#endif
30776
30777int
30778main ()
30779{
30780return f != $ac_func;
30781 ;
30782 return 0;
30783}
30784_ACEOF
30785rm -f conftest.$ac_objext conftest$ac_exeext
30786if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30787 (eval $ac_link) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try='test -s conftest$ac_exeext'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30797 eval "$as_ac_var=yes"
30798else
30799 echo "$as_me: failed program was:" >&5
30800sed 's/^/| /' conftest.$ac_ext >&5
30801
30802eval "$as_ac_var=no"
30803fi
30804rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30805fi
30806echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h <<_ACEOF
30810#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30811_ACEOF
30812
30813fi
30814done
30815
30816
30817 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30818echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30819if test "${wx_cv_var_timezone+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30821else
30822
30823 cat >conftest.$ac_ext <<_ACEOF
30824#line $LINENO "configure"
30825/* confdefs.h. */
30826_ACEOF
30827cat confdefs.h >>conftest.$ac_ext
30828cat >>conftest.$ac_ext <<_ACEOF
30829/* end confdefs.h. */
30830
30831 #include <time.h>
30832
30833int
30834main ()
30835{
30836
30837 int tz;
30838 tz = timezone;
30839
30840 ;
30841 return 0;
30842}
30843_ACEOF
30844rm -f conftest.$ac_objext
30845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30856
30857 wx_cv_var_timezone=timezone
30858
30859else
30860 echo "$as_me: failed program was:" >&5
30861sed 's/^/| /' conftest.$ac_ext >&5
30862
30863
30864 cat >conftest.$ac_ext <<_ACEOF
30865#line $LINENO "configure"
30866/* confdefs.h. */
30867_ACEOF
30868cat confdefs.h >>conftest.$ac_ext
30869cat >>conftest.$ac_ext <<_ACEOF
30870/* end confdefs.h. */
30871
30872 #include <time.h>
30873
30874int
30875main ()
30876{
30877
30878 int tz;
30879 tz = _timezone;
30880
30881 ;
30882 return 0;
30883}
30884_ACEOF
30885rm -f conftest.$ac_objext
30886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30887 (eval $ac_compile) 2>&5
30888 ac_status=$?
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try='test -s conftest.$ac_objext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30894 ac_status=$?
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897
30898 wx_cv_var_timezone=_timezone
30899
30900else
30901 echo "$as_me: failed program was:" >&5
30902sed 's/^/| /' conftest.$ac_ext >&5
30903
30904
30905 cat >conftest.$ac_ext <<_ACEOF
30906#line $LINENO "configure"
30907/* confdefs.h. */
30908_ACEOF
30909cat confdefs.h >>conftest.$ac_ext
30910cat >>conftest.$ac_ext <<_ACEOF
30911/* end confdefs.h. */
30912
30913 #include <time.h>
30914
30915int
30916main ()
30917{
30918
30919 int tz;
30920 tz = __timezone;
30921
30922 ;
30923 return 0;
30924}
30925_ACEOF
30926rm -f conftest.$ac_objext
30927if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30928 (eval $ac_compile) 2>&5
30929 ac_status=$?
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
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938
30939 wx_cv_var_timezone=__timezone
30940
30941else
30942 echo "$as_me: failed program was:" >&5
30943sed 's/^/| /' conftest.$ac_ext >&5
30944
30945
30946 if test "$USE_DOS" = 0 ; then
30947 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30948echo "$as_me: WARNING: no timezone variable" >&2;}
30949 fi
30950
30951
30952fi
30953rm -f conftest.$ac_objext conftest.$ac_ext
30954
30955
30956fi
30957rm -f conftest.$ac_objext conftest.$ac_ext
30958
30959
30960fi
30961rm -f conftest.$ac_objext conftest.$ac_ext
30962
30963
30964fi
30965echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30966echo "${ECHO_T}$wx_cv_var_timezone" >&6
30967
30968 if test "x$wx_cv_var_timezone" != x ; then
30969 cat >>confdefs.h <<_ACEOF
30970#define WX_TIMEZONE $wx_cv_var_timezone
30971_ACEOF
30972
30973 fi
30974
30975
30976for ac_func in localtime
30977do
30978as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30979echo "$as_me:$LINENO: checking for $ac_func" >&5
30980echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30981if eval "test \"\${$as_ac_var+set}\" = set"; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30983else
30984 cat >conftest.$ac_ext <<_ACEOF
30985#line $LINENO "configure"
30986/* confdefs.h. */
30987_ACEOF
30988cat confdefs.h >>conftest.$ac_ext
30989cat >>conftest.$ac_ext <<_ACEOF
30990/* end confdefs.h. */
30991/* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char $ac_func (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30995#ifdef __STDC__
30996# include <limits.h>
30997#else
30998# include <assert.h>
30999#endif
31000/* Override any gcc2 internal prototype to avoid an error. */
31001#ifdef __cplusplus
31002extern "C"
31003{
31004#endif
31005/* We use char because int might match the return type of a gcc2
31006 builtin and then its argument prototype would still apply. */
31007char $ac_func ();
31008/* The GNU C library defines this for functions which it implements
31009 to always fail with ENOSYS. Some functions are actually named
31010 something starting with __ and the normal name is an alias. */
31011#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31012choke me
31013#else
31014char (*f) () = $ac_func;
31015#endif
31016#ifdef __cplusplus
31017}
31018#endif
31019
31020int
31021main ()
31022{
31023return f != $ac_func;
31024 ;
31025 return 0;
31026}
31027_ACEOF
31028rm -f conftest.$ac_objext conftest$ac_exeext
31029if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31030 (eval $ac_link) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } &&
31034 { ac_try='test -s conftest$ac_exeext'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31037 ac_status=$?
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; }; then
31040 eval "$as_ac_var=yes"
31041else
31042 echo "$as_me: failed program was:" >&5
31043sed 's/^/| /' conftest.$ac_ext >&5
31044
31045eval "$as_ac_var=no"
31046fi
31047rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31048fi
31049echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31050echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31051if test `eval echo '${'$as_ac_var'}'` = yes; then
31052 cat >>confdefs.h <<_ACEOF
31053#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054_ACEOF
31055
31056fi
31057done
31058
31059
31060 if test "$ac_cv_func_localtime" = "yes"; then
31061 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31062echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31063if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31065else
31066
31067 cat >conftest.$ac_ext <<_ACEOF
31068#line $LINENO "configure"
31069/* confdefs.h. */
31070_ACEOF
31071cat confdefs.h >>conftest.$ac_ext
31072cat >>conftest.$ac_ext <<_ACEOF
31073/* end confdefs.h. */
31074
31075 #include <time.h>
31076
31077int
31078main ()
31079{
31080
31081 struct tm tm;
31082 tm.tm_gmtoff++;
31083
31084 ;
31085 return 0;
31086}
31087_ACEOF
31088rm -f conftest.$ac_objext
31089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31090 (eval $ac_compile) 2>&5
31091 ac_status=$?
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try='test -s conftest.$ac_objext'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31097 ac_status=$?
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31100
31101 wx_cv_struct_tm_has_gmtoff=yes
31102
31103else
31104 echo "$as_me: failed program was:" >&5
31105sed 's/^/| /' conftest.$ac_ext >&5
31106
31107wx_cv_struct_tm_has_gmtoff=no
31108
31109fi
31110rm -f conftest.$ac_objext conftest.$ac_ext
31111
31112fi
31113echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31114echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31115 fi
31116
31117 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31118 cat >>confdefs.h <<\_ACEOF
31119#define WX_GMTOFF_IN_TM 1
31120_ACEOF
31121
31122 fi
31123
31124
31125
31126for ac_func in gettimeofday ftime
31127do
31128as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31129echo "$as_me:$LINENO: checking for $ac_func" >&5
31130echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31131if eval "test \"\${$as_ac_var+set}\" = set"; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133else
31134 cat >conftest.$ac_ext <<_ACEOF
31135#line $LINENO "configure"
31136/* confdefs.h. */
31137_ACEOF
31138cat confdefs.h >>conftest.$ac_ext
31139cat >>conftest.$ac_ext <<_ACEOF
31140/* end confdefs.h. */
31141/* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char $ac_func (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31145#ifdef __STDC__
31146# include <limits.h>
31147#else
31148# include <assert.h>
31149#endif
31150/* Override any gcc2 internal prototype to avoid an error. */
31151#ifdef __cplusplus
31152extern "C"
31153{
31154#endif
31155/* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31157char $ac_func ();
31158/* The GNU C library defines this for functions which it implements
31159 to always fail with ENOSYS. Some functions are actually named
31160 something starting with __ and the normal name is an alias. */
31161#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31162choke me
31163#else
31164char (*f) () = $ac_func;
31165#endif
31166#ifdef __cplusplus
31167}
31168#endif
31169
31170int
31171main ()
31172{
31173return f != $ac_func;
31174 ;
31175 return 0;
31176}
31177_ACEOF
31178rm -f conftest.$ac_objext conftest$ac_exeext
31179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try='test -s conftest$ac_exeext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31187 ac_status=$?
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 eval "$as_ac_var=yes"
31191else
31192 echo "$as_me: failed program was:" >&5
31193sed 's/^/| /' conftest.$ac_ext >&5
31194
31195eval "$as_ac_var=no"
31196fi
31197rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31198fi
31199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31200echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31201if test `eval echo '${'$as_ac_var'}'` = yes; then
31202 cat >>confdefs.h <<_ACEOF
31203#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31204_ACEOF
31205 break
31206fi
31207done
31208
31209
31210 if test "$ac_cv_func_gettimeofday" = "yes"; then
31211 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31212echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31213if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31215else
31216
31217
31218
31219 ac_ext=cc
31220ac_cpp='$CXXCPP $CPPFLAGS'
31221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31224
31225
31226 cat >conftest.$ac_ext <<_ACEOF
31227#line $LINENO "configure"
31228/* confdefs.h. */
31229_ACEOF
31230cat confdefs.h >>conftest.$ac_ext
31231cat >>conftest.$ac_ext <<_ACEOF
31232/* end confdefs.h. */
31233
31234 #include <sys/time.h>
31235 #include <unistd.h>
31236
31237int
31238main ()
31239{
31240
31241 struct timeval tv;
31242 gettimeofday(&tv, NULL);
31243
31244 ;
31245 return 0;
31246}
31247_ACEOF
31248rm -f conftest.$ac_objext
31249if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31250 (eval $ac_compile) 2>&5
31251 ac_status=$?
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } &&
31254 { ac_try='test -s conftest.$ac_objext'
31255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256 (eval $ac_try) 2>&5
31257 ac_status=$?
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); }; }; then
31260 wx_cv_func_gettimeofday_has_2_args=yes
31261else
31262 echo "$as_me: failed program was:" >&5
31263sed 's/^/| /' conftest.$ac_ext >&5
31264
31265cat >conftest.$ac_ext <<_ACEOF
31266#line $LINENO "configure"
31267/* confdefs.h. */
31268_ACEOF
31269cat confdefs.h >>conftest.$ac_ext
31270cat >>conftest.$ac_ext <<_ACEOF
31271/* end confdefs.h. */
31272
31273 #include <sys/time.h>
31274 #include <unistd.h>
31275
31276int
31277main ()
31278{
31279
31280 struct timeval tv;
31281 gettimeofday(&tv);
31282
31283 ;
31284 return 0;
31285}
31286_ACEOF
31287rm -f conftest.$ac_objext
31288if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31289 (eval $ac_compile) 2>&5
31290 ac_status=$?
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); } &&
31293 { ac_try='test -s conftest.$ac_objext'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31296 ac_status=$?
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; }; then
31299 wx_cv_func_gettimeofday_has_2_args=no
31300else
31301 echo "$as_me: failed program was:" >&5
31302sed 's/^/| /' conftest.$ac_ext >&5
31303
31304
31305 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31306echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31307 wx_cv_func_gettimeofday_has_2_args=unknown
31308
31309
31310fi
31311rm -f conftest.$ac_objext conftest.$ac_ext
31312
31313fi
31314rm -f conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316ac_cpp='$CPP $CPPFLAGS'
31317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319ac_compiler_gnu=$ac_cv_c_compiler_gnu
31320
31321
31322fi
31323echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31324echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31325
31326 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31327 cat >>confdefs.h <<\_ACEOF
31328#define WX_GETTIMEOFDAY_NO_TZ 1
31329_ACEOF
31330
31331 fi
31332 fi
31333
31334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31335fi
31336
31337
31338if test "$wxUSE_SOCKETS" = "yes"; then
31339 if test "$wxUSE_MGL" = "1"; then
31340 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31341echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31342 wxUSE_SOCKETS="no"
31343 fi
31344 if test "$wxUSE_COCOA" = "1"; then
31345 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31346echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31347 wxUSE_SOCKETS="no"
31348 fi
31349fi
31350
31351if test "$wxUSE_SOCKETS" = "yes"; then
31352 if test "$TOOLKIT" != "MSW"; then
31353 echo "$as_me:$LINENO: checking for socket" >&5
31354echo $ECHO_N "checking for socket... $ECHO_C" >&6
31355if test "${ac_cv_func_socket+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357else
31358 cat >conftest.$ac_ext <<_ACEOF
31359#line $LINENO "configure"
31360/* confdefs.h. */
31361_ACEOF
31362cat confdefs.h >>conftest.$ac_ext
31363cat >>conftest.$ac_ext <<_ACEOF
31364/* end confdefs.h. */
31365/* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char socket (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31369#ifdef __STDC__
31370# include <limits.h>
31371#else
31372# include <assert.h>
31373#endif
31374/* Override any gcc2 internal prototype to avoid an error. */
31375#ifdef __cplusplus
31376extern "C"
31377{
31378#endif
31379/* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31381char socket ();
31382/* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385#if defined (__stub_socket) || defined (__stub___socket)
31386choke me
31387#else
31388char (*f) () = socket;
31389#endif
31390#ifdef __cplusplus
31391}
31392#endif
31393
31394int
31395main ()
31396{
31397return f != socket;
31398 ;
31399 return 0;
31400}
31401_ACEOF
31402rm -f conftest.$ac_objext conftest$ac_exeext
31403if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_func_socket=yes
31415else
31416 echo "$as_me: failed program was:" >&5
31417sed 's/^/| /' conftest.$ac_ext >&5
31418
31419ac_cv_func_socket=no
31420fi
31421rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31422fi
31423echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31424echo "${ECHO_T}$ac_cv_func_socket" >&6
31425if test $ac_cv_func_socket = yes; then
31426 :
31427else
31428
31429 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31430echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31431if test "${ac_cv_lib_socket_socket+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31433else
31434 ac_check_lib_save_LIBS=$LIBS
31435LIBS="-lsocket $LIBS"
31436cat >conftest.$ac_ext <<_ACEOF
31437#line $LINENO "configure"
31438/* confdefs.h. */
31439_ACEOF
31440cat confdefs.h >>conftest.$ac_ext
31441cat >>conftest.$ac_ext <<_ACEOF
31442/* end confdefs.h. */
31443
31444/* Override any gcc2 internal prototype to avoid an error. */
31445#ifdef __cplusplus
31446extern "C"
31447#endif
31448/* We use char because int might match the return type of a gcc2
31449 builtin and then its argument prototype would still apply. */
31450char socket ();
31451int
31452main ()
31453{
31454socket ();
31455 ;
31456 return 0;
31457}
31458_ACEOF
31459rm -f conftest.$ac_objext conftest$ac_exeext
31460if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31461 (eval $ac_link) 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); } &&
31465 { ac_try='test -s conftest$ac_exeext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31468 ac_status=$?
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_cv_lib_socket_socket=yes
31472else
31473 echo "$as_me: failed program was:" >&5
31474sed 's/^/| /' conftest.$ac_ext >&5
31475
31476ac_cv_lib_socket_socket=no
31477fi
31478rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31479LIBS=$ac_check_lib_save_LIBS
31480fi
31481echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31482echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31483if test $ac_cv_lib_socket_socket = yes; then
31484 if test "$INET_LINK" != " -lsocket"; then
31485 INET_LINK="$INET_LINK -lsocket"
31486 fi
31487else
31488
31489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31490echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31491 wxUSE_SOCKETS=no
31492
31493
31494fi
31495
31496
31497
31498fi
31499
31500 fi
31501fi
31502
31503if test "$wxUSE_SOCKETS" = "yes" ; then
31504 if test "$TOOLKIT" != "MSW"; then
31505 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31506echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31507if test "${wx_cv_type_getsockname3+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31509else
31510
31511 cat >conftest.$ac_ext <<_ACEOF
31512#line $LINENO "configure"
31513/* confdefs.h. */
31514_ACEOF
31515cat confdefs.h >>conftest.$ac_ext
31516cat >>conftest.$ac_ext <<_ACEOF
31517/* end confdefs.h. */
31518
31519 #include <sys/types.h>
31520 #include <sys/socket.h>
31521
31522int
31523main ()
31524{
31525
31526 socklen_t len;
31527 getsockname(0, 0, &len);
31528
31529 ;
31530 return 0;
31531}
31532_ACEOF
31533rm -f conftest.$ac_objext
31534if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535 (eval $ac_compile) 2>&5
31536 ac_status=$?
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try='test -s conftest.$ac_objext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31542 ac_status=$?
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 wx_cv_type_getsockname3=socklen_t
31546else
31547 echo "$as_me: failed program was:" >&5
31548sed 's/^/| /' conftest.$ac_ext >&5
31549
31550
31551 CFLAGS_OLD="$CFLAGS"
31552 if test "$GCC" = yes ; then
31553 CFLAGS="$CFLAGS -Werror"
31554 fi
31555
31556 cat >conftest.$ac_ext <<_ACEOF
31557#line $LINENO "configure"
31558/* confdefs.h. */
31559_ACEOF
31560cat confdefs.h >>conftest.$ac_ext
31561cat >>conftest.$ac_ext <<_ACEOF
31562/* end confdefs.h. */
31563
31564 #include <sys/types.h>
31565 #include <sys/socket.h>
31566
31567int
31568main ()
31569{
31570
31571 size_t len;
31572 getsockname(0, 0, &len);
31573
31574 ;
31575 return 0;
31576}
31577_ACEOF
31578rm -f conftest.$ac_objext
31579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31580 (eval $ac_compile) 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try='test -s conftest.$ac_objext'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31587 ac_status=$?
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; }; then
31590 wx_cv_type_getsockname3=size_t
31591else
31592 echo "$as_me: failed program was:" >&5
31593sed 's/^/| /' conftest.$ac_ext >&5
31594
31595cat >conftest.$ac_ext <<_ACEOF
31596#line $LINENO "configure"
31597/* confdefs.h. */
31598_ACEOF
31599cat confdefs.h >>conftest.$ac_ext
31600cat >>conftest.$ac_ext <<_ACEOF
31601/* end confdefs.h. */
31602
31603 #include <sys/types.h>
31604 #include <sys/socket.h>
31605
31606int
31607main ()
31608{
31609
31610 int len;
31611 getsockname(0, 0, &len);
31612
31613 ;
31614 return 0;
31615}
31616_ACEOF
31617rm -f conftest.$ac_objext
31618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try='test -s conftest.$ac_objext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 wx_cv_type_getsockname3=int
31630else
31631 echo "$as_me: failed program was:" >&5
31632sed 's/^/| /' conftest.$ac_ext >&5
31633
31634wx_cv_type_getsockname3=unknown
31635
31636fi
31637rm -f conftest.$ac_objext conftest.$ac_ext
31638
31639fi
31640rm -f conftest.$ac_objext conftest.$ac_ext
31641
31642 CFLAGS="$CFLAGS_OLD"
31643
31644
31645fi
31646rm -f conftest.$ac_objext conftest.$ac_ext
31647
31648fi
31649echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31650echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31651
31652 if test "$wx_cv_type_getsockname3" = "unknown"; then
31653 wxUSE_SOCKETS=no
31654 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31655echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31656 else
31657 cat >>confdefs.h <<_ACEOF
31658#define SOCKLEN_T $wx_cv_type_getsockname3
31659_ACEOF
31660
31661 fi
31662 fi
31663fi
31664
31665if test "$wxUSE_SOCKETS" = "yes" ; then
31666 cat >>confdefs.h <<\_ACEOF
31667#define wxUSE_SOCKETS 1
31668_ACEOF
31669
31670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31671fi
31672
31673if test "$wxUSE_PROTOCOL" = "yes"; then
31674 if test "$wxUSE_SOCKETS" != "yes"; then
31675 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31676echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31677 wxUSE_PROTOCOL=no
31678 fi
31679fi
31680
31681if test "$wxUSE_PROTOCOL" = "yes"; then
31682 cat >>confdefs.h <<\_ACEOF
31683#define wxUSE_PROTOCOL 1
31684_ACEOF
31685
31686
31687 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31688 cat >>confdefs.h <<\_ACEOF
31689#define wxUSE_PROTOCOL_HTTP 1
31690_ACEOF
31691
31692 fi
31693 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31694 cat >>confdefs.h <<\_ACEOF
31695#define wxUSE_PROTOCOL_FTP 1
31696_ACEOF
31697
31698 fi
31699 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31700 cat >>confdefs.h <<\_ACEOF
31701#define wxUSE_PROTOCOL_FILE 1
31702_ACEOF
31703
31704 fi
31705else
31706 if test "$wxUSE_FS_INET" = "yes"; then
31707 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31708echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31709 wxUSE_FS_INET="no"
31710 fi
31711fi
31712
31713if test "$wxUSE_URL" = "yes"; then
31714 if test "$wxUSE_PROTOCOL" != "yes"; then
31715 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31716echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31717 wxUSE_URL=no
31718 fi
31719 if test "$wxUSE_URL" = "yes"; then
31720 cat >>confdefs.h <<\_ACEOF
31721#define wxUSE_URL 1
31722_ACEOF
31723
31724 fi
31725fi
31726
31727if test "$wxUSE_FS_INET" = "yes"; then
31728 cat >>confdefs.h <<\_ACEOF
31729#define wxUSE_FS_INET 1
31730_ACEOF
31731
31732fi
31733
31734
31735if test "$wxUSE_GUI" = "yes"; then
31736
31737 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31738 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31739echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31740 wxUSE_JOYSTICK=no
31741 fi
31742
31743 if test "$TOOLKIT" != "MSW"; then
31744 if test "$wxUSE_JOYSTICK" = "yes"; then
31745
31746for ac_header in linux/joystick.h
31747do
31748as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31749if eval "test \"\${$as_ac_Header+set}\" = set"; then
31750 echo "$as_me:$LINENO: checking for $ac_header" >&5
31751echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31752if eval "test \"\${$as_ac_Header+set}\" = set"; then
31753 echo $ECHO_N "(cached) $ECHO_C" >&6
31754fi
31755echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31756echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31757else
31758 # Is the header compilable?
31759echo "$as_me:$LINENO: checking $ac_header usability" >&5
31760echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31761cat >conftest.$ac_ext <<_ACEOF
31762#line $LINENO "configure"
31763/* confdefs.h. */
31764_ACEOF
31765cat confdefs.h >>conftest.$ac_ext
31766cat >>conftest.$ac_ext <<_ACEOF
31767/* end confdefs.h. */
31768$ac_includes_default
31769#include <$ac_header>
31770_ACEOF
31771rm -f conftest.$ac_objext
31772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try='test -s conftest.$ac_objext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 ac_header_compiler=yes
31784else
31785 echo "$as_me: failed program was:" >&5
31786sed 's/^/| /' conftest.$ac_ext >&5
31787
31788ac_header_compiler=no
31789fi
31790rm -f conftest.$ac_objext conftest.$ac_ext
31791echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31792echo "${ECHO_T}$ac_header_compiler" >&6
31793
31794# Is the header present?
31795echo "$as_me:$LINENO: checking $ac_header presence" >&5
31796echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31797cat >conftest.$ac_ext <<_ACEOF
31798#line $LINENO "configure"
31799/* confdefs.h. */
31800_ACEOF
31801cat confdefs.h >>conftest.$ac_ext
31802cat >>conftest.$ac_ext <<_ACEOF
31803/* end confdefs.h. */
31804#include <$ac_header>
31805_ACEOF
31806if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31808 ac_status=$?
31809 grep -v '^ *+' conftest.er1 >conftest.err
31810 rm -f conftest.er1
31811 cat conftest.err >&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } >/dev/null; then
31814 if test -s conftest.err; then
31815 ac_cpp_err=$ac_c_preproc_warn_flag
31816 else
31817 ac_cpp_err=
31818 fi
31819else
31820 ac_cpp_err=yes
31821fi
31822if test -z "$ac_cpp_err"; then
31823 ac_header_preproc=yes
31824else
31825 echo "$as_me: failed program was:" >&5
31826sed 's/^/| /' conftest.$ac_ext >&5
31827
31828 ac_header_preproc=no
31829fi
31830rm -f conftest.err conftest.$ac_ext
31831echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31832echo "${ECHO_T}$ac_header_preproc" >&6
31833
31834# So? What about this header?
31835case $ac_header_compiler:$ac_header_preproc in
31836 yes:no )
31837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31838echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31840echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31841 (
31842 cat <<\_ASBOX
31843## ------------------------------------ ##
31844## Report this to bug-autoconf@gnu.org. ##
31845## ------------------------------------ ##
31846_ASBOX
31847 ) |
31848 sed "s/^/$as_me: WARNING: /" >&2
31849 ;;
31850 no:yes )
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31856echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31857 (
31858 cat <<\_ASBOX
31859## ------------------------------------ ##
31860## Report this to bug-autoconf@gnu.org. ##
31861## ------------------------------------ ##
31862_ASBOX
31863 ) |
31864 sed "s/^/$as_me: WARNING: /" >&2
31865 ;;
31866esac
31867echo "$as_me:$LINENO: checking for $ac_header" >&5
31868echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31869if eval "test \"\${$as_ac_Header+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31871else
31872 eval "$as_ac_Header=$ac_header_preproc"
31873fi
31874echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31875echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31876
31877fi
31878if test `eval echo '${'$as_ac_Header'}'` = yes; then
31879 cat >>confdefs.h <<_ACEOF
31880#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31881_ACEOF
31882
31883fi
31884
31885done
31886
31887 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31888 wxUSE_JOYSTICK=no
31889 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31890echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31891 fi
31892 fi
31893 fi
31894
31895 if test "$wxUSE_JOYSTICK" = "yes"; then
31896 cat >>confdefs.h <<\_ACEOF
31897#define wxUSE_JOYSTICK 1
31898_ACEOF
31899
31900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31901 fi
31902fi
31903
31904
31905if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31906
31907 HAVE_DL_FUNCS=0
31908 HAVE_SHL_FUNCS=0
31909 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31910 if test "$USE_DARWIN" = 1; then
31911 HAVE_DL_FUNCS=1
31912 else
31913
31914for ac_func in dlopen
31915do
31916as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31917echo "$as_me:$LINENO: checking for $ac_func" >&5
31918echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31919if eval "test \"\${$as_ac_var+set}\" = set"; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31921else
31922 cat >conftest.$ac_ext <<_ACEOF
31923#line $LINENO "configure"
31924/* confdefs.h. */
31925_ACEOF
31926cat confdefs.h >>conftest.$ac_ext
31927cat >>conftest.$ac_ext <<_ACEOF
31928/* end confdefs.h. */
31929/* System header to define __stub macros and hopefully few prototypes,
31930 which can conflict with char $ac_func (); below.
31931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31932 <limits.h> exists even on freestanding compilers. */
31933#ifdef __STDC__
31934# include <limits.h>
31935#else
31936# include <assert.h>
31937#endif
31938/* Override any gcc2 internal prototype to avoid an error. */
31939#ifdef __cplusplus
31940extern "C"
31941{
31942#endif
31943/* We use char because int might match the return type of a gcc2
31944 builtin and then its argument prototype would still apply. */
31945char $ac_func ();
31946/* The GNU C library defines this for functions which it implements
31947 to always fail with ENOSYS. Some functions are actually named
31948 something starting with __ and the normal name is an alias. */
31949#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31950choke me
31951#else
31952char (*f) () = $ac_func;
31953#endif
31954#ifdef __cplusplus
31955}
31956#endif
31957
31958int
31959main ()
31960{
31961return f != $ac_func;
31962 ;
31963 return 0;
31964}
31965_ACEOF
31966rm -f conftest.$ac_objext conftest$ac_exeext
31967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31968 (eval $ac_link) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31979else
31980 echo "$as_me: failed program was:" >&5
31981sed 's/^/| /' conftest.$ac_ext >&5
31982
31983eval "$as_ac_var=no"
31984fi
31985rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31986fi
31987echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31988echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31989if test `eval echo '${'$as_ac_var'}'` = yes; then
31990 cat >>confdefs.h <<_ACEOF
31991#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31992_ACEOF
31993
31994 cat >>confdefs.h <<\_ACEOF
31995#define HAVE_DLOPEN 1
31996_ACEOF
31997
31998 HAVE_DL_FUNCS=1
31999
32000else
32001
32002 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32003echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32004if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32005 echo $ECHO_N "(cached) $ECHO_C" >&6
32006else
32007 ac_check_lib_save_LIBS=$LIBS
32008LIBS="-ldl $LIBS"
32009cat >conftest.$ac_ext <<_ACEOF
32010#line $LINENO "configure"
32011/* confdefs.h. */
32012_ACEOF
32013cat confdefs.h >>conftest.$ac_ext
32014cat >>conftest.$ac_ext <<_ACEOF
32015/* end confdefs.h. */
32016
32017/* Override any gcc2 internal prototype to avoid an error. */
32018#ifdef __cplusplus
32019extern "C"
32020#endif
32021/* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32023char dlopen ();
32024int
32025main ()
32026{
32027dlopen ();
32028 ;
32029 return 0;
32030}
32031_ACEOF
32032rm -f conftest.$ac_objext conftest$ac_exeext
32033if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>&5
32035 ac_status=$?
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -s conftest$ac_exeext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 ac_cv_lib_dl_dlopen=yes
32045else
32046 echo "$as_me: failed program was:" >&5
32047sed 's/^/| /' conftest.$ac_ext >&5
32048
32049ac_cv_lib_dl_dlopen=no
32050fi
32051rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32052LIBS=$ac_check_lib_save_LIBS
32053fi
32054echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32055echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32056if test $ac_cv_lib_dl_dlopen = yes; then
32057
32058 cat >>confdefs.h <<\_ACEOF
32059#define HAVE_DLOPEN 1
32060_ACEOF
32061
32062 HAVE_DL_FUNCS=1
32063 DL_LINK=" -ldl$DL_LINK"
32064
32065else
32066
32067
32068for ac_func in shl_load
32069do
32070as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32071echo "$as_me:$LINENO: checking for $ac_func" >&5
32072echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32073if eval "test \"\${$as_ac_var+set}\" = set"; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32075else
32076 cat >conftest.$ac_ext <<_ACEOF
32077#line $LINENO "configure"
32078/* confdefs.h. */
32079_ACEOF
32080cat confdefs.h >>conftest.$ac_ext
32081cat >>conftest.$ac_ext <<_ACEOF
32082/* end confdefs.h. */
32083/* System header to define __stub macros and hopefully few prototypes,
32084 which can conflict with char $ac_func (); below.
32085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32086 <limits.h> exists even on freestanding compilers. */
32087#ifdef __STDC__
32088# include <limits.h>
32089#else
32090# include <assert.h>
32091#endif
32092/* Override any gcc2 internal prototype to avoid an error. */
32093#ifdef __cplusplus
32094extern "C"
32095{
32096#endif
32097/* We use char because int might match the return type of a gcc2
32098 builtin and then its argument prototype would still apply. */
32099char $ac_func ();
32100/* The GNU C library defines this for functions which it implements
32101 to always fail with ENOSYS. Some functions are actually named
32102 something starting with __ and the normal name is an alias. */
32103#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32104choke me
32105#else
32106char (*f) () = $ac_func;
32107#endif
32108#ifdef __cplusplus
32109}
32110#endif
32111
32112int
32113main ()
32114{
32115return f != $ac_func;
32116 ;
32117 return 0;
32118}
32119_ACEOF
32120rm -f conftest.$ac_objext conftest$ac_exeext
32121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32123 ac_status=$?
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 eval "$as_ac_var=yes"
32133else
32134 echo "$as_me: failed program was:" >&5
32135sed 's/^/| /' conftest.$ac_ext >&5
32136
32137eval "$as_ac_var=no"
32138fi
32139rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32140fi
32141echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32142echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32143if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h <<_ACEOF
32145#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32146_ACEOF
32147
32148 cat >>confdefs.h <<\_ACEOF
32149#define HAVE_SHL_LOAD 1
32150_ACEOF
32151
32152 HAVE_SHL_FUNCS=1
32153
32154else
32155
32156 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32157echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32158if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32160else
32161 ac_check_lib_save_LIBS=$LIBS
32162LIBS="-lshl_load $LIBS"
32163cat >conftest.$ac_ext <<_ACEOF
32164#line $LINENO "configure"
32165/* confdefs.h. */
32166_ACEOF
32167cat confdefs.h >>conftest.$ac_ext
32168cat >>conftest.$ac_ext <<_ACEOF
32169/* end confdefs.h. */
32170
32171/* Override any gcc2 internal prototype to avoid an error. */
32172#ifdef __cplusplus
32173extern "C"
32174#endif
32175/* We use char because int might match the return type of a gcc2
32176 builtin and then its argument prototype would still apply. */
32177char dld ();
32178int
32179main ()
32180{
32181dld ();
32182 ;
32183 return 0;
32184}
32185_ACEOF
32186rm -f conftest.$ac_objext conftest$ac_exeext
32187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try='test -s conftest$ac_exeext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32195 ac_status=$?
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 ac_cv_lib_shl_load_dld=yes
32199else
32200 echo "$as_me: failed program was:" >&5
32201sed 's/^/| /' conftest.$ac_ext >&5
32202
32203ac_cv_lib_shl_load_dld=no
32204fi
32205rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32206LIBS=$ac_check_lib_save_LIBS
32207fi
32208echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32209echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32210if test $ac_cv_lib_shl_load_dld = yes; then
32211
32212 HAVE_SHL_FUNCS=1
32213 DL_LINK=" -ldld$DL_LINK"
32214
32215fi
32216
32217
32218fi
32219done
32220
32221
32222fi
32223
32224
32225fi
32226done
32227
32228
32229 if test "$HAVE_DL_FUNCS" = 1; then
32230
32231for ac_func in dlerror
32232do
32233as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32234echo "$as_me:$LINENO: checking for $ac_func" >&5
32235echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32236if eval "test \"\${$as_ac_var+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238else
32239 cat >conftest.$ac_ext <<_ACEOF
32240#line $LINENO "configure"
32241/* confdefs.h. */
32242_ACEOF
32243cat confdefs.h >>conftest.$ac_ext
32244cat >>conftest.$ac_ext <<_ACEOF
32245/* end confdefs.h. */
32246/* System header to define __stub macros and hopefully few prototypes,
32247 which can conflict with char $ac_func (); below.
32248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32249 <limits.h> exists even on freestanding compilers. */
32250#ifdef __STDC__
32251# include <limits.h>
32252#else
32253# include <assert.h>
32254#endif
32255/* Override any gcc2 internal prototype to avoid an error. */
32256#ifdef __cplusplus
32257extern "C"
32258{
32259#endif
32260/* We use char because int might match the return type of a gcc2
32261 builtin and then its argument prototype would still apply. */
32262char $ac_func ();
32263/* The GNU C library defines this for functions which it implements
32264 to always fail with ENOSYS. Some functions are actually named
32265 something starting with __ and the normal name is an alias. */
32266#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32267choke me
32268#else
32269char (*f) () = $ac_func;
32270#endif
32271#ifdef __cplusplus
32272}
32273#endif
32274
32275int
32276main ()
32277{
32278return f != $ac_func;
32279 ;
32280 return 0;
32281}
32282_ACEOF
32283rm -f conftest.$ac_objext conftest$ac_exeext
32284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32285 (eval $ac_link) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } &&
32289 { ac_try='test -s conftest$ac_exeext'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; }; then
32295 eval "$as_ac_var=yes"
32296else
32297 echo "$as_me: failed program was:" >&5
32298sed 's/^/| /' conftest.$ac_ext >&5
32299
32300eval "$as_ac_var=no"
32301fi
32302rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32303fi
32304echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h <<_ACEOF
32308#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32309_ACEOF
32310 cat >>confdefs.h <<\_ACEOF
32311#define HAVE_DLERROR 1
32312_ACEOF
32313
32314else
32315
32316 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32317echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32318if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32320else
32321 ac_check_lib_save_LIBS=$LIBS
32322LIBS="-ldl $LIBS"
32323cat >conftest.$ac_ext <<_ACEOF
32324#line $LINENO "configure"
32325/* confdefs.h. */
32326_ACEOF
32327cat confdefs.h >>conftest.$ac_ext
32328cat >>conftest.$ac_ext <<_ACEOF
32329/* end confdefs.h. */
32330
32331/* Override any gcc2 internal prototype to avoid an error. */
32332#ifdef __cplusplus
32333extern "C"
32334#endif
32335/* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32337char dlerror ();
32338int
32339main ()
32340{
32341dlerror ();
32342 ;
32343 return 0;
32344}
32345_ACEOF
32346rm -f conftest.$ac_objext conftest$ac_exeext
32347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>&5
32349 ac_status=$?
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try='test -s conftest$ac_exeext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_lib_dl_dlerror=yes
32359else
32360 echo "$as_me: failed program was:" >&5
32361sed 's/^/| /' conftest.$ac_ext >&5
32362
32363ac_cv_lib_dl_dlerror=no
32364fi
32365rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32366LIBS=$ac_check_lib_save_LIBS
32367fi
32368echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32369echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32370if test $ac_cv_lib_dl_dlerror = yes; then
32371 cat >>confdefs.h <<\_ACEOF
32372#define HAVE_DLERROR 1
32373_ACEOF
32374
32375fi
32376
32377
32378
32379fi
32380done
32381
32382 fi
32383 fi
32384
32385 if test "$HAVE_DL_FUNCS" = 0; then
32386 if test "$HAVE_SHL_FUNCS" = 0; then
32387 if test "$USE_UNIX" = 1; then
32388 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32389echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32390 wxUSE_DYNAMIC_LOADER=no
32391 wxUSE_DYNLIB_CLASS=no
32392 else
32393 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32394echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32395 fi
32396 fi
32397 fi
32398 fi
32399fi
32400
32401if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32402 cat >>confdefs.h <<\_ACEOF
32403#define wxUSE_DYNAMIC_LOADER 1
32404_ACEOF
32405
32406fi
32407if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32408 cat >>confdefs.h <<\_ACEOF
32409#define wxUSE_DYNLIB_CLASS 1
32410_ACEOF
32411
32412fi
32413
32414
32415if test "$wxUSE_FONTMAP" = "yes" ; then
32416 cat >>confdefs.h <<\_ACEOF
32417#define wxUSE_FONTMAP 1
32418_ACEOF
32419
32420fi
32421
32422if test "$wxUSE_UNICODE" = "yes" ; then
32423 cat >>confdefs.h <<\_ACEOF
32424#define wxUSE_UNICODE 1
32425_ACEOF
32426
32427
32428 if test "$USE_WIN32" != 1; then
32429 wxUSE_UNICODE_MSLU=no
32430 fi
32431
32432 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32433 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32434echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32435if test "${ac_cv_lib_unicows_main+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437else
32438 ac_check_lib_save_LIBS=$LIBS
32439LIBS="-lunicows $LIBS"
32440cat >conftest.$ac_ext <<_ACEOF
32441#line $LINENO "configure"
32442/* confdefs.h. */
32443_ACEOF
32444cat confdefs.h >>conftest.$ac_ext
32445cat >>conftest.$ac_ext <<_ACEOF
32446/* end confdefs.h. */
32447
32448
32449int
32450main ()
32451{
32452main ();
32453 ;
32454 return 0;
32455}
32456_ACEOF
32457rm -f conftest.$ac_objext conftest$ac_exeext
32458if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>&5
32460 ac_status=$?
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try='test -s conftest$ac_exeext'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32466 ac_status=$?
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }; then
32469 ac_cv_lib_unicows_main=yes
32470else
32471 echo "$as_me: failed program was:" >&5
32472sed 's/^/| /' conftest.$ac_ext >&5
32473
32474ac_cv_lib_unicows_main=no
32475fi
32476rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32477LIBS=$ac_check_lib_save_LIBS
32478fi
32479echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32480echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32481if test $ac_cv_lib_unicows_main = yes; then
32482
32483 cat >>confdefs.h <<\_ACEOF
32484#define wxUSE_UNICODE_MSLU 1
32485_ACEOF
32486
32487
32488else
32489
32490 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32491 Applications will only run on Windows NT/2000/XP!" >&5
32492echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&2;}
32494 wxUSE_UNICODE_MSLU=no
32495
32496fi
32497
32498 fi
32499fi
32500
32501if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32502 cat >>confdefs.h <<\_ACEOF
32503#define wxUSE_EXPERIMENTAL_PRINTF 1
32504_ACEOF
32505
32506fi
32507
32508
32509if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32510 cat >>confdefs.h <<\_ACEOF
32511#define wxUSE_POSTSCRIPT 1
32512_ACEOF
32513
32514fi
32515
32516cat >>confdefs.h <<\_ACEOF
32517#define wxUSE_AFM_FOR_POSTSCRIPT 1
32518_ACEOF
32519
32520
32521cat >>confdefs.h <<\_ACEOF
32522#define wxUSE_NORMALIZED_PS_FONTS 1
32523_ACEOF
32524
32525
32526
32527if test "$wxUSE_CONSTRAINTS" = "yes"; then
32528 cat >>confdefs.h <<\_ACEOF
32529#define wxUSE_CONSTRAINTS 1
32530_ACEOF
32531
32532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32533fi
32534
32535if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32536 cat >>confdefs.h <<\_ACEOF
32537#define wxUSE_MDI_ARCHITECTURE 1
32538_ACEOF
32539
32540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32541fi
32542
32543if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32544 cat >>confdefs.h <<\_ACEOF
32545#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32546_ACEOF
32547
32548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32549 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32551 fi
32552fi
32553
32554if test "$wxUSE_HELP" = "yes"; then
32555 cat >>confdefs.h <<\_ACEOF
32556#define wxUSE_HELP 1
32557_ACEOF
32558
32559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32560
32561 if test "$wxUSE_MSW" = 1; then
32562 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564#define wxUSE_MS_HTML_HELP 1
32565_ACEOF
32566
32567 fi
32568 fi
32569
32570 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32571 if test "$wxUSE_HTML" = "yes"; then
32572 cat >>confdefs.h <<\_ACEOF
32573#define wxUSE_WXHTML_HELP 1
32574_ACEOF
32575
32576 else
32577 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32578echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32579 wxUSE_WXHTML_HELP=no
32580 fi
32581 fi
32582fi
32583
32584if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32586 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32587echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32588 else
32589 cat >>confdefs.h <<\_ACEOF
32590#define wxUSE_PRINTING_ARCHITECTURE 1
32591_ACEOF
32592
32593 fi
32594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32595fi
32596
32597if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32598 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32599echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32600 { (exit 1); exit 1; }; }
32601fi
32602
32603
32604if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32605 -o "$wxUSE_CLIPBOARD" = "yes" \
32606 -o "$wxUSE_OLE" = "yes" \
32607 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32608
32609for ac_header in ole2.h
32610do
32611as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32612if eval "test \"\${$as_ac_Header+set}\" = set"; then
32613 echo "$as_me:$LINENO: checking for $ac_header" >&5
32614echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32615if eval "test \"\${$as_ac_Header+set}\" = set"; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32617fi
32618echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32619echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32620else
32621 # Is the header compilable?
32622echo "$as_me:$LINENO: checking $ac_header usability" >&5
32623echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32624cat >conftest.$ac_ext <<_ACEOF
32625#line $LINENO "configure"
32626/* confdefs.h. */
32627_ACEOF
32628cat confdefs.h >>conftest.$ac_ext
32629cat >>conftest.$ac_ext <<_ACEOF
32630/* end confdefs.h. */
32631$ac_includes_default
32632#include <$ac_header>
32633_ACEOF
32634rm -f conftest.$ac_objext
32635if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -s conftest.$ac_objext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_header_compiler=yes
32647else
32648 echo "$as_me: failed program was:" >&5
32649sed 's/^/| /' conftest.$ac_ext >&5
32650
32651ac_header_compiler=no
32652fi
32653rm -f conftest.$ac_objext conftest.$ac_ext
32654echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32655echo "${ECHO_T}$ac_header_compiler" >&6
32656
32657# Is the header present?
32658echo "$as_me:$LINENO: checking $ac_header presence" >&5
32659echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32660cat >conftest.$ac_ext <<_ACEOF
32661#line $LINENO "configure"
32662/* confdefs.h. */
32663_ACEOF
32664cat confdefs.h >>conftest.$ac_ext
32665cat >>conftest.$ac_ext <<_ACEOF
32666/* end confdefs.h. */
32667#include <$ac_header>
32668_ACEOF
32669if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev/null; then
32677 if test -s conftest.err; then
32678 ac_cpp_err=$ac_c_preproc_warn_flag
32679 else
32680 ac_cpp_err=
32681 fi
32682else
32683 ac_cpp_err=yes
32684fi
32685if test -z "$ac_cpp_err"; then
32686 ac_header_preproc=yes
32687else
32688 echo "$as_me: failed program was:" >&5
32689sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 ac_header_preproc=no
32692fi
32693rm -f conftest.err conftest.$ac_ext
32694echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32695echo "${ECHO_T}$ac_header_preproc" >&6
32696
32697# So? What about this header?
32698case $ac_header_compiler:$ac_header_preproc in
32699 yes:no )
32700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32701echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32703echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32704 (
32705 cat <<\_ASBOX
32706## ------------------------------------ ##
32707## Report this to bug-autoconf@gnu.org. ##
32708## ------------------------------------ ##
32709_ASBOX
32710 ) |
32711 sed "s/^/$as_me: WARNING: /" >&2
32712 ;;
32713 no:yes )
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32715echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32717echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32719echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32720 (
32721 cat <<\_ASBOX
32722## ------------------------------------ ##
32723## Report this to bug-autoconf@gnu.org. ##
32724## ------------------------------------ ##
32725_ASBOX
32726 ) |
32727 sed "s/^/$as_me: WARNING: /" >&2
32728 ;;
32729esac
32730echo "$as_me:$LINENO: checking for $ac_header" >&5
32731echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32734else
32735 eval "$as_ac_Header=$ac_header_preproc"
32736fi
32737echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32739
32740fi
32741if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h <<_ACEOF
32743#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32744_ACEOF
32745
32746fi
32747
32748done
32749
32750
32751 if test "$ac_cv_header_ole2_h" = "yes" ; then
32752 if test "$GCC" = yes ; then
32753
32754
32755 ac_ext=cc
32756ac_cpp='$CXXCPP $CPPFLAGS'
32757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760
32761
32762 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32763echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32764 cat >conftest.$ac_ext <<_ACEOF
32765#line $LINENO "configure"
32766/* confdefs.h. */
32767_ACEOF
32768cat confdefs.h >>conftest.$ac_ext
32769cat >>conftest.$ac_ext <<_ACEOF
32770/* end confdefs.h. */
32771#include <windows.h>
32772 #include <ole2.h>
32773int
32774main ()
32775{
32776
32777 ;
32778 return 0;
32779}
32780_ACEOF
32781rm -f conftest.$ac_objext
32782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>&5
32784 ac_status=$?
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -s conftest.$ac_objext'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32790 ac_status=$?
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; }; then
32793 echo "$as_me:$LINENO: result: no" >&5
32794echo "${ECHO_T}no" >&6
32795else
32796 echo "$as_me: failed program was:" >&5
32797sed 's/^/| /' conftest.$ac_ext >&5
32798
32799echo "$as_me:$LINENO: result: yes" >&5
32800echo "${ECHO_T}yes" >&6
32801 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32802fi
32803rm -f conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805ac_cpp='$CPP $CPPFLAGS'
32806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809
32810 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32811 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32812 cat >>confdefs.h <<\_ACEOF
32813#define wxUSE_OLE 1
32814_ACEOF
32815
32816
32817 fi
32818
32819 cat >>confdefs.h <<\_ACEOF
32820#define wxUSE_DATAOBJ 1
32821_ACEOF
32822
32823 else
32824 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32825echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32826
32827 wxUSE_CLIPBOARD=no
32828 wxUSE_DRAG_AND_DROP=no
32829 wxUSE_DATAOBJ=no
32830 wxUSE_OLE=no
32831 fi
32832
32833 if test "$wxUSE_METAFILE" = "yes"; then
32834 cat >>confdefs.h <<\_ACEOF
32835#define wxUSE_METAFILE 1
32836_ACEOF
32837
32838
32839 cat >>confdefs.h <<\_ACEOF
32840#define wxUSE_ENH_METAFILE 1
32841_ACEOF
32842
32843 fi
32844fi
32845
32846if test "$wxUSE_IPC" = "yes"; then
32847 if test "$wxUSE_SOCKETS" != "yes"; then
32848 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32849echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32850 fi
32851
32852 cat >>confdefs.h <<\_ACEOF
32853#define wxUSE_IPC 1
32854_ACEOF
32855
32856fi
32857
32858if test "$wxUSE_CLIPBOARD" = "yes"; then
32859 if test "$wxUSE_MGL" = 1; then
32860 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32861echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32862 wxUSE_CLIPBOARD=no
32863 fi
32864
32865 if test "$wxUSE_CLIPBOARD" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867#define wxUSE_CLIPBOARD 1
32868_ACEOF
32869
32870
32871 cat >>confdefs.h <<\_ACEOF
32872#define wxUSE_DATAOBJ 1
32873_ACEOF
32874
32875 fi
32876fi
32877
32878if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32879 if test "$wxUSE_GTK" = 1; then
32880 if test "$WXGTK12" != 1; then
32881 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32882echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32883 wxUSE_DRAG_AND_DROP=no
32884 fi
32885 fi
32886
32887 if test "$wxUSE_MOTIF" = 1; then
32888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32889echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32890 wxUSE_DRAG_AND_DROP=no
32891 fi
32892
32893 if test "$wxUSE_X11" = 1; then
32894 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32895echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32896 wxUSE_DRAG_AND_DROP=no
32897 fi
32898
32899 if test "$wxUSE_MGL" = 1; then
32900 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32901echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32902 wxUSE_DRAG_AND_DROP=no
32903 fi
32904
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32906 cat >>confdefs.h <<\_ACEOF
32907#define wxUSE_DRAG_AND_DROP 1
32908_ACEOF
32909
32910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32911 fi
32912
32913fi
32914
32915if test "$wxUSE_SPLINES" = "yes" ; then
32916 cat >>confdefs.h <<\_ACEOF
32917#define wxUSE_SPLINES 1
32918_ACEOF
32919
32920fi
32921
32922
32923USES_CONTROLS=0
32924if test "$wxUSE_CONTROLS" = "yes"; then
32925 USES_CONTROLS=1
32926fi
32927
32928if test "$wxUSE_ACCEL" = "yes"; then
32929 cat >>confdefs.h <<\_ACEOF
32930#define wxUSE_ACCEL 1
32931_ACEOF
32932
32933 USES_CONTROLS=1
32934fi
32935
32936if test "$wxUSE_BUTTON" = "yes"; then
32937 cat >>confdefs.h <<\_ACEOF
32938#define wxUSE_BUTTON 1
32939_ACEOF
32940
32941 USES_CONTROLS=1
32942fi
32943
32944if test "$wxUSE_BMPBUTTON" = "yes"; then
32945 cat >>confdefs.h <<\_ACEOF
32946#define wxUSE_BMPBUTTON 1
32947_ACEOF
32948
32949 USES_CONTROLS=1
32950fi
32951
32952if test "$wxUSE_CALCTRL" = "yes"; then
32953 cat >>confdefs.h <<\_ACEOF
32954#define wxUSE_CALENDARCTRL 1
32955_ACEOF
32956
32957 USES_CONTROLS=1
32958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32959fi
32960
32961if test "$wxUSE_CARET" = "yes"; then
32962 cat >>confdefs.h <<\_ACEOF
32963#define wxUSE_CARET 1
32964_ACEOF
32965
32966 USES_CONTROLS=1
32967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32968fi
32969
32970if test "$wxUSE_COMBOBOX" = "yes"; then
32971 cat >>confdefs.h <<\_ACEOF
32972#define wxUSE_COMBOBOX 1
32973_ACEOF
32974
32975 USES_CONTROLS=1
32976fi
32977
32978if test "$wxUSE_CHOICE" = "yes"; then
32979 cat >>confdefs.h <<\_ACEOF
32980#define wxUSE_CHOICE 1
32981_ACEOF
32982
32983 USES_CONTROLS=1
32984fi
32985
32986if test "$wxUSE_CHECKBOX" = "yes"; then
32987 cat >>confdefs.h <<\_ACEOF
32988#define wxUSE_CHECKBOX 1
32989_ACEOF
32990
32991 USES_CONTROLS=1
32992fi
32993
32994if test "$wxUSE_CHECKLST" = "yes"; then
32995 cat >>confdefs.h <<\_ACEOF
32996#define wxUSE_CHECKLISTBOX 1
32997_ACEOF
32998
32999 USES_CONTROLS=1
33000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33001fi
33002
33003if test "$wxUSE_DISPLAY" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005#define wxUSE_DISPLAY 1
33006_ACEOF
33007
33008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33009fi
33010
33011if test "$wxUSE_GAUGE" = "yes"; then
33012 cat >>confdefs.h <<\_ACEOF
33013#define wxUSE_GAUGE 1
33014_ACEOF
33015
33016 USES_CONTROLS=1
33017fi
33018
33019if test "$wxUSE_GRID" = "yes"; then
33020 cat >>confdefs.h <<\_ACEOF
33021#define wxUSE_GRID 1
33022_ACEOF
33023
33024 USES_CONTROLS=1
33025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33026fi
33027
33028if test "$wxUSE_IMAGLIST" = "yes"; then
33029 cat >>confdefs.h <<\_ACEOF
33030#define wxUSE_IMAGLIST 1
33031_ACEOF
33032
33033fi
33034
33035if test "$wxUSE_LISTBOOK" = "yes"; then
33036 cat >>confdefs.h <<\_ACEOF
33037#define wxUSE_LISTBOOK 1
33038_ACEOF
33039
33040 USES_CONTROLS=1
33041fi
33042
33043if test "$wxUSE_LISTBOX" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045#define wxUSE_LISTBOX 1
33046_ACEOF
33047
33048 USES_CONTROLS=1
33049fi
33050
33051if test "$wxUSE_LISTCTRL" = "yes"; then
33052 if test "$wxUSE_IMAGLIST" = "yes"; then
33053 cat >>confdefs.h <<\_ACEOF
33054#define wxUSE_LISTCTRL 1
33055_ACEOF
33056
33057 USES_CONTROLS=1
33058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33059 else
33060 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33061echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33062 fi
33063fi
33064
33065if test "$wxUSE_NOTEBOOK" = "yes"; then
33066 cat >>confdefs.h <<\_ACEOF
33067#define wxUSE_NOTEBOOK 1
33068_ACEOF
33069
33070 USES_CONTROLS=1
33071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33072fi
33073
33074
33075if test "$wxUSE_RADIOBOX" = "yes"; then
33076 cat >>confdefs.h <<\_ACEOF
33077#define wxUSE_RADIOBOX 1
33078_ACEOF
33079
33080 USES_CONTROLS=1
33081fi
33082
33083if test "$wxUSE_RADIOBTN" = "yes"; then
33084 cat >>confdefs.h <<\_ACEOF
33085#define wxUSE_RADIOBTN 1
33086_ACEOF
33087
33088 USES_CONTROLS=1
33089fi
33090
33091if test "$wxUSE_SASH" = "yes"; then
33092 cat >>confdefs.h <<\_ACEOF
33093#define wxUSE_SASH 1
33094_ACEOF
33095
33096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33097fi
33098
33099if test "$wxUSE_SCROLLBAR" = "yes"; then
33100 cat >>confdefs.h <<\_ACEOF
33101#define wxUSE_SCROLLBAR 1
33102_ACEOF
33103
33104 USES_CONTROLS=1
33105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33106fi
33107
33108if test "$wxUSE_SLIDER" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110#define wxUSE_SLIDER 1
33111_ACEOF
33112
33113 USES_CONTROLS=1
33114fi
33115
33116if test "$wxUSE_SPINBTN" = "yes"; then
33117 cat >>confdefs.h <<\_ACEOF
33118#define wxUSE_SPINBTN 1
33119_ACEOF
33120
33121 USES_CONTROLS=1
33122fi
33123
33124if test "$wxUSE_SPINCTRL" = "yes"; then
33125 cat >>confdefs.h <<\_ACEOF
33126#define wxUSE_SPINCTRL 1
33127_ACEOF
33128
33129 USES_CONTROLS=1
33130fi
33131
33132if test "$wxUSE_SPLITTER" = "yes"; then
33133 cat >>confdefs.h <<\_ACEOF
33134#define wxUSE_SPLITTER 1
33135_ACEOF
33136
33137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33138fi
33139
33140if test "$wxUSE_STATBMP" = "yes"; then
33141 cat >>confdefs.h <<\_ACEOF
33142#define wxUSE_STATBMP 1
33143_ACEOF
33144
33145 USES_CONTROLS=1
33146fi
33147
33148if test "$wxUSE_STATBOX" = "yes"; then
33149 cat >>confdefs.h <<\_ACEOF
33150#define wxUSE_STATBOX 1
33151_ACEOF
33152
33153 USES_CONTROLS=1
33154fi
33155
33156if test "$wxUSE_STATTEXT" = "yes"; then
33157 cat >>confdefs.h <<\_ACEOF
33158#define wxUSE_STATTEXT 1
33159_ACEOF
33160
33161 USES_CONTROLS=1
33162fi
33163
33164if test "$wxUSE_STATLINE" = "yes"; then
33165 cat >>confdefs.h <<\_ACEOF
33166#define wxUSE_STATLINE 1
33167_ACEOF
33168
33169 USES_CONTROLS=1
33170fi
33171
33172if test "$wxUSE_STATUSBAR" = "yes"; then
33173 cat >>confdefs.h <<\_ACEOF
33174#define wxUSE_STATUSBAR 1
33175_ACEOF
33176
33177 USES_CONTROLS=1
33178
33179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33180fi
33181
33182if test "$wxUSE_TABDIALOG" = "yes"; then
33183 cat >>confdefs.h <<\_ACEOF
33184#define wxUSE_TAB_DIALOG 1
33185_ACEOF
33186
33187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33188fi
33189
33190if test "$wxUSE_TEXTCTRL" = "yes"; then
33191 cat >>confdefs.h <<\_ACEOF
33192#define wxUSE_TEXTCTRL 1
33193_ACEOF
33194
33195 USES_CONTROLS=1
33196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33197fi
33198
33199if test "$wxUSE_TOGGLEBTN" = "yes"; then
33200 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33201 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33202echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33203 wxUSE_TOGGLEBTN=no
33204 fi
33205 if test "$wxUSE_UNIVERSAL" = "yes"; then
33206 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33207echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33208 wxUSE_TOGGLEBTN=no
33209 fi
33210
33211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33212 cat >>confdefs.h <<\_ACEOF
33213#define wxUSE_TOGGLEBTN 1
33214_ACEOF
33215
33216 USES_CONTROLS=1
33217 fi
33218fi
33219
33220if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33221 cat >>confdefs.h <<\_ACEOF
33222#define wxUSE_TOOLBAR_SIMPLE 1
33223_ACEOF
33224
33225 wxUSE_TOOLBAR="yes"
33226 USES_CONTROLS=1
33227fi
33228
33229if test "$wxUSE_TOOLBAR" = "yes"; then
33230 cat >>confdefs.h <<\_ACEOF
33231#define wxUSE_TOOLBAR 1
33232_ACEOF
33233
33234 USES_CONTROLS=1
33235
33236 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33237 wxUSE_TOOLBAR_NATIVE="yes"
33238 fi
33239
33240 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33241 cat >>confdefs.h <<\_ACEOF
33242#define wxUSE_TOOLBAR_NATIVE 1
33243_ACEOF
33244
33245 USES_CONTROLS=1
33246 fi
33247
33248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33249fi
33250
33251if test "$wxUSE_TOOLTIPS" = "yes"; then
33252 if test "$wxUSE_MOTIF" = 1; then
33253 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33254echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33255 else
33256 if test "$wxUSE_UNIVERSAL" = "yes"; then
33257 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33258echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33259 else
33260 cat >>confdefs.h <<\_ACEOF
33261#define wxUSE_TOOLTIPS 1
33262_ACEOF
33263
33264 fi
33265 fi
33266fi
33267
33268if test "$wxUSE_TREECTRL" = "yes"; then
33269 if test "$wxUSE_IMAGLIST" = "yes"; then
33270 cat >>confdefs.h <<\_ACEOF
33271#define wxUSE_TREECTRL 1
33272_ACEOF
33273
33274 USES_CONTROLS=1
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33276 else
33277 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33278echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33279 fi
33280fi
33281
33282if test "$wxUSE_POPUPWIN" = "yes"; then
33283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33284 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33285echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33286 else
33287 if test "$wxUSE_PM" = 1; then
33288 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33289echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33290 else
33291 cat >>confdefs.h <<\_ACEOF
33292#define wxUSE_POPUPWIN 1
33293_ACEOF
33294
33295
33296 USES_CONTROLS=1
33297 fi
33298 fi
33299fi
33300
33301if test "$wxUSE_TIPWINDOW" = "yes"; then
33302 if test "$wxUSE_PM" = 1; then
33303 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33304echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33305 else
33306 cat >>confdefs.h <<\_ACEOF
33307#define wxUSE_TIPWINDOW 1
33308_ACEOF
33309
33310 fi
33311fi
33312
33313if test "$USES_CONTROLS" = 1; then
33314 cat >>confdefs.h <<\_ACEOF
33315#define wxUSE_CONTROLS 1
33316_ACEOF
33317
33318fi
33319
33320
33321if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33322 cat >>confdefs.h <<\_ACEOF
33323#define wxUSE_ACCESSIBILITY 1
33324_ACEOF
33325
33326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33327fi
33328
33329if test "$wxUSE_DRAGIMAGE" = "yes"; then
33330 cat >>confdefs.h <<\_ACEOF
33331#define wxUSE_DRAGIMAGE 1
33332_ACEOF
33333
33334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33335fi
33336
33337if test "$wxUSE_EXCEPTIONS" = "yes"; then
33338 cat >>confdefs.h <<\_ACEOF
33339#define wxUSE_EXCEPTIONS 1
33340_ACEOF
33341
33342fi
33343
33344USE_HTML=0
33345if test "$wxUSE_HTML" = "yes"; then
33346 cat >>confdefs.h <<\_ACEOF
33347#define wxUSE_HTML 1
33348_ACEOF
33349
33350 USE_HTML=1
33351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33352fi
33353
33354if test "$wxUSE_MENUS" = "yes"; then
33355 cat >>confdefs.h <<\_ACEOF
33356#define wxUSE_MENUS 1
33357_ACEOF
33358
33359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33360fi
33361
33362if test "$wxUSE_METAFILE" = "yes"; then
33363 cat >>confdefs.h <<\_ACEOF
33364#define wxUSE_METAFILE 1
33365_ACEOF
33366
33367fi
33368
33369if test "$wxUSE_MIMETYPE" = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371#define wxUSE_MIMETYPE 1
33372_ACEOF
33373
33374fi
33375
33376if test "$wxUSE_MINIFRAME" = "yes"; then
33377 cat >>confdefs.h <<\_ACEOF
33378#define wxUSE_MINIFRAME 1
33379_ACEOF
33380
33381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33382fi
33383
33384if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33385 cat >>confdefs.h <<\_ACEOF
33386#define wxUSE_SYSTEM_OPTIONS 1
33387_ACEOF
33388
33389 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33390 "$TOOLKIT" = "MOTIF"; then
33391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33392 fi
33393fi
33394
33395
33396if test "$wxUSE_VALIDATORS" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398#define wxUSE_VALIDATORS 1
33399_ACEOF
33400
33401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33402fi
33403
33404if test "$wxUSE_PALETTE" = "yes" ; then
33405 cat >>confdefs.h <<\_ACEOF
33406#define wxUSE_PALETTE 1
33407_ACEOF
33408
33409fi
33410
33411if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33412 LIBS=" -lunicows $LIBS"
33413fi
33414
33415
33416if test "$wxUSE_IMAGE" = "yes" ; then
33417 cat >>confdefs.h <<\_ACEOF
33418#define wxUSE_IMAGE 1
33419_ACEOF
33420
33421
33422 if test "$wxUSE_GIF" = "yes" ; then
33423 cat >>confdefs.h <<\_ACEOF
33424#define wxUSE_GIF 1
33425_ACEOF
33426
33427 fi
33428
33429 if test "$wxUSE_PCX" = "yes" ; then
33430 cat >>confdefs.h <<\_ACEOF
33431#define wxUSE_PCX 1
33432_ACEOF
33433
33434 fi
33435
33436 if test "$wxUSE_IFF" = "yes" ; then
33437 cat >>confdefs.h <<\_ACEOF
33438#define wxUSE_IFF 1
33439_ACEOF
33440
33441 fi
33442
33443 if test "$wxUSE_PNM" = "yes" ; then
33444 cat >>confdefs.h <<\_ACEOF
33445#define wxUSE_PNM 1
33446_ACEOF
33447
33448 fi
33449
33450 if test "$wxUSE_XPM" = "yes" ; then
33451 cat >>confdefs.h <<\_ACEOF
33452#define wxUSE_XPM 1
33453_ACEOF
33454
33455 fi
33456
33457 if test "$wxUSE_ICO_CUR" = "yes" ; then
33458 cat >>confdefs.h <<\_ACEOF
33459#define wxUSE_ICO_CUR 1
33460_ACEOF
33461
33462 fi
33463fi
33464
33465
33466if test "$wxUSE_CHOICEDLG" = "yes"; then
33467 cat >>confdefs.h <<\_ACEOF
33468#define wxUSE_CHOICEDLG 1
33469_ACEOF
33470
33471fi
33472
33473if test "$wxUSE_COLOURDLG" = "yes"; then
33474 cat >>confdefs.h <<\_ACEOF
33475#define wxUSE_COLOURDLG 1
33476_ACEOF
33477
33478fi
33479
33480if test "$wxUSE_FILEDLG" = "yes"; then
33481 cat >>confdefs.h <<\_ACEOF
33482#define wxUSE_FILEDLG 1
33483_ACEOF
33484
33485fi
33486
33487if test "$wxUSE_FINDREPLDLG" = "yes"; then
33488 cat >>confdefs.h <<\_ACEOF
33489#define wxUSE_FINDREPLDLG 1
33490_ACEOF
33491
33492fi
33493
33494if test "$wxUSE_FONTDLG" = "yes"; then
33495 cat >>confdefs.h <<\_ACEOF
33496#define wxUSE_FONTDLG 1
33497_ACEOF
33498
33499fi
33500
33501if test "$wxUSE_DIRDLG" = "yes"; then
33502 if test "$wxUSE_TREECTRL" != "yes"; then
33503 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33504echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33505 else
33506 cat >>confdefs.h <<\_ACEOF
33507#define wxUSE_DIRDLG 1
33508_ACEOF
33509
33510 fi
33511fi
33512
33513if test "$wxUSE_MSGDLG" = "yes"; then
33514 cat >>confdefs.h <<\_ACEOF
33515#define wxUSE_MSGDLG 1
33516_ACEOF
33517
33518fi
33519
33520if test "$wxUSE_NUMBERDLG" = "yes"; then
33521 cat >>confdefs.h <<\_ACEOF
33522#define wxUSE_NUMBERDLG 1
33523_ACEOF
33524
33525fi
33526
33527if test "$wxUSE_PROGRESSDLG" = "yes"; then
33528 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33529 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33530echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33531 else
33532 cat >>confdefs.h <<\_ACEOF
33533#define wxUSE_PROGRESSDLG 1
33534_ACEOF
33535
33536 fi
33537fi
33538
33539if test "$wxUSE_SPLASH" = "yes"; then
33540 cat >>confdefs.h <<\_ACEOF
33541#define wxUSE_SPLASH 1
33542_ACEOF
33543
33544fi
33545
33546if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33548 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33549echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33550 else
33551 cat >>confdefs.h <<\_ACEOF
33552#define wxUSE_STARTUP_TIPS 1
33553_ACEOF
33554
33555 fi
33556fi
33557
33558if test "$wxUSE_TEXTDLG" = "yes"; then
33559 cat >>confdefs.h <<\_ACEOF
33560#define wxUSE_TEXTDLG 1
33561_ACEOF
33562
33563fi
33564
33565if test "$wxUSE_WIZARDDLG" = "yes"; then
33566 cat >>confdefs.h <<\_ACEOF
33567#define wxUSE_WIZARDDLG 1
33568_ACEOF
33569
33570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33571fi
33572
33573
33574if test "$cross_compiling" = "yes"; then
33575 OSINFO="\"$host\""
33576else
33577 OSINFO=`uname -s -r -m`
33578 OSINFO="\"$OSINFO\""
33579fi
33580
33581cat >>confdefs.h <<_ACEOF
33582#define WXWIN_OS_DESCRIPTION $OSINFO
33583_ACEOF
33584
33585
33586
33587if test "x$prefix" != "xNONE"; then
33588 wxPREFIX=$prefix
33589else
33590 wxPREFIX=$ac_default_prefix
33591fi
33592
33593cat >>confdefs.h <<_ACEOF
33594#define wxINSTALL_PREFIX "$wxPREFIX"
33595_ACEOF
33596
33597
33598top_builddir_wxconfig=`pwd`
33599
33600
33601
33602CORE_BASE_LIBS="net base"
33603CORE_GUI_LIBS="adv core"
33604
33605if test "$wxUSE_XML" = "yes" ; then
33606 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33607fi
33608if test "$wxUSE_ODBC" != "no" ; then
33609 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33610 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33611fi
33612if test "$wxUSE_HTML" = "yes" ; then
33613 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33614fi
33615
33616if test "$wxUSE_GUI" != "yes"; then
33617 CORE_GUI_LIBS=""
33618fi
33619
33620
33621
33622
33623
33624
33625
33626
33627if test "$wxUSE_MAC" = 1 ; then
33628 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33629fi
33630if test "$wxUSE_COCOA" = 1 ; then
33631 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33632fi
33633
33634
33635LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33636
33637have_cos=0
33638have_floor=0
33639
33640for ac_func in cos
33641do
33642as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33643echo "$as_me:$LINENO: checking for $ac_func" >&5
33644echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33645if eval "test \"\${$as_ac_var+set}\" = set"; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33647else
33648 cat >conftest.$ac_ext <<_ACEOF
33649#line $LINENO "configure"
33650/* confdefs.h. */
33651_ACEOF
33652cat confdefs.h >>conftest.$ac_ext
33653cat >>conftest.$ac_ext <<_ACEOF
33654/* end confdefs.h. */
33655/* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33659#ifdef __STDC__
33660# include <limits.h>
33661#else
33662# include <assert.h>
33663#endif
33664/* Override any gcc2 internal prototype to avoid an error. */
33665#ifdef __cplusplus
33666extern "C"
33667{
33668#endif
33669/* We use char because int might match the return type of a gcc2
33670 builtin and then its argument prototype would still apply. */
33671char $ac_func ();
33672/* The GNU C library defines this for functions which it implements
33673 to always fail with ENOSYS. Some functions are actually named
33674 something starting with __ and the normal name is an alias. */
33675#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33676choke me
33677#else
33678char (*f) () = $ac_func;
33679#endif
33680#ifdef __cplusplus
33681}
33682#endif
33683
33684int
33685main ()
33686{
33687return f != $ac_func;
33688 ;
33689 return 0;
33690}
33691_ACEOF
33692rm -f conftest.$ac_objext conftest$ac_exeext
33693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33694 (eval $ac_link) 2>&5
33695 ac_status=$?
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try='test -s conftest$ac_exeext'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33701 ac_status=$?
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; }; then
33704 eval "$as_ac_var=yes"
33705else
33706 echo "$as_me: failed program was:" >&5
33707sed 's/^/| /' conftest.$ac_ext >&5
33708
33709eval "$as_ac_var=no"
33710fi
33711rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33712fi
33713echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h <<_ACEOF
33717#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33718_ACEOF
33719 have_cos=1
33720fi
33721done
33722
33723
33724for ac_func in floor
33725do
33726as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33727echo "$as_me:$LINENO: checking for $ac_func" >&5
33728echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33729if eval "test \"\${$as_ac_var+set}\" = set"; then
33730 echo $ECHO_N "(cached) $ECHO_C" >&6
33731else
33732 cat >conftest.$ac_ext <<_ACEOF
33733#line $LINENO "configure"
33734/* confdefs.h. */
33735_ACEOF
33736cat confdefs.h >>conftest.$ac_ext
33737cat >>conftest.$ac_ext <<_ACEOF
33738/* end confdefs.h. */
33739/* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
33743#ifdef __STDC__
33744# include <limits.h>
33745#else
33746# include <assert.h>
33747#endif
33748/* Override any gcc2 internal prototype to avoid an error. */
33749#ifdef __cplusplus
33750extern "C"
33751{
33752#endif
33753/* We use char because int might match the return type of a gcc2
33754 builtin and then its argument prototype would still apply. */
33755char $ac_func ();
33756/* The GNU C library defines this for functions which it implements
33757 to always fail with ENOSYS. Some functions are actually named
33758 something starting with __ and the normal name is an alias. */
33759#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33760choke me
33761#else
33762char (*f) () = $ac_func;
33763#endif
33764#ifdef __cplusplus
33765}
33766#endif
33767
33768int
33769main ()
33770{
33771return f != $ac_func;
33772 ;
33773 return 0;
33774}
33775_ACEOF
33776rm -f conftest.$ac_objext conftest$ac_exeext
33777if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>&5
33779 ac_status=$?
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); } &&
33782 { ac_try='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33785 ac_status=$?
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 eval "$as_ac_var=yes"
33789else
33790 echo "$as_me: failed program was:" >&5
33791sed 's/^/| /' conftest.$ac_ext >&5
33792
33793eval "$as_ac_var=no"
33794fi
33795rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33796fi
33797echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h <<_ACEOF
33801#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33802_ACEOF
33803 have_floor=1
33804fi
33805done
33806
33807echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33808echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33809if test "$have_cos" = 1 -a "$have_floor" = 1; then
33810 echo "$as_me:$LINENO: result: yes" >&5
33811echo "${ECHO_T}yes" >&6
33812else
33813 echo "$as_me:$LINENO: result: no" >&5
33814echo "${ECHO_T}no" >&6
33815 LIBS="$LIBS -lm"
33816 # use different functions to avoid configure caching
33817 have_sin=0
33818 have_ceil=0
33819
33820for ac_func in sin
33821do
33822as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33823echo "$as_me:$LINENO: checking for $ac_func" >&5
33824echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33825if eval "test \"\${$as_ac_var+set}\" = set"; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33827else
33828 cat >conftest.$ac_ext <<_ACEOF
33829#line $LINENO "configure"
33830/* confdefs.h. */
33831_ACEOF
33832cat confdefs.h >>conftest.$ac_ext
33833cat >>conftest.$ac_ext <<_ACEOF
33834/* end confdefs.h. */
33835/* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33839#ifdef __STDC__
33840# include <limits.h>
33841#else
33842# include <assert.h>
33843#endif
33844/* Override any gcc2 internal prototype to avoid an error. */
33845#ifdef __cplusplus
33846extern "C"
33847{
33848#endif
33849/* We use char because int might match the return type of a gcc2
33850 builtin and then its argument prototype would still apply. */
33851char $ac_func ();
33852/* The GNU C library defines this for functions which it implements
33853 to always fail with ENOSYS. Some functions are actually named
33854 something starting with __ and the normal name is an alias. */
33855#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33856choke me
33857#else
33858char (*f) () = $ac_func;
33859#endif
33860#ifdef __cplusplus
33861}
33862#endif
33863
33864int
33865main ()
33866{
33867return f != $ac_func;
33868 ;
33869 return 0;
33870}
33871_ACEOF
33872rm -f conftest.$ac_objext conftest$ac_exeext
33873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>&5
33875 ac_status=$?
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try='test -s conftest$ac_exeext'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; }; then
33884 eval "$as_ac_var=yes"
33885else
33886 echo "$as_me: failed program was:" >&5
33887sed 's/^/| /' conftest.$ac_ext >&5
33888
33889eval "$as_ac_var=no"
33890fi
33891rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33892fi
33893echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895if test `eval echo '${'$as_ac_var'}'` = yes; then
33896 cat >>confdefs.h <<_ACEOF
33897#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33898_ACEOF
33899 have_sin=1
33900fi
33901done
33902
33903
33904for ac_func in ceil
33905do
33906as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33907echo "$as_me:$LINENO: checking for $ac_func" >&5
33908echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33909if eval "test \"\${$as_ac_var+set}\" = set"; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33911else
33912 cat >conftest.$ac_ext <<_ACEOF
33913#line $LINENO "configure"
33914/* confdefs.h. */
33915_ACEOF
33916cat confdefs.h >>conftest.$ac_ext
33917cat >>conftest.$ac_ext <<_ACEOF
33918/* end confdefs.h. */
33919/* System header to define __stub macros and hopefully few prototypes,
33920 which can conflict with char $ac_func (); below.
33921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33922 <limits.h> exists even on freestanding compilers. */
33923#ifdef __STDC__
33924# include <limits.h>
33925#else
33926# include <assert.h>
33927#endif
33928/* Override any gcc2 internal prototype to avoid an error. */
33929#ifdef __cplusplus
33930extern "C"
33931{
33932#endif
33933/* We use char because int might match the return type of a gcc2
33934 builtin and then its argument prototype would still apply. */
33935char $ac_func ();
33936/* The GNU C library defines this for functions which it implements
33937 to always fail with ENOSYS. Some functions are actually named
33938 something starting with __ and the normal name is an alias. */
33939#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33940choke me
33941#else
33942char (*f) () = $ac_func;
33943#endif
33944#ifdef __cplusplus
33945}
33946#endif
33947
33948int
33949main ()
33950{
33951return f != $ac_func;
33952 ;
33953 return 0;
33954}
33955_ACEOF
33956rm -f conftest.$ac_objext conftest$ac_exeext
33957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33958 (eval $ac_link) 2>&5
33959 ac_status=$?
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try='test -s conftest$ac_exeext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 eval "$as_ac_var=yes"
33969else
33970 echo "$as_me: failed program was:" >&5
33971sed 's/^/| /' conftest.$ac_ext >&5
33972
33973eval "$as_ac_var=no"
33974fi
33975rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33976fi
33977echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33978echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33979if test `eval echo '${'$as_ac_var'}'` = yes; then
33980 cat >>confdefs.h <<_ACEOF
33981#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33982_ACEOF
33983 have_ceil=1
33984fi
33985done
33986
33987 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33988echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33989 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33990 echo "$as_me:$LINENO: result: yes" >&5
33991echo "${ECHO_T}yes" >&6
33992 else
33993 echo "$as_me:$LINENO: result: no" >&5
33994echo "${ECHO_T}no" >&6
33995 # not sure we should warn the user, crash, etc.
33996 fi
33997fi
33998
33999if test "$wxUSE_GUI" = "yes"; then
34000
34001
34002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34003 drawing dynamic erase event exec font image \
34004 minimal propsize rotate shaped widgets render"
34005
34006 if test "$wxUSE_MONOLITHIC" != "yes"; then
34007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34008 fi
34009else
34010 SAMPLES_SUBDIRS="console"
34011fi
34012
34013
34014INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34015-I\${top_srcdir}/include \
34016$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34017$TOOLKIT_INCLUDE"
34018
34019if test "$GXX" = yes ; then
34020 CXXWARNINGS="-Wall"
34021 fi
34022
34023EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34024
34025CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34026CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34027CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34028
34029
34030LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34031EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34032EXTRALIBS_XML="$EXPAT_LINK"
34033EXTRALIBS_HTML="$MSPACK_LINK"
34034EXTRALIBS_ODBC="$ODBC_LINK"
34035if test "$wxUSE_GUI" = "yes"; then
34036 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34037fi
34038if test "$wxUSE_OPENGL" = "yes"; then
34039 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34040fi
34041
34042LDFLAGS="$LDFLAGS $PROFILE"
34043
34044if test "$wxUSE_GTK" = 1; then
34045 WXCONFIG_INCLUDE=
34046else
34047 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34048fi
34049
34050WXCONFIG_EXTRALIBS="$LIBS"
34051
34052if test "$wxUSE_REGEX" = "builtin" ; then
34053 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34054fi
34055if test "$wxUSE_EXPAT" = "builtin" ; then
34056 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34057fi
34058if test "$wxUSE_ODBC" = "builtin" ; then
34059 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34060fi
34061if test "$wxUSE_LIBTIFF" = "builtin" ; then
34062 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34063fi
34064if test "$wxUSE_LIBJPEG" = "builtin" ; then
34065 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34066fi
34067if test "$wxUSE_LIBPNG" = "builtin" ; then
34068 wxconfig_3rdparty="$wxconfig_3rdparty png"
34069fi
34070if test "$wxUSE_ZLIB" = "builtin" ; then
34071 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34072fi
34073if test "$wxUSE_ODBC" = "builtin" ; then
34074 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34075fi
34076
34077for i in $wxconfig_3rdparty ; do
34078 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34079done
34080
34081
34082if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34083 WXUNIV=1
34084else
34085 WXUNIV=0
34086fi
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096if test $wxUSE_MONOLITHIC = "yes" ; then
34097 MONOLITHIC=1
34098else
34099 MONOLITHIC=0
34100fi
34101
34102if test $wxUSE_ODBC != "no" ; then
34103 USE_ODBC=1
34104else
34105 USE_ODBC=0
34106fi
34107
34108if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34109 OFFICIAL_BUILD=1
34110else
34111 OFFICIAL_BUILD=0
34112fi
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34132
34133
34134
34135
34136
34137
34138
34139 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34140
34141 if test -n "$ac_tool_prefix"; then
34142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34143set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34144echo "$as_me:$LINENO: checking for $ac_word" >&5
34145echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34146if test "${ac_cv_prog_RANLIB+set}" = set; then
34147 echo $ECHO_N "(cached) $ECHO_C" >&6
34148else
34149 if test -n "$RANLIB"; then
34150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34151else
34152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34153for as_dir in $PATH
34154do
34155 IFS=$as_save_IFS
34156 test -z "$as_dir" && as_dir=.
34157 for ac_exec_ext in '' $ac_executable_extensions; do
34158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34161 break 2
34162 fi
34163done
34164done
34165
34166fi
34167fi
34168RANLIB=$ac_cv_prog_RANLIB
34169if test -n "$RANLIB"; then
34170 echo "$as_me:$LINENO: result: $RANLIB" >&5
34171echo "${ECHO_T}$RANLIB" >&6
34172else
34173 echo "$as_me:$LINENO: result: no" >&5
34174echo "${ECHO_T}no" >&6
34175fi
34176
34177fi
34178if test -z "$ac_cv_prog_RANLIB"; then
34179 ac_ct_RANLIB=$RANLIB
34180 # Extract the first word of "ranlib", so it can be a program name with args.
34181set dummy ranlib; ac_word=$2
34182echo "$as_me:$LINENO: checking for $ac_word" >&5
34183echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34184if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34186else
34187 if test -n "$ac_ct_RANLIB"; then
34188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34189else
34190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34191for as_dir in $PATH
34192do
34193 IFS=$as_save_IFS
34194 test -z "$as_dir" && as_dir=.
34195 for ac_exec_ext in '' $ac_executable_extensions; do
34196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34197 ac_cv_prog_ac_ct_RANLIB="ranlib"
34198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34199 break 2
34200 fi
34201done
34202done
34203
34204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34205fi
34206fi
34207ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34208if test -n "$ac_ct_RANLIB"; then
34209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34210echo "${ECHO_T}$ac_ct_RANLIB" >&6
34211else
34212 echo "$as_me:$LINENO: result: no" >&5
34213echo "${ECHO_T}no" >&6
34214fi
34215
34216 RANLIB=$ac_ct_RANLIB
34217else
34218 RANLIB="$ac_cv_prog_RANLIB"
34219fi
34220
34221 # Find a good install program. We prefer a C program (faster),
34222# so one script is as good as another. But avoid the broken or
34223# incompatible versions:
34224# SysV /etc/install, /usr/sbin/install
34225# SunOS /usr/etc/install
34226# IRIX /sbin/install
34227# AIX /bin/install
34228# AmigaOS /C/install, which installs bootblocks on floppy discs
34229# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34230# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34231# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34232# ./install, which can be erroneously created by make from ./install.sh.
34233echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34234echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34235if test -z "$INSTALL"; then
34236if test "${ac_cv_path_install+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34238else
34239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34240for as_dir in $PATH
34241do
34242 IFS=$as_save_IFS
34243 test -z "$as_dir" && as_dir=.
34244 # Account for people who put trailing slashes in PATH elements.
34245case $as_dir/ in
34246 ./ | .// | /cC/* | \
34247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34248 /usr/ucb/* ) ;;
34249 *)
34250 # OSF1 and SCO ODT 3.0 have their own names for install.
34251 # Don't use installbsd from OSF since it installs stuff as root
34252 # by default.
34253 for ac_prog in ginstall scoinst install; do
34254 for ac_exec_ext in '' $ac_executable_extensions; do
34255 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34256 if test $ac_prog = install &&
34257 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34258 # AIX install. It has an incompatible calling convention.
34259 :
34260 elif test $ac_prog = install &&
34261 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34262 # program-specific install script used by HP pwplus--don't use.
34263 :
34264 else
34265 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34266 break 3
34267 fi
34268 fi
34269 done
34270 done
34271 ;;
34272esac
34273done
34274
34275
34276fi
34277 if test "${ac_cv_path_install+set}" = set; then
34278 INSTALL=$ac_cv_path_install
34279 else
34280 # As a last resort, use the slow shell script. We don't cache a
34281 # path for INSTALL within a source directory, because that will
34282 # break other packages using the cache if that directory is
34283 # removed, or if the path is relative.
34284 INSTALL=$ac_install_sh
34285 fi
34286fi
34287echo "$as_me:$LINENO: result: $INSTALL" >&5
34288echo "${ECHO_T}$INSTALL" >&6
34289
34290# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34291# It thinks the first close brace ends the variable substitution.
34292test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34293
34294test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34295
34296test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34297
34298 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34299echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34300LN_S=$as_ln_s
34301if test "$LN_S" = "ln -s"; then
34302 echo "$as_me:$LINENO: result: yes" >&5
34303echo "${ECHO_T}yes" >&6
34304else
34305 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34306echo "${ECHO_T}no, using $LN_S" >&6
34307fi
34308
34309
34310 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34311echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34312set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34313if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34315else
34316 cat >conftest.make <<\_ACEOF
34317all:
34318 @echo 'ac_maketemp="$(MAKE)"'
34319_ACEOF
34320# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34321eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34322if test -n "$ac_maketemp"; then
34323 eval ac_cv_prog_make_${ac_make}_set=yes
34324else
34325 eval ac_cv_prog_make_${ac_make}_set=no
34326fi
34327rm -f conftest.make
34328fi
34329if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34330 echo "$as_me:$LINENO: result: yes" >&5
34331echo "${ECHO_T}yes" >&6
34332 SET_MAKE=
34333else
34334 echo "$as_me:$LINENO: result: no" >&5
34335echo "${ECHO_T}no" >&6
34336 SET_MAKE="MAKE=${MAKE-make}"
34337fi
34338
34339
34340
34341 if test -n "$ac_tool_prefix"; then
34342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34343set dummy ${ac_tool_prefix}ar; ac_word=$2
34344echo "$as_me:$LINENO: checking for $ac_word" >&5
34345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34346if test "${ac_cv_prog_AR+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348else
34349 if test -n "$AR"; then
34350 ac_cv_prog_AR="$AR" # Let the user override the test.
34351else
34352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34353for as_dir in $PATH
34354do
34355 IFS=$as_save_IFS
34356 test -z "$as_dir" && as_dir=.
34357 for ac_exec_ext in '' $ac_executable_extensions; do
34358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34359 ac_cv_prog_AR="${ac_tool_prefix}ar"
34360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34361 break 2
34362 fi
34363done
34364done
34365
34366fi
34367fi
34368AR=$ac_cv_prog_AR
34369if test -n "$AR"; then
34370 echo "$as_me:$LINENO: result: $AR" >&5
34371echo "${ECHO_T}$AR" >&6
34372else
34373 echo "$as_me:$LINENO: result: no" >&5
34374echo "${ECHO_T}no" >&6
34375fi
34376
34377fi
34378if test -z "$ac_cv_prog_AR"; then
34379 ac_ct_AR=$AR
34380 # Extract the first word of "ar", so it can be a program name with args.
34381set dummy ar; ac_word=$2
34382echo "$as_me:$LINENO: checking for $ac_word" >&5
34383echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34384if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34386else
34387 if test -n "$ac_ct_AR"; then
34388 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34389else
34390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34391for as_dir in $PATH
34392do
34393 IFS=$as_save_IFS
34394 test -z "$as_dir" && as_dir=.
34395 for ac_exec_ext in '' $ac_executable_extensions; do
34396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34397 ac_cv_prog_ac_ct_AR="ar"
34398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34399 break 2
34400 fi
34401done
34402done
34403
34404 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34405fi
34406fi
34407ac_ct_AR=$ac_cv_prog_ac_ct_AR
34408if test -n "$ac_ct_AR"; then
34409 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34410echo "${ECHO_T}$ac_ct_AR" >&6
34411else
34412 echo "$as_me:$LINENO: result: no" >&5
34413echo "${ECHO_T}no" >&6
34414fi
34415
34416 AR=$ac_ct_AR
34417else
34418 AR="$ac_cv_prog_AR"
34419fi
34420
34421 if test -n "$ac_tool_prefix"; then
34422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34423set dummy ${ac_tool_prefix}strip; ac_word=$2
34424echo "$as_me:$LINENO: checking for $ac_word" >&5
34425echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34426if test "${ac_cv_prog_STRIP+set}" = set; then
34427 echo $ECHO_N "(cached) $ECHO_C" >&6
34428else
34429 if test -n "$STRIP"; then
34430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34431else
34432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34433for as_dir in $PATH
34434do
34435 IFS=$as_save_IFS
34436 test -z "$as_dir" && as_dir=.
34437 for ac_exec_ext in '' $ac_executable_extensions; do
34438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34439 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34441 break 2
34442 fi
34443done
34444done
34445
34446fi
34447fi
34448STRIP=$ac_cv_prog_STRIP
34449if test -n "$STRIP"; then
34450 echo "$as_me:$LINENO: result: $STRIP" >&5
34451echo "${ECHO_T}$STRIP" >&6
34452else
34453 echo "$as_me:$LINENO: result: no" >&5
34454echo "${ECHO_T}no" >&6
34455fi
34456
34457fi
34458if test -z "$ac_cv_prog_STRIP"; then
34459 ac_ct_STRIP=$STRIP
34460 # Extract the first word of "strip", so it can be a program name with args.
34461set dummy strip; ac_word=$2
34462echo "$as_me:$LINENO: checking for $ac_word" >&5
34463echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34464if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34466else
34467 if test -n "$ac_ct_STRIP"; then
34468 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34469else
34470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34471for as_dir in $PATH
34472do
34473 IFS=$as_save_IFS
34474 test -z "$as_dir" && as_dir=.
34475 for ac_exec_ext in '' $ac_executable_extensions; do
34476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34477 ac_cv_prog_ac_ct_STRIP="strip"
34478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34479 break 2
34480 fi
34481done
34482done
34483
34484 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34485fi
34486fi
34487ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34488if test -n "$ac_ct_STRIP"; then
34489 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34490echo "${ECHO_T}$ac_ct_STRIP" >&6
34491else
34492 echo "$as_me:$LINENO: result: no" >&5
34493echo "${ECHO_T}no" >&6
34494fi
34495
34496 STRIP=$ac_ct_STRIP
34497else
34498 STRIP="$ac_cv_prog_STRIP"
34499fi
34500
34501 if test -n "$ac_tool_prefix"; then
34502 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34503set dummy ${ac_tool_prefix}nm; ac_word=$2
34504echo "$as_me:$LINENO: checking for $ac_word" >&5
34505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34506if test "${ac_cv_prog_NM+set}" = set; then
34507 echo $ECHO_N "(cached) $ECHO_C" >&6
34508else
34509 if test -n "$NM"; then
34510 ac_cv_prog_NM="$NM" # Let the user override the test.
34511else
34512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34513for as_dir in $PATH
34514do
34515 IFS=$as_save_IFS
34516 test -z "$as_dir" && as_dir=.
34517 for ac_exec_ext in '' $ac_executable_extensions; do
34518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34519 ac_cv_prog_NM="${ac_tool_prefix}nm"
34520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34521 break 2
34522 fi
34523done
34524done
34525
34526fi
34527fi
34528NM=$ac_cv_prog_NM
34529if test -n "$NM"; then
34530 echo "$as_me:$LINENO: result: $NM" >&5
34531echo "${ECHO_T}$NM" >&6
34532else
34533 echo "$as_me:$LINENO: result: no" >&5
34534echo "${ECHO_T}no" >&6
34535fi
34536
34537fi
34538if test -z "$ac_cv_prog_NM"; then
34539 ac_ct_NM=$NM
34540 # Extract the first word of "nm", so it can be a program name with args.
34541set dummy nm; ac_word=$2
34542echo "$as_me:$LINENO: checking for $ac_word" >&5
34543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34544if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34546else
34547 if test -n "$ac_ct_NM"; then
34548 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34549else
34550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34551for as_dir in $PATH
34552do
34553 IFS=$as_save_IFS
34554 test -z "$as_dir" && as_dir=.
34555 for ac_exec_ext in '' $ac_executable_extensions; do
34556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34557 ac_cv_prog_ac_ct_NM="nm"
34558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34559 break 2
34560 fi
34561done
34562done
34563
34564 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34565fi
34566fi
34567ac_ct_NM=$ac_cv_prog_ac_ct_NM
34568if test -n "$ac_ct_NM"; then
34569 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34570echo "${ECHO_T}$ac_ct_NM" >&6
34571else
34572 echo "$as_me:$LINENO: result: no" >&5
34573echo "${ECHO_T}no" >&6
34574fi
34575
34576 NM=$ac_ct_NM
34577else
34578 NM="$ac_cv_prog_NM"
34579fi
34580
34581
34582 case ${host} in
34583 *-hp-hpux* )
34584 INSTALL_DIR="mkdir"
34585 ;;
34586 *) INSTALL_DIR="$INSTALL -d"
34587 ;;
34588 esac
34589
34590
34591 LDFLAGS_GUI=
34592 case ${host} in
34593 *-*-cygwin* | *-*-mingw32* )
34594 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34595 esac
34596
34597
34598 fi
34599
34600 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34601echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34602if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34603 echo $ECHO_N "(cached) $ECHO_C" >&6
34604else
34605
34606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34607 egrep -s GNU > /dev/null); then
34608 bakefile_cv_prog_makeisgnu="yes"
34609 else
34610 bakefile_cv_prog_makeisgnu="no"
34611 fi
34612
34613fi
34614echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34615echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34616
34617 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34618 IF_GNU_MAKE=""
34619 else
34620 IF_GNU_MAKE="#"
34621 fi
34622
34623
34624
34625 PLATFORM_UNIX=0
34626 PLATFORM_WIN32=0
34627 PLATFORM_MSDOS=0
34628 PLATFORM_MAC=0
34629 PLATFORM_MACOSX=0
34630 PLATFORM_OS2=0
34631
34632 case "${host}" in
34633 *-*-cygwin* | *-*-mingw32* )
34634 PLATFORM_WIN32=1
34635 ;;
34636 *-pc-msdosdjgpp )
34637 PLATFORM_MSDOS=1
34638 ;;
34639 *-pc-os2_emx | *-pc-os2-emx )
34640 PLATFORM_OS2=1
34641 ;;
34642 powerpc-*-darwin* )
34643 PLATFORM_MAC=1
34644 PLATFORM_MACOSX=1
34645 ;;
34646 * )
34647 PLATFORM_UNIX=1
34648 ;;
34649 esac
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659 SO_SUFFIX="so"
34660 SO_SUFFIX_MODULE="so"
34661 EXEEXT=""
34662 LIBPREFIX=lib
34663 DLLPREFIX=lib
34664 DLLPREFIX_MODULE=
34665
34666 case "${host}" in
34667 *-hp-hpux* )
34668 SO_SUFFIX="sl"
34669 SO_SUFFIX_MODULE="sl"
34670 ;;
34671 *-*-aix* )
34672 SO_SUFFIX="a"
34673 SO_SUFFIX_MODULE="a"
34674 ;;
34675 *-*-cygwin* | *-*-mingw32* )
34676 SO_SUFFIX="dll"
34677 SO_SUFFIX_MODULE="dll"
34678 EXEEXT=".exe"
34679 DLLPREFIX=""
34680 ;;
34681 *-pc-msdosdjgpp )
34682 EXEEXT=".exe"
34683 DLLPREFIX=""
34684 ;;
34685 *-pc-os2_emx | *-pc-os2-emx )
34686 EXEEXT=".exe"
34687 DLLPREFIX=""
34688 LIBPREFIX=""
34689 ;;
34690 powerpc-*-darwin* )
34691 SO_SUFFIX="dylib"
34692 SO_SUFFIX_MODULE="bundle"
34693 ;;
34694 esac
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704 SHARED_LD_CC="\$(CC) -shared -o"
34705 SHARED_LD_CXX="\$(CXX) -shared -o"
34706
34707 if test "x$GCC" = "xyes"; then
34708 PIC_FLAG="-fPIC"
34709 fi
34710
34711 case "${host}" in
34712 *-hp-hpux* )
34713 if test "x$GCC" = "xyes"; then
34714 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34715 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34716 else
34717 LDFLAGS="$LDFLAGS -L/usr/lib"
34718
34719 SHARED_LD_CC="${CC} -b -o"
34720 SHARED_LD_CXX="${CXX} -b -o"
34721 PIC_FLAG="+Z"
34722 fi
34723 ;;
34724
34725 *-*-linux* )
34726 if test "x$GCC" != "xyes"; then
34727 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34728echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34729if test "${bakefile_cv_prog_icc+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731else
34732
34733 cat >conftest.$ac_ext <<_ACEOF
34734#line $LINENO "configure"
34735/* confdefs.h. */
34736_ACEOF
34737cat confdefs.h >>conftest.$ac_ext
34738cat >>conftest.$ac_ext <<_ACEOF
34739/* end confdefs.h. */
34740
34741int
34742main ()
34743{
34744
34745 #ifndef __INTEL_COMPILER
34746 #error Not icc
34747 #endif
34748
34749 ;
34750 return 0;
34751}
34752_ACEOF
34753rm -f conftest.$ac_objext
34754if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34755 (eval $ac_compile) 2>&5
34756 ac_status=$?
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } &&
34759 { ac_try='test -s conftest.$ac_objext'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34762 ac_status=$?
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; }; then
34765 bakefile_cv_prog_icc=yes
34766else
34767 echo "$as_me: failed program was:" >&5
34768sed 's/^/| /' conftest.$ac_ext >&5
34769
34770bakefile_cv_prog_icc=no
34771
34772fi
34773rm -f conftest.$ac_objext conftest.$ac_ext
34774
34775fi
34776echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34777echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34778 if test "$bakefile_cv_prog_icc" = "yes"; then
34779 PIC_FLAG="-KPIC"
34780 fi
34781 fi
34782 ;;
34783
34784 *-*-solaris2* )
34785 if test "x$GCC" != xyes ; then
34786 SHARED_LD_CC="${CC} -G -o"
34787 SHARED_LD_CXX="${CXX} -G -o"
34788 PIC_FLAG="-KPIC"
34789 fi
34790 ;;
34791
34792 *-*-darwin* )
34793 CFLAGS="$CFLAGS -fno-common"
34794 CXXFLAGS="$CXXFLAGS -fno-common"
34795
34796
34797 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34798echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34799if test "${wx_cv_gcc31+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34801else
34802
34803 cat >conftest.$ac_ext <<_ACEOF
34804#line $LINENO "configure"
34805/* confdefs.h. */
34806_ACEOF
34807cat confdefs.h >>conftest.$ac_ext
34808cat >>conftest.$ac_ext <<_ACEOF
34809/* end confdefs.h. */
34810
34811int
34812main ()
34813{
34814
34815 #if (__GNUC__ < 3) || \
34816 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34817 #error old gcc
34818 #endif
34819
34820 ;
34821 return 0;
34822}
34823_ACEOF
34824rm -f conftest.$ac_objext
34825if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34826 (eval $ac_compile) 2>&5
34827 ac_status=$?
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); } &&
34830 { ac_try='test -s conftest.$ac_objext'
34831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34832 (eval $ac_try) 2>&5
34833 ac_status=$?
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); }; }; then
34836
34837 wx_cv_gcc31=yes
34838
34839else
34840 echo "$as_me: failed program was:" >&5
34841sed 's/^/| /' conftest.$ac_ext >&5
34842
34843
34844 wx_cv_gcc31=no
34845
34846
34847fi
34848rm -f conftest.$ac_objext conftest.$ac_ext
34849
34850fi
34851echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34852echo "${ECHO_T}$wx_cv_gcc31" >&6
34853 if test "$wx_cv_gcc31" = "no"; then
34854 cat <<EOF >shared-ld-sh
34855#!/bin/sh
34856#-----------------------------------------------------------------------------
34857#-- Name: distrib/mac/shared-ld-sh
34858#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34859#-- Author: Gilles Depeyrot
34860#-- Copyright: (c) 2002 Gilles Depeyrot
34861#-- Licence: any use permitted
34862#-----------------------------------------------------------------------------
34863
34864verbose=0
34865args=""
34866objects=""
34867linking_flag="-dynamiclib"
34868
34869while test \${#} -gt 0; do
34870 case \${1} in
34871
34872 -v)
34873 verbose=1
34874 ;;
34875
34876 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34877 # collect these options and values
34878 args="\${args} \${1} \${2}"
34879 shift
34880 ;;
34881
34882 -l*|-L*|-flat_namespace)
34883 # collect these options
34884 args="\${args} \${1}"
34885 ;;
34886
34887 -dynamiclib|-bundle)
34888 linking_flag="\${1}"
34889 ;;
34890
34891 -*)
34892 echo "shared-ld: unhandled option '\${1}'"
34893 exit 1
34894 ;;
34895
34896 *.o | *.a | *.dylib)
34897 # collect object files
34898 objects="\${objects} \${1}"
34899 ;;
34900
34901 *)
34902 echo "shared-ld: unhandled argument '\${1}'"
34903 exit 1
34904 ;;
34905
34906 esac
34907 shift
34908done
34909
34910#
34911# Link one module containing all the others
34912#
34913if test \${verbose} = 1; then
34914 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34915fi
34916c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34917status=\$?
34918if test \${status} != 0; then
34919 exit \${status}
34920fi
34921
34922#
34923# Link the shared library from the single module created
34924#
34925if test \${verbose} = 1; then
34926 echo "cc \${linking_flag} master.\$\$.o \${args}"
34927fi
34928c++ \${linking_flag} master.\$\$.o \${args}
34929status=\$?
34930if test \${status} != 0; then
34931 exit \${status}
34932fi
34933
34934#
34935# Remove intermediate module
34936#
34937rm -f master.\$\$.o
34938
34939exit 0
34940EOF
34941 chmod +x shared-ld-sh
34942
34943 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34944 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34945 SHARED_LD_CXX="$SHARED_LD_CC"
34946 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34947 else
34948 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34949 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34950 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34951 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34952 fi
34953
34954 PIC_FLAG="-dynamic -fPIC"
34955 ;;
34956
34957 *-*-aix* )
34958 if test "x$GCC" != "xyes"; then
34959 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34960set dummy makeC++SharedLib; ac_word=$2
34961echo "$as_me:$LINENO: checking for $ac_word" >&5
34962echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34963if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34965else
34966 if test -n "$AIX_CXX_LD"; then
34967 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34968else
34969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34970for as_dir in $PATH
34971do
34972 IFS=$as_save_IFS
34973 test -z "$as_dir" && as_dir=.
34974 for ac_exec_ext in '' $ac_executable_extensions; do
34975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34976 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34978 break 2
34979 fi
34980done
34981done
34982
34983 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34984fi
34985fi
34986AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34987if test -n "$AIX_CXX_LD"; then
34988 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34989echo "${ECHO_T}$AIX_CXX_LD" >&6
34990else
34991 echo "$as_me:$LINENO: result: no" >&5
34992echo "${ECHO_T}no" >&6
34993fi
34994
34995 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34996 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34997 fi
34998 ;;
34999
35000 *-*-beos* )
35001 SHARED_LD_CC="${LD} -shared -o"
35002 SHARED_LD_CXX="${LD} -shared -o"
35003 ;;
35004
35005 *-*-irix* )
35006 if test "x$GCC" != "xyes"; then
35007 PIC_FLAG="-KPIC"
35008 fi
35009 ;;
35010
35011 *-*-cygwin* | *-*-mingw32* )
35012 PIC_FLAG=""
35013 ;;
35014
35015 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35016 *-*-sunos4* | \
35017 *-*-osf* | \
35018 *-*-dgux5* | \
35019 *-pc-os2_emx | *-pc-os2-emx | \
35020 *-*-sysv5* )
35021 ;;
35022
35023 *)
35024 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35025echo "$as_me: error: unknown system type $host." >&2;}
35026 { (exit 1); exit 1; }; }
35027 esac
35028
35029 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35030 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35031 fi
35032 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35033 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35034 fi
35035
35036
35037
35038
35039
35040
35041
35042
35043 USE_SOVERSION=0
35044 USE_SOVERLINUX=0
35045 USE_SOVERSOLARIS=0
35046 USE_SOSYMLINKS=0
35047 USE_MACVERSION=0
35048 SONAME_FLAG=
35049
35050 case "${host}" in
35051 *-*-linux* )
35052 SONAME_FLAG="-Wl,-soname,"
35053 USE_SOVERSION=1
35054 USE_SOVERLINUX=1
35055 USE_SOSYMLINKS=1
35056 ;;
35057
35058 *-*-solaris2* )
35059 SONAME_FLAG="-h "
35060 USE_SOVERSION=1
35061 USE_SOVERSOLARIS=1
35062 USE_SOSYMLINKS=1
35063 ;;
35064
35065 *-*-darwin* )
35066 USE_MACVERSION=1
35067 USE_SOVERSION=1
35068 USE_SOSYMLINKS=1
35069 ;;
35070 esac
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35081echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35082 DEPS_TRACKING=0
35083
35084 if test "x$GCC" = "xyes"; then
35085 DEPSMODE=gcc
35086 DEPS_TRACKING=1
35087 case "${host}" in
35088 powerpc-*-darwin* )
35089 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35090 ;;
35091 * )
35092 DEPSFLAG_GCC="-MMD"
35093 ;;
35094 esac
35095 echo "$as_me:$LINENO: result: gcc" >&5
35096echo "${ECHO_T}gcc" >&6
35097 else
35098 echo "$as_me:$LINENO: result: none" >&5
35099echo "${ECHO_T}none" >&6
35100 fi
35101
35102 if test $DEPS_TRACKING = 1 ; then
35103 cat <<EOF >bk-deps
35104#!/bin/sh
35105
35106# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35107# script. It is used to track C/C++ files dependencies in portable way.
35108#
35109# Permission is given to use this file in any way.
35110
35111DEPSMODE=$DEPSMODE
35112DEPSDIR=.deps
35113DEPSFLAG_GCC="$DEPSFLAG_GCC"
35114
35115mkdir -p \$DEPSDIR
35116
35117if test \$DEPSMODE = gcc ; then
35118 \${*} \${DEPSFLAG_GCC}
35119 status=\${?}
35120 if test \${status} != 0 ; then
35121 exit \${status}
35122 fi
35123 # move created file to the location we want it in:
35124 while test \${#} -gt 0; do
35125 case "\${1}" in
35126 -o )
35127 shift
35128 objfile=\${1}
35129 ;;
35130 -* )
35131 ;;
35132 * )
35133 srcfile=\${1}
35134 ;;
35135 esac
35136 shift
35137 done
35138 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35139 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35140 if test -f \$depfile ; then
35141 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35142 rm -f \$depfile
35143 else
35144 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35145 if test -f \$depfile ; then
35146 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35147 rm -f \$depfile
35148 fi
35149 fi
35150 exit 0
35151else
35152 \${*}
35153 exit \${?}
35154fi
35155EOF
35156 chmod +x bk-deps
35157 fi
35158
35159
35160
35161
35162 RESCOMP=
35163 SETFILE=
35164
35165 case ${host} in
35166 *-*-cygwin* | *-*-mingw32* )
35167 if test "$build" != "$host" ; then
35168 RESCOMP=$host_alias-windres
35169 else
35170 # Extract the first word of "windres", so it can be a program name with args.
35171set dummy windres; ac_word=$2
35172echo "$as_me:$LINENO: checking for $ac_word" >&5
35173echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35174if test "${ac_cv_prog_RESCOMP+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176else
35177 if test -n "$RESCOMP"; then
35178 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35179else
35180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35181for as_dir in $PATH
35182do
35183 IFS=$as_save_IFS
35184 test -z "$as_dir" && as_dir=.
35185 for ac_exec_ext in '' $ac_executable_extensions; do
35186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35187 ac_cv_prog_RESCOMP="windres"
35188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35189 break 2
35190 fi
35191done
35192done
35193
35194 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35195fi
35196fi
35197RESCOMP=$ac_cv_prog_RESCOMP
35198if test -n "$RESCOMP"; then
35199 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35200echo "${ECHO_T}$RESCOMP" >&6
35201else
35202 echo "$as_me:$LINENO: result: no" >&5
35203echo "${ECHO_T}no" >&6
35204fi
35205
35206 fi
35207 ;;
35208
35209 *-*-darwin* )
35210 # Extract the first word of "Rez", so it can be a program name with args.
35211set dummy Rez; ac_word=$2
35212echo "$as_me:$LINENO: checking for $ac_word" >&5
35213echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35214if test "${ac_cv_prog_RESCOMP+set}" = set; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35216else
35217 if test -n "$RESCOMP"; then
35218 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35219else
35220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35221for as_dir in $PATH
35222do
35223 IFS=$as_save_IFS
35224 test -z "$as_dir" && as_dir=.
35225 for ac_exec_ext in '' $ac_executable_extensions; do
35226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35227 ac_cv_prog_RESCOMP="Rez"
35228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35229 break 2
35230 fi
35231done
35232done
35233
35234 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35235fi
35236fi
35237RESCOMP=$ac_cv_prog_RESCOMP
35238if test -n "$RESCOMP"; then
35239 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35240echo "${ECHO_T}$RESCOMP" >&6
35241else
35242 echo "$as_me:$LINENO: result: no" >&5
35243echo "${ECHO_T}no" >&6
35244fi
35245
35246 # Extract the first word of "SetFile", so it can be a program name with args.
35247set dummy SetFile; ac_word=$2
35248echo "$as_me:$LINENO: checking for $ac_word" >&5
35249echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35250if test "${ac_cv_prog_SETFILE+set}" = set; then
35251 echo $ECHO_N "(cached) $ECHO_C" >&6
35252else
35253 if test -n "$SETFILE"; then
35254 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35255else
35256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35257for as_dir in $PATH
35258do
35259 IFS=$as_save_IFS
35260 test -z "$as_dir" && as_dir=.
35261 for ac_exec_ext in '' $ac_executable_extensions; do
35262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35263 ac_cv_prog_SETFILE="SetFile"
35264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35265 break 2
35266 fi
35267done
35268done
35269
35270 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35271fi
35272fi
35273SETFILE=$ac_cv_prog_SETFILE
35274if test -n "$SETFILE"; then
35275 echo "$as_me:$LINENO: result: $SETFILE" >&5
35276echo "${ECHO_T}$SETFILE" >&6
35277else
35278 echo "$as_me:$LINENO: result: no" >&5
35279echo "${ECHO_T}no" >&6
35280fi
35281
35282 ;;
35283 esac
35284
35285
35286
35287
35288
35289
35290
35291
35292 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35293if test "${enable_precomp_headers+set}" = set; then
35294 enableval="$enable_precomp_headers"
35295 bk_use_pch="$enableval"
35296fi;
35297
35298 GCC_PCH=0
35299
35300 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35301 if test "x$GCC" = "xyes"; then
35302 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35303echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35304 cat >conftest.$ac_ext <<_ACEOF
35305#line $LINENO "configure"
35306/* confdefs.h. */
35307_ACEOF
35308cat confdefs.h >>conftest.$ac_ext
35309cat >>conftest.$ac_ext <<_ACEOF
35310/* end confdefs.h. */
35311
35312int
35313main ()
35314{
35315
35316 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35317 #error "no pch support"
35318 #endif
35319 #if (__GNUC__ < 3)
35320 #error "no pch support"
35321 #endif
35322 #if (__GNUC__ == 3) && \
35323 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35324 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35325 #error "no pch support"
35326 #endif
35327
35328 ;
35329 return 0;
35330}
35331_ACEOF
35332rm -f conftest.$ac_objext
35333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35334 (eval $ac_compile) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } &&
35338 { ac_try='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35341 ac_status=$?
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35344
35345 echo "$as_me:$LINENO: result: yes" >&5
35346echo "${ECHO_T}yes" >&6
35347 CPPFLAGS="-fpch-deps $CPPFLAGS"
35348 GCC_PCH=1
35349
35350else
35351 echo "$as_me: failed program was:" >&5
35352sed 's/^/| /' conftest.$ac_ext >&5
35353
35354
35355 echo "$as_me:$LINENO: result: no" >&5
35356echo "${ECHO_T}no" >&6
35357
35358fi
35359rm -f conftest.$ac_objext conftest.$ac_ext
35360 if test $GCC_PCH = 1 ; then
35361 cat <<EOF >bk-make-pch
35362#!/bin/sh
35363
35364# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35365# script. It is used to generated precompiled headers.
35366#
35367# Permission is given to use this file in any way.
35368
35369outfile="\${1}"
35370header="\${2}"
35371shift
35372shift
35373
35374compiler=
35375headerfile=
35376while test \${#} -gt 0; do
35377 case "\${1}" in
35378 -I* )
35379 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35380 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35381 headerfile="\${incdir}/\${header}"
35382 fi
35383 ;;
35384 esac
35385 compiler="\${compiler} \${1}"
35386 shift
35387done
35388
35389if test "x\${headerfile}" = "x" ; then
35390 echo "error: can't find header \${header} in include paths" >2
35391else
35392 if test -f \${outfile} ; then
35393 rm -f \${outfile}
35394 else
35395 mkdir -p \`dirname \${outfile}\`
35396 fi
35397 depsfile=".deps/\`basename \${outfile}\`.d"
35398 mkdir -p .deps
35399 # can do this because gcc is >= 3.4:
35400 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35401 exit \${?}
35402fi
35403EOF
35404 chmod +x bk-make-pch
35405 fi
35406 fi
35407 fi
35408
35409
35410
35411
35412
35413 COND_BUILD_DEBUG="#"
35414 if test "x$BUILD" = "xdebug" ; then
35415 COND_BUILD_DEBUG=""
35416 fi
35417
35418 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35419 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35421 fi
35422
35423 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35424 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35426 fi
35427
35428 COND_BUILD_RELEASE="#"
35429 if test "x$BUILD" = "xrelease" ; then
35430 COND_BUILD_RELEASE=""
35431 fi
35432
35433 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35434 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35436 fi
35437
35438 COND_DEBUG_FLAG_1="#"
35439 if test "x$DEBUG_FLAG" = "x1" ; then
35440 COND_DEBUG_FLAG_1=""
35441 fi
35442
35443 COND_DEBUG_INFO_0="#"
35444 if test "x$DEBUG_INFO" = "x0" ; then
35445 COND_DEBUG_INFO_0=""
35446 fi
35447
35448 COND_DEBUG_INFO_1="#"
35449 if test "x$DEBUG_INFO" = "x1" ; then
35450 COND_DEBUG_INFO_1=""
35451 fi
35452
35453 COND_DEPS_TRACKING_0="#"
35454 if test "x$DEPS_TRACKING" = "x0" ; then
35455 COND_DEPS_TRACKING_0=""
35456 fi
35457
35458 COND_DEPS_TRACKING_1="#"
35459 if test "x$DEPS_TRACKING" = "x1" ; then
35460 COND_DEPS_TRACKING_1=""
35461 fi
35462
35463 COND_GCC_PCH_1="#"
35464 if test "x$GCC_PCH" = "x1" ; then
35465 COND_GCC_PCH_1=""
35466 fi
35467
35468 COND_MONOLITHIC_0="#"
35469 if test "x$MONOLITHIC" = "x0" ; then
35470 COND_MONOLITHIC_0=""
35471 fi
35472
35473 COND_MONOLITHIC_0_SHARED_0="#"
35474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35475 COND_MONOLITHIC_0_SHARED_0=""
35476 fi
35477
35478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35481 fi
35482
35483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35486 fi
35487
35488 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35491 fi
35492
35493 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35496 fi
35497
35498 COND_MONOLITHIC_0_SHARED_1="#"
35499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35500 COND_MONOLITHIC_0_SHARED_1=""
35501 fi
35502
35503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35506 fi
35507
35508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35511 fi
35512
35513 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35516 fi
35517
35518 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35521 fi
35522
35523 COND_MONOLITHIC_1="#"
35524 if test "x$MONOLITHIC" = "x1" ; then
35525 COND_MONOLITHIC_1=""
35526 fi
35527
35528 COND_MONOLITHIC_1_SHARED_0="#"
35529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35530 COND_MONOLITHIC_1_SHARED_0=""
35531 fi
35532
35533 COND_MONOLITHIC_1_SHARED_1="#"
35534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35535 COND_MONOLITHIC_1_SHARED_1=""
35536 fi
35537
35538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35541 fi
35542
35543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35546 fi
35547
35548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35551 fi
35552
35553 COND_PLATFORM_MACOSX_1="#"
35554 if test "x$PLATFORM_MACOSX" = "x1" ; then
35555 COND_PLATFORM_MACOSX_1=""
35556 fi
35557
35558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35561 fi
35562
35563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35566 fi
35567
35568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35571 fi
35572
35573 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35576 fi
35577
35578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35581 fi
35582
35583 COND_PLATFORM_MAC_1="#"
35584 if test "x$PLATFORM_MAC" = "x1" ; then
35585 COND_PLATFORM_MAC_1=""
35586 fi
35587
35588 COND_PLATFORM_OS2_1="#"
35589 if test "x$PLATFORM_OS2" = "x1" ; then
35590 COND_PLATFORM_OS2_1=""
35591 fi
35592
35593 COND_PLATFORM_UNIX_0="#"
35594 if test "x$PLATFORM_UNIX" = "x0" ; then
35595 COND_PLATFORM_UNIX_0=""
35596 fi
35597
35598 COND_PLATFORM_UNIX_1="#"
35599 if test "x$PLATFORM_UNIX" = "x1" ; then
35600 COND_PLATFORM_UNIX_1=""
35601 fi
35602
35603 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35605 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35606 fi
35607
35608 COND_PLATFORM_WIN32_0="#"
35609 if test "x$PLATFORM_WIN32" = "x0" ; then
35610 COND_PLATFORM_WIN32_0=""
35611 fi
35612
35613 COND_PLATFORM_WIN32_1="#"
35614 if test "x$PLATFORM_WIN32" = "x1" ; then
35615 COND_PLATFORM_WIN32_1=""
35616 fi
35617
35618 COND_SHARED_0="#"
35619 if test "x$SHARED" = "x0" ; then
35620 COND_SHARED_0=""
35621 fi
35622
35623 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35624 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35626 fi
35627
35628 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35631 fi
35632
35633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35636 fi
35637
35638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35641 fi
35642
35643 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35644 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35646 fi
35647
35648 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35649 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35651 fi
35652
35653 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35654 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35656 fi
35657
35658 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35659 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35661 fi
35662
35663 COND_SHARED_1="#"
35664 if test "x$SHARED" = "x1" ; then
35665 COND_SHARED_1=""
35666 fi
35667
35668 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35669 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35671 fi
35672
35673 COND_TOOLKIT_COCOA="#"
35674 if test "x$TOOLKIT" = "xCOCOA" ; then
35675 COND_TOOLKIT_COCOA=""
35676 fi
35677
35678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35679 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35681 fi
35682
35683 COND_TOOLKIT_GTK="#"
35684 if test "x$TOOLKIT" = "xGTK" ; then
35685 COND_TOOLKIT_GTK=""
35686 fi
35687
35688 COND_TOOLKIT_GTK_USE_GUI_1="#"
35689 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35690 COND_TOOLKIT_GTK_USE_GUI_1=""
35691 fi
35692
35693 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35696 fi
35697
35698 COND_TOOLKIT_MAC="#"
35699 if test "x$TOOLKIT" = "xMAC" ; then
35700 COND_TOOLKIT_MAC=""
35701 fi
35702
35703 COND_TOOLKIT_MAC_USE_GUI_1="#"
35704 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35705 COND_TOOLKIT_MAC_USE_GUI_1=""
35706 fi
35707
35708 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35711 fi
35712
35713 COND_TOOLKIT_MGL="#"
35714 if test "x$TOOLKIT" = "xMGL" ; then
35715 COND_TOOLKIT_MGL=""
35716 fi
35717
35718 COND_TOOLKIT_MGL_USE_GUI_1="#"
35719 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35720 COND_TOOLKIT_MGL_USE_GUI_1=""
35721 fi
35722
35723 COND_TOOLKIT_MOTIF="#"
35724 if test "x$TOOLKIT" = "xMOTIF" ; then
35725 COND_TOOLKIT_MOTIF=""
35726 fi
35727
35728 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35729 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35730 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35731 fi
35732
35733 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35736 fi
35737
35738 COND_TOOLKIT_MSW="#"
35739 if test "x$TOOLKIT" = "xMSW" ; then
35740 COND_TOOLKIT_MSW=""
35741 fi
35742
35743 COND_TOOLKIT_MSW_USE_GUI_1="#"
35744 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35745 COND_TOOLKIT_MSW_USE_GUI_1=""
35746 fi
35747
35748 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35751 fi
35752
35753 COND_TOOLKIT_PM="#"
35754 if test "x$TOOLKIT" = "xPM" ; then
35755 COND_TOOLKIT_PM=""
35756 fi
35757
35758 COND_TOOLKIT_PM_USE_GUI_1="#"
35759 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35760 COND_TOOLKIT_PM_USE_GUI_1=""
35761 fi
35762
35763 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35766 fi
35767
35768 COND_TOOLKIT_X11="#"
35769 if test "x$TOOLKIT" = "xX11" ; then
35770 COND_TOOLKIT_X11=""
35771 fi
35772
35773 COND_TOOLKIT_X11_USE_GUI_1="#"
35774 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35775 COND_TOOLKIT_X11_USE_GUI_1=""
35776 fi
35777
35778 COND_UNICODE_1="#"
35779 if test "x$UNICODE" = "x1" ; then
35780 COND_UNICODE_1=""
35781 fi
35782
35783 COND_USE_EXCEPTIONS_0="#"
35784 if test "x$USE_EXCEPTIONS" = "x0" ; then
35785 COND_USE_EXCEPTIONS_0=""
35786 fi
35787
35788 COND_USE_EXCEPTIONS_1="#"
35789 if test "x$USE_EXCEPTIONS" = "x1" ; then
35790 COND_USE_EXCEPTIONS_1=""
35791 fi
35792
35793 COND_USE_GUI_0="#"
35794 if test "x$USE_GUI" = "x0" ; then
35795 COND_USE_GUI_0=""
35796 fi
35797
35798 COND_USE_GUI_1="#"
35799 if test "x$USE_GUI" = "x1" ; then
35800 COND_USE_GUI_1=""
35801 fi
35802
35803 COND_USE_GUI_1_WXUNIV_0="#"
35804 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35805 COND_USE_GUI_1_WXUNIV_0=""
35806 fi
35807
35808 COND_USE_GUI_1_WXUNIV_1="#"
35809 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35810 COND_USE_GUI_1_WXUNIV_1=""
35811 fi
35812
35813 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35816 fi
35817
35818 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35819 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35821 fi
35822
35823 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35824 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35826 fi
35827
35828 COND_USE_ODBC_1="#"
35829 if test "x$USE_ODBC" = "x1" ; then
35830 COND_USE_ODBC_1=""
35831 fi
35832
35833 COND_USE_SOSYMLINKS_1="#"
35834 if test "x$USE_SOSYMLINKS" = "x1" ; then
35835 COND_USE_SOSYMLINKS_1=""
35836 fi
35837
35838 COND_USE_SOVERLINUX_1="#"
35839 if test "x$USE_SOVERLINUX" = "x1" ; then
35840 COND_USE_SOVERLINUX_1=""
35841 fi
35842
35843 COND_USE_SOVERSION_0="#"
35844 if test "x$USE_SOVERSION" = "x0" ; then
35845 COND_USE_SOVERSION_0=""
35846 fi
35847
35848 COND_USE_SOVERSOLARIS_1="#"
35849 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35850 COND_USE_SOVERSOLARIS_1=""
35851 fi
35852
35853 COND_WXUNIV_1="#"
35854 if test "x$WXUNIV" = "x1" ; then
35855 COND_WXUNIV_1=""
35856 fi
35857
35858 COND_WXUSE_EXPAT_BUILTIN="#"
35859 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35860 COND_WXUSE_EXPAT_BUILTIN=""
35861 fi
35862
35863 COND_WXUSE_LIBJPEG_BUILTIN="#"
35864 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35865 COND_WXUSE_LIBJPEG_BUILTIN=""
35866 fi
35867
35868 COND_WXUSE_LIBPNG_BUILTIN="#"
35869 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35870 COND_WXUSE_LIBPNG_BUILTIN=""
35871 fi
35872
35873 COND_WXUSE_LIBTIFF_BUILTIN="#"
35874 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35875 COND_WXUSE_LIBTIFF_BUILTIN=""
35876 fi
35877
35878 COND_WXUSE_ODBC_BUILTIN="#"
35879 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35880 COND_WXUSE_ODBC_BUILTIN=""
35881 fi
35882
35883 COND_WXUSE_REGEX_BUILTIN="#"
35884 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35885 COND_WXUSE_REGEX_BUILTIN=""
35886 fi
35887
35888 COND_WXUSE_ZLIB_BUILTIN="#"
35889 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35890 COND_WXUSE_ZLIB_BUILTIN=""
35891 fi
35892
35893
35894
35895
35896
35897if test $GCC_PCH = 1 ; then
35898 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35899else
35900 case "${host}" in
35901 powerpc-*-darwin* )
35902 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35903 ;;
35904 esac
35905fi
35906case "${host}" in
35907 powerpc-*-darwin* )
35908 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35909 ;;
35910esac
35911
35912
35913SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36015echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36016set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36017if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36018 echo $ECHO_N "(cached) $ECHO_C" >&6
36019else
36020 cat >conftest.make <<\_ACEOF
36021all:
36022 @echo 'ac_maketemp="$(MAKE)"'
36023_ACEOF
36024# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36025eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36026if test -n "$ac_maketemp"; then
36027 eval ac_cv_prog_make_${ac_make}_set=yes
36028else
36029 eval ac_cv_prog_make_${ac_make}_set=no
36030fi
36031rm -f conftest.make
36032fi
36033if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36034 echo "$as_me:$LINENO: result: yes" >&5
36035echo "${ECHO_T}yes" >&6
36036 SET_MAKE=
36037else
36038 echo "$as_me:$LINENO: result: no" >&5
36039echo "${ECHO_T}no" >&6
36040 SET_MAKE="MAKE=${MAKE-make}"
36041fi
36042
36043
36044if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36045 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36046fi
36047
36048 ac_config_headers="$ac_config_headers setup.h"
36049
36050
36051 ac_config_files="$ac_config_files wx-config version-script Makefile"
36052
36053
36054 ac_config_commands="$ac_config_commands default"
36055
36056
36057
36058if test "$wxUSE_GUI" = "yes"; then
36059 SUBDIRS="samples demos utils contrib"
36060else SUBDIRS="samples utils"
36061fi
36062
36063for subdir in `echo $SUBDIRS`; do
36064 if test -d ${srcdir}/${subdir} ; then
36065 if test "$wxUSE_GUI" = "yes"; then
36066 if test ${subdir} = "samples"; then
36067 makefiles="samples/Makefile.in $makefiles"
36068 for sample in `echo $SAMPLES_SUBDIRS`; do
36069 if test -d $srcdir/samples/$sample; then
36070 makefiles="samples/$sample/Makefile.in $makefiles"
36071 fi
36072 done
36073 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36074 fi
36075 else if test ${subdir} = "samples"; then
36076 makefiles="samples/Makefile.in samples/console/Makefile.in"
36077 else makefiles="utils/HelpGen/Makefile.in \
36078 utils/HelpGen/src/Makefile.in \
36079 utils/tex2rtf/Makefile.in \
36080 utils/tex2rtf/src/Makefile.in"
36081 fi
36082 fi
36083
36084 for mkin in $makefiles ; do
36085 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36086 ac_config_files="$ac_config_files $mk"
36087
36088 done
36089 fi
36090done
36091
36092
36093cat >confcache <<\_ACEOF
36094# This file is a shell script that caches the results of configure
36095# tests run on this system so they can be shared between configure
36096# scripts and configure runs, see configure's option --config-cache.
36097# It is not useful on other systems. If it contains results you don't
36098# want to keep, you may remove or edit it.
36099#
36100# config.status only pays attention to the cache file if you give it
36101# the --recheck option to rerun configure.
36102#
36103# `ac_cv_env_foo' variables (set or unset) will be overridden when
36104# loading this file, other *unset* `ac_cv_foo' will be assigned the
36105# following values.
36106
36107_ACEOF
36108
36109# The following way of writing the cache mishandles newlines in values,
36110# but we know of no workaround that is simple, portable, and efficient.
36111# So, don't put newlines in cache variables' values.
36112# Ultrix sh set writes to stderr and can't be redirected directly,
36113# and sets the high bit in the cache file unless we assign to the vars.
36114{
36115 (set) 2>&1 |
36116 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36117 *ac_space=\ *)
36118 # `set' does not quote correctly, so add quotes (double-quote
36119 # substitution turns \\\\ into \\, and sed turns \\ into \).
36120 sed -n \
36121 "s/'/'\\\\''/g;
36122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36123 ;;
36124 *)
36125 # `set' quotes correctly as required by POSIX, so do not add quotes.
36126 sed -n \
36127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36128 ;;
36129 esac;
36130} |
36131 sed '
36132 t clear
36133 : clear
36134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36135 t end
36136 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36137 : end' >>confcache
36138if diff $cache_file confcache >/dev/null 2>&1; then :; else
36139 if test -w $cache_file; then
36140 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36141 cat confcache >$cache_file
36142 else
36143 echo "not updating unwritable cache $cache_file"
36144 fi
36145fi
36146rm -f confcache
36147
36148test "x$prefix" = xNONE && prefix=$ac_default_prefix
36149# Let make expand exec_prefix.
36150test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36151
36152# VPATH may cause trouble with some makes, so we remove $(srcdir),
36153# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36154# trailing colons and then remove the whole line if VPATH becomes empty
36155# (actually we leave an empty line to preserve line numbers).
36156if test "x$srcdir" = x.; then
36157 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36158s/:*\$(srcdir):*/:/;
36159s/:*\${srcdir}:*/:/;
36160s/:*@srcdir@:*/:/;
36161s/^\([^=]*=[ ]*\):*/\1/;
36162s/:*$//;
36163s/^[^=]*=[ ]*$//;
36164}'
36165fi
36166
36167DEFS=-DHAVE_CONFIG_H
36168
36169ac_libobjs=
36170ac_ltlibobjs=
36171for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36172 # 1. Remove the extension, and $U if already installed.
36173 ac_i=`echo "$ac_i" |
36174 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36175 # 2. Add them.
36176 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36177 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36178done
36179LIBOBJS=$ac_libobjs
36180
36181LTLIBOBJS=$ac_ltlibobjs
36182
36183
36184
36185: ${CONFIG_STATUS=./config.status}
36186ac_clean_files_save=$ac_clean_files
36187ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36188{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36189echo "$as_me: creating $CONFIG_STATUS" >&6;}
36190cat >$CONFIG_STATUS <<_ACEOF
36191#! $SHELL
36192# Generated by $as_me.
36193# Run this file to recreate the current configuration.
36194# Compiler output produced by configure, useful for debugging
36195# configure, is in config.log if it exists.
36196
36197debug=false
36198ac_cs_recheck=false
36199ac_cs_silent=false
36200SHELL=\${CONFIG_SHELL-$SHELL}
36201_ACEOF
36202
36203cat >>$CONFIG_STATUS <<\_ACEOF
36204## --------------------- ##
36205## M4sh Initialization. ##
36206## --------------------- ##
36207
36208# Be Bourne compatible
36209if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36210 emulate sh
36211 NULLCMD=:
36212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36213 # is contrary to our usage. Disable this feature.
36214 alias -g '${1+"$@"}'='"$@"'
36215elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36216 set -o posix
36217fi
36218
36219# Support unset when possible.
36220if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36221 as_unset=unset
36222else
36223 as_unset=false
36224fi
36225
36226
36227# Work around bugs in pre-3.0 UWIN ksh.
36228$as_unset ENV MAIL MAILPATH
36229PS1='$ '
36230PS2='> '
36231PS4='+ '
36232
36233# NLS nuisances.
36234for as_var in \
36235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36237 LC_TELEPHONE LC_TIME
36238do
36239 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36240 eval $as_var=C; export $as_var
36241 else
36242 $as_unset $as_var
36243 fi
36244done
36245
36246# Required to use basename.
36247if expr a : '\(a\)' >/dev/null 2>&1; then
36248 as_expr=expr
36249else
36250 as_expr=false
36251fi
36252
36253if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36254 as_basename=basename
36255else
36256 as_basename=false
36257fi
36258
36259
36260# Name of the executable.
36261as_me=`$as_basename "$0" ||
36262$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36263 X"$0" : 'X\(//\)$' \| \
36264 X"$0" : 'X\(/\)$' \| \
36265 . : '\(.\)' 2>/dev/null ||
36266echo X/"$0" |
36267 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36268 /^X\/\(\/\/\)$/{ s//\1/; q; }
36269 /^X\/\(\/\).*/{ s//\1/; q; }
36270 s/.*/./; q'`
36271
36272
36273# PATH needs CR, and LINENO needs CR and PATH.
36274# Avoid depending upon Character Ranges.
36275as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36276as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36277as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36278as_cr_digits='0123456789'
36279as_cr_alnum=$as_cr_Letters$as_cr_digits
36280
36281# The user is always right.
36282if test "${PATH_SEPARATOR+set}" != set; then
36283 echo "#! /bin/sh" >conf$$.sh
36284 echo "exit 0" >>conf$$.sh
36285 chmod +x conf$$.sh
36286 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36287 PATH_SEPARATOR=';'
36288 else
36289 PATH_SEPARATOR=:
36290 fi
36291 rm -f conf$$.sh
36292fi
36293
36294
36295 as_lineno_1=$LINENO
36296 as_lineno_2=$LINENO
36297 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36298 test "x$as_lineno_1" != "x$as_lineno_2" &&
36299 test "x$as_lineno_3" = "x$as_lineno_2" || {
36300 # Find who we are. Look in the path if we contain no path at all
36301 # relative or not.
36302 case $0 in
36303 *[\\/]* ) as_myself=$0 ;;
36304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36305for as_dir in $PATH
36306do
36307 IFS=$as_save_IFS
36308 test -z "$as_dir" && as_dir=.
36309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36310done
36311
36312 ;;
36313 esac
36314 # We did not find ourselves, most probably we were run as `sh COMMAND'
36315 # in which case we are not to be found in the path.
36316 if test "x$as_myself" = x; then
36317 as_myself=$0
36318 fi
36319 if test ! -f "$as_myself"; then
36320 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36321echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36322 { (exit 1); exit 1; }; }
36323 fi
36324 case $CONFIG_SHELL in
36325 '')
36326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36327for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36328do
36329 IFS=$as_save_IFS
36330 test -z "$as_dir" && as_dir=.
36331 for as_base in sh bash ksh sh5; do
36332 case $as_dir in
36333 /*)
36334 if ("$as_dir/$as_base" -c '
36335 as_lineno_1=$LINENO
36336 as_lineno_2=$LINENO
36337 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36338 test "x$as_lineno_1" != "x$as_lineno_2" &&
36339 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36340 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36341 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36342 CONFIG_SHELL=$as_dir/$as_base
36343 export CONFIG_SHELL
36344 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36345 fi;;
36346 esac
36347 done
36348done
36349;;
36350 esac
36351
36352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36353 # uniformly replaced by the line number. The first 'sed' inserts a
36354 # line-number line before each line; the second 'sed' does the real
36355 # work. The second script uses 'N' to pair each line-number line
36356 # with the numbered line, and appends trailing '-' during
36357 # substitution so that $LINENO is not a special case at line end.
36358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36360 sed '=' <$as_myself |
36361 sed '
36362 N
36363 s,$,-,
36364 : loop
36365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36366 t loop
36367 s,-$,,
36368 s,^['$as_cr_digits']*\n,,
36369 ' >$as_me.lineno &&
36370 chmod +x $as_me.lineno ||
36371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36372echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36373 { (exit 1); exit 1; }; }
36374
36375 # Don't try to exec as it changes $[0], causing all sort of problems
36376 # (the dirname of $[0] is not the place where we might find the
36377 # original and so on. Autoconf is especially sensible to this).
36378 . ./$as_me.lineno
36379 # Exit status is that of the last command.
36380 exit
36381}
36382
36383
36384case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36385 *c*,-n*) ECHO_N= ECHO_C='
36386' ECHO_T=' ' ;;
36387 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36388 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36389esac
36390
36391if expr a : '\(a\)' >/dev/null 2>&1; then
36392 as_expr=expr
36393else
36394 as_expr=false
36395fi
36396
36397rm -f conf$$ conf$$.exe conf$$.file
36398echo >conf$$.file
36399if ln -s conf$$.file conf$$ 2>/dev/null; then
36400 # We could just check for DJGPP; but this test a) works b) is more generic
36401 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36402 if test -f conf$$.exe; then
36403 # Don't use ln at all; we don't have any links
36404 as_ln_s='cp -p'
36405 else
36406 as_ln_s='ln -s'
36407 fi
36408elif ln conf$$.file conf$$ 2>/dev/null; then
36409 as_ln_s=ln
36410else
36411 as_ln_s='cp -p'
36412fi
36413rm -f conf$$ conf$$.exe conf$$.file
36414
36415if mkdir -p . 2>/dev/null; then
36416 as_mkdir_p=:
36417else
36418 as_mkdir_p=false
36419fi
36420
36421as_executable_p="test -f"
36422
36423# Sed expression to map a string onto a valid CPP name.
36424as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36425
36426# Sed expression to map a string onto a valid variable name.
36427as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36428
36429
36430# IFS
36431# We need space, tab and new line, in precisely that order.
36432as_nl='
36433'
36434IFS=" $as_nl"
36435
36436# CDPATH.
36437$as_unset CDPATH
36438
36439exec 6>&1
36440
36441# Open the log real soon, to keep \$[0] and so on meaningful, and to
36442# report actual input values of CONFIG_FILES etc. instead of their
36443# values after options handling. Logging --version etc. is OK.
36444exec 5>>config.log
36445{
36446 echo
36447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36448## Running $as_me. ##
36449_ASBOX
36450} >&5
36451cat >&5 <<_CSEOF
36452
36453This file was extended by wxWindows $as_me 2.5.1, which was
36454generated by GNU Autoconf 2.57. Invocation command line was
36455
36456 CONFIG_FILES = $CONFIG_FILES
36457 CONFIG_HEADERS = $CONFIG_HEADERS
36458 CONFIG_LINKS = $CONFIG_LINKS
36459 CONFIG_COMMANDS = $CONFIG_COMMANDS
36460 $ $0 $@
36461
36462_CSEOF
36463echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36464echo >&5
36465_ACEOF
36466
36467# Files that config.status was made for.
36468if test -n "$ac_config_files"; then
36469 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36470fi
36471
36472if test -n "$ac_config_headers"; then
36473 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36474fi
36475
36476if test -n "$ac_config_links"; then
36477 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36478fi
36479
36480if test -n "$ac_config_commands"; then
36481 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36482fi
36483
36484cat >>$CONFIG_STATUS <<\_ACEOF
36485
36486ac_cs_usage="\
36487\`$as_me' instantiates files from templates according to the
36488current configuration.
36489
36490Usage: $0 [OPTIONS] [FILE]...
36491
36492 -h, --help print this help, then exit
36493 -V, --version print version number, then exit
36494 -q, --quiet do not print progress messages
36495 -d, --debug don't remove temporary files
36496 --recheck update $as_me by reconfiguring in the same conditions
36497 --file=FILE[:TEMPLATE]
36498 instantiate the configuration file FILE
36499 --header=FILE[:TEMPLATE]
36500 instantiate the configuration header FILE
36501
36502Configuration files:
36503$config_files
36504
36505Configuration headers:
36506$config_headers
36507
36508Configuration commands:
36509$config_commands
36510
36511Report bugs to <bug-autoconf@gnu.org>."
36512_ACEOF
36513
36514cat >>$CONFIG_STATUS <<_ACEOF
36515ac_cs_version="\\
36516wxWindows config.status 2.5.1
36517configured by $0, generated by GNU Autoconf 2.57,
36518 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36519
36520Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36521Free Software Foundation, Inc.
36522This config.status script is free software; the Free Software Foundation
36523gives unlimited permission to copy, distribute and modify it."
36524srcdir=$srcdir
36525INSTALL="$INSTALL"
36526_ACEOF
36527
36528cat >>$CONFIG_STATUS <<\_ACEOF
36529# If no file are specified by the user, then we need to provide default
36530# value. By we need to know if files were specified by the user.
36531ac_need_defaults=:
36532while test $# != 0
36533do
36534 case $1 in
36535 --*=*)
36536 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36537 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36538 ac_shift=:
36539 ;;
36540 -*)
36541 ac_option=$1
36542 ac_optarg=$2
36543 ac_shift=shift
36544 ;;
36545 *) # This is not an option, so the user has probably given explicit
36546 # arguments.
36547 ac_option=$1
36548 ac_need_defaults=false;;
36549 esac
36550
36551 case $ac_option in
36552 # Handling of the options.
36553_ACEOF
36554cat >>$CONFIG_STATUS <<\_ACEOF
36555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36556 ac_cs_recheck=: ;;
36557 --version | --vers* | -V )
36558 echo "$ac_cs_version"; exit 0 ;;
36559 --he | --h)
36560 # Conflict between --help and --header
36561 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36562Try \`$0 --help' for more information." >&5
36563echo "$as_me: error: ambiguous option: $1
36564Try \`$0 --help' for more information." >&2;}
36565 { (exit 1); exit 1; }; };;
36566 --help | --hel | -h )
36567 echo "$ac_cs_usage"; exit 0 ;;
36568 --debug | --d* | -d )
36569 debug=: ;;
36570 --file | --fil | --fi | --f )
36571 $ac_shift
36572 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36573 ac_need_defaults=false;;
36574 --header | --heade | --head | --hea )
36575 $ac_shift
36576 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36577 ac_need_defaults=false;;
36578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36579 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36580 ac_cs_silent=: ;;
36581
36582 # This is an error.
36583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36584Try \`$0 --help' for more information." >&5
36585echo "$as_me: error: unrecognized option: $1
36586Try \`$0 --help' for more information." >&2;}
36587 { (exit 1); exit 1; }; } ;;
36588
36589 *) ac_config_targets="$ac_config_targets $1" ;;
36590
36591 esac
36592 shift
36593done
36594
36595ac_configure_extra_args=
36596
36597if $ac_cs_silent; then
36598 exec 6>/dev/null
36599 ac_configure_extra_args="$ac_configure_extra_args --silent"
36600fi
36601
36602_ACEOF
36603cat >>$CONFIG_STATUS <<_ACEOF
36604if \$ac_cs_recheck; then
36605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36607fi
36608
36609_ACEOF
36610
36611cat >>$CONFIG_STATUS <<_ACEOF
36612#
36613# INIT-COMMANDS section.
36614#
36615
36616
36617 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36618 LN_S="${LN_S}"
36619
36620
36621
36622_ACEOF
36623
36624
36625
36626cat >>$CONFIG_STATUS <<\_ACEOF
36627for ac_config_target in $ac_config_targets
36628do
36629 case "$ac_config_target" in
36630 # Handling of arguments.
36631 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36632 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36633 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36634 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36635 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36636 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36637 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36638echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36639 { (exit 1); exit 1; }; };;
36640 esac
36641done
36642
36643# If the user did not use the arguments to specify the items to instantiate,
36644# then the envvar interface is used. Set only those that are not.
36645# We use the long form for the default assignment because of an extremely
36646# bizarre bug on SunOS 4.1.3.
36647if $ac_need_defaults; then
36648 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36649 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36650 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36651fi
36652
36653# Have a temporary directory for convenience. Make it in the build tree
36654# simply because there is no reason to put it here, and in addition,
36655# creating and moving files from /tmp can sometimes cause problems.
36656# Create a temporary directory, and hook for its removal unless debugging.
36657$debug ||
36658{
36659 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36660 trap '{ (exit 1); exit 1; }' 1 2 13 15
36661}
36662
36663# Create a (secure) tmp directory for tmp files.
36664
36665{
36666 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36667 test -n "$tmp" && test -d "$tmp"
36668} ||
36669{
36670 tmp=./confstat$$-$RANDOM
36671 (umask 077 && mkdir $tmp)
36672} ||
36673{
36674 echo "$me: cannot create a temporary directory in ." >&2
36675 { (exit 1); exit 1; }
36676}
36677
36678_ACEOF
36679
36680cat >>$CONFIG_STATUS <<_ACEOF
36681
36682#
36683# CONFIG_FILES section.
36684#
36685
36686# No need to generate the scripts if there are no CONFIG_FILES.
36687# This happens for instance when ./config.status config.h
36688if test -n "\$CONFIG_FILES"; then
36689 # Protect against being on the right side of a sed subst in config.status.
36690 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36691 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36692s,@SHELL@,$SHELL,;t t
36693s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36694s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36695s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36696s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36697s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36698s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36699s,@exec_prefix@,$exec_prefix,;t t
36700s,@prefix@,$prefix,;t t
36701s,@program_transform_name@,$program_transform_name,;t t
36702s,@bindir@,$bindir,;t t
36703s,@sbindir@,$sbindir,;t t
36704s,@libexecdir@,$libexecdir,;t t
36705s,@datadir@,$datadir,;t t
36706s,@sysconfdir@,$sysconfdir,;t t
36707s,@sharedstatedir@,$sharedstatedir,;t t
36708s,@localstatedir@,$localstatedir,;t t
36709s,@libdir@,$libdir,;t t
36710s,@includedir@,$includedir,;t t
36711s,@oldincludedir@,$oldincludedir,;t t
36712s,@infodir@,$infodir,;t t
36713s,@mandir@,$mandir,;t t
36714s,@build_alias@,$build_alias,;t t
36715s,@host_alias@,$host_alias,;t t
36716s,@target_alias@,$target_alias,;t t
36717s,@DEFS@,$DEFS,;t t
36718s,@ECHO_C@,$ECHO_C,;t t
36719s,@ECHO_N@,$ECHO_N,;t t
36720s,@ECHO_T@,$ECHO_T,;t t
36721s,@LIBS@,$LIBS,;t t
36722s,@build@,$build,;t t
36723s,@build_cpu@,$build_cpu,;t t
36724s,@build_vendor@,$build_vendor,;t t
36725s,@build_os@,$build_os,;t t
36726s,@host@,$host,;t t
36727s,@host_cpu@,$host_cpu,;t t
36728s,@host_vendor@,$host_vendor,;t t
36729s,@host_os@,$host_os,;t t
36730s,@target@,$target,;t t
36731s,@target_cpu@,$target_cpu,;t t
36732s,@target_vendor@,$target_vendor,;t t
36733s,@target_os@,$target_os,;t t
36734s,@CC@,$CC,;t t
36735s,@CFLAGS@,$CFLAGS,;t t
36736s,@LDFLAGS@,$LDFLAGS,;t t
36737s,@CPPFLAGS@,$CPPFLAGS,;t t
36738s,@ac_ct_CC@,$ac_ct_CC,;t t
36739s,@EXEEXT@,$EXEEXT,;t t
36740s,@OBJEXT@,$OBJEXT,;t t
36741s,@CPP@,$CPP,;t t
36742s,@EGREP@,$EGREP,;t t
36743s,@CXX@,$CXX,;t t
36744s,@CXXFLAGS@,$CXXFLAGS,;t t
36745s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36746s,@RANLIB@,$RANLIB,;t t
36747s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36748s,@AR@,$AR,;t t
36749s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36750s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36751s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36752s,@STRIP@,$STRIP,;t t
36753s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36754s,@LN_S@,$LN_S,;t t
36755s,@CXXCPP@,$CXXCPP,;t t
36756s,@subdirs@,$subdirs,;t t
36757s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36758s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36759s,@GTK_LIBS@,$GTK_LIBS,;t t
36760s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36761s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36762s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36763s,@X_CFLAGS@,$X_CFLAGS,;t t
36764s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36765s,@X_LIBS@,$X_LIBS,;t t
36766s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36767s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36768s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36769s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36770s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36771s,@RESCOMP@,$RESCOMP,;t t
36772s,@DEREZ@,$DEREZ,;t t
36773s,@SETFILE@,$SETFILE,;t t
36774s,@LIBICONV@,$LIBICONV,;t t
36775s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36776s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36777s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36778s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36779s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36780s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36781s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36782s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36783s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36784s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36785s,@VENDOR@,$VENDOR,;t t
36786s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36787s,@WXUNIV@,$WXUNIV,;t t
36788s,@MONOLITHIC@,$MONOLITHIC,;t t
36789s,@EXTRALIBS@,$EXTRALIBS,;t t
36790s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36791s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36792s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36793s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36794s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36795s,@UNICODE@,$UNICODE,;t t
36796s,@BUILD@,$BUILD,;t t
36797s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36798s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36799s,@SHARED@,$SHARED,;t t
36800s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36801s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36802s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36803s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36804s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36805s,@SET_MAKE@,$SET_MAKE,;t t
36806s,@MAKE_SET@,$MAKE_SET,;t t
36807s,@ac_ct_AR@,$ac_ct_AR,;t t
36808s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36809s,@NM@,$NM,;t t
36810s,@ac_ct_NM@,$ac_ct_NM,;t t
36811s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36812s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36813s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36814s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36815s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36816s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36817s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36818s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36819s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36820s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36821s,@LIBPREFIX@,$LIBPREFIX,;t t
36822s,@DLLPREFIX@,$DLLPREFIX,;t t
36823s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36824s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36825s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36826s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36827s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36828s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36829s,@PIC_FLAG@,$PIC_FLAG,;t t
36830s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36831s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36832s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36833s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36834s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36835s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36836s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36837s,@GCC_PCH@,$GCC_PCH,;t t
36838s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36839s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36840s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36841s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36842s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36843s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36844s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36845s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36846s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36847s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36848s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36849s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36850s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36851s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36852s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36853s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36854s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36855s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36856s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36857s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36858s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36859s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36860s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36861s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36862s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36863s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36864s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36865s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36866s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36867s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36868s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36869s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36870s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36871s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36872s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36873s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36874s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36875s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36876s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36877s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36878s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36879s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36880s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36881s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36882s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36883s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36884s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36885s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36886s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36887s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36888s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36889s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36890s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36891s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36892s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36893s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36894s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36895s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36896s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36897s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36898s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36899s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36900s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36901s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36902s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36903s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36904s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36905s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36906s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36907s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36908s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36909s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36910s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36911s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36912s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36913s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36914s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36915s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36916s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36917s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36918s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36919s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36920s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36921s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36922s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36923s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36924s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36925s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36926s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36927s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36928s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36929s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36930s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36931s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36932s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36933s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36934s,@PATH_IFS@,$PATH_IFS,;t t
36935s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36936s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36937s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36938s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36939s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36940s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36941s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36942s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36943s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36944s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36945s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36946s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36947s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36948s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36949s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36950s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36951s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36952s,@WX_ALL@,$WX_ALL,;t t
36953s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36954s,@SHARED_LD@,$SHARED_LD,;t t
36955s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36956s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36957s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36958s,@USE_GUI@,$USE_GUI,;t t
36959s,@AFMINSTALL@,$AFMINSTALL,;t t
36960s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36961s,@TOOLKIT@,$TOOLKIT,;t t
36962s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36963s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36964s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36965s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36966s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36967s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36968s,@cross_compiling@,$cross_compiling,;t t
36969s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36970s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36971s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36972s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36973s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36974s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36975s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36976s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36977s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36978s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36979s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36980s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36981s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36982s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36983s,@GUIDIST@,$GUIDIST,;t t
36984s,@PORT_FILES@,$PORT_FILES,;t t
36985s,@DISTDIR@,$DISTDIR,;t t
36986s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36987s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36988s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36989s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36990s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36991s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36992s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36993s,@RESFLAGS@,$RESFLAGS,;t t
36994s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36995s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36996s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36997s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36998s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36999s,@MACRESCOMP@,$MACRESCOMP,;t t
37000s,@MACSETFILE@,$MACSETFILE,;t t
37001s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37002s,@GCC@,$GCC,;t t
37003s,@DLLTOOL@,$DLLTOOL,;t t
37004s,@AS@,$AS,;t t
37005s,@LD@,$LD,;t t
37006s,@MAKEINFO@,$MAKEINFO,;t t
37007s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37008s,@LIBOBJS@,$LIBOBJS,;t t
37009s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37010CEOF
37011
37012_ACEOF
37013
37014 cat >>$CONFIG_STATUS <<\_ACEOF
37015 # Split the substitutions into bite-sized pieces for seds with
37016 # small command number limits, like on Digital OSF/1 and HP-UX.
37017 ac_max_sed_lines=48
37018 ac_sed_frag=1 # Number of current file.
37019 ac_beg=1 # First line for current file.
37020 ac_end=$ac_max_sed_lines # Line after last line for current file.
37021 ac_more_lines=:
37022 ac_sed_cmds=
37023 while $ac_more_lines; do
37024 if test $ac_beg -gt 1; then
37025 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37026 else
37027 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37028 fi
37029 if test ! -s $tmp/subs.frag; then
37030 ac_more_lines=false
37031 else
37032 # The purpose of the label and of the branching condition is to
37033 # speed up the sed processing (if there are no `@' at all, there
37034 # is no need to browse any of the substitutions).
37035 # These are the two extra sed commands mentioned above.
37036 (echo ':t
37037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37038 if test -z "$ac_sed_cmds"; then
37039 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37040 else
37041 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37042 fi
37043 ac_sed_frag=`expr $ac_sed_frag + 1`
37044 ac_beg=$ac_end
37045 ac_end=`expr $ac_end + $ac_max_sed_lines`
37046 fi
37047 done
37048 if test -z "$ac_sed_cmds"; then
37049 ac_sed_cmds=cat
37050 fi
37051fi # test -n "$CONFIG_FILES"
37052
37053_ACEOF
37054cat >>$CONFIG_STATUS <<\_ACEOF
37055for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37057 case $ac_file in
37058 - | *:- | *:-:* ) # input from stdin
37059 cat >$tmp/stdin
37060 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37061 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37062 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37064 * ) ac_file_in=$ac_file.in ;;
37065 esac
37066
37067 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37068 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37069$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37070 X"$ac_file" : 'X\(//\)[^/]' \| \
37071 X"$ac_file" : 'X\(//\)$' \| \
37072 X"$ac_file" : 'X\(/\)' \| \
37073 . : '\(.\)' 2>/dev/null ||
37074echo X"$ac_file" |
37075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37077 /^X\(\/\/\)$/{ s//\1/; q; }
37078 /^X\(\/\).*/{ s//\1/; q; }
37079 s/.*/./; q'`
37080 { if $as_mkdir_p; then
37081 mkdir -p "$ac_dir"
37082 else
37083 as_dir="$ac_dir"
37084 as_dirs=
37085 while test ! -d "$as_dir"; do
37086 as_dirs="$as_dir $as_dirs"
37087 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37088$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37089 X"$as_dir" : 'X\(//\)[^/]' \| \
37090 X"$as_dir" : 'X\(//\)$' \| \
37091 X"$as_dir" : 'X\(/\)' \| \
37092 . : '\(.\)' 2>/dev/null ||
37093echo X"$as_dir" |
37094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37096 /^X\(\/\/\)$/{ s//\1/; q; }
37097 /^X\(\/\).*/{ s//\1/; q; }
37098 s/.*/./; q'`
37099 done
37100 test ! -n "$as_dirs" || mkdir $as_dirs
37101 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37102echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37103 { (exit 1); exit 1; }; }; }
37104
37105 ac_builddir=.
37106
37107if test "$ac_dir" != .; then
37108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37109 # A "../" for each directory in $ac_dir_suffix.
37110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37111else
37112 ac_dir_suffix= ac_top_builddir=
37113fi
37114
37115case $srcdir in
37116 .) # No --srcdir option. We are building in place.
37117 ac_srcdir=.
37118 if test -z "$ac_top_builddir"; then
37119 ac_top_srcdir=.
37120 else
37121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37122 fi ;;
37123 [\\/]* | ?:[\\/]* ) # Absolute path.
37124 ac_srcdir=$srcdir$ac_dir_suffix;
37125 ac_top_srcdir=$srcdir ;;
37126 *) # Relative path.
37127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37129esac
37130# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37131# absolute.
37132ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37133ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37134ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37135ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37136
37137
37138 case $INSTALL in
37139 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37140 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37141 esac
37142
37143 if test x"$ac_file" != x-; then
37144 { echo "$as_me:$LINENO: creating $ac_file" >&5
37145echo "$as_me: creating $ac_file" >&6;}
37146 rm -f "$ac_file"
37147 fi
37148 # Let's still pretend it is `configure' which instantiates (i.e., don't
37149 # use $as_me), people would be surprised to read:
37150 # /* config.h. Generated by config.status. */
37151 if test x"$ac_file" = x-; then
37152 configure_input=
37153 else
37154 configure_input="$ac_file. "
37155 fi
37156 configure_input=$configure_input"Generated from `echo $ac_file_in |
37157 sed 's,.*/,,'` by configure."
37158
37159 # First look for the input files in the build tree, otherwise in the
37160 # src tree.
37161 ac_file_inputs=`IFS=:
37162 for f in $ac_file_in; do
37163 case $f in
37164 -) echo $tmp/stdin ;;
37165 [\\/$]*)
37166 # Absolute (can't be DOS-style, as IFS=:)
37167 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37168echo "$as_me: error: cannot find input file: $f" >&2;}
37169 { (exit 1); exit 1; }; }
37170 echo $f;;
37171 *) # Relative
37172 if test -f "$f"; then
37173 # Build tree
37174 echo $f
37175 elif test -f "$srcdir/$f"; then
37176 # Source tree
37177 echo $srcdir/$f
37178 else
37179 # /dev/null tree
37180 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37181echo "$as_me: error: cannot find input file: $f" >&2;}
37182 { (exit 1); exit 1; }; }
37183 fi;;
37184 esac
37185 done` || { (exit 1); exit 1; }
37186_ACEOF
37187cat >>$CONFIG_STATUS <<_ACEOF
37188 sed "$ac_vpsub
37189$extrasub
37190_ACEOF
37191cat >>$CONFIG_STATUS <<\_ACEOF
37192:t
37193/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37194s,@configure_input@,$configure_input,;t t
37195s,@srcdir@,$ac_srcdir,;t t
37196s,@abs_srcdir@,$ac_abs_srcdir,;t t
37197s,@top_srcdir@,$ac_top_srcdir,;t t
37198s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37199s,@builddir@,$ac_builddir,;t t
37200s,@abs_builddir@,$ac_abs_builddir,;t t
37201s,@top_builddir@,$ac_top_builddir,;t t
37202s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37203s,@INSTALL@,$ac_INSTALL,;t t
37204" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37205 rm -f $tmp/stdin
37206 if test x"$ac_file" != x-; then
37207 mv $tmp/out $ac_file
37208 else
37209 cat $tmp/out
37210 rm -f $tmp/out
37211 fi
37212
37213done
37214_ACEOF
37215cat >>$CONFIG_STATUS <<\_ACEOF
37216
37217#
37218# CONFIG_HEADER section.
37219#
37220
37221# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37222# NAME is the cpp macro being defined and VALUE is the value it is being given.
37223#
37224# ac_d sets the value in "#define NAME VALUE" lines.
37225ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37226ac_dB='[ ].*$,\1#\2'
37227ac_dC=' '
37228ac_dD=',;t'
37229# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37230ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37231ac_uB='$,\1#\2define\3'
37232ac_uC=' '
37233ac_uD=',;t'
37234
37235for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37237 case $ac_file in
37238 - | *:- | *:-:* ) # input from stdin
37239 cat >$tmp/stdin
37240 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37242 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37243 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37244 * ) ac_file_in=$ac_file.in ;;
37245 esac
37246
37247 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37248echo "$as_me: creating $ac_file" >&6;}
37249
37250 # First look for the input files in the build tree, otherwise in the
37251 # src tree.
37252 ac_file_inputs=`IFS=:
37253 for f in $ac_file_in; do
37254 case $f in
37255 -) echo $tmp/stdin ;;
37256 [\\/$]*)
37257 # Absolute (can't be DOS-style, as IFS=:)
37258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37259echo "$as_me: error: cannot find input file: $f" >&2;}
37260 { (exit 1); exit 1; }; }
37261 echo $f;;
37262 *) # Relative
37263 if test -f "$f"; then
37264 # Build tree
37265 echo $f
37266 elif test -f "$srcdir/$f"; then
37267 # Source tree
37268 echo $srcdir/$f
37269 else
37270 # /dev/null tree
37271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37272echo "$as_me: error: cannot find input file: $f" >&2;}
37273 { (exit 1); exit 1; }; }
37274 fi;;
37275 esac
37276 done` || { (exit 1); exit 1; }
37277 # Remove the trailing spaces.
37278 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37279
37280_ACEOF
37281
37282# Transform confdefs.h into two sed scripts, `conftest.defines' and
37283# `conftest.undefs', that substitutes the proper values into
37284# config.h.in to produce config.h. The first handles `#define'
37285# templates, and the second `#undef' templates.
37286# And first: Protect against being on the right side of a sed subst in
37287# config.status. Protect against being in an unquoted here document
37288# in config.status.
37289rm -f conftest.defines conftest.undefs
37290# Using a here document instead of a string reduces the quoting nightmare.
37291# Putting comments in sed scripts is not portable.
37292#
37293# `end' is used to avoid that the second main sed command (meant for
37294# 0-ary CPP macros) applies to n-ary macro definitions.
37295# See the Autoconf documentation for `clear'.
37296cat >confdef2sed.sed <<\_ACEOF
37297s/[\\&,]/\\&/g
37298s,[\\$`],\\&,g
37299t clear
37300: clear
37301s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37302t end
37303s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37304: end
37305_ACEOF
37306# If some macros were called several times there might be several times
37307# the same #defines, which is useless. Nevertheless, we may not want to
37308# sort them, since we want the *last* AC-DEFINE to be honored.
37309uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37310sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37311rm -f confdef2sed.sed
37312
37313# This sed command replaces #undef with comments. This is necessary, for
37314# example, in the case of _POSIX_SOURCE, which is predefined and required
37315# on some systems where configure will not decide to define it.
37316cat >>conftest.undefs <<\_ACEOF
37317s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37318_ACEOF
37319
37320# Break up conftest.defines because some shells have a limit on the size
37321# of here documents, and old seds have small limits too (100 cmds).
37322echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37323echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37324echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37325echo ' :' >>$CONFIG_STATUS
37326rm -f conftest.tail
37327while grep . conftest.defines >/dev/null
37328do
37329 # Write a limited-size here document to $tmp/defines.sed.
37330 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37331 # Speed up: don't consider the non `#define' lines.
37332 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37333 # Work around the forget-to-reset-the-flag bug.
37334 echo 't clr' >>$CONFIG_STATUS
37335 echo ': clr' >>$CONFIG_STATUS
37336 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37337 echo 'CEOF
37338 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37339 rm -f $tmp/in
37340 mv $tmp/out $tmp/in
37341' >>$CONFIG_STATUS
37342 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37343 rm -f conftest.defines
37344 mv conftest.tail conftest.defines
37345done
37346rm -f conftest.defines
37347echo ' fi # grep' >>$CONFIG_STATUS
37348echo >>$CONFIG_STATUS
37349
37350# Break up conftest.undefs because some shells have a limit on the size
37351# of here documents, and old seds have small limits too (100 cmds).
37352echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37353rm -f conftest.tail
37354while grep . conftest.undefs >/dev/null
37355do
37356 # Write a limited-size here document to $tmp/undefs.sed.
37357 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37358 # Speed up: don't consider the non `#undef'
37359 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37360 # Work around the forget-to-reset-the-flag bug.
37361 echo 't clr' >>$CONFIG_STATUS
37362 echo ': clr' >>$CONFIG_STATUS
37363 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37364 echo 'CEOF
37365 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37366 rm -f $tmp/in
37367 mv $tmp/out $tmp/in
37368' >>$CONFIG_STATUS
37369 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37370 rm -f conftest.undefs
37371 mv conftest.tail conftest.undefs
37372done
37373rm -f conftest.undefs
37374
37375cat >>$CONFIG_STATUS <<\_ACEOF
37376 # Let's still pretend it is `configure' which instantiates (i.e., don't
37377 # use $as_me), people would be surprised to read:
37378 # /* config.h. Generated by config.status. */
37379 if test x"$ac_file" = x-; then
37380 echo "/* Generated by configure. */" >$tmp/config.h
37381 else
37382 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37383 fi
37384 cat $tmp/in >>$tmp/config.h
37385 rm -f $tmp/in
37386 if test x"$ac_file" != x-; then
37387 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37388 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37389echo "$as_me: $ac_file is unchanged" >&6;}
37390 else
37391 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37392$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37393 X"$ac_file" : 'X\(//\)[^/]' \| \
37394 X"$ac_file" : 'X\(//\)$' \| \
37395 X"$ac_file" : 'X\(/\)' \| \
37396 . : '\(.\)' 2>/dev/null ||
37397echo X"$ac_file" |
37398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37400 /^X\(\/\/\)$/{ s//\1/; q; }
37401 /^X\(\/\).*/{ s//\1/; q; }
37402 s/.*/./; q'`
37403 { if $as_mkdir_p; then
37404 mkdir -p "$ac_dir"
37405 else
37406 as_dir="$ac_dir"
37407 as_dirs=
37408 while test ! -d "$as_dir"; do
37409 as_dirs="$as_dir $as_dirs"
37410 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37411$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37412 X"$as_dir" : 'X\(//\)[^/]' \| \
37413 X"$as_dir" : 'X\(//\)$' \| \
37414 X"$as_dir" : 'X\(/\)' \| \
37415 . : '\(.\)' 2>/dev/null ||
37416echo X"$as_dir" |
37417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37419 /^X\(\/\/\)$/{ s//\1/; q; }
37420 /^X\(\/\).*/{ s//\1/; q; }
37421 s/.*/./; q'`
37422 done
37423 test ! -n "$as_dirs" || mkdir $as_dirs
37424 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37425echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37426 { (exit 1); exit 1; }; }; }
37427
37428 rm -f $ac_file
37429 mv $tmp/config.h $ac_file
37430 fi
37431 else
37432 cat $tmp/config.h
37433 rm -f $tmp/config.h
37434 fi
37435done
37436_ACEOF
37437cat >>$CONFIG_STATUS <<\_ACEOF
37438
37439#
37440# CONFIG_COMMANDS section.
37441#
37442for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37443 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37444 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37445 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37446$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37447 X"$ac_dest" : 'X\(//\)[^/]' \| \
37448 X"$ac_dest" : 'X\(//\)$' \| \
37449 X"$ac_dest" : 'X\(/\)' \| \
37450 . : '\(.\)' 2>/dev/null ||
37451echo X"$ac_dest" |
37452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37454 /^X\(\/\/\)$/{ s//\1/; q; }
37455 /^X\(\/\).*/{ s//\1/; q; }
37456 s/.*/./; q'`
37457 ac_builddir=.
37458
37459if test "$ac_dir" != .; then
37460 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37461 # A "../" for each directory in $ac_dir_suffix.
37462 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37463else
37464 ac_dir_suffix= ac_top_builddir=
37465fi
37466
37467case $srcdir in
37468 .) # No --srcdir option. We are building in place.
37469 ac_srcdir=.
37470 if test -z "$ac_top_builddir"; then
37471 ac_top_srcdir=.
37472 else
37473 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37474 fi ;;
37475 [\\/]* | ?:[\\/]* ) # Absolute path.
37476 ac_srcdir=$srcdir$ac_dir_suffix;
37477 ac_top_srcdir=$srcdir ;;
37478 *) # Relative path.
37479 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37480 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37481esac
37482# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37483# absolute.
37484ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37485ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37486ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37487ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37488
37489
37490 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37491echo "$as_me: executing $ac_dest commands" >&6;}
37492 case $ac_dest in
37493 default )
37494 if test ! -h wx-config; then
37495 chmod +x wx-config
37496 mv wx-config wx${TOOLCHAIN_NAME}-config
37497 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37498 fi
37499
37500 if test ! -d lib; then
37501 mkdir lib
37502 fi
37503 if test ! -d lib/wx; then
37504 mkdir lib/wx
37505 fi
37506 if test ! -d lib/wx/include; then
37507 mkdir lib/wx/include
37508 fi
37509 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37510 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37511 fi
37512 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37513 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37514 fi
37515 if test -f setup.h; then
37516 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37517 fi
37518 ;;
37519 esac
37520done
37521_ACEOF
37522
37523cat >>$CONFIG_STATUS <<\_ACEOF
37524
37525{ (exit 0); exit 0; }
37526_ACEOF
37527chmod +x $CONFIG_STATUS
37528ac_clean_files=$ac_clean_files_save
37529
37530
37531# configure is writing to config.log, and then calls config.status.
37532# config.status does its own redirection, appending to config.log.
37533# Unfortunately, on DOS this fails, as config.log is still kept open
37534# by configure, so config.status won't be able to write to it; its
37535# output is simply discarded. So we exec the FD to /dev/null,
37536# effectively closing config.log, so it can be properly (re)opened and
37537# appended to by config.status. When coming back to configure, we
37538# need to make the FD available again.
37539if test "$no_create" != yes; then
37540 ac_cs_success=:
37541 ac_config_status_args=
37542 test "$silent" = yes &&
37543 ac_config_status_args="$ac_config_status_args --quiet"
37544 exec 5>/dev/null
37545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37546 exec 5>>config.log
37547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37548 # would make configure fail if this is the last instruction.
37549 $ac_cs_success || { (exit 1); exit 1; }
37550fi
37551
37552#
37553# CONFIG_SUBDIRS section.
37554#
37555if test "$no_recursion" != yes; then
37556
37557 # Remove --cache-file and --srcdir arguments so they do not pile up.
37558 ac_sub_configure_args=
37559 ac_prev=
37560 for ac_arg in $ac_configure_args; do
37561 if test -n "$ac_prev"; then
37562 ac_prev=
37563 continue
37564 fi
37565 case $ac_arg in
37566 -cache-file | --cache-file | --cache-fil | --cache-fi \
37567 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37568 ac_prev=cache_file ;;
37569 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37570 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37571 | --c=*)
37572 ;;
37573 --config-cache | -C)
37574 ;;
37575 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37576 ac_prev=srcdir ;;
37577 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37578 ;;
37579 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37580 ac_prev=prefix ;;
37581 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37582 ;;
37583 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37584 esac
37585 done
37586
37587 # Always prepend --prefix to ensure using the same prefix
37588 # in subdir configurations.
37589 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37590
37591 ac_popdir=`pwd`
37592 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37593
37594 # Do not complain, so a configure script can configure whichever
37595 # parts of a large source tree are present.
37596 test -d $srcdir/$ac_dir || continue
37597
37598 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37599echo "$as_me: configuring in $ac_dir" >&6;}
37600 { if $as_mkdir_p; then
37601 mkdir -p "$ac_dir"
37602 else
37603 as_dir="$ac_dir"
37604 as_dirs=
37605 while test ! -d "$as_dir"; do
37606 as_dirs="$as_dir $as_dirs"
37607 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37608$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37609 X"$as_dir" : 'X\(//\)[^/]' \| \
37610 X"$as_dir" : 'X\(//\)$' \| \
37611 X"$as_dir" : 'X\(/\)' \| \
37612 . : '\(.\)' 2>/dev/null ||
37613echo X"$as_dir" |
37614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37616 /^X\(\/\/\)$/{ s//\1/; q; }
37617 /^X\(\/\).*/{ s//\1/; q; }
37618 s/.*/./; q'`
37619 done
37620 test ! -n "$as_dirs" || mkdir $as_dirs
37621 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37622echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37623 { (exit 1); exit 1; }; }; }
37624
37625 ac_builddir=.
37626
37627if test "$ac_dir" != .; then
37628 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37629 # A "../" for each directory in $ac_dir_suffix.
37630 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37631else
37632 ac_dir_suffix= ac_top_builddir=
37633fi
37634
37635case $srcdir in
37636 .) # No --srcdir option. We are building in place.
37637 ac_srcdir=.
37638 if test -z "$ac_top_builddir"; then
37639 ac_top_srcdir=.
37640 else
37641 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37642 fi ;;
37643 [\\/]* | ?:[\\/]* ) # Absolute path.
37644 ac_srcdir=$srcdir$ac_dir_suffix;
37645 ac_top_srcdir=$srcdir ;;
37646 *) # Relative path.
37647 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37648 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37649esac
37650# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37651# absolute.
37652ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37653ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37654ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37655ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37656
37657
37658 cd $ac_dir
37659
37660 # Check for guested configure; otherwise get Cygnus style configure.
37661 if test -f $ac_srcdir/configure.gnu; then
37662 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37663 elif test -f $ac_srcdir/configure; then
37664 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37665 elif test -f $ac_srcdir/configure.in; then
37666 ac_sub_configure=$ac_configure
37667 else
37668 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37669echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37670 ac_sub_configure=
37671 fi
37672
37673 # The recursion is here.
37674 if test -n "$ac_sub_configure"; then
37675 # Make the cache file name correct relative to the subdirectory.
37676 case $cache_file in
37677 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37678 *) # Relative path.
37679 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37680 esac
37681
37682 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37683echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37684 # The eval makes quoting arguments work.
37685 eval $ac_sub_configure $ac_sub_configure_args \
37686 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37687 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37688echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37689 { (exit 1); exit 1; }; }
37690 fi
37691
37692 cd $ac_popdir
37693 done
37694fi
37695
37696
37697echo
37698echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37699echo ""
37700echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37701echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37702
37703echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37704echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37705echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37706
37707echo " What level of wxWindows compatibility should be enabled?"
37708echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37709echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37710
37711echo " Which libraries should wxWindows use?"
37712echo " jpeg ${wxUSE_LIBJPEG-none}"
37713echo " png ${wxUSE_LIBPNG-none}"
37714echo " regex ${wxUSE_REGEX}"
37715echo " tiff ${wxUSE_LIBTIFF-none}"
37716if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37717echo " xpm ${wxUSE_LIBXPM-none}"
37718fi
37719echo " zlib ${wxUSE_ZLIB}"
37720echo " odbc ${wxUSE_ODBC}"
37721echo " expat ${wxUSE_EXPAT}"
37722echo " libmspack ${wxUSE_LIBMSPACK}"
37723
37724echo ""
37725